Package com.google.cloud.speech.v2
Interface StreamingRecognitionConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamingRecognitionConfig
,StreamingRecognitionConfig.Builder
public interface StreamingRecognitionConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecognitionConfig
getConfig()
Required.com.google.protobuf.FieldMask
getConfigMask()
The list of fields in [config][google.cloud.speech.v2.StreamingRecognitionConfig.config] that override the values in the [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config] of the recognizer during this recognition request.com.google.protobuf.FieldMaskOrBuilder
getConfigMaskOrBuilder()
The list of fields in [config][google.cloud.speech.v2.StreamingRecognitionConfig.config] that override the values in the [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config] of the recognizer during this recognition request.RecognitionConfigOrBuilder
getConfigOrBuilder()
Required.StreamingRecognitionFeatures
getStreamingFeatures()
Speech recognition features to enable specific to streaming audio recognition requests.StreamingRecognitionFeaturesOrBuilder
getStreamingFeaturesOrBuilder()
Speech recognition features to enable specific to streaming audio recognition requests.boolean
hasConfig()
Required.boolean
hasConfigMask()
The list of fields in [config][google.cloud.speech.v2.StreamingRecognitionConfig.config] that override the values in the [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config] of the recognizer during this recognition request.boolean
hasStreamingFeatures()
Speech recognition features to enable specific to streaming audio recognition requests.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasConfig
boolean hasConfig()
Required. Features and audio metadata to use for the Automatic Speech Recognition. This field in combination with the [config_mask][google.cloud.speech.v2.StreamingRecognitionConfig.config_mask] field can be used to override parts of the [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config] of the Recognizer resource.
.google.cloud.speech.v2.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the config field is set.
-
getConfig
RecognitionConfig getConfig()
Required. Features and audio metadata to use for the Automatic Speech Recognition. This field in combination with the [config_mask][google.cloud.speech.v2.StreamingRecognitionConfig.config_mask] field can be used to override parts of the [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config] of the Recognizer resource.
.google.cloud.speech.v2.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The config.
-
getConfigOrBuilder
RecognitionConfigOrBuilder getConfigOrBuilder()
Required. Features and audio metadata to use for the Automatic Speech Recognition. This field in combination with the [config_mask][google.cloud.speech.v2.StreamingRecognitionConfig.config_mask] field can be used to override parts of the [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config] of the Recognizer resource.
.google.cloud.speech.v2.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasConfigMask
boolean hasConfigMask()
The list of fields in [config][google.cloud.speech.v2.StreamingRecognitionConfig.config] that override the values in the [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config] of the recognizer during this recognition request. If no mask is provided, all non-default valued fields in [config][google.cloud.speech.v2.StreamingRecognitionConfig.config] override the values in the Recognizer for this recognition request. If a mask is provided, only the fields listed in the mask override the config in the Recognizer for this recognition request. If a wildcard (`*`) is provided, [config][google.cloud.speech.v2.StreamingRecognitionConfig.config] completely overrides and replaces the config in the recognizer for this recognition request.
.google.protobuf.FieldMask config_mask = 3;
- Returns:
- Whether the configMask field is set.
-
getConfigMask
com.google.protobuf.FieldMask getConfigMask()
The list of fields in [config][google.cloud.speech.v2.StreamingRecognitionConfig.config] that override the values in the [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config] of the recognizer during this recognition request. If no mask is provided, all non-default valued fields in [config][google.cloud.speech.v2.StreamingRecognitionConfig.config] override the values in the Recognizer for this recognition request. If a mask is provided, only the fields listed in the mask override the config in the Recognizer for this recognition request. If a wildcard (`*`) is provided, [config][google.cloud.speech.v2.StreamingRecognitionConfig.config] completely overrides and replaces the config in the recognizer for this recognition request.
.google.protobuf.FieldMask config_mask = 3;
- Returns:
- The configMask.
-
getConfigMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getConfigMaskOrBuilder()
The list of fields in [config][google.cloud.speech.v2.StreamingRecognitionConfig.config] that override the values in the [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config] of the recognizer during this recognition request. If no mask is provided, all non-default valued fields in [config][google.cloud.speech.v2.StreamingRecognitionConfig.config] override the values in the Recognizer for this recognition request. If a mask is provided, only the fields listed in the mask override the config in the Recognizer for this recognition request. If a wildcard (`*`) is provided, [config][google.cloud.speech.v2.StreamingRecognitionConfig.config] completely overrides and replaces the config in the recognizer for this recognition request.
.google.protobuf.FieldMask config_mask = 3;
-
hasStreamingFeatures
boolean hasStreamingFeatures()
Speech recognition features to enable specific to streaming audio recognition requests.
.google.cloud.speech.v2.StreamingRecognitionFeatures streaming_features = 2;
- Returns:
- Whether the streamingFeatures field is set.
-
getStreamingFeatures
StreamingRecognitionFeatures getStreamingFeatures()
Speech recognition features to enable specific to streaming audio recognition requests.
.google.cloud.speech.v2.StreamingRecognitionFeatures streaming_features = 2;
- Returns:
- The streamingFeatures.
-
getStreamingFeaturesOrBuilder
StreamingRecognitionFeaturesOrBuilder getStreamingFeaturesOrBuilder()
Speech recognition features to enable specific to streaming audio recognition requests.
.google.cloud.speech.v2.StreamingRecognitionFeatures streaming_features = 2;
-
-