Class BatchRecognizeRequest.Builder

  • All Implemented Interfaces:
    BatchRecognizeRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    BatchRecognizeRequest

    public static final class BatchRecognizeRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>
    implements BatchRecognizeRequestOrBuilder
     Request message for the
     [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize]
     method.
     
    Protobuf type google.cloud.speech.v2.BatchRecognizeRequest
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>
      • clear

        public BatchRecognizeRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>
      • getDefaultInstanceForType

        public BatchRecognizeRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public BatchRecognizeRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public BatchRecognizeRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public BatchRecognizeRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>
      • clearField

        public BatchRecognizeRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>
      • clearOneof

        public BatchRecognizeRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>
      • setRepeatedField

        public BatchRecognizeRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>
      • addRepeatedField

        public BatchRecognizeRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>
      • mergeFrom

        public BatchRecognizeRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchRecognizeRequest.Builder>
        Throws:
        IOException
      • getRecognizer

        public String getRecognizer()
         Required. The name of the Recognizer to use during recognition. The
         expected format is
         `projects/{project}/locations/{location}/recognizers/{recognizer}`. The
         {recognizer} segment may be set to `_` to use an empty implicit Recognizer.
         
        string recognizer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getRecognizer in interface BatchRecognizeRequestOrBuilder
        Returns:
        The recognizer.
      • getRecognizerBytes

        public com.google.protobuf.ByteString getRecognizerBytes()
         Required. The name of the Recognizer to use during recognition. The
         expected format is
         `projects/{project}/locations/{location}/recognizers/{recognizer}`. The
         {recognizer} segment may be set to `_` to use an empty implicit Recognizer.
         
        string recognizer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getRecognizerBytes in interface BatchRecognizeRequestOrBuilder
        Returns:
        The bytes for recognizer.
      • setRecognizer

        public BatchRecognizeRequest.Builder setRecognizer​(String value)
         Required. The name of the Recognizer to use during recognition. The
         expected format is
         `projects/{project}/locations/{location}/recognizers/{recognizer}`. The
         {recognizer} segment may be set to `_` to use an empty implicit Recognizer.
         
        string recognizer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The recognizer to set.
        Returns:
        This builder for chaining.
      • clearRecognizer

        public BatchRecognizeRequest.Builder clearRecognizer()
         Required. The name of the Recognizer to use during recognition. The
         expected format is
         `projects/{project}/locations/{location}/recognizers/{recognizer}`. The
         {recognizer} segment may be set to `_` to use an empty implicit Recognizer.
         
        string recognizer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setRecognizerBytes

        public BatchRecognizeRequest.Builder setRecognizerBytes​(com.google.protobuf.ByteString value)
         Required. The name of the Recognizer to use during recognition. The
         expected format is
         `projects/{project}/locations/{location}/recognizers/{recognizer}`. The
         {recognizer} segment may be set to `_` to use an empty implicit Recognizer.
         
        string recognizer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for recognizer to set.
        Returns:
        This builder for chaining.
      • hasConfig

        public boolean hasConfig()
         Features and audio metadata to use for the Automatic Speech Recognition.
         This field in combination with the
         [config_mask][google.cloud.speech.v2.BatchRecognizeRequest.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 = 4;
        Specified by:
        hasConfig in interface BatchRecognizeRequestOrBuilder
        Returns:
        Whether the config field is set.
      • getConfig

        public RecognitionConfig getConfig()
         Features and audio metadata to use for the Automatic Speech Recognition.
         This field in combination with the
         [config_mask][google.cloud.speech.v2.BatchRecognizeRequest.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 = 4;
        Specified by:
        getConfig in interface BatchRecognizeRequestOrBuilder
        Returns:
        The config.
      • setConfig

        public BatchRecognizeRequest.Builder setConfig​(RecognitionConfig value)
         Features and audio metadata to use for the Automatic Speech Recognition.
         This field in combination with the
         [config_mask][google.cloud.speech.v2.BatchRecognizeRequest.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 = 4;
      • setConfig

        public BatchRecognizeRequest.Builder setConfig​(RecognitionConfig.Builder builderForValue)
         Features and audio metadata to use for the Automatic Speech Recognition.
         This field in combination with the
         [config_mask][google.cloud.speech.v2.BatchRecognizeRequest.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 = 4;
      • mergeConfig

        public BatchRecognizeRequest.Builder mergeConfig​(RecognitionConfig value)
         Features and audio metadata to use for the Automatic Speech Recognition.
         This field in combination with the
         [config_mask][google.cloud.speech.v2.BatchRecognizeRequest.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 = 4;
      • clearConfig

        public BatchRecognizeRequest.Builder clearConfig()
         Features and audio metadata to use for the Automatic Speech Recognition.
         This field in combination with the
         [config_mask][google.cloud.speech.v2.BatchRecognizeRequest.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 = 4;
      • getConfigBuilder

        public RecognitionConfig.Builder getConfigBuilder()
         Features and audio metadata to use for the Automatic Speech Recognition.
         This field in combination with the
         [config_mask][google.cloud.speech.v2.BatchRecognizeRequest.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 = 4;
      • getConfigOrBuilder

        public RecognitionConfigOrBuilder getConfigOrBuilder()
         Features and audio metadata to use for the Automatic Speech Recognition.
         This field in combination with the
         [config_mask][google.cloud.speech.v2.BatchRecognizeRequest.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 = 4;
        Specified by:
        getConfigOrBuilder in interface BatchRecognizeRequestOrBuilder
      • hasConfigMask

        public boolean hasConfigMask()
         The list of fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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 given fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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.BatchRecognizeRequest.config] completely
         overrides and replaces the config in the recognizer for this recognition
         request.
         
        .google.protobuf.FieldMask config_mask = 5;
        Specified by:
        hasConfigMask in interface BatchRecognizeRequestOrBuilder
        Returns:
        Whether the configMask field is set.
      • getConfigMask

        public com.google.protobuf.FieldMask getConfigMask()
         The list of fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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 given fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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.BatchRecognizeRequest.config] completely
         overrides and replaces the config in the recognizer for this recognition
         request.
         
        .google.protobuf.FieldMask config_mask = 5;
        Specified by:
        getConfigMask in interface BatchRecognizeRequestOrBuilder
        Returns:
        The configMask.
      • setConfigMask

        public BatchRecognizeRequest.Builder setConfigMask​(com.google.protobuf.FieldMask value)
         The list of fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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 given fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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.BatchRecognizeRequest.config] completely
         overrides and replaces the config in the recognizer for this recognition
         request.
         
        .google.protobuf.FieldMask config_mask = 5;
      • setConfigMask

        public BatchRecognizeRequest.Builder setConfigMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         The list of fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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 given fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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.BatchRecognizeRequest.config] completely
         overrides and replaces the config in the recognizer for this recognition
         request.
         
        .google.protobuf.FieldMask config_mask = 5;
      • mergeConfigMask

        public BatchRecognizeRequest.Builder mergeConfigMask​(com.google.protobuf.FieldMask value)
         The list of fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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 given fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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.BatchRecognizeRequest.config] completely
         overrides and replaces the config in the recognizer for this recognition
         request.
         
        .google.protobuf.FieldMask config_mask = 5;
      • clearConfigMask

        public BatchRecognizeRequest.Builder clearConfigMask()
         The list of fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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 given fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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.BatchRecognizeRequest.config] completely
         overrides and replaces the config in the recognizer for this recognition
         request.
         
        .google.protobuf.FieldMask config_mask = 5;
      • getConfigMaskBuilder

        public com.google.protobuf.FieldMask.Builder getConfigMaskBuilder()
         The list of fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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 given fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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.BatchRecognizeRequest.config] completely
         overrides and replaces the config in the recognizer for this recognition
         request.
         
        .google.protobuf.FieldMask config_mask = 5;
      • getConfigMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getConfigMaskOrBuilder()
         The list of fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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 given fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.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.BatchRecognizeRequest.config] completely
         overrides and replaces the config in the recognizer for this recognition
         request.
         
        .google.protobuf.FieldMask config_mask = 5;
        Specified by:
        getConfigMaskOrBuilder in interface BatchRecognizeRequestOrBuilder
      • getFilesCount

        public int getFilesCount()
         Audio files with file metadata for ASR.
         The maximum number of files allowed to be specified is 5.
         
        repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
        Specified by:
        getFilesCount in interface BatchRecognizeRequestOrBuilder
      • setFiles

        public BatchRecognizeRequest.Builder setFiles​(int index,
                                                      BatchRecognizeFileMetadata value)
         Audio files with file metadata for ASR.
         The maximum number of files allowed to be specified is 5.
         
        repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      • addFiles

        public BatchRecognizeRequest.Builder addFiles​(int index,
                                                      BatchRecognizeFileMetadata value)
         Audio files with file metadata for ASR.
         The maximum number of files allowed to be specified is 5.
         
        repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      • clearFiles

        public BatchRecognizeRequest.Builder clearFiles()
         Audio files with file metadata for ASR.
         The maximum number of files allowed to be specified is 5.
         
        repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      • removeFiles

        public BatchRecognizeRequest.Builder removeFiles​(int index)
         Audio files with file metadata for ASR.
         The maximum number of files allowed to be specified is 5.
         
        repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      • getFilesBuilder

        public BatchRecognizeFileMetadata.Builder getFilesBuilder​(int index)
         Audio files with file metadata for ASR.
         The maximum number of files allowed to be specified is 5.
         
        repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      • addFilesBuilder

        public BatchRecognizeFileMetadata.Builder addFilesBuilder()
         Audio files with file metadata for ASR.
         The maximum number of files allowed to be specified is 5.
         
        repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      • addFilesBuilder

        public BatchRecognizeFileMetadata.Builder addFilesBuilder​(int index)
         Audio files with file metadata for ASR.
         The maximum number of files allowed to be specified is 5.
         
        repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      • getFilesBuilderList

        public List<BatchRecognizeFileMetadata.Builder> getFilesBuilderList()
         Audio files with file metadata for ASR.
         The maximum number of files allowed to be specified is 5.
         
        repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      • hasRecognitionOutputConfig

        public boolean hasRecognitionOutputConfig()
         Configuration options for where to output the transcripts of each file.
         
        .google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;
        Specified by:
        hasRecognitionOutputConfig in interface BatchRecognizeRequestOrBuilder
        Returns:
        Whether the recognitionOutputConfig field is set.
      • setRecognitionOutputConfig

        public BatchRecognizeRequest.Builder setRecognitionOutputConfig​(RecognitionOutputConfig value)
         Configuration options for where to output the transcripts of each file.
         
        .google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;
      • mergeRecognitionOutputConfig

        public BatchRecognizeRequest.Builder mergeRecognitionOutputConfig​(RecognitionOutputConfig value)
         Configuration options for where to output the transcripts of each file.
         
        .google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;
      • clearRecognitionOutputConfig

        public BatchRecognizeRequest.Builder clearRecognitionOutputConfig()
         Configuration options for where to output the transcripts of each file.
         
        .google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;
      • getRecognitionOutputConfigBuilder

        public RecognitionOutputConfig.Builder getRecognitionOutputConfigBuilder()
         Configuration options for where to output the transcripts of each file.
         
        .google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;
      • getProcessingStrategyValue

        public int getProcessingStrategyValue()
         Processing strategy to use for this request.
         
        .google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
        Specified by:
        getProcessingStrategyValue in interface BatchRecognizeRequestOrBuilder
        Returns:
        The enum numeric value on the wire for processingStrategy.
      • setProcessingStrategyValue

        public BatchRecognizeRequest.Builder setProcessingStrategyValue​(int value)
         Processing strategy to use for this request.
         
        .google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
        Parameters:
        value - The enum numeric value on the wire for processingStrategy to set.
        Returns:
        This builder for chaining.
      • setProcessingStrategy

        public BatchRecognizeRequest.Builder setProcessingStrategy​(BatchRecognizeRequest.ProcessingStrategy value)
         Processing strategy to use for this request.
         
        .google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
        Parameters:
        value - The processingStrategy to set.
        Returns:
        This builder for chaining.
      • clearProcessingStrategy

        public BatchRecognizeRequest.Builder clearProcessingStrategy()
         Processing strategy to use for this request.
         
        .google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final BatchRecognizeRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>
      • mergeUnknownFields

        public final BatchRecognizeRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>