Class BackupApplianceBackupProperties.Builder (0.11.0)

public static final class BackupApplianceBackupProperties.Builder extends GeneratedMessageV3.Builder<BackupApplianceBackupProperties.Builder> implements BackupApplianceBackupPropertiesOrBuilder

BackupApplianceBackupProperties represents BackupDR backup appliance's properties.

Protobuf type google.cloud.backupdr.v1.BackupApplianceBackupProperties

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BackupApplianceBackupProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BackupApplianceBackupProperties.Builder
Overrides

build()

public BackupApplianceBackupProperties build()
Returns
Type Description
BackupApplianceBackupProperties

buildPartial()

public BackupApplianceBackupProperties buildPartial()
Returns
Type Description
BackupApplianceBackupProperties

clear()

public BackupApplianceBackupProperties.Builder clear()
Returns
Type Description
BackupApplianceBackupProperties.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BackupApplianceBackupProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BackupApplianceBackupProperties.Builder
Overrides

clearFinalizeTime()

public BackupApplianceBackupProperties.Builder clearFinalizeTime()

Output only. The time when this backup object was finalized (if none, backup is not finalized).

optional .google.protobuf.Timestamp finalize_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupApplianceBackupProperties.Builder

clearGenerationId()

public BackupApplianceBackupProperties.Builder clearGenerationId()

Output only. The numeric generation ID of the backup (monotonically increasing).

optional int32 generation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupApplianceBackupProperties.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BackupApplianceBackupProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BackupApplianceBackupProperties.Builder
Overrides

clearRecoveryRangeEndTime()

public BackupApplianceBackupProperties.Builder clearRecoveryRangeEndTime()

Optional. The latest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_end_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BackupApplianceBackupProperties.Builder

clearRecoveryRangeStartTime()

public BackupApplianceBackupProperties.Builder clearRecoveryRangeStartTime()

Optional. The earliest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_start_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BackupApplianceBackupProperties.Builder

clone()

public BackupApplianceBackupProperties.Builder clone()
Returns
Type Description
BackupApplianceBackupProperties.Builder
Overrides

getDefaultInstanceForType()

public BackupApplianceBackupProperties getDefaultInstanceForType()
Returns
Type Description
BackupApplianceBackupProperties

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFinalizeTime()

public Timestamp getFinalizeTime()

Output only. The time when this backup object was finalized (if none, backup is not finalized).

optional .google.protobuf.Timestamp finalize_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The finalizeTime.

getFinalizeTimeBuilder()

public Timestamp.Builder getFinalizeTimeBuilder()

Output only. The time when this backup object was finalized (if none, backup is not finalized).

optional .google.protobuf.Timestamp finalize_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getFinalizeTimeOrBuilder()

public TimestampOrBuilder getFinalizeTimeOrBuilder()

Output only. The time when this backup object was finalized (if none, backup is not finalized).

optional .google.protobuf.Timestamp finalize_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getGenerationId()

public int getGenerationId()

Output only. The numeric generation ID of the backup (monotonically increasing).

optional int32 generation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The generationId.

getRecoveryRangeEndTime()

public Timestamp getRecoveryRangeEndTime()

Optional. The latest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_end_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The recoveryRangeEndTime.

getRecoveryRangeEndTimeBuilder()

public Timestamp.Builder getRecoveryRangeEndTimeBuilder()

Optional. The latest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_end_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getRecoveryRangeEndTimeOrBuilder()

public TimestampOrBuilder getRecoveryRangeEndTimeOrBuilder()

Optional. The latest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_end_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getRecoveryRangeStartTime()

public Timestamp getRecoveryRangeStartTime()

Optional. The earliest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_start_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The recoveryRangeStartTime.

getRecoveryRangeStartTimeBuilder()

public Timestamp.Builder getRecoveryRangeStartTimeBuilder()

Optional. The earliest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_start_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getRecoveryRangeStartTimeOrBuilder()

public TimestampOrBuilder getRecoveryRangeStartTimeOrBuilder()

Optional. The earliest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_start_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

hasFinalizeTime()

public boolean hasFinalizeTime()

Output only. The time when this backup object was finalized (if none, backup is not finalized).

