Class EnvironmentsStubSettings.Builder (4.43.0)

public static class EnvironmentsStubSettings.Builder extends StubSettings.Builder<EnvironmentsStubSettings,EnvironmentsStubSettings.Builder>

Builder for EnvironmentsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > EnvironmentsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(EnvironmentsStubSettings settings)

protected Builder(EnvironmentsStubSettings settings)
Parameter
NameDescription
settingsEnvironmentsStubSettings

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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
EnvironmentsStubSettings.Builder

build()

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

createEnvironmentSettings()

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

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

Returns
TypeDescription
Builder<CreateEnvironmentRequest,Environment>

deleteEnvironmentSettings()

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

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

Returns
TypeDescription
Builder<DeleteEnvironmentRequest,Empty>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getEnvironmentHistorySettings()

public PagedCallSettings.Builder<GetEnvironmentHistoryRequest,EnvironmentHistory,EnvironmentsClient.GetEnvironmentHistoryPagedResponse> getEnvironmentHistorySettings()

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

Returns
TypeDescription
Builder<GetEnvironmentHistoryRequest,EnvironmentHistory,GetEnvironmentHistoryPagedResponse>

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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateEnvironmentSettings()

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

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

Returns
TypeDescription
Builder<UpdateEnvironmentRequest,Environment>