public static class RegionSnapshotsStubSettings.Builder extends StubSettings.Builder<RegionSnapshotsStubSettings,RegionSnapshotsStubSettings.Builder>Builder for RegionSnapshotsStubSettings.
Constructors
Builder()
protected Builder()Builder(@Nullable ClientContext clientContext)
protected Builder(@Nullable ClientContext clientContext)| Parameter | |
|---|---|
| Name | Description |
clientContext |
@org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext |
Builder(RegionSnapshotsStubSettings settings)
protected Builder(RegionSnapshotsStubSettings settings)| Parameter | |
|---|---|
| Name | Description |
settings |
RegionSnapshotsStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public RegionSnapshotsStubSettings.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 | |
|---|---|
| Name | Description |
settingsUpdater |
ApiFunction<Builder<?,?>,java.lang.Void> |
| Returns | |
|---|---|
| Type | Description |
RegionSnapshotsStubSettings.Builder |
|
build()
public RegionSnapshotsStubSettings build()| Returns | |
|---|---|
| Type | Description |
RegionSnapshotsStubSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
deleteOperationSettings()
public OperationCallSettings.Builder<DeleteRegionSnapshotRequest,Operation,Operation> deleteOperationSettings()Returns the builder for the settings used for calls to delete.
| Returns | |
|---|---|
| Type | Description |
Builder<DeleteRegionSnapshotRequest,Operation,Operation> |
|
deleteSettings()
public UnaryCallSettings.Builder<DeleteRegionSnapshotRequest,Operation> deleteSettings()Returns the builder for the settings used for calls to delete.
| Returns | |
|---|---|
| Type | Description |
Builder<DeleteRegionSnapshotRequest,Operation> |
|
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyRegionSnapshotRequest,Policy> getIamPolicySettings()Returns the builder for the settings used for calls to getIamPolicy.
| Returns | |
|---|---|
| Type | Description |
Builder<GetIamPolicyRegionSnapshotRequest,Policy> |
|
getSettings()
public UnaryCallSettings.Builder<GetRegionSnapshotRequest,Snapshot> getSettings()Returns the builder for the settings used for calls to get.
| Returns | |
|---|---|
| Type | Description |
Builder<GetRegionSnapshotRequest,Snapshot> |
|
insertOperationSettings()
public OperationCallSettings.Builder<InsertRegionSnapshotRequest,Operation,Operation> insertOperationSettings()Returns the builder for the settings used for calls to insert.
| Returns | |
|---|---|
| Type | Description |
Builder<InsertRegionSnapshotRequest,Operation,Operation> |
|
insertSettings()
public UnaryCallSettings.Builder<InsertRegionSnapshotRequest,Operation> insertSettings()Returns the builder for the settings used for calls to insert.
| Returns | |
|---|---|
| Type | Description |
Builder<InsertRegionSnapshotRequest,Operation> |
|
listSettings()
public PagedCallSettings.Builder<ListRegionSnapshotsRequest,SnapshotList,RegionSnapshotsClient.ListPagedResponse> listSettings()Returns the builder for the settings used for calls to list.
| Returns | |
|---|---|
| Type | Description |
Builder<ListRegionSnapshotsRequest,SnapshotList,ListPagedResponse> |
|
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyRegionSnapshotRequest,Policy> setIamPolicySettings()Returns the builder for the settings used for calls to setIamPolicy.
| Returns | |
|---|---|
| Type | Description |
Builder<SetIamPolicyRegionSnapshotRequest,Policy> |
|
setLabelsOperationSettings()
public OperationCallSettings.Builder<SetLabelsRegionSnapshotRequest,Operation,Operation> setLabelsOperationSettings()Returns the builder for the settings used for calls to setLabels.
| Returns | |
|---|---|
| Type | Description |
Builder<SetLabelsRegionSnapshotRequest,Operation,Operation> |
|
setLabelsSettings()
public UnaryCallSettings.Builder<SetLabelsRegionSnapshotRequest,Operation> setLabelsSettings()Returns the builder for the settings used for calls to setLabels.
| Returns | |
|---|---|
| Type | Description |
Builder<SetLabelsRegionSnapshotRequest,Operation> |
|
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsRegionSnapshotRequest,TestPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions.
| Returns | |
|---|---|
| Type | Description |
Builder<TestIamPermissionsRegionSnapshotRequest,TestPermissionsResponse> |
|
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()| Returns | |
|---|---|
| Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
updateKmsKeyOperationSettings()
public OperationCallSettings.Builder<UpdateKmsKeyRegionSnapshotRequest,Operation,Operation> updateKmsKeyOperationSettings()Returns the builder for the settings used for calls to updateKmsKey.
| Returns | |
|---|---|
| Type | Description |
Builder<UpdateKmsKeyRegionSnapshotRequest,Operation,Operation> |
|
updateKmsKeySettings()
public UnaryCallSettings.Builder<UpdateKmsKeyRegionSnapshotRequest,Operation> updateKmsKeySettings()Returns the builder for the settings used for calls to updateKmsKey.
| Returns | |
|---|---|
| Type | Description |
Builder<UpdateKmsKeyRegionSnapshotRequest,Operation> |
|