Class Timepoint.Builder (2.7.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Timepoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Timepoint.Builder
Overrides

build()

public Timepoint build()
Returns
TypeDescription
Timepoint

buildPartial()

public Timepoint buildPartial()
Returns
TypeDescription
Timepoint

clear()

public Timepoint.Builder clear()
Returns
TypeDescription
Timepoint.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Timepoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Timepoint.Builder
Overrides

clearMarkName()

public Timepoint.Builder clearMarkName()

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

string mark_name = 4;

Returns
TypeDescription
Timepoint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Timepoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Timepoint.Builder
Overrides

clearTimeSeconds()

public Timepoint.Builder clearTimeSeconds()

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

double time_seconds = 3;

Returns
TypeDescription
Timepoint.Builder

This builder for chaining.

clone()

public Timepoint.Builder clone()
Returns
TypeDescription
Timepoint.Builder
Overrides

getDefaultInstanceForType()

public Timepoint getDefaultInstanceForType()
Returns
TypeDescription
Timepoint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMarkName()

public String getMarkName()

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

string mark_name = 4;

Returns
TypeDescription
String

The markName.

getMarkNameBytes()

public ByteString getMarkNameBytes()

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

string mark_name = 4;

Returns
TypeDescription
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
TypeDescription
double

The timeSeconds.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Timepoint other)

public Timepoint.Builder mergeFrom(Timepoint other)
Parameter
NameDescription
otherTimepoint
Returns
TypeDescription
Timepoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Timepoint.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Timepoint.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Timepoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Timepoint.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The markName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for markName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuedouble

The timeSeconds to set.

Returns
TypeDescription
Timepoint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Timepoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Timepoint.Builder
Overrides