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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonWorkstationsStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonWorkstationsStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonWorkstationsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonWorkstationsStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(WorkstationsStubSettings settings)
public static final HttpJsonWorkstationsStub create(WorkstationsStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
WorkstationsStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonWorkstationsStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
settings |
WorkstationsStubSettings |
clientContext |
ClientContext |
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 | |
---|---|
Name | Description |
settings |
WorkstationsStubSettings |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
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()
createWorkstationCallable()
public UnaryCallable<CreateWorkstationRequest,Operation> createWorkstationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateWorkstationRequest,Operation> |
createWorkstationClusterCallable()
public UnaryCallable<CreateWorkstationClusterRequest,Operation> createWorkstationClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateWorkstationClusterRequest,Operation> |
createWorkstationClusterOperationCallable()
public OperationCallable<CreateWorkstationClusterRequest,WorkstationCluster,OperationMetadata> createWorkstationClusterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateWorkstationClusterRequest,WorkstationCluster,OperationMetadata> |
createWorkstationConfigCallable()
public UnaryCallable<CreateWorkstationConfigRequest,Operation> createWorkstationConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateWorkstationConfigRequest,Operation> |
createWorkstationConfigOperationCallable()
public OperationCallable<CreateWorkstationConfigRequest,WorkstationConfig,OperationMetadata> createWorkstationConfigOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateWorkstationConfigRequest,WorkstationConfig,OperationMetadata> |
createWorkstationOperationCallable()
public OperationCallable<CreateWorkstationRequest,Workstation,OperationMetadata> createWorkstationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateWorkstationRequest,Workstation,OperationMetadata> |
deleteWorkstationCallable()
public UnaryCallable<DeleteWorkstationRequest,Operation> deleteWorkstationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteWorkstationRequest,Operation> |
deleteWorkstationClusterCallable()
public UnaryCallable<DeleteWorkstationClusterRequest,Operation> deleteWorkstationClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteWorkstationClusterRequest,Operation> |
deleteWorkstationClusterOperationCallable()
public OperationCallable<DeleteWorkstationClusterRequest,WorkstationCluster,OperationMetadata> deleteWorkstationClusterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteWorkstationClusterRequest,WorkstationCluster,OperationMetadata> |
deleteWorkstationConfigCallable()
public UnaryCallable<DeleteWorkstationConfigRequest,Operation> deleteWorkstationConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteWorkstationConfigRequest,Operation> |
deleteWorkstationConfigOperationCallable()
public OperationCallable<DeleteWorkstationConfigRequest,WorkstationConfig,OperationMetadata> deleteWorkstationConfigOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteWorkstationConfigRequest,WorkstationConfig,OperationMetadata> |
deleteWorkstationOperationCallable()
public OperationCallable<DeleteWorkstationRequest,Workstation,OperationMetadata> deleteWorkstationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteWorkstationRequest,Workstation,OperationMetadata> |
generateAccessTokenCallable()
public UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GenerateAccessTokenRequest,GenerateAccessTokenResponse> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getWorkstationCallable()
public UnaryCallable<GetWorkstationRequest,Workstation> getWorkstationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetWorkstationRequest,Workstation> |
getWorkstationClusterCallable()
public UnaryCallable<GetWorkstationClusterRequest,WorkstationCluster> getWorkstationClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetWorkstationClusterRequest,WorkstationCluster> |
getWorkstationConfigCallable()
public UnaryCallable<GetWorkstationConfigRequest,WorkstationConfig> getWorkstationConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetWorkstationConfigRequest,WorkstationConfig> |
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> |
listUsableWorkstationConfigsPagedCallable()
public UnaryCallable<ListUsableWorkstationConfigsRequest,WorkstationsClient.ListUsableWorkstationConfigsPagedResponse> listUsableWorkstationConfigsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListUsableWorkstationConfigsRequest,ListUsableWorkstationConfigsPagedResponse> |
listUsableWorkstationsCallable()
public UnaryCallable<ListUsableWorkstationsRequest,ListUsableWorkstationsResponse> listUsableWorkstationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListUsableWorkstationsRequest,ListUsableWorkstationsResponse> |
listUsableWorkstationsPagedCallable()
public UnaryCallable<ListUsableWorkstationsRequest,WorkstationsClient.ListUsableWorkstationsPagedResponse> listUsableWorkstationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListUsableWorkstationsRequest,ListUsableWorkstationsPagedResponse> |
listWorkstationClustersCallable()
public UnaryCallable<ListWorkstationClustersRequest,ListWorkstationClustersResponse> listWorkstationClustersCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListWorkstationClustersRequest,ListWorkstationClustersResponse> |
listWorkstationClustersPagedCallable()
public UnaryCallable<ListWorkstationClustersRequest,WorkstationsClient.ListWorkstationClustersPagedResponse> listWorkstationClustersPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListWorkstationClustersRequest,ListWorkstationClustersPagedResponse> |
listWorkstationConfigsCallable()
public UnaryCallable<ListWorkstationConfigsRequest,ListWorkstationConfigsResponse> listWorkstationConfigsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListWorkstationConfigsRequest,ListWorkstationConfigsResponse> |
listWorkstationConfigsPagedCallable()
public UnaryCallable<ListWorkstationConfigsRequest,WorkstationsClient.ListWorkstationConfigsPagedResponse> listWorkstationConfigsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListWorkstationConfigsRequest,ListWorkstationConfigsPagedResponse> |
listWorkstationsCallable()
public UnaryCallable<ListWorkstationsRequest,ListWorkstationsResponse> listWorkstationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListWorkstationsRequest,ListWorkstationsResponse> |
listWorkstationsPagedCallable()
public UnaryCallable<ListWorkstationsRequest,WorkstationsClient.ListWorkstationsPagedResponse> listWorkstationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListWorkstationsRequest,ListWorkstationsPagedResponse> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
startWorkstationCallable()
public UnaryCallable<StartWorkstationRequest,Operation> startWorkstationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StartWorkstationRequest,Operation> |
startWorkstationOperationCallable()
public OperationCallable<StartWorkstationRequest,Workstation,OperationMetadata> startWorkstationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<StartWorkstationRequest,Workstation,OperationMetadata> |
stopWorkstationCallable()
public UnaryCallable<StopWorkstationRequest,Operation> stopWorkstationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StopWorkstationRequest,Operation> |
stopWorkstationOperationCallable()
public OperationCallable<StopWorkstationRequest,Workstation,OperationMetadata> stopWorkstationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<StopWorkstationRequest,Workstation,OperationMetadata> |
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
updateWorkstationCallable()
public UnaryCallable<UpdateWorkstationRequest,Operation> updateWorkstationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateWorkstationRequest,Operation> |
updateWorkstationClusterCallable()
public UnaryCallable<UpdateWorkstationClusterRequest,Operation> updateWorkstationClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateWorkstationClusterRequest,Operation> |
updateWorkstationClusterOperationCallable()
public OperationCallable<UpdateWorkstationClusterRequest,WorkstationCluster,OperationMetadata> updateWorkstationClusterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateWorkstationClusterRequest,WorkstationCluster,OperationMetadata> |
updateWorkstationConfigCallable()
public UnaryCallable<UpdateWorkstationConfigRequest,Operation> updateWorkstationConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateWorkstationConfigRequest,Operation> |
updateWorkstationConfigOperationCallable()
public OperationCallable<UpdateWorkstationConfigRequest,WorkstationConfig,OperationMetadata> updateWorkstationConfigOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateWorkstationConfigRequest,WorkstationConfig,OperationMetadata> |
updateWorkstationOperationCallable()
public OperationCallable<UpdateWorkstationRequest,Workstation,OperationMetadata> updateWorkstationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateWorkstationRequest,Workstation,OperationMetadata> |