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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Timepoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Timepoint buildPartial()
Returns
clear()
public Timepoint.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Timepoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMarkName()
public Timepoint.Builder clearMarkName()
Timepoint name as received from the client within <mark>
tag.
string mark_name = 4;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Timepoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTimeSeconds()
public Timepoint.Builder clearTimeSeconds()
Time offset in seconds from the start of the synthesized audio.
double time_seconds = 3;
Returns
clone()
public Timepoint.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Timepoint getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Timepoint other)
public Timepoint.Builder mergeFrom(Timepoint other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Timepoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Timepoint.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Timepoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Timepoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Timepoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final Timepoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides