Interface BackupPlanRevisionOrBuilder (0.29.0)

public interface BackupPlanRevisionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupPlanSnapshot()

public abstract BackupPlan getBackupPlanSnapshot()

The Backup Plan being encompassed by this revision.

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

Returns
Type Description
BackupPlan

The backupPlanSnapshot.

getBackupPlanSnapshotOrBuilder()

public abstract BackupPlanOrBuilder getBackupPlanSnapshotOrBuilder()

The Backup Plan being encompassed by this revision.

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

Returns
Type Description
BackupPlanOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

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

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

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

public abstract String 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()

public abstract ByteString getNameBytes()

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

public abstract String getRevisionId()

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

public abstract ByteString getRevisionIdBytes()

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

public abstract BackupPlanRevision.State getState()

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

public abstract int 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()

public abstract boolean hasBackupPlanSnapshot()

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

public abstract boolean hasCreateTime()

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.