Class HubServiceSettings.Builder (1.50.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 1.50.0keyboard_arrow_down
public static class HubServiceSettings . Builder extends ClientSettings . Builder<HubServiceSettings , HubServiceSettings . Builder >
Builder for HubServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(HubServiceSettings settings)
protected Builder ( HubServiceSettings settings )
Builder(HubServiceStubSettings.Builder stubSettings)
protected Builder ( HubServiceStubSettings . Builder stubSettings )
Methods
acceptHubSpokeOperationSettings()
public OperationCallSettings . Builder<AcceptHubSpokeRequest , AcceptHubSpokeResponse , OperationMetadata > acceptHubSpokeOperationSettings ()
Returns the builder for the settings used for calls to acceptHubSpoke.
acceptHubSpokeSettings()
public UnaryCallSettings . Builder<AcceptHubSpokeRequest , Operation > acceptHubSpokeSettings ()
Returns the builder for the settings used for calls to acceptHubSpoke.
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
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.
build()
public HubServiceSettings build ()
Overrides
createHubOperationSettings()
public OperationCallSettings . Builder<CreateHubRequest , Hub , OperationMetadata > createHubOperationSettings ()
Returns the builder for the settings used for calls to createHub.
createHubSettings()
public UnaryCallSettings . Builder<CreateHubRequest , Operation > createHubSettings ()
Returns the builder for the settings used for calls to createHub.
createSpokeOperationSettings()
public OperationCallSettings . Builder<CreateSpokeRequest , Spoke , OperationMetadata > createSpokeOperationSettings ()
Returns the builder for the settings used for calls to createSpoke.
createSpokeSettings()
public UnaryCallSettings . Builder<CreateSpokeRequest , Operation > createSpokeSettings ()
Returns the builder for the settings used for calls to createSpoke.
deleteHubOperationSettings()
public OperationCallSettings . Builder<DeleteHubRequest , Empty , OperationMetadata > deleteHubOperationSettings ()
Returns the builder for the settings used for calls to deleteHub.
deleteHubSettings()
public UnaryCallSettings . Builder<DeleteHubRequest , Operation > deleteHubSettings ()
Returns the builder for the settings used for calls to deleteHub.
deleteSpokeOperationSettings()
public OperationCallSettings . Builder<DeleteSpokeRequest , Empty , OperationMetadata > deleteSpokeOperationSettings ()
Returns the builder for the settings used for calls to deleteSpoke.
deleteSpokeSettings()
public UnaryCallSettings . Builder<DeleteSpokeRequest , Operation > deleteSpokeSettings ()
Returns the builder for the settings used for calls to deleteSpoke.
getGroupSettings()
public UnaryCallSettings . Builder<GetGroupRequest , Group > getGroupSettings ()
Returns the builder for the settings used for calls to getGroup.
getHubSettings()
public UnaryCallSettings . Builder<GetHubRequest , Hub > getHubSettings ()
Returns the builder for the settings used for calls to getHub.
getIamPolicySettings()
public UnaryCallSettings . Builder<GetIamPolicyRequest , Policy > getIamPolicySettings ()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
Type
Description
Builder <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
getLocationSettings()
public UnaryCallSettings . Builder<GetLocationRequest , Location > getLocationSettings ()
Returns the builder for the settings used for calls to getLocation.
Returns
Type
Description
Builder <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
getRouteSettings()
public UnaryCallSettings . Builder<GetRouteRequest , Route > getRouteSettings ()
Returns the builder for the settings used for calls to getRoute.
getRouteTableSettings()
public UnaryCallSettings . Builder<GetRouteTableRequest , RouteTable > getRouteTableSettings ()
Returns the builder for the settings used for calls to getRouteTable.
getSpokeSettings()
public UnaryCallSettings . Builder<GetSpokeRequest , Spoke > getSpokeSettings ()
Returns the builder for the settings used for calls to getSpoke.
getStubSettingsBuilder()
public HubServiceStubSettings . Builder getStubSettingsBuilder ()
listGroupsSettings()
public PagedCallSettings . Builder<ListGroupsRequest , ListGroupsResponse , HubServiceClient . ListGroupsPagedResponse > listGroupsSettings ()
Returns the builder for the settings used for calls to listGroups.
listHubSpokesSettings()
public PagedCallSettings . Builder<ListHubSpokesRequest , ListHubSpokesResponse , HubServiceClient . ListHubSpokesPagedResponse > listHubSpokesSettings ()
Returns the builder for the settings used for calls to listHubSpokes.
listHubsSettings()
public PagedCallSettings . Builder<ListHubsRequest , ListHubsResponse , HubServiceClient . ListHubsPagedResponse > listHubsSettings ()
Returns the builder for the settings used for calls to listHubs.
listLocationsSettings()
public PagedCallSettings . Builder<ListLocationsRequest , ListLocationsResponse , HubServiceClient . ListLocationsPagedResponse > listLocationsSettings ()
Returns the builder for the settings used for calls to listLocations.
listRouteTablesSettings()
public PagedCallSettings . Builder<ListRouteTablesRequest , ListRouteTablesResponse , HubServiceClient . ListRouteTablesPagedResponse > listRouteTablesSettings ()
Returns the builder for the settings used for calls to listRouteTables.
listRoutesSettings()
public PagedCallSettings . Builder<ListRoutesRequest , ListRoutesResponse , HubServiceClient . ListRoutesPagedResponse > listRoutesSettings ()
Returns the builder for the settings used for calls to listRoutes.
listSpokesSettings()
public PagedCallSettings . Builder<ListSpokesRequest , ListSpokesResponse , HubServiceClient . ListSpokesPagedResponse > listSpokesSettings ()
Returns the builder for the settings used for calls to listSpokes.
rejectHubSpokeOperationSettings()
public OperationCallSettings . Builder<RejectHubSpokeRequest , RejectHubSpokeResponse , OperationMetadata > rejectHubSpokeOperationSettings ()
Returns the builder for the settings used for calls to rejectHubSpoke.
rejectHubSpokeSettings()
public UnaryCallSettings . Builder<RejectHubSpokeRequest , Operation > rejectHubSpokeSettings ()
Returns the builder for the settings used for calls to rejectHubSpoke.
setIamPolicySettings()
public UnaryCallSettings . Builder<SetIamPolicyRequest , Policy > setIamPolicySettings ()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
Type
Description
Builder <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
testIamPermissionsSettings()
public UnaryCallSettings . Builder<TestIamPermissionsRequest , TestIamPermissionsResponse > testIamPermissionsSettings ()
Returns the builder for the settings used for calls to testIamPermissions.
Returns
Type
Description
Builder <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
updateHubOperationSettings()
public OperationCallSettings . Builder<UpdateHubRequest , Hub , OperationMetadata > updateHubOperationSettings ()
Returns the builder for the settings used for calls to updateHub.
updateHubSettings()
public UnaryCallSettings . Builder<UpdateHubRequest , Operation > updateHubSettings ()
Returns the builder for the settings used for calls to updateHub.
updateSpokeOperationSettings()
public OperationCallSettings . Builder<UpdateSpokeRequest , Spoke , OperationMetadata > updateSpokeOperationSettings ()
Returns the builder for the settings used for calls to updateSpoke.
updateSpokeSettings()
public UnaryCallSettings . Builder<UpdateSpokeRequest , Operation > updateSpokeSettings ()
Returns the builder for the settings used for calls to updateSpoke.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,[]]