Class SpeechConfig (2.28.0)

public final class SpeechConfig extends GeneratedMessageV3 implements SpeechConfigOrBuilder

Speech-to-Text configuration.

Protobuf type google.cloud.contactcenterinsights.v1.SpeechConfig

Static Fields

SPEECH_RECOGNIZER_FIELD_NUMBER

public static final int SPEECH_RECOGNIZER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SpeechConfig getDefaultInstance()
Returns
TypeDescription
SpeechConfig

getDescriptor()

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

newBuilder()

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

newBuilder(SpeechConfig prototype)

public static SpeechConfig.Builder newBuilder(SpeechConfig prototype)
Parameter
NameDescription
prototypeSpeechConfig
Returns
TypeDescription
SpeechConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SpeechConfig getDefaultInstanceForType()
Returns
TypeDescription
SpeechConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSpeechRecognizer()

public String getSpeechRecognizer()

The fully-qualified Speech Recognizer resource name. Format: projects/{project_id}/locations/{location}/recognizer/{recognizer}

string speech_recognizer = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The speechRecognizer.

getSpeechRecognizerBytes()

public ByteString getSpeechRecognizerBytes()

The fully-qualified Speech Recognizer resource name. Format: projects/{project_id}/locations/{location}/recognizer/{recognizer}

string speech_recognizer = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for speechRecognizer.

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 SpeechConfig.Builder newBuilderForType()
Returns
TypeDescription
SpeechConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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