Class VersionsStubSettings.Builder (2.7.0)

publicstaticclass VersionsStubSettings.BuilderextendsStubSettings.Builder<VersionsStubSettings,VersionsStubSettings.Builder>

Builder for VersionsStubSettings.

Inheritance

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

Inherited Members

Constructors

Builder()

protectedBuilder()

Builder(ClientContext clientContext)

protectedBuilder(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext

Builder(VersionsStubSettings settings)

protectedBuilder(VersionsStubSettingssettings)
Parameter
Name Description

Methods

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

publicVersionsStubSettings.BuilderapplyToAllUnaryMethods(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

build()

publicVersionsStubSettingsbuild()
Returns
Type Description
Overrides Exceptions
Type Description

createVersionOperationSettings()

publicOperationCallSettings.Builder<CreateVersionRequest,Version,CreateVersionMetadataV1>createVersionOperationSettings()

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

Returns
Type Description

createVersionSettings()

publicUnaryCallSettings.Builder<CreateVersionRequest,Operation>createVersionSettings()

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

Returns
Type Description

deleteVersionOperationSettings()

publicOperationCallSettings.Builder<DeleteVersionRequest,Empty,OperationMetadataV1>deleteVersionOperationSettings()

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

Returns
Type Description

deleteVersionSettings()

publicUnaryCallSettings.Builder<DeleteVersionRequest,Operation>deleteVersionSettings()

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

Returns
Type Description

getVersionSettings()

publicUnaryCallSettings.Builder<GetVersionRequest,Version>getVersionSettings()

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

Returns
Type Description

listVersionsSettings()

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

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

Returns
Type Description

unaryMethodSettingsBuilders()

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

updateVersionOperationSettings()

publicOperationCallSettings.Builder<UpdateVersionRequest,Version,OperationMetadataV1>updateVersionOperationSettings()

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

Returns
Type Description

updateVersionSettings()

publicUnaryCallSettings.Builder<UpdateVersionRequest,Operation>updateVersionSettings()

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

Returns
Type Description

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.