Class GrpcAlphaAnalyticsDataStub (0.33.0)

public class GrpcAlphaAnalyticsDataStub extends AlphaAnalyticsDataStub

gRPC stub implementation for the AlphaAnalyticsData service API.

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

Inheritance

java.lang.Object > AlphaAnalyticsDataStub > GrpcAlphaAnalyticsDataStub

Static Methods

create(AlphaAnalyticsDataStubSettings settings)

public static final GrpcAlphaAnalyticsDataStub create(AlphaAnalyticsDataStubSettings settings)
Parameter
NameDescription
settingsAlphaAnalyticsDataStubSettings
Returns
TypeDescription
GrpcAlphaAnalyticsDataStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

Constructors

GrpcAlphaAnalyticsDataStub(AlphaAnalyticsDataStubSettings settings, ClientContext clientContext)

protected GrpcAlphaAnalyticsDataStub(AlphaAnalyticsDataStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcAlphaAnalyticsDataStub, 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
settingsAlphaAnalyticsDataStubSettings
clientContextClientContext

GrpcAlphaAnalyticsDataStub(AlphaAnalyticsDataStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAlphaAnalyticsDataStub(AlphaAnalyticsDataStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcAlphaAnalyticsDataStub, 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
settingsAlphaAnalyticsDataStubSettings
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

close()

public final void close()
Overrides

createAudienceListCallable()

public UnaryCallable<CreateAudienceListRequest,Operation> createAudienceListCallable()
Returns
TypeDescription
UnaryCallable<CreateAudienceListRequest,Operation>
Overrides

createAudienceListOperationCallable()

public OperationCallable<CreateAudienceListRequest,AudienceList,AudienceListMetadata> createAudienceListOperationCallable()
Returns
TypeDescription
OperationCallable<CreateAudienceListRequest,AudienceList,AudienceListMetadata>
Overrides

getAudienceListCallable()

public UnaryCallable<GetAudienceListRequest,AudienceList> getAudienceListCallable()
Returns
TypeDescription
UnaryCallable<GetAudienceListRequest,AudienceList>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAudienceListsCallable()

public UnaryCallable<ListAudienceListsRequest,ListAudienceListsResponse> listAudienceListsCallable()
Returns
TypeDescription
UnaryCallable<ListAudienceListsRequest,ListAudienceListsResponse>
Overrides

listAudienceListsPagedCallable()

public UnaryCallable<ListAudienceListsRequest,AlphaAnalyticsDataClient.ListAudienceListsPagedResponse> listAudienceListsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAudienceListsRequest,ListAudienceListsPagedResponse>
Overrides

queryAudienceListCallable()

public UnaryCallable<QueryAudienceListRequest,QueryAudienceListResponse> queryAudienceListCallable()
Returns
TypeDescription
UnaryCallable<QueryAudienceListRequest,QueryAudienceListResponse>
Overrides

runFunnelReportCallable()

public UnaryCallable<RunFunnelReportRequest,RunFunnelReportResponse> runFunnelReportCallable()
Returns
TypeDescription
UnaryCallable<RunFunnelReportRequest,RunFunnelReportResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()