Class BackupConfigInfo.Builder (0.12.0)

public static final class BackupConfigInfo.Builder extends GeneratedMessageV3.Builder<BackupConfigInfo.Builder> implements BackupConfigInfoOrBuilder

BackupConfigInfo has information about how the resource is configured for Backup and about the most recent backup to this vault.

Protobuf type google.cloud.backupdr.v1.BackupConfigInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackupConfigInfo build()
Returns
Type Description
BackupConfigInfo

buildPartial()

public BackupConfigInfo buildPartial()
Returns
Type Description
BackupConfigInfo

clear()

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

clearBackupApplianceBackupConfig()

public BackupConfigInfo.Builder clearBackupApplianceBackupConfig()

Configuration for an application backed up by a Backup Appliance.

.google.cloud.backupdr.v1.BackupApplianceBackupConfig backup_appliance_backup_config = 5;

Returns
Type Description
BackupConfigInfo.Builder

clearBackupConfig()

public BackupConfigInfo.Builder clearBackupConfig()
Returns
Type Description
BackupConfigInfo.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGcpBackupConfig()

public BackupConfigInfo.Builder clearGcpBackupConfig()

Configuration for a Google Cloud resource.

.google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;

Returns
Type Description
BackupConfigInfo.Builder

clearLastBackupError()

public BackupConfigInfo.Builder clearLastBackupError()

Output only. If the last backup failed, this field has the error message.

.google.rpc.Status last_backup_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupConfigInfo.Builder

clearLastBackupState()

public BackupConfigInfo.Builder clearLastBackupState()

Output only. The status of the last backup to this BackupVault

.google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupConfigInfo.Builder

This builder for chaining.

clearLastSuccessfulBackupConsistencyTime()

public BackupConfigInfo.Builder clearLastSuccessfulBackupConsistencyTime()

Output only. If the last backup were successful, this field has the consistency date.

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

Returns
Type Description
BackupConfigInfo.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBackupApplianceBackupConfig()

public BackupApplianceBackupConfig getBackupApplianceBackupConfig()

Configuration for an application backed up by a Backup Appliance.

.google.cloud.backupdr.v1.BackupApplianceBackupConfig backup_appliance_backup_config = 5;

Returns
Type Description
BackupApplianceBackupConfig

The backupApplianceBackupConfig.

getBackupApplianceBackupConfigBuilder()

public BackupApplianceBackupConfig.Builder getBackupApplianceBackupConfigBuilder()

Configuration for an application backed up by a Backup Appliance.

.google.cloud.backupdr.v1.BackupApplianceBackupConfig backup_appliance_backup_config = 5;

Returns
Type Description
BackupApplianceBackupConfig.Builder

getBackupApplianceBackupConfigOrBuilder()

public BackupApplianceBackupConfigOrBuilder getBackupApplianceBackupConfigOrBuilder()

Configuration for an application backed up by a Backup Appliance.

.google.cloud.backupdr.v1.BackupApplianceBackupConfig backup_appliance_backup_config = 5;

Returns
Type Description
BackupApplianceBackupConfigOrBuilder

getBackupConfigCase()

public BackupConfigInfo.BackupConfigCase getBackupConfigCase()
Returns
Type Description
BackupConfigInfo.BackupConfigCase

getDefaultInstanceForType()

public BackupConfigInfo getDefaultInstanceForType()
Returns
Type Description
BackupConfigInfo

getDescriptorForType()

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

getGcpBackupConfig()

public GcpBackupConfig getGcpBackupConfig()

Configuration for a Google Cloud resource.

.google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;

Returns
Type Description
GcpBackupConfig

The gcpBackupConfig.

getGcpBackupConfigBuilder()

public GcpBackupConfig.Builder getGcpBackupConfigBuilder()

Configuration for a Google Cloud resource.

.google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;

Returns
Type Description
GcpBackupConfig.Builder

getGcpBackupConfigOrBuilder()

public GcpBackupConfigOrBuilder getGcpBackupConfigOrBuilder()

Configuration for a Google Cloud resource.

.google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;

Returns
Type Description
GcpBackupConfigOrBuilder

getLastBackupError()

public Status getLastBackupError()

Output only. If the last backup failed, this field has the error message.

.google.rpc.Status last_backup_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The lastBackupError.

getLastBackupErrorBuilder()

public Status.Builder getLastBackupErrorBuilder()

Output only. If the last backup failed, this field has the error message.

.google.rpc.Status last_backup_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status.Builder

getLastBackupErrorOrBuilder()

public StatusOrBuilder getLastBackupErrorOrBuilder()

Output only. If the last backup failed, this field has the error message.

.google.rpc.Status last_backup_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getLastBackupState()

public BackupConfigInfo.LastBackupState getLastBackupState()

Output only. The status of the last backup to this BackupVault

.google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupConfigInfo.LastBackupState

The lastBackupState.

getLastBackupStateValue()

public int getLastBackupStateValue()

Output only. The status of the last backup to this BackupVault

.google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for lastBackupState.

getLastSuccessfulBackupConsistencyTime()

public Timestamp getLastSuccessfulBackupConsistencyTime()

Output only. If the last backup were successful, this field has the consistency date.

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

Returns
Type Description
Timestamp

The lastSuccessfulBackupConsistencyTime.

getLastSuccessfulBackupConsistencyTimeBuilder()

public Timestamp.Builder getLastSuccessfulBackupConsistencyTimeBuilder()

Output only. If the last backup were successful, this field has the consistency date.

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

Returns
Type Description
Builder

getLastSuccessfulBackupConsistencyTimeOrBuilder()

public TimestampOrBuilder getLastSuccessfulBackupConsistencyTimeOrBuilder()

Output only. If the last backup were successful, this field has the consistency date.

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

