Class TargetVpnGatewaysStubSettings.Builder (1.49.0)

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

Builder for TargetVpnGatewaysStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TargetVpnGatewaysStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TargetVpnGatewaysStubSettings settings)

protected Builder(TargetVpnGatewaysStubSettings settings)
Parameter
NameDescription
settingsTargetVpnGatewaysStubSettings

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListTargetVpnGatewaysRequest,TargetVpnGatewayAggregatedList,TargetVpnGatewaysClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
TypeDescription
Builder<AggregatedListTargetVpnGatewaysRequest,TargetVpnGatewayAggregatedList,AggregatedListPagedResponse>

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

public TargetVpnGatewaysStubSettings.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
TargetVpnGatewaysStubSettings.Builder

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteTargetVpnGatewayRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteTargetVpnGatewayRequest,Operation>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getSettings()

public UnaryCallSettings.Builder<GetTargetVpnGatewayRequest,TargetVpnGateway> getSettings()

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

Returns
TypeDescription
Builder<GetTargetVpnGatewayRequest,TargetVpnGateway>

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertTargetVpnGatewayRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertTargetVpnGatewayRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListTargetVpnGatewaysRequest,TargetVpnGatewayList,TargetVpnGatewaysClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListTargetVpnGatewaysRequest,TargetVpnGatewayList,ListPagedResponse>

setLabelsOperationSettings()

public OperationCallSettings.Builder<SetLabelsTargetVpnGatewayRequest,Operation,Operation> setLabelsOperationSettings()

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

Returns
TypeDescription
Builder<SetLabelsTargetVpnGatewayRequest,Operation,Operation>

setLabelsSettings()

public UnaryCallSettings.Builder<SetLabelsTargetVpnGatewayRequest,Operation> setLabelsSettings()

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

Returns
TypeDescription
Builder<SetLabelsTargetVpnGatewayRequest,Operation>

unaryMethodSettingsBuilders()

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