Class SynthesizeLongAudioMetadata.Builder (2.54.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.v1beta1.SynthesizeLongAudioMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SynthesizeLongAudioMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SynthesizeLongAudioMetadata.Builder
Overrides

build()

public SynthesizeLongAudioMetadata build()
Returns
Type Description
SynthesizeLongAudioMetadata

buildPartial()

public SynthesizeLongAudioMetadata buildPartial()
Returns
Type Description
SynthesizeLongAudioMetadata

clear()

public SynthesizeLongAudioMetadata.Builder clear()
Returns
Type Description
SynthesizeLongAudioMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SynthesizeLongAudioMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SynthesizeLongAudioMetadata.Builder
Overrides

clearLastUpdateTime() (deprecated)

public SynthesizeLongAudioMetadata.Builder clearLastUpdateTime()

Deprecated. Do not use.

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

Returns
Type Description
SynthesizeLongAudioMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SynthesizeLongAudioMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
SynthesizeLongAudioMetadata.Builder

This builder for chaining.

clearStartTime()

public SynthesizeLongAudioMetadata.Builder clearStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
SynthesizeLongAudioMetadata.Builder

clone()

public SynthesizeLongAudioMetadata.Builder clone()
Returns
Type Description
SynthesizeLongAudioMetadata.Builder
Overrides

getDefaultInstanceForType()

public SynthesizeLongAudioMetadata getDefaultInstanceForType()
Returns
Type Description
SynthesizeLongAudioMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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=84

Deprecated. Do not use.

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

Returns
Type Description
Timestamp

The lastUpdateTime.

getLastUpdateTimeBuilder() (deprecated)

public Timestamp.Builder getLastUpdateTimeBuilder()

Deprecated. Do not use.

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

Returns
Type Description
Builder

getLastUpdateTimeOrBuilder() (deprecated)

public TimestampOrBuilder getLastUpdateTimeOrBuilder()

Deprecated. Do not use.

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

Returns
Type Description
TimestampOrBuilder

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.

getStartTime()

public Timestamp getStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Builder

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=84

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SynthesizeLongAudioMetadata other)

public SynthesizeLongAudioMetadata.Builder mergeFrom(SynthesizeLongAudioMetadata other)
Parameter
Name Description
other SynthesizeLongAudioMetadata
Returns
Type Description
SynthesizeLongAudioMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SynthesizeLongAudioMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SynthesizeLongAudioMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SynthesizeLongAudioMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
SynthesizeLongAudioMetadata.Builder

mergeStartTime(Timestamp value)

public SynthesizeLongAudioMetadata.Builder mergeStartTime(Timestamp value)

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
SynthesizeLongAudioMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SynthesizeLongAudioMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SynthesizeLongAudioMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SynthesizeLongAudioMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value double

The progressPercentage to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
SynthesizeLongAudioMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SynthesizeLongAudioMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SynthesizeLongAudioMetadata.Builder
Overrides