Class Note

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, NoteOrBuilder

    public final class Note
    extends com.google.protobuf.GeneratedMessageV3
    implements NoteOrBuilder
    Protobuf type Note
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Note.Annotates
      Protobuf enum Note.Annotates
      static class  Note.Builder
      Protobuf type Note
      static class  Note.Priority
      Protobuf enum Note.Priority
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(Object obj)  
      Note.Annotates getAnnotates()
      optional .Note.Annotates annotates = 5;
      int getAnnotatesValue()
      optional .Note.Annotates annotates = 5;
      static Note getDefaultInstance()  
      Note getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      String getFrom()
      optional string from = 3;
      com.google.protobuf.ByteString getFromBytes()
      optional string from = 3;
      String getNote()
      Required
      com.google.protobuf.ByteString getNoteBytes()
      Required
      com.google.protobuf.Parser<Note> getParserForType()  
      Note.Priority getPriority()
      optional .Note.Priority priority = 4;
      int getPriorityValue()
      optional .Note.Priority priority = 4;
      int getSerializedSize()  
      String getXmlLang()
      optional
      com.google.protobuf.ByteString getXmlLangBytes()
      optional
      boolean hasAnnotates()
      optional .Note.Annotates annotates = 5;
      boolean hasFrom()
      optional string from = 3;
      int hashCode()  
      boolean hasPriority()
      optional .Note.Priority priority = 4;
      boolean hasXmlLang()
      optional
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      static Note.Builder newBuilder()  
      static Note.Builder newBuilder​(Note prototype)  
      Note.Builder newBuilderForType()  
      protected Note.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static Note parseDelimitedFrom​(InputStream input)  
      static Note parseDelimitedFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Note parseFrom​(byte[] data)  
      static Note parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Note parseFrom​(com.google.protobuf.ByteString data)  
      static Note parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Note parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Note parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Note parseFrom​(InputStream input)  
      static Note parseFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Note parseFrom​(ByteBuffer data)  
      static Note parseFrom​(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Note> parser()  
      Note.Builder toBuilder()  
      void writeTo​(com.google.protobuf.CodedOutputStream output)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3

        canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
      • Methods inherited from class com.google.protobuf.AbstractMessage

        findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getNote

        public String getNote()
         Required
         
        string note = 1;
        Specified by:
        getNote in interface NoteOrBuilder
        Returns:
        The note.
      • getNoteBytes

        public com.google.protobuf.ByteString getNoteBytes()
         Required
         
        string note = 1;
        Specified by:
        getNoteBytes in interface NoteOrBuilder
        Returns:
        The bytes for note.
      • hasXmlLang

        public boolean hasXmlLang()
         optional
         
        optional string xmlLang = 2;
        Specified by:
        hasXmlLang in interface NoteOrBuilder
        Returns:
        Whether the xmlLang field is set.
      • getXmlLang

        public String getXmlLang()
         optional
         
        optional string xmlLang = 2;
        Specified by:
        getXmlLang in interface NoteOrBuilder
        Returns:
        The xmlLang.
      • getXmlLangBytes

        public com.google.protobuf.ByteString getXmlLangBytes()
         optional
         
        optional string xmlLang = 2;
        Specified by:
        getXmlLangBytes in interface NoteOrBuilder
        Returns:
        The bytes for xmlLang.
      • hasFrom

        public boolean hasFrom()
        optional string from = 3;
        Specified by:
        hasFrom in interface NoteOrBuilder
        Returns:
        Whether the from field is set.
      • getFrom

        public String getFrom()
        optional string from = 3;
        Specified by:
        getFrom in interface NoteOrBuilder
        Returns:
        The from.
      • getFromBytes

        public com.google.protobuf.ByteString getFromBytes()
        optional string from = 3;
        Specified by:
        getFromBytes in interface NoteOrBuilder
        Returns:
        The bytes for from.
      • hasPriority

        public boolean hasPriority()
        optional .Note.Priority priority = 4;
        Specified by:
        hasPriority in interface NoteOrBuilder
        Returns:
        Whether the priority field is set.
      • getPriorityValue

        public int getPriorityValue()
        optional .Note.Priority priority = 4;
        Specified by:
        getPriorityValue in interface NoteOrBuilder
        Returns:
        The enum numeric value on the wire for priority.
      • hasAnnotates

        public boolean hasAnnotates()
        optional .Note.Annotates annotates = 5;
        Specified by:
        hasAnnotates in interface NoteOrBuilder
        Returns:
        Whether the annotates field is set.
      • getAnnotatesValue

        public int getAnnotatesValue()
        optional .Note.Annotates annotates = 5;
        Specified by:
        getAnnotatesValue in interface NoteOrBuilder
        Returns:
        The enum numeric value on the wire for annotates.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Note parseFrom​(ByteBuffer data)
                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Note parseFrom​(ByteBuffer data,
                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Note parseFrom​(com.google.protobuf.ByteString data)
                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Note parseFrom​(com.google.protobuf.ByteString data,
                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Note parseFrom​(byte[] data)
                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Note parseFrom​(byte[] data,
                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Note parseFrom​(com.google.protobuf.CodedInputStream input,
                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                              throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Note.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Note.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Note.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Note getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Note> parser()
      • getParserForType

        public com.google.protobuf.Parser<Note> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Note getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder