Class SynthesizeLongAudioMetadata (2.44.0)

public final class SynthesizeLongAudioMetadata extends GeneratedMessageV3 implements SynthesizeLongAudioMetadataOrBuilder

Metadata for response returned by the SynthesizeLongAudio method.

Protobuf type google.cloud.texttospeech.v1beta1.SynthesizeLongAudioMetadata

Static Fields

LAST_UPDATE_TIME_FIELD_NUMBER

public static final int LAST_UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

PROGRESS_PERCENTAGE_FIELD_NUMBER

public static final int PROGRESS_PERCENTAGE_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SynthesizeLongAudioMetadata getDefaultInstance()
Returns
Type Description
SynthesizeLongAudioMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(SynthesizeLongAudioMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SynthesizeLongAudioMetadata getDefaultInstanceForType()
Returns
Type Description
SynthesizeLongAudioMetadata

getLastUpdateTime() (deprecated)

public Timestamp getLastUpdateTime()

Deprecated. google.cloud.texttospeech.v1beta1.SynthesizeLongAudioMetadata.last_update_time is deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto;l=86

Deprecated. Do not use.

.google.protobuf.Timestamp last_update_time = 2 [deprecated = true];

Returns
Type Description
Timestamp

The lastUpdateTime.

getLastUpdateTimeOrBuilder() (deprecated)

public TimestampOrBuilder getLastUpdateTimeOrBuilder()

Deprecated. Do not use.

.google.protobuf.Timestamp last_update_time = 2 [deprecated = true];

Returns
Type Description
TimestampOrBuilder

getParserForType()

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

getProgressPercentage()

public double getProgressPercentage()

The progress of the most recent processing update in percentage, ie. 70.0%.

double progress_percentage = 3;

Returns
Type Description
double

The progressPercentage.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

hasLastUpdateTime() (deprecated)

public boolean hasLastUpdateTime()

Deprecated. google.cloud.texttospeech.v1beta1.SynthesizeLongAudioMetadata.last_update_time is deprecated. See google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto;l=86

Deprecated. Do not use.

.google.protobuf.Timestamp last_update_time = 2 [deprecated = true];

Returns
Type Description
boolean

Whether the lastUpdateTime field is set.

hasStartTime()

public boolean hasStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

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 SynthesizeLongAudioMetadata.Builder newBuilderForType()
Returns
Type Description
SynthesizeLongAudioMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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