Send feedback
  
   
 
  
    
      Class BatchCreateNotesRequest.Builder (2.1.3)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 2.1.3keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   static   final   class  BatchCreateNotesRequest . Builder   extends   GeneratedMessageV3 . Builder<BatchCreateNotesRequest . Builder >  implements   BatchCreateNotesRequestOrBuilder  
   
   Request to create notes in batch.
 Protobuf type grafeas.v1.BatchCreateNotesRequest
 
  
  
  
  Methods
   
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   BatchCreateNotesRequest . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  build() 
  
    
public   BatchCreateNotesRequest   build ()  
   
  Returns 
  
   
  buildPartial() 
  
    
public   BatchCreateNotesRequest   buildPartial ()  
   
  Returns 
  
   
  clear() 
  
    
public   BatchCreateNotesRequest . Builder   clear ()  
   
  Returns 
  
  Overrides 
  
   
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   BatchCreateNotesRequest . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  clearNotes() 
  
    
public   BatchCreateNotesRequest . Builder   clearNotes ()  
   
  Returns 
  
   
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   BatchCreateNotesRequest . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  clearParent() 
  
    
public   BatchCreateNotesRequest . Builder   clearParent ()  
   
   The name of the project in the form of projects/[PROJECT_ID], under which
 the notes are to be created.
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
 
  Returns 
  
   
  clone() 
  
    
public   BatchCreateNotesRequest . Builder   clone ()  
   
  Returns 
  
  Overrides 
  
   
  containsNotes(String key) 
  
    
public   boolean   containsNotes ( String   key )  
   
   The notes to create. Max allowed length is 1000.
 
 map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
 
 
  Parameter 
  
  Returns 
  
   
  getDefaultInstanceForType() 
  
    
public   BatchCreateNotesRequest   getDefaultInstanceForType ()  
   
  Returns 
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
   
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  Returns 
  
  Overrides 
  
   
  getMutableNotes() 
  
    
public   Map<String , Note >  getMutableNotes ()  
   
  Use alternate mutation accessors instead.
 
  Returns 
  
   
  getNotes() 
  
    
public   Map<String , Note >  getNotes ()  
   
  
  Returns 
  
   
  getNotesCount() 
  
    
public   int   getNotesCount ()  
   
   The notes to create. Max allowed length is 1000.
 map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
 
 
  Returns 
  
   
  getNotesMap() 
  
    
public   Map<String , Note >  getNotesMap ()  
   
   The notes to create. Max allowed length is 1000.
 
 map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
 
 
  Returns 
  
   
  getNotesOrDefault(String key, Note defaultValue) 
  
    
public   Note   getNotesOrDefault ( String   key ,   Note   defaultValue )  
   
   The notes to create. Max allowed length is 1000.
 
 map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
 
 
  Parameters 
  
  Returns 
  
   
  getNotesOrThrow(String key) 
  
    
public   Note   getNotesOrThrow ( String   key )  
   
   The notes to create. Max allowed length is 1000.
 
 map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
 
 
  Parameter 
  
  Returns 
  
   
  getParent() 
  
    
public   String   getParent ()  
   
   The name of the project in the form of projects/[PROJECT_ID], under which
 the notes are to be created.
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The parent.
 
       
     
  
   
  getParentBytes() 
  
    
public   ByteString   getParentBytes ()  
   
   The name of the project in the form of projects/[PROJECT_ID], under which
 the notes are to be created.
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
 
  Returns 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  internalGetMapField(int number) 
  
    
protected   MapField   internalGetMapField ( int   number )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        number  
        int  
       
     
  
  Returns 
  
  Overrides 
  
   
  internalGetMutableMapField(int number) 
  
    
protected   MapField   internalGetMutableMapField ( int   number )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        number  
        int  
       
     
  
  Returns 
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   BatchCreateNotesRequest . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
  Exceptions 
  
   
  mergeFrom(Message other) 
  
    
public   BatchCreateNotesRequest . Builder   mergeFrom ( Message   other )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  mergeFrom(BatchCreateNotesRequest other) 
  
    
public   BatchCreateNotesRequest . Builder   mergeFrom ( BatchCreateNotesRequest   other )  
   
  Parameter 
  
  Returns 
  
   
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   BatchCreateNotesRequest . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  putAllNotes(Map<String,Note> values) 
  
    
public   BatchCreateNotesRequest . Builder   putAllNotes ( Map<String , Note >  values )  
   
   The notes to create. Max allowed length is 1000.
 
 map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
 
 
  Parameter 
  
  Returns 
  
   
  putNotes(String key, Note value) 
  
    
public   BatchCreateNotesRequest . Builder   putNotes ( String   key ,   Note   value )  
   
   The notes to create. Max allowed length is 1000.
 
 map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
 
 
  Parameters 
  
  Returns 
  
   
  removeNotes(String key) 
  
    
public   BatchCreateNotesRequest . Builder   removeNotes ( String   key )  
   
   The notes to create. Max allowed length is 1000.
 
 map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
 
 
  Parameter 
  
  Returns 
  
   
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   BatchCreateNotesRequest . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  setParent(String value) 
  
    
public   BatchCreateNotesRequest . Builder   setParent ( String   value )  
   
   The name of the project in the form of projects/[PROJECT_ID], under which
 the notes are to be created.
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        value  
        String The parent to set.
 
       
     
  
  Returns 
  
   
  setParentBytes(ByteString value) 
  
    
public   BatchCreateNotesRequest . Builder   setParentBytes ( ByteString   value )  
   
   The name of the project in the form of projects/[PROJECT_ID], under which
 the notes are to be created.
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        value  
        ByteString The bytes for parent to set.
 
       
     
  
  Returns 
  
   
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   BatchCreateNotesRequest . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   BatchCreateNotesRequest . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
   
  Parameter 
  
  Returns 
  
  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."],[],[]]