optional .google.protobuf.Timestamp finalize_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the finalizeTime field is set.

hasGenerationId()

public boolean hasGenerationId()

Output only. The numeric generation ID of the backup (monotonically increasing).

optional int32 generation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the generationId field is set.

hasRecoveryRangeEndTime()

public boolean hasRecoveryRangeEndTime()

Optional. The latest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_end_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the recoveryRangeEndTime field is set.

hasRecoveryRangeStartTime()

public boolean hasRecoveryRangeStartTime()

Optional. The earliest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_start_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the recoveryRangeStartTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFinalizeTime(Timestamp value)

public BackupApplianceBackupProperties.Builder mergeFinalizeTime(Timestamp value)

Output only. The time when this backup object was finalized (if none, backup is not finalized).

optional .google.protobuf.Timestamp finalize_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
BackupApplianceBackupProperties.Builder

mergeFrom(BackupApplianceBackupProperties other)

public BackupApplianceBackupProperties.Builder mergeFrom(BackupApplianceBackupProperties other)
Parameter
Name Description
other BackupApplianceBackupProperties
Returns
Type Description
BackupApplianceBackupProperties.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BackupApplianceBackupProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupApplianceBackupProperties.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BackupApplianceBackupProperties.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BackupApplianceBackupProperties.Builder
Overrides

mergeRecoveryRangeEndTime(Timestamp value)

public BackupApplianceBackupProperties.Builder mergeRecoveryRangeEndTime(Timestamp value)

Optional. The latest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_end_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
BackupApplianceBackupProperties.Builder

mergeRecoveryRangeStartTime(Timestamp value)

public BackupApplianceBackupProperties.Builder mergeRecoveryRangeStartTime(Timestamp value)

Optional. The earliest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_start_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
BackupApplianceBackupProperties.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BackupApplianceBackupProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BackupApplianceBackupProperties.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BackupApplianceBackupProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BackupApplianceBackupProperties.Builder
Overrides

setFinalizeTime(Timestamp value)

public BackupApplianceBackupProperties.Builder setFinalizeTime(Timestamp value)

Output only. The time when this backup object was finalized (if none, backup is not finalized).

optional .google.protobuf.Timestamp finalize_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
BackupApplianceBackupProperties.Builder

setFinalizeTime(Timestamp.Builder builderForValue)

public BackupApplianceBackupProperties.Builder setFinalizeTime(Timestamp.Builder builderForValue)

Output only. The time when this backup object was finalized (if none, backup is not finalized).

optional .google.protobuf.Timestamp finalize_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BackupApplianceBackupProperties.Builder

setGenerationId(int value)

public BackupApplianceBackupProperties.Builder setGenerationId(int value)

Output only. The numeric generation ID of the backup (monotonically increasing).

optional int32 generation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The generationId to set.

Returns
Type Description
BackupApplianceBackupProperties.Builder

This builder for chaining.

setRecoveryRangeEndTime(Timestamp value)

public BackupApplianceBackupProperties.Builder setRecoveryRangeEndTime(Timestamp value)

Optional. The latest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_end_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
BackupApplianceBackupProperties.Builder

setRecoveryRangeEndTime(Timestamp.Builder builderForValue)

public BackupApplianceBackupProperties.Builder setRecoveryRangeEndTime(Timestamp.Builder builderForValue)

Optional. The latest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_end_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BackupApplianceBackupProperties.Builder

setRecoveryRangeStartTime(Timestamp value)

public BackupApplianceBackupProperties.Builder setRecoveryRangeStartTime(Timestamp value)

Optional. The earliest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_start_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
BackupApplianceBackupProperties.Builder

setRecoveryRangeStartTime(Timestamp.Builder builderForValue)

public BackupApplianceBackupProperties.Builder setRecoveryRangeStartTime(Timestamp.Builder builderForValue)

Optional. The earliest timestamp of data available in this Backup.

optional .google.protobuf.Timestamp recovery_range_start_time = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BackupApplianceBackupProperties.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BackupApplianceBackupProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BackupApplianceBackupProperties.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BackupApplianceBackupProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BackupApplianceBackupProperties.Builder
Overrides