Class WorkstationsSettings.Builder (0.4.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
NameDescription
clientContextClientContext

Builder(WorkstationsSettings settings)

protected Builder(WorkstationsSettings settings)
Parameter
NameDescription
settingsWorkstationsSettings

Builder(WorkstationsStubSettings.Builder stubSettings)

protected Builder(WorkstationsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsWorkstationsStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
WorkstationsSettings.Builder

build()

public WorkstationsSettings build()
Returns
TypeDescription
WorkstationsSettings
Overrides
Exceptions
TypeDescription
IOException

createWorkstationClusterOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateWorkstationClusterRequest,WorkstationCluster,OperationMetadata>

createWorkstationClusterSettings()

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

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

Returns
TypeDescription
Builder<CreateWorkstationClusterRequest,Operation>

createWorkstationConfigOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateWorkstationConfigRequest,WorkstationConfig,OperationMetadata>

createWorkstationConfigSettings()

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

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

Returns
TypeDescription
Builder<CreateWorkstationConfigRequest,Operation>

createWorkstationOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateWorkstationRequest,Workstation,OperationMetadata>

createWorkstationSettings()

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

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

Returns
TypeDescription
Builder<CreateWorkstationRequest,Operation>

deleteWorkstationClusterOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteWorkstationClusterRequest,WorkstationCluster,OperationMetadata>

deleteWorkstationClusterSettings()

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

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

Returns
TypeDescription
Builder<DeleteWorkstationClusterRequest,Operation>

deleteWorkstationConfigOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteWorkstationConfigRequest,WorkstationConfig,OperationMetadata>

deleteWorkstationConfigSettings()

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

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

Returns
TypeDescription
Builder<DeleteWorkstationConfigRequest,Operation>

deleteWorkstationOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteWorkstationRequest,Workstation,OperationMetadata>

deleteWorkstationSettings()

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

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

Returns
TypeDescription
Builder<DeleteWorkstationRequest,Operation>

generateAccessTokenSettings()

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

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

Returns
TypeDescription
Builder<GenerateAccessTokenRequest,GenerateAccessTokenResponse>

getIamPolicySettings()

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

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

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

getStubSettingsBuilder()

public WorkstationsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
WorkstationsStubSettings.Builder

getWorkstationClusterSettings()

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

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

Returns
TypeDescription
Builder<GetWorkstationClusterRequest,WorkstationCluster>

getWorkstationConfigSettings()

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

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

Returns
TypeDescription
Builder<GetWorkstationConfigRequest,WorkstationConfig>

getWorkstationSettings()

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

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

Returns
TypeDescription
Builder<GetWorkstationRequest,Workstation>

listUsableWorkstationConfigsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListWorkstationsRequest,ListWorkstationsResponse,ListWorkstationsPagedResponse>

setIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<StartWorkstationRequest,Workstation,OperationMetadata>

startWorkstationSettings()

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

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

Returns
TypeDescription
Builder<StartWorkstationRequest,Operation>

stopWorkstationOperationSettings()

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

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

Returns
TypeDescription
Builder<StopWorkstationRequest,Workstation,OperationMetadata>

stopWorkstationSettings()

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

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

Returns
TypeDescription
Builder<StopWorkstationRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<UpdateWorkstationClusterRequest,WorkstationCluster,OperationMetadata>

updateWorkstationClusterSettings()

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

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

Returns
TypeDescription
Builder<UpdateWorkstationClusterRequest,Operation>

updateWorkstationConfigOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateWorkstationConfigRequest,WorkstationConfig,OperationMetadata>

updateWorkstationConfigSettings()

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

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

Returns
TypeDescription
Builder<UpdateWorkstationConfigRequest,Operation>

updateWorkstationOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateWorkstationRequest,Workstation,OperationMetadata>

updateWorkstationSettings()

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

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

Returns
TypeDescription
Builder<UpdateWorkstationRequest,Operation>