public static class EnvironmentsStubSettings.Builder extends StubSettings.Builder<EnvironmentsStubSettings,EnvironmentsStubSettings.Builder>
Builder for EnvironmentsStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext |
ClientContext |
Builder(EnvironmentsStubSettings settings)
protected Builder(EnvironmentsStubSettings settings)
Name | Description |
settings |
EnvironmentsStubSettings |
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.
Name | Description |
settingsUpdater |
ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
EnvironmentsStubSettings.Builder |
build()
public EnvironmentsStubSettings build()
Type | Description |
EnvironmentsStubSettings |
Type | Description |
IOException |
checkUpgradeOperationSettings()
public OperationCallSettings.Builder<CheckUpgradeRequest,CheckUpgradeResponse,OperationMetadata> checkUpgradeOperationSettings()
Returns the builder for the settings used for calls to checkUpgrade.
Type | Description |
Builder<CheckUpgradeRequest,CheckUpgradeResponse,OperationMetadata> |
checkUpgradeSettings()
public UnaryCallSettings.Builder<CheckUpgradeRequest,Operation> checkUpgradeSettings()
Returns the builder for the settings used for calls to checkUpgrade.
Type | Description |
Builder<CheckUpgradeRequest,Operation> |
createEnvironmentOperationSettings()
public OperationCallSettings.Builder<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationSettings()
Returns the builder for the settings used for calls to createEnvironment.
Type | Description |
Builder<CreateEnvironmentRequest,Environment,OperationMetadata> |
createEnvironmentSettings()
public UnaryCallSettings.Builder<CreateEnvironmentRequest,Operation> createEnvironmentSettings()
Returns the builder for the settings used for calls to createEnvironment.
Type | Description |
Builder<CreateEnvironmentRequest,Operation> |
deleteEnvironmentOperationSettings()
public OperationCallSettings.Builder<DeleteEnvironmentRequest,Empty,OperationMetadata> deleteEnvironmentOperationSettings()
Returns the builder for the settings used for calls to deleteEnvironment.
Type | Description |
Builder<DeleteEnvironmentRequest,Empty,OperationMetadata> |
deleteEnvironmentSettings()
public UnaryCallSettings.Builder<DeleteEnvironmentRequest,Operation> deleteEnvironmentSettings()
Returns the builder for the settings used for calls to deleteEnvironment.
Type | Description |
Builder<DeleteEnvironmentRequest,Operation> |
getEnvironmentSettings()
public UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()
Returns the builder for the settings used for calls to getEnvironment.
Type | Description |
Builder<GetEnvironmentRequest,Environment> |
listEnvironmentsSettings()
public PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()
Returns the builder for the settings used for calls to listEnvironments.
Type | Description |
Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,ListEnvironmentsPagedResponse> |
loadSnapshotOperationSettings()
public OperationCallSettings.Builder<LoadSnapshotRequest,LoadSnapshotResponse,OperationMetadata> loadSnapshotOperationSettings()
Returns the builder for the settings used for calls to loadSnapshot.
Type | Description |
Builder<LoadSnapshotRequest,LoadSnapshotResponse,OperationMetadata> |
loadSnapshotSettings()
public UnaryCallSettings.Builder<LoadSnapshotRequest,Operation> loadSnapshotSettings()
Returns the builder for the settings used for calls to loadSnapshot.
Type | Description |
Builder<LoadSnapshotRequest,Operation> |
restartWebServerOperationSettings()
public OperationCallSettings.Builder<RestartWebServerRequest,Environment,OperationMetadata> restartWebServerOperationSettings()
Returns the builder for the settings used for calls to restartWebServer.
Type | Description |
Builder<RestartWebServerRequest,Environment,OperationMetadata> |
restartWebServerSettings()
public UnaryCallSettings.Builder<RestartWebServerRequest,Operation> restartWebServerSettings()
Returns the builder for the settings used for calls to restartWebServer.
Type | Description |
Builder<RestartWebServerRequest,Operation> |
saveSnapshotOperationSettings()
public OperationCallSettings.Builder<SaveSnapshotRequest,SaveSnapshotResponse,OperationMetadata> saveSnapshotOperationSettings()
Returns the builder for the settings used for calls to saveSnapshot.
Type | Description |
Builder<SaveSnapshotRequest,SaveSnapshotResponse,OperationMetadata> |
saveSnapshotSettings()
public UnaryCallSettings.Builder<SaveSnapshotRequest,Operation> saveSnapshotSettings()
Returns the builder for the settings used for calls to saveSnapshot.
Type | Description |
Builder<SaveSnapshotRequest,Operation> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
updateEnvironmentOperationSettings()
public OperationCallSettings.Builder<UpdateEnvironmentRequest,Environment,OperationMetadata> updateEnvironmentOperationSettings()
Returns the builder for the settings used for calls to updateEnvironment.
Type | Description |
Builder<UpdateEnvironmentRequest,Environment,OperationMetadata> |
updateEnvironmentSettings()
public UnaryCallSettings.Builder<UpdateEnvironmentRequest,Operation> updateEnvironmentSettings()
Returns the builder for the settings used for calls to updateEnvironment.
Type | Description |
Builder<UpdateEnvironmentRequest,Operation> |