Class HttpJsonTagValuesStub (1.50.0)

public class HttpJsonTagValuesStub extends TagValuesStub

REST stub implementation for the TagValues service API.

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

Inheritance

java.lang.Object > TagValuesStub > HttpJsonTagValuesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonTagValuesStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonTagValuesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(TagValuesStubSettings settings)

public static final HttpJsonTagValuesStub create(TagValuesStubSettings settings)
Parameter
Name Description
settings TagValuesStubSettings
Returns
Type Description
HttpJsonTagValuesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonTagValuesStub(TagValuesStubSettings settings, ClientContext clientContext)

protected HttpJsonTagValuesStub(TagValuesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonTagValuesStub, 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 TagValuesStubSettings
clientContext ClientContext

HttpJsonTagValuesStub(TagValuesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonTagValuesStub(TagValuesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

createTagValueCallable()

public UnaryCallable<CreateTagValueRequest,Operation> createTagValueCallable()
Returns
Type Description
UnaryCallable<CreateTagValueRequest,Operation>
Overrides

createTagValueOperationCallable()

public OperationCallable<CreateTagValueRequest,TagValue,CreateTagValueMetadata> createTagValueOperationCallable()
Returns
Type Description
OperationCallable<CreateTagValueRequest,TagValue,CreateTagValueMetadata>
Overrides

deleteTagValueCallable()

public UnaryCallable<DeleteTagValueRequest,Operation> deleteTagValueCallable()
Returns
Type Description
UnaryCallable<DeleteTagValueRequest,Operation>
Overrides

deleteTagValueOperationCallable()

public OperationCallable<DeleteTagValueRequest,TagValue,DeleteTagValueMetadata> deleteTagValueOperationCallable()
Returns
Type Description
OperationCallable<DeleteTagValueRequest,TagValue,DeleteTagValueMetadata>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getNamespacedTagValueCallable()

public UnaryCallable<GetNamespacedTagValueRequest,TagValue> getNamespacedTagValueCallable()
Returns
Type Description
UnaryCallable<GetNamespacedTagValueRequest,TagValue>
Overrides

getTagValueCallable()

public UnaryCallable<GetTagValueRequest,TagValue> getTagValueCallable()
Returns
Type Description
UnaryCallable<GetTagValueRequest,TagValue>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listTagValuesCallable()

public UnaryCallable<ListTagValuesRequest,ListTagValuesResponse> listTagValuesCallable()
Returns
Type Description
UnaryCallable<ListTagValuesRequest,ListTagValuesResponse>
Overrides

listTagValuesPagedCallable()

public UnaryCallable<ListTagValuesRequest,TagValuesClient.ListTagValuesPagedResponse> listTagValuesPagedCallable()
Returns
Type Description
UnaryCallable<ListTagValuesRequest,ListTagValuesPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateTagValueCallable()

public UnaryCallable<UpdateTagValueRequest,Operation> updateTagValueCallable()
Returns
Type Description
UnaryCallable<UpdateTagValueRequest,Operation>
Overrides

updateTagValueOperationCallable()

public OperationCallable<UpdateTagValueRequest,TagValue,UpdateTagValueMetadata> updateTagValueOperationCallable()
Returns
Type Description
OperationCallable<UpdateTagValueRequest,TagValue,UpdateTagValueMetadata>
Overrides