Class GrpcAccountLabelsServiceStub (0.3.0)

public class GrpcAccountLabelsServiceStub extends AccountLabelsServiceStub

gRPC stub implementation for the AccountLabelsService service API.

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

Inheritance

java.lang.Object > AccountLabelsServiceStub > GrpcAccountLabelsServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(AccountLabelsServiceStubSettings settings)

public static final GrpcAccountLabelsServiceStub create(AccountLabelsServiceStubSettings settings)
Parameter
NameDescription
settingsAccountLabelsServiceStubSettings
Returns
TypeDescription
GrpcAccountLabelsServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcAccountLabelsServiceStub(AccountLabelsServiceStubSettings settings, ClientContext clientContext)

protected GrpcAccountLabelsServiceStub(AccountLabelsServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcAccountLabelsServiceStub, 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
settingsAccountLabelsServiceStubSettings
clientContextClientContext

GrpcAccountLabelsServiceStub(AccountLabelsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAccountLabelsServiceStub(AccountLabelsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcAccountLabelsServiceStub, 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
settingsAccountLabelsServiceStubSettings
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

createAccountLabelCallable()

public UnaryCallable<CreateAccountLabelRequest,AccountLabel> createAccountLabelCallable()
Returns
TypeDescription
UnaryCallable<CreateAccountLabelRequest,AccountLabel>
Overrides

deleteAccountLabelCallable()

public UnaryCallable<DeleteAccountLabelRequest,Empty> deleteAccountLabelCallable()
Returns
TypeDescription
UnaryCallable<DeleteAccountLabelRequest,Empty>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAccountLabelsCallable()

public UnaryCallable<ListAccountLabelsRequest,ListAccountLabelsResponse> listAccountLabelsCallable()
Returns
TypeDescription
UnaryCallable<ListAccountLabelsRequest,ListAccountLabelsResponse>
Overrides

listAccountLabelsPagedCallable()

public UnaryCallable<ListAccountLabelsRequest,AccountLabelsServiceClient.ListAccountLabelsPagedResponse> listAccountLabelsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAccountLabelsRequest,ListAccountLabelsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAccountLabelCallable()

public UnaryCallable<UpdateAccountLabelRequest,AccountLabel> updateAccountLabelCallable()
Returns
TypeDescription
UnaryCallable<UpdateAccountLabelRequest,AccountLabel>
Overrides