Package net.sf.okapi.proto.textunitflat
Interface TextContainerOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TextContainer,TextContainer.Builder
public interface TextContainerOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AltTranslationgetAltTrans(int index)repeated .AltTranslation altTrans = 11;intgetAltTransCount()repeated .AltTranslation altTrans = 11;List<AltTranslation>getAltTransList()repeated .AltTranslation altTrans = 11;AltTranslationOrBuildergetAltTransOrBuilder(int index)repeated .AltTranslation altTrans = 11;List<? extends AltTranslationOrBuilder>getAltTransOrBuilderList()repeated .AltTranslation altTrans = 11;StringgetId()string id = 10;com.google.protobuf.ByteStringgetIdBytes()string id = 10;StringgetLocale()string locale = 8;com.google.protobuf.ByteStringgetLocaleBytes()string locale = 8;StringgetMimeType()string mimeType = 1;com.google.protobuf.ByteStringgetMimeTypeBytes()string mimeType = 1;StringgetName()optional string name = 2;com.google.protobuf.ByteStringgetNameBytes()optional string name = 2;NotegetNotes(int index)repeated .Note notes = 12;intgetNotesCount()repeated .Note notes = 12;List<Note>getNotesList()repeated .Note notes = 12;NoteOrBuildergetNotesOrBuilder(int index)repeated .Note notes = 12;List<? extends NoteOrBuilder>getNotesOrBuilderList()repeated .Note notes = 12;TextPartgetParts(int index)repeated .TextPart parts = 6;intgetPartsCount()repeated .TextPart parts = 6;List<TextPart>getPartsList()repeated .TextPart parts = 6;TextPartOrBuildergetPartsOrBuilder(int index)repeated .TextPart parts = 6;List<? extends TextPartOrBuilder>getPartsOrBuilderList()repeated .TextPart parts = 6;booleangetPreserveWS()bool preserveWS = 5;PropertygetProperties(int index)repeated .Property properties = 9;intgetPropertiesCount()repeated .Property properties = 9;List<Property>getPropertiesList()repeated .Property properties = 9;PropertyOrBuildergetPropertiesOrBuilder(int index)repeated .Property properties = 9;List<? extends PropertyOrBuilder>getPropertiesOrBuilderList()repeated .Property properties = 9;booleangetSegApplied()bool segApplied = 7;booleangetTranslatable()bool translatable = 4;StringgetTuType()string tuType = 3;com.google.protobuf.ByteStringgetTuTypeBytes()string tuType = 3;booleanhasName()optional string name = 2;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMimeType
String getMimeType()
string mimeType = 1;- Returns:
- The mimeType.
-
getMimeTypeBytes
com.google.protobuf.ByteString getMimeTypeBytes()
string mimeType = 1;- Returns:
- The bytes for mimeType.
-
hasName
boolean hasName()
optional string name = 2;- Returns:
- Whether the name field is set.
-
getName
String getName()
optional string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
optional string name = 2;- Returns:
- The bytes for name.
-
getTuType
String getTuType()
string tuType = 3;- Returns:
- The tuType.
-
getTuTypeBytes
com.google.protobuf.ByteString getTuTypeBytes()
string tuType = 3;- Returns:
- The bytes for tuType.
-
getTranslatable
boolean getTranslatable()
bool translatable = 4;- Returns:
- The translatable.
-
getPreserveWS
boolean getPreserveWS()
bool preserveWS = 5;- Returns:
- The preserveWS.
-
getParts
TextPart getParts(int index)
repeated .TextPart parts = 6;
-
getPartsCount
int getPartsCount()
repeated .TextPart parts = 6;
-
getPartsOrBuilderList
List<? extends TextPartOrBuilder> getPartsOrBuilderList()
repeated .TextPart parts = 6;
-
getPartsOrBuilder
TextPartOrBuilder getPartsOrBuilder(int index)
repeated .TextPart parts = 6;
-
getSegApplied
boolean getSegApplied()
bool segApplied = 7;- Returns:
- The segApplied.
-
getLocale
String getLocale()
string locale = 8;- Returns:
- The locale.
-
getLocaleBytes
com.google.protobuf.ByteString getLocaleBytes()
string locale = 8;- Returns:
- The bytes for locale.
-
getProperties
Property getProperties(int index)
repeated .Property properties = 9;
-
getPropertiesCount
int getPropertiesCount()
repeated .Property properties = 9;
-
getPropertiesOrBuilderList
List<? extends PropertyOrBuilder> getPropertiesOrBuilderList()
repeated .Property properties = 9;
-
getPropertiesOrBuilder
PropertyOrBuilder getPropertiesOrBuilder(int index)
repeated .Property properties = 9;
-
getId
String getId()
string id = 10;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
string id = 10;- Returns:
- The bytes for id.
-
getAltTransList
List<AltTranslation> getAltTransList()
repeated .AltTranslation altTrans = 11;
-
getAltTrans
AltTranslation getAltTrans(int index)
repeated .AltTranslation altTrans = 11;
-
getAltTransCount
int getAltTransCount()
repeated .AltTranslation altTrans = 11;
-
getAltTransOrBuilderList
List<? extends AltTranslationOrBuilder> getAltTransOrBuilderList()
repeated .AltTranslation altTrans = 11;
-
getAltTransOrBuilder
AltTranslationOrBuilder getAltTransOrBuilder(int index)
repeated .AltTranslation altTrans = 11;
-
getNotes
Note getNotes(int index)
repeated .Note notes = 12;
-
getNotesCount
int getNotesCount()
repeated .Note notes = 12;
-
getNotesOrBuilderList
List<? extends NoteOrBuilder> getNotesOrBuilderList()
repeated .Note notes = 12;
-
getNotesOrBuilder
NoteOrBuilder getNotesOrBuilder(int index)
repeated .Note notes = 12;
-
-