Class GrpcWorkstationsStub (0.42.0)

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.

Inheritance

java.lang.Object > WorkstationsStub > GrpcWorkstationsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(WorkstationsStubSettings settings)

public static final GrpcWorkstationsStub create(WorkstationsStubSettings settings)
Parameter
Name Description
settings WorkstationsStubSettings
Returns
Type Description
GrpcWorkstationsStub
Exceptions
Type Description
IOException

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.

Parameters
Name Description
settings WorkstationsStubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings WorkstationsStubSettings
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

createWorkstationCallable()

public UnaryCallable<CreateWorkstationRequest,Operation> createWorkstationCallable()
Returns
Type Description
UnaryCallable<CreateWorkstationRequest,Operation>
Overrides

createWorkstationClusterCallable()

public UnaryCallable<CreateWorkstationClusterRequest,Operation> createWorkstationClusterCallable()
Returns
Type Description
UnaryCallable<CreateWorkstationClusterRequest,Operation>
Overrides

createWorkstationClusterOperationCallable()

public OperationCallable<CreateWorkstationClusterRequest,WorkstationCluster,OperationMetadata> createWorkstationClusterOperationCallable()
Returns
Type Description
OperationCallable<CreateWorkstationClusterRequest,WorkstationCluster,OperationMetadata>
Overrides

createWorkstationConfigCallable()

public UnaryCallable<CreateWorkstationConfigRequest,Operation> createWorkstationConfigCallable()
Returns
Type Description
UnaryCallable<CreateWorkstationConfigRequest,Operation>
Overrides

createWorkstationConfigOperationCallable()

public OperationCallable<CreateWorkstationConfigRequest,WorkstationConfig,OperationMetadata> createWorkstationConfigOperationCallable()
Returns
Type Description
OperationCallable<CreateWorkstationConfigRequest,WorkstationConfig,OperationMetadata>
Overrides

createWorkstationOperationCallable()

public OperationCallable<CreateWorkstationRequest,Workstation,OperationMetadata> createWorkstationOperationCallable()
Returns
Type Description
OperationCallable<CreateWorkstationRequest,Workstation,OperationMetadata>
Overrides

deleteWorkstationCallable()

public UnaryCallable<DeleteWorkstationRequest,Operation> deleteWorkstationCallable()
Returns
Type Description
UnaryCallable<DeleteWorkstationRequest,Operation>
Overrides

deleteWorkstationClusterCallable()

public UnaryCallable<DeleteWorkstationClusterRequest,Operation> deleteWorkstationClusterCallable()
Returns
Type Description
UnaryCallable<DeleteWorkstationClusterRequest,Operation>
Overrides

deleteWorkstationClusterOperationCallable()

public OperationCallable<DeleteWorkstationClusterRequest,WorkstationCluster,OperationMetadata> deleteWorkstationClusterOperationCallable()
Returns
Type Description
OperationCallable<DeleteWorkstationClusterRequest,WorkstationCluster,OperationMetadata>
Overrides

deleteWorkstationConfigCallable()

public UnaryCallable<DeleteWorkstationConfigRequest,Operation> deleteWorkstationConfigCallable()
Returns
Type Description
UnaryCallable<DeleteWorkstationConfigRequest,Operation>
Overrides

deleteWorkstationConfigOperationCallable()

public OperationCallable<DeleteWorkstationConfigRequest,WorkstationConfig,OperationMetadata> deleteWorkstationConfigOperationCallable()
Returns
Type Description
OperationCallable<DeleteWorkstationConfigRequest,WorkstationConfig,OperationMetadata>
Overrides

deleteWorkstationOperationCallable()

public OperationCallable<DeleteWorkstationRequest,Workstation,OperationMetadata> deleteWorkstationOperationCallable()
Returns
Type Description
OperationCallable<DeleteWorkstationRequest,Workstation,OperationMetadata>
Overrides

generateAccessTokenCallable()

public UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenCallable()
Returns
Type Description
UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse>
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()
Returns
Type Description
GrpcOperationsStub
Overrides

getWorkstationCallable()

public UnaryCallable<GetWorkstationRequest,Workstation> getWorkstationCallable()
Returns
Type Description
UnaryCallable<GetWorkstationRequest,Workstation>
Overrides

getWorkstationClusterCallable()

public UnaryCallable<GetWorkstationClusterRequest,WorkstationCluster> getWorkstationClusterCallable()
Returns
Type Description
UnaryCallable<GetWorkstationClusterRequest,WorkstationCluster>
Overrides

getWorkstationConfigCallable()

public UnaryCallable<GetWorkstationConfigRequest,WorkstationConfig> getWorkstationConfigCallable()
Returns
Type Description
UnaryCallable<GetWorkstationConfigRequest,WorkstationConfig>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listUsableWorkstationConfigsCallable()

public UnaryCallable<ListUsableWorkstationConfigsRequest,ListUsableWorkstationConfigsResponse> listUsableWorkstationConfigsCallable()
Returns
Type Description
UnaryCallable<ListUsableWorkstationConfigsRequest,ListUsableWorkstationConfigsResponse>
Overrides

listUsableWorkstationConfigsPagedCallable()

