Class BackupDrPlanConfig (0.41.0)

public final class BackupDrPlanConfig extends GeneratedMessageV3 implements BackupDrPlanConfigOrBuilder

BackupDrPlanConfig has additional information about Google Cloud Backup and DR's Plan backup configuration.

Protobuf type google.cloud.backupdr.v1.BackupDrPlanConfig

Static Fields

BACKUP_DR_PLAN_RULES_FIELD_NUMBER

public static final int BACKUP_DR_PLAN_RULES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BackupDrPlanConfig getDefaultInstance()
Returns
Type Description
BackupDrPlanConfig

getDescriptor()

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

newBuilder()

public static BackupDrPlanConfig.Builder newBuilder()
Returns
Type Description
BackupDrPlanConfig.Builder

newBuilder(BackupDrPlanConfig prototype)

public static BackupDrPlanConfig.Builder newBuilder(BackupDrPlanConfig prototype)
Parameter
Name Description
prototype BackupDrPlanConfig
Returns
Type Description
BackupDrPlanConfig.Builder

parseDelimitedFrom(InputStream input)

public static BackupDrPlanConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupDrPlanConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupDrPlanConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupDrPlanConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BackupDrPlanConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BackupDrPlanConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BackupDrPlanConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupDrPlanConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BackupDrPlanConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BackupDrPlanConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BackupDrPlanConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupDrPlanConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BackupDrPlanConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackupDrPlanConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupDrPlanConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupDrPlanConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BackupDrPlanConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupDrPlanConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupDrPlanConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupDrPlanConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BackupDrPlanConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackupDrPlanConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BackupDrPlanConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupDrPlanConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BackupDrPlanConfig> parser()
Returns
Type Description
Parser<BackupDrPlanConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBackupDrPlanRules(int index)

public BackupDrPlanRule getBackupDrPlanRules(int index)

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupDrPlanRule

getBackupDrPlanRulesCount()

public int getBackupDrPlanRulesCount()

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Returns
Type Description
int

getBackupDrPlanRulesList()

public List<BackupDrPlanRule> getBackupDrPlanRulesList()

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Returns
Type Description
List<BackupDrPlanRule>

getBackupDrPlanRulesOrBuilder(int index)

public BackupDrPlanRuleOrBuilder getBackupDrPlanRulesOrBuilder(int index)

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupDrPlanRuleOrBuilder

getBackupDrPlanRulesOrBuilderList()

public List<? extends BackupDrPlanRuleOrBuilder> getBackupDrPlanRulesOrBuilderList()

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.BackupDrPlanRuleOrBuilder>

getDefaultInstanceForType()

public BackupDrPlanConfig getDefaultInstanceForType()
Returns
Type Description
BackupDrPlanConfig

getParserForType()

public Parser<BackupDrPlanConfig> getParserForType()
Returns
Type Description
Parser<BackupDrPlanConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BackupDrPlanConfig.Builder newBuilderForType()
Returns
Type Description
BackupDrPlanConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BackupDrPlanConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BackupDrPlanConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BackupDrPlanConfig.Builder toBuilder()
Returns
Type Description
BackupDrPlanConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException