Class GrpcTagBindingsStub (1.48.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcTagBindingsStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcTagBindingsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcTagBindingsStub
Exceptions
Type Description
IOException

create(TagBindingsStubSettings settings)

public static final GrpcTagBindingsStub create(TagBindingsStubSettings settings)
Parameter
Name Description
settings TagBindingsStubSettings
Returns
Type Description
GrpcTagBindingsStub
Exceptions
Type Description
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
Name Description
settings TagBindingsStubSettings
clientContext ClientContext

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
Name Description
settings TagBindingsStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createTagBindingCallable()

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

createTagBindingOperationCallable()

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

deleteTagBindingCallable()

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

deleteTagBindingOperationCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listEffectiveTagsCallable()

public UnaryCallable<ListEffectiveTagsRequest,ListEffectiveTagsResponse> listEffectiveTagsCallable()
Returns
Type Description
UnaryCallable<ListEffectiveTagsRequest,ListEffectiveTagsResponse>
Overrides

listEffectiveTagsPagedCallable()

public UnaryCallable<ListEffectiveTagsRequest,TagBindingsClient.ListEffectiveTagsPagedResponse> listEffectiveTagsPagedCallable()
Returns
Type Description
UnaryCallable<ListEffectiveTagsRequest,ListEffectiveTagsPagedResponse>
Overrides

listTagBindingsCallable()

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

listTagBindingsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()