Class RoutersSettings.Builder (1.105.0)

public static class RoutersSettings.Builder extends ClientSettings.Builder<RoutersSettings,RoutersSettings.Builder>

Builder for RoutersSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RoutersSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(RoutersSettings settings)

protected Builder(RoutersSettings settings)
Parameter
Name Description
settings RoutersSettings

Builder(RoutersStubSettings.Builder stubSettings)

protected Builder(RoutersStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings RoutersStubSettings.Builder

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListRoutersRequest,RouterAggregatedList,RoutersClient.AggregatedListPagedResponse> aggregatedListSettings()

Returns the builder for the settings used for calls to aggregatedList.

Returns
Type Description
Builder<AggregatedListRoutersRequest,RouterAggregatedList,AggregatedListPagedResponse>

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public RoutersSettings.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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
RoutersSettings.Builder

build()

public RoutersSettings build()
Returns
Type Description
RoutersSettings
Overrides
Exceptions
Type Description
IOException

deleteNamedSetOperationSettings()

public OperationCallSettings.Builder<DeleteNamedSetRouterRequest,Operation,Operation> deleteNamedSetOperationSettings()

Returns the builder for the settings used for calls to deleteNamedSet.

Returns
Type Description
Builder<DeleteNamedSetRouterRequest,Operation,Operation>

deleteNamedSetSettings()

public UnaryCallSettings.Builder<DeleteNamedSetRouterRequest,Operation> deleteNamedSetSettings()

Returns the builder for the settings used for calls to deleteNamedSet.

Returns
Type Description
Builder<DeleteNamedSetRouterRequest,Operation>

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteRouterRequest,Operation,Operation> deleteOperationSettings()

Returns the builder for the settings used for calls to delete.

Returns
Type Description
Builder<DeleteRouterRequest,Operation,Operation>

deleteRoutePolicyOperationSettings()

public OperationCallSettings.Builder<DeleteRoutePolicyRouterRequest,Operation,Operation> deleteRoutePolicyOperationSettings()

Returns the builder for the settings used for calls to deleteRoutePolicy.

Returns
Type Description
Builder<DeleteRoutePolicyRouterRequest,Operation,Operation>

deleteRoutePolicySettings()

public UnaryCallSettings.Builder<DeleteRoutePolicyRouterRequest,Operation> deleteRoutePolicySettings()

Returns the builder for the settings used for calls to deleteRoutePolicy.

Returns
Type Description
Builder<DeleteRoutePolicyRouterRequest,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteRouterRequest,Operation> deleteSettings()

Returns the builder for the settings used for calls to delete.

Returns
Type Description
Builder<DeleteRouterRequest,Operation>

getNamedSetSettings()

public UnaryCallSettings.Builder<GetNamedSetRouterRequest,RoutersGetNamedSetResponse> getNamedSetSettings()

Returns the builder for the settings used for calls to getNamedSet.

Returns
Type Description
Builder<GetNamedSetRouterRequest,RoutersGetNamedSetResponse>

getNatIpInfoSettings()

public UnaryCallSettings.Builder<GetNatIpInfoRouterRequest,NatIpInfoResponse> getNatIpInfoSettings()

Returns the builder for the settings used for calls to getNatIpInfo.

Returns
Type Description
Builder<GetNatIpInfoRouterRequest,NatIpInfoResponse>

getNatMappingInfoSettings()

public PagedCallSettings.Builder<GetNatMappingInfoRoutersRequest,VmEndpointNatMappingsList,RoutersClient.GetNatMappingInfoPagedResponse> getNatMappingInfoSettings()

Returns the builder for the settings used for calls to getNatMappingInfo.

Returns
Type Description
Builder<GetNatMappingInfoRoutersRequest,VmEndpointNatMappingsList,GetNatMappingInfoPagedResponse>

getRoutePolicySettings()

public UnaryCallSettings.Builder<GetRoutePolicyRouterRequest,RoutersGetRoutePolicyResponse> getRoutePolicySettings()

Returns the builder for the settings used for calls to getRoutePolicy.

Returns
Type Description
Builder<GetRoutePolicyRouterRequest,RoutersGetRoutePolicyResponse>

getRouterStatusSettings()

public UnaryCallSettings.Builder<GetRouterStatusRouterRequest,RouterStatusResponse> getRouterStatusSettings()

Returns the builder for the settings used for calls to getRouterStatus.

Returns
Type Description
Builder<GetRouterStatusRouterRequest,RouterStatusResponse>

getSettings()

public UnaryCallSettings.Builder<GetRouterRequest,Router> getSettings()

Returns the builder for the settings used for calls to get.

Returns
Type Description
Builder<GetRouterRequest,Router>

getStubSettingsBuilder()

public RoutersStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
RoutersStubSettings.Builder

insertOperationSettings()

public OperationCallSettings.Builder<InsertRouterRequest,Operation,Operation> insertOperationSettings()

Returns the builder for the settings used for calls to insert.

Returns
Type Description
Builder<InsertRouterRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertRouterRequest,Operation> insertSettings()

Returns the builder for the settings used for calls to insert.

Returns
Type Description
Builder<InsertRouterRequest,Operation>

listBgpRoutesSettings()

public PagedCallSettings.Builder<ListBgpRoutesRoutersRequest,RoutersListBgpRoutes,RoutersClient.ListBgpRoutesPagedResponse> listBgpRoutesSettings()

Returns the builder for the settings used for calls to listBgpRoutes.

Returns
Type Description
Builder<ListBgpRoutesRoutersRequest,RoutersListBgpRoutes,ListBgpRoutesPagedResponse>

listNamedSetsSettings()

public PagedCallSettings.Builder<ListNamedSetsRoutersRequest,RoutersListNamedSets,RoutersClient.ListNamedSetsPagedResponse> listNamedSetsSettings()

Returns the builder for the settings used for calls to listNamedSets.

Returns
Type Description
Builder<ListNamedSetsRoutersRequest,RoutersListNamedSets,ListNamedSetsPagedResponse>

listRoutePoliciesSettings()

public PagedCallSettings.Builder<ListRoutePoliciesRoutersRequest,RoutersListRoutePolicies,RoutersClient.ListRoutePoliciesPagedResponse> listRoutePoliciesSettings()

Returns the builder for the settings used for calls to listRoutePolicies.

Returns
Type Description
Builder<ListRoutePoliciesRoutersRequest,RoutersListRoutePolicies,ListRoutePoliciesPagedResponse>

listSettings()

public PagedCallSettings.Builder<ListRoutersRequest,RouterList,RoutersClient.ListPagedResponse> listSettings()

Returns the builder for the settings used for calls to list.

Returns
Type Description
Builder<ListRoutersRequest,RouterList,ListPagedResponse>

patchNamedSetOperationSettings()

public OperationCallSettings.Builder<PatchNamedSetRouterRequest,Operation,Operation> patchNamedSetOperationSettings()

Returns the builder for the settings used for calls to patchNamedSet.

Returns
Type Description
Builder<PatchNamedSetRouterRequest,Operation,Operation>

patchNamedSetSettings()

public UnaryCallSettings.Builder<PatchNamedSetRouterRequest,Operation> patchNamedSetSettings()

Returns the builder for the settings used for calls to patchNamedSet.

Returns
Type Description
Builder<PatchNamedSetRouterRequest,Operation>

patchOperationSettings()

public OperationCallSettings.Builder<PatchRouterRequest,Operation,Operation> patchOperationSettings()

Returns the builder for the settings used for calls to patch.

Returns
Type Description
Builder<PatchRouterRequest,Operation,Operation>

patchRoutePolicyOperationSettings()

public OperationCallSettings.Builder<PatchRoutePolicyRouterRequest,Operation,Operation> patchRoutePolicyOperationSettings()

Returns the builder for the settings used for calls to patchRoutePolicy.

Returns
Type Description
Builder<PatchRoutePolicyRouterRequest,Operation,Operation>

patchRoutePolicySettings()

public UnaryCallSettings.Builder<PatchRoutePolicyRouterRequest,Operation> patchRoutePolicySettings()

Returns the builder for the settings used for calls to patchRoutePolicy.

Returns
Type Description
Builder<PatchRoutePolicyRouterRequest,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchRouterRequest,Operation> patchSettings()

Returns the builder for the settings used for calls to patch.

Returns
Type Description
Builder<PatchRouterRequest,Operation>

previewSettings()

public UnaryCallSettings.Builder<PreviewRouterRequest,RoutersPreviewResponse> previewSettings()

Returns the builder for the settings used for calls to preview.

Returns
Type Description
Builder<PreviewRouterRequest,RoutersPreviewResponse>

updateNamedSetOperationSettings()

public OperationCallSettings.Builder<UpdateNamedSetRouterRequest,Operation,Operation> updateNamedSetOperationSettings()

Returns the builder for the settings used for calls to updateNamedSet.

Returns
Type Description
Builder<UpdateNamedSetRouterRequest,Operation,Operation>

updateNamedSetSettings()

public UnaryCallSettings.Builder<UpdateNamedSetRouterRequest,Operation> updateNamedSetSettings()

Returns the builder for the settings used for calls to updateNamedSet.

Returns
Type Description
Builder<UpdateNamedSetRouterRequest,Operation>

updateOperationSettings()

public OperationCallSettings.Builder<UpdateRouterRequest,Operation,Operation> updateOperationSettings()

Returns the builder for the settings used for calls to update.

Returns
Type Description
Builder<UpdateRouterRequest,Operation,Operation>

updateRoutePolicyOperationSettings()

public OperationCallSettings.Builder<UpdateRoutePolicyRouterRequest,Operation,Operation> updateRoutePolicyOperationSettings()

Returns the builder for the settings used for calls to updateRoutePolicy.

Returns
Type Description
Builder<UpdateRoutePolicyRouterRequest,Operation,Operation>

updateRoutePolicySettings()

public UnaryCallSettings.Builder<UpdateRoutePolicyRouterRequest,Operation> updateRoutePolicySettings()

Returns the builder for the settings used for calls to updateRoutePolicy.

Returns
Type Description
Builder<UpdateRoutePolicyRouterRequest,Operation>

updateSettings()

public UnaryCallSettings.Builder<UpdateRouterRequest,Operation> updateSettings()

Returns the builder for the settings used for calls to update.

Returns
Type Description
Builder<UpdateRouterRequest,Operation>