Class VersionsSettings.Builder (4.18.0)

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

Builder for VersionsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > VersionsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(VersionsSettings settings)

protected Builder(VersionsSettings settings)
Parameter
Name Description
settings VersionsSettings

Builder(VersionsStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createVersionSettings()

public UnaryCallSettings.Builder<CreateVersionRequest,Version> createVersionSettings()

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

Returns
Type Description
Builder<CreateVersionRequest,Version>

deleteVersionSettings()

public UnaryCallSettings.Builder<DeleteVersionRequest,Empty> deleteVersionSettings()

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

Returns
Type Description
Builder<DeleteVersionRequest,Empty>

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 VersionsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
VersionsStubSettings.Builder

getVersionSettings()

public UnaryCallSettings.Builder<GetVersionRequest,Version> getVersionSettings()

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

Returns
Type Description
Builder<GetVersionRequest,Version>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,VersionsClient.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>

listVersionsSettings()

public PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse,VersionsClient.ListVersionsPagedResponse> listVersionsSettings()

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

Returns
Type Description
Builder<ListVersionsRequest,ListVersionsResponse,ListVersionsPagedResponse>

updateVersionSettings()

public UnaryCallSettings.Builder<UpdateVersionRequest,Version> updateVersionSettings()

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

Returns
Type Description
Builder<UpdateVersionRequest,Version>