public static final class AdvancedVoiceOptions.Builder extends GeneratedMessageV3.Builder<AdvancedVoiceOptions.Builder> implements AdvancedVoiceOptionsOrBuilder
Used for advanced voice options.
Protobuf type google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AdvancedVoiceOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AdvancedVoiceOptions build()
buildPartial()
public AdvancedVoiceOptions buildPartial()
clear()
public AdvancedVoiceOptions.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AdvancedVoiceOptions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLowLatencyJourneySynthesis()
public AdvancedVoiceOptions.Builder clearLowLatencyJourneySynthesis()
Only for Journey voices. If false, the synthesis will be context aware
and have higher latency.
optional bool low_latency_journey_synthesis = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public AdvancedVoiceOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AdvancedVoiceOptions.Builder clone()
Overrides
getDefaultInstanceForType()
public AdvancedVoiceOptions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLowLatencyJourneySynthesis()
public boolean getLowLatencyJourneySynthesis()
Only for Journey voices. If false, the synthesis will be context aware
and have higher latency.
optional bool low_latency_journey_synthesis = 1;
Returns |
Type |
Description |
boolean |
The lowLatencyJourneySynthesis.
|
hasLowLatencyJourneySynthesis()
public boolean hasLowLatencyJourneySynthesis()
Only for Journey voices. If false, the synthesis will be context aware
and have higher latency.
optional bool low_latency_journey_synthesis = 1;
Returns |
Type |
Description |
boolean |
Whether the lowLatencyJourneySynthesis field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AdvancedVoiceOptions other)
public AdvancedVoiceOptions.Builder mergeFrom(AdvancedVoiceOptions other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AdvancedVoiceOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AdvancedVoiceOptions.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AdvancedVoiceOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AdvancedVoiceOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLowLatencyJourneySynthesis(boolean value)
public AdvancedVoiceOptions.Builder setLowLatencyJourneySynthesis(boolean value)
Only for Journey voices. If false, the synthesis will be context aware
and have higher latency.
optional bool low_latency_journey_synthesis = 1;
Parameter |
Name |
Description |
value |
boolean
The lowLatencyJourneySynthesis to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AdvancedVoiceOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AdvancedVoiceOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides