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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(TagBindingsStubSettings settings)

public static final HttpJsonTagBindingsStub create(TagBindingsStubSettings settings)
Parameter
Name Description
settings TagBindingsStubSettings
Returns
Type Description
HttpJsonTagBindingsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings TagBindingsStubSettings
clientContext ClientContext

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

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
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()