Class SpeechConfig.Builder (2.49.0)

public static final class SpeechConfig.Builder extends GeneratedMessageV3.Builder<SpeechConfig.Builder> implements SpeechConfigOrBuilder

Speech-to-Text configuration.

Protobuf type google.cloud.contactcenterinsights.v1.SpeechConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SpeechConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SpeechConfig.Builder
Overrides

build()

public SpeechConfig build()
Returns
Type Description
SpeechConfig

buildPartial()

public SpeechConfig buildPartial()
Returns
Type Description
SpeechConfig

clear()

public SpeechConfig.Builder clear()
Returns
Type Description
SpeechConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SpeechConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SpeechConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SpeechConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SpeechConfig.Builder
Overrides

clearSpeechRecognizer()

public SpeechConfig.Builder clearSpeechRecognizer()

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

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

Returns
Type Description
SpeechConfig.Builder

This builder for chaining.

clone()

public SpeechConfig.Builder clone()
Returns
Type Description
SpeechConfig.Builder
Overrides

getDefaultInstanceForType()

public SpeechConfig getDefaultInstanceForType()
Returns
Type Description
SpeechConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
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
Type Description
ByteString

The bytes for speechRecognizer.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SpeechConfig other)

public SpeechConfig.Builder mergeFrom(SpeechConfig other)
Parameter
Name Description
other SpeechConfig
Returns
Type Description
SpeechConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SpeechConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpeechConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SpeechConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SpeechConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SpeechConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SpeechConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SpeechConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SpeechConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SpeechConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SpeechConfig.Builder
Overrides

setSpeechRecognizer(String value)

public SpeechConfig.Builder setSpeechRecognizer(String value)

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

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

Parameter
Name Description
value String

The speechRecognizer to set.

Returns
Type Description
SpeechConfig.Builder

This builder for chaining.

setSpeechRecognizerBytes(ByteString value)

public SpeechConfig.Builder setSpeechRecognizerBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for speechRecognizer to set.

Returns
Type Description
SpeechConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SpeechConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SpeechConfig.Builder
Overrides