Class EnvironmentsSettings.Builder (0.14.1)

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

Builder for EnvironmentsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EnvironmentsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(EnvironmentsSettings settings)

protected Builder(EnvironmentsSettings settings)
Parameter
NameDescription
settingsEnvironmentsSettings

Builder(EnvironmentsStubSettings.Builder stubSettings)

protected Builder(EnvironmentsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsEnvironmentsStubSettings.Builder

Methods

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

public EnvironmentsSettings.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
EnvironmentsSettings.Builder

build()

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

createEnvironmentOperationSettings()

public OperationCallSettings.Builder<CreateEnvironmentRequest,Environment,Struct> createEnvironmentOperationSettings()

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

Returns
TypeDescription
Builder<CreateEnvironmentRequest,Environment,Struct>

createEnvironmentSettings()

public UnaryCallSettings.Builder<CreateEnvironmentRequest,Operation> createEnvironmentSettings()

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

Returns
TypeDescription
Builder<CreateEnvironmentRequest,Operation>

deleteEnvironmentSettings()

public UnaryCallSettings.Builder<DeleteEnvironmentRequest,Empty> deleteEnvironmentSettings()

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

Returns
TypeDescription
Builder<DeleteEnvironmentRequest,Empty>

deployFlowOperationSettings()

public OperationCallSettings.Builder<DeployFlowRequest,DeployFlowResponse,DeployFlowMetadata> deployFlowOperationSettings()

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

Returns
TypeDescription
Builder<DeployFlowRequest,DeployFlowResponse,DeployFlowMetadata>

deployFlowSettings()

public UnaryCallSettings.Builder<DeployFlowRequest,Operation> deployFlowSettings()

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

Returns
TypeDescription
Builder<DeployFlowRequest,Operation>

getEnvironmentSettings()

public UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()

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

Returns
TypeDescription
Builder<GetEnvironmentRequest,Environment>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

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

listContinuousTestResultsSettings()

public PagedCallSettings.Builder<ListContinuousTestResultsRequest,ListContinuousTestResultsResponse,EnvironmentsClient.ListContinuousTestResultsPagedResponse> listContinuousTestResultsSettings()

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

Returns
TypeDescription
Builder<ListContinuousTestResultsRequest,ListContinuousTestResultsResponse,ListContinuousTestResultsPagedResponse>

listEnvironmentsSettings()

public PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()

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

Returns
TypeDescription
Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,ListEnvironmentsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,EnvironmentsClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

lookupEnvironmentHistorySettings()

public PagedCallSettings.Builder<LookupEnvironmentHistoryRequest,LookupEnvironmentHistoryResponse,EnvironmentsClient.LookupEnvironmentHistoryPagedResponse> lookupEnvironmentHistorySettings()

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

Returns
TypeDescription
Builder<LookupEnvironmentHistoryRequest,LookupEnvironmentHistoryResponse,LookupEnvironmentHistoryPagedResponse>

runContinuousTestOperationSettings()

public OperationCallSettings.Builder<RunContinuousTestRequest,RunContinuousTestResponse,RunContinuousTestMetadata> runContinuousTestOperationSettings()

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

Returns
TypeDescription
Builder<RunContinuousTestRequest,RunContinuousTestResponse,RunContinuousTestMetadata>

runContinuousTestSettings()

public UnaryCallSettings.Builder<RunContinuousTestRequest,Operation> runContinuousTestSettings()

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

Returns
TypeDescription
Builder<RunContinuousTestRequest,Operation>

updateEnvironmentOperationSettings()

public OperationCallSettings.Builder<UpdateEnvironmentRequest,Environment,Struct> updateEnvironmentOperationSettings()

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

Returns
TypeDescription
Builder<UpdateEnvironmentRequest,Environment,Struct>

updateEnvironmentSettings()

public UnaryCallSettings.Builder<UpdateEnvironmentRequest,Operation> updateEnvironmentSettings()

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

Returns
TypeDescription
Builder<UpdateEnvironmentRequest,Operation>