Class HubServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<HubServiceSettings,HubServiceSettings.Builder>
com.google.cloud.networkconnectivity.v1beta.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 TypeMethodDescriptionReturns the builder for the settings used for calls to acceptHubSpoke.Returns the builder for the settings used for calls to acceptHubSpoke.Returns the builder for the settings used for calls to acceptSpokeUpdate.Returns the builder for the settings used for calls to acceptSpokeUpdate.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()OperationCallSettings.Builder<CreateGatewayAdvertisedRouteRequest,GatewayAdvertisedRoute, OperationMetadata> Returns the builder for the settings used for calls to createGatewayAdvertisedRoute.Returns the builder for the settings used for calls to createGatewayAdvertisedRoute.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<DeleteGatewayAdvertisedRouteRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteGatewayAdvertisedRoute.Returns the builder for the settings used for calls to deleteGatewayAdvertisedRoute.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 getGatewayAdvertisedRoute.Returns the builder for the settings used for calls to getGroup.Returns the builder for the settings used for calls to getHub.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getRoute.Returns the builder for the settings used for calls to getRouteTable.Returns the builder for the settings used for calls to getSpoke.PagedCallSettings.Builder<ListGatewayAdvertisedRoutesRequest,ListGatewayAdvertisedRoutesResponse, HubServiceClient.ListGatewayAdvertisedRoutesPagedResponse> Returns the builder for the settings used for calls to listGatewayAdvertisedRoutes.PagedCallSettings.Builder<ListGroupsRequest,ListGroupsResponse, HubServiceClient.ListGroupsPagedResponse> Returns the builder for the settings used for calls to listGroups.PagedCallSettings.Builder<ListHubSpokesRequest,ListHubSpokesResponse, HubServiceClient.ListHubSpokesPagedResponse> Returns the builder for the settings used for calls to listHubSpokes.Returns the builder for the settings used for calls to listHubs.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, HubServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListRoutesRequest,ListRoutesResponse, HubServiceClient.ListRoutesPagedResponse> Returns the builder for the settings used for calls to listRoutes.PagedCallSettings.Builder<ListRouteTablesRequest,ListRouteTablesResponse, HubServiceClient.ListRouteTablesPagedResponse> Returns the builder for the settings used for calls to listRouteTables.PagedCallSettings.Builder<ListSpokesRequest,ListSpokesResponse, HubServiceClient.ListSpokesPagedResponse> Returns the builder for the settings used for calls to listSpokes.PagedCallSettings.Builder<QueryHubStatusRequest,QueryHubStatusResponse, HubServiceClient.QueryHubStatusPagedResponse> Returns the builder for the settings used for calls to queryHubStatus.Returns the builder for the settings used for calls to rejectHubSpoke.Returns the builder for the settings used for calls to rejectHubSpoke.Returns the builder for the settings used for calls to rejectSpokeUpdate.Returns the builder for the settings used for calls to rejectSpokeUpdate.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.OperationCallSettings.Builder<UpdateGatewayAdvertisedRouteRequest,GatewayAdvertisedRoute, OperationMetadata> Returns the builder for the settings used for calls to updateGatewayAdvertisedRoute.Returns the builder for the settings used for calls to updateGatewayAdvertisedRoute.Returns the builder for the settings used for calls to updateGroup.Returns the builder for the settings used for calls to updateGroup.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. -
listHubSpokesSettings
public PagedCallSettings.Builder<ListHubSpokesRequest,ListHubSpokesResponse, listHubSpokesSettings()HubServiceClient.ListHubSpokesPagedResponse> Returns the builder for the settings used for calls to listHubSpokes. -
queryHubStatusSettings
public PagedCallSettings.Builder<QueryHubStatusRequest,QueryHubStatusResponse, queryHubStatusSettings()HubServiceClient.QueryHubStatusPagedResponse> Returns the builder for the settings used for calls to queryHubStatus. -
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. -
rejectHubSpokeSettings
Returns the builder for the settings used for calls to rejectHubSpoke. -
rejectHubSpokeOperationSettings
public OperationCallSettings.Builder<RejectHubSpokeRequest,RejectHubSpokeResponse, rejectHubSpokeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to rejectHubSpoke. -
acceptHubSpokeSettings
Returns the builder for the settings used for calls to acceptHubSpoke. -
acceptHubSpokeOperationSettings
public OperationCallSettings.Builder<AcceptHubSpokeRequest,AcceptHubSpokeResponse, acceptHubSpokeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to acceptHubSpoke. -
acceptSpokeUpdateSettings
Returns the builder for the settings used for calls to acceptSpokeUpdate. -
acceptSpokeUpdateOperationSettings
public OperationCallSettings.Builder<AcceptSpokeUpdateRequest,AcceptSpokeUpdateResponse, acceptSpokeUpdateOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to acceptSpokeUpdate. -
rejectSpokeUpdateSettings
Returns the builder for the settings used for calls to rejectSpokeUpdate. -
rejectSpokeUpdateOperationSettings
public OperationCallSettings.Builder<RejectSpokeUpdateRequest,RejectSpokeUpdateResponse, rejectSpokeUpdateOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to rejectSpokeUpdate. -
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. -
getRouteTableSettings
Returns the builder for the settings used for calls to getRouteTable. -
getRouteSettings
Returns the builder for the settings used for calls to getRoute. -
listRoutesSettings
public PagedCallSettings.Builder<ListRoutesRequest,ListRoutesResponse, listRoutesSettings()HubServiceClient.ListRoutesPagedResponse> Returns the builder for the settings used for calls to listRoutes. -
listRouteTablesSettings
public PagedCallSettings.Builder<ListRouteTablesRequest,ListRouteTablesResponse, listRouteTablesSettings()HubServiceClient.ListRouteTablesPagedResponse> Returns the builder for the settings used for calls to listRouteTables. -
getGroupSettings
Returns the builder for the settings used for calls to getGroup. -
listGroupsSettings
public PagedCallSettings.Builder<ListGroupsRequest,ListGroupsResponse, listGroupsSettings()HubServiceClient.ListGroupsPagedResponse> Returns the builder for the settings used for calls to listGroups. -
updateGroupSettings
Returns the builder for the settings used for calls to updateGroup. -
updateGroupOperationSettings
public OperationCallSettings.Builder<UpdateGroupRequest,Group, updateGroupOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateGroup. -
createGatewayAdvertisedRouteSettings
public UnaryCallSettings.Builder<CreateGatewayAdvertisedRouteRequest,Operation> createGatewayAdvertisedRouteSettings()Returns the builder for the settings used for calls to createGatewayAdvertisedRoute. -
createGatewayAdvertisedRouteOperationSettings
public OperationCallSettings.Builder<CreateGatewayAdvertisedRouteRequest,GatewayAdvertisedRoute, createGatewayAdvertisedRouteOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createGatewayAdvertisedRoute. -
getGatewayAdvertisedRouteSettings
public UnaryCallSettings.Builder<GetGatewayAdvertisedRouteRequest,GatewayAdvertisedRoute> getGatewayAdvertisedRouteSettings()Returns the builder for the settings used for calls to getGatewayAdvertisedRoute. -
listGatewayAdvertisedRoutesSettings
public PagedCallSettings.Builder<ListGatewayAdvertisedRoutesRequest,ListGatewayAdvertisedRoutesResponse, listGatewayAdvertisedRoutesSettings()HubServiceClient.ListGatewayAdvertisedRoutesPagedResponse> Returns the builder for the settings used for calls to listGatewayAdvertisedRoutes. -
updateGatewayAdvertisedRouteSettings
public UnaryCallSettings.Builder<UpdateGatewayAdvertisedRouteRequest,Operation> updateGatewayAdvertisedRouteSettings()Returns the builder for the settings used for calls to updateGatewayAdvertisedRoute. -
updateGatewayAdvertisedRouteOperationSettings
public OperationCallSettings.Builder<UpdateGatewayAdvertisedRouteRequest,GatewayAdvertisedRoute, updateGatewayAdvertisedRouteOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateGatewayAdvertisedRoute. -
deleteGatewayAdvertisedRouteSettings
public UnaryCallSettings.Builder<DeleteGatewayAdvertisedRouteRequest,Operation> deleteGatewayAdvertisedRouteSettings()Returns the builder for the settings used for calls to deleteGatewayAdvertisedRoute. -
deleteGatewayAdvertisedRouteOperationSettings
public OperationCallSettings.Builder<DeleteGatewayAdvertisedRouteRequest,com.google.protobuf.Empty, deleteGatewayAdvertisedRouteOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteGatewayAdvertisedRoute. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()HubServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classClientSettings.Builder<HubServiceSettings,HubServiceSettings.Builder> - Throws:
IOException
-