Package net.sf.okapi.proto
Interface NoteOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Note,Note.Builder
public interface NoteOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Note.AnnotatesgetAnnotates()optional .Note.Annotates annotates = 5;intgetAnnotatesValue()optional .Note.Annotates annotates = 5;StringgetFrom()optional string from = 3;com.google.protobuf.ByteStringgetFromBytes()optional string from = 3;StringgetNote()Requiredcom.google.protobuf.ByteStringgetNoteBytes()RequiredNote.PrioritygetPriority()optional .Note.Priority priority = 4;intgetPriorityValue()optional .Note.Priority priority = 4;StringgetXmlLang()optionalcom.google.protobuf.ByteStringgetXmlLangBytes()optionalbooleanhasAnnotates()optional .Note.Annotates annotates = 5;booleanhasFrom()optional string from = 3;booleanhasPriority()optional .Note.Priority priority = 4;booleanhasXmlLang()optional-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNote
String getNote()
Required
string note = 1;- Returns:
- The note.
-
getNoteBytes
com.google.protobuf.ByteString getNoteBytes()
Required
string note = 1;- Returns:
- The bytes for note.
-
hasXmlLang
boolean hasXmlLang()
optional
optional string xmlLang = 2;- Returns:
- Whether the xmlLang field is set.
-
getXmlLang
String getXmlLang()
optional
optional string xmlLang = 2;- Returns:
- The xmlLang.
-
getXmlLangBytes
com.google.protobuf.ByteString getXmlLangBytes()
optional
optional string xmlLang = 2;- Returns:
- The bytes for xmlLang.
-
hasFrom
boolean hasFrom()
optional string from = 3;- Returns:
- Whether the from field is set.
-
getFrom
String getFrom()
optional string from = 3;- Returns:
- The from.
-
getFromBytes
com.google.protobuf.ByteString getFromBytes()
optional string from = 3;- Returns:
- The bytes for from.
-
hasPriority
boolean hasPriority()
optional .Note.Priority priority = 4;- Returns:
- Whether the priority field is set.
-
getPriorityValue
int getPriorityValue()
optional .Note.Priority priority = 4;- Returns:
- The enum numeric value on the wire for priority.
-
getPriority
Note.Priority getPriority()
optional .Note.Priority priority = 4;- Returns:
- The priority.
-
hasAnnotates
boolean hasAnnotates()
optional .Note.Annotates annotates = 5;- Returns:
- Whether the annotates field is set.
-
getAnnotatesValue
int getAnnotatesValue()
optional .Note.Annotates annotates = 5;- Returns:
- The enum numeric value on the wire for annotates.
-
getAnnotates
Note.Annotates getAnnotates()
optional .Note.Annotates annotates = 5;- Returns:
- The annotates.
-
-