Class VpnGatewaysStubSettings.Builder (1.9.1)

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

Builder for VpnGatewaysStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > VpnGatewaysStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(VpnGatewaysStubSettings settings)

protected Builder(VpnGatewaysStubSettings settings)
Parameter
NameDescription
settingsVpnGatewaysStubSettings

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListVpnGatewaysRequest,VpnGatewayAggregatedList,VpnGatewaysClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns

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

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

build()

public VpnGatewaysStubSettings build()
Returns Overrides Exceptions
TypeDescription
IOException

deleteOperationSettings()

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

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

Returns

deleteSettings()

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

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

Returns

getSettings()

public UnaryCallSettings.Builder<GetVpnGatewayRequest,VpnGateway> getSettings()

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

Returns

getStatusSettings()

public UnaryCallSettings.Builder<GetStatusVpnGatewayRequest,VpnGatewaysGetStatusResponse> getStatusSettings()

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

Returns

insertOperationSettings()

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

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

Returns

insertSettings()

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

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

Returns

listSettings()

public PagedCallSettings.Builder<ListVpnGatewaysRequest,VpnGatewayList,VpnGatewaysClient.ListPagedResponse> listSettings()

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

Returns

setLabelsOperationSettings()

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

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

Returns

setLabelsSettings()

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

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

Returns

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsVpnGatewayRequest,TestPermissionsResponse> testIamPermissionsSettings()

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

Returns

unaryMethodSettingsBuilders()

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