public static final class Recognizer.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder> implements RecognizerOrBuilder
A Recognizer message. Stores recognition configuration and metadata.Protobuf type
google.cloud.speech.v2.Recognizer| Modifier and Type | Method and Description |
|---|---|
Recognizer.Builder |
addAllLanguageCodes(Iterable<String> values)
Deprecated.
google.cloud.speech.v2.Recognizer.language_codes is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=610
|
Recognizer.Builder |
addLanguageCodes(String value)
Deprecated.
google.cloud.speech.v2.Recognizer.language_codes is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=610
|
Recognizer.Builder |
addLanguageCodesBytes(com.google.protobuf.ByteString value)
Deprecated.
google.cloud.speech.v2.Recognizer.language_codes is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=610
|
Recognizer.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Recognizer |
build() |
Recognizer |
buildPartial() |
Recognizer.Builder |
clear() |
Recognizer.Builder |
clearAnnotations() |
Recognizer.Builder |
clearCreateTime()
Output only.
|
Recognizer.Builder |
clearDefaultRecognitionConfig()
Default configuration to use for requests with this Recognizer.
|
Recognizer.Builder |
clearDeleteTime()
Output only.
|
Recognizer.Builder |
clearDisplayName()
User-settable, human-readable name for the Recognizer.
|
Recognizer.Builder |
clearEtag()
Output only.
|
Recognizer.Builder |
clearExpireTime()
Output only.
|
Recognizer.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Recognizer.Builder |
clearKmsKeyName()
Output only.
|
Recognizer.Builder |
clearKmsKeyVersionName()
Output only.
|
Recognizer.Builder |
clearLanguageCodes()
Deprecated.
google.cloud.speech.v2.Recognizer.language_codes is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=610
|
Recognizer.Builder |
clearModel()
Deprecated.
google.cloud.speech.v2.Recognizer.model is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=596
|
Recognizer.Builder |
clearName()
Output only.
|
Recognizer.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Recognizer.Builder |
clearReconciling()
Output only.
|
Recognizer.Builder |
clearState()
Output only.
|
Recognizer.Builder |
clearUid()
Output only.
|
Recognizer.Builder |
clearUpdateTime()
Output only.
|
Recognizer.Builder |
clone() |
boolean |
containsAnnotations(String key)
Allows users to store small amounts of arbitrary data.
|
Map<String,String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
Allows users to store small amounts of arbitrary data.
|
Map<String,String> |
getAnnotationsMap()
Allows users to store small amounts of arbitrary data.
|
String |
getAnnotationsOrDefault(String key,
String defaultValue)
Allows users to store small amounts of arbitrary data.
|
String |
getAnnotationsOrThrow(String key)
Allows users to store small amounts of arbitrary data.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Recognizer |
getDefaultInstanceForType() |
RecognitionConfig |
getDefaultRecognitionConfig()
Default configuration to use for requests with this Recognizer.
|
RecognitionConfig.Builder |
getDefaultRecognitionConfigBuilder()
Default configuration to use for requests with this Recognizer.
|
RecognitionConfigOrBuilder |
getDefaultRecognitionConfigOrBuilder()
Default configuration to use for requests with this Recognizer.
|
com.google.protobuf.Timestamp |
getDeleteTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getDeleteTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDeleteTimeOrBuilder()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
User-settable, human-readable name for the Recognizer.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
User-settable, human-readable name for the Recognizer.
|
String |
getEtag()
Output only.
|
com.google.protobuf.ByteString |
getEtagBytes()
Output only.
|
com.google.protobuf.Timestamp |
getExpireTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getExpireTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getExpireTimeOrBuilder()
Output only.
|
String |
getKmsKeyName()
Output only.
|
com.google.protobuf.ByteString |
getKmsKeyNameBytes()
Output only.
|
String |
getKmsKeyVersionName()
Output only.
|
com.google.protobuf.ByteString |
getKmsKeyVersionNameBytes()
Output only.
|
String |
getLanguageCodes(int index)
Deprecated.
google.cloud.speech.v2.Recognizer.language_codes is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=610
|
com.google.protobuf.ByteString |
getLanguageCodesBytes(int index)
Deprecated.
google.cloud.speech.v2.Recognizer.language_codes is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=610
|
int |
getLanguageCodesCount()
Deprecated.
google.cloud.speech.v2.Recognizer.language_codes is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=610
|
com.google.protobuf.ProtocolStringList |
getLanguageCodesList()
Deprecated.
google.cloud.speech.v2.Recognizer.language_codes is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=610
|
String |
getModel()
Deprecated.
google.cloud.speech.v2.Recognizer.model is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=596
|
com.google.protobuf.ByteString |
getModelBytes()
Deprecated.
google.cloud.speech.v2.Recognizer.model is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=596
|
Map<String,String> |
getMutableAnnotations()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
boolean |
getReconciling()
Output only.
|
Recognizer.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
String |
getUid()
Output only.
|
com.google.protobuf.ByteString |
getUidBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDefaultRecognitionConfig()
Default configuration to use for requests with this Recognizer.
|
boolean |
hasDeleteTime()
Output only.
|
boolean |
hasExpireTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Recognizer.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Recognizer.Builder |
mergeDefaultRecognitionConfig(RecognitionConfig value)
Default configuration to use for requests with this Recognizer.
|
Recognizer.Builder |
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
Recognizer.Builder |
mergeExpireTime(com.google.protobuf.Timestamp value)
Output only.
|
Recognizer.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Recognizer.Builder |
mergeFrom(com.google.protobuf.Message other) |
Recognizer.Builder |
mergeFrom(Recognizer other) |
Recognizer.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Recognizer.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Recognizer.Builder |
putAllAnnotations(Map<String,String> values)
Allows users to store small amounts of arbitrary data.
|
Recognizer.Builder |
putAnnotations(String key,
String value)
Allows users to store small amounts of arbitrary data.
|
Recognizer.Builder |
removeAnnotations(String key)
Allows users to store small amounts of arbitrary data.
|
Recognizer.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Recognizer.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Recognizer.Builder |
setDefaultRecognitionConfig(RecognitionConfig.Builder builderForValue)
Default configuration to use for requests with this Recognizer.
|
Recognizer.Builder |
setDefaultRecognitionConfig(RecognitionConfig value)
Default configuration to use for requests with this Recognizer.
|
Recognizer.Builder |
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Recognizer.Builder |
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
Recognizer.Builder |
setDisplayName(String value)
User-settable, human-readable name for the Recognizer.
|
Recognizer.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
User-settable, human-readable name for the Recognizer.
|
Recognizer.Builder |
setEtag(String value)
Output only.
|
Recognizer.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Output only.
|
Recognizer.Builder |
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Recognizer.Builder |
setExpireTime(com.google.protobuf.Timestamp value)
Output only.
|
Recognizer.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Recognizer.Builder |
setKmsKeyName(String value)
Output only.
|
Recognizer.Builder |
setKmsKeyNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Recognizer.Builder |
setKmsKeyVersionName(String value)
Output only.
|
Recognizer.Builder |
setKmsKeyVersionNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Recognizer.Builder |
setLanguageCodes(int index,
String value)
Deprecated.
google.cloud.speech.v2.Recognizer.language_codes is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=610
|
Recognizer.Builder |
setModel(String value)
Deprecated.
google.cloud.speech.v2.Recognizer.model is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=596
|
Recognizer.Builder |
setModelBytes(com.google.protobuf.ByteString value)
Deprecated.
google.cloud.speech.v2.Recognizer.model is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=596
|
Recognizer.Builder |
setName(String value)
Output only.
|
Recognizer.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Recognizer.Builder |
setReconciling(boolean value)
Output only.
|
Recognizer.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Recognizer.Builder |
setState(Recognizer.State value)
Output only.
|
Recognizer.Builder |
setStateValue(int value)
Output only.
|
Recognizer.Builder |
setUid(String value)
Output only.
|
Recognizer.Builder |
setUidBytes(com.google.protobuf.ByteString value)
Output only.
|
Recognizer.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Recognizer.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Recognizer.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder>public Recognizer.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder>public Recognizer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Recognizer build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Recognizer buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Recognizer.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder>public Recognizer.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder>public Recognizer.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder>public Recognizer.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder>public Recognizer.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder>public Recognizer.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder>public Recognizer.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Recognizer.Builder>public Recognizer.Builder mergeFrom(Recognizer other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder>public Recognizer.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Recognizer.Builder>IOExceptionpublic String getName()
Output only. The resource name of the Recognizer.
Format: `projects/{project}/locations/{location}/recognizers/{recognizer}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface RecognizerOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the Recognizer.
Format: `projects/{project}/locations/{location}/recognizers/{recognizer}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface RecognizerOrBuilderpublic Recognizer.Builder setName(String value)
Output only. The resource name of the Recognizer.
Format: `projects/{project}/locations/{location}/recognizers/{recognizer}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Recognizer.Builder clearName()
Output only. The resource name of the Recognizer.
Format: `projects/{project}/locations/{location}/recognizers/{recognizer}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Recognizer.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the Recognizer.
Format: `projects/{project}/locations/{location}/recognizers/{recognizer}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public String getUid()
Output only. System-assigned unique identifier for the Recognizer.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getUid in interface RecognizerOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
Output only. System-assigned unique identifier for the Recognizer.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getUidBytes in interface RecognizerOrBuilderpublic Recognizer.Builder setUid(String value)
Output only. System-assigned unique identifier for the Recognizer.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The uid to set.public Recognizer.Builder clearUid()
Output only. System-assigned unique identifier for the Recognizer.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public Recognizer.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. System-assigned unique identifier for the Recognizer.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for uid to set.public String getDisplayName()
User-settable, human-readable name for the Recognizer. Must be 63 characters or less.
string display_name = 3;getDisplayName in interface RecognizerOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
User-settable, human-readable name for the Recognizer. Must be 63 characters or less.
string display_name = 3;getDisplayNameBytes in interface RecognizerOrBuilderpublic Recognizer.Builder setDisplayName(String value)
User-settable, human-readable name for the Recognizer. Must be 63 characters or less.
string display_name = 3;value - The displayName to set.public Recognizer.Builder clearDisplayName()
User-settable, human-readable name for the Recognizer. Must be 63 characters or less.
string display_name = 3;public Recognizer.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
User-settable, human-readable name for the Recognizer. Must be 63 characters or less.
string display_name = 3;value - The bytes for displayName to set.@Deprecated public String getModel()
Optional. Which model to use for recognition requests. Select the model best suited to your domain to get best results. Guidance for choosing which model to use can be found in the [Transcription Models Documentation](https://cloud.google.com/speech-to-text/v2/docs/transcription-model) and the models supported in each region can be found in the [Table Of Supported Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages).
string model = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];getModel in interface RecognizerOrBuilder@Deprecated public com.google.protobuf.ByteString getModelBytes()
Optional. Which model to use for recognition requests. Select the model best suited to your domain to get best results. Guidance for choosing which model to use can be found in the [Transcription Models Documentation](https://cloud.google.com/speech-to-text/v2/docs/transcription-model) and the models supported in each region can be found in the [Table Of Supported Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages).
string model = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];getModelBytes in interface RecognizerOrBuilder@Deprecated public Recognizer.Builder setModel(String value)
Optional. Which model to use for recognition requests. Select the model best suited to your domain to get best results. Guidance for choosing which model to use can be found in the [Transcription Models Documentation](https://cloud.google.com/speech-to-text/v2/docs/transcription-model) and the models supported in each region can be found in the [Table Of Supported Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages).
string model = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];value - The model to set.@Deprecated public Recognizer.Builder clearModel()
Optional. Which model to use for recognition requests. Select the model best suited to your domain to get best results. Guidance for choosing which model to use can be found in the [Transcription Models Documentation](https://cloud.google.com/speech-to-text/v2/docs/transcription-model) and the models supported in each region can be found in the [Table Of Supported Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages).
string model = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];@Deprecated public Recognizer.Builder setModelBytes(com.google.protobuf.ByteString value)
Optional. Which model to use for recognition requests. Select the model best suited to your domain to get best results. Guidance for choosing which model to use can be found in the [Transcription Models Documentation](https://cloud.google.com/speech-to-text/v2/docs/transcription-model) and the models supported in each region can be found in the [Table Of Supported Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages).
string model = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];value - The bytes for model to set.@Deprecated public com.google.protobuf.ProtocolStringList getLanguageCodesList()
Optional. The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Supported languages for each model are listed in the [Table of Supported Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages). If additional languages are provided, recognition result will contain recognition in the most likely language detected. The recognition result will include the language tag of the language detected in the audio. When you create or update a Recognizer, these values are stored in normalized BCP-47 form. For example, "en-us" is stored as "en-US".
repeated string language_codes = 17 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
getLanguageCodesList in interface RecognizerOrBuilder@Deprecated public int getLanguageCodesCount()
Optional. The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Supported languages for each model are listed in the [Table of Supported Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages). If additional languages are provided, recognition result will contain recognition in the most likely language detected. The recognition result will include the language tag of the language detected in the audio. When you create or update a Recognizer, these values are stored in normalized BCP-47 form. For example, "en-us" is stored as "en-US".
repeated string language_codes = 17 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
getLanguageCodesCount in interface RecognizerOrBuilder@Deprecated public String getLanguageCodes(int index)
Optional. The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Supported languages for each model are listed in the [Table of Supported Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages). If additional languages are provided, recognition result will contain recognition in the most likely language detected. The recognition result will include the language tag of the language detected in the audio. When you create or update a Recognizer, these values are stored in normalized BCP-47 form. For example, "en-us" is stored as "en-US".
repeated string language_codes = 17 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
getLanguageCodes in interface RecognizerOrBuilderindex - The index of the element to return.@Deprecated public com.google.protobuf.ByteString getLanguageCodesBytes(int index)
Optional. The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Supported languages for each model are listed in the [Table of Supported Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages). If additional languages are provided, recognition result will contain recognition in the most likely language detected. The recognition result will include the language tag of the language detected in the audio. When you create or update a Recognizer, these values are stored in normalized BCP-47 form. For example, "en-us" is stored as "en-US".
repeated string language_codes = 17 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
getLanguageCodesBytes in interface RecognizerOrBuilderindex - The index of the value to return.@Deprecated public Recognizer.Builder setLanguageCodes(int index, String value)
Optional. The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Supported languages for each model are listed in the [Table of Supported Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages). If additional languages are provided, recognition result will contain recognition in the most likely language detected. The recognition result will include the language tag of the language detected in the audio. When you create or update a Recognizer, these values are stored in normalized BCP-47 form. For example, "en-us" is stored as "en-US".
repeated string language_codes = 17 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
index - The index to set the value at.value - The languageCodes to set.@Deprecated public Recognizer.Builder addLanguageCodes(String value)
Optional. The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Supported languages for each model are listed in the [Table of Supported Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages). If additional languages are provided, recognition result will contain recognition in the most likely language detected. The recognition result will include the language tag of the language detected in the audio. When you create or update a Recognizer, these values are stored in normalized BCP-47 form. For example, "en-us" is stored as "en-US".
repeated string language_codes = 17 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
value - The languageCodes to add.@Deprecated public Recognizer.Builder addAllLanguageCodes(Iterable<String> values)
Optional. The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Supported languages for each model are listed in the [Table of Supported Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages). If additional languages are provided, recognition result will contain recognition in the most likely language detected. The recognition result will include the language tag of the language detected in the audio. When you create or update a Recognizer, these values are stored in normalized BCP-47 form. For example, "en-us" is stored as "en-US".
repeated string language_codes = 17 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
values - The languageCodes to add.@Deprecated public Recognizer.Builder clearLanguageCodes()
Optional. The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Supported languages for each model are listed in the [Table of Supported Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages). If additional languages are provided, recognition result will contain recognition in the most likely language detected. The recognition result will include the language tag of the language detected in the audio. When you create or update a Recognizer, these values are stored in normalized BCP-47 form. For example, "en-us" is stored as "en-US".
repeated string language_codes = 17 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
@Deprecated public Recognizer.Builder addLanguageCodesBytes(com.google.protobuf.ByteString value)
Optional. The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Supported languages for each model are listed in the [Table of Supported Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages). If additional languages are provided, recognition result will contain recognition in the most likely language detected. The recognition result will include the language tag of the language detected in the audio. When you create or update a Recognizer, these values are stored in normalized BCP-47 form. For example, "en-us" is stored as "en-US".
repeated string language_codes = 17 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
value - The bytes of the languageCodes to add.public boolean hasDefaultRecognitionConfig()
Default configuration to use for requests with this Recognizer. This can be overwritten by inline configuration in the [RecognizeRequest.config][google.cloud.speech.v2.RecognizeRequest.config] field.
.google.cloud.speech.v2.RecognitionConfig default_recognition_config = 6;hasDefaultRecognitionConfig in interface RecognizerOrBuilderpublic RecognitionConfig getDefaultRecognitionConfig()
Default configuration to use for requests with this Recognizer. This can be overwritten by inline configuration in the [RecognizeRequest.config][google.cloud.speech.v2.RecognizeRequest.config] field.
.google.cloud.speech.v2.RecognitionConfig default_recognition_config = 6;getDefaultRecognitionConfig in interface RecognizerOrBuilderpublic Recognizer.Builder setDefaultRecognitionConfig(RecognitionConfig value)
Default configuration to use for requests with this Recognizer. This can be overwritten by inline configuration in the [RecognizeRequest.config][google.cloud.speech.v2.RecognizeRequest.config] field.
.google.cloud.speech.v2.RecognitionConfig default_recognition_config = 6;public Recognizer.Builder setDefaultRecognitionConfig(RecognitionConfig.Builder builderForValue)
Default configuration to use for requests with this Recognizer. This can be overwritten by inline configuration in the [RecognizeRequest.config][google.cloud.speech.v2.RecognizeRequest.config] field.
.google.cloud.speech.v2.RecognitionConfig default_recognition_config = 6;public Recognizer.Builder mergeDefaultRecognitionConfig(RecognitionConfig value)
Default configuration to use for requests with this Recognizer. This can be overwritten by inline configuration in the [RecognizeRequest.config][google.cloud.speech.v2.RecognizeRequest.config] field.
.google.cloud.speech.v2.RecognitionConfig default_recognition_config = 6;public Recognizer.Builder clearDefaultRecognitionConfig()
Default configuration to use for requests with this Recognizer. This can be overwritten by inline configuration in the [RecognizeRequest.config][google.cloud.speech.v2.RecognizeRequest.config] field.
.google.cloud.speech.v2.RecognitionConfig default_recognition_config = 6;public RecognitionConfig.Builder getDefaultRecognitionConfigBuilder()
Default configuration to use for requests with this Recognizer. This can be overwritten by inline configuration in the [RecognizeRequest.config][google.cloud.speech.v2.RecognizeRequest.config] field.
.google.cloud.speech.v2.RecognitionConfig default_recognition_config = 6;public RecognitionConfigOrBuilder getDefaultRecognitionConfigOrBuilder()
Default configuration to use for requests with this Recognizer. This can be overwritten by inline configuration in the [RecognizeRequest.config][google.cloud.speech.v2.RecognizeRequest.config] field.
.google.cloud.speech.v2.RecognitionConfig default_recognition_config = 6;getDefaultRecognitionConfigOrBuilder in interface RecognizerOrBuilderpublic int getAnnotationsCount()
RecognizerOrBuilderAllows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations.
map<string, string> annotations = 7;getAnnotationsCount in interface RecognizerOrBuilderpublic boolean containsAnnotations(String key)
Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations.
map<string, string> annotations = 7;containsAnnotations in interface RecognizerOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface RecognizerOrBuilderpublic Map<String,String> getAnnotationsMap()
Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations.
map<string, string> annotations = 7;getAnnotationsMap in interface RecognizerOrBuilderpublic String getAnnotationsOrDefault(String key, String defaultValue)
Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations.
map<string, string> annotations = 7;getAnnotationsOrDefault in interface RecognizerOrBuilderpublic String getAnnotationsOrThrow(String key)
Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations.
map<string, string> annotations = 7;getAnnotationsOrThrow in interface RecognizerOrBuilderpublic Recognizer.Builder clearAnnotations()
public Recognizer.Builder removeAnnotations(String key)
Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations.
map<string, string> annotations = 7;@Deprecated public Map<String,String> getMutableAnnotations()
public Recognizer.Builder putAnnotations(String key, String value)
Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations.
map<string, string> annotations = 7;public Recognizer.Builder putAllAnnotations(Map<String,String> values)
Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations.
map<string, string> annotations = 7;public int getStateValue()
Output only. The Recognizer lifecycle state.
.google.cloud.speech.v2.Recognizer.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface RecognizerOrBuilderpublic Recognizer.Builder setStateValue(int value)
Output only. The Recognizer lifecycle state.
.google.cloud.speech.v2.Recognizer.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public Recognizer.State getState()
Output only. The Recognizer lifecycle state.
.google.cloud.speech.v2.Recognizer.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface RecognizerOrBuilderpublic Recognizer.Builder setState(Recognizer.State value)
Output only. The Recognizer lifecycle state.
.google.cloud.speech.v2.Recognizer.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Recognizer.Builder clearState()
Output only. The Recognizer lifecycle state.
.google.cloud.speech.v2.Recognizer.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasCreateTime()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface RecognizerOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface RecognizerOrBuilderpublic Recognizer.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Creation time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Recognizer.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Creation time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Recognizer.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Creation time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Recognizer.Builder clearCreateTime()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface RecognizerOrBuilderpublic boolean hasUpdateTime()
Output only. The most recent time this Recognizer was modified.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface RecognizerOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The most recent time this Recognizer was modified.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface RecognizerOrBuilderpublic Recognizer.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The most recent time this Recognizer was modified.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Recognizer.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The most recent time this Recognizer was modified.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Recognizer.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The most recent time this Recognizer was modified.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Recognizer.Builder clearUpdateTime()
Output only. The most recent time this Recognizer was modified.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The most recent time this Recognizer was modified.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The most recent time this Recognizer was modified.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface RecognizerOrBuilderpublic boolean hasDeleteTime()
Output only. The time at which this Recognizer was requested for deletion.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDeleteTime in interface RecognizerOrBuilderpublic com.google.protobuf.Timestamp getDeleteTime()
Output only. The time at which this Recognizer was requested for deletion.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTime in interface RecognizerOrBuilderpublic Recognizer.Builder setDeleteTime(com.google.protobuf.Timestamp value)
Output only. The time at which this Recognizer was requested for deletion.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Recognizer.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which this Recognizer was requested for deletion.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Recognizer.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only. The time at which this Recognizer was requested for deletion.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Recognizer.Builder clearDeleteTime()
Output only. The time at which this Recognizer was requested for deletion.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
Output only. The time at which this Recognizer was requested for deletion.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. The time at which this Recognizer was requested for deletion.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTimeOrBuilder in interface RecognizerOrBuilderpublic boolean hasExpireTime()
Output only. The time at which this Recognizer will be purged.
.google.protobuf.Timestamp expire_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasExpireTime in interface RecognizerOrBuilderpublic com.google.protobuf.Timestamp getExpireTime()
Output only. The time at which this Recognizer will be purged.
.google.protobuf.Timestamp expire_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExpireTime in interface RecognizerOrBuilderpublic Recognizer.Builder setExpireTime(com.google.protobuf.Timestamp value)
Output only. The time at which this Recognizer will be purged.
.google.protobuf.Timestamp expire_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Recognizer.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which this Recognizer will be purged.
.google.protobuf.Timestamp expire_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Recognizer.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
Output only. The time at which this Recognizer will be purged.
.google.protobuf.Timestamp expire_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Recognizer.Builder clearExpireTime()
Output only. The time at which this Recognizer will be purged.
.google.protobuf.Timestamp expire_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
Output only. The time at which this Recognizer will be purged.
.google.protobuf.Timestamp expire_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. The time at which this Recognizer will be purged.
.google.protobuf.Timestamp expire_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExpireTimeOrBuilder in interface RecognizerOrBuilderpublic String getEtag()
Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];getEtag in interface RecognizerOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];getEtagBytes in interface RecognizerOrBuilderpublic Recognizer.Builder setEtag(String value)
Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The etag to set.public Recognizer.Builder clearEtag()
Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];public Recognizer.Builder setEtagBytes(com.google.protobuf.ByteString value)
Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for etag to set.public boolean getReconciling()
Output only. Whether or not this Recognizer is in the process of being updated.
bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];getReconciling in interface RecognizerOrBuilderpublic Recognizer.Builder setReconciling(boolean value)
Output only. Whether or not this Recognizer is in the process of being updated.
bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The reconciling to set.public Recognizer.Builder clearReconciling()
Output only. Whether or not this Recognizer is in the process of being updated.
bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];public String getKmsKeyName()
Output only. The [KMS key
name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which
the Recognizer is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
string kms_key_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getKmsKeyName in interface RecognizerOrBuilderpublic com.google.protobuf.ByteString getKmsKeyNameBytes()
Output only. The [KMS key
name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which
the Recognizer is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
string kms_key_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getKmsKeyNameBytes in interface RecognizerOrBuilderpublic Recognizer.Builder setKmsKeyName(String value)
Output only. The [KMS key
name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which
the Recognizer is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
string kms_key_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The kmsKeyName to set.public Recognizer.Builder clearKmsKeyName()
Output only. The [KMS key
name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which
the Recognizer is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
string kms_key_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public Recognizer.Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value)
Output only. The [KMS key
name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which
the Recognizer is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
string kms_key_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for kmsKeyName to set.public String getKmsKeyVersionName()
Output only. The [KMS key version
name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions)
with which the Recognizer is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.
string kms_key_version_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getKmsKeyVersionName in interface RecognizerOrBuilderpublic com.google.protobuf.ByteString getKmsKeyVersionNameBytes()
Output only. The [KMS key version
name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions)
with which the Recognizer is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.
string kms_key_version_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getKmsKeyVersionNameBytes in interface RecognizerOrBuilderpublic Recognizer.Builder setKmsKeyVersionName(String value)
Output only. The [KMS key version
name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions)
with which the Recognizer is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.
string kms_key_version_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The kmsKeyVersionName to set.public Recognizer.Builder clearKmsKeyVersionName()
Output only. The [KMS key version
name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions)
with which the Recognizer is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.
string kms_key_version_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public Recognizer.Builder setKmsKeyVersionNameBytes(com.google.protobuf.ByteString value)
Output only. The [KMS key version
name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions)
with which the Recognizer is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.
string kms_key_version_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for kmsKeyVersionName to set.public final Recognizer.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder>public final Recognizer.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Recognizer.Builder>Copyright © 2023 Google LLC. All rights reserved.