Class ReachabilityServiceStubSettings.Builder (1.77.0)
public static class ReachabilityServiceStubSettings.Builder extends StubSettings.Builder<ReachabilityServiceStubSettings,ReachabilityServiceStubSettings.Builder>
Builder for ReachabilityServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(ReachabilityServiceStubSettings settings)
protected Builder(ReachabilityServiceStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ReachabilityServiceStubSettings.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.
build()
public ReachabilityServiceStubSettings build()
Overrides
createConnectivityTestOperationSettings()
public OperationCallSettings.Builder<CreateConnectivityTestRequest,ConnectivityTest,OperationMetadata> createConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to createConnectivityTest.
createConnectivityTestSettings()
public UnaryCallSettings.Builder<CreateConnectivityTestRequest,Operation> createConnectivityTestSettings()
Returns the builder for the settings used for calls to createConnectivityTest.
deleteConnectivityTestOperationSettings()
public OperationCallSettings.Builder<DeleteConnectivityTestRequest,Empty,OperationMetadata> deleteConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to deleteConnectivityTest.
deleteConnectivityTestSettings()
public UnaryCallSettings.Builder<DeleteConnectivityTestRequest,Operation> deleteConnectivityTestSettings()
Returns the builder for the settings used for calls to deleteConnectivityTest.
getConnectivityTestSettings()
public UnaryCallSettings.Builder<GetConnectivityTestRequest,ConnectivityTest> getConnectivityTestSettings()
Returns the builder for the settings used for calls to getConnectivityTest.
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns |
Type |
Description |
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
|
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns |
Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
listConnectivityTestsSettings()
public PagedCallSettings.Builder<ListConnectivityTestsRequest,ListConnectivityTestsResponse,ReachabilityServiceClient.ListConnectivityTestsPagedResponse> listConnectivityTestsSettings()
Returns the builder for the settings used for calls to listConnectivityTests.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ReachabilityServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
rerunConnectivityTestOperationSettings()
public OperationCallSettings.Builder<RerunConnectivityTestRequest,ConnectivityTest,OperationMetadata> rerunConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to rerunConnectivityTest.
rerunConnectivityTestSettings()
public UnaryCallSettings.Builder<RerunConnectivityTestRequest,Operation> rerunConnectivityTestSettings()
Returns the builder for the settings used for calls to rerunConnectivityTest.
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns |
Type |
Description |
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns |
Type |
Description |
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
updateConnectivityTestOperationSettings()
public OperationCallSettings.Builder<UpdateConnectivityTestRequest,ConnectivityTest,OperationMetadata> updateConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to updateConnectivityTest.
updateConnectivityTestSettings()
public UnaryCallSettings.Builder<UpdateConnectivityTestRequest,Operation> updateConnectivityTestSettings()
Returns the builder for the settings used for calls to updateConnectivityTest.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]