public static final class TranslationProtos.TranslateRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<TranslationProtos.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 TranslationProtos.TranslateRequest internalGetResult()
internalGetResult
in class com.google.protobuf.GeneratedMessage.Builder<TranslationProtos.TranslateRequest.Builder>
public TranslationProtos.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<TranslationProtos.TranslateRequest.Builder>
public TranslationProtos.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<TranslationProtos.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<TranslationProtos.TranslateRequest.Builder>
public TranslationProtos.TranslateRequest getDefaultInstanceForType()
public boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLite.Builder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<TranslationProtos.TranslateRequest.Builder>
public TranslationProtos.TranslateRequest build()
public TranslationProtos.TranslateRequest buildPartial()
public TranslationProtos.TranslateRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TranslationProtos.TranslateRequest.Builder>
public TranslationProtos.TranslateRequest.Builder mergeFrom(TranslationProtos.TranslateRequest other)
public TranslationProtos.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<TranslationProtos.TranslateRequest.Builder>
IOException
public List<CommonProtos.Header> getHeadersList()
public int getHeadersCount()
public CommonProtos.Header getHeaders(int index)
public TranslationProtos.TranslateRequest.Builder setHeaders(int index, CommonProtos.Header value)
public TranslationProtos.TranslateRequest.Builder setHeaders(int index, CommonProtos.Header.Builder builderForValue)
public TranslationProtos.TranslateRequest.Builder addHeaders(CommonProtos.Header value)
public TranslationProtos.TranslateRequest.Builder addHeaders(CommonProtos.Header.Builder builderForValue)
public TranslationProtos.TranslateRequest.Builder addAllHeaders(Iterable<? extends CommonProtos.Header> values)
public TranslationProtos.TranslateRequest.Builder clearHeaders()
public boolean hasSourceLang()
public String getSourceLang()
public TranslationProtos.TranslateRequest.Builder setSourceLang(String value)
public TranslationProtos.TranslateRequest.Builder clearSourceLang()
public boolean hasTargetLang()
public String getTargetLang()
public TranslationProtos.TranslateRequest.Builder setTargetLang(String value)
public TranslationProtos.TranslateRequest.Builder clearTargetLang()
public boolean hasSource()
public String getSource()
public TranslationProtos.TranslateRequest.Builder setSource(String value)
public TranslationProtos.TranslateRequest.Builder clearSource()