public final class BatchRecognizeResponse extends GeneratedMessageV3 implements BatchRecognizeResponseOrBuilder
Response message for
BatchRecognize that is
packaged into a longrunning Operation.
Protobuf type google.cloud.speech.v2.BatchRecognizeResponse
Static Fields
RESULTS_FIELD_NUMBER
public static final int RESULTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static BatchRecognizeResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BatchRecognizeResponse.Builder newBuilder()
newBuilder(BatchRecognizeResponse prototype)
public static BatchRecognizeResponse.Builder newBuilder(BatchRecognizeResponse prototype)
public static BatchRecognizeResponse parseDelimitedFrom(InputStream input)
public static BatchRecognizeResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BatchRecognizeResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchRecognizeResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BatchRecognizeResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchRecognizeResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchRecognizeResponse parseFrom(CodedInputStream input)
public static BatchRecognizeResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchRecognizeResponse parseFrom(InputStream input)
public static BatchRecognizeResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BatchRecognizeResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchRecognizeResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BatchRecognizeResponse> parser()
Methods
containsResults(String key)
public boolean containsResults(String key)
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public BatchRecognizeResponse getDefaultInstanceForType()
getParserForType()
public Parser<BatchRecognizeResponse> getParserForType()
Overrides
getResults()
public Map<String,BatchRecognizeFileResult> getResults()
getResultsCount()
public int getResultsCount()
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
Returns |
---|
Type | Description |
int | |
getResultsMap()
public Map<String,BatchRecognizeFileResult> getResultsMap()
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
getResultsOrDefault(String key, BatchRecognizeFileResult defaultValue)
public BatchRecognizeFileResult getResultsOrDefault(String key, BatchRecognizeFileResult defaultValue)
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
getResultsOrThrow(String key)
public BatchRecognizeFileResult getResultsOrThrow(String key)
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
Parameter |
---|
Name | Description |
key | String
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BatchRecognizeResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchRecognizeResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public BatchRecognizeResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides