public static class VpnGatewaysStubSettings.Builder extends StubSettings.Builder<VpnGatewaysStubSettings,VpnGatewaysStubSettings.Builder>
Builder for VpnGatewaysStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(VpnGatewaysStubSettings settings)
protected Builder(VpnGatewaysStubSettings settings)
Methods
aggregatedListSettings()
public PagedCallSettings.Builder<AggregatedListVpnGatewaysRequest,VpnGatewayAggregatedList,VpnGatewaysClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
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.
build()
public VpnGatewaysStubSettings build()
Overrides
deleteOperationSettings()
public OperationCallSettings.Builder<DeleteVpnGatewayRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
deleteSettings()
public UnaryCallSettings.Builder<DeleteVpnGatewayRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getSettings()
public UnaryCallSettings.Builder<GetVpnGatewayRequest,VpnGateway> getSettings()
Returns the builder for the settings used for calls to get.
getStatusSettings()
public UnaryCallSettings.Builder<GetStatusVpnGatewayRequest,VpnGatewaysGetStatusResponse> getStatusSettings()
Returns the builder for the settings used for calls to getStatus.
insertOperationSettings()
public OperationCallSettings.Builder<InsertVpnGatewayRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
insertSettings()
public UnaryCallSettings.Builder<InsertVpnGatewayRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
listSettings()
public PagedCallSettings.Builder<ListVpnGatewaysRequest,VpnGatewayList,VpnGatewaysClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
setLabelsOperationSettings()
public OperationCallSettings.Builder<SetLabelsVpnGatewayRequest,Operation,Operation> setLabelsOperationSettings()
Returns the builder for the settings used for calls to setLabels.
setLabelsSettings()
public UnaryCallSettings.Builder<SetLabelsVpnGatewayRequest,Operation> setLabelsSettings()
Returns the builder for the settings used for calls to setLabels.
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsVpnGatewayRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |