Interface BackupPlanRevisionOrBuilder (0.34.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface BackupPlanRevisionOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getBackupPlanSnapshot()
publicabstractBackupPlangetBackupPlanSnapshot()The Backup Plan being encompassed by this revision.
.google.cloud.backupdr.v1.BackupPlan backup_plan_snapshot = 4;
| Returns | |
|---|---|
| Type | Description |
BackupPlan |
The backupPlanSnapshot. |
getBackupPlanSnapshotOrBuilder()
publicabstractBackupPlanOrBuildergetBackupPlanSnapshotOrBuilder()The Backup Plan being encompassed by this revision.
.google.cloud.backupdr.v1.BackupPlan backup_plan_snapshot = 4;
| Returns | |
|---|---|
| Type | Description |
BackupPlanOrBuilder |
|
getCreateTime()
publicabstractTimestampgetCreateTime()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()
publicabstractTimestampOrBuildergetCreateTimeOrBuilder()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 |
|
getName()
publicabstractStringgetName() 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()
publicabstractByteStringgetNameBytes() 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. |
getRevisionId()
publicabstractStringgetRevisionId() 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()
publicabstractByteStringgetRevisionIdBytes() 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. |
getState()
publicabstractBackupPlanRevision.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()
publicabstractintgetStateValue()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()
publicabstractbooleanhasBackupPlanSnapshot()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()
publicabstractbooleanhasCreateTime()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. |