- 0.173.0 (latest)
- 0.172.0
- 0.171.0
- 0.169.0
- 0.168.0
- 0.167.0
- 0.166.0
- 0.165.0
- 0.164.0
- 0.163.0
- 0.162.0
- 0.161.0
- 0.160.0
- 0.159.0
- 0.157.0
- 0.156.0
- 0.155.0
- 0.154.0
- 0.153.0
- 0.152.0
- 0.151.0
- 0.150.0
- 0.149.0
- 0.148.0
- 0.147.0
- 0.144.0
- 0.143.0
- 0.142.0
- 0.141.0
- 0.140.0
- 0.139.0
- 0.138.0
- 0.137.0
- 0.136.0
- 0.135.0
- 0.134.0
- 0.133.0
- 0.132.0
- 0.131.0
- 0.129.0
- 0.128.0
- 0.127.0
- 0.126.0
- 0.125.0
- 0.124.0
- 0.123.7
- 0.122.11
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Polyline.BuilderImplements
PolylineOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
Polyline.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Polyline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
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 |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
addVertices(Vertex.Builder builderForValue)
public Polyline.Builder addVertices(Vertex.Builder builderForValue)
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | Vertex.Builder |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
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 | |
---|---|
Name | Description |
index | int |
value | Vertex |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | Vertex.Builder |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
addVerticesBuilder()
public Vertex.Builder addVerticesBuilder()
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Returns | |
---|---|
Type | Description |
Vertex.Builder |
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 |
Returns | |
---|---|
Type | Description |
Vertex.Builder |
build()
public Polyline build()
Returns | |
---|---|
Type | Description |
Polyline |
buildPartial()
public Polyline buildPartial()
Returns | |
---|---|
Type | Description |
Polyline |
clear()
public Polyline.Builder clear()
Returns | |
---|---|
Type | Description |
Polyline.Builder |
clearField(Descriptors.FieldDescriptor field)
public Polyline.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Polyline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
clearVertices()
public Polyline.Builder clearVertices()
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Returns | |
---|---|
Type | Description |
Polyline.Builder |
clone()
public Polyline.Builder clone()
Returns | |
---|---|
Type | Description |
Polyline.Builder |
getDefaultInstanceForType()
public Polyline getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Polyline |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getVertices(int index)
public Vertex getVertices(int index)
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Vertex |
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 |
Returns | |
---|---|
Type | Description |
Vertex.Builder |
getVerticesBuilderList()
public List<Vertex.Builder> getVerticesBuilderList()
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
List<Vertex> |
getVerticesOrBuilder(int index)
public VertexOrBuilder getVerticesOrBuilder(int index)
The polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.Vertex vertices = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VertexOrBuilder |
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 | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Polyline other)
public Polyline.Builder mergeFrom(Polyline other)
Parameter | |
---|---|
Name | Description |
other | Polyline |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Polyline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Polyline.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Polyline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
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 |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Polyline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Polyline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Polyline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
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 | |
---|---|
Name | Description |
index | int |
value | Vertex |
Returns | |
---|---|
Type | Description |
Polyline.Builder |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | Vertex.Builder |
Returns | |
---|---|
Type | Description |
Polyline.Builder |