Class HubServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<HubServiceStubSettings,HubServiceStubSettings.Builder>
com.google.cloud.networkconnectivity.v1alpha1.stub.HubServiceStubSettings.Builder
- Enclosing class:
- HubServiceStubSettings
public static class HubServiceStubSettings.Builder
extends StubSettings.Builder<HubServiceStubSettings,HubServiceStubSettings.Builder>
Builder for HubServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(HubServiceStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createHub.Returns the builder for the settings used for calls to createHub.Returns the builder for the settings used for calls to createSpoke.Returns the builder for the settings used for calls to createSpoke.OperationCallSettings.Builder<DeleteHubRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteHub.Returns the builder for the settings used for calls to deleteHub.OperationCallSettings.Builder<DeleteSpokeRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteSpoke.Returns the builder for the settings used for calls to deleteSpoke.Returns the builder for the settings used for calls to getHub.Returns the builder for the settings used for calls to getSpoke.Returns the builder for the settings used for calls to listHubs.PagedCallSettings.Builder<ListSpokesRequest,ListSpokesResponse, HubServiceClient.ListSpokesPagedResponse> Returns the builder for the settings used for calls to listSpokes.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateHub.Returns the builder for the settings used for calls to updateHub.Returns the builder for the settings used for calls to updateSpoke.Returns the builder for the settings used for calls to updateSpoke.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public HubServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
listHubsSettings
public PagedCallSettings.Builder<ListHubsRequest,ListHubsResponse, listHubsSettings()HubServiceClient.ListHubsPagedResponse> Returns the builder for the settings used for calls to listHubs. -
getHubSettings
Returns the builder for the settings used for calls to getHub. -
createHubSettings
Returns the builder for the settings used for calls to createHub. -
createHubOperationSettings
public OperationCallSettings.Builder<CreateHubRequest,Hub, createHubOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createHub. -
updateHubSettings
Returns the builder for the settings used for calls to updateHub. -
updateHubOperationSettings
public OperationCallSettings.Builder<UpdateHubRequest,Hub, updateHubOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateHub. -
deleteHubSettings
Returns the builder for the settings used for calls to deleteHub. -
deleteHubOperationSettings
public OperationCallSettings.Builder<DeleteHubRequest,com.google.protobuf.Empty, deleteHubOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteHub. -
listSpokesSettings
public PagedCallSettings.Builder<ListSpokesRequest,ListSpokesResponse, listSpokesSettings()HubServiceClient.ListSpokesPagedResponse> Returns the builder for the settings used for calls to listSpokes. -
getSpokeSettings
Returns the builder for the settings used for calls to getSpoke. -
createSpokeSettings
Returns the builder for the settings used for calls to createSpoke. -
createSpokeOperationSettings
public OperationCallSettings.Builder<CreateSpokeRequest,Spoke, createSpokeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createSpoke. -
updateSpokeSettings
Returns the builder for the settings used for calls to updateSpoke. -
updateSpokeOperationSettings
public OperationCallSettings.Builder<UpdateSpokeRequest,Spoke, updateSpokeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateSpoke. -
deleteSpokeSettings
Returns the builder for the settings used for calls to deleteSpoke. -
deleteSpokeOperationSettings
public OperationCallSettings.Builder<DeleteSpokeRequest,com.google.protobuf.Empty, deleteSpokeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteSpoke. -
build
- Specified by:
buildin classStubSettings.Builder<HubServiceStubSettings,HubServiceStubSettings.Builder> - Throws:
IOException
-