Class GrpcTagKeysStub (1.2.12)

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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcTagKeysStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcTagKeysStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcTagKeysStub
Exceptions
TypeDescription
IOException

create(TagKeysStubSettings settings)

public static final GrpcTagKeysStub create(TagKeysStubSettings settings)
Parameter
NameDescription
settingsTagKeysStubSettings
Returns
TypeDescription
GrpcTagKeysStub
Exceptions
TypeDescription
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
NameDescription
settingsTagKeysStubSettings
clientContextClientContext

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

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

getIamPolicyCallable()

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

getOperationsStub()

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