- 4.48.0 (latest)
- 4.47.0
- 4.46.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.7.0
- 4.6.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.0
- 3.0.0
- 2.6.1
- 2.5.9
- 2.4.0
- 2.3.0
- 2.2.15
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchRecognizeResponse.BuilderImplements
BatchRecognizeResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchRecognizeResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchRecognizeResponse.Builder |
build()
public BatchRecognizeResponse build()
Type | Description |
BatchRecognizeResponse |
buildPartial()
public BatchRecognizeResponse buildPartial()
Type | Description |
BatchRecognizeResponse |
clear()
public BatchRecognizeResponse.Builder clear()
Type | Description |
BatchRecognizeResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public BatchRecognizeResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BatchRecognizeResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchRecognizeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BatchRecognizeResponse.Builder |
clearResults()
public BatchRecognizeResponse.Builder clearResults()
Type | Description |
BatchRecognizeResponse.Builder |
clone()
public BatchRecognizeResponse.Builder clone()
Type | Description |
BatchRecognizeResponse.Builder |
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;
Name | Description |
key | String |
Type | Description |
boolean |
getDefaultInstanceForType()
public BatchRecognizeResponse getDefaultInstanceForType()
Type | Description |
BatchRecognizeResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMutableResults()
public Map<String,BatchRecognizeFileResult> getMutableResults()
Use alternate mutation accessors instead.
Type | Description |
Map<String,BatchRecognizeFileResult> |
getResults()
public Map<String,BatchRecognizeFileResult> getResults()
Use #getResultsMap() instead.
Type | Description |
Map<String,BatchRecognizeFileResult> |
getResultsCount()
public int getResultsCount()
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
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;
Type | Description |
Map<String,BatchRecognizeFileResult> |
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;
Name | Description |
key | String |
defaultValue | BatchRecognizeFileResult |
Type | Description |
BatchRecognizeFileResult |
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;
Name | Description |
key | String |
Type | Description |
BatchRecognizeFileResult |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(BatchRecognizeResponse other)
public BatchRecognizeResponse.Builder mergeFrom(BatchRecognizeResponse other)
Name | Description |
other | BatchRecognizeResponse |
Type | Description |
BatchRecognizeResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchRecognizeResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchRecognizeResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BatchRecognizeResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BatchRecognizeResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchRecognizeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchRecognizeResponse.Builder |
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;
Name | Description |
values | Map<String,BatchRecognizeFileResult> |
Type | Description |
BatchRecognizeResponse.Builder |
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;
Name | Description |
key | String |
value | BatchRecognizeFileResult |
Type | Description |
BatchRecognizeResponse.Builder |
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;
Name | Description |
key | String |
Type | Description |
BatchRecognizeResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchRecognizeResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchRecognizeResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchRecognizeResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BatchRecognizeResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchRecognizeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchRecognizeResponse.Builder |