Class SynthesizeLongAudioMetadata.Builder (2.30.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public SynthesizeLongAudioMetadata build()
Returns
TypeDescription
SynthesizeLongAudioMetadata

buildPartial()

public SynthesizeLongAudioMetadata buildPartial()
Returns
TypeDescription
SynthesizeLongAudioMetadata

clear()

public SynthesizeLongAudioMetadata.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearLastUpdateTime()

public SynthesizeLongAudioMetadata.Builder clearLastUpdateTime()

Time of the most recent processing update.

.google.protobuf.Timestamp last_update_time = 2;

clearOneof(Descriptors.OneofDescriptor oneof)

public SynthesizeLongAudioMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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;

clone()

public SynthesizeLongAudioMetadata.Builder clone()
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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SynthesizeLongAudioMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
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

mergeStartTime(Timestamp value)

public SynthesizeLongAudioMetadata.Builder mergeStartTime(Timestamp value)

Time when the request was received.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public SynthesizeLongAudioMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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