Returns
Type Description
TimestampOrBuilder

hasBackupApplianceBackupConfig()

public boolean hasBackupApplianceBackupConfig()

Configuration for an application backed up by a Backup Appliance.

.google.cloud.backupdr.v1.BackupApplianceBackupConfig backup_appliance_backup_config = 5;

Returns
Type Description
boolean

Whether the backupApplianceBackupConfig field is set.

hasGcpBackupConfig()

public boolean hasGcpBackupConfig()

Configuration for a Google Cloud resource.

.google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;

Returns
Type Description
boolean

Whether the gcpBackupConfig field is set.

hasLastBackupError()

public boolean hasLastBackupError()

Output only. If the last backup failed, this field has the error message.

.google.rpc.Status last_backup_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastBackupError field is set.

hasLastSuccessfulBackupConsistencyTime()

public boolean hasLastSuccessfulBackupConsistencyTime()

Output only. If the last backup were successful, this field has the consistency date.

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

Returns
Type Description
boolean

Whether the lastSuccessfulBackupConsistencyTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBackupApplianceBackupConfig(BackupApplianceBackupConfig value)

public BackupConfigInfo.Builder mergeBackupApplianceBackupConfig(BackupApplianceBackupConfig value)

Configuration for an application backed up by a Backup Appliance.

.google.cloud.backupdr.v1.BackupApplianceBackupConfig backup_appliance_backup_config = 5;

Parameter
Name Description
value BackupApplianceBackupConfig
Returns
Type Description
BackupConfigInfo.Builder

mergeFrom(BackupConfigInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcpBackupConfig(GcpBackupConfig value)

public BackupConfigInfo.Builder mergeGcpBackupConfig(GcpBackupConfig value)

Configuration for a Google Cloud resource.

.google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;

Parameter
Name Description
value GcpBackupConfig
Returns
Type Description
BackupConfigInfo.Builder

mergeLastBackupError(Status value)

public BackupConfigInfo.Builder mergeLastBackupError(Status value)

Output only. If the last backup failed, this field has the error message.

.google.rpc.Status last_backup_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
BackupConfigInfo.Builder

mergeLastSuccessfulBackupConsistencyTime(Timestamp value)

public BackupConfigInfo.Builder mergeLastSuccessfulBackupConsistencyTime(Timestamp value)

Output only. If the last backup were successful, this field has the consistency date.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
BackupConfigInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBackupApplianceBackupConfig(BackupApplianceBackupConfig value)

public BackupConfigInfo.Builder setBackupApplianceBackupConfig(BackupApplianceBackupConfig value)

Configuration for an application backed up by a Backup Appliance.

.google.cloud.backupdr.v1.BackupApplianceBackupConfig backup_appliance_backup_config = 5;

Parameter
Name Description
value BackupApplianceBackupConfig
Returns
Type Description
BackupConfigInfo.Builder

setBackupApplianceBackupConfig(BackupApplianceBackupConfig.Builder builderForValue)

public BackupConfigInfo.Builder setBackupApplianceBackupConfig(BackupApplianceBackupConfig.Builder builderForValue)

Configuration for an application backed up by a Backup Appliance.

.google.cloud.backupdr.v1.BackupApplianceBackupConfig backup_appliance_backup_config = 5;

Parameter
Name Description
builderForValue BackupApplianceBackupConfig.Builder
Returns
Type Description
BackupConfigInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcpBackupConfig(GcpBackupConfig value)

public BackupConfigInfo.Builder setGcpBackupConfig(GcpBackupConfig value)

Configuration for a Google Cloud resource.

.google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;

Parameter
Name Description
value GcpBackupConfig
Returns
Type Description
BackupConfigInfo.Builder

setGcpBackupConfig(GcpBackupConfig.Builder builderForValue)

public BackupConfigInfo.Builder setGcpBackupConfig(GcpBackupConfig.Builder builderForValue)

Configuration for a Google Cloud resource.

.google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;

Parameter
Name Description
builderForValue GcpBackupConfig.Builder
Returns
Type Description
BackupConfigInfo.Builder

setLastBackupError(Status value)

public BackupConfigInfo.Builder setLastBackupError(Status value)

Output only. If the last backup failed, this field has the error message.

.google.rpc.Status last_backup_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
BackupConfigInfo.Builder

setLastBackupError(Status.Builder builderForValue)

public BackupConfigInfo.Builder setLastBackupError(Status.Builder builderForValue)

Output only. If the last backup failed, this field has the error message.

.google.rpc.Status last_backup_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
BackupConfigInfo.Builder

setLastBackupState(BackupConfigInfo.LastBackupState value)

public BackupConfigInfo.Builder setLastBackupState(BackupConfigInfo.LastBackupState value)

Output only. The status of the last backup to this BackupVault

.google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value BackupConfigInfo.LastBackupState

The lastBackupState to set.

Returns
Type Description
BackupConfigInfo.Builder

This builder for chaining.

setLastBackupStateValue(int value)

public BackupConfigInfo.Builder setLastBackupStateValue(int value)

Output only. The status of the last backup to this BackupVault

.google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for lastBackupState to set.

Returns
Type Description
BackupConfigInfo.Builder

This builder for chaining.

setLastSuccessfulBackupConsistencyTime(Timestamp value)

public BackupConfigInfo.Builder setLastSuccessfulBackupConsistencyTime(Timestamp value)

Output only. If the last backup were successful, this field has the consistency date.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
BackupConfigInfo.Builder

setLastSuccessfulBackupConsistencyTime(Timestamp.Builder builderForValue)

public BackupConfigInfo.Builder setLastSuccessfulBackupConsistencyTime(Timestamp.Builder builderForValue)

Output only. If the last backup were successful, this field has the consistency date.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BackupConfigInfo.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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