Class HttpJsonTagKeysStub (1.56.0)

public class HttpJsonTagKeysStub extends TagKeysStub

REST stub implementation for the TagKeys service API.

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

Inheritance

java.lang.Object > TagKeysStub > HttpJsonTagKeysStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(TagKeysStubSettings settings)

public static final HttpJsonTagKeysStub create(TagKeysStubSettings settings)
Parameter
Name Description
settings TagKeysStubSettings
Returns
Type Description
HttpJsonTagKeysStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Constructors

HttpJsonTagKeysStub(TagKeysStubSettings settings, ClientContext clientContext)

protected HttpJsonTagKeysStub(TagKeysStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonTagKeysStub, 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 TagKeysStubSettings
clientContext ClientContext

HttpJsonTagKeysStub(TagKeysStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonTagKeysStub(TagKeysStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

createTagKeyCallable()

public UnaryCallable<CreateTagKeyRequest,Operation> createTagKeyCallable()
Returns
Type Description
UnaryCallable<CreateTagKeyRequest,Operation>
Overrides

createTagKeyOperationCallable()

public OperationCallable<CreateTagKeyRequest,TagKey,CreateTagKeyMetadata> createTagKeyOperationCallable()
Returns
Type Description
OperationCallable<CreateTagKeyRequest,TagKey,CreateTagKeyMetadata>
Overrides

deleteTagKeyCallable()

public UnaryCallable<DeleteTagKeyRequest,Operation> deleteTagKeyCallable()
Returns
Type Description
UnaryCallable<DeleteTagKeyRequest,Operation>
Overrides

deleteTagKeyOperationCallable()

public OperationCallable<DeleteTagKeyRequest,TagKey,DeleteTagKeyMetadata> deleteTagKeyOperationCallable()
Returns
Type Description
OperationCallable<DeleteTagKeyRequest,TagKey,DeleteTagKeyMetadata>
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

getNamespacedTagKeyCallable()

public UnaryCallable<GetNamespacedTagKeyRequest,TagKey> getNamespacedTagKeyCallable()
Returns
Type Description
UnaryCallable<GetNamespacedTagKeyRequest,TagKey>
Overrides

getTagKeyCallable()

public UnaryCallable<GetTagKeyRequest,TagKey> getTagKeyCallable()
Returns
Type Description
UnaryCallable<GetTagKeyRequest,TagKey>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listTagKeysCallable()

public UnaryCallable<ListTagKeysRequest,ListTagKeysResponse> listTagKeysCallable()
Returns
Type Description
UnaryCallable<ListTagKeysRequest,ListTagKeysResponse>
Overrides

listTagKeysPagedCallable()

public UnaryCallable<ListTagKeysRequest,TagKeysClient.ListTagKeysPagedResponse> listTagKeysPagedCallable()
Returns
Type Description
UnaryCallable<ListTagKeysRequest,ListTagKeysPagedResponse>
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

updateTagKeyCallable()

public UnaryCallable<UpdateTagKeyRequest,Operation> updateTagKeyCallable()
Returns
Type Description
UnaryCallable<UpdateTagKeyRequest,Operation>
Overrides

updateTagKeyOperationCallable()

public OperationCallable<UpdateTagKeyRequest,TagKey,UpdateTagKeyMetadata> updateTagKeyOperationCallable()
Returns
Type Description
OperationCallable<UpdateTagKeyRequest,TagKey,UpdateTagKeyMetadata>
Overrides