Class VersionsStubSettings.Builder (0.15.0)

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

Builder for VersionsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > VersionsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(VersionsStubSettings settings)

protected Builder(VersionsStubSettings settings)
Parameter
Name Description
settings VersionsStubSettings

Methods

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

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

build()

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

compareVersionsSettings()

public UnaryCallSettings.Builder<CompareVersionsRequest,CompareVersionsResponse> compareVersionsSettings()

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

Returns
Type Description
Builder<CompareVersionsRequest,CompareVersionsResponse>

createVersionOperationSettings()

public OperationCallSettings.Builder<CreateVersionRequest,Version,CreateVersionOperationMetadata> createVersionOperationSettings()

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

Returns
Type Description
Builder<CreateVersionRequest,Version,CreateVersionOperationMetadata>

createVersionSettings()

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

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

Returns
Type Description
Builder<CreateVersionRequest,Operation>

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>

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>

loadVersionOperationSettings()

public OperationCallSettings.Builder<LoadVersionRequest,Empty,Struct> loadVersionOperationSettings()

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

Returns
Type Description
Builder<LoadVersionRequest,Empty,Struct>

loadVersionSettings()

public UnaryCallSettings.Builder<LoadVersionRequest,Operation> loadVersionSettings()

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

Returns
Type Description
Builder<LoadVersionRequest,Operation>

unaryMethodSettingsBuilders()

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

updateVersionSettings()

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

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

Returns
Type Description
Builder<UpdateVersionRequest,Version>