public final class ObjectDetectionPredictionResult extends GeneratedMessageV3 implements ObjectDetectionPredictionResultOrBuilder
Prediction output format for Generic Object Detection.
Protobuf type google.cloud.visionai.v1.ObjectDetectionPredictionResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CURRENT_TIME_FIELD_NUMBER
public static final int CURRENT_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
IDENTIFIED_BOXES_FIELD_NUMBER
public static final int IDENTIFIED_BOXES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ObjectDetectionPredictionResult getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ObjectDetectionPredictionResult.Builder newBuilder()
newBuilder(ObjectDetectionPredictionResult prototype)
public static ObjectDetectionPredictionResult.Builder newBuilder(ObjectDetectionPredictionResult prototype)
public static ObjectDetectionPredictionResult parseDelimitedFrom(InputStream input)
public static ObjectDetectionPredictionResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ObjectDetectionPredictionResult parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ObjectDetectionPredictionResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ObjectDetectionPredictionResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ObjectDetectionPredictionResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ObjectDetectionPredictionResult parseFrom(CodedInputStream input)
public static ObjectDetectionPredictionResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ObjectDetectionPredictionResult parseFrom(InputStream input)
public static ObjectDetectionPredictionResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ObjectDetectionPredictionResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ObjectDetectionPredictionResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ObjectDetectionPredictionResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCurrentTime()
public Timestamp getCurrentTime()
Current timestamp.
.google.protobuf.Timestamp current_time = 1;
Returns |
Type |
Description |
Timestamp |
The currentTime.
|
getCurrentTimeOrBuilder()
public TimestampOrBuilder getCurrentTimeOrBuilder()
Current timestamp.
.google.protobuf.Timestamp current_time = 1;
getDefaultInstanceForType()
public ObjectDetectionPredictionResult getDefaultInstanceForType()
getIdentifiedBoxes(int index)
public ObjectDetectionPredictionResult.IdentifiedBox getIdentifiedBoxes(int index)
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
Parameter |
Name |
Description |
index |
int
|
getIdentifiedBoxesCount()
public int getIdentifiedBoxesCount()
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
Returns |
Type |
Description |
int |
|
getIdentifiedBoxesList()
public List<ObjectDetectionPredictionResult.IdentifiedBox> getIdentifiedBoxesList()
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
getIdentifiedBoxesOrBuilder(int index)
public ObjectDetectionPredictionResult.IdentifiedBoxOrBuilder getIdentifiedBoxesOrBuilder(int index)
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
Parameter |
Name |
Description |
index |
int
|
getIdentifiedBoxesOrBuilderList()
public List<? extends ObjectDetectionPredictionResult.IdentifiedBoxOrBuilder> getIdentifiedBoxesOrBuilderList()
A list of identified boxes.
repeated .google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox identified_boxes = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBoxOrBuilder> |
|
getParserForType()
public Parser<ObjectDetectionPredictionResult> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasCurrentTime()
public boolean hasCurrentTime()
Current timestamp.
.google.protobuf.Timestamp current_time = 1;
Returns |
Type |
Description |
boolean |
Whether the currentTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ObjectDetectionPredictionResult.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ObjectDetectionPredictionResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ObjectDetectionPredictionResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides