Class Timepoint.Builder (2.84.0)

public static final class Timepoint.Builder extends GeneratedMessage.Builder<Timepoint.Builder> implements TimepointOrBuilder

This contains a mapping between a certain point in the input text and a corresponding time in the output audio.

Protobuf type google.cloud.texttospeech.v1beta1.Timepoint

Implements

TimepointOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public Timepoint build()
Returns
Type Description
Timepoint

buildPartial()

public Timepoint buildPartial()
Returns
Type Description
Timepoint

clear()

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

clearMarkName()

public Timepoint.Builder clearMarkName()

Timepoint name as received from the client within <mark> tag.

string mark_name = 4;

Returns
Type Description
Timepoint.Builder

This builder for chaining.

clearTimeSeconds()

public Timepoint.Builder clearTimeSeconds()

Time offset in seconds from the start of the synthesized audio.

double time_seconds = 3;

Returns
Type Description
Timepoint.Builder

This builder for chaining.

getDefaultInstanceForType()

public Timepoint getDefaultInstanceForType()
Returns
Type Description
Timepoint

getDescriptorForType()

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

getMarkName()

public String getMarkName()

Timepoint name as received from the client within <mark> tag.

string mark_name = 4;

Returns
Type Description
String

The markName.

getMarkNameBytes()

public ByteString getMarkNameBytes()

Timepoint name as received from the client within <mark> tag.

string mark_name = 4;

Returns
Type Description
ByteString

The bytes for markName.

getTimeSeconds()

public double getTimeSeconds()

Time offset in seconds from the start of the synthesized audio.

double time_seconds = 3;

Returns
Type Description
double

The timeSeconds.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Timepoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Timepoint.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Timepoint.Builder
Overrides

setMarkName(String value)

public Timepoint.Builder setMarkName(String value)

Timepoint name as received from the client within <mark> tag.

string mark_name = 4;

Parameter
Name Description
value String

The markName to set.

Returns
Type Description
Timepoint.Builder

This builder for chaining.

setMarkNameBytes(ByteString value)

public Timepoint.Builder setMarkNameBytes(ByteString value)

Timepoint name as received from the client within <mark> tag.

string mark_name = 4;

Parameter
Name Description
value ByteString

The bytes for markName to set.

Returns
Type Description
Timepoint.Builder

This builder for chaining.

setTimeSeconds(double value)

public Timepoint.Builder setTimeSeconds(double value)

Time offset in seconds from the start of the synthesized audio.

double time_seconds = 3;

Parameter
Name Description
value double

The timeSeconds to set.

Returns
Type Description
Timepoint.Builder

This builder for chaining.