Class SynthesizeLongAudioResponse (2.31.0)

public final class SynthesizeLongAudioResponse extends GeneratedMessageV3 implements SynthesizeLongAudioResponseOrBuilder

The message returned to the client by the SynthesizeLongAudio method.

Protobuf type google.cloud.texttospeech.v1.SynthesizeLongAudioResponse

Static Methods

getDefaultInstance()

public static SynthesizeLongAudioResponse getDefaultInstance()
Returns
TypeDescription
SynthesizeLongAudioResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SynthesizeLongAudioResponse.Builder newBuilder()
Returns
TypeDescription
SynthesizeLongAudioResponse.Builder

newBuilder(SynthesizeLongAudioResponse prototype)

public static SynthesizeLongAudioResponse.Builder newBuilder(SynthesizeLongAudioResponse prototype)
Parameter
NameDescription
prototypeSynthesizeLongAudioResponse
Returns
TypeDescription
SynthesizeLongAudioResponse.Builder

parseDelimitedFrom(InputStream input)

public static SynthesizeLongAudioResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SynthesizeLongAudioResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SynthesizeLongAudioResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SynthesizeLongAudioResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SynthesizeLongAudioResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SynthesizeLongAudioResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SynthesizeLongAudioResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SynthesizeLongAudioResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SynthesizeLongAudioResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SynthesizeLongAudioResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SynthesizeLongAudioResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SynthesizeLongAudioResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SynthesizeLongAudioResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SynthesizeLongAudioResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SynthesizeLongAudioResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SynthesizeLongAudioResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SynthesizeLongAudioResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SynthesizeLongAudioResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SynthesizeLongAudioResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SynthesizeLongAudioResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SynthesizeLongAudioResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SynthesizeLongAudioResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SynthesizeLongAudioResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SynthesizeLongAudioResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SynthesizeLongAudioResponse> parser()
Returns
TypeDescription
Parser<SynthesizeLongAudioResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SynthesizeLongAudioResponse getDefaultInstanceForType()
Returns
TypeDescription
SynthesizeLongAudioResponse

getParserForType()

public Parser<SynthesizeLongAudioResponse> getParserForType()
Returns
TypeDescription
Parser<SynthesizeLongAudioResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SynthesizeLongAudioResponse.Builder newBuilderForType()
Returns
TypeDescription
SynthesizeLongAudioResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SynthesizeLongAudioResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SynthesizeLongAudioResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SynthesizeLongAudioResponse.Builder toBuilder()
Returns
TypeDescription
SynthesizeLongAudioResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException