public static final class TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder>
addRepeatedField, clearField, getAllFields, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, mergeUnknownFields, newBuilderForField, parseUnknownField, setField, setRepeatedField, setUnknownFields
mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
protected TranslationWithTemporalDictionaryProtos.TranslateRequest internalGetResult()
internalGetResult
in class com.google.protobuf.GeneratedMessage.Builder<TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder>
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.AbstractMessage.Builder<TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder>
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder>
public TranslationWithTemporalDictionaryProtos.TranslateRequest getDefaultInstanceForType()
public boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLite.Builder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder>
public TranslationWithTemporalDictionaryProtos.TranslateRequest build()
public TranslationWithTemporalDictionaryProtos.TranslateRequest buildPartial()
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder>
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder mergeFrom(TranslationWithTemporalDictionaryProtos.TranslateRequest other)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder>
IOException
public List<CommonProtos.Header> getHeadersList()
public int getHeadersCount()
public CommonProtos.Header getHeaders(int index)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder setHeaders(int index, CommonProtos.Header value)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder setHeaders(int index, CommonProtos.Header.Builder builderForValue)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder addHeaders(CommonProtos.Header value)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder addHeaders(CommonProtos.Header.Builder builderForValue)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder addAllHeaders(Iterable<? extends CommonProtos.Header> values)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder clearHeaders()
public boolean hasSourceLang()
public String getSourceLang()
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder setSourceLang(String value)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder clearSourceLang()
public boolean hasTargetLang()
public String getTargetLang()
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder setTargetLang(String value)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder clearTargetLang()
public boolean hasSource()
public String getSource()
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder setSource(String value)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder clearSource()
public List<BilingualDictionaryProtos.Translation> getTemporalDictionaryList()
public int getTemporalDictionaryCount()
public BilingualDictionaryProtos.Translation getTemporalDictionary(int index)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder setTemporalDictionary(int index, BilingualDictionaryProtos.Translation value)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder setTemporalDictionary(int index, BilingualDictionaryProtos.Translation.Builder builderForValue)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder addTemporalDictionary(BilingualDictionaryProtos.Translation value)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder addTemporalDictionary(BilingualDictionaryProtos.Translation.Builder builderForValue)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder addAllTemporalDictionary(Iterable<? extends BilingualDictionaryProtos.Translation> values)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder clearTemporalDictionary()
public boolean hasDictionaryTargetLang()
public String getDictionaryTargetLang()
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder setDictionaryTargetLang(String value)
public TranslationWithTemporalDictionaryProtos.TranslateRequest.Builder clearDictionaryTargetLang()