Class GrpcWorkstationsStub (0.19.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcWorkstationsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(WorkstationsStubSettings settings)

public static final GrpcWorkstationsStub create(WorkstationsStubSettings settings)
Parameter
NameDescription
settingsWorkstationsStubSettings
Returns
TypeDescription
GrpcWorkstationsStub
Exceptions
TypeDescription
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
NameDescription
settingsWorkstationsStubSettings
clientContextClientContext

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
NameDescription
settingsWorkstationsStubSettings
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

createWorkstationCallable()

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

createWorkstationClusterCallable()

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

createWorkstationClusterOperationCallable()

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

createWorkstationConfigCallable()

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

createWorkstationConfigOperationCallable()

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

createWorkstationOperationCallable()

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

deleteWorkstationCallable()

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

deleteWorkstationClusterCallable()

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

deleteWorkstationClusterOperationCallable()

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

deleteWorkstationConfigCallable()

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

deleteWorkstationConfigOperationCallable()

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

deleteWorkstationOperationCallable()

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

generateAccessTokenCallable()

public UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenCallable()
Returns
TypeDescription
UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse>
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

getWorkstationCallable()

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

getWorkstationClusterCallable()

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

getWorkstationConfigCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listUsableWorkstationConfigsCallable()

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

listUsableWorkstationConfigsPagedCallable()

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

listUsableWorkstationsCallable()

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

listUsableWorkstationsPagedCallable()

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

listWorkstationClustersCallable()

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

listWorkstationClustersPagedCallable()

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

listWorkstationConfigsCallable()

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

listWorkstationConfigsPagedCallable()

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

listWorkstationsCallable()

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

listWorkstationsPagedCallable()

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

startWorkstationCallable()

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

startWorkstationOperationCallable()

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

stopWorkstationCallable()

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

stopWorkstationOperationCallable()

public OperationCallable<StopWorkstationRequest,Workstation,OperationMetadata> stopWorkstationOperationCallable()
Returns
TypeDescription
OperationCallable<StopWorkstationRequest,Workstation,OperationMetadata>
Overrides

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateWorkstationCallable()

public UnaryCallable<UpdateWorkstationRequest,Operation> updateWorkstationCallable()
Returns
TypeDescription
UnaryCallable<UpdateWorkstationRequest,Operation>
Overrides

updateWorkstationClusterCallable()

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

updateWorkstationClusterOperationCallable()

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

updateWorkstationConfigCallable()

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

updateWorkstationConfigOperationCallable()

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

updateWorkstationOperationCallable()

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