public static final class TranslationProtos.TranslateResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<TranslationProtos.TranslateResponse.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.TranslateResponse internalGetResult()
internalGetResult
in class com.google.protobuf.GeneratedMessage.Builder<TranslationProtos.TranslateResponse.Builder>
public TranslationProtos.TranslateResponse.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.TranslateResponse.Builder>
public TranslationProtos.TranslateResponse.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.TranslateResponse.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.TranslateResponse.Builder>
public TranslationProtos.TranslateResponse getDefaultInstanceForType()
public boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLite.Builder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<TranslationProtos.TranslateResponse.Builder>
public TranslationProtos.TranslateResponse build()
public TranslationProtos.TranslateResponse buildPartial()
public TranslationProtos.TranslateResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TranslationProtos.TranslateResponse.Builder>
public TranslationProtos.TranslateResponse.Builder mergeFrom(TranslationProtos.TranslateResponse other)
public TranslationProtos.TranslateResponse.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.TranslateResponse.Builder>
IOException
public List<CommonProtos.Header> getHeadersList()
public int getHeadersCount()
public CommonProtos.Header getHeaders(int index)
public TranslationProtos.TranslateResponse.Builder setHeaders(int index, CommonProtos.Header value)
public TranslationProtos.TranslateResponse.Builder setHeaders(int index, CommonProtos.Header.Builder builderForValue)
public TranslationProtos.TranslateResponse.Builder addHeaders(CommonProtos.Header value)
public TranslationProtos.TranslateResponse.Builder addHeaders(CommonProtos.Header.Builder builderForValue)
public TranslationProtos.TranslateResponse.Builder addAllHeaders(Iterable<? extends CommonProtos.Header> values)
public TranslationProtos.TranslateResponse.Builder clearHeaders()
public boolean hasFault()
public CommonProtos.Fault getFault()
public TranslationProtos.TranslateResponse.Builder setFault(CommonProtos.Fault value)
public TranslationProtos.TranslateResponse.Builder setFault(CommonProtos.Fault.Builder builderForValue)
public TranslationProtos.TranslateResponse.Builder mergeFault(CommonProtos.Fault value)
public TranslationProtos.TranslateResponse.Builder clearFault()
public boolean hasResult()
public String getResult()
public TranslationProtos.TranslateResponse.Builder setResult(String value)
public TranslationProtos.TranslateResponse.Builder clearResult()