Class RoutersStubSettings.Builder (1.63.0)

public static class RoutersStubSettings.Builder extends StubSettings.Builder<RoutersStubSettings,RoutersStubSettings.Builder>

Builder for RoutersStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RoutersStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RoutersStubSettings settings)

protected Builder(RoutersStubSettings settings)
Parameter
Name Description
settings RoutersStubSettings

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 RoutersStubSettings.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
RoutersStubSettings.Builder

build()

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

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>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteRouterRequest,Operation>

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>

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>

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>

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>

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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

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>

updateSettings()

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

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

Returns
Type Description
Builder<UpdateRouterRequest,Operation>