Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
package com.google.analytics.data.v1alpha;

import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;

/**
*
Expand Down Expand Up @@ -391,7 +386,7 @@ public void runReport(
com.google.analytics.data.v1alpha.RunReportRequest request,
io.grpc.stub.StreamObserver<com.google.analytics.data.v1alpha.RunReportResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getRunReportMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunReportMethod(), responseObserver);
}

/**
Expand All @@ -409,7 +404,8 @@ public void runPivotReport(
com.google.analytics.data.v1alpha.RunPivotReportRequest request,
io.grpc.stub.StreamObserver<com.google.analytics.data.v1alpha.RunPivotReportResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getRunPivotReportMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getRunPivotReportMethod(), responseObserver);
}

/**
Expand All @@ -424,7 +420,8 @@ public void batchRunReports(
com.google.analytics.data.v1alpha.BatchRunReportsRequest request,
io.grpc.stub.StreamObserver<com.google.analytics.data.v1alpha.BatchRunReportsResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getBatchRunReportsMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getBatchRunReportsMethod(), responseObserver);
}

/**
Expand All @@ -439,7 +436,8 @@ public void batchRunPivotReports(
com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest request,
io.grpc.stub.StreamObserver<com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getBatchRunPivotReportsMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getBatchRunPivotReportsMethod(), responseObserver);
}

/**
Expand All @@ -460,7 +458,8 @@ public void batchRunPivotReports(
public void getMetadata(
com.google.analytics.data.v1alpha.GetMetadataRequest request,
io.grpc.stub.StreamObserver<com.google.analytics.data.v1alpha.Metadata> responseObserver) {
asyncUnimplementedUnaryCall(getGetMetadataMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getGetMetadataMethod(), responseObserver);
}

/**
Expand All @@ -476,49 +475,50 @@ public void runRealtimeReport(
com.google.analytics.data.v1alpha.RunRealtimeReportRequest request,
io.grpc.stub.StreamObserver<com.google.analytics.data.v1alpha.RunRealtimeReportResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getRunRealtimeReportMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getRunRealtimeReportMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getRunReportMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.analytics.data.v1alpha.RunReportRequest,
com.google.analytics.data.v1alpha.RunReportResponse>(
this, METHODID_RUN_REPORT)))
.addMethod(
getRunPivotReportMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.analytics.data.v1alpha.RunPivotReportRequest,
com.google.analytics.data.v1alpha.RunPivotReportResponse>(
this, METHODID_RUN_PIVOT_REPORT)))
.addMethod(
getBatchRunReportsMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.analytics.data.v1alpha.BatchRunReportsRequest,
com.google.analytics.data.v1alpha.BatchRunReportsResponse>(
this, METHODID_BATCH_RUN_REPORTS)))
.addMethod(
getBatchRunPivotReportsMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest,
com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse>(
this, METHODID_BATCH_RUN_PIVOT_REPORTS)))
.addMethod(
getGetMetadataMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.analytics.data.v1alpha.GetMetadataRequest,
com.google.analytics.data.v1alpha.Metadata>(this, METHODID_GET_METADATA)))
.addMethod(
getRunRealtimeReportMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.analytics.data.v1alpha.RunRealtimeReportRequest,
com.google.analytics.data.v1alpha.RunRealtimeReportResponse>(
Expand Down Expand Up @@ -563,7 +563,7 @@ public void runReport(
com.google.analytics.data.v1alpha.RunReportRequest request,
io.grpc.stub.StreamObserver<com.google.analytics.data.v1alpha.RunReportResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRunReportMethod(), getCallOptions()), request, responseObserver);
}

Expand All @@ -582,7 +582,7 @@ public void runPivotReport(
com.google.analytics.data.v1alpha.RunPivotReportRequest request,
io.grpc.stub.StreamObserver<com.google.analytics.data.v1alpha.RunPivotReportResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRunPivotReportMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -600,7 +600,7 @@ public void batchRunReports(
com.google.analytics.data.v1alpha.BatchRunReportsRequest request,
io.grpc.stub.StreamObserver<com.google.analytics.data.v1alpha.BatchRunReportsResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getBatchRunReportsMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -618,7 +618,7 @@ public void batchRunPivotReports(
com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest request,
io.grpc.stub.StreamObserver<com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getBatchRunPivotReportsMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -642,7 +642,7 @@ public void batchRunPivotReports(
public void getMetadata(
com.google.analytics.data.v1alpha.GetMetadataRequest request,
io.grpc.stub.StreamObserver<com.google.analytics.data.v1alpha.Metadata> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetMetadataMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -661,7 +661,7 @@ public void runRealtimeReport(
com.google.analytics.data.v1alpha.RunRealtimeReportRequest request,
io.grpc.stub.StreamObserver<com.google.analytics.data.v1alpha.RunRealtimeReportResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRunRealtimeReportMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -703,7 +703,8 @@ protected AlphaAnalyticsDataBlockingStub build(
*/
public com.google.analytics.data.v1alpha.RunReportResponse runReport(
com.google.analytics.data.v1alpha.RunReportRequest request) {
return blockingUnaryCall(getChannel(), getRunReportMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRunReportMethod(), getCallOptions(), request);
}

