Class GcpBackupConfig (0.11.0)

publicfinalclass GcpBackupConfigextendsGeneratedMessageV3implementsGcpBackupConfigOrBuilder

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

BACKUP_PLAN_ASSOCIATION_FIELD_NUMBER

publicstaticfinalintBACKUP_PLAN_ASSOCIATION_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_PLAN_DESCRIPTION_FIELD_NUMBER

publicstaticfinalintBACKUP_PLAN_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_PLAN_FIELD_NUMBER

publicstaticfinalintBACKUP_PLAN_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_PLAN_RULES_FIELD_NUMBER

publicstaticfinalintBACKUP_PLAN_RULES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticGcpBackupConfiggetDefaultInstance()
Returns
Type Description
GcpBackupConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticGcpBackupConfig.BuildernewBuilder()
Returns
Type Description
GcpBackupConfig.Builder

newBuilder(GcpBackupConfig prototype)

publicstaticGcpBackupConfig.BuildernewBuilder(GcpBackupConfigprototype)
Parameter
Name Description
prototype GcpBackupConfig
Returns
Type Description
GcpBackupConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticGcpBackupConfigparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
GcpBackupConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGcpBackupConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcpBackupConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticGcpBackupConfigparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
GcpBackupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticGcpBackupConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcpBackupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticGcpBackupConfigparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
GcpBackupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticGcpBackupConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcpBackupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticGcpBackupConfigparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GcpBackupConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGcpBackupConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcpBackupConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticGcpBackupConfigparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
GcpBackupConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGcpBackupConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcpBackupConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticGcpBackupConfigparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GcpBackupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticGcpBackupConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcpBackupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<GcpBackupConfig>parser()
Returns
Type Description
Parser<GcpBackupConfig>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBackupPlan()

publicStringgetBackupPlan()

The name of the backup plan.

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

Returns
Type Description
String

The backupPlan.

getBackupPlanAssociation()

publicStringgetBackupPlanAssociation()

The name of the backup plan association.

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

Returns
Type Description
String

The backupPlanAssociation.

getBackupPlanAssociationBytes()

publicByteStringgetBackupPlanAssociationBytes()

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()

publicByteStringgetBackupPlanBytes()

The name of the backup plan.

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

Returns
Type Description
ByteString

The bytes for backupPlan.

getBackupPlanDescription()

publicStringgetBackupPlanDescription()

The description of the backup plan.

string backup_plan_description = 2;

Returns
Type Description
String

The backupPlanDescription.

getBackupPlanDescriptionBytes()

publicByteStringgetBackupPlanDescriptionBytes()

The description of the backup plan.

string backup_plan_description = 2;

Returns
Type Description
ByteString

The bytes for backupPlanDescription.

getBackupPlanRules(int index)

publicStringgetBackupPlanRules(intindex)

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)

publicByteStringgetBackupPlanRulesBytes(intindex)

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()

publicintgetBackupPlanRulesCount()

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()

publicProtocolStringListgetBackupPlanRulesList()

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()

publicGcpBackupConfiggetDefaultInstanceForType()
Returns
Type Description
GcpBackupConfig

getParserForType()

publicParser<GcpBackupConfig>getParserForType()
Returns
Type Description
Parser<GcpBackupConfig>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicGcpBackupConfig.BuildernewBuilderForType()
Returns
Type Description
GcpBackupConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedGcpBackupConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GcpBackupConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicGcpBackupConfig.BuildertoBuilder()
Returns
Type Description
GcpBackupConfig.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.