Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class GrpcWorkstationsStub extends WorkstationsStub
gRPC stub implementation for the Workstations service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcWorkstationsStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcWorkstationsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(WorkstationsStubSettings settings)
public static final GrpcWorkstationsStub create(WorkstationsStubSettings settings)
Constructors
GrpcWorkstationsStub(WorkstationsStubSettings settings, ClientContext clientContext)
protected GrpcWorkstationsStub(WorkstationsStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcWorkstationsStub, 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.
GrpcWorkstationsStub(WorkstationsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcWorkstationsStub(WorkstationsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcWorkstationsStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createWorkstationCallable()
public UnaryCallable<CreateWorkstationRequest,Operation> createWorkstationCallable()
Overrides
createWorkstationClusterCallable()
public UnaryCallable<CreateWorkstationClusterRequest,Operation> createWorkstationClusterCallable()
Overrides
createWorkstationClusterOperationCallable()
public OperationCallable<CreateWorkstationClusterRequest,WorkstationCluster,OperationMetadata> createWorkstationClusterOperationCallable()
Overrides
createWorkstationConfigCallable()
public UnaryCallable<CreateWorkstationConfigRequest,Operation> createWorkstationConfigCallable()
Overrides
createWorkstationConfigOperationCallable()
public OperationCallable<CreateWorkstationConfigRequest,WorkstationConfig,OperationMetadata> createWorkstationConfigOperationCallable()
Overrides
createWorkstationOperationCallable()
public OperationCallable<CreateWorkstationRequest,Workstation,OperationMetadata> createWorkstationOperationCallable()
Overrides
deleteWorkstationCallable()
public UnaryCallable<DeleteWorkstationRequest,Operation> deleteWorkstationCallable()
Overrides
deleteWorkstationClusterCallable()
public UnaryCallable<DeleteWorkstationClusterRequest,Operation> deleteWorkstationClusterCallable()
Overrides
deleteWorkstationClusterOperationCallable()
public OperationCallable<DeleteWorkstationClusterRequest,WorkstationCluster,OperationMetadata> deleteWorkstationClusterOperationCallable()
Overrides
deleteWorkstationConfigCallable()
public UnaryCallable<DeleteWorkstationConfigRequest,Operation> deleteWorkstationConfigCallable()
Overrides
deleteWorkstationConfigOperationCallable()
public OperationCallable<DeleteWorkstationConfigRequest,WorkstationConfig,OperationMetadata> deleteWorkstationConfigOperationCallable()
Overrides
deleteWorkstationOperationCallable()
public OperationCallable<DeleteWorkstationRequest,Workstation,OperationMetadata> deleteWorkstationOperationCallable()
Overrides
generateAccessTokenCallable()
public UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
getWorkstationCallable()
public UnaryCallable<GetWorkstationRequest,Workstation> getWorkstationCallable()
Overrides
getWorkstationClusterCallable()
public UnaryCallable<GetWorkstationClusterRequest,WorkstationCluster> getWorkstationClusterCallable()
Overrides
getWorkstationConfigCallable()
public UnaryCallable<GetWorkstationConfigRequest,WorkstationConfig> getWorkstationConfigCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listUsableWorkstationConfigsCallable()
public UnaryCallable<ListUsableWorkstationConfigsRequest,ListUsableWorkstationConfigsResponse> listUsableWorkstationConfigsCallable()
Overrides
listUsableWorkstationConfigsPagedCallable()
public UnaryCallable<ListUsableWorkstationConfigsRequest,WorkstationsClient.ListUsableWorkstationConfigsPagedResponse> listUsableWorkstationConfigsPagedCallable()
Overrides
listUsableWorkstationsCallable()
public UnaryCallable<ListUsableWorkstationsRequest,ListUsableWorkstationsResponse> listUsableWorkstationsCallable()
Overrides
listUsableWorkstationsPagedCallable()
public UnaryCallable<ListUsableWorkstationsRequest,WorkstationsClient.ListUsableWorkstationsPagedResponse> listUsableWorkstationsPagedCallable()
Overrides
listWorkstationClustersCallable()
public UnaryCallable<ListWorkstationClustersRequest,ListWorkstationClustersResponse> listWorkstationClustersCallable()
Overrides
listWorkstationClustersPagedCallable()
public UnaryCallable<ListWorkstationClustersRequest,WorkstationsClient.ListWorkstationClustersPagedResponse> listWorkstationClustersPagedCallable()
Overrides
listWorkstationConfigsCallable()
public UnaryCallable<ListWorkstationConfigsRequest,ListWorkstationConfigsResponse> listWorkstationConfigsCallable()
Overrides
listWorkstationConfigsPagedCallable()
public UnaryCallable<ListWorkstationConfigsRequest,WorkstationsClient.ListWorkstationConfigsPagedResponse> listWorkstationConfigsPagedCallable()
Overrides
listWorkstationsCallable()
public UnaryCallable<ListWorkstationsRequest,ListWorkstationsResponse> listWorkstationsCallable()
Overrides
listWorkstationsPagedCallable()
public UnaryCallable<ListWorkstationsRequest,WorkstationsClient.ListWorkstationsPagedResponse> listWorkstationsPagedCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
startWorkstationCallable()
public UnaryCallable<StartWorkstationRequest,Operation> startWorkstationCallable()
Overrides
startWorkstationOperationCallable()
public OperationCallable<StartWorkstationRequest,Workstation,OperationMetadata> startWorkstationOperationCallable()
Overrides
stopWorkstationCallable()
public UnaryCallable<StopWorkstationRequest,Operation> stopWorkstationCallable()
Overrides
stopWorkstationOperationCallable()
public OperationCallable<StopWorkstationRequest,Workstation,OperationMetadata> stopWorkstationOperationCallable()
Overrides
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
Overrides
updateWorkstationCallable()
public UnaryCallable<UpdateWorkstationRequest,Operation> updateWorkstationCallable()
Overrides
updateWorkstationClusterCallable()
public UnaryCallable<UpdateWorkstationClusterRequest,Operation> updateWorkstationClusterCallable()
Overrides
updateWorkstationClusterOperationCallable()
public OperationCallable<UpdateWorkstationClusterRequest,WorkstationCluster,OperationMetadata> updateWorkstationClusterOperationCallable()
Overrides
updateWorkstationConfigCallable()
public UnaryCallable<UpdateWorkstationConfigRequest,Operation> updateWorkstationConfigCallable()
Overrides
updateWorkstationConfigOperationCallable()
public OperationCallable<UpdateWorkstationConfigRequest,WorkstationConfig,OperationMetadata> updateWorkstationConfigOperationCallable()
Overrides
updateWorkstationOperationCallable()
public OperationCallable<UpdateWorkstationRequest,Workstation,OperationMetadata> updateWorkstationOperationCallable()
Overrides