- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public static final class SpeechConfig.Builder extends GeneratedMessageV3.Builder<SpeechConfig.Builder> implements SpeechConfigOrBuilder
Speech-to-Text configuration.
Speech-to-Text settings are applied to conversations ingested from the
UploadConversation
and IngestConversations
endpoints, including
conversation coming from CCAI Platform. They are not applied to conversations
ingested from the CreateConversation
endpoint.
Protobuf type google.cloud.contactcenterinsights.v1.SpeechConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SpeechConfig.BuilderImplements
SpeechConfigOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public SpeechConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SpeechConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SpeechConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SpeechConfig.Builder |
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 |
getDefaultInstanceForType()
public SpeechConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SpeechConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SpeechConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SpeechConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SpeechConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SpeechConfig.Builder |
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 |
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 |
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 |