Class Backup.GCPBackupPlanInfo.Builder (0.12.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.12.0keyboard_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  
      
        otherMessage  
     
  
  
  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  
      
        valueString 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  
      
        valueByteString 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  
      
        valueString 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  
      
        valueByteString 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 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]