Package com.google.cloud.translate.v3
Class RomanizeTextResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RomanizeTextResponse.Builder>
com.google.cloud.translate.v3.RomanizeTextResponse.Builder
- All Implemented Interfaces:
RomanizeTextResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RomanizeTextResponse
public static final class RomanizeTextResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RomanizeTextResponse.Builder>
implements RomanizeTextResponseOrBuilder
The response message for synchronous romanization.Protobuf type
google.cloud.translation.v3.RomanizeTextResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllRomanizations(Iterable<? extends Romanization> values) Text romanization responses.addRomanizations(int index, Romanization value) Text romanization responses.addRomanizations(int index, Romanization.Builder builderForValue) Text romanization responses.addRomanizations(Romanization value) Text romanization responses.addRomanizations(Romanization.Builder builderForValue) Text romanization responses.Text romanization responses.addRomanizationsBuilder(int index) Text romanization responses.build()clear()Text romanization responses.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetRomanizations(int index) Text romanization responses.getRomanizationsBuilder(int index) Text romanization responses.Text romanization responses.intText romanization responses.Text romanization responses.getRomanizationsOrBuilder(int index) Text romanization responses.List<? extends RomanizationOrBuilder>Text romanization responses.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RomanizeTextResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeRomanizations(int index) Text romanization responses.setRomanizations(int index, Romanization value) Text romanization responses.setRomanizations(int index, Romanization.Builder builderForValue) Text romanization responses.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RomanizeTextResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RomanizeTextResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RomanizeTextResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RomanizeTextResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RomanizeTextResponse.Builder>
-
mergeFrom
public RomanizeTextResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RomanizeTextResponse.Builder>- Throws:
IOException
-
getRomanizationsList
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1;- Specified by:
getRomanizationsListin interfaceRomanizeTextResponseOrBuilder
-
getRomanizationsCount
public int getRomanizationsCount()Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1;- Specified by:
getRomanizationsCountin interfaceRomanizeTextResponseOrBuilder
-
getRomanizations
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1;- Specified by:
getRomanizationsin interfaceRomanizeTextResponseOrBuilder
-
setRomanizations
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1; -
setRomanizations
public RomanizeTextResponse.Builder setRomanizations(int index, Romanization.Builder builderForValue) Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1; -
addRomanizations
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1; -
addRomanizations
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1; -
addRomanizations
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1; -
addRomanizations
public RomanizeTextResponse.Builder addRomanizations(int index, Romanization.Builder builderForValue) Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1; -
addAllRomanizations
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1; -
clearRomanizations
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1; -
removeRomanizations
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1; -
getRomanizationsBuilder
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1; -
getRomanizationsOrBuilder
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1;- Specified by:
getRomanizationsOrBuilderin interfaceRomanizeTextResponseOrBuilder
-
getRomanizationsOrBuilderList
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1;- Specified by:
getRomanizationsOrBuilderListin interfaceRomanizeTextResponseOrBuilder
-
addRomanizationsBuilder
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1; -
addRomanizationsBuilder
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1; -
getRomanizationsBuilderList
Text romanization responses. This field has the same length as [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents].
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
-