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.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
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;