Send feedback
Class Backup.GCPBackupPlanInfo.Builder (0.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.13.0 keyboard_arrow_down
public static final class Backup . GCPBackupPlanInfo . Builder extends GeneratedMessageV3 . Builder<Backup . GCPBackupPlanInfo . Builder > implements Backup . GCPBackupPlanInfoOrBuilder
GCPBackupPlanInfo captures the plan configuration details of Google Cloud
resources at the time of backup.
Protobuf type google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Backup . GCPBackupPlanInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Backup . GCPBackupPlanInfo build ()
buildPartial()
public Backup . GCPBackupPlanInfo buildPartial ()
clear()
public Backup . GCPBackupPlanInfo . Builder clear ()
Overrides
clearBackupPlan()
public Backup . GCPBackupPlanInfo . Builder clearBackupPlan ()
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) = { ... }
clearBackupPlanRuleId()
public Backup . GCPBackupPlanInfo . Builder clearBackupPlanRuleId ()
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;
clearField(Descriptors.FieldDescriptor field)
public Backup . GCPBackupPlanInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Backup . GCPBackupPlanInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public Backup . GCPBackupPlanInfo . Builder clone ()
Overrides
getBackupPlan()
public String getBackupPlan ()
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()
public ByteString getBackupPlanBytes ()
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.
getBackupPlanRuleId()
public String getBackupPlanRuleId ()
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()
public ByteString getBackupPlanRuleIdBytes ()
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()
public Backup . GCPBackupPlanInfo getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Backup.GCPBackupPlanInfo other)
public Backup . GCPBackupPlanInfo . Builder mergeFrom ( Backup . GCPBackupPlanInfo other )
public Backup . GCPBackupPlanInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Backup . GCPBackupPlanInfo . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Backup . GCPBackupPlanInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setBackupPlan(String value)
public Backup . GCPBackupPlanInfo . Builder setBackupPlan ( String value )
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.
setBackupPlanBytes(ByteString value)
public Backup . GCPBackupPlanInfo . Builder setBackupPlanBytes ( ByteString value )
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.
setBackupPlanRuleId(String value)
public Backup . GCPBackupPlanInfo . Builder setBackupPlanRuleId ( String value )
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.
setBackupPlanRuleIdBytes(ByteString value)
public Backup . GCPBackupPlanInfo . Builder setBackupPlanRuleIdBytes ( ByteString value )
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.
setField(Descriptors.FieldDescriptor field, Object value)
public Backup . GCPBackupPlanInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Backup . GCPBackupPlanInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Backup . GCPBackupPlanInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]