public UnaryCallable<ListUsableWorkstationConfigsRequest,WorkstationsClient.ListUsableWorkstationConfigsPagedResponse> listUsableWorkstationConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListUsableWorkstationConfigsRequest,ListUsableWorkstationConfigsPagedResponse>
Overrides

listUsableWorkstationsCallable()

public UnaryCallable<ListUsableWorkstationsRequest,ListUsableWorkstationsResponse> listUsableWorkstationsCallable()
Returns
Type Description
UnaryCallable<ListUsableWorkstationsRequest,ListUsableWorkstationsResponse>
Overrides

listUsableWorkstationsPagedCallable()

public UnaryCallable<ListUsableWorkstationsRequest,WorkstationsClient.ListUsableWorkstationsPagedResponse> listUsableWorkstationsPagedCallable()
Returns
Type Description
UnaryCallable<ListUsableWorkstationsRequest,ListUsableWorkstationsPagedResponse>
Overrides

listWorkstationClustersCallable()

public UnaryCallable<ListWorkstationClustersRequest,ListWorkstationClustersResponse> listWorkstationClustersCallable()
Returns
Type Description
UnaryCallable<ListWorkstationClustersRequest,ListWorkstationClustersResponse>
Overrides

listWorkstationClustersPagedCallable()

public UnaryCallable<ListWorkstationClustersRequest,WorkstationsClient.ListWorkstationClustersPagedResponse> listWorkstationClustersPagedCallable()
Returns
Type Description
UnaryCallable<ListWorkstationClustersRequest,ListWorkstationClustersPagedResponse>
Overrides

listWorkstationConfigsCallable()

public UnaryCallable<ListWorkstationConfigsRequest,ListWorkstationConfigsResponse> listWorkstationConfigsCallable()
Returns
Type Description
UnaryCallable<ListWorkstationConfigsRequest,ListWorkstationConfigsResponse>
Overrides

listWorkstationConfigsPagedCallable()

public UnaryCallable<ListWorkstationConfigsRequest,WorkstationsClient.ListWorkstationConfigsPagedResponse> listWorkstationConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListWorkstationConfigsRequest,ListWorkstationConfigsPagedResponse>
Overrides

listWorkstationsCallable()

public UnaryCallable<ListWorkstationsRequest,ListWorkstationsResponse> listWorkstationsCallable()
Returns
Type Description
UnaryCallable<ListWorkstationsRequest,ListWorkstationsResponse>
Overrides

listWorkstationsPagedCallable()

public UnaryCallable<ListWorkstationsRequest,WorkstationsClient.ListWorkstationsPagedResponse> listWorkstationsPagedCallable()
Returns
Type Description
UnaryCallable<ListWorkstationsRequest,ListWorkstationsPagedResponse>
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()

startWorkstationCallable()

public UnaryCallable<StartWorkstationRequest,Operation> startWorkstationCallable()
Returns
Type Description
UnaryCallable<StartWorkstationRequest,Operation>
Overrides

startWorkstationOperationCallable()

public OperationCallable<StartWorkstationRequest,Workstation,OperationMetadata> startWorkstationOperationCallable()
Returns
Type Description
OperationCallable<StartWorkstationRequest,Workstation,OperationMetadata>
Overrides

stopWorkstationCallable()

public UnaryCallable<StopWorkstationRequest,Operation> stopWorkstationCallable()
Returns
Type Description
UnaryCallable<StopWorkstationRequest,Operation>
Overrides

stopWorkstationOperationCallable()

public OperationCallable<StopWorkstationRequest,Workstation,OperationMetadata> stopWorkstationOperationCallable()
Returns
Type Description
OperationCallable<StopWorkstationRequest,Workstation,OperationMetadata>
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()
Returns
Type Description
UnaryCallable<UpdateWorkstationRequest,Operation>
Overrides

updateWorkstationClusterCallable()

public UnaryCallable<UpdateWorkstationClusterRequest,Operation> updateWorkstationClusterCallable()
Returns
Type Description
UnaryCallable<UpdateWorkstationClusterRequest,Operation>
Overrides

updateWorkstationClusterOperationCallable()

public OperationCallable<UpdateWorkstationClusterRequest,WorkstationCluster,OperationMetadata> updateWorkstationClusterOperationCallable()
Returns
Type Description
OperationCallable<UpdateWorkstationClusterRequest,WorkstationCluster,OperationMetadata>
Overrides

updateWorkstationConfigCallable()

public UnaryCallable<UpdateWorkstationConfigRequest,Operation> updateWorkstationConfigCallable()
Returns
Type Description
UnaryCallable<UpdateWorkstationConfigRequest,Operation>
Overrides

updateWorkstationConfigOperationCallable()

public OperationCallable<UpdateWorkstationConfigRequest,WorkstationConfig,OperationMetadata> updateWorkstationConfigOperationCallable()
Returns
Type Description
OperationCallable<UpdateWorkstationConfigRequest,WorkstationConfig,OperationMetadata>
Overrides

updateWorkstationOperationCallable()

public OperationCallable<UpdateWorkstationRequest,Workstation,OperationMetadata> updateWorkstationOperationCallable()
Returns
Type Description
OperationCallable<UpdateWorkstationRequest,Workstation,OperationMetadata>
Overrides