Class WorkstationsSettings.Builder (0.3.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.

createWorkstationClusterSettings()

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

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

createWorkstationConfigOperationSettings()

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

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

createWorkstationConfigSettings()

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

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

createWorkstationOperationSettings()

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

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

createWorkstationSettings()

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

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

deleteWorkstationClusterOperationSettings()

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

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

deleteWorkstationClusterSettings()

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

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

deleteWorkstationConfigOperationSettings()

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

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

deleteWorkstationConfigSettings()

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

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

deleteWorkstationOperationSettings()

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

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

deleteWorkstationSettings()

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

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

generateAccessTokenSettings()

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

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

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.

getWorkstationConfigSettings()

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

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

getWorkstationSettings()

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

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

listUsableWorkstationConfigsSettings()

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

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

listUsableWorkstationsSettings()

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

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

listWorkstationClustersSettings()

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

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

listWorkstationConfigsSettings()

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

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

listWorkstationsSettings()

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

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

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.

startWorkstationSettings()

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

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

stopWorkstationOperationSettings()

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

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

stopWorkstationSettings()

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

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

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.

updateWorkstationClusterSettings()

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

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

updateWorkstationConfigOperationSettings()

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

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

updateWorkstationConfigSettings()

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

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

updateWorkstationOperationSettings()

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

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

updateWorkstationSettings()

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

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