Package net.sf.okapi.proto
Class StartDocument
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- net.sf.okapi.proto.StartDocument
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,StartDocumentOrBuilder
public final class StartDocument extends com.google.protobuf.GeneratedMessageV3 implements StartDocumentOrBuilder
Protobuf typeStartDocument- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStartDocument.BuilderProtobuf typeStartDocument-
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 intENCODING_FIELD_NUMBERstatic intHASUTF8BOM_FIELD_NUMBERstatic intLINEBREAK_FIELD_NUMBERstatic intLOCALE_FIELD_NUMBERstatic intMULTILINGUAL_FIELD_NUMBERstatic intNAMEABLE_FIELD_NUMBERstatic intPARAMETERS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static StartDocumentgetDefaultInstance()StartDocumentgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetEncoding()string encoding = 4;com.google.protobuf.ByteStringgetEncodingBytes()string encoding = 4;booleangetHasUtf8Bom()bool hasUtf8Bom = 6;StringgetLineBreak()string lineBreak = 2;com.google.protobuf.ByteStringgetLineBreakBytes()string lineBreak = 2;StringgetLocale()string locale = 3;com.google.protobuf.ByteStringgetLocaleBytes()string locale = 3;booleangetMultilingual()bool multilingual = 5;INameablegetNameable().INameable nameable = 1;INameableOrBuildergetNameableOrBuilder().INameable nameable = 1;StringgetParameters()string parameters = 7;com.google.protobuf.ByteStringgetParametersBytes()string parameters = 7;com.google.protobuf.Parser<StartDocument>getParserForType()intgetSerializedSize()inthashCode()booleanhasNameable().INameable nameable = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static StartDocument.BuildernewBuilder()static StartDocument.BuildernewBuilder(StartDocument prototype)StartDocument.BuildernewBuilderForType()protected StartDocument.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StartDocumentparseDelimitedFrom(InputStream input)static StartDocumentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StartDocumentparseFrom(byte[] data)static StartDocumentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StartDocumentparseFrom(com.google.protobuf.ByteString data)static StartDocumentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StartDocumentparseFrom(com.google.protobuf.CodedInputStream input)static StartDocumentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StartDocumentparseFrom(InputStream input)static StartDocumentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StartDocumentparseFrom(ByteBuffer data)static StartDocumentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StartDocument>parser()StartDocument.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
-
LINEBREAK_FIELD_NUMBER
public static final int LINEBREAK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCALE_FIELD_NUMBER
public static final int LOCALE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCODING_FIELD_NUMBER
public static final int ENCODING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MULTILINGUAL_FIELD_NUMBER
public static final int MULTILINGUAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HASUTF8BOM_FIELD_NUMBER
public static final int HASUTF8BOM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_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 interfaceStartDocumentOrBuilder- Returns:
- Whether the nameable field is set.
-
getNameable
public INameable getNameable()
.INameable nameable = 1;- Specified by:
getNameablein interfaceStartDocumentOrBuilder- Returns:
- The nameable.
-
getNameableOrBuilder
public INameableOrBuilder getNameableOrBuilder()
.INameable nameable = 1;- Specified by:
getNameableOrBuilderin interfaceStartDocumentOrBuilder
-
getLineBreak
public String getLineBreak()
string lineBreak = 2;- Specified by:
getLineBreakin interfaceStartDocumentOrBuilder- Returns:
- The lineBreak.
-
getLineBreakBytes
public com.google.protobuf.ByteString getLineBreakBytes()
string lineBreak = 2;- Specified by:
getLineBreakBytesin interfaceStartDocumentOrBuilder- Returns:
- The bytes for lineBreak.
-
getLocale
public String getLocale()
string locale = 3;- Specified by:
getLocalein interfaceStartDocumentOrBuilder- Returns:
- The locale.
-
getLocaleBytes
public com.google.protobuf.ByteString getLocaleBytes()
string locale = 3;- Specified by:
getLocaleBytesin interfaceStartDocumentOrBuilder- Returns:
- The bytes for locale.
-
getEncoding
public String getEncoding()
string encoding = 4;- Specified by:
getEncodingin interfaceStartDocumentOrBuilder- Returns:
- The encoding.
-
getEncodingBytes
public com.google.protobuf.ByteString getEncodingBytes()
string encoding = 4;- Specified by:
getEncodingBytesin interfaceStartDocumentOrBuilder- Returns:
- The bytes for encoding.
-
getMultilingual
public boolean getMultilingual()
bool multilingual = 5;- Specified by:
getMultilingualin interfaceStartDocumentOrBuilder- Returns:
- The multilingual.
-
getHasUtf8Bom
public boolean getHasUtf8Bom()
bool hasUtf8Bom = 6;- Specified by:
getHasUtf8Bomin interfaceStartDocumentOrBuilder- Returns:
- The hasUtf8Bom.
-
getParameters
public String getParameters()
string parameters = 7;- Specified by:
getParametersin interfaceStartDocumentOrBuilder- Returns:
- The parameters.
-
getParametersBytes
public com.google.protobuf.ByteString getParametersBytes()
string parameters = 7;- Specified by:
getParametersBytesin interfaceStartDocumentOrBuilder- Returns:
- The bytes for parameters.
-
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 StartDocument parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartDocument parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartDocument parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartDocument parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartDocument parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartDocument parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartDocument parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StartDocument parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StartDocument parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StartDocument parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static StartDocument parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StartDocument parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public StartDocument.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StartDocument.Builder newBuilder()
-
newBuilder
public static StartDocument.Builder newBuilder(StartDocument prototype)
-
toBuilder
public StartDocument.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StartDocument.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StartDocument getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StartDocument> parser()
-
getParserForType
public com.google.protobuf.Parser<StartDocument> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StartDocument getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-