Class BackupPlanRevision (0.33.0)

publicfinalclass BackupPlanRevisionextendsGeneratedMessageV3implementsBackupPlanRevisionOrBuilder

BackupPlanRevision represents a snapshot of a BackupPlan at a point in time.

Protobuf type google.cloud.backupdr.v1.BackupPlanRevision

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_SNAPSHOT_FIELD_NUMBER

publicstaticfinalintBACKUP_PLAN_SNAPSHOT_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

publicstaticfinalintCREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

REVISION_ID_FIELD_NUMBER

publicstaticfinalintREVISION_ID_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

publicstaticfinalintSTATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticBackupPlanRevisiongetDefaultInstance()
Returns
Type Description
BackupPlanRevision

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticBackupPlanRevision.BuildernewBuilder()
Returns
Type Description
BackupPlanRevision.Builder

newBuilder(BackupPlanRevision prototype)

publicstaticBackupPlanRevision.BuildernewBuilder(BackupPlanRevisionprototype)
Parameter
Name Description
prototype BackupPlanRevision
Returns
Type Description
BackupPlanRevision.Builder

parseDelimitedFrom(InputStream input)

publicstaticBackupPlanRevisionparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupPlanRevision
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

publicstaticBackupPlanRevisionparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
BackupPlanRevision
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

publicstaticBackupPlanRevisionparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
BackupPlanRevision
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

publicstaticBackupPlanRevisionparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackupPlanRevision
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

publicstaticBackupPlanRevisionparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupPlanRevision
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

publicstaticBackupPlanRevisionparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackupPlanRevision
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBackupPlanSnapshot()

publicBackupPlangetBackupPlanSnapshot()

The Backup Plan being encompassed by this revision.

.google.cloud.backupdr.v1.BackupPlan backup_plan_snapshot = 4;

Returns
Type Description
BackupPlan

The backupPlanSnapshot.

getBackupPlanSnapshotOrBuilder()

publicBackupPlanOrBuildergetBackupPlanSnapshotOrBuilder()

The Backup Plan being encompassed by this revision.

.google.cloud.backupdr.v1.BackupPlan backup_plan_snapshot = 4;

Returns
Type Description
BackupPlanOrBuilder

getCreateTime()

publicTimestampgetCreateTime()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

publicTimestampOrBuildergetCreateTimeOrBuilder()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

publicBackupPlanRevisiongetDefaultInstanceForType()
Returns
Type Description
BackupPlanRevision

getName()

publicStringgetName()

Output only. Identifier. The resource name of the BackupPlanRevision.

Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Output only. Identifier. The resource name of the BackupPlanRevision.

Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getRevisionId()

publicStringgetRevisionId()

Output only. The user friendly revision ID of the BackupPlanRevision.

Example: v0, v1, v2, etc.

string revision_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The revisionId.

getRevisionIdBytes()

publicByteStringgetRevisionIdBytes()

Output only. The user friendly revision ID of the BackupPlanRevision.

Example: v0, v1, v2, etc.

string revision_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for revisionId.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getState()

publicBackupPlanRevision.StategetState()

Output only. Resource State

.google.cloud.backupdr.v1.BackupPlanRevision.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupPlanRevision.State

The state.

getStateValue()

publicintgetStateValue()

Output only. Resource State

.google.cloud.backupdr.v1.BackupPlanRevision.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasBackupPlanSnapshot()

publicbooleanhasBackupPlanSnapshot()

The Backup Plan being encompassed by this revision.

.google.cloud.backupdr.v1.BackupPlan backup_plan_snapshot = 4;

Returns
Type Description
boolean

Whether the backupPlanSnapshot field is set.

hasCreateTime()

publicbooleanhasCreateTime()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicBackupPlanRevision.BuildernewBuilderForType()
Returns
Type Description
BackupPlanRevision.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedBackupPlanRevision.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BackupPlanRevision.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

publicBackupPlanRevision.BuildertoBuilder()
Returns
Type Description
BackupPlanRevision.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.