public static final class ProductSearchResults.ObjectAnnotation extends GeneratedMessageV3 implements ProductSearchResults.ObjectAnnotationOrBuilder
Prediction for what the object in the bounding box is.
Protobuf type google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MID_FIELD_NUMBER
public static final int MID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SCORE_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ProductSearchResults.ObjectAnnotation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ProductSearchResults.ObjectAnnotation.Builder newBuilder()
newBuilder(ProductSearchResults.ObjectAnnotation prototype)
public static ProductSearchResults.ObjectAnnotation.Builder newBuilder(ProductSearchResults.ObjectAnnotation prototype)
public static ProductSearchResults.ObjectAnnotation parseDelimitedFrom(InputStream input)
public static ProductSearchResults.ObjectAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ProductSearchResults.ObjectAnnotation parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProductSearchResults.ObjectAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ProductSearchResults.ObjectAnnotation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProductSearchResults.ObjectAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProductSearchResults.ObjectAnnotation parseFrom(CodedInputStream input)
public static ProductSearchResults.ObjectAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductSearchResults.ObjectAnnotation parseFrom(InputStream input)
public static ProductSearchResults.ObjectAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ProductSearchResults.ObjectAnnotation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProductSearchResults.ObjectAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ProductSearchResults.ObjectAnnotation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ProductSearchResults.ObjectAnnotation getDefaultInstanceForType()
getLanguageCode()
public String getLanguageCode()
Returns |
---|
Type | Description |
String | The languageCode.
|
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for languageCode.
|
getMid()
Object ID that should align with EntityAnnotation mid.
string mid = 1;
Returns |
---|
Type | Description |
String | The mid.
|
getMidBytes()
public ByteString getMidBytes()
Object ID that should align with EntityAnnotation mid.
string mid = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for mid.
|
getName()
Object name, expressed in its language_code
language.
string name = 3;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Object name, expressed in its language_code
language.
string name = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<ProductSearchResults.ObjectAnnotation> getParserForType()
Overrides
getScore()
Score of the result. Range [0, 1].
float score = 4;
Returns |
---|
Type | Description |
float | The score.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ProductSearchResults.ObjectAnnotation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ProductSearchResults.ObjectAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ProductSearchResults.ObjectAnnotation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides