Class SynthesizeLongAudioMetadata.Builder (2.18.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
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()

public SynthesizeLongAudioMetadata.Builder clearLastUpdateTime()

Time of the most recent processing update.

.google.protobuf.Timestamp last_update_time = 2;

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()

public Timestamp getLastUpdateTime()

Time of the most recent processing update.

.google.protobuf.Timestamp last_update_time = 2;

Returns
TypeDescription
Timestamp

The lastUpdateTime.

getLastUpdateTimeBuilder()

public Timestamp.Builder getLastUpdateTimeBuilder()

Time of the most recent processing update.

.google.protobuf.Timestamp last_update_time = 2;

Returns
TypeDescription
Builder

getLastUpdateTimeOrBuilder()

public TimestampOrBuilder getLastUpdateTimeOrBuilder()

Time of the most recent processing update.

.google.protobuf.Timestamp last_update_time = 2;

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()

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.

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)

public SynthesizeLongAudioMetadata.Builder mergeLastUpdateTime(Timestamp value)

Time of the most recent processing update.

.google.protobuf.Timestamp last_update_time = 2;

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)

public SynthesizeLongAudioMetadata.Builder setLastUpdateTime(Timestamp value)

Time of the most recent processing update.

.google.protobuf.Timestamp last_update_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SynthesizeLongAudioMetadata.Builder

setLastUpdateTime(Timestamp.Builder builderForValue)

public SynthesizeLongAudioMetadata.Builder setLastUpdateTime(Timestamp.Builder builderForValue)

Time of the most recent processing update.

.google.protobuf.Timestamp last_update_time = 2;

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