Class RegionInstantSnapshotsStubSettings.Builder (1.50.0)

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

Builder for RegionInstantSnapshotsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionInstantSnapshotsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionInstantSnapshotsStubSettings settings)

protected Builder(RegionInstantSnapshotsStubSettings settings)
Parameter
NameDescription
settingsRegionInstantSnapshotsStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionInstantSnapshotRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionInstantSnapshotRequest,Operation>

getEndpoint()

public String getEndpoint()

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

Returns
TypeDescription
String
Overrides

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRegionInstantSnapshotRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
Builder<GetIamPolicyRegionInstantSnapshotRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetRegionInstantSnapshotRequest,InstantSnapshot> getSettings()

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

Returns
TypeDescription
Builder<GetRegionInstantSnapshotRequest,InstantSnapshot>

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionInstantSnapshotRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionInstantSnapshotRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionInstantSnapshotsRequest,InstantSnapshotList,RegionInstantSnapshotsClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListRegionInstantSnapshotsRequest,InstantSnapshotList,ListPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRegionInstantSnapshotRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
Builder<SetIamPolicyRegionInstantSnapshotRequest,Policy>

setLabelsOperationSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsRegionInstantSnapshotRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsRegionInstantSnapshotRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsRegionInstantSnapshotRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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