- 2.53.0 (latest)
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.9
- 2.3.0
- 2.2.1
- 2.1.5
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Timepoint.BuilderImplements
TimepointOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public Timepoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Timepoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Timepoint.Builder |
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 |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Timepoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Timepoint.Builder |
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 |
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 |
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 |