Class RoutersStubSettings.Builder (1.22.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
NameDescription
clientContextClientContext

Builder(RoutersStubSettings settings)

protected Builder(RoutersStubSettings settings)
Parameter
NameDescription
settingsRoutersStubSettings

Methods

aggregatedListSettings()

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

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

Returns
TypeDescription
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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
RoutersStubSettings.Builder

build()

public RoutersStubSettings build()
Returns
TypeDescription
RoutersStubSettings
Overrides Exceptions
TypeDescription
IOException

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRouterRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteRouterRequest,Operation>

getNatMappingInfoSettings()

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

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

Returns
TypeDescription
Builder<GetNatMappingInfoRoutersRequest,VmEndpointNatMappingsList,GetNatMappingInfoPagedResponse>

getRouterStatusSettings()

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

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

Returns
TypeDescription
Builder<GetRouterStatusRouterRequest,RouterStatusResponse>

getSettings()

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

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

Returns
TypeDescription
Builder<GetRouterRequest,Router>

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertRouterRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertRouterRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListRoutersRequest,RouterList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchRouterRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchRouterRequest,Operation>

previewSettings()

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

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

Returns
TypeDescription
Builder<PreviewRouterRequest,RoutersPreviewResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateRouterRequest,Operation,Operation>

updateSettings()

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

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

Returns
TypeDescription
Builder<UpdateRouterRequest,Operation>