public final class BatchRecognizeMetadata extends GeneratedMessageV3 implements BatchRecognizeMetadataOrBuilder
Operation metadata for
BatchRecognize.
Protobuf type google.cloud.speech.v2.BatchRecognizeMetadata
Static Fields
public static final int TRANSCRIPTION_METADATA_FIELD_NUMBER
Field Value
Static Methods
public static BatchRecognizeMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static BatchRecognizeMetadata.Builder newBuilder()
Returns
public static BatchRecognizeMetadata.Builder newBuilder(BatchRecognizeMetadata prototype)
Parameter
Returns
public static BatchRecognizeMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchRecognizeMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchRecognizeMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static BatchRecognizeMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchRecognizeMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static BatchRecognizeMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchRecognizeMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchRecognizeMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchRecognizeMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchRecognizeMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchRecognizeMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static BatchRecognizeMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<BatchRecognizeMetadata> parser()
Returns
Methods
public boolean containsTranscriptionMetadata(String key)
Map from provided filename to the transcription metadata for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata> transcription_metadata = 1;
Parameter
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public BatchRecognizeMetadata getDefaultInstanceForType()
Returns
public Parser<BatchRecognizeMetadata> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public Map<String,BatchRecognizeTranscriptionMetadata> getTranscriptionMetadata()
Returns
public int getTranscriptionMetadataCount()
Map from provided filename to the transcription metadata for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata> transcription_metadata = 1;
Returns
public Map<String,BatchRecognizeTranscriptionMetadata> getTranscriptionMetadataMap()
Map from provided filename to the transcription metadata for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata> transcription_metadata = 1;
Returns
public BatchRecognizeTranscriptionMetadata getTranscriptionMetadataOrDefault(String key, BatchRecognizeTranscriptionMetadata defaultValue)
Map from provided filename to the transcription metadata for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata> transcription_metadata = 1;
Parameters
Returns
public BatchRecognizeTranscriptionMetadata getTranscriptionMetadataOrThrow(String key)
Map from provided filename to the transcription metadata for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata> transcription_metadata = 1;
Parameter
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public BatchRecognizeMetadata.Builder newBuilderForType()
Returns
protected BatchRecognizeMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public BatchRecognizeMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions