public final class NormalizedBoundingBox extends GeneratedMessageV3 implements NormalizedBoundingBoxOrBuilder
Normalized bounding box.
The normalized vertex coordinates are relative to the original image.
Range: [0, 1].
Protobuf type google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox
Static Fields
BOTTOM_FIELD_NUMBER
public static final int BOTTOM_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LEFT_FIELD_NUMBER
public static final int LEFT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RIGHT_FIELD_NUMBER
public static final int RIGHT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TOP_FIELD_NUMBER
public static final int TOP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static NormalizedBoundingBox getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NormalizedBoundingBox.Builder newBuilder()
newBuilder(NormalizedBoundingBox prototype)
public static NormalizedBoundingBox.Builder newBuilder(NormalizedBoundingBox prototype)
public static NormalizedBoundingBox parseDelimitedFrom(InputStream input)
public static NormalizedBoundingBox parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NormalizedBoundingBox parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NormalizedBoundingBox parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NormalizedBoundingBox parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NormalizedBoundingBox parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NormalizedBoundingBox parseFrom(CodedInputStream input)
public static NormalizedBoundingBox parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NormalizedBoundingBox parseFrom(InputStream input)
public static NormalizedBoundingBox parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NormalizedBoundingBox parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NormalizedBoundingBox parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NormalizedBoundingBox> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBottom()
Bottom Y coordinate.
float bottom = 4;
Returns |
---|
Type | Description |
float | The bottom.
|
getDefaultInstanceForType()
public NormalizedBoundingBox getDefaultInstanceForType()
getLeft()
Left X coordinate.
float left = 1;
Returns |
---|
Type | Description |
float | The left.
|
getParserForType()
public Parser<NormalizedBoundingBox> getParserForType()
Overrides
getRight()
Right X coordinate.
float right = 3;
Returns |
---|
Type | Description |
float | The right.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getTop()
Top Y coordinate.
float top = 2;
Returns |
---|
Type | Description |
float | The top.
|
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 NormalizedBoundingBox.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NormalizedBoundingBox.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public NormalizedBoundingBox.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides