Class GeneratorsSettings.Builder (4.58.0)

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

Builder for GeneratorsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > GeneratorsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(GeneratorsSettings settings)

protected Builder(GeneratorsSettings settings)
Parameter
Name Description
settings GeneratorsSettings

Builder(GeneratorsStubSettings.Builder stubSettings)

protected Builder(GeneratorsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings GeneratorsStubSettings.Builder

Methods

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

public GeneratorsSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
GeneratorsSettings.Builder

build()

public GeneratorsSettings build()
Returns
Type Description
GeneratorsSettings
Overrides
Exceptions
Type Description
IOException

createGeneratorSettings()

public UnaryCallSettings.Builder<CreateGeneratorRequest,Generator> createGeneratorSettings()

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

Returns
Type Description
Builder<CreateGeneratorRequest,Generator>

deleteGeneratorSettings()

public UnaryCallSettings.Builder<DeleteGeneratorRequest,Empty> deleteGeneratorSettings()

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

Returns
Type Description
Builder<DeleteGeneratorRequest,Empty>

getGeneratorSettings()

public UnaryCallSettings.Builder<GetGeneratorRequest,Generator> getGeneratorSettings()

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

Returns
Type Description
Builder<GetGeneratorRequest,Generator>

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>

getStubSettingsBuilder()

public GeneratorsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
GeneratorsStubSettings.Builder

listGeneratorsSettings()

public PagedCallSettings.Builder<ListGeneratorsRequest,ListGeneratorsResponse,GeneratorsClient.ListGeneratorsPagedResponse> listGeneratorsSettings()

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

Returns
Type Description
Builder<ListGeneratorsRequest,ListGeneratorsResponse,ListGeneratorsPagedResponse>

listLocationsSettings()

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

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

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

updateGeneratorSettings()

public UnaryCallSettings.Builder<UpdateGeneratorRequest,Generator> updateGeneratorSettings()

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

Returns
Type Description
Builder<UpdateGeneratorRequest,Generator>