public final class NormalizedPolyline extends GeneratedMessageV3 implements NormalizedPolylineOrBuilder
Normalized Pplyline, which represents a curve consisting of connected
straight-line segments.
Protobuf type google.cloud.visionai.v1.NormalizedPolyline
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
NORMALIZED_VERTICES_FIELD_NUMBER
public static final int NORMALIZED_VERTICES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static NormalizedPolyline getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NormalizedPolyline.Builder newBuilder()
newBuilder(NormalizedPolyline prototype)
public static NormalizedPolyline.Builder newBuilder(NormalizedPolyline prototype)
public static NormalizedPolyline parseDelimitedFrom(InputStream input)
public static NormalizedPolyline parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NormalizedPolyline parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NormalizedPolyline parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NormalizedPolyline parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NormalizedPolyline parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NormalizedPolyline parseFrom(CodedInputStream input)
public static NormalizedPolyline parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NormalizedPolyline parseFrom(InputStream input)
public static NormalizedPolyline parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NormalizedPolyline parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NormalizedPolyline parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NormalizedPolyline> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public NormalizedPolyline getDefaultInstanceForType()
getNormalizedVertices(int index)
public NormalizedVertex getNormalizedVertices(int index)
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Parameter |
Name |
Description |
index |
int
|
getNormalizedVerticesCount()
public int getNormalizedVerticesCount()
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Returns |
Type |
Description |
int |
|
getNormalizedVerticesList()
public List<NormalizedVertex> getNormalizedVerticesList()
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
getNormalizedVerticesOrBuilder(int index)
public NormalizedVertexOrBuilder getNormalizedVerticesOrBuilder(int index)
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Parameter |
Name |
Description |
index |
int
|
getNormalizedVerticesOrBuilderList()
public List<? extends NormalizedVertexOrBuilder> getNormalizedVerticesOrBuilderList()
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.NormalizedVertexOrBuilder> |
|
getParserForType()
public Parser<NormalizedPolyline> 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 NormalizedPolyline.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NormalizedPolyline.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public NormalizedPolyline.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides