Class SynthesizeLongAudioMetadata (2.16.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
TypeDescription
int

PROGRESS_PERCENTAGE_FIELD_NUMBER

public static final int PROGRESS_PERCENTAGE_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SynthesizeLongAudioMetadata getDefaultInstance()
Returns
TypeDescription
SynthesizeLongAudioMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SynthesizeLongAudioMetadata.Builder newBuilder()
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

newBuilder(SynthesizeLongAudioMetadata prototype)

public static SynthesizeLongAudioMetadata.Builder newBuilder(SynthesizeLongAudioMetadata prototype)
Parameter
NameDescription
prototypeSynthesizeLongAudioMetadata
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

parseDelimitedFrom(InputStream input)

public static SynthesizeLongAudioMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SynthesizeLongAudioMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SynthesizeLongAudioMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SynthesizeLongAudioMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SynthesizeLongAudioMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SynthesizeLongAudioMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SynthesizeLongAudioMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SynthesizeLongAudioMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SynthesizeLongAudioMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SynthesizeLongAudioMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SynthesizeLongAudioMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SynthesizeLongAudioMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SynthesizeLongAudioMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SynthesizeLongAudioMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SynthesizeLongAudioMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SynthesizeLongAudioMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SynthesizeLongAudioMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SynthesizeLongAudioMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SynthesizeLongAudioMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SynthesizeLongAudioMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SynthesizeLongAudioMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SynthesizeLongAudioMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SynthesizeLongAudioMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SynthesizeLongAudioMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SynthesizeLongAudioMetadata> parser()
Returns
TypeDescription
Parser<SynthesizeLongAudioMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SynthesizeLongAudioMetadata getDefaultInstanceForType()
Returns
TypeDescription
SynthesizeLongAudioMetadata

getLastUpdateTime()

public Timestamp getLastUpdateTime()

Time of the most recent processing update.

.google.protobuf.Timestamp last_update_time = 2;

Returns
TypeDescription
Timestamp

The lastUpdateTime.

getLastUpdateTimeOrBuilder()

public TimestampOrBuilder getLastUpdateTimeOrBuilder()

Time of the most recent processing update.

.google.protobuf.Timestamp last_update_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<SynthesizeLongAudioMetadata> getParserForType()
Returns
TypeDescription
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
TypeDescription
double

The progressPercentage.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTime()

public Timestamp getStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasLastUpdateTime()

public boolean hasLastUpdateTime()

Time of the most recent processing update.

.google.protobuf.Timestamp last_update_time = 2;

Returns
TypeDescription
boolean

Whether the lastUpdateTime field is set.

hasStartTime()

public boolean hasStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SynthesizeLongAudioMetadata.Builder newBuilderForType()
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SynthesizeLongAudioMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SynthesizeLongAudioMetadata.Builder toBuilder()
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException