- 4.49.0 (latest)
- 4.48.0
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchRecognizeResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse.Builder |
build()
public BatchRecognizeResponse build()
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse |
buildPartial()
public BatchRecognizeResponse buildPartial()
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse |
clear()
public BatchRecognizeResponse.Builder clear()
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public BatchRecognizeResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchRecognizeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse.Builder |
clearResults()
public BatchRecognizeResponse.Builder clearResults()
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse.Builder |
clone()
public BatchRecognizeResponse.Builder clone()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public BatchRecognizeResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMutableResults()
public Map<String,BatchRecognizeFileResult> getMutableResults()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,BatchRecognizeFileResult> |
getResults()
public Map<String,BatchRecognizeFileResult> getResults()
Use #getResultsMap() instead.
Returns | |
---|---|
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;
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;
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | BatchRecognizeFileResult |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(BatchRecognizeResponse other)
public BatchRecognizeResponse.Builder mergeFrom(BatchRecognizeResponse other)
Parameter | |
---|---|
Name | Description |
other | BatchRecognizeResponse |
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchRecognizeResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BatchRecognizeResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchRecognizeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Map<String,BatchRecognizeFileResult> |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key | String |
value | BatchRecognizeFileResult |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchRecognizeResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchRecognizeResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchRecognizeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BatchRecognizeResponse.Builder |