Package net.sf.okapi.proto.textunitflat
Class Note
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- net.sf.okapi.proto.textunitflat.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 typeNote- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNote.AnnotatesProtobuf enumNote.Annotatesstatic classNote.BuilderProtobuf typeNotestatic classNote.PriorityProtobuf enumNote.Priority-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intANNOTATES_FIELD_NUMBERstatic intFROM_FIELD_NUMBERstatic intNOTE_FIELD_NUMBERstatic intPRIORITY_FIELD_NUMBERstatic intXMLLANG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Note.AnnotatesgetAnnotates()optional .Note.Annotates annotates = 5;intgetAnnotatesValue()optional .Note.Annotates annotates = 5;static NotegetDefaultInstance()NotegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFrom()optional string from = 3;com.google.protobuf.ByteStringgetFromBytes()optional string from = 3;StringgetNote()Requiredcom.google.protobuf.ByteStringgetNoteBytes()Requiredcom.google.protobuf.Parser<Note>getParserForType()Note.PrioritygetPriority()optional .Note.Priority priority = 4;intgetPriorityValue()optional .Note.Priority priority = 4;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetXmlLang()optionalcom.google.protobuf.ByteStringgetXmlLangBytes()optionalbooleanhasAnnotates()optional .Note.Annotates annotates = 5;booleanhasFrom()optional string from = 3;inthashCode()booleanhasPriority()optional .Note.Priority priority = 4;booleanhasXmlLang()optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Note.BuildernewBuilder()static Note.BuildernewBuilder(Note prototype)Note.BuildernewBuilderForType()protected Note.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NoteparseDelimitedFrom(InputStream input)static NoteparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NoteparseFrom(byte[] data)static NoteparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NoteparseFrom(com.google.protobuf.ByteString data)static NoteparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NoteparseFrom(com.google.protobuf.CodedInputStream input)static NoteparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NoteparseFrom(InputStream input)static NoteparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NoteparseFrom(ByteBuffer data)static NoteparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Note>parser()Note.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NOTE_FIELD_NUMBER
public static final int NOTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
XMLLANG_FIELD_NUMBER
public static final int XMLLANG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FROM_FIELD_NUMBER
public static final int FROM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATES_FIELD_NUMBER
public static final int ANNOTATES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getNote
public String getNote()
Required
string note = 1;- Specified by:
getNotein interfaceNoteOrBuilder- Returns:
- The note.
-
getNoteBytes
public com.google.protobuf.ByteString getNoteBytes()
Required
string note = 1;- Specified by:
getNoteBytesin interfaceNoteOrBuilder- Returns:
- The bytes for note.
-
hasXmlLang
public boolean hasXmlLang()
optional
optional string xmlLang = 2;- Specified by:
hasXmlLangin interfaceNoteOrBuilder- Returns:
- Whether the xmlLang field is set.
-
getXmlLang
public String getXmlLang()
optional
optional string xmlLang = 2;- Specified by:
getXmlLangin interfaceNoteOrBuilder- Returns:
- The xmlLang.
-
getXmlLangBytes
public com.google.protobuf.ByteString getXmlLangBytes()
optional
optional string xmlLang = 2;- Specified by:
getXmlLangBytesin interfaceNoteOrBuilder- Returns:
- The bytes for xmlLang.
-
hasFrom
public boolean hasFrom()
optional string from = 3;- Specified by:
hasFromin interfaceNoteOrBuilder- Returns:
- Whether the from field is set.
-
getFrom
public String getFrom()
optional string from = 3;- Specified by:
getFromin interfaceNoteOrBuilder- Returns:
- The from.
-
getFromBytes
public com.google.protobuf.ByteString getFromBytes()
optional string from = 3;- Specified by:
getFromBytesin interfaceNoteOrBuilder- Returns:
- The bytes for from.
-
hasPriority
public boolean hasPriority()
optional .Note.Priority priority = 4;- Specified by:
hasPriorityin interfaceNoteOrBuilder- Returns:
- Whether the priority field is set.
-
getPriorityValue
public int getPriorityValue()
optional .Note.Priority priority = 4;- Specified by:
getPriorityValuein interfaceNoteOrBuilder- Returns:
- The enum numeric value on the wire for priority.
-
getPriority
public Note.Priority getPriority()
optional .Note.Priority priority = 4;- Specified by:
getPriorityin interfaceNoteOrBuilder- Returns:
- The priority.
-
hasAnnotates
public boolean hasAnnotates()
optional .Note.Annotates annotates = 5;- Specified by:
hasAnnotatesin interfaceNoteOrBuilder- Returns:
- Whether the annotates field is set.
-
getAnnotatesValue
public int getAnnotatesValue()
optional .Note.Annotates annotates = 5;- Specified by:
getAnnotatesValuein interfaceNoteOrBuilder- Returns:
- The enum numeric value on the wire for annotates.
-
getAnnotates
public Note.Annotates getAnnotates()
optional .Note.Annotates annotates = 5;- Specified by:
getAnnotatesin interfaceNoteOrBuilder- Returns:
- The annotates.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Note parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Note parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Note parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Note parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Note.Builder newBuilder()
-
newBuilder
public static Note.Builder newBuilder(Note prototype)
-
toBuilder
public Note.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Note.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Note getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-