Class SynthesizeLongAudioMetadata.Builder (2.35.0)

public static final class SynthesizeLongAudioMetadata.Builder extends GeneratedMessageV3.Builder<SynthesizeLongAudioMetadata.Builder> implements SynthesizeLongAudioMetadataOrBuilder

Metadata for response returned by the SynthesizeLongAudio method.

Protobuf type google.cloud.texttospeech.v1.SynthesizeLongAudioMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SynthesizeLongAudioMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder
Overrides

build()

public SynthesizeLongAudioMetadata build()
Returns
TypeDescription
SynthesizeLongAudioMetadata

buildPartial()

public SynthesizeLongAudioMetadata buildPartial()
Returns
TypeDescription
SynthesizeLongAudioMetadata

clear()

public SynthesizeLongAudioMetadata.Builder clear()
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SynthesizeLongAudioMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder
Overrides

clearLastUpdateTime() (deprecated)

public SynthesizeLongAudioMetadata.Builder clearLastUpdateTime()

Deprecated. Do not use.

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

Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SynthesizeLongAudioMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder
Overrides

clearProgressPercentage()

public SynthesizeLongAudioMetadata.Builder clearProgressPercentage()

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

double progress_percentage = 3;

Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

This builder for chaining.

clearStartTime()

public SynthesizeLongAudioMetadata.Builder clearStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

clone()

public SynthesizeLongAudioMetadata.Builder clone()
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder
Overrides

getDefaultInstanceForType()

public SynthesizeLongAudioMetadata getDefaultInstanceForType()
Returns
TypeDescription
SynthesizeLongAudioMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLastUpdateTime() (deprecated)

public Timestamp getLastUpdateTime()

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

Deprecated. Do not use.

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

Returns
TypeDescription
Timestamp

The lastUpdateTime.

getLastUpdateTimeBuilder() (deprecated)

public Timestamp.Builder getLastUpdateTimeBuilder()

Deprecated. Do not use.

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

Returns
TypeDescription
Builder

getLastUpdateTimeOrBuilder() (deprecated)

public TimestampOrBuilder getLastUpdateTimeOrBuilder()

Deprecated. Do not use.

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

Returns
TypeDescription
TimestampOrBuilder

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.

getStartTime()

public Timestamp getStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

hasLastUpdateTime() (deprecated)

public boolean hasLastUpdateTime()

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

Deprecated. Do not use.

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SynthesizeLongAudioMetadata other)

public SynthesizeLongAudioMetadata.Builder mergeFrom(SynthesizeLongAudioMetadata other)
Parameter
NameDescription
otherSynthesizeLongAudioMetadata
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SynthesizeLongAudioMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SynthesizeLongAudioMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder
Overrides

mergeLastUpdateTime(Timestamp value) (deprecated)

public SynthesizeLongAudioMetadata.Builder mergeLastUpdateTime(Timestamp value)

Deprecated. Do not use.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

mergeStartTime(Timestamp value)

public SynthesizeLongAudioMetadata.Builder mergeStartTime(Timestamp value)

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SynthesizeLongAudioMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SynthesizeLongAudioMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder
Overrides

setLastUpdateTime(Timestamp value) (deprecated)

public SynthesizeLongAudioMetadata.Builder setLastUpdateTime(Timestamp value)

Deprecated. Do not use.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

setLastUpdateTime(Timestamp.Builder builderForValue) (deprecated)

public SynthesizeLongAudioMetadata.Builder setLastUpdateTime(Timestamp.Builder builderForValue)

Deprecated. Do not use.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

setProgressPercentage(double value)

public SynthesizeLongAudioMetadata.Builder setProgressPercentage(double value)

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

double progress_percentage = 3;

Parameter
NameDescription
valuedouble

The progressPercentage to set.

Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SynthesizeLongAudioMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder
Overrides

setStartTime(Timestamp value)

public SynthesizeLongAudioMetadata.Builder setStartTime(Timestamp value)

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public SynthesizeLongAudioMetadata.Builder setStartTime(Timestamp.Builder builderForValue)

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SynthesizeLongAudioMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder
Overrides