public static final class RomanizeTextResponse.Builder extends GeneratedMessageV3.Builder<RomanizeTextResponse.Builder> implements RomanizeTextResponseOrBuilder
The response message for synchronous romanization.
Protobuf type google.cloud.translation.v3.RomanizeTextResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RomanizeTextResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
clearField(Descriptors.FieldDescriptor field)
public RomanizeTextResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RomanizeTextResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public RomanizeTextResponse.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RomanizeTextResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public RomanizeTextResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RomanizeTextResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final RomanizeTextResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides