Send feedback
Class BatchRecognizeResponse.Builder (4.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.1.0 keyboard_arrow_down
public static final class BatchRecognizeResponse . Builder extends GeneratedMessageV3 . Builder<BatchRecognizeResponse . Builder > implements BatchRecognizeResponseOrBuilder
Response message for
BatchRecognize that is
packaged into a longrunning Operation .
Protobuf type google.cloud.speech.v2.BatchRecognizeResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchRecognizeResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public BatchRecognizeResponse build ()
Returns
buildPartial()
public BatchRecognizeResponse buildPartial ()
Returns
clear()
public BatchRecognizeResponse . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchRecognizeResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchRecognizeResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearResults()
public BatchRecognizeResponse . Builder clearResults ()
Returns
clone()
public BatchRecognizeResponse . Builder clone ()
Returns
Overrides
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
Returns
getDefaultInstanceForType()
public BatchRecognizeResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getMutableResults()
public Map<String , BatchRecognizeFileResult > getMutableResults ()
Use alternate mutation accessors instead.
Returns
getResults()
public Map<String , BatchRecognizeFileResult > getResults ()
Returns
getResultsCount()
public int getResultsCount ()
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
Returns
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;
Returns
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;
Parameters
Returns
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
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField ( int number )
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField ( int number )
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(BatchRecognizeResponse other)
public BatchRecognizeResponse . Builder mergeFrom ( BatchRecognizeResponse other )
Parameter
Returns
public BatchRecognizeResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchRecognizeResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchRecognizeResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
putAllResults(Map<String,BatchRecognizeFileResult> values)
public BatchRecognizeResponse . Builder putAllResults ( Map<String , BatchRecognizeFileResult > values )
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
Parameter
Returns
putResults(String key, BatchRecognizeFileResult value)
public BatchRecognizeResponse . Builder putResults ( String key , BatchRecognizeFileResult value )
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
Parameters
Returns
removeResults(String key)
public BatchRecognizeResponse . Builder removeResults ( String key )
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchRecognizeResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchRecognizeResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchRecognizeResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]