Class HubServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<HubServiceStubSettings,HubServiceStubSettings.Builder>
com.google.cloud.networkconnectivity.v1.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 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()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 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<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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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.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. -
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. -
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 classStubSettings.Builder<HubServiceStubSettings,HubServiceStubSettings.Builder> - Throws:
IOException
-