Class GrpcBetaAnalyticsDataStub (0.48.0)

public class GrpcBetaAnalyticsDataStub extends BetaAnalyticsDataStub

gRPC stub implementation for the BetaAnalyticsData service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > BetaAnalyticsDataStub > GrpcBetaAnalyticsDataStub

Static Methods

create(BetaAnalyticsDataStubSettings settings)

public static final GrpcBetaAnalyticsDataStub create(BetaAnalyticsDataStubSettings settings)
Parameter
NameDescription
settingsBetaAnalyticsDataStubSettings
Returns
TypeDescription
GrpcBetaAnalyticsDataStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext)

public static final GrpcBetaAnalyticsDataStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcBetaAnalyticsDataStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcBetaAnalyticsDataStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcBetaAnalyticsDataStub
Exceptions
TypeDescription
IOException

Constructors

GrpcBetaAnalyticsDataStub(BetaAnalyticsDataStubSettings settings, ClientContext clientContext)

protected GrpcBetaAnalyticsDataStub(BetaAnalyticsDataStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcBetaAnalyticsDataStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsBetaAnalyticsDataStubSettings
clientContextClientContext

GrpcBetaAnalyticsDataStub(BetaAnalyticsDataStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcBetaAnalyticsDataStub(BetaAnalyticsDataStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcBetaAnalyticsDataStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsBetaAnalyticsDataStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

batchRunPivotReportsCallable()

public UnaryCallable<BatchRunPivotReportsRequest,BatchRunPivotReportsResponse> batchRunPivotReportsCallable()
Returns
TypeDescription
UnaryCallable<BatchRunPivotReportsRequest,BatchRunPivotReportsResponse>
Overrides

batchRunReportsCallable()

public UnaryCallable<BatchRunReportsRequest,BatchRunReportsResponse> batchRunReportsCallable()
Returns
TypeDescription
UnaryCallable<BatchRunReportsRequest,BatchRunReportsResponse>
Overrides

checkCompatibilityCallable()

public UnaryCallable<CheckCompatibilityRequest,CheckCompatibilityResponse> checkCompatibilityCallable()
Returns
TypeDescription
UnaryCallable<CheckCompatibilityRequest,CheckCompatibilityResponse>
Overrides

close()

public final void close()
Overrides

createAudienceExportCallable()

public UnaryCallable<CreateAudienceExportRequest,Operation> createAudienceExportCallable()
Returns
TypeDescription
UnaryCallable<CreateAudienceExportRequest,Operation>
Overrides

createAudienceExportOperationCallable()

public OperationCallable<CreateAudienceExportRequest,AudienceExport,AudienceExportMetadata> createAudienceExportOperationCallable()
Returns
TypeDescription
OperationCallable<CreateAudienceExportRequest,AudienceExport,AudienceExportMetadata>
Overrides

getAudienceExportCallable()

public UnaryCallable<GetAudienceExportRequest,AudienceExport> getAudienceExportCallable()
Returns
TypeDescription
UnaryCallable<GetAudienceExportRequest,AudienceExport>
Overrides

getMetadataCallable()

public UnaryCallable<GetMetadataRequest,Metadata> getMetadataCallable()
Returns
TypeDescription
UnaryCallable<GetMetadataRequest,Metadata>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAudienceExportsCallable()

public UnaryCallable<ListAudienceExportsRequest,ListAudienceExportsResponse> listAudienceExportsCallable()
Returns
TypeDescription
UnaryCallable<ListAudienceExportsRequest,ListAudienceExportsResponse>
Overrides

listAudienceExportsPagedCallable()

public UnaryCallable<ListAudienceExportsRequest,BetaAnalyticsDataClient.ListAudienceExportsPagedResponse> listAudienceExportsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAudienceExportsRequest,ListAudienceExportsPagedResponse>
Overrides

queryAudienceExportCallable()

public UnaryCallable<QueryAudienceExportRequest,QueryAudienceExportResponse> queryAudienceExportCallable()
Returns
TypeDescription
UnaryCallable<QueryAudienceExportRequest,QueryAudienceExportResponse>
Overrides

runPivotReportCallable()

public UnaryCallable<RunPivotReportRequest,RunPivotReportResponse> runPivotReportCallable()
Returns
TypeDescription
UnaryCallable<RunPivotReportRequest,RunPivotReportResponse>
Overrides

runRealtimeReportCallable()

public UnaryCallable<RunRealtimeReportRequest,RunRealtimeReportResponse> runRealtimeReportCallable()
Returns
TypeDescription
UnaryCallable<RunRealtimeReportRequest,RunRealtimeReportResponse>
Overrides

runReportCallable()

public UnaryCallable<RunReportRequest,RunReportResponse> runReportCallable()
Returns
TypeDescription
UnaryCallable<RunReportRequest,RunReportResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()