Class RegionHealthCheckServicesStubSettings.Builder (1.51.0)

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

Builder for RegionHealthCheckServicesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionHealthCheckServicesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionHealthCheckServicesStubSettings settings)

protected Builder(RegionHealthCheckServicesStubSettings settings)
Parameter
NameDescription
settingsRegionHealthCheckServicesStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionHealthCheckServiceRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionHealthCheckServiceRequest,Operation>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getSettings()

public UnaryCallSettings.Builder<GetRegionHealthCheckServiceRequest,HealthCheckService> getSettings()

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

Returns
TypeDescription
Builder<GetRegionHealthCheckServiceRequest,HealthCheckService>

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionHealthCheckServiceRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionHealthCheckServiceRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionHealthCheckServicesRequest,HealthCheckServicesList,RegionHealthCheckServicesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListRegionHealthCheckServicesRequest,HealthCheckServicesList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchRegionHealthCheckServiceRequest,Operation,Operation> patchOperationSettings()

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

Returns
TypeDescription
Builder<PatchRegionHealthCheckServiceRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchRegionHealthCheckServiceRequest,Operation> patchSettings()

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

Returns
TypeDescription
Builder<PatchRegionHealthCheckServiceRequest,Operation>

unaryMethodSettingsBuilders()

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