Class HubServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<HubServiceSettings,HubServiceSettings.Builder>
-
- com.google.cloud.networkconnectivity.v1.HubServiceSettings.Builder
-
- Enclosing class:
- HubServiceSettings
public static class HubServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<HubServiceSettings,HubServiceSettings.Builder>
Builder for HubServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(HubServiceSettings settings)
protected
Builder(HubServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HubServiceSettings.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.HubServiceSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateHubRequest,Hub,OperationMetadata>
createHubOperationSettings()
Returns the builder for the settings used for calls to createHub.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateHubRequest,com.google.longrunning.Operation>
createHubSettings()
Returns the builder for the settings used for calls to createHub.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateSpokeRequest,Spoke,OperationMetadata>
createSpokeOperationSettings()
Returns the builder for the settings used for calls to createSpoke.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSpokeRequest,com.google.longrunning.Operation>
createSpokeSettings()
Returns the builder for the settings used for calls to createSpoke.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteHubRequest,com.google.protobuf.Empty,OperationMetadata>
deleteHubOperationSettings()
Returns the builder for the settings used for calls to deleteHub.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteHubRequest,com.google.longrunning.Operation>
deleteHubSettings()
Returns the builder for the settings used for calls to deleteHub.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteSpokeRequest,com.google.protobuf.Empty,OperationMetadata>
deleteSpokeOperationSettings()
Returns the builder for the settings used for calls to deleteSpoke.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSpokeRequest,com.google.longrunning.Operation>
deleteSpokeSettings()
Returns the builder for the settings used for calls to deleteSpoke.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetHubRequest,Hub>
getHubSettings()
Returns the builder for the settings used for calls to getHub.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSpokeRequest,Spoke>
getSpokeSettings()
Returns the builder for the settings used for calls to getSpoke.HubServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListHubsRequest,ListHubsResponse,HubServiceClient.ListHubsPagedResponse>
listHubsSettings()
Returns the builder for the settings used for calls to listHubs.com.google.api.gax.rpc.PagedCallSettings.Builder<ListSpokesRequest,ListSpokesResponse,HubServiceClient.ListSpokesPagedResponse>
listSpokesSettings()
Returns the builder for the settings used for calls to listSpokes.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateHubRequest,Hub,OperationMetadata>
updateHubOperationSettings()
Returns the builder for the settings used for calls to updateHub.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateHubRequest,com.google.longrunning.Operation>
updateHubSettings()
Returns the builder for the settings used for calls to updateHub.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateSpokeRequest,Spoke,OperationMetadata>
updateSpokeOperationSettings()
Returns the builder for the settings used for calls to updateSpoke.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSpokeRequest,com.google.longrunning.Operation>
updateSpokeSettings()
Returns the builder for the settings used for calls to updateSpoke.-
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(HubServiceSettings settings)
-
Builder
protected Builder(HubServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public HubServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public HubServiceSettings.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.
-
listHubsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListHubsRequest,ListHubsResponse,HubServiceClient.ListHubsPagedResponse> listHubsSettings()
Returns the builder for the settings used for calls to listHubs.
-
getHubSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetHubRequest,Hub> getHubSettings()
Returns the builder for the settings used for calls to getHub.
-
createHubSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateHubRequest,com.google.longrunning.Operation> createHubSettings()
Returns the builder for the settings used for calls to createHub.
-
createHubOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateHubRequest,Hub,OperationMetadata> createHubOperationSettings()
Returns the builder for the settings used for calls to createHub.
-
updateHubSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateHubRequest,com.google.longrunning.Operation> updateHubSettings()
Returns the builder for the settings used for calls to updateHub.
-
updateHubOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateHubRequest,Hub,OperationMetadata> updateHubOperationSettings()
Returns the builder for the settings used for calls to updateHub.
-
deleteHubSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteHubRequest,com.google.longrunning.Operation> deleteHubSettings()
Returns the builder for the settings used for calls to deleteHub.
-
deleteHubOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteHubRequest,com.google.protobuf.Empty,OperationMetadata> deleteHubOperationSettings()
Returns the builder for the settings used for calls to deleteHub.
-
listSpokesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSpokesRequest,ListSpokesResponse,HubServiceClient.ListSpokesPagedResponse> listSpokesSettings()
Returns the builder for the settings used for calls to listSpokes.
-
getSpokeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSpokeRequest,Spoke> getSpokeSettings()
Returns the builder for the settings used for calls to getSpoke.
-
createSpokeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSpokeRequest,com.google.longrunning.Operation> createSpokeSettings()
Returns the builder for the settings used for calls to createSpoke.
-
createSpokeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateSpokeRequest,Spoke,OperationMetadata> createSpokeOperationSettings()
Returns the builder for the settings used for calls to createSpoke.
-
updateSpokeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSpokeRequest,com.google.longrunning.Operation> updateSpokeSettings()
Returns the builder for the settings used for calls to updateSpoke.
-
updateSpokeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateSpokeRequest,Spoke,OperationMetadata> updateSpokeOperationSettings()
Returns the builder for the settings used for calls to updateSpoke.
-
deleteSpokeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSpokeRequest,com.google.longrunning.Operation> deleteSpokeSettings()
Returns the builder for the settings used for calls to deleteSpoke.
-
deleteSpokeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteSpokeRequest,com.google.protobuf.Empty,OperationMetadata> deleteSpokeOperationSettings()
Returns the builder for the settings used for calls to deleteSpoke.
-
build
public HubServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<HubServiceSettings,HubServiceSettings.Builder>
- Throws:
IOException
-
-