Class GrpcTagValuesStub (1.44.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcTagValuesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(TagValuesStubSettings settings)

public static final GrpcTagValuesStub create(TagValuesStubSettings settings)
Parameter
Name Description
settings TagValuesStubSettings
Returns
Type Description
GrpcTagValuesStub
Exceptions
Type Description
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
Name Description
settings TagValuesStubSettings
clientContext ClientContext

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
Name Description
settings TagValuesStubSettings
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

createTagValueCallable()

public UnaryCallable<CreateTagValueRequest,Operation> createTagValueCallable()
Returns
Type Description
UnaryCallable<CreateTagValueRequest,Operation>
Overrides

createTagValueOperationCallable()

public OperationCallable<CreateTagValueRequest,TagValue,CreateTagValueMetadata> createTagValueOperationCallable()
Returns
Type Description
OperationCallable<CreateTagValueRequest,TagValue,CreateTagValueMetadata>
Overrides

deleteTagValueCallable()

public UnaryCallable<DeleteTagValueRequest,Operation> deleteTagValueCallable()
Returns
Type Description
UnaryCallable<DeleteTagValueRequest,Operation>
Overrides

deleteTagValueOperationCallable()

public OperationCallable<DeleteTagValueRequest,TagValue,DeleteTagValueMetadata> deleteTagValueOperationCallable()
Returns
Type Description
OperationCallable<DeleteTagValueRequest,TagValue,DeleteTagValueMetadata>
Overrides

getIamPolicyCallable()

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

getNamespacedTagValueCallable()

public UnaryCallable<GetNamespacedTagValueRequest,TagValue> getNamespacedTagValueCallable()
Returns
Type Description
UnaryCallable<GetNamespacedTagValueRequest,TagValue>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getTagValueCallable()

public UnaryCallable<GetTagValueRequest,TagValue> getTagValueCallable()
Returns
Type Description
UnaryCallable<GetTagValueRequest,TagValue>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listTagValuesCallable()

public UnaryCallable<ListTagValuesRequest,ListTagValuesResponse> listTagValuesCallable()
Returns
Type Description
UnaryCallable<ListTagValuesRequest,ListTagValuesResponse>
Overrides

listTagValuesPagedCallable()

public UnaryCallable<ListTagValuesRequest,TagValuesClient.ListTagValuesPagedResponse> listTagValuesPagedCallable()
Returns
Type Description
UnaryCallable<ListTagValuesRequest,ListTagValuesPagedResponse>
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

updateTagValueCallable()

public UnaryCallable<UpdateTagValueRequest,Operation> updateTagValueCallable()
Returns
Type Description
UnaryCallable<UpdateTagValueRequest,Operation>
Overrides

updateTagValueOperationCallable()

public OperationCallable<UpdateTagValueRequest,TagValue,UpdateTagValueMetadata> updateTagValueOperationCallable()
Returns
Type Description
OperationCallable<UpdateTagValueRequest,TagValue,UpdateTagValueMetadata>
Overrides