Class DomainMappingsSettings.Builder (2.3.4)

Stay organized with collections Save and categorize content based on your preferences.
public static class DomainMappingsSettings.Builder extends ClientSettings.Builder<DomainMappingsSettings,DomainMappingsSettings.Builder>

Builder for DomainMappingsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DomainMappingsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DomainMappingsSettings settings)

protected Builder(DomainMappingsSettings settings)
Parameter
NameDescription
settingsDomainMappingsSettings

Builder(DomainMappingsStubSettings.Builder stubSettings)

protected Builder(DomainMappingsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDomainMappingsStubSettings.Builder

Methods

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

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

build()

public DomainMappingsSettings build()
Returns
TypeDescription
DomainMappingsSettings
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>

getStubSettingsBuilder()

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

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>

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>