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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Polyline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addVertices(Vertex value)
public Polyline.Builder addVertices(Vertex value)
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter
Returns
addVertices(Vertex.Builder builderForValue)
public Polyline.Builder addVertices(Vertex.Builder builderForValue)
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter
Returns
addVertices(int index, Vertex value)
public Polyline.Builder addVertices(int index, Vertex value)
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameters
Returns
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;
Parameters
Returns
addVerticesBuilder()
public Vertex.Builder addVerticesBuilder()
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Returns
addVerticesBuilder(int index)
public Vertex.Builder addVerticesBuilder(int index)
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter
Returns
build()
Returns
buildPartial()
public Polyline buildPartial()
Returns
clear()
public Polyline.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Polyline.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Polyline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVertices()
public Polyline.Builder clearVertices()
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Returns
clone()
public Polyline.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Polyline getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getVertices(int index)
public Vertex getVertices(int index)
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter
Returns
getVerticesBuilder(int index)
public Vertex.Builder getVerticesBuilder(int index)
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter
Returns
getVerticesBuilderList()
public List<Vertex.Builder> getVerticesBuilderList()
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Returns
getVerticesCount()
public int getVerticesCount()
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Returns
getVerticesList()
public List<Vertex> getVerticesList()
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Returns
getVerticesOrBuilder(int index)
public VertexOrBuilder getVerticesOrBuilder(int index)
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Polyline other)
public Polyline.Builder mergeFrom(Polyline other)
Parameter
Returns
public Polyline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Polyline.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Polyline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeVertices(int index)
public Polyline.Builder removeVertices(int index)
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Polyline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Polyline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Polyline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns