Class GrpcTagKeysStub (1.46.0)

public class GrpcTagKeysStub extends TagKeysStub

gRPC stub implementation for the TagKeys service API.

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

Inheritance

java.lang.Object > TagKeysStub > GrpcTagKeysStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(TagKeysStubSettings settings)

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

Constructors

GrpcTagKeysStub(TagKeysStubSettings settings, ClientContext clientContext)

protected GrpcTagKeysStub(TagKeysStubSettings settings, ClientContext clientContext)

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

GrpcTagKeysStub(TagKeysStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcTagKeysStub(TagKeysStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcTagKeysStub, 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 GrpcStubCallableFactory

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

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
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