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()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticBackupPlanRevision.BuildernewBuilder()
newBuilder(BackupPlanRevision prototype)
publicstaticBackupPlanRevision.BuildernewBuilder(BackupPlanRevisionprototype)
publicstaticBackupPlanRevisionparseDelimitedFrom(InputStreaminput)
publicstaticBackupPlanRevisionparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticBackupPlanRevisionparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticBackupPlanRevisionparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticBackupPlanRevisionparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticBackupPlanRevisionparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticBackupPlanRevisionparseFrom(CodedInputStreaminput)
publicstaticBackupPlanRevisionparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticBackupPlanRevisionparseFrom(InputStreaminput)
publicstaticBackupPlanRevisionparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticBackupPlanRevisionparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticBackupPlanRevisionparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<BackupPlanRevision>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
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;
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];
getDefaultInstanceForType()
publicBackupPlanRevisiongetDefaultInstanceForType()
getName()
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()
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];
getStateValue()
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()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicBackupPlanRevision.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedBackupPlanRevision.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicBackupPlanRevision.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides