Class GrpcTagValuesStub (1.19.0)

public class GrpcTagValuesStub extends TagValuesStub

gRPC stub implementation for the TagValues service API.

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

Inheritance

java.lang.Object > TagValuesStub > GrpcTagValuesStub

Static Methods

create(ClientContext clientContext)

public static final GrpcTagValuesStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcTagValuesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(TagValuesStubSettings settings)

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

Constructors

GrpcTagValuesStub(TagValuesStubSettings settings, ClientContext clientContext)

protected GrpcTagValuesStub(TagValuesStubSettings settings, ClientContext clientContext)

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

GrpcTagValuesStub(TagValuesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcTagValuesStub(TagValuesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

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

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

getOperationsStub()

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