Class ReachabilityServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ReachabilityServiceSettings,ReachabilityServiceSettings.Builder>
-
- com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceSettings.Builder
-
- Enclosing class:
- ReachabilityServiceSettings
public static class ReachabilityServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ReachabilityServiceSettings,ReachabilityServiceSettings.Builder>
Builder for ReachabilityServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ReachabilityServiceSettings settings)
protected
Builder(ReachabilityServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReachabilityServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ReachabilityServiceSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateConnectivityTestRequest,ConnectivityTest,OperationMetadata>
createConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to createConnectivityTest.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateConnectivityTestRequest,com.google.longrunning.Operation>
createConnectivityTestSettings()
Returns the builder for the settings used for calls to createConnectivityTest.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteConnectivityTestRequest,com.google.protobuf.Empty,OperationMetadata>
deleteConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to deleteConnectivityTest.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteConnectivityTestRequest,com.google.longrunning.Operation>
deleteConnectivityTestSettings()
Returns the builder for the settings used for calls to deleteConnectivityTest.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConnectivityTestRequest,ConnectivityTest>
getConnectivityTestSettings()
Returns the builder for the settings used for calls to getConnectivityTest.ReachabilityServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListConnectivityTestsRequest,ListConnectivityTestsResponse,ReachabilityServiceClient.ListConnectivityTestsPagedResponse>
listConnectivityTestsSettings()
Returns the builder for the settings used for calls to listConnectivityTests.com.google.api.gax.rpc.OperationCallSettings.Builder<RerunConnectivityTestRequest,ConnectivityTest,OperationMetadata>
rerunConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to rerunConnectivityTest.com.google.api.gax.rpc.UnaryCallSettings.Builder<RerunConnectivityTestRequest,com.google.longrunning.Operation>
rerunConnectivityTestSettings()
Returns the builder for the settings used for calls to rerunConnectivityTest.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateConnectivityTestRequest,ConnectivityTest,OperationMetadata>
updateConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to updateConnectivityTest.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateConnectivityTestRequest,com.google.longrunning.Operation>
updateConnectivityTestSettings()
Returns the builder for the settings used for calls to updateConnectivityTest.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ReachabilityServiceSettings settings)
-
Builder
protected Builder(ReachabilityServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ReachabilityServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ReachabilityServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
listConnectivityTestsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListConnectivityTestsRequest,ListConnectivityTestsResponse,ReachabilityServiceClient.ListConnectivityTestsPagedResponse> listConnectivityTestsSettings()
Returns the builder for the settings used for calls to listConnectivityTests.
-
getConnectivityTestSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConnectivityTestRequest,ConnectivityTest> getConnectivityTestSettings()
Returns the builder for the settings used for calls to getConnectivityTest.
-
createConnectivityTestSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateConnectivityTestRequest,com.google.longrunning.Operation> createConnectivityTestSettings()
Returns the builder for the settings used for calls to createConnectivityTest.
-
createConnectivityTestOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateConnectivityTestRequest,ConnectivityTest,OperationMetadata> createConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to createConnectivityTest.
-
updateConnectivityTestSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateConnectivityTestRequest,com.google.longrunning.Operation> updateConnectivityTestSettings()
Returns the builder for the settings used for calls to updateConnectivityTest.
-
updateConnectivityTestOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateConnectivityTestRequest,ConnectivityTest,OperationMetadata> updateConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to updateConnectivityTest.
-
rerunConnectivityTestSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RerunConnectivityTestRequest,com.google.longrunning.Operation> rerunConnectivityTestSettings()
Returns the builder for the settings used for calls to rerunConnectivityTest.
-
rerunConnectivityTestOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RerunConnectivityTestRequest,ConnectivityTest,OperationMetadata> rerunConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to rerunConnectivityTest.
-
deleteConnectivityTestSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteConnectivityTestRequest,com.google.longrunning.Operation> deleteConnectivityTestSettings()
Returns the builder for the settings used for calls to deleteConnectivityTest.
-
deleteConnectivityTestOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteConnectivityTestRequest,com.google.protobuf.Empty,OperationMetadata> deleteConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to deleteConnectivityTest.
-
build
public ReachabilityServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ReachabilityServiceSettings,ReachabilityServiceSettings.Builder>
- Throws:
IOException
-
-