public static final class StreamingSynthesizeConfig.Builder extends GeneratedMessageV3.Builder<StreamingSynthesizeConfig.Builder> implements StreamingSynthesizeConfigOrBuilder
Provides configuration information for the StreamingSynthesize request.
Protobuf type google.cloud.texttospeech.v1.StreamingSynthesizeConfig
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 StreamingSynthesizeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StreamingSynthesizeConfig build()
buildPartial()
public StreamingSynthesizeConfig buildPartial()
clear()
public StreamingSynthesizeConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public StreamingSynthesizeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingSynthesizeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVoice()
public StreamingSynthesizeConfig.Builder clearVoice()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public StreamingSynthesizeConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public StreamingSynthesizeConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getVoice()
public VoiceSelectionParams getVoice()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
getVoiceBuilder()
public VoiceSelectionParams.Builder getVoiceBuilder()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
getVoiceOrBuilder()
public VoiceSelectionParamsOrBuilder getVoiceOrBuilder()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
hasVoice()
public boolean hasVoice()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the voice field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StreamingSynthesizeConfig other)
public StreamingSynthesizeConfig.Builder mergeFrom(StreamingSynthesizeConfig other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamingSynthesizeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StreamingSynthesizeConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingSynthesizeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeVoice(VoiceSelectionParams value)
public StreamingSynthesizeConfig.Builder mergeVoice(VoiceSelectionParams value)
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingSynthesizeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingSynthesizeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingSynthesizeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVoice(VoiceSelectionParams value)
public StreamingSynthesizeConfig.Builder setVoice(VoiceSelectionParams value)
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
setVoice(VoiceSelectionParams.Builder builderForValue)
public StreamingSynthesizeConfig.Builder setVoice(VoiceSelectionParams.Builder builderForValue)
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];