Send feedback
  
   
 
  
    
      Class GcpBackupConfig (0.37.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  GcpBackupConfig   extends   GeneratedMessageV3   implements   GcpBackupConfigOrBuilder  
   
   GcpBackupConfig captures the Backup configuration details for Google Cloud
 resources. All Google Cloud resources regardless of type are protected with
 backup plan associations.
 Protobuf type google.cloud.backupdr.v1.GcpBackupConfig
 
  
  
  
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  BACKUP_PLAN_ASSOCIATION_FIELD_NUMBER 
  
    
public   static   final   int   BACKUP_PLAN_ASSOCIATION_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  BACKUP_PLAN_DESCRIPTION_FIELD_NUMBER 
  
    
public   static   final   int   BACKUP_PLAN_DESCRIPTION_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  BACKUP_PLAN_FIELD_NUMBER 
  
    
public   static   final   int   BACKUP_PLAN_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  BACKUP_PLAN_REVISION_ID_FIELD_NUMBER 
  
    
public   static   final   int   BACKUP_PLAN_REVISION_ID_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  BACKUP_PLAN_REVISION_NAME_FIELD_NUMBER 
  
    
public   static   final   int   BACKUP_PLAN_REVISION_NAME_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  BACKUP_PLAN_RULES_FIELD_NUMBER 
  
    
public   static   final   int   BACKUP_PLAN_RULES_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   GcpBackupConfig   getDefaultInstance ()  
   
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  newBuilder() 
  
    
public   static   GcpBackupConfig . Builder   newBuilder ()  
   
  
   
  newBuilder(GcpBackupConfig prototype) 
  
    
public   static   GcpBackupConfig . Builder   newBuilder ( GcpBackupConfig   prototype )  
   
  
  
   
  
  
    
public   static   GcpBackupConfig   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   GcpBackupConfig   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(byte[] data) 
  
    
public   static   GcpBackupConfig   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GcpBackupConfig   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteString data) 
  
    
public   static   GcpBackupConfig   parseFrom ( ByteString   data )  
   
  
  
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GcpBackupConfig   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   GcpBackupConfig   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   GcpBackupConfig   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   GcpBackupConfig   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   GcpBackupConfig   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   GcpBackupConfig   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GcpBackupConfig   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parser() 
  
    
public   static   Parser<GcpBackupConfig>   parser ()  
   
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  getBackupPlan() 
  
    
public   String   getBackupPlan ()  
   
   The name of the backup plan.
 string backup_plan = 1 [(.google.api.resource_reference) = { ... }
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The backupPlan.
 
       
     
  
   
  getBackupPlanAssociation() 
  
    
public   String   getBackupPlanAssociation ()  
   
   The name of the backup plan association.
 string backup_plan_association = 3 [(.google.api.resource_reference) = { ... }
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The backupPlanAssociation.
 
       
     
  
   
  getBackupPlanAssociationBytes() 
  
    
public   ByteString   getBackupPlanAssociationBytes ()  
   
   The name of the backup plan association.
 string backup_plan_association = 3 [(.google.api.resource_reference) = { ... }
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for backupPlanAssociation.
 
       
     
  
   
  getBackupPlanBytes() 
  
    
public   ByteString   getBackupPlanBytes ()  
   
   The name of the backup plan.
 string backup_plan = 1 [(.google.api.resource_reference) = { ... }
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for backupPlan.
 
       
     
  
   
  getBackupPlanDescription() 
  
    
public   String   getBackupPlanDescription ()  
   
   The description of the backup plan.
 string backup_plan_description = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The backupPlanDescription.
 
       
     
  
   
  getBackupPlanDescriptionBytes() 
  
    
public   ByteString   getBackupPlanDescriptionBytes ()  
   
   The description of the backup plan.
 string backup_plan_description = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for backupPlanDescription.
 
       
     
  
   
  getBackupPlanRevisionId() 
  
    
public   String   getBackupPlanRevisionId ()  
   
   The user friendly id of the backup plan revision.
 E.g. v0, v1 etc.
 string backup_plan_revision_id = 6;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The backupPlanRevisionId.
 
       
     
  
   
  getBackupPlanRevisionIdBytes() 
  
    
public   ByteString   getBackupPlanRevisionIdBytes ()  
   
   The user friendly id of the backup plan revision.
 E.g. v0, v1 etc.
 string backup_plan_revision_id = 6;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for backupPlanRevisionId.
 
       
     
  
   
  getBackupPlanRevisionName() 
  
    
public   String   getBackupPlanRevisionName ()  
   
   The name of the backup plan revision.
 string backup_plan_revision_name = 5;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The backupPlanRevisionName.
 
       
     
  
   
  getBackupPlanRevisionNameBytes() 
  
    
public   ByteString   getBackupPlanRevisionNameBytes ()  
   
   The name of the backup plan revision.
 string backup_plan_revision_name = 5;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for backupPlanRevisionName.
 
       
     
  
   
  getBackupPlanRules(int index) 
  
    
public   String   getBackupPlanRules ( int   index )  
   
   The names of the backup plan rules which point to this backupvault
 repeated string backup_plan_rules = 4;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        index 
        int The index of the element to return.
 
       
     
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The backupPlanRules at the given index.
 
       
     
  
   
  getBackupPlanRulesBytes(int index) 
  
    
public   ByteString   getBackupPlanRulesBytes ( int   index )  
   
   The names of the backup plan rules which point to this backupvault
 repeated string backup_plan_rules = 4;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        index 
        int The index of the value to return.
 
       
     
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes of the backupPlanRules at the given index.
 
       
     
  
   
  getBackupPlanRulesCount() 
  
    
public   int   getBackupPlanRulesCount ()  
   
   The names of the backup plan rules which point to this backupvault
 repeated string backup_plan_rules = 4;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
        The count of backupPlanRules.
 
       
     
  
   
  getBackupPlanRulesList() 
  
    
public   ProtocolStringList   getBackupPlanRulesList ()  
   
   The names of the backup plan rules which point to this backupvault
 repeated string backup_plan_rules = 4;
 
  
   
  getDefaultInstanceForType() 
  
    
public   GcpBackupConfig   getDefaultInstanceForType ()  
   
  
   
  getParserForType() 
  
    
public   Parser<GcpBackupConfig>   getParserForType ()  
   
  
  Overrides 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  hashCode() 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   GcpBackupConfig . Builder   newBuilderForType ()  
   
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   GcpBackupConfig . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  toBuilder() 
  
    
public   GcpBackupConfig . Builder   toBuilder ()  
   
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  
  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-10-30 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-10-30 UTC."],[],[]]