Class HubServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<HubServiceSettings,HubServiceSettings.Builder>
com.google.cloud.networkconnectivity.v1alpha1.HubServiceSettings.Builder
- Enclosing class:
- HubServiceSettings
public static class HubServiceSettings.Builder
extends ClientSettings.Builder<HubServiceSettings,HubServiceSettings.Builder>
Builder for HubServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(HubServiceSettings settings) protectedBuilder(HubServiceStubSettings.Builder stubSettings) -
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.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.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public HubServiceSettings.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.
-
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 classClientSettings.Builder<HubServiceSettings,HubServiceSettings.Builder> - Throws:
IOException
-