public final class MultiSpeakerMarkup extends GeneratedMessageV3 implements MultiSpeakerMarkupOrBuilder
A collection of turns for multi-speaker synthesis.
Protobuf type google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
TURNS_FIELD_NUMBER
public static final int TURNS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MultiSpeakerMarkup getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MultiSpeakerMarkup.Builder newBuilder()
newBuilder(MultiSpeakerMarkup prototype)
public static MultiSpeakerMarkup.Builder newBuilder(MultiSpeakerMarkup prototype)
parseDelimitedFrom(InputStream input)
public static MultiSpeakerMarkup parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MultiSpeakerMarkup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MultiSpeakerMarkup parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MultiSpeakerMarkup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MultiSpeakerMarkup parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MultiSpeakerMarkup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static MultiSpeakerMarkup parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MultiSpeakerMarkup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static MultiSpeakerMarkup parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MultiSpeakerMarkup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MultiSpeakerMarkup parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MultiSpeakerMarkup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MultiSpeakerMarkup> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public MultiSpeakerMarkup getDefaultInstanceForType()
getParserForType()
public Parser<MultiSpeakerMarkup> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTurns(int index)
public MultiSpeakerMarkup.Turn getTurns(int index)
Required. Speaker turns.
repeated .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Turn turns = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getTurnsCount()
public int getTurnsCount()
Required. Speaker turns.
repeated .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Turn turns = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getTurnsList()
public List<MultiSpeakerMarkup.Turn> getTurnsList()
Required. Speaker turns.
repeated .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Turn turns = 1 [(.google.api.field_behavior) = REQUIRED];
getTurnsOrBuilder(int index)
public MultiSpeakerMarkup.TurnOrBuilder getTurnsOrBuilder(int index)
Required. Speaker turns.
repeated .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Turn turns = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getTurnsOrBuilderList()
public List<? extends MultiSpeakerMarkup.TurnOrBuilder> getTurnsOrBuilderList()
Required. Speaker turns.
repeated .google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Turn turns = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.TurnOrBuilder> |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MultiSpeakerMarkup.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MultiSpeakerMarkup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public MultiSpeakerMarkup.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides