Class HttpJsonWorkstationsStub (0.27.0)

public class HttpJsonWorkstationsStub extends WorkstationsStub

REST stub implementation for the Workstations service API.

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

Inheritance

java.lang.Object > WorkstationsStub > HttpJsonWorkstationsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonWorkstationsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonWorkstationsStub
Exceptions
TypeDescription
IOException

create(WorkstationsStubSettings settings)

public static final HttpJsonWorkstationsStub create(WorkstationsStubSettings settings)
Parameter
NameDescription
settingsWorkstationsStubSettings
Returns
TypeDescription
HttpJsonWorkstationsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonWorkstationsStub(WorkstationsStubSettings settings, ClientContext clientContext)

protected HttpJsonWorkstationsStub(WorkstationsStubSettings settings, ClientContext clientContext)

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

HttpJsonWorkstationsStub(WorkstationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonWorkstationsStub(WorkstationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
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