Send feedback
Class Polyline.Builder (0.144.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.144.0 keyboard_arrow_down
public static final class Polyline . Builder extends GeneratedMessageV3 . Builder<Polyline . Builder > implements PolylineOrBuilder
A line with multiple line segments.
Protobuf type google.cloud.datalabeling.v1beta1.Polyline
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
addAllVertices(Iterable<? extends Vertex> values)
public Polyline . Builder addAllVertices ( Iterable <? extends Vertex > values )
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter Name Description values
Iterable <? extends com.google.cloud.datalabeling.v1beta1.Vertex >
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Polyline . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
addVertices(Vertex value)
public Polyline . Builder addVertices ( Vertex value )
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter Name Description value
Vertex
addVertices(Vertex.Builder builderForValue)
public Polyline . Builder addVertices ( Vertex . Builder builderForValue )
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
addVertices(int index, Vertex value)
public Polyline . Builder addVertices ( int index , Vertex value )
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
addVertices(int index, Vertex.Builder builderForValue)
public Polyline . Builder addVertices ( int index , Vertex . Builder builderForValue )
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
addVerticesBuilder()
public Vertex . Builder addVerticesBuilder ()
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
addVerticesBuilder(int index)
public Vertex . Builder addVerticesBuilder ( int index )
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter Name Description index
int
build()
buildPartial()
public Polyline buildPartial ()
clear()
public Polyline . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Polyline . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Polyline . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearVertices()
public Polyline . Builder clearVertices ()
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
clone()
public Polyline . Builder clone ()
Overrides
getDefaultInstanceForType()
public Polyline getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getVertices(int index)
public Vertex getVertices ( int index )
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter Name Description index
int
getVerticesBuilder(int index)
public Vertex . Builder getVerticesBuilder ( int index )
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter Name Description index
int
getVerticesBuilderList()
public List<Vertex . Builder > getVerticesBuilderList ()
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
getVerticesCount()
public int getVerticesCount ()
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Returns Type Description int
getVerticesList()
public List<Vertex> getVerticesList ()
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
getVerticesOrBuilder(int index)
public VertexOrBuilder getVerticesOrBuilder ( int index )
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter Name Description index
int
getVerticesOrBuilderList()
public List <? extends VertexOrBuilder > getVerticesOrBuilderList ()
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Returns Type Description List <? extends com.google.cloud.datalabeling.v1beta1.VertexOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Polyline other)
public Polyline . Builder mergeFrom ( Polyline other )
public Polyline . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Polyline . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Polyline . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeVertices(int index)
public Polyline . Builder removeVertices ( int index )
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter Name Description index
int
setField(Descriptors.FieldDescriptor field, Object value)
public Polyline . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Polyline . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Polyline . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setVertices(int index, Vertex value)
public Polyline . Builder setVertices ( int index , Vertex value )
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
setVertices(int index, Vertex.Builder builderForValue)
public Polyline . Builder setVertices ( int index , Vertex . Builder builderForValue )
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]