public static final class ObjectDetectionPredictionResult.Entity extends GeneratedMessageV3 implements ObjectDetectionPredictionResult.EntityOrBuilder
The entity info for annotations from object detection prediction result.
Protobuf type google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity
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
LABEL_ID_FIELD_NUMBER
public static final int LABEL_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LABEL_STRING_FIELD_NUMBER
public static final int LABEL_STRING_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ObjectDetectionPredictionResult.Entity getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ObjectDetectionPredictionResult.Entity.Builder newBuilder()
newBuilder(ObjectDetectionPredictionResult.Entity prototype)
public static ObjectDetectionPredictionResult.Entity.Builder newBuilder(ObjectDetectionPredictionResult.Entity prototype)
public static ObjectDetectionPredictionResult.Entity parseDelimitedFrom(InputStream input)
public static ObjectDetectionPredictionResult.Entity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ObjectDetectionPredictionResult.Entity parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ObjectDetectionPredictionResult.Entity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ObjectDetectionPredictionResult.Entity parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ObjectDetectionPredictionResult.Entity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ObjectDetectionPredictionResult.Entity parseFrom(CodedInputStream input)
public static ObjectDetectionPredictionResult.Entity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ObjectDetectionPredictionResult.Entity parseFrom(InputStream input)
public static ObjectDetectionPredictionResult.Entity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ObjectDetectionPredictionResult.Entity parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ObjectDetectionPredictionResult.Entity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ObjectDetectionPredictionResult.Entity> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ObjectDetectionPredictionResult.Entity getDefaultInstanceForType()
getLabelId()
Label id.
int64 label_id = 1;
Returns |
Type |
Description |
long |
The labelId.
|
getLabelString()
public String getLabelString()
Human readable string of the label.
string label_string = 2;
Returns |
Type |
Description |
String |
The labelString.
|
getLabelStringBytes()
public ByteString getLabelStringBytes()
Human readable string of the label.
string label_string = 2;
Returns |
Type |
Description |
ByteString |
The bytes for labelString.
|
getParserForType()
public Parser<ObjectDetectionPredictionResult.Entity> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ObjectDetectionPredictionResult.Entity.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ObjectDetectionPredictionResult.Entity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ObjectDetectionPredictionResult.Entity.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides