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.
Static Methods
create(ClientContext clientContext)
public static final GrpcTagBindingsStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcTagBindingsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(TagBindingsStubSettings settings)
public static final GrpcTagBindingsStub create(TagBindingsStubSettings settings)
Parameter
Returns
Exceptions
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
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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createTagBindingCallable()
public UnaryCallable<CreateTagBindingRequest,Operation> createTagBindingCallable()
Returns
Overrides
createTagBindingOperationCallable()
public OperationCallable<CreateTagBindingRequest,TagBinding,CreateTagBindingMetadata> createTagBindingOperationCallable()
Returns
Overrides
deleteTagBindingCallable()
public UnaryCallable<DeleteTagBindingRequest,Operation> deleteTagBindingCallable()
Returns
Overrides
deleteTagBindingOperationCallable()
public OperationCallable<DeleteTagBindingRequest,Empty,DeleteTagBindingMetadata> deleteTagBindingOperationCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listTagBindingsCallable()
public UnaryCallable<ListTagBindingsRequest,ListTagBindingsResponse> listTagBindingsCallable()
Returns
Overrides
listTagBindingsPagedCallable()
public UnaryCallable<ListTagBindingsRequest,TagBindingsClient.ListTagBindingsPagedResponse> listTagBindingsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()