public static final class FinalizeBackupRequest.Builder extends GeneratedMessageV3.Builder<FinalizeBackupRequest.Builder> implements FinalizeBackupRequestOrBuilder
Message for finalizing a Backup.
Protobuf type google.cloud.backupdr.v1.FinalizeBackupRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FinalizeBackupRequest.BuilderImplements
FinalizeBackupRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FinalizeBackupRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
build()
public FinalizeBackupRequest build()
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest |
buildPartial()
public FinalizeBackupRequest buildPartial()
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest |
clear()
public FinalizeBackupRequest.Builder clear()
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
clearBackupId()
public FinalizeBackupRequest.Builder clearBackupId()
Required. Resource ID of the Backup resource to be finalized. This must be the same backup_id that was used in the InitiateBackupRequest.
string backup_id = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
This builder for chaining. |
clearConsistencyTime()
public FinalizeBackupRequest.Builder clearConsistencyTime()
The point in time when this backup was captured from the source. This will be assigned to the consistency_time field of the newly created Backup.
optional .google.protobuf.Timestamp consistency_time = 3;
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
clearDataSource()
public FinalizeBackupRequest.Builder clearDataSource()
Required. The resource name of the instance, in the format 'projects/*/locations/*/backupVaults/*/dataSources/'.
string data_source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
This builder for chaining. |
clearDescription()
public FinalizeBackupRequest.Builder clearDescription()
This will be assigned to the description field of the newly created Backup.
optional string description = 2;
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public FinalizeBackupRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public FinalizeBackupRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
clearRecoveryRangeEndTime()
public FinalizeBackupRequest.Builder clearRecoveryRangeEndTime()
The latest timestamp of data available in this Backup. This will be set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_end_time = 7;
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
clearRecoveryRangeStartTime()
public FinalizeBackupRequest.Builder clearRecoveryRangeStartTime()
The earliest timestamp of data available in this Backup. This will set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_start_time = 6;
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
clearRequestId()
public FinalizeBackupRequest.Builder clearRequestId()
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
This builder for chaining. |
clearRetentionDuration()
public FinalizeBackupRequest.Builder clearRetentionDuration()
The ExpireTime on the backup will be set to FinalizeTime plus this duration. If the resulting ExpireTime is less than EnforcedRetentionEndTime, then ExpireTime is set to EnforcedRetentionEndTime.
optional .google.protobuf.Duration retention_duration = 9;
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
clone()
public FinalizeBackupRequest.Builder clone()
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
getBackupId()
public String getBackupId()
Required. Resource ID of the Backup resource to be finalized. This must be the same backup_id that was used in the InitiateBackupRequest.
string backup_id = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The backupId. |
getBackupIdBytes()
public ByteString getBackupIdBytes()
Required. Resource ID of the Backup resource to be finalized. This must be the same backup_id that was used in the InitiateBackupRequest.
string backup_id = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for backupId. |
getConsistencyTime()
public Timestamp getConsistencyTime()
The point in time when this backup was captured from the source. This will be assigned to the consistency_time field of the newly created Backup.
optional .google.protobuf.Timestamp consistency_time = 3;
Returns | |
---|---|
Type | Description |
Timestamp |
The consistencyTime. |
getConsistencyTimeBuilder()
public Timestamp.Builder getConsistencyTimeBuilder()
The point in time when this backup was captured from the source. This will be assigned to the consistency_time field of the newly created Backup.
optional .google.protobuf.Timestamp consistency_time = 3;
Returns | |
---|---|
Type | Description |
Builder |
getConsistencyTimeOrBuilder()
public TimestampOrBuilder getConsistencyTimeOrBuilder()
The point in time when this backup was captured from the source. This will be assigned to the consistency_time field of the newly created Backup.
optional .google.protobuf.Timestamp consistency_time = 3;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDataSource()
public String getDataSource()
Required. The resource name of the instance, in the format 'projects/*/locations/*/backupVaults/*/dataSources/'.
string data_source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The dataSource. |
getDataSourceBytes()
public ByteString getDataSourceBytes()
Required. The resource name of the instance, in the format 'projects/*/locations/*/backupVaults/*/dataSources/'.
string data_source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for dataSource. |
getDefaultInstanceForType()
public FinalizeBackupRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest |
getDescription()
public String getDescription()
This will be assigned to the description field of the newly created Backup.
optional string description = 2;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
This will be assigned to the description field of the newly created Backup.
optional string description = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getRecoveryRangeEndTime()
public Timestamp getRecoveryRangeEndTime()
The latest timestamp of data available in this Backup. This will be set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_end_time = 7;
Returns | |
---|---|
Type | Description |
Timestamp |
The recoveryRangeEndTime. |
getRecoveryRangeEndTimeBuilder()
public Timestamp.Builder getRecoveryRangeEndTimeBuilder()
The latest timestamp of data available in this Backup. This will be set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_end_time = 7;
Returns | |
---|---|
Type | Description |
Builder |
getRecoveryRangeEndTimeOrBuilder()
public TimestampOrBuilder getRecoveryRangeEndTimeOrBuilder()
The latest timestamp of data available in this Backup. This will be set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_end_time = 7;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getRecoveryRangeStartTime()
public Timestamp getRecoveryRangeStartTime()
The earliest timestamp of data available in this Backup. This will set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_start_time = 6;
Returns | |
---|---|
Type | Description |
Timestamp |
The recoveryRangeStartTime. |
getRecoveryRangeStartTimeBuilder()
public Timestamp.Builder getRecoveryRangeStartTimeBuilder()
The earliest timestamp of data available in this Backup. This will set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_start_time = 6;
Returns | |
---|---|
Type | Description |
Builder |
getRecoveryRangeStartTimeOrBuilder()
public TimestampOrBuilder getRecoveryRangeStartTimeOrBuilder()
The earliest timestamp of data available in this Backup. This will set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_start_time = 6;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getRequestId()
public String getRequestId()
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for requestId. |
getRetentionDuration()
public Duration getRetentionDuration()
The ExpireTime on the backup will be set to FinalizeTime plus this duration. If the resulting ExpireTime is less than EnforcedRetentionEndTime, then ExpireTime is set to EnforcedRetentionEndTime.
optional .google.protobuf.Duration retention_duration = 9;
Returns | |
---|---|
Type | Description |
Duration |
The retentionDuration. |
getRetentionDurationBuilder()
public Duration.Builder getRetentionDurationBuilder()
The ExpireTime on the backup will be set to FinalizeTime plus this duration. If the resulting ExpireTime is less than EnforcedRetentionEndTime, then ExpireTime is set to EnforcedRetentionEndTime.
optional .google.protobuf.Duration retention_duration = 9;
Returns | |
---|---|
Type | Description |
Builder |
getRetentionDurationOrBuilder()
public DurationOrBuilder getRetentionDurationOrBuilder()
The ExpireTime on the backup will be set to FinalizeTime plus this duration. If the resulting ExpireTime is less than EnforcedRetentionEndTime, then ExpireTime is set to EnforcedRetentionEndTime.
optional .google.protobuf.Duration retention_duration = 9;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
hasConsistencyTime()
public boolean hasConsistencyTime()
The point in time when this backup was captured from the source. This will be assigned to the consistency_time field of the newly created Backup.
optional .google.protobuf.Timestamp consistency_time = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the consistencyTime field is set. |
hasDescription()
public boolean hasDescription()
This will be assigned to the description field of the newly created Backup.
optional string description = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the description field is set. |
hasRecoveryRangeEndTime()
public boolean hasRecoveryRangeEndTime()
The latest timestamp of data available in this Backup. This will be set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_end_time = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the recoveryRangeEndTime field is set. |
hasRecoveryRangeStartTime()
public boolean hasRecoveryRangeStartTime()
The earliest timestamp of data available in this Backup. This will set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_start_time = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the recoveryRangeStartTime field is set. |
hasRetentionDuration()
public boolean hasRetentionDuration()
The ExpireTime on the backup will be set to FinalizeTime plus this duration. If the resulting ExpireTime is less than EnforcedRetentionEndTime, then ExpireTime is set to EnforcedRetentionEndTime.
optional .google.protobuf.Duration retention_duration = 9;
Returns | |
---|---|
Type | Description |
boolean |
Whether the retentionDuration field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeConsistencyTime(Timestamp value)
public FinalizeBackupRequest.Builder mergeConsistencyTime(Timestamp value)
The point in time when this backup was captured from the source. This will be assigned to the consistency_time field of the newly created Backup.
optional .google.protobuf.Timestamp consistency_time = 3;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
mergeFrom(FinalizeBackupRequest other)
public FinalizeBackupRequest.Builder mergeFrom(FinalizeBackupRequest other)
Parameter | |
---|---|
Name | Description |
other |
FinalizeBackupRequest |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FinalizeBackupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public FinalizeBackupRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
mergeRecoveryRangeEndTime(Timestamp value)
public FinalizeBackupRequest.Builder mergeRecoveryRangeEndTime(Timestamp value)
The latest timestamp of data available in this Backup. This will be set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_end_time = 7;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
mergeRecoveryRangeStartTime(Timestamp value)
public FinalizeBackupRequest.Builder mergeRecoveryRangeStartTime(Timestamp value)
The earliest timestamp of data available in this Backup. This will set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_start_time = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
mergeRetentionDuration(Duration value)
public FinalizeBackupRequest.Builder mergeRetentionDuration(Duration value)
The ExpireTime on the backup will be set to FinalizeTime plus this duration. If the resulting ExpireTime is less than EnforcedRetentionEndTime, then ExpireTime is set to EnforcedRetentionEndTime.
optional .google.protobuf.Duration retention_duration = 9;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FinalizeBackupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
setBackupId(String value)
public FinalizeBackupRequest.Builder setBackupId(String value)
Required. Resource ID of the Backup resource to be finalized. This must be the same backup_id that was used in the InitiateBackupRequest.
string backup_id = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The backupId to set. |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
This builder for chaining. |
setBackupIdBytes(ByteString value)
public FinalizeBackupRequest.Builder setBackupIdBytes(ByteString value)
Required. Resource ID of the Backup resource to be finalized. This must be the same backup_id that was used in the InitiateBackupRequest.
string backup_id = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for backupId to set. |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
This builder for chaining. |
setConsistencyTime(Timestamp value)
public FinalizeBackupRequest.Builder setConsistencyTime(Timestamp value)
The point in time when this backup was captured from the source. This will be assigned to the consistency_time field of the newly created Backup.
optional .google.protobuf.Timestamp consistency_time = 3;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
setConsistencyTime(Timestamp.Builder builderForValue)
public FinalizeBackupRequest.Builder setConsistencyTime(Timestamp.Builder builderForValue)
The point in time when this backup was captured from the source. This will be assigned to the consistency_time field of the newly created Backup.
optional .google.protobuf.Timestamp consistency_time = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
setDataSource(String value)
public FinalizeBackupRequest.Builder setDataSource(String value)
Required. The resource name of the instance, in the format 'projects/*/locations/*/backupVaults/*/dataSources/'.
string data_source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The dataSource to set. |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
This builder for chaining. |
setDataSourceBytes(ByteString value)
public FinalizeBackupRequest.Builder setDataSourceBytes(ByteString value)
Required. The resource name of the instance, in the format 'projects/*/locations/*/backupVaults/*/dataSources/'.
string data_source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for dataSource to set. |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
This builder for chaining. |
setDescription(String value)
public FinalizeBackupRequest.Builder setDescription(String value)
This will be assigned to the description field of the newly created Backup.
optional string description = 2;
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public FinalizeBackupRequest.Builder setDescriptionBytes(ByteString value)
This will be assigned to the description field of the newly created Backup.
optional string description = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public FinalizeBackupRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
setRecoveryRangeEndTime(Timestamp value)
public FinalizeBackupRequest.Builder setRecoveryRangeEndTime(Timestamp value)
The latest timestamp of data available in this Backup. This will be set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_end_time = 7;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
setRecoveryRangeEndTime(Timestamp.Builder builderForValue)
public FinalizeBackupRequest.Builder setRecoveryRangeEndTime(Timestamp.Builder builderForValue)
The latest timestamp of data available in this Backup. This will be set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_end_time = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
setRecoveryRangeStartTime(Timestamp value)
public FinalizeBackupRequest.Builder setRecoveryRangeStartTime(Timestamp value)
The earliest timestamp of data available in this Backup. This will set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_start_time = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
setRecoveryRangeStartTime(Timestamp.Builder builderForValue)
public FinalizeBackupRequest.Builder setRecoveryRangeStartTime(Timestamp.Builder builderForValue)
The earliest timestamp of data available in this Backup. This will set on the newly created Backup.
optional .google.protobuf.Timestamp recovery_range_start_time = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FinalizeBackupRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
setRequestId(String value)
public FinalizeBackupRequest.Builder setRequestId(String value)
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The requestId to set. |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public FinalizeBackupRequest.Builder setRequestIdBytes(ByteString value)
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for requestId to set. |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
This builder for chaining. |
setRetentionDuration(Duration value)
public FinalizeBackupRequest.Builder setRetentionDuration(Duration value)
The ExpireTime on the backup will be set to FinalizeTime plus this duration. If the resulting ExpireTime is less than EnforcedRetentionEndTime, then ExpireTime is set to EnforcedRetentionEndTime.
optional .google.protobuf.Duration retention_duration = 9;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
setRetentionDuration(Duration.Builder builderForValue)
public FinalizeBackupRequest.Builder setRetentionDuration(Duration.Builder builderForValue)
The ExpireTime on the backup will be set to FinalizeTime plus this duration. If the resulting ExpireTime is less than EnforcedRetentionEndTime, then ExpireTime is set to EnforcedRetentionEndTime.
optional .google.protobuf.Duration retention_duration = 9;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final FinalizeBackupRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FinalizeBackupRequest.Builder |