public static final class MultiSpeakerMarkup.Turn.Builder extends GeneratedMessageV3.Builder<MultiSpeakerMarkup.Turn.Builder> implements MultiSpeakerMarkup.TurnOrBuilder
A Multi-speaker turn.
Protobuf type google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Turn
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 MultiSpeakerMarkup.Turn.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MultiSpeakerMarkup.Turn build()
buildPartial()
public MultiSpeakerMarkup.Turn buildPartial()
clear()
public MultiSpeakerMarkup.Turn.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MultiSpeakerMarkup.Turn.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MultiSpeakerMarkup.Turn.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSpeaker()
public MultiSpeakerMarkup.Turn.Builder clearSpeaker()
Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer
to documentation for available speakers.
string speaker = 1 [(.google.api.field_behavior) = REQUIRED];
clearText()
public MultiSpeakerMarkup.Turn.Builder clearText()
Required. The text to speak.
string text = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public MultiSpeakerMarkup.Turn.Builder clone()
Overrides
getDefaultInstanceForType()
public MultiSpeakerMarkup.Turn getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSpeaker()
public String getSpeaker()
Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer
to documentation for available speakers.
string speaker = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The speaker.
|
getSpeakerBytes()
public ByteString getSpeakerBytes()
Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer
to documentation for available speakers.
string speaker = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for speaker.
|
getText()
Required. The text to speak.
string text = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The text.
|
getTextBytes()
public ByteString getTextBytes()
Required. The text to speak.
string text = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for text.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MultiSpeakerMarkup.Turn other)
public MultiSpeakerMarkup.Turn.Builder mergeFrom(MultiSpeakerMarkup.Turn other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MultiSpeakerMarkup.Turn.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MultiSpeakerMarkup.Turn.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MultiSpeakerMarkup.Turn.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MultiSpeakerMarkup.Turn.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MultiSpeakerMarkup.Turn.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSpeaker(String value)
public MultiSpeakerMarkup.Turn.Builder setSpeaker(String value)
Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer
to documentation for available speakers.
string speaker = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The speaker to set.
|
setSpeakerBytes(ByteString value)
public MultiSpeakerMarkup.Turn.Builder setSpeakerBytes(ByteString value)
Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer
to documentation for available speakers.
string speaker = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for speaker to set.
|
setText(String value)
public MultiSpeakerMarkup.Turn.Builder setText(String value)
Required. The text to speak.
string text = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The text to set.
|
setTextBytes(ByteString value)
public MultiSpeakerMarkup.Turn.Builder setTextBytes(ByteString value)
Required. The text to speak.
string text = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for text to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final MultiSpeakerMarkup.Turn.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides