public static final class BilingualDictionaryProtos.Translation
extends com.google.protobuf.GeneratedMessage
Modifier and Type | Class and Description |
---|---|
static class |
BilingualDictionaryProtos.Translation.Builder |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
HEADWORD_FIELD_NUMBER |
static int |
TARGETWORDS_FIELD_NUMBER |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newGeneratedExtension, newRepeatedGeneratedExtension
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int HEADWORD_FIELD_NUMBER
public static final int TARGETWORDS_FIELD_NUMBER
public static BilingualDictionaryProtos.Translation getDefaultInstance()
public BilingualDictionaryProtos.Translation getDefaultInstanceForType()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public boolean hasHeadWord()
public String getHeadWord()
public int getTargetWordsCount()
public String getTargetWords(int index)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLite
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
public static BilingualDictionaryProtos.Translation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BilingualDictionaryProtos.Translation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BilingualDictionaryProtos.Translation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BilingualDictionaryProtos.Translation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BilingualDictionaryProtos.Translation parseFrom(InputStream input) throws IOException
IOException
public static BilingualDictionaryProtos.Translation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BilingualDictionaryProtos.Translation parseDelimitedFrom(InputStream input) throws IOException
IOException
public static BilingualDictionaryProtos.Translation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BilingualDictionaryProtos.Translation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static BilingualDictionaryProtos.Translation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BilingualDictionaryProtos.Translation.Builder newBuilder()
public BilingualDictionaryProtos.Translation.Builder newBuilderForType()
public static BilingualDictionaryProtos.Translation.Builder newBuilder(BilingualDictionaryProtos.Translation prototype)
public BilingualDictionaryProtos.Translation.Builder toBuilder()