public static final class CustomPronunciations.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomPronunciations.Builder> implements CustomPronunciationsOrBuilder
A collection of pronunciation customizations.Protobuf type
google.cloud.texttospeech.v1.CustomPronunciations| Modifier and Type | Method and Description |
|---|---|
CustomPronunciations.Builder |
addAllPronunciations(Iterable<? extends CustomPronunciationParams> values)
The pronunciation customizations to be applied.
|
CustomPronunciations.Builder |
addPronunciations(CustomPronunciationParams.Builder builderForValue)
The pronunciation customizations to be applied.
|
CustomPronunciations.Builder |
addPronunciations(CustomPronunciationParams value)
The pronunciation customizations to be applied.
|
CustomPronunciations.Builder |
addPronunciations(int index,
CustomPronunciationParams.Builder builderForValue)
The pronunciation customizations to be applied.
|
CustomPronunciations.Builder |
addPronunciations(int index,
CustomPronunciationParams value)
The pronunciation customizations to be applied.
|
CustomPronunciationParams.Builder |
addPronunciationsBuilder()
The pronunciation customizations to be applied.
|
CustomPronunciationParams.Builder |
addPronunciationsBuilder(int index)
The pronunciation customizations to be applied.
|
CustomPronunciations.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CustomPronunciations |
build() |
CustomPronunciations |
buildPartial() |
CustomPronunciations.Builder |
clear() |
CustomPronunciations.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CustomPronunciations.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CustomPronunciations.Builder |
clearPronunciations()
The pronunciation customizations to be applied.
|
CustomPronunciations.Builder |
clone() |
CustomPronunciations |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CustomPronunciationParams |
getPronunciations(int index)
The pronunciation customizations to be applied.
|
CustomPronunciationParams.Builder |
getPronunciationsBuilder(int index)
The pronunciation customizations to be applied.
|
List<CustomPronunciationParams.Builder> |
getPronunciationsBuilderList()
The pronunciation customizations to be applied.
|
int |
getPronunciationsCount()
The pronunciation customizations to be applied.
|
List<CustomPronunciationParams> |
getPronunciationsList()
The pronunciation customizations to be applied.
|
CustomPronunciationParamsOrBuilder |
getPronunciationsOrBuilder(int index)
The pronunciation customizations to be applied.
|
List<? extends CustomPronunciationParamsOrBuilder> |
getPronunciationsOrBuilderList()
The pronunciation customizations to be applied.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CustomPronunciations.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CustomPronunciations.Builder |
mergeFrom(CustomPronunciations other) |
CustomPronunciations.Builder |
mergeFrom(com.google.protobuf.Message other) |
CustomPronunciations.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CustomPronunciations.Builder |
removePronunciations(int index)
The pronunciation customizations to be applied.
|
CustomPronunciations.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CustomPronunciations.Builder |
setPronunciations(int index,
CustomPronunciationParams.Builder builderForValue)
The pronunciation customizations to be applied.
|
CustomPronunciations.Builder |
setPronunciations(int index,
CustomPronunciationParams value)
The pronunciation customizations to be applied.
|
CustomPronunciations.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CustomPronunciations.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CustomPronunciations.Builder>public CustomPronunciations.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CustomPronunciations.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CustomPronunciations.Builder>public CustomPronunciations getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CustomPronunciations build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CustomPronunciations buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CustomPronunciations.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CustomPronunciations.Builder>public CustomPronunciations.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomPronunciations.Builder>public CustomPronunciations.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomPronunciations.Builder>public CustomPronunciations.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CustomPronunciations.Builder>public CustomPronunciations.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomPronunciations.Builder>public CustomPronunciations.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomPronunciations.Builder>public CustomPronunciations.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomPronunciations.Builder>public CustomPronunciations.Builder mergeFrom(CustomPronunciations other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CustomPronunciations.Builder>public CustomPronunciations.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomPronunciations.Builder>IOExceptionpublic List<CustomPronunciationParams> getPronunciationsList()
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
getPronunciationsList in interface CustomPronunciationsOrBuilderpublic int getPronunciationsCount()
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
getPronunciationsCount in interface CustomPronunciationsOrBuilderpublic CustomPronunciationParams getPronunciations(int index)
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
getPronunciations in interface CustomPronunciationsOrBuilderpublic CustomPronunciations.Builder setPronunciations(int index, CustomPronunciationParams value)
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
public CustomPronunciations.Builder setPronunciations(int index, CustomPronunciationParams.Builder builderForValue)
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
public CustomPronunciations.Builder addPronunciations(CustomPronunciationParams value)
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
public CustomPronunciations.Builder addPronunciations(int index, CustomPronunciationParams value)
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
public CustomPronunciations.Builder addPronunciations(CustomPronunciationParams.Builder builderForValue)
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
public CustomPronunciations.Builder addPronunciations(int index, CustomPronunciationParams.Builder builderForValue)
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
public CustomPronunciations.Builder addAllPronunciations(Iterable<? extends CustomPronunciationParams> values)
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
public CustomPronunciations.Builder clearPronunciations()
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
public CustomPronunciations.Builder removePronunciations(int index)
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
public CustomPronunciationParams.Builder getPronunciationsBuilder(int index)
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
public CustomPronunciationParamsOrBuilder getPronunciationsOrBuilder(int index)
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
getPronunciationsOrBuilder in interface CustomPronunciationsOrBuilderpublic List<? extends CustomPronunciationParamsOrBuilder> getPronunciationsOrBuilderList()
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
getPronunciationsOrBuilderList in interface CustomPronunciationsOrBuilderpublic CustomPronunciationParams.Builder addPronunciationsBuilder()
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
public CustomPronunciationParams.Builder addPronunciationsBuilder(int index)
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
public List<CustomPronunciationParams.Builder> getPronunciationsBuilderList()
The pronunciation customizations to be applied.
repeated .google.cloud.texttospeech.v1.CustomPronunciationParams pronunciations = 1;
public final CustomPronunciations.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomPronunciations.Builder>public final CustomPronunciations.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomPronunciations.Builder>Copyright © 2025 Google LLC. All rights reserved.