public static final class NormalizedPolyline.Builder extends GeneratedMessageV3.Builder<NormalizedPolyline.Builder> implements NormalizedPolylineOrBuilder
Normalized polyline.
Protobuf type google.cloud.datalabeling.v1beta1.NormalizedPolyline
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllNormalizedVertices(Iterable<? extends NormalizedVertex> values)
public NormalizedPolyline.Builder addAllNormalizedVertices(Iterable<? extends NormalizedVertex> values)
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.datalabeling.v1beta1.NormalizedVertex>
|
Returns
addNormalizedVertices(NormalizedVertex value)
public NormalizedPolyline.Builder addNormalizedVertices(NormalizedVertex value)
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameter
Returns
addNormalizedVertices(NormalizedVertex.Builder builderForValue)
public NormalizedPolyline.Builder addNormalizedVertices(NormalizedVertex.Builder builderForValue)
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameter
Returns
addNormalizedVertices(int index, NormalizedVertex value)
public NormalizedPolyline.Builder addNormalizedVertices(int index, NormalizedVertex value)
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameters
Returns
addNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
public NormalizedPolyline.Builder addNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameters
Returns
addNormalizedVerticesBuilder()
public NormalizedVertex.Builder addNormalizedVerticesBuilder()
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Returns
addNormalizedVerticesBuilder(int index)
public NormalizedVertex.Builder addNormalizedVerticesBuilder(int index)
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NormalizedPolyline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NormalizedPolyline build()
Returns
buildPartial()
public NormalizedPolyline buildPartial()
Returns
clear()
public NormalizedPolyline.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public NormalizedPolyline.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNormalizedVertices()
public NormalizedPolyline.Builder clearNormalizedVertices()
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public NormalizedPolyline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public NormalizedPolyline.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NormalizedPolyline getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNormalizedVertices(int index)
public NormalizedVertex getNormalizedVertices(int index)
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameter
Returns
getNormalizedVerticesBuilder(int index)
public NormalizedVertex.Builder getNormalizedVerticesBuilder(int index)
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameter
Returns
getNormalizedVerticesBuilderList()
public List<NormalizedVertex.Builder> getNormalizedVerticesBuilderList()
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Returns
getNormalizedVerticesCount()
public int getNormalizedVerticesCount()
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Returns
getNormalizedVerticesList()
public List<NormalizedVertex> getNormalizedVerticesList()
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Returns
getNormalizedVerticesOrBuilder(int index)
public NormalizedVertexOrBuilder getNormalizedVerticesOrBuilder(int index)
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameter
Returns
getNormalizedVerticesOrBuilderList()
public List<? extends NormalizedVertexOrBuilder> getNormalizedVerticesOrBuilderList()
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Returns
Type | Description |
List<? extends com.google.cloud.datalabeling.v1beta1.NormalizedVertexOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NormalizedPolyline other)
public NormalizedPolyline.Builder mergeFrom(NormalizedPolyline other)
Parameter
Returns
public NormalizedPolyline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NormalizedPolyline.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NormalizedPolyline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeNormalizedVertices(int index)
public NormalizedPolyline.Builder removeNormalizedVertices(int index)
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public NormalizedPolyline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNormalizedVertices(int index, NormalizedVertex value)
public NormalizedPolyline.Builder setNormalizedVertices(int index, NormalizedVertex value)
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameters
Returns
setNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
public NormalizedPolyline.Builder setNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
The normalized polyline vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NormalizedPolyline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NormalizedPolyline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides