Class CustomPronunciations (2.56.0)

public final class CustomPronunciations extends GeneratedMessageV3 implements CustomPronunciationsOrBuilder

A collection of pronunciation customizations.

Protobuf type google.cloud.texttospeech.v1beta1.CustomPronunciations

Static Fields

PRONUNCIATIONS_FIELD_NUMBER

public static final int PRONUNCIATIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CustomPronunciations getDefaultInstance()
Returns
Type Description
CustomPronunciations

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CustomPronunciations.Builder newBuilder()
Returns
Type Description
CustomPronunciations.Builder

newBuilder(CustomPronunciations prototype)

public static CustomPronunciations.Builder newBuilder(CustomPronunciations prototype)
Parameter
Name Description
prototype CustomPronunciations
Returns
Type Description
CustomPronunciations.Builder

parseDelimitedFrom(InputStream input)

public static CustomPronunciations parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomPronunciations
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomPronunciations parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomPronunciations
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CustomPronunciations parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CustomPronunciations
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomPronunciations parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomPronunciations
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomPronunciations parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CustomPronunciations
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomPronunciations parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomPronunciations
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomPronunciations parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CustomPronunciations
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomPronunciations parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomPronunciations
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CustomPronunciations parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomPronunciations
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomPronunciations parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomPronunciations
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CustomPronunciations parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CustomPronunciations
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomPronunciations parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomPronunciations
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CustomPronunciations> parser()
Returns
Type Description
Parser<CustomPronunciations>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CustomPronunciations getDefaultInstanceForType()
Returns
Type Description
CustomPronunciations

getParserForType()

public Parser<CustomPronunciations> getParserForType()
Returns
Type Description
Parser<CustomPronunciations>
Overrides

getPronunciations(int index)

public CustomPronunciationParams getPronunciations(int index)

The pronunciation customizations to be applied.

repeated .google.cloud.texttospeech.v1beta1.CustomPronunciationParams pronunciations = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomPronunciationParams

getPronunciationsCount()

public int getPronunciationsCount()

The pronunciation customizations to be applied.

repeated .google.cloud.texttospeech.v1beta1.CustomPronunciationParams pronunciations = 1;

Returns
Type Description
int

getPronunciationsList()

public List<CustomPronunciationParams> getPronunciationsList()

The pronunciation customizations to be applied.

repeated .google.cloud.texttospeech.v1beta1.CustomPronunciationParams pronunciations = 1;

Returns
Type Description
List<CustomPronunciationParams>

getPronunciationsOrBuilder(int index)

public CustomPronunciationParamsOrBuilder getPronunciationsOrBuilder(int index)

The pronunciation customizations to be applied.

repeated .google.cloud.texttospeech.v1beta1.CustomPronunciationParams pronunciations = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomPronunciationParamsOrBuilder

getPronunciationsOrBuilderList()

public List<? extends CustomPronunciationParamsOrBuilder> getPronunciationsOrBuilderList()

The pronunciation customizations to be applied.

repeated .google.cloud.texttospeech.v1beta1.CustomPronunciationParams pronunciations = 1;

Returns
Type Description
List<? extends com.google.cloud.texttospeech.v1beta1.CustomPronunciationParamsOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CustomPronunciations.Builder newBuilderForType()
Returns
Type Description
CustomPronunciations.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CustomPronunciations.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CustomPronunciations.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CustomPronunciations.Builder toBuilder()
Returns
Type Description
CustomPronunciations.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException