Class BatchCreateNotesRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchCreateNotesRequest.Builder>
io.grafeas.v1beta1.BatchCreateNotesRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BatchCreateNotesRequestOrBuilder, Cloneable
Enclosing class:
BatchCreateNotesRequest

public static final class BatchCreateNotesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchCreateNotesRequest.Builder> implements BatchCreateNotesRequestOrBuilder
 Request to create notes in batch.
 
Protobuf type grafeas.v1beta1.BatchCreateNotesRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BatchCreateNotesRequest.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BatchCreateNotesRequest.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BatchCreateNotesRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BatchCreateNotesRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BatchCreateNotesRequest.Builder>
    • getDefaultInstanceForType

      public BatchCreateNotesRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public BatchCreateNotesRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public BatchCreateNotesRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BatchCreateNotesRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchCreateNotesRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<BatchCreateNotesRequest.Builder>
    • mergeFrom

      public BatchCreateNotesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchCreateNotesRequest.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      getParent in interface BatchCreateNotesRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.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;
      Specified by:
      getParentBytes in interface BatchCreateNotesRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      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;
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • 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;
      Returns:
      This builder for chaining.
    • setParentBytes

      public BatchCreateNotesRequest.Builder setParentBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getNotesCount

      public int getNotesCount()
      Description copied from interface: BatchCreateNotesRequestOrBuilder
       The notes to create.
       
      map<string, .grafeas.v1beta1.Note> notes = 2;
      Specified by:
      getNotesCount in interface BatchCreateNotesRequestOrBuilder
    • containsNotes

      public boolean containsNotes(String key)
       The notes to create.
       
      map<string, .grafeas.v1beta1.Note> notes = 2;
      Specified by:
      containsNotes in interface BatchCreateNotesRequestOrBuilder
    • getNotes

      @Deprecated public Map<String,Note> getNotes()
      Deprecated.
      Use getNotesMap() instead.
      Specified by:
      getNotes in interface BatchCreateNotesRequestOrBuilder
    • getNotesMap

      public Map<String,Note> getNotesMap()
       The notes to create.
       
      map<string, .grafeas.v1beta1.Note> notes = 2;
      Specified by:
      getNotesMap in interface BatchCreateNotesRequestOrBuilder
    • getNotesOrDefault

      public Note getNotesOrDefault(String key, Note defaultValue)
       The notes to create.
       
      map<string, .grafeas.v1beta1.Note> notes = 2;
      Specified by:
      getNotesOrDefault in interface BatchCreateNotesRequestOrBuilder
    • getNotesOrThrow

      public Note getNotesOrThrow(String key)
       The notes to create.
       
      map<string, .grafeas.v1beta1.Note> notes = 2;
      Specified by:
      getNotesOrThrow in interface BatchCreateNotesRequestOrBuilder
    • clearNotes

      public BatchCreateNotesRequest.Builder clearNotes()
    • removeNotes

      public BatchCreateNotesRequest.Builder removeNotes(String key)
       The notes to create.
       
      map<string, .grafeas.v1beta1.Note> notes = 2;
    • getMutableNotes

      @Deprecated public Map<String,Note> getMutableNotes()
      Deprecated.
      Use alternate mutation accessors instead.
    • putNotes

      public BatchCreateNotesRequest.Builder putNotes(String key, Note value)
       The notes to create.
       
      map<string, .grafeas.v1beta1.Note> notes = 2;
    • putAllNotes

      public BatchCreateNotesRequest.Builder putAllNotes(Map<String,Note> values)
       The notes to create.
       
      map<string, .grafeas.v1beta1.Note> notes = 2;
    • putNotesBuilderIfAbsent

      public Note.Builder putNotesBuilderIfAbsent(String key)
       The notes to create.
       
      map<string, .grafeas.v1beta1.Note> notes = 2;