Class GrpcTagBindingsStub (1.14.0)

public class GrpcTagBindingsStub extends TagBindingsStub

gRPC stub implementation for the TagBindings service API.

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

Inheritance

java.lang.Object > TagBindingsStub > GrpcTagBindingsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(TagBindingsStubSettings settings)

public static final GrpcTagBindingsStub create(TagBindingsStubSettings settings)
Parameter
NameDescription
settingsTagBindingsStubSettings
Returns
TypeDescription
GrpcTagBindingsStub
Exceptions
TypeDescription
IOException

Constructors

GrpcTagBindingsStub(TagBindingsStubSettings settings, ClientContext clientContext)

protected GrpcTagBindingsStub(TagBindingsStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcTagBindingsStub, 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
settingsTagBindingsStubSettings
clientContextClientContext

GrpcTagBindingsStub(TagBindingsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcTagBindingsStub(TagBindingsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcTagBindingsStub, 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
settingsTagBindingsStubSettings
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

createTagBindingCallable()

public UnaryCallable<CreateTagBindingRequest,Operation> createTagBindingCallable()
Returns
TypeDescription
UnaryCallable<CreateTagBindingRequest,Operation>
Overrides

createTagBindingOperationCallable()

public OperationCallable<CreateTagBindingRequest,TagBinding,CreateTagBindingMetadata> createTagBindingOperationCallable()
Returns
TypeDescription
OperationCallable<CreateTagBindingRequest,TagBinding,CreateTagBindingMetadata>
Overrides

deleteTagBindingCallable()

public UnaryCallable<DeleteTagBindingRequest,Operation> deleteTagBindingCallable()
Returns
TypeDescription
UnaryCallable<DeleteTagBindingRequest,Operation>
Overrides

deleteTagBindingOperationCallable()

public OperationCallable<DeleteTagBindingRequest,Empty,DeleteTagBindingMetadata> deleteTagBindingOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteTagBindingRequest,Empty,DeleteTagBindingMetadata>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listTagBindingsCallable()

public UnaryCallable<ListTagBindingsRequest,ListTagBindingsResponse> listTagBindingsCallable()
Returns
TypeDescription
UnaryCallable<ListTagBindingsRequest,ListTagBindingsResponse>
Overrides

listTagBindingsPagedCallable()

public UnaryCallable<ListTagBindingsRequest,TagBindingsClient.ListTagBindingsPagedResponse> listTagBindingsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTagBindingsRequest,ListTagBindingsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()