Class DomainMappingsStubSettings.Builder (2.21.0)

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

Builder for DomainMappingsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DomainMappingsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DomainMappingsStubSettings settings)

protected Builder(DomainMappingsStubSettings settings)
Parameter
NameDescription
settingsDomainMappingsStubSettings

Methods

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

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

build()

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

createDomainMappingOperationSettings()

public OperationCallSettings.Builder<CreateDomainMappingRequest,DomainMapping,OperationMetadataV1> createDomainMappingOperationSettings()

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

Returns
TypeDescription
Builder<CreateDomainMappingRequest,DomainMapping,OperationMetadataV1>

createDomainMappingSettings()

public UnaryCallSettings.Builder<CreateDomainMappingRequest,Operation> createDomainMappingSettings()

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

Returns
TypeDescription
Builder<CreateDomainMappingRequest,Operation>

deleteDomainMappingOperationSettings()

public OperationCallSettings.Builder<DeleteDomainMappingRequest,Empty,OperationMetadataV1> deleteDomainMappingOperationSettings()

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

Returns
TypeDescription
Builder<DeleteDomainMappingRequest,Empty,OperationMetadataV1>

deleteDomainMappingSettings()

public UnaryCallSettings.Builder<DeleteDomainMappingRequest,Operation> deleteDomainMappingSettings()

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

Returns
TypeDescription
Builder<DeleteDomainMappingRequest,Operation>

getDomainMappingSettings()

public UnaryCallSettings.Builder<GetDomainMappingRequest,DomainMapping> getDomainMappingSettings()

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

Returns
TypeDescription
Builder<GetDomainMappingRequest,DomainMapping>

listDomainMappingsSettings()

public PagedCallSettings.Builder<ListDomainMappingsRequest,ListDomainMappingsResponse,DomainMappingsClient.ListDomainMappingsPagedResponse> listDomainMappingsSettings()

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

Returns
TypeDescription
Builder<ListDomainMappingsRequest,ListDomainMappingsResponse,ListDomainMappingsPagedResponse>

unaryMethodSettingsBuilders()

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

updateDomainMappingOperationSettings()

public OperationCallSettings.Builder<UpdateDomainMappingRequest,DomainMapping,OperationMetadataV1> updateDomainMappingOperationSettings()

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

Returns
TypeDescription
Builder<UpdateDomainMappingRequest,DomainMapping,OperationMetadataV1>

updateDomainMappingSettings()

public UnaryCallSettings.Builder<UpdateDomainMappingRequest,Operation> updateDomainMappingSettings()

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

Returns
TypeDescription
Builder<UpdateDomainMappingRequest,Operation>