Class HttpJsonTagBindingsStub (1.22.0)

public class HttpJsonTagBindingsStub extends TagBindingsStub

REST stub implementation for the TagBindings service API.

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

Inheritance

java.lang.Object > TagBindingsStub > HttpJsonTagBindingsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonTagBindingsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonTagBindingsStub
Exceptions
TypeDescription
IOException

create(TagBindingsStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonTagBindingsStub(TagBindingsStubSettings settings, ClientContext clientContext)

protected HttpJsonTagBindingsStub(TagBindingsStubSettings settings, ClientContext clientContext)

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

HttpJsonTagBindingsStub(TagBindingsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonTagBindingsStub(TagBindingsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonTagBindingsStub, 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
callableFactoryHttpJsonStubCallableFactory

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listEffectiveTagsCallable()

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

listEffectiveTagsPagedCallable()

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

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()