public final class BatchPredictResult extends GeneratedMessageV3 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 Fields
public static final int METADATA_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BatchPredictResult getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BatchPredictResult.Builder newBuilder()
Returns
newBuilder(BatchPredictResult prototype)
public static BatchPredictResult.Builder newBuilder(BatchPredictResult prototype)
Parameter
Returns
public static BatchPredictResult parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchPredictResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BatchPredictResult parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchPredictResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BatchPredictResult parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchPredictResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchPredictResult parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchPredictResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchPredictResult parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchPredictResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BatchPredictResult parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchPredictResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BatchPredictResult> parser()
Returns
Methods
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
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BatchPredictResult getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<BatchPredictResult> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BatchPredictResult.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchPredictResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BatchPredictResult.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions