public static final class TranslationWithTemporalDictionaryProtos.TranslateRequest
extends com.google.protobuf.GeneratedMessage
Modifier and Type | Class and Description |
---|---|
static class |
TranslationWithTemporalDictionaryProtos.TranslateRequest.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 |
DICTIONARYTARGETLANG_FIELD_NUMBER |
static int |
HEADERS_FIELD_NUMBER |
static int |
SOURCE_FIELD_NUMBER |
static int |
SOURCELANG_FIELD_NUMBER |
static int |
TARGETLANG_FIELD_NUMBER |
static int |
TEMPORALDICTIONARY_FIELD_NUMBER |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newGeneratedExtension, newRepeatedGeneratedExtension
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int HEADERS_FIELD_NUMBER
public static final int SOURCELANG_FIELD_NUMBER
public static final int TARGETLANG_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
public static final int TEMPORALDICTIONARY_FIELD_NUMBER
public static final int DICTIONARYTARGETLANG_FIELD_NUMBER
public static TranslationWithTemporalDictionaryProtos.TranslateRequest getDefaultInstance()
public TranslationWithTemporalDictionaryProtos.TranslateRequest 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 List<CommonProtos.Header> getHeadersList()
public int getHeadersCount()
public CommonProtos.Header getHeaders(int index)
public boolean hasSourceLang()
public String getSourceLang()
public boolean hasTargetLang()
public String getTargetLang()
public boolean hasSource()
public String getSource()
public List<BilingualDictionaryProtos.Translation> getTemporalDictionaryList()
public int getTemporalDictionaryCount()
public BilingualDictionaryProtos.Translation getTemporalDictionary(int index)
public boolean hasDictionaryTargetLang()
public String getDictionaryTargetLang()
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 TranslationWithTemporalDictionaryProtos.TranslateRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TranslationWithTemporalDictionaryProtos.TranslateRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TranslationWithTemporalDictionaryProtos.TranslateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TranslationWithTemporalDictionaryProtos.TranslateRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TranslationWithTemporalDictionaryProtos.TranslateRequest parseFrom(InputStream input) throws IOException
IOException
public static TranslationWithTemporalDictionaryProtos.TranslateRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TranslationWithTemporalDictionaryProtos.TranslateRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TranslationWithTemporalDictionaryProtos.TranslateRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TranslationWithTemporalDictionaryProtos.TranslateRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TranslationWithTemporalDictionaryProtos.TranslateRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder newBuilder()
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder newBuilderForType()
public static TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder newBuilder(TranslationWithTemporalDictionaryProtos.TranslateRequest prototype)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder toBuilder()