public static final class NormalizedPolyline.Builder extends GeneratedMessageV3.Builder<NormalizedPolyline.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllNormalizedVertices(Iterable<? extends NormalizedVertex> values)
public NormalizedPolyline.Builder addAllNormalizedVertices(Iterable<? extends NormalizedVertex> values)
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.visionai.v1.NormalizedVertex>
|
addNormalizedVertices(NormalizedVertex value)
public NormalizedPolyline.Builder addNormalizedVertices(NormalizedVertex value)
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
addNormalizedVertices(NormalizedVertex.Builder builderForValue)
public NormalizedPolyline.Builder addNormalizedVertices(NormalizedVertex.Builder builderForValue)
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
addNormalizedVertices(int index, NormalizedVertex value)
public NormalizedPolyline.Builder addNormalizedVertices(int index, NormalizedVertex value)
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
addNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
public NormalizedPolyline.Builder addNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
addNormalizedVerticesBuilder()
public NormalizedVertex.Builder addNormalizedVerticesBuilder()
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
addNormalizedVerticesBuilder(int index)
public NormalizedVertex.Builder addNormalizedVerticesBuilder(int index)
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NormalizedPolyline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NormalizedPolyline build()
buildPartial()
public NormalizedPolyline buildPartial()
clear()
public NormalizedPolyline.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public NormalizedPolyline.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNormalizedVertices()
public NormalizedPolyline.Builder clearNormalizedVertices()
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public NormalizedPolyline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public NormalizedPolyline.Builder clone()
Overrides
getDefaultInstanceForType()
public NormalizedPolyline getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
getNormalizedVerticesBuilder(int index)
public NormalizedVertex.Builder getNormalizedVerticesBuilder(int index)
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Parameter |
Name |
Description |
index |
int
|
getNormalizedVerticesBuilderList()
public List<NormalizedVertex.Builder> getNormalizedVerticesBuilderList()
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NormalizedPolyline other)
public NormalizedPolyline.Builder mergeFrom(NormalizedPolyline other)
public NormalizedPolyline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NormalizedPolyline.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NormalizedPolyline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeNormalizedVertices(int index)
public NormalizedPolyline.Builder removeNormalizedVertices(int index)
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public NormalizedPolyline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNormalizedVertices(int index, NormalizedVertex value)
public NormalizedPolyline.Builder setNormalizedVertices(int index, NormalizedVertex value)
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
setNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
public NormalizedPolyline.Builder setNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
A sequence of vertices connected by straight lines.
repeated .google.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NormalizedPolyline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NormalizedPolyline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides