public static class HubServiceStubSettings.Builder extends StubSettings.Builder<HubServiceStubSettings,HubServiceStubSettings.Builder>
Builder for HubServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(HubServiceStubSettings settings)
protected Builder(HubServiceStubSettings settings)
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.
acceptSpokeUpdateOperationSettings()
public OperationCallSettings.Builder<AcceptSpokeUpdateRequest,AcceptSpokeUpdateResponse,OperationMetadata> acceptSpokeUpdateOperationSettings()
Returns the builder for the settings used for calls to acceptSpokeUpdate.
acceptSpokeUpdateSettings()
public UnaryCallSettings.Builder<AcceptSpokeUpdateRequest,Operation> acceptSpokeUpdateSettings()
Returns the builder for the settings used for calls to acceptSpokeUpdate.
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
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.
build()
public HubServiceStubSettings build()
Overrides
createGatewayAdvertisedRouteOperationSettings()
public OperationCallSettings.Builder<CreateGatewayAdvertisedRouteRequest,GatewayAdvertisedRoute,OperationMetadata> createGatewayAdvertisedRouteOperationSettings()
Returns the builder for the settings used for calls to createGatewayAdvertisedRoute.
createGatewayAdvertisedRouteSettings()
public UnaryCallSettings.Builder<CreateGatewayAdvertisedRouteRequest,Operation> createGatewayAdvertisedRouteSettings()
Returns the builder for the settings used for calls to createGatewayAdvertisedRoute.
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.
deleteGatewayAdvertisedRouteOperationSettings()
public OperationCallSettings.Builder<DeleteGatewayAdvertisedRouteRequest,Empty,OperationMetadata> deleteGatewayAdvertisedRouteOperationSettings()
Returns the builder for the settings used for calls to deleteGatewayAdvertisedRoute.
deleteGatewayAdvertisedRouteSettings()
public UnaryCallSettings.Builder<DeleteGatewayAdvertisedRouteRequest,Operation> deleteGatewayAdvertisedRouteSettings()
Returns the builder for the settings used for calls to deleteGatewayAdvertisedRoute.
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.
getGatewayAdvertisedRouteSettings()
public UnaryCallSettings.Builder<GetGatewayAdvertisedRouteRequest,GatewayAdvertisedRoute> getGatewayAdvertisedRouteSettings()
Returns the builder for the settings used for calls to getGatewayAdvertisedRoute.
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.
listGatewayAdvertisedRoutesSettings()
public PagedCallSettings.Builder<ListGatewayAdvertisedRoutesRequest,ListGatewayAdvertisedRoutesResponse,HubServiceClient.ListGatewayAdvertisedRoutesPagedResponse> listGatewayAdvertisedRoutesSettings()
Returns the builder for the settings used for calls to listGatewayAdvertisedRoutes.
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.
queryHubStatusSettings()
public PagedCallSettings.Builder<QueryHubStatusRequest,QueryHubStatusResponse,HubServiceClient.QueryHubStatusPagedResponse> queryHubStatusSettings()
Returns the builder for the settings used for calls to queryHubStatus.
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.
rejectSpokeUpdateOperationSettings()
public OperationCallSettings.Builder<RejectSpokeUpdateRequest,RejectSpokeUpdateResponse,OperationMetadata> rejectSpokeUpdateOperationSettings()
Returns the builder for the settings used for calls to rejectSpokeUpdate.
rejectSpokeUpdateSettings()
public UnaryCallSettings.Builder<RejectSpokeUpdateRequest,Operation> rejectSpokeUpdateSettings()
Returns the builder for the settings used for calls to rejectSpokeUpdate.
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> |
|
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
| Returns |
| Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
updateGatewayAdvertisedRouteOperationSettings()
public OperationCallSettings.Builder<UpdateGatewayAdvertisedRouteRequest,GatewayAdvertisedRoute,OperationMetadata> updateGatewayAdvertisedRouteOperationSettings()
Returns the builder for the settings used for calls to updateGatewayAdvertisedRoute.
updateGatewayAdvertisedRouteSettings()
public UnaryCallSettings.Builder<UpdateGatewayAdvertisedRouteRequest,Operation> updateGatewayAdvertisedRouteSettings()
Returns the builder for the settings used for calls to updateGatewayAdvertisedRoute.
updateGroupOperationSettings()
public OperationCallSettings.Builder<UpdateGroupRequest,Group,OperationMetadata> updateGroupOperationSettings()
Returns the builder for the settings used for calls to updateGroup.
updateGroupSettings()
public UnaryCallSettings.Builder<UpdateGroupRequest,Operation> updateGroupSettings()
Returns the builder for the settings used for calls to updateGroup.
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.