public static final class Timepoint.Builder extends GeneratedMessage.Builder<Timepoint.Builder> implements TimepointOrBuilderThis 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Timepoint.BuilderImplements
TimepointOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Timepoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Timepoint.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
doubleThe timeSeconds to set. |
| Returns | |
|---|---|
| Type | Description |
Timepoint.Builder |
This builder for chaining. |