Class ReachabilityServiceSettings.Builder (1.37.0)

public static class ReachabilityServiceSettings.Builder extends ClientSettings.Builder<ReachabilityServiceSettings,ReachabilityServiceSettings.Builder>

Builder for ReachabilityServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ReachabilityServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ReachabilityServiceSettings settings)

protected Builder(ReachabilityServiceSettings settings)
Parameter
NameDescription
settingsReachabilityServiceSettings

Builder(ReachabilityServiceStubSettings.Builder stubSettings)

protected Builder(ReachabilityServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsReachabilityServiceStubSettings.Builder

Methods

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

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

build()

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

createConnectivityTestOperationSettings()

public OperationCallSettings.Builder<CreateConnectivityTestRequest,ConnectivityTest,OperationMetadata> createConnectivityTestOperationSettings()

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

Returns
TypeDescription
Builder<CreateConnectivityTestRequest,ConnectivityTest,OperationMetadata>

createConnectivityTestSettings()

public UnaryCallSettings.Builder<CreateConnectivityTestRequest,Operation> createConnectivityTestSettings()

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

Returns
TypeDescription
Builder<CreateConnectivityTestRequest,Operation>

deleteConnectivityTestOperationSettings()

public OperationCallSettings.Builder<DeleteConnectivityTestRequest,Empty,OperationMetadata> deleteConnectivityTestOperationSettings()

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

Returns
TypeDescription
Builder<DeleteConnectivityTestRequest,Empty,OperationMetadata>

deleteConnectivityTestSettings()

public UnaryCallSettings.Builder<DeleteConnectivityTestRequest,Operation> deleteConnectivityTestSettings()

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

Returns
TypeDescription
Builder<DeleteConnectivityTestRequest,Operation>

getConnectivityTestSettings()

public UnaryCallSettings.Builder<GetConnectivityTestRequest,ConnectivityTest> getConnectivityTestSettings()

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

Returns
TypeDescription
Builder<GetConnectivityTestRequest,ConnectivityTest>

getStubSettingsBuilder()

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

listConnectivityTestsSettings()

public PagedCallSettings.Builder<ListConnectivityTestsRequest,ListConnectivityTestsResponse,ReachabilityServiceClient.ListConnectivityTestsPagedResponse> listConnectivityTestsSettings()

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

Returns
TypeDescription
Builder<ListConnectivityTestsRequest,ListConnectivityTestsResponse,ListConnectivityTestsPagedResponse>

rerunConnectivityTestOperationSettings()

public OperationCallSettings.Builder<RerunConnectivityTestRequest,ConnectivityTest,OperationMetadata> rerunConnectivityTestOperationSettings()

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

Returns
TypeDescription
Builder<RerunConnectivityTestRequest,ConnectivityTest,OperationMetadata>

rerunConnectivityTestSettings()

public UnaryCallSettings.Builder<RerunConnectivityTestRequest,Operation> rerunConnectivityTestSettings()

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

Returns
TypeDescription
Builder<RerunConnectivityTestRequest,Operation>

updateConnectivityTestOperationSettings()

public OperationCallSettings.Builder<UpdateConnectivityTestRequest,ConnectivityTest,OperationMetadata> updateConnectivityTestOperationSettings()

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

Returns
TypeDescription
Builder<UpdateConnectivityTestRequest,ConnectivityTest,OperationMetadata>

updateConnectivityTestSettings()

public UnaryCallSettings.Builder<UpdateConnectivityTestRequest,Operation> updateConnectivityTestSettings()

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

Returns
TypeDescription
Builder<UpdateConnectivityTestRequest,Operation>