public final class Vertex extends GeneratedMessageV3 implements VertexOrBuilder
A vertex represents a 2D point in the image.
NOTE: the vertex coordinates are in the same scale as the original image.
Protobuf type google.cloud.documentai.v1beta1.Vertex
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
X_FIELD_NUMBER
public static final int X_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Y_FIELD_NUMBER
public static final int Y_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Vertex getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Vertex.Builder newBuilder()
newBuilder(Vertex prototype)
public static Vertex.Builder newBuilder(Vertex prototype)
Parameter |
---|
Name | Description |
prototype | Vertex
|
public static Vertex parseDelimitedFrom(InputStream input)
public static Vertex parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Vertex parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Vertex parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Vertex parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Vertex parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Vertex parseFrom(CodedInputStream input)
public static Vertex parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Vertex parseFrom(InputStream input)
public static Vertex parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Vertex parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Vertex parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Vertex> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Vertex getDefaultInstanceForType()
getParserForType()
public Parser<Vertex> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getX()
X coordinate.
int32 x = 1;
Returns |
---|
Type | Description |
int | The x.
|
getY()
Y coordinate.
int32 y = 2;
Returns |
---|
Type | Description |
int | The y.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Vertex.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Vertex.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Vertex.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides