Class FrameworkReference.Builder (0.3.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.3.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  FrameworkReference . Builder   extends   GeneratedMessageV3 . Builder<FrameworkReference . Builder >  implements   FrameworkReferenceOrBuilder  
   FrameworkReference contains the reference of a framework.
 Protobuf type google.cloud.cloudsecuritycompliance.v1.FrameworkReference
    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   FrameworkReference . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   FrameworkReference   build ()  
  
  buildPartial() 
  
    
public   FrameworkReference   buildPartial ()  
  
  clear() 
  
    
public   FrameworkReference . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   FrameworkReference . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearFramework() 
  
    
public   FrameworkReference . Builder   clearFramework ()  
   Required. In the format:
 organizations/{org}/locations/{location}/frameworks/{framework}
 string framework = 1 [(.google.api.field_behavior) = REQUIRED];
clearMajorRevisionId() 
  
    
public   FrameworkReference . Builder   clearMajorRevisionId ()  
   Optional. Major revision id of the framework. If not specified, corresponds
 to the latest revision of the framework.
 optional int64 major_revision_id = 2 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   FrameworkReference . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   FrameworkReference . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   FrameworkReference   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getFramework() 
  
    
public   String   getFramework ()  
   Required. In the format:
 organizations/{org}/locations/{location}/frameworks/{framework}
 string framework = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        String The framework.
 
     
  
  getFrameworkBytes() 
  
    
public   ByteString   getFrameworkBytes ()  
   Required. In the format:
 organizations/{org}/locations/{location}/frameworks/{framework}
 string framework = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for framework.
 
     
  
  getMajorRevisionId() 
  
    
public   long   getMajorRevisionId ()  
   Optional. Major revision id of the framework. If not specified, corresponds
 to the latest revision of the framework.
 optional int64 major_revision_id = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        long The majorRevisionId.
 
     
  
  hasMajorRevisionId() 
  
    
public   boolean   hasMajorRevisionId ()  
   Optional. Major revision id of the framework. If not specified, corresponds
 to the latest revision of the framework.
 optional int64 major_revision_id = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the majorRevisionId field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(FrameworkReference other) 
  
    
public   FrameworkReference . Builder   mergeFrom ( FrameworkReference   other )  
  
  
  
    
public   FrameworkReference . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   FrameworkReference . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   FrameworkReference . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   FrameworkReference . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setFramework(String value) 
  
    
public   FrameworkReference . Builder   setFramework ( String   value )  
   Required. In the format:
 organizations/{org}/locations/{location}/frameworks/{framework}
 string framework = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valueString The framework to set.
 
     
  
  
  setFrameworkBytes(ByteString value) 
  
    
public   FrameworkReference . Builder   setFrameworkBytes ( ByteString   value )  
   Required. In the format:
 organizations/{org}/locations/{location}/frameworks/{framework}
 string framework = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for framework to set.
 
     
  
  
  setMajorRevisionId(long value) 
  
    
public   FrameworkReference . Builder   setMajorRevisionId ( long   value )  
   Optional. Major revision id of the framework. If not specified, corresponds
 to the latest revision of the framework.
 optional int64 major_revision_id = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valuelong The majorRevisionId to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   FrameworkReference . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   FrameworkReference . 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."],[],[]]