Class GcpBackupConfig (0.13.0)

public final class GcpBackupConfig extends GeneratedMessageV3 implements GcpBackupConfigOrBuilder

GcpBackupConfig captures the Backup configuration details for Google Cloud resources. All Google Cloud resources regardless of type are protected with backup plan associations.

Protobuf type google.cloud.backupdr.v1.GcpBackupConfig

Static Fields

BACKUP_PLAN_ASSOCIATION_FIELD_NUMBER

public static final int BACKUP_PLAN_ASSOCIATION_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_PLAN_DESCRIPTION_FIELD_NUMBER

public static final int BACKUP_PLAN_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_PLAN_FIELD_NUMBER

public static final int BACKUP_PLAN_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_PLAN_RULES_FIELD_NUMBER

public static final int BACKUP_PLAN_RULES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GcpBackupConfig getDefaultInstance()
Returns
Type Description
GcpBackupConfig

getDescriptor()

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

newBuilder()

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

newBuilder(GcpBackupConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBackupPlan()

public String getBackupPlan()

The name of the backup plan.

string backup_plan = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The backupPlan.

getBackupPlanAssociation()

public String getBackupPlanAssociation()

The name of the backup plan association.

string backup_plan_association = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The backupPlanAssociation.

getBackupPlanAssociationBytes()

public ByteString getBackupPlanAssociationBytes()

The name of the backup plan association.

string backup_plan_association = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for backupPlanAssociation.

getBackupPlanBytes()

public ByteString getBackupPlanBytes()

The name of the backup plan.

string backup_plan = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for backupPlan.

getBackupPlanDescription()

public String getBackupPlanDescription()

The description of the backup plan.

string backup_plan_description = 2;

Returns
Type Description
String

The backupPlanDescription.

getBackupPlanDescriptionBytes()

public ByteString getBackupPlanDescriptionBytes()

The description of the backup plan.

string backup_plan_description = 2;

Returns
Type Description
ByteString

The bytes for backupPlanDescription.

getBackupPlanRules(int index)

public String getBackupPlanRules(int index)

The names of the backup plan rules which point to this backupvault

repeated string backup_plan_rules = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The backupPlanRules at the given index.

getBackupPlanRulesBytes(int index)

public ByteString getBackupPlanRulesBytes(int index)

The names of the backup plan rules which point to this backupvault

repeated string backup_plan_rules = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the backupPlanRules at the given index.

getBackupPlanRulesCount()

public int getBackupPlanRulesCount()

The names of the backup plan rules which point to this backupvault

repeated string backup_plan_rules = 4;

Returns
Type Description
int

The count of backupPlanRules.

getBackupPlanRulesList()

public ProtocolStringList getBackupPlanRulesList()

The names of the backup plan rules which point to this backupvault

repeated string backup_plan_rules = 4;

Returns
Type Description
ProtocolStringList

A list containing the backupPlanRules.

getDefaultInstanceForType()

public GcpBackupConfig getDefaultInstanceForType()
Returns
Type Description
GcpBackupConfig

getParserForType()

public Parser<GcpBackupConfig> getParserForType()
Returns
Type Description
Parser<GcpBackupConfig>
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 GcpBackupConfig.Builder newBuilderForType()
Returns
Type Description
GcpBackupConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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