Class Timepoint.Builder (2.48.0)

public static final class Timepoint.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public Timepoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public Timepoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Timepoint.Builder
Overrides

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Timepoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

public Timepoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Timepoint.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

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