public static final class BatchPredictResult.Builder extends GeneratedMessage.Builder<BatchPredictResult.Builder> implements BatchPredictResultOrBuilderResult 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchPredictResult.BuilderImplements
BatchPredictResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BatchPredictResult build()| Returns | |
|---|---|
| Type | Description |
BatchPredictResult |
|
buildPartial()
public BatchPredictResult buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchPredictResult |
|
clear()
public BatchPredictResult.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchPredictResult.Builder |
|
clearMetadata()
public BatchPredictResult.Builder clearMetadata()| Returns | |
|---|---|
| Type | Description |
BatchPredictResult.Builder |
|
containsMetadata(String key)
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public BatchPredictResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchPredictResult |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMetadata() (deprecated)
public Map<String,String> getMetadata()Use #getMetadataMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMetadataCount()
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 | |
|---|---|
| Type | Description |
int |
|
getMetadataMap()
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 | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMetadataOrDefault(String key, String defaultValue)
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 | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMetadataOrThrow(String key)
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableMetadata() (deprecated)
public Map<String,String> getMutableMetadata()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BatchPredictResult other)
public BatchPredictResult.Builder mergeFrom(BatchPredictResult other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchPredictResult |
| Returns | |
|---|---|
| Type | Description |
BatchPredictResult.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchPredictResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchPredictResult.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchPredictResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchPredictResult.Builder |
|
putAllMetadata(Map<String,String> values)
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 | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
BatchPredictResult.Builder |
|
putMetadata(String key, String value)
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 | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
BatchPredictResult.Builder |
|
removeMetadata(String key)
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
BatchPredictResult.Builder |
|