public static final class RomanizeTextResponse.Builder extends GeneratedMessage.Builder<RomanizeTextResponse.Builder> implements RomanizeTextResponseOrBuilder
The response message for synchronous romanization.
Protobuf type google.cloud.translation.v3.RomanizeTextResponse
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllRomanizations(Iterable<? extends Romanization> values)
public RomanizeTextResponse.Builder addAllRomanizations(Iterable<? extends Romanization> values)
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.translate.v3.Romanization>
|
addRomanizations(Romanization value)
public RomanizeTextResponse.Builder addRomanizations(Romanization value)
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
addRomanizations(Romanization.Builder builderForValue)
public RomanizeTextResponse.Builder addRomanizations(Romanization.Builder builderForValue)
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
addRomanizations(int index, Romanization value)
public RomanizeTextResponse.Builder addRomanizations(int index, Romanization value)
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
addRomanizations(int index, Romanization.Builder builderForValue)
public RomanizeTextResponse.Builder addRomanizations(int index, Romanization.Builder builderForValue)
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
addRomanizationsBuilder()
public Romanization.Builder addRomanizationsBuilder()
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
addRomanizationsBuilder(int index)
public Romanization.Builder addRomanizationsBuilder(int index)
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
| Parameter |
| Name |
Description |
index |
int
|
build()
public RomanizeTextResponse build()
buildPartial()
public RomanizeTextResponse buildPartial()
clear()
public RomanizeTextResponse.Builder clear()
Overrides
clearRomanizations()
public RomanizeTextResponse.Builder clearRomanizations()
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
getDefaultInstanceForType()
public RomanizeTextResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRomanizations(int index)
public Romanization getRomanizations(int index)
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
| Parameter |
| Name |
Description |
index |
int
|
getRomanizationsBuilder(int index)
public Romanization.Builder getRomanizationsBuilder(int index)
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
| Parameter |
| Name |
Description |
index |
int
|
getRomanizationsBuilderList()
public List<Romanization.Builder> getRomanizationsBuilderList()
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
getRomanizationsCount()
public int getRomanizationsCount()
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
| Returns |
| Type |
Description |
int |
|
getRomanizationsList()
public List<Romanization> getRomanizationsList()
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
getRomanizationsOrBuilder(int index)
public RomanizationOrBuilder getRomanizationsOrBuilder(int index)
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
| Parameter |
| Name |
Description |
index |
int
|
getRomanizationsOrBuilderList()
public List<? extends RomanizationOrBuilder> getRomanizationsOrBuilderList()
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.translate.v3.RomanizationOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RomanizeTextResponse other)
public RomanizeTextResponse.Builder mergeFrom(RomanizeTextResponse other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RomanizeTextResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RomanizeTextResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeRomanizations(int index)
public RomanizeTextResponse.Builder removeRomanizations(int index)
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
| Parameter |
| Name |
Description |
index |
int
|
setRomanizations(int index, Romanization value)
public RomanizeTextResponse.Builder setRomanizations(int index, Romanization value)
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;
setRomanizations(int index, Romanization.Builder builderForValue)
public RomanizeTextResponse.Builder setRomanizations(int index, Romanization.Builder builderForValue)
Text romanization responses.
This field has the same length as
contents.
repeated .google.cloud.translation.v3.Romanization romanizations = 1;