public static final class BackupPlanRevision.Builder extends GeneratedMessageV3.Builder<BackupPlanRevision.Builder> implements BackupPlanRevisionOrBuilder BackupPlanRevision represents a snapshot of a BackupPlan at a point in
 time.
 Protobuf type google.cloud.backupdr.v1.BackupPlanRevision
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackupPlanRevision.BuilderImplements
BackupPlanRevisionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackupPlanRevision.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
build()
public BackupPlanRevision build()| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision | |
buildPartial()
public BackupPlanRevision buildPartial()| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision | |
clear()
public BackupPlanRevision.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
clearBackupPlanSnapshot()
public BackupPlanRevision.Builder clearBackupPlanSnapshot()The Backup Plan being encompassed by this revision.
 .google.cloud.backupdr.v1.BackupPlan backup_plan_snapshot = 4;
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
clearCreateTime()
public BackupPlanRevision.Builder clearCreateTime()Output only. The timestamp that the revision was created.
 
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
clearField(Descriptors.FieldDescriptor field)
public BackupPlanRevision.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
clearName()
public BackupPlanRevision.Builder clearName() 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 | 
| BackupPlanRevision.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public BackupPlanRevision.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
clearRevisionId()
public BackupPlanRevision.Builder clearRevisionId() 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 | 
| BackupPlanRevision.Builder | This builder for chaining. | 
clearState()
public BackupPlanRevision.Builder clearState()Output only. Resource State
 
 .google.cloud.backupdr.v1.BackupPlanRevision.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | This builder for chaining. | 
clone()
public BackupPlanRevision.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
getBackupPlanSnapshot()
public 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. | 
getBackupPlanSnapshotBuilder()
public BackupPlan.Builder getBackupPlanSnapshotBuilder()The Backup Plan being encompassed by this revision.
 .google.cloud.backupdr.v1.BackupPlan backup_plan_snapshot = 4;
| Returns | |
|---|---|
| Type | Description | 
| BackupPlan.Builder | |
getBackupPlanSnapshotOrBuilder()
public 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 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. | 
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp that the revision was created.
 
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getCreateTimeOrBuilder()
public 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 | |
getDefaultInstanceForType()
public BackupPlanRevision getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getName()
public 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 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 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 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 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 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 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 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. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeBackupPlanSnapshot(BackupPlan value)
public BackupPlanRevision.Builder mergeBackupPlanSnapshot(BackupPlan value)The Backup Plan being encompassed by this revision.
 .google.cloud.backupdr.v1.BackupPlan backup_plan_snapshot = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | BackupPlan | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
mergeCreateTime(Timestamp value)
public BackupPlanRevision.Builder mergeCreateTime(Timestamp value)Output only. The timestamp that the revision was created.
 
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
mergeFrom(BackupPlanRevision other)
public BackupPlanRevision.Builder mergeFrom(BackupPlanRevision other)| Parameter | |
|---|---|
| Name | Description | 
| other | BackupPlanRevision | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupPlanRevision.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public BackupPlanRevision.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackupPlanRevision.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
setBackupPlanSnapshot(BackupPlan value)
public BackupPlanRevision.Builder setBackupPlanSnapshot(BackupPlan value)The Backup Plan being encompassed by this revision.
 .google.cloud.backupdr.v1.BackupPlan backup_plan_snapshot = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | BackupPlan | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
setBackupPlanSnapshot(BackupPlan.Builder builderForValue)
public BackupPlanRevision.Builder setBackupPlanSnapshot(BackupPlan.Builder builderForValue)The Backup Plan being encompassed by this revision.
 .google.cloud.backupdr.v1.BackupPlan backup_plan_snapshot = 4;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | BackupPlan.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
setCreateTime(Timestamp value)
public BackupPlanRevision.Builder setCreateTime(Timestamp value)Output only. The timestamp that the revision was created.
 
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
setCreateTime(Timestamp.Builder builderForValue)
public BackupPlanRevision.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The timestamp that the revision was created.
 
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public BackupPlanRevision.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
setName(String value)
public BackupPlanRevision.Builder setName(String value) 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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public BackupPlanRevision.Builder setNameBytes(ByteString value) 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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackupPlanRevision.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |
setRevisionId(String value)
public BackupPlanRevision.Builder setRevisionId(String value) 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];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe revisionId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | This builder for chaining. | 
setRevisionIdBytes(ByteString value)
public BackupPlanRevision.Builder setRevisionIdBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for revisionId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | This builder for chaining. | 
setState(BackupPlanRevision.State value)
public BackupPlanRevision.Builder setState(BackupPlanRevision.State value)Output only. Resource State
 
 .google.cloud.backupdr.v1.BackupPlanRevision.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | BackupPlanRevision.StateThe state to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | This builder for chaining. | 
setStateValue(int value)
public BackupPlanRevision.Builder setStateValue(int value)Output only. Resource State
 
 .google.cloud.backupdr.v1.BackupPlanRevision.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for state to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final BackupPlanRevision.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanRevision.Builder | |