Interface BatchPredictResultOrBuilder (2.21.0)

public interface BatchPredictResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsMetadata(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
boolean

getMetadata()

public abstract Map<String,String> getMetadata()

Use #getMetadataMap() instead.

Returns
TypeDescription
Map<String,String>

getMetadataCount()

public abstract 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
TypeDescription
int

getMetadataMap()

public abstract 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
TypeDescription
Map<String,String>

getMetadataOrDefault(String key, String defaultValue)

public abstract 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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getMetadataOrThrow(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
String