public static final class BatchPredictResult.Builder extends GeneratedMessageV3.Builder<BatchPredictResult.Builder> implements BatchPredictResultOrBuilder
Result of the Batch Predict. This message is returned in
response of the operation returned
by the PredictionService.BatchPredict.
Protobuf type google.cloud.automl.v1beta1.BatchPredictResult
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchPredictResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BatchPredictResult build()
Returns
buildPartial()
public BatchPredictResult buildPartial()
Returns
clear()
public BatchPredictResult.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchPredictResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public BatchPredictResult.Builder clearMetadata()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchPredictResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public BatchPredictResult.Builder clone()
Returns
Overrides
public boolean containsMetadata(String key)
Additional domain-specific prediction response metadata.
- For Image Object Detection:
max_bounding_box_count
- (int64) At most that many bounding boxes per
image could have been returned.
- For Video Object Tracking:
max_bounding_box_count
- (int64) At most that many bounding boxes per
frame could have been returned.
map<string, string> metadata = 1;
Parameter
Returns
getDefaultInstanceForType()
public BatchPredictResult getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Map<String,String> getMetadata()
Returns
public int getMetadataCount()
Additional domain-specific prediction response metadata.
- For Image Object Detection:
max_bounding_box_count
- (int64) At most that many bounding boxes per
image could have been returned.
- For Video Object Tracking:
max_bounding_box_count
- (int64) At most that many bounding boxes per
frame could have been returned.
map<string, string> metadata = 1;
Returns
public Map<String,String> getMetadataMap()
Additional domain-specific prediction response metadata.
- For Image Object Detection:
max_bounding_box_count
- (int64) At most that many bounding boxes per
image could have been returned.
- For Video Object Tracking:
max_bounding_box_count
- (int64) At most that many bounding boxes per
frame could have been returned.
map<string, string> metadata = 1;
Returns
public String getMetadataOrDefault(String key, String defaultValue)
Additional domain-specific prediction response metadata.
- For Image Object Detection:
max_bounding_box_count
- (int64) At most that many bounding boxes per
image could have been returned.
- For Video Object Tracking:
max_bounding_box_count
- (int64) At most that many bounding boxes per
frame could have been returned.
map<string, string> metadata = 1;
Parameters
Returns
public String getMetadataOrThrow(String key)
Additional domain-specific prediction response metadata.
- For Image Object Detection:
max_bounding_box_count
- (int64) At most that many bounding boxes per
image could have been returned.
- For Video Object Tracking:
max_bounding_box_count
- (int64) At most that many bounding boxes per
frame could have been returned.
map<string, string> metadata = 1;
Parameter
Returns
public Map<String,String> getMutableMetadata()
Use alternate mutation accessors instead.
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(BatchPredictResult other)
public BatchPredictResult.Builder mergeFrom(BatchPredictResult other)
Parameter
Returns
public BatchPredictResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchPredictResult.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchPredictResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public BatchPredictResult.Builder putAllMetadata(Map<String,String> values)
Additional domain-specific prediction response metadata.
- For Image Object Detection:
max_bounding_box_count
- (int64) At most that many bounding boxes per
image could have been returned.
- For Video Object Tracking:
max_bounding_box_count
- (int64) At most that many bounding boxes per
frame could have been returned.
map<string, string> metadata = 1;
Parameter
Returns
public BatchPredictResult.Builder putMetadata(String key, String value)
Additional domain-specific prediction response metadata.
- For Image Object Detection:
max_bounding_box_count
- (int64) At most that many bounding boxes per
image could have been returned.
- For Video Object Tracking:
max_bounding_box_count
- (int64) At most that many bounding boxes per
frame could have been returned.
map<string, string> metadata = 1;
Parameters
Returns
public BatchPredictResult.Builder removeMetadata(String key)
Additional domain-specific prediction response metadata.
- For Image Object Detection:
max_bounding_box_count
- (int64) At most that many bounding boxes per
image could have been returned.
- For Video Object Tracking:
max_bounding_box_count
- (int64) At most that many bounding boxes per
frame could have been returned.
map<string, string> metadata = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchPredictResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchPredictResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchPredictResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides