Class WorkstationsSettings.Builder (0.42.0)

public static class WorkstationsSettings.Builder extends ClientSettings.Builder<WorkstationsSettings,WorkstationsSettings.Builder>

Builder for WorkstationsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > WorkstationsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(WorkstationsSettings settings)

protected Builder(WorkstationsSettings settings)
Parameter
Name Description
settings WorkstationsSettings

Builder(WorkstationsStubSettings.Builder stubSettings)

protected Builder(WorkstationsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings WorkstationsStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public WorkstationsSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
WorkstationsSettings.Builder

build()

public WorkstationsSettings build()
Returns
Type Description
WorkstationsSettings
Overrides
Exceptions
Type Description
IOException

createWorkstationClusterOperationSettings()

public OperationCallSettings.Builder<CreateWorkstationClusterRequest,WorkstationCluster,OperationMetadata> createWorkstationClusterOperationSettings()

Returns the builder for the settings used for calls to createWorkstationCluster.

Returns
Type Description
Builder<CreateWorkstationClusterRequest,WorkstationCluster,OperationMetadata>

createWorkstationClusterSettings()

public UnaryCallSettings.Builder<CreateWorkstationClusterRequest,Operation> createWorkstationClusterSettings()

Returns the builder for the settings used for calls to createWorkstationCluster.

Returns
Type Description
Builder<CreateWorkstationClusterRequest,Operation>

createWorkstationConfigOperationSettings()

public OperationCallSettings.Builder<CreateWorkstationConfigRequest,WorkstationConfig,OperationMetadata> createWorkstationConfigOperationSettings()

Returns the builder for the settings used for calls to createWorkstationConfig.

Returns
Type Description
Builder<CreateWorkstationConfigRequest,WorkstationConfig,OperationMetadata>

createWorkstationConfigSettings()

public UnaryCallSettings.Builder<CreateWorkstationConfigRequest,Operation> createWorkstationConfigSettings()

Returns the builder for the settings used for calls to createWorkstationConfig.

Returns
Type Description
Builder<CreateWorkstationConfigRequest,Operation>

createWorkstationOperationSettings()

public OperationCallSettings.Builder<CreateWorkstationRequest,Workstation,OperationMetadata> createWorkstationOperationSettings()

Returns the builder for the settings used for calls to createWorkstation.

Returns
Type Description
Builder<CreateWorkstationRequest,Workstation,OperationMetadata>

createWorkstationSettings()

public UnaryCallSettings.Builder<CreateWorkstationRequest,Operation> createWorkstationSettings()

Returns the builder for the settings used for calls to createWorkstation.

Returns
Type Description
Builder<CreateWorkstationRequest,Operation>

deleteWorkstationClusterOperationSettings()

public OperationCallSettings.Builder<DeleteWorkstationClusterRequest,WorkstationCluster,OperationMetadata> deleteWorkstationClusterOperationSettings()

Returns the builder for the settings used for calls to deleteWorkstationCluster.

Returns
Type Description
Builder<DeleteWorkstationClusterRequest,WorkstationCluster,OperationMetadata>

deleteWorkstationClusterSettings()

public UnaryCallSettings.Builder<DeleteWorkstationClusterRequest,Operation> deleteWorkstationClusterSettings()

Returns the builder for the settings used for calls to deleteWorkstationCluster.

Returns
Type Description
Builder<DeleteWorkstationClusterRequest,Operation>

deleteWorkstationConfigOperationSettings()

public OperationCallSettings.Builder<DeleteWorkstationConfigRequest,WorkstationConfig,OperationMetadata> deleteWorkstationConfigOperationSettings()

Returns the builder for the settings used for calls to deleteWorkstationConfig.

Returns
Type Description
Builder<DeleteWorkstationConfigRequest,WorkstationConfig,OperationMetadata>

deleteWorkstationConfigSettings()

public UnaryCallSettings.Builder<DeleteWorkstationConfigRequest,Operation> deleteWorkstationConfigSettings()

Returns the builder for the settings used for calls to deleteWorkstationConfig.

Returns
Type Description
Builder<DeleteWorkstationConfigRequest,Operation>

deleteWorkstationOperationSettings()

public OperationCallSettings.Builder<DeleteWorkstationRequest,Workstation,OperationMetadata> deleteWorkstationOperationSettings()

Returns the builder for the settings used for calls to deleteWorkstation.

Returns
Type Description
Builder<DeleteWorkstationRequest,Workstation,OperationMetadata>

deleteWorkstationSettings()

public UnaryCallSettings.Builder<DeleteWorkstationRequest,Operation> deleteWorkstationSettings()

Returns the builder for the settings used for calls to deleteWorkstation.

Returns
Type Description
Builder<DeleteWorkstationRequest,Operation>

generateAccessTokenSettings()

public UnaryCallSettings.Builder<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenSettings()

Returns the builder for the settings used for calls to generateAccessToken.

Returns
Type Description
Builder<GenerateAccessTokenRequest,GenerateAccessTokenResponse>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getStubSettingsBuilder()

public WorkstationsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
WorkstationsStubSettings.Builder

getWorkstationClusterSettings()

public UnaryCallSettings.Builder<GetWorkstationClusterRequest,WorkstationCluster> getWorkstationClusterSettings()

Returns the builder for the settings used for calls to getWorkstationCluster.

Returns
Type Description
Builder<GetWorkstationClusterRequest,WorkstationCluster>

getWorkstationConfigSettings()

public UnaryCallSettings.Builder<GetWorkstationConfigRequest,WorkstationConfig> getWorkstationConfigSettings()

Returns the builder for the settings used for calls to getWorkstationConfig.

Returns
Type Description
Builder<GetWorkstationConfigRequest,WorkstationConfig>

getWorkstationSettings()

public UnaryCallSettings.Builder<GetWorkstationRequest,Workstation> getWorkstationSettings()

Returns the builder for the settings used for calls to getWorkstation.

Returns
Type Description
Builder<GetWorkstationRequest,Workstation>

listUsableWorkstationConfigsSettings()

public PagedCallSettings.Builder<ListUsableWorkstationConfigsRequest,ListUsableWorkstationConfigsResponse,WorkstationsClient.ListUsableWorkstationConfigsPagedResponse> listUsableWorkstationConfigsSettings()

Returns the builder for the settings used for calls to listUsableWorkstationConfigs.

Returns
Type Description
Builder<ListUsableWorkstationConfigsRequest,ListUsableWorkstationConfigsResponse,ListUsableWorkstationConfigsPagedResponse>

listUsableWorkstationsSettings()

public PagedCallSettings.Builder<ListUsableWorkstationsRequest,ListUsableWorkstationsResponse,WorkstationsClient.ListUsableWorkstationsPagedResponse> listUsableWorkstationsSettings()

Returns the builder for the settings used for calls to listUsableWorkstations.

Returns
Type Description
Builder<ListUsableWorkstationsRequest,ListUsableWorkstationsResponse,ListUsableWorkstationsPagedResponse>

listWorkstationClustersSettings()

public PagedCallSettings.Builder<ListWorkstationClustersRequest,ListWorkstationClustersResponse,WorkstationsClient.ListWorkstationClustersPagedResponse> listWorkstationClustersSettings()

Returns the builder for the settings used for calls to listWorkstationClusters.

Returns
Type Description
Builder<ListWorkstationClustersRequest,ListWorkstationClustersResponse,ListWorkstationClustersPagedResponse>

listWorkstationConfigsSettings()

public PagedCallSettings.Builder<ListWorkstationConfigsRequest,ListWorkstationConfigsResponse,WorkstationsClient.ListWorkstationConfigsPagedResponse> listWorkstationConfigsSettings()

Returns the builder for the settings used for calls to listWorkstationConfigs.

Returns
Type Description
Builder<ListWorkstationConfigsRequest,ListWorkstationConfigsResponse,ListWorkstationConfigsPagedResponse>

listWorkstationsSettings()

public PagedCallSettings.Builder<ListWorkstationsRequest,ListWorkstationsResponse,WorkstationsClient.ListWorkstationsPagedResponse> listWorkstationsSettings()

Returns the builder for the settings used for calls to listWorkstations.

Returns
Type Description
Builder<ListWorkstationsRequest,ListWorkstationsResponse,ListWorkstationsPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

Returns the builder for the settings used for calls to setIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

startWorkstationOperationSettings()

public OperationCallSettings.Builder<StartWorkstationRequest,Workstation,OperationMetadata> startWorkstationOperationSettings()

Returns the builder for the settings used for calls to startWorkstation.

Returns
Type Description
Builder<StartWorkstationRequest,Workstation,OperationMetadata>

startWorkstationSettings()

public UnaryCallSettings.Builder<StartWorkstationRequest,Operation> startWorkstationSettings()

Returns the builder for the settings used for calls to startWorkstation.

Returns
Type Description
Builder<StartWorkstationRequest,Operation>

stopWorkstationOperationSettings()

public OperationCallSettings.Builder<StopWorkstationRequest,Workstation,OperationMetadata> stopWorkstationOperationSettings()

Returns the builder for the settings used for calls to stopWorkstation.

Returns
Type Description
Builder<StopWorkstationRequest,Workstation,OperationMetadata>

stopWorkstationSettings()

public UnaryCallSettings.Builder<StopWorkstationRequest,Operation> stopWorkstationSettings()

Returns the builder for the settings used for calls to stopWorkstation.

Returns
Type Description
Builder<StopWorkstationRequest,Operation>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

Returns the builder for the settings used for calls to testIamPermissions.

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateWorkstationClusterOperationSettings()

public OperationCallSettings.Builder<UpdateWorkstationClusterRequest,WorkstationCluster,OperationMetadata> updateWorkstationClusterOperationSettings()

Returns the builder for the settings used for calls to updateWorkstationCluster.

Returns
Type Description
Builder<UpdateWorkstationClusterRequest,WorkstationCluster,OperationMetadata>

updateWorkstationClusterSettings()

public UnaryCallSettings.Builder<UpdateWorkstationClusterRequest,Operation> updateWorkstationClusterSettings()

Returns the builder for the settings used for calls to updateWorkstationCluster.

Returns
Type Description
Builder<UpdateWorkstationClusterRequest,Operation>

updateWorkstationConfigOperationSettings()

public OperationCallSettings.Builder<UpdateWorkstationConfigRequest,WorkstationConfig,OperationMetadata> updateWorkstationConfigOperationSettings()

Returns the builder for the settings used for calls to updateWorkstationConfig.

Returns
Type Description
Builder<UpdateWorkstationConfigRequest,WorkstationConfig,OperationMetadata>

updateWorkstationConfigSettings()

public UnaryCallSettings.Builder<UpdateWorkstationConfigRequest,Operation> updateWorkstationConfigSettings()

Returns the builder for the settings used for calls to updateWorkstationConfig.

Returns
Type Description
Builder<UpdateWorkstationConfigRequest,Operation>

updateWorkstationOperationSettings()

public OperationCallSettings.Builder<UpdateWorkstationRequest,Workstation,OperationMetadata> updateWorkstationOperationSettings()

Returns the builder for the settings used for calls to updateWorkstation.

Returns
Type Description
Builder<UpdateWorkstationRequest,Workstation,OperationMetadata>

updateWorkstationSettings()

public UnaryCallSettings.Builder<UpdateWorkstationRequest,Operation> updateWorkstationSettings()

Returns the builder for the settings used for calls to updateWorkstation.

Returns
Type Description
Builder<UpdateWorkstationRequest,Operation>