Class HttpJsonTagValuesStub (1.25.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonTagValuesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(TagValuesStubSettings settings)

public static final HttpJsonTagValuesStub create(TagValuesStubSettings settings)
Parameter
NameDescription
settingsTagValuesStubSettings
Returns
TypeDescription
HttpJsonTagValuesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsTagValuesStubSettings
clientContextClientContext

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
NameDescription
settingsTagValuesStubSettings
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

createTagValueCallable()

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

createTagValueOperationCallable()

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

deleteTagValueCallable()

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

deleteTagValueOperationCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

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

getNamespacedTagValueCallable()

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

getTagValueCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listTagValuesCallable()

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

listTagValuesPagedCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateTagValueCallable()

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

updateTagValueOperationCallable()

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