public static class EnvironmentsStubSettings.Builder extends StubSettings.Builder<EnvironmentsStubSettings,EnvironmentsStubSettings.Builder>
Builder for EnvironmentsStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(EnvironmentsStubSettings settings)
protected Builder(EnvironmentsStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public EnvironmentsStubSettings.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.
build()
public EnvironmentsStubSettings build()
Overrides
createEnvironmentOperationSettings()
public OperationCallSettings.Builder<CreateEnvironmentRequest,Environment,Struct> createEnvironmentOperationSettings()
Returns the builder for the settings used for calls to createEnvironment.
createEnvironmentSettings()
public UnaryCallSettings.Builder<CreateEnvironmentRequest,Operation> createEnvironmentSettings()
Returns the builder for the settings used for calls to createEnvironment.
deleteEnvironmentSettings()
public UnaryCallSettings.Builder<DeleteEnvironmentRequest,Empty> deleteEnvironmentSettings()
Returns the builder for the settings used for calls to deleteEnvironment.
deployFlowOperationSettings()
public OperationCallSettings.Builder<DeployFlowRequest,DeployFlowResponse,DeployFlowMetadata> deployFlowOperationSettings()
Returns the builder for the settings used for calls to deployFlow.
deployFlowSettings()
public UnaryCallSettings.Builder<DeployFlowRequest,Operation> deployFlowSettings()
Returns the builder for the settings used for calls to deployFlow.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Returns |
Type |
Description |
String |
|
Overrides
getEnvironmentSettings()
public UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()
Returns the builder for the settings used for calls to getEnvironment.
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns |
Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
listContinuousTestResultsSettings()
public PagedCallSettings.Builder<ListContinuousTestResultsRequest,ListContinuousTestResultsResponse,EnvironmentsClient.ListContinuousTestResultsPagedResponse> listContinuousTestResultsSettings()
Returns the builder for the settings used for calls to listContinuousTestResults.
listEnvironmentsSettings()
public PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()
Returns the builder for the settings used for calls to listEnvironments.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,EnvironmentsClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
lookupEnvironmentHistorySettings()
public PagedCallSettings.Builder<LookupEnvironmentHistoryRequest,LookupEnvironmentHistoryResponse,EnvironmentsClient.LookupEnvironmentHistoryPagedResponse> lookupEnvironmentHistorySettings()
Returns the builder for the settings used for calls to lookupEnvironmentHistory.
runContinuousTestOperationSettings()
public OperationCallSettings.Builder<RunContinuousTestRequest,RunContinuousTestResponse,RunContinuousTestMetadata> runContinuousTestOperationSettings()
Returns the builder for the settings used for calls to runContinuousTest.
runContinuousTestSettings()
public UnaryCallSettings.Builder<RunContinuousTestRequest,Operation> runContinuousTestSettings()
Returns the builder for the settings used for calls to runContinuousTest.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
updateEnvironmentOperationSettings()
public OperationCallSettings.Builder<UpdateEnvironmentRequest,Environment,Struct> updateEnvironmentOperationSettings()
Returns the builder for the settings used for calls to updateEnvironment.
updateEnvironmentSettings()
public UnaryCallSettings.Builder<UpdateEnvironmentRequest,Operation> updateEnvironmentSettings()
Returns the builder for the settings used for calls to updateEnvironment.