Class CreateNoteRequest.Builder

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

public static final class CreateNoteRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateNoteRequest.Builder> implements CreateNoteRequestOrBuilder
 Request to create a new note.
 
Protobuf type grafeas.v1beta1.CreateNoteRequest
  • Method Details

    • getDescriptor

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

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

      public CreateNoteRequest.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<CreateNoteRequest.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<CreateNoteRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public CreateNoteRequest.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<CreateNoteRequest.Builder>
    • mergeFrom

      public CreateNoteRequest.Builder mergeFrom(CreateNoteRequest other)
    • isInitialized

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

      public CreateNoteRequest.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<CreateNoteRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       The name of the project in the form of `projects/[PROJECT_ID]`, under which
       the note is to be created.
       
      string parent = 1;
      Specified by:
      getParent in interface CreateNoteRequestOrBuilder
      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 note is to be created.
       
      string parent = 1;
      Specified by:
      getParentBytes in interface CreateNoteRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateNoteRequest.Builder setParent(String value)
       The name of the project in the form of `projects/[PROJECT_ID]`, under which
       the note is to be created.
       
      string parent = 1;
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public CreateNoteRequest.Builder clearParent()
       The name of the project in the form of `projects/[PROJECT_ID]`, under which
       the note is to be created.
       
      string parent = 1;
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateNoteRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       The name of the project in the form of `projects/[PROJECT_ID]`, under which
       the note is to be created.
       
      string parent = 1;
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getNoteId

      public String getNoteId()
       The ID to use for this note.
       
      string note_id = 2;
      Specified by:
      getNoteId in interface CreateNoteRequestOrBuilder
      Returns:
      The noteId.
    • getNoteIdBytes

      public com.google.protobuf.ByteString getNoteIdBytes()
       The ID to use for this note.
       
      string note_id = 2;
      Specified by:
      getNoteIdBytes in interface CreateNoteRequestOrBuilder
      Returns:
      The bytes for noteId.
    • setNoteId

      public CreateNoteRequest.Builder setNoteId(String value)
       The ID to use for this note.
       
      string note_id = 2;
      Parameters:
      value - The noteId to set.
      Returns:
      This builder for chaining.
    • clearNoteId

      public CreateNoteRequest.Builder clearNoteId()
       The ID to use for this note.
       
      string note_id = 2;
      Returns:
      This builder for chaining.
    • setNoteIdBytes

      public CreateNoteRequest.Builder setNoteIdBytes(com.google.protobuf.ByteString value)
       The ID to use for this note.
       
      string note_id = 2;
      Parameters:
      value - The bytes for noteId to set.
      Returns:
      This builder for chaining.
    • hasNote

      public boolean hasNote()
       The note to create.
       
      .grafeas.v1beta1.Note note = 3;
      Specified by:
      hasNote in interface CreateNoteRequestOrBuilder
      Returns:
      Whether the note field is set.
    • getNote

      public Note getNote()
       The note to create.
       
      .grafeas.v1beta1.Note note = 3;
      Specified by:
      getNote in interface CreateNoteRequestOrBuilder
      Returns:
      The note.
    • setNote

      public CreateNoteRequest.Builder setNote(Note value)
       The note to create.
       
      .grafeas.v1beta1.Note note = 3;
    • setNote

      public CreateNoteRequest.Builder setNote(Note.Builder builderForValue)
       The note to create.
       
      .grafeas.v1beta1.Note note = 3;
    • mergeNote

      public CreateNoteRequest.Builder mergeNote(Note value)
       The note to create.
       
      .grafeas.v1beta1.Note note = 3;
    • clearNote

      public CreateNoteRequest.Builder clearNote()
       The note to create.
       
      .grafeas.v1beta1.Note note = 3;
    • getNoteBuilder

      public Note.Builder getNoteBuilder()
       The note to create.
       
      .grafeas.v1beta1.Note note = 3;
    • getNoteOrBuilder

      public NoteOrBuilder getNoteOrBuilder()
       The note to create.
       
      .grafeas.v1beta1.Note note = 3;
      Specified by:
      getNoteOrBuilder in interface CreateNoteRequestOrBuilder