Class VersionsSettings.Builder (2.13.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
NameDescription
clientContextClientContext

Builder(VersionsSettings settings)

protected Builder(VersionsSettings settings)
Parameter
NameDescription
settingsVersionsSettings

Builder(VersionsStubSettings.Builder stubSettings)

protected Builder(VersionsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsVersionsStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
VersionsSettings.Builder

build()

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

createVersionOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateVersionRequest,Version,CreateVersionMetadataV1>

createVersionSettings()

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

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

Returns
TypeDescription
Builder<CreateVersionRequest,Operation>

deleteVersionOperationSettings()

public OperationCallSettings.Builder<DeleteVersionRequest,Empty,OperationMetadataV1> deleteVersionOperationSettings()

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

Returns
TypeDescription
Builder<DeleteVersionRequest,Empty,OperationMetadataV1>

deleteVersionSettings()

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

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

Returns
TypeDescription
Builder<DeleteVersionRequest,Operation>

getStubSettingsBuilder()

public VersionsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
VersionsStubSettings.Builder

getVersionSettings()

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

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

Returns
TypeDescription
Builder<GetVersionRequest,Version>

listVersionsSettings()

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

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

Returns
TypeDescription
Builder<ListVersionsRequest,ListVersionsResponse,ListVersionsPagedResponse>

updateVersionOperationSettings()

public OperationCallSettings.Builder<UpdateVersionRequest,Version,OperationMetadataV1> updateVersionOperationSettings()

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

Returns
TypeDescription
Builder<UpdateVersionRequest,Version,OperationMetadataV1>

updateVersionSettings()

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

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

Returns
TypeDescription
Builder<UpdateVersionRequest,Operation>