/**
Expand All @@ -719,7 +720,8 @@ public com.google.analytics.data.v1alpha.RunReportResponse runReport(
*/
public com.google.analytics.data.v1alpha.RunPivotReportResponse runPivotReport(
com.google.analytics.data.v1alpha.RunPivotReportRequest request) {
return blockingUnaryCall(getChannel(), getRunPivotReportMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRunPivotReportMethod(), getCallOptions(), request);
}

/**
Expand All @@ -732,7 +734,8 @@ public com.google.analytics.data.v1alpha.RunPivotReportResponse runPivotReport(
*/
public com.google.analytics.data.v1alpha.BatchRunReportsResponse batchRunReports(
com.google.analytics.data.v1alpha.BatchRunReportsRequest request) {
return blockingUnaryCall(getChannel(), getBatchRunReportsMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getBatchRunReportsMethod(), getCallOptions(), request);
}

/**
Expand All @@ -745,7 +748,7 @@ public com.google.analytics.data.v1alpha.BatchRunReportsResponse batchRunReports
*/
public com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse batchRunPivotReports(
com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getBatchRunPivotReportsMethod(), getCallOptions(), request);
}

Expand All @@ -766,7 +769,8 @@ public com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse batchRunPi
*/
public com.google.analytics.data.v1alpha.Metadata getMetadata(
com.google.analytics.data.v1alpha.GetMetadataRequest request) {
return blockingUnaryCall(getChannel(), getGetMetadataMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetMetadataMethod(), getCallOptions(), request);
}

/**
Expand All @@ -780,7 +784,7 @@ public com.google.analytics.data.v1alpha.Metadata getMetadata(
*/
public com.google.analytics.data.v1alpha.RunRealtimeReportResponse runRealtimeReport(
com.google.analytics.data.v1alpha.RunRealtimeReportRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRunRealtimeReportMethod(), getCallOptions(), request);
}
}
Expand Down Expand Up @@ -820,7 +824,8 @@ protected AlphaAnalyticsDataFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.analytics.data.v1alpha.RunReportResponse>
runReport(com.google.analytics.data.v1alpha.RunReportRequest request) {
return futureUnaryCall(getChannel().newCall(getRunReportMethod(), getCallOptions()), request);
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRunReportMethod(), getCallOptions()), request);
}

/**
Expand All @@ -837,7 +842,7 @@ protected AlphaAnalyticsDataFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.analytics.data.v1alpha.RunPivotReportResponse>
runPivotReport(com.google.analytics.data.v1alpha.RunPivotReportRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRunPivotReportMethod(), getCallOptions()), request);
}

Expand All @@ -852,7 +857,7 @@ protected AlphaAnalyticsDataFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.analytics.data.v1alpha.BatchRunReportsResponse>
batchRunReports(com.google.analytics.data.v1alpha.BatchRunReportsRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getBatchRunReportsMethod(), getCallOptions()), request);
}

Expand All @@ -868,7 +873,7 @@ protected AlphaAnalyticsDataFutureStub build(
com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse>
batchRunPivotReports(
com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getBatchRunPivotReportsMethod(), getCallOptions()), request);
}

Expand All @@ -890,7 +895,7 @@ protected AlphaAnalyticsDataFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.analytics.data.v1alpha.Metadata>
getMetadata(com.google.analytics.data.v1alpha.GetMetadataRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetMetadataMethod(), getCallOptions()), request);
}

Expand All @@ -906,7 +911,7 @@ protected AlphaAnalyticsDataFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.analytics.data.v1alpha.RunRealtimeReportResponse>
runRealtimeReport(com.google.analytics.data.v1alpha.RunRealtimeReportRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRunRealtimeReportMethod(), getCallOptions()), request);
}
}
Expand Down
Loading