public static final class BatchRecognizeFileMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeFileMetadata.Builder> implements BatchRecognizeFileMetadataOrBuilder
Metadata about a single file in a batch for BatchRecognize.Protobuf type
google.cloud.speech.v2.BatchRecognizeFileMetadata| Modifier and Type | Method and Description |
|---|---|
BatchRecognizeFileMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchRecognizeFileMetadata |
build() |
BatchRecognizeFileMetadata |
buildPartial() |
BatchRecognizeFileMetadata.Builder |
clear() |
BatchRecognizeFileMetadata.Builder |
clearAudioSource() |
BatchRecognizeFileMetadata.Builder |
clearConfig()
Features and audio metadata to use for the Automatic Speech Recognition.
|
BatchRecognizeFileMetadata.Builder |
clearConfigMask()
The list of fields in
[config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.
|
BatchRecognizeFileMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchRecognizeFileMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BatchRecognizeFileMetadata.Builder |
clearUri()
Cloud Storage URI for the audio file.
|
BatchRecognizeFileMetadata.Builder |
clone() |
BatchRecognizeFileMetadata.AudioSourceCase |
getAudioSourceCase() |
RecognitionConfig |
getConfig()
Features and audio metadata to use for the Automatic Speech Recognition.
|
RecognitionConfig.Builder |
getConfigBuilder()
Features and audio metadata to use for the Automatic Speech Recognition.
|
com.google.protobuf.FieldMask |
getConfigMask()
The list of fields in
[config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.FieldMask.Builder |
getConfigMaskBuilder()
The list of fields in
[config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.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()
Features and audio metadata to use for the Automatic Speech Recognition.
|
BatchRecognizeFileMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getUri()
Cloud Storage URI for the audio file.
|
com.google.protobuf.ByteString |
getUriBytes()
Cloud Storage URI for the audio file.
|
boolean |
hasConfig()
Features and audio metadata to use for the Automatic Speech Recognition.
|
boolean |
hasConfigMask()
The list of fields in
[config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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 |
hasUri()
Cloud Storage URI for the audio file.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchRecognizeFileMetadata.Builder |
mergeConfig(RecognitionConfig value)
Features and audio metadata to use for the Automatic Speech Recognition.
|
BatchRecognizeFileMetadata.Builder |
mergeConfigMask(com.google.protobuf.FieldMask value)
The list of fields in
[config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.
|
BatchRecognizeFileMetadata.Builder |
mergeFrom(BatchRecognizeFileMetadata other) |
BatchRecognizeFileMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchRecognizeFileMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchRecognizeFileMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchRecognizeFileMetadata.Builder |
setConfig(RecognitionConfig.Builder builderForValue)
Features and audio metadata to use for the Automatic Speech Recognition.
|
BatchRecognizeFileMetadata.Builder |
setConfig(RecognitionConfig value)
Features and audio metadata to use for the Automatic Speech Recognition.
|
BatchRecognizeFileMetadata.Builder |
setConfigMask(com.google.protobuf.FieldMask.Builder builderForValue)
The list of fields in
[config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.
|
BatchRecognizeFileMetadata.Builder |
setConfigMask(com.google.protobuf.FieldMask value)
The list of fields in
[config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.
|
BatchRecognizeFileMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchRecognizeFileMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchRecognizeFileMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchRecognizeFileMetadata.Builder |
setUri(String value)
Cloud Storage URI for the audio file.
|
BatchRecognizeFileMetadata.Builder |
setUriBytes(com.google.protobuf.ByteString value)
Cloud Storage URI for the audio file.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeFileMetadata.Builder>public BatchRecognizeFileMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeFileMetadata.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<BatchRecognizeFileMetadata.Builder>public BatchRecognizeFileMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchRecognizeFileMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchRecognizeFileMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchRecognizeFileMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeFileMetadata.Builder>public BatchRecognizeFileMetadata.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<BatchRecognizeFileMetadata.Builder>public BatchRecognizeFileMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeFileMetadata.Builder>public BatchRecognizeFileMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeFileMetadata.Builder>public BatchRecognizeFileMetadata.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<BatchRecognizeFileMetadata.Builder>public BatchRecognizeFileMetadata.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<BatchRecognizeFileMetadata.Builder>public BatchRecognizeFileMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchRecognizeFileMetadata.Builder>public BatchRecognizeFileMetadata.Builder mergeFrom(BatchRecognizeFileMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeFileMetadata.Builder>public BatchRecognizeFileMetadata.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<BatchRecognizeFileMetadata.Builder>IOExceptionpublic BatchRecognizeFileMetadata.AudioSourceCase getAudioSourceCase()
getAudioSourceCase in interface BatchRecognizeFileMetadataOrBuilderpublic BatchRecognizeFileMetadata.Builder clearAudioSource()
public boolean hasUri()
Cloud Storage URI for the audio file.
string uri = 1;hasUri in interface BatchRecognizeFileMetadataOrBuilderpublic String getUri()
Cloud Storage URI for the audio file.
string uri = 1;getUri in interface BatchRecognizeFileMetadataOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
Cloud Storage URI for the audio file.
string uri = 1;getUriBytes in interface BatchRecognizeFileMetadataOrBuilderpublic BatchRecognizeFileMetadata.Builder setUri(String value)
Cloud Storage URI for the audio file.
string uri = 1;value - The uri to set.public BatchRecognizeFileMetadata.Builder clearUri()
Cloud Storage URI for the audio file.
string uri = 1;public BatchRecognizeFileMetadata.Builder setUriBytes(com.google.protobuf.ByteString value)
Cloud Storage URI for the audio file.
string uri = 1;value - The bytes for uri to set.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.BatchRecognizeFileMetadata.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 as well as the [config][google.cloud.speech.v2.BatchRecognizeRequest.config] at the request level.
.google.cloud.speech.v2.RecognitionConfig config = 4;hasConfig in interface BatchRecognizeFileMetadataOrBuilderpublic 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.BatchRecognizeFileMetadata.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 as well as the [config][google.cloud.speech.v2.BatchRecognizeRequest.config] at the request level.
.google.cloud.speech.v2.RecognitionConfig config = 4;getConfig in interface BatchRecognizeFileMetadataOrBuilderpublic BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.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 as well as the [config][google.cloud.speech.v2.BatchRecognizeRequest.config] at the request level.
.google.cloud.speech.v2.RecognitionConfig config = 4;public BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.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 as well as the [config][google.cloud.speech.v2.BatchRecognizeRequest.config] at the request level.
.google.cloud.speech.v2.RecognitionConfig config = 4;public BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.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 as well as the [config][google.cloud.speech.v2.BatchRecognizeRequest.config] at the request level.
.google.cloud.speech.v2.RecognitionConfig config = 4;public BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.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 as well as the [config][google.cloud.speech.v2.BatchRecognizeRequest.config] at the request level.
.google.cloud.speech.v2.RecognitionConfig config = 4;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.BatchRecognizeFileMetadata.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 as well as the [config][google.cloud.speech.v2.BatchRecognizeRequest.config] at the request level.
.google.cloud.speech.v2.RecognitionConfig config = 4;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.BatchRecognizeFileMetadata.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 as well as the [config][google.cloud.speech.v2.BatchRecognizeRequest.config] at the request level.
.google.cloud.speech.v2.RecognitionConfig config = 4;getConfigOrBuilder in interface BatchRecognizeFileMetadataOrBuilderpublic boolean hasConfigMask()
The list of fields in [config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.config] completely overrides and replaces the config in the recognizer for this recognition request.
.google.protobuf.FieldMask config_mask = 5;hasConfigMask in interface BatchRecognizeFileMetadataOrBuilderpublic com.google.protobuf.FieldMask getConfigMask()
The list of fields in [config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.config] completely overrides and replaces the config in the recognizer for this recognition request.
.google.protobuf.FieldMask config_mask = 5;getConfigMask in interface BatchRecognizeFileMetadataOrBuilderpublic BatchRecognizeFileMetadata.Builder setConfigMask(com.google.protobuf.FieldMask value)
The list of fields in [config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.config] completely overrides and replaces the config in the recognizer for this recognition request.
.google.protobuf.FieldMask config_mask = 5;public BatchRecognizeFileMetadata.Builder setConfigMask(com.google.protobuf.FieldMask.Builder builderForValue)
The list of fields in [config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.config] completely overrides and replaces the config in the recognizer for this recognition request.
.google.protobuf.FieldMask config_mask = 5;public BatchRecognizeFileMetadata.Builder mergeConfigMask(com.google.protobuf.FieldMask value)
The list of fields in [config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.config] completely overrides and replaces the config in the recognizer for this recognition request.
.google.protobuf.FieldMask config_mask = 5;public BatchRecognizeFileMetadata.Builder clearConfigMask()
The list of fields in [config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.config] completely overrides and replaces the config in the recognizer for this recognition request.
.google.protobuf.FieldMask config_mask = 5;public com.google.protobuf.FieldMask.Builder getConfigMaskBuilder()
The list of fields in [config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.config] completely overrides and replaces the config in the recognizer for this recognition request.
.google.protobuf.FieldMask config_mask = 5;public com.google.protobuf.FieldMaskOrBuilder getConfigMaskOrBuilder()
The list of fields in [config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.config] completely overrides and replaces the config in the recognizer for this recognition request.
.google.protobuf.FieldMask config_mask = 5;getConfigMaskOrBuilder in interface BatchRecognizeFileMetadataOrBuilderpublic final BatchRecognizeFileMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeFileMetadata.Builder>public final BatchRecognizeFileMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeFileMetadata.Builder>Copyright © 2023 Google LLC. All rights reserved.