public static class ReachabilityServiceStubSettings.Builder extends StubSettings.Builder<ReachabilityServiceStubSettings,ReachabilityServiceStubSettings.Builder>
Builder for ReachabilityServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(ReachabilityServiceStubSettings settings)
protected Builder(ReachabilityServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | ReachabilityServiceStubSettings |
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.
Parameter | |
---|---|
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
ReachabilityServiceStubSettings.Builder |
build()
public ReachabilityServiceStubSettings build()
Returns | |
---|---|
Type | Description |
ReachabilityServiceStubSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
createConnectivityTestOperationSettings()
public OperationCallSettings.Builder<CreateConnectivityTestRequest,ConnectivityTest,OperationMetadata> createConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to createConnectivityTest.
Returns | |
---|---|
Type | Description |
Builder<CreateConnectivityTestRequest,ConnectivityTest,OperationMetadata> |
createConnectivityTestSettings()
public UnaryCallSettings.Builder<CreateConnectivityTestRequest,Operation> createConnectivityTestSettings()
Returns the builder for the settings used for calls to createConnectivityTest.
Returns | |
---|---|
Type | Description |
Builder<CreateConnectivityTestRequest,Operation> |
deleteConnectivityTestOperationSettings()
public OperationCallSettings.Builder<DeleteConnectivityTestRequest,Empty,OperationMetadata> deleteConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to deleteConnectivityTest.
Returns | |
---|---|
Type | Description |
Builder<DeleteConnectivityTestRequest,Empty,OperationMetadata> |
deleteConnectivityTestSettings()
public UnaryCallSettings.Builder<DeleteConnectivityTestRequest,Operation> deleteConnectivityTestSettings()
Returns the builder for the settings used for calls to deleteConnectivityTest.
Returns | |
---|---|
Type | Description |
Builder<DeleteConnectivityTestRequest,Operation> |
getConnectivityTestSettings()
public UnaryCallSettings.Builder<GetConnectivityTestRequest,ConnectivityTest> getConnectivityTestSettings()
Returns the builder for the settings used for calls to getConnectivityTest.
Returns | |
---|---|
Type | Description |
Builder<GetConnectivityTestRequest,ConnectivityTest> |
listConnectivityTestsSettings()
public PagedCallSettings.Builder<ListConnectivityTestsRequest,ListConnectivityTestsResponse,ReachabilityServiceClient.ListConnectivityTestsPagedResponse> listConnectivityTestsSettings()
Returns the builder for the settings used for calls to listConnectivityTests.
Returns | |
---|---|
Type | Description |
Builder<ListConnectivityTestsRequest,ListConnectivityTestsResponse,ListConnectivityTestsPagedResponse> |
rerunConnectivityTestOperationSettings()
public OperationCallSettings.Builder<RerunConnectivityTestRequest,ConnectivityTest,OperationMetadata> rerunConnectivityTestOperationSettings()
Returns the builder for the settings used for calls to rerunConnectivityTest.
Returns | |
---|---|
Type | Description |
Builder<RerunConnectivityTestRequest,ConnectivityTest,OperationMetadata> |
rerunConnectivityTestSettings()
public UnaryCallSettings.Builder<RerunConnectivityTestRequest,Operation> rerunConnectivityTestSettings()
Returns the builder for the settings used for calls to rerunConnectivityTest.
Returns | |
---|---|
Type | Description |
Builder<RerunConnectivityTestRequest,Operation> |
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.
Returns | |
---|---|
Type | Description |
Builder<UpdateConnectivityTestRequest,ConnectivityTest,OperationMetadata> |
updateConnectivityTestSettings()
public UnaryCallSettings.Builder<UpdateConnectivityTestRequest,Operation> updateConnectivityTestSettings()
Returns the builder for the settings used for calls to updateConnectivityTest.
Returns | |
---|---|
Type | Description |
Builder<UpdateConnectivityTestRequest,Operation> |