Class RegionInstanceTemplatesStubSettings.Builder (1.30.0)

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

Builder for RegionInstanceTemplatesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionInstanceTemplatesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionInstanceTemplatesStubSettings settings)

protected Builder(RegionInstanceTemplatesStubSettings settings)
Parameter
NameDescription
settingsRegionInstanceTemplatesStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteRegionInstanceTemplateRequest,Operation,Operation> deleteOperationSettings()

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

Returns
TypeDescription
Builder<DeleteRegionInstanceTemplateRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteRegionInstanceTemplateRequest,Operation> deleteSettings()

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

Returns
TypeDescription
Builder<DeleteRegionInstanceTemplateRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetRegionInstanceTemplateRequest,InstanceTemplate> getSettings()

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

Returns
TypeDescription
Builder<GetRegionInstanceTemplateRequest,InstanceTemplate>

insertOperationSettings()

public OperationCallSettings.Builder<InsertRegionInstanceTemplateRequest,Operation,Operation> insertOperationSettings()

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

Returns
TypeDescription
Builder<InsertRegionInstanceTemplateRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertRegionInstanceTemplateRequest,Operation> insertSettings()

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

Returns
TypeDescription
Builder<InsertRegionInstanceTemplateRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionInstanceTemplatesRequest,InstanceTemplateList,RegionInstanceTemplatesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListRegionInstanceTemplatesRequest,InstanceTemplateList,ListPagedResponse>

unaryMethodSettingsBuilders()

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