Package net.sf.okapi.proto
Class TextContainer
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- net.sf.okapi.proto.TextContainer
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,TextContainerOrBuilder
public final class TextContainer extends com.google.protobuf.GeneratedMessageV3 implements TextContainerOrBuilder
Protobuf typeTextContainer- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextContainer.BuilderProtobuf typeTextContainer-
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 intALTTRANS_FIELD_NUMBERstatic intLOCALE_FIELD_NUMBERstatic intNAMEABLE_FIELD_NUMBERstatic intNOTES_FIELD_NUMBERstatic intPARTS_FIELD_NUMBERstatic intSEGAPPLIED_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AltTranslationgetAltTrans(int index)repeated .AltTranslation altTrans = 5;intgetAltTransCount()repeated .AltTranslation altTrans = 5;List<AltTranslation>getAltTransList()repeated .AltTranslation altTrans = 5;AltTranslationOrBuildergetAltTransOrBuilder(int index)repeated .AltTranslation altTrans = 5;List<? extends AltTranslationOrBuilder>getAltTransOrBuilderList()repeated .AltTranslation altTrans = 5;static TextContainergetDefaultInstance()TextContainergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetLocale()string locale = 2;com.google.protobuf.ByteStringgetLocaleBytes()string locale = 2;INameablegetNameable().INameable nameable = 1;INameableOrBuildergetNameableOrBuilder().INameable nameable = 1;NotegetNotes(int index)repeated .Note notes = 6;intgetNotesCount()repeated .Note notes = 6;List<Note>getNotesList()repeated .Note notes = 6;NoteOrBuildergetNotesOrBuilder(int index)repeated .Note notes = 6;List<? extends NoteOrBuilder>getNotesOrBuilderList()repeated .Note notes = 6;com.google.protobuf.Parser<TextContainer>getParserForType()TextPartgetParts(int index)repeated .TextPart parts = 3;intgetPartsCount()repeated .TextPart parts = 3;List<TextPart>getPartsList()repeated .TextPart parts = 3;TextPartOrBuildergetPartsOrBuilder(int index)repeated .TextPart parts = 3;List<? extends TextPartOrBuilder>getPartsOrBuilderList()repeated .TextPart parts = 3;booleangetSegApplied()bool segApplied = 4;intgetSerializedSize()inthashCode()booleanhasNameable().INameable nameable = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static TextContainer.BuildernewBuilder()static TextContainer.BuildernewBuilder(TextContainer prototype)TextContainer.BuildernewBuilderForType()protected TextContainer.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TextContainerparseDelimitedFrom(InputStream input)static TextContainerparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TextContainerparseFrom(byte[] data)static TextContainerparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TextContainerparseFrom(com.google.protobuf.ByteString data)static TextContainerparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TextContainerparseFrom(com.google.protobuf.CodedInputStream input)static TextContainerparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TextContainerparseFrom(InputStream input)static TextContainerparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TextContainerparseFrom(ByteBuffer data)static TextContainerparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TextContainer>parser()TextContainer.BuildertoBuilder()voidwriteTo(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
-
NAMEABLE_FIELD_NUMBER
public static final int NAMEABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCALE_FIELD_NUMBER
public static final int LOCALE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTS_FIELD_NUMBER
public static final int PARTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEGAPPLIED_FIELD_NUMBER
public static final int SEGAPPLIED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALTTRANS_FIELD_NUMBER
public static final int ALTTRANS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOTES_FIELD_NUMBER
public static final int NOTES_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
-
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
-
hasNameable
public boolean hasNameable()
.INameable nameable = 1;- Specified by:
hasNameablein interfaceTextContainerOrBuilder- Returns:
- Whether the nameable field is set.
-
getNameable
public INameable getNameable()
.INameable nameable = 1;- Specified by:
getNameablein interfaceTextContainerOrBuilder- Returns:
- The nameable.
-
getNameableOrBuilder
public INameableOrBuilder getNameableOrBuilder()
.INameable nameable = 1;- Specified by:
getNameableOrBuilderin interfaceTextContainerOrBuilder
-
getLocale
public String getLocale()
string locale = 2;- Specified by:
getLocalein interfaceTextContainerOrBuilder- Returns:
- The locale.
-
getLocaleBytes
public com.google.protobuf.ByteString getLocaleBytes()
string locale = 2;- Specified by:
getLocaleBytesin interfaceTextContainerOrBuilder- Returns:
- The bytes for locale.
-
getPartsList
public List<TextPart> getPartsList()
repeated .TextPart parts = 3;- Specified by:
getPartsListin interfaceTextContainerOrBuilder
-
getPartsOrBuilderList
public List<? extends TextPartOrBuilder> getPartsOrBuilderList()
repeated .TextPart parts = 3;- Specified by:
getPartsOrBuilderListin interfaceTextContainerOrBuilder
-
getPartsCount
public int getPartsCount()
repeated .TextPart parts = 3;- Specified by:
getPartsCountin interfaceTextContainerOrBuilder
-
getParts
public TextPart getParts(int index)
repeated .TextPart parts = 3;- Specified by:
getPartsin interfaceTextContainerOrBuilder
-
getPartsOrBuilder
public TextPartOrBuilder getPartsOrBuilder(int index)
repeated .TextPart parts = 3;- Specified by:
getPartsOrBuilderin interfaceTextContainerOrBuilder
-
getSegApplied
public boolean getSegApplied()
bool segApplied = 4;- Specified by:
getSegAppliedin interfaceTextContainerOrBuilder- Returns:
- The segApplied.
-
getAltTransList
public List<AltTranslation> getAltTransList()
repeated .AltTranslation altTrans = 5;- Specified by:
getAltTransListin interfaceTextContainerOrBuilder
-
getAltTransOrBuilderList
public List<? extends AltTranslationOrBuilder> getAltTransOrBuilderList()
repeated .AltTranslation altTrans = 5;- Specified by:
getAltTransOrBuilderListin interfaceTextContainerOrBuilder
-
getAltTransCount
public int getAltTransCount()
repeated .AltTranslation altTrans = 5;- Specified by:
getAltTransCountin interfaceTextContainerOrBuilder
-
getAltTrans
public AltTranslation getAltTrans(int index)
repeated .AltTranslation altTrans = 5;- Specified by:
getAltTransin interfaceTextContainerOrBuilder
-
getAltTransOrBuilder
public AltTranslationOrBuilder getAltTransOrBuilder(int index)
repeated .AltTranslation altTrans = 5;- Specified by:
getAltTransOrBuilderin interfaceTextContainerOrBuilder
-
getNotesList
public List<Note> getNotesList()
repeated .Note notes = 6;- Specified by:
getNotesListin interfaceTextContainerOrBuilder
-
getNotesOrBuilderList
public List<? extends NoteOrBuilder> getNotesOrBuilderList()
repeated .Note notes = 6;- Specified by:
getNotesOrBuilderListin interfaceTextContainerOrBuilder
-
getNotesCount
public int getNotesCount()
repeated .Note notes = 6;- Specified by:
getNotesCountin interfaceTextContainerOrBuilder
-
getNotes
public Note getNotes(int index)
repeated .Note notes = 6;- Specified by:
getNotesin interfaceTextContainerOrBuilder
-
getNotesOrBuilder
public NoteOrBuilder getNotesOrBuilder(int index)
repeated .Note notes = 6;- Specified by:
getNotesOrBuilderin interfaceTextContainerOrBuilder
-
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 TextContainer parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TextContainer parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TextContainer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TextContainer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TextContainer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TextContainer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TextContainer parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TextContainer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TextContainer parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TextContainer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TextContainer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TextContainer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TextContainer.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TextContainer.Builder newBuilder()
-
newBuilder
public static TextContainer.Builder newBuilder(TextContainer prototype)
-
toBuilder
public TextContainer.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TextContainer.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TextContainer getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TextContainer> parser()
-
getParserForType
public com.google.protobuf.Parser<TextContainer> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TextContainer getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-