Class Backup.GCPBackupPlanInfo.Builder (0.29.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass Backup.GCPBackupPlanInfo.BuilderextendsGeneratedMessageV3.Builder<Backup.GCPBackupPlanInfo.Builder>implementsBackup.GCPBackupPlanInfoOrBuilderGCPBackupPlanInfo captures the plan configuration details of Google Cloud resources at the time of backup.
Protobuf type google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Backup.GCPBackupPlanInfo.BuilderImplements
Backup.GCPBackupPlanInfoOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicBackup.GCPBackupPlanInfo.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
|
build()
publicBackup.GCPBackupPlanInfobuild()| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo |
|
buildPartial()
publicBackup.GCPBackupPlanInfobuildPartial()| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo |
|
clear()
publicBackup.GCPBackupPlanInfo.Builderclear()| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
|
clearBackupPlan()
publicBackup.GCPBackupPlanInfo.BuilderclearBackupPlan()Resource name of backup plan by which workload is protected at the time of the backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
string backup_plan = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
clearBackupPlanRevisionId()
publicBackup.GCPBackupPlanInfo.BuilderclearBackupPlanRevisionId()The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
string backup_plan_revision_id = 4;
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
clearBackupPlanRevisionName()
publicBackup.GCPBackupPlanInfo.BuilderclearBackupPlanRevisionName()Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}
string backup_plan_revision_name = 3;
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
clearBackupPlanRuleId()
publicBackup.GCPBackupPlanInfo.BuilderclearBackupPlanRuleId()The rule id of the backup plan which triggered this backup in case of scheduled backup or used for
string backup_plan_rule_id = 2;
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicBackup.GCPBackupPlanInfo.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicBackup.GCPBackupPlanInfo.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
|
clone()
publicBackup.GCPBackupPlanInfo.Builderclone()| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
|
getBackupPlan()
publicStringgetBackupPlan()Resource name of backup plan by which workload is protected at the time of the backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
string backup_plan = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The backupPlan. |
getBackupPlanBytes()
publicByteStringgetBackupPlanBytes()Resource name of backup plan by which workload is protected at the time of the backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
string backup_plan = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for backupPlan. |
getBackupPlanRevisionId()
publicStringgetBackupPlanRevisionId()The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
string backup_plan_revision_id = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The backupPlanRevisionId. |
getBackupPlanRevisionIdBytes()
publicByteStringgetBackupPlanRevisionIdBytes()The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
string backup_plan_revision_id = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for backupPlanRevisionId. |
getBackupPlanRevisionName()
publicStringgetBackupPlanRevisionName()Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}
string backup_plan_revision_name = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The backupPlanRevisionName. |
getBackupPlanRevisionNameBytes()
publicByteStringgetBackupPlanRevisionNameBytes()Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}
string backup_plan_revision_name = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for backupPlanRevisionName. |
getBackupPlanRuleId()
publicStringgetBackupPlanRuleId()The rule id of the backup plan which triggered this backup in case of scheduled backup or used for
string backup_plan_rule_id = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The backupPlanRuleId. |
getBackupPlanRuleIdBytes()
publicByteStringgetBackupPlanRuleIdBytes()The rule id of the backup plan which triggered this backup in case of scheduled backup or used for
string backup_plan_rule_id = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for backupPlanRuleId. |
getDefaultInstanceForType()
publicBackup.GCPBackupPlanInfogetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Backup.GCPBackupPlanInfo other)
publicBackup.GCPBackupPlanInfo.BuildermergeFrom(Backup.GCPBackupPlanInfoother)| Parameter | |
|---|---|
| Name | Description |
other |
Backup.GCPBackupPlanInfo |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicBackup.GCPBackupPlanInfo.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicBackup.GCPBackupPlanInfo.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalBackup.GCPBackupPlanInfo.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
|
setBackupPlan(String value)
publicBackup.GCPBackupPlanInfo.BuildersetBackupPlan(Stringvalue)Resource name of backup plan by which workload is protected at the time of the backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
string backup_plan = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
String The backupPlan to set. |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
setBackupPlanBytes(ByteString value)
publicBackup.GCPBackupPlanInfo.BuildersetBackupPlanBytes(ByteStringvalue)Resource name of backup plan by which workload is protected at the time of the backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
string backup_plan = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for backupPlan to set. |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
setBackupPlanRevisionId(String value)
publicBackup.GCPBackupPlanInfo.BuildersetBackupPlanRevisionId(Stringvalue)The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
string backup_plan_revision_id = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
String The backupPlanRevisionId to set. |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
setBackupPlanRevisionIdBytes(ByteString value)
publicBackup.GCPBackupPlanInfo.BuildersetBackupPlanRevisionIdBytes(ByteStringvalue)The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
string backup_plan_revision_id = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for backupPlanRevisionId to set. |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
setBackupPlanRevisionName(String value)
publicBackup.GCPBackupPlanInfo.BuildersetBackupPlanRevisionName(Stringvalue)Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}
string backup_plan_revision_name = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
String The backupPlanRevisionName to set. |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
setBackupPlanRevisionNameBytes(ByteString value)
publicBackup.GCPBackupPlanInfo.BuildersetBackupPlanRevisionNameBytes(ByteStringvalue)Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}
string backup_plan_revision_name = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for backupPlanRevisionName to set. |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
setBackupPlanRuleId(String value)
publicBackup.GCPBackupPlanInfo.BuildersetBackupPlanRuleId(Stringvalue)The rule id of the backup plan which triggered this backup in case of scheduled backup or used for
string backup_plan_rule_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
String The backupPlanRuleId to set. |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
setBackupPlanRuleIdBytes(ByteString value)
publicBackup.GCPBackupPlanInfo.BuildersetBackupPlanRuleIdBytes(ByteStringvalue)The rule id of the backup plan which triggered this backup in case of scheduled backup or used for
string backup_plan_rule_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for backupPlanRuleId to set. |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicBackup.GCPBackupPlanInfo.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicBackup.GCPBackupPlanInfo.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalBackup.GCPBackupPlanInfo.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Backup.GCPBackupPlanInfo.Builder |
|