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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(TagKeysStubSettings settings)

public static final HttpJsonTagKeysStub create(TagKeysStubSettings settings)
Parameter
NameDescription
settingsTagKeysStubSettings
Returns
TypeDescription
HttpJsonTagKeysStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

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

createTagKeyCallable()

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

createTagKeyOperationCallable()

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

deleteTagKeyCallable()

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

deleteTagKeyOperationCallable()

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

getNamespacedTagKeyCallable()

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

getTagKeyCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listTagKeysCallable()

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

listTagKeysPagedCallable()

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

updateTagKeyCallable()

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

updateTagKeyOperationCallable()

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