Class SpeechConfig.Builder (2.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SpeechConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SpeechConfig.Builder
Overrides

build()

public SpeechConfig build()
Returns
TypeDescription
SpeechConfig

buildPartial()

public SpeechConfig buildPartial()
Returns
TypeDescription
SpeechConfig

clear()

public SpeechConfig.Builder clear()
Returns
TypeDescription
SpeechConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SpeechConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SpeechConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SpeechConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SpeechConfig.Builder

This builder for chaining.

clone()

public SpeechConfig.Builder clone()
Returns
TypeDescription
SpeechConfig.Builder
Overrides

getDefaultInstanceForType()

public SpeechConfig getDefaultInstanceForType()
Returns
TypeDescription
SpeechConfig

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SpeechConfig other)

public SpeechConfig.Builder mergeFrom(SpeechConfig other)
Parameter
NameDescription
otherSpeechConfig
Returns
TypeDescription
SpeechConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SpeechConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpeechConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SpeechConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SpeechConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SpeechConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SpeechConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SpeechConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SpeechConfig.Builder
Overrides

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

public SpeechConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The speechRecognizer to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for speechRecognizer to set.

Returns
TypeDescription
SpeechConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SpeechConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SpeechConfig.Builder
Overrides