Package net.sf.okapi.proto
Class Note
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- net.sf.okapi.proto.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 class
Note.Annotates
Protobuf enumNote.Annotates
static class
Note.Builder
Protobuf typeNote
static class
Note.Priority
Protobuf enumNote.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
-
-
Field Summary
Fields Modifier and Type Field Description static int
ANNOTATES_FIELD_NUMBER
static int
FROM_FIELD_NUMBER
static int
NOTE_FIELD_NUMBER
static int
PRIORITY_FIELD_NUMBER
static int
XMLLANG_FIELD_NUMBER
-
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()
Requiredcom.google.protobuf.ByteString
getNoteBytes()
Requiredcom.google.protobuf.Parser<Note>
getParserForType()
Note.Priority
getPriority()
optional .Note.Priority priority = 4;
int
getPriorityValue()
optional .Note.Priority priority = 4;
int
getSerializedSize()
String
getXmlLang()
optionalcom.google.protobuf.ByteString
getXmlLangBytes()
optionalboolean
hasAnnotates()
optional .Note.Annotates annotates = 5;
boolean
hasFrom()
optional string from = 3;
int
hashCode()
boolean
hasPriority()
optional .Note.Priority priority = 4;
boolean
hasXmlLang()
optionalprotected 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 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:
newInstance
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
getNote
public String getNote()
Required
string note = 1;
- Specified by:
getNote
in interfaceNoteOrBuilder
- Returns:
- The note.
-
getNoteBytes
public com.google.protobuf.ByteString getNoteBytes()
Required
string note = 1;
- Specified by:
getNoteBytes
in interfaceNoteOrBuilder
- Returns:
- The bytes for note.
-
hasXmlLang
public boolean hasXmlLang()
optional
optional string xmlLang = 2;
- Specified by:
hasXmlLang
in interfaceNoteOrBuilder
- Returns:
- Whether the xmlLang field is set.
-
getXmlLang
public String getXmlLang()
optional
optional string xmlLang = 2;
- Specified by:
getXmlLang
in interfaceNoteOrBuilder
- Returns:
- The xmlLang.
-
getXmlLangBytes
public com.google.protobuf.ByteString getXmlLangBytes()
optional
optional string xmlLang = 2;
- Specified by:
getXmlLangBytes
in interfaceNoteOrBuilder
- Returns:
- The bytes for xmlLang.
-
hasFrom
public boolean hasFrom()
optional string from = 3;
- Specified by:
hasFrom
in interfaceNoteOrBuilder
- Returns:
- Whether the from field is set.
-
getFrom
public String getFrom()
optional string from = 3;
- Specified by:
getFrom
in interfaceNoteOrBuilder
- Returns:
- The from.
-
getFromBytes
public com.google.protobuf.ByteString getFromBytes()
optional string from = 3;
- Specified by:
getFromBytes
in interfaceNoteOrBuilder
- Returns:
- The bytes for from.
-
hasPriority
public boolean hasPriority()
optional .Note.Priority priority = 4;
- Specified by:
hasPriority
in interfaceNoteOrBuilder
- Returns:
- Whether the priority field is set.
-
getPriorityValue
public int getPriorityValue()
optional .Note.Priority priority = 4;
- Specified by:
getPriorityValue
in interfaceNoteOrBuilder
- Returns:
- The enum numeric value on the wire for priority.
-
getPriority
public Note.Priority getPriority()
optional .Note.Priority priority = 4;
- Specified by:
getPriority
in interfaceNoteOrBuilder
- Returns:
- The priority.
-
hasAnnotates
public boolean hasAnnotates()
optional .Note.Annotates annotates = 5;
- Specified by:
hasAnnotates
in interfaceNoteOrBuilder
- Returns:
- Whether the annotates field is set.
-
getAnnotatesValue
public int getAnnotatesValue()
optional .Note.Annotates annotates = 5;
- Specified by:
getAnnotatesValue
in interfaceNoteOrBuilder
- Returns:
- The enum numeric value on the wire for annotates.
-
getAnnotates
public Note.Annotates getAnnotates()
optional .Note.Annotates annotates = 5;
- Specified by:
getAnnotates
in interfaceNoteOrBuilder
- Returns:
- The annotates.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Note.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Note getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-