Class NormalizedPolyline.Builder (0.148.0)

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
TypeDescription
Descriptor

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
NameDescription
valuesIterable<? extends com.google.cloud.datalabeling.v1beta1.NormalizedVertex>
Returns
TypeDescription
NormalizedPolyline.Builder

addNormalizedVertices(NormalizedVertex value)

public NormalizedPolyline.Builder addNormalizedVertices(NormalizedVertex value)

The normalized polyline vertices.

repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;

Parameter
NameDescription
valueNormalizedVertex
Returns
TypeDescription
NormalizedPolyline.Builder

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
NameDescription
builderForValueNormalizedVertex.Builder
Returns
TypeDescription
NormalizedPolyline.Builder

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
NameDescription
indexint
valueNormalizedVertex
Returns
TypeDescription
NormalizedPolyline.Builder

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
NameDescription
indexint
builderForValueNormalizedVertex.Builder
Returns
TypeDescription
NormalizedPolyline.Builder

addNormalizedVerticesBuilder()

public NormalizedVertex.Builder addNormalizedVerticesBuilder()

The normalized polyline vertices.

repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;

Returns
TypeDescription
NormalizedVertex.Builder

addNormalizedVerticesBuilder(int index)

public NormalizedVertex.Builder addNormalizedVerticesBuilder(int index)

The normalized polyline vertices.

repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NormalizedVertex.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NormalizedPolyline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides

build()

public NormalizedPolyline build()
Returns
TypeDescription
NormalizedPolyline

buildPartial()

public NormalizedPolyline buildPartial()
Returns
TypeDescription
NormalizedPolyline

clear()

public NormalizedPolyline.Builder clear()
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NormalizedPolyline.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides

clearNormalizedVertices()

public NormalizedPolyline.Builder clearNormalizedVertices()

The normalized polyline vertices.

repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;

Returns
TypeDescription
NormalizedPolyline.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public NormalizedPolyline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides

clone()

public NormalizedPolyline.Builder clone()
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides

getDefaultInstanceForType()

public NormalizedPolyline getDefaultInstanceForType()
Returns
TypeDescription
NormalizedPolyline

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNormalizedVertices(int index)

public NormalizedVertex getNormalizedVertices(int index)

The normalized polyline vertices.

repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NormalizedVertex

getNormalizedVerticesBuilder(int index)

public NormalizedVertex.Builder getNormalizedVerticesBuilder(int index)

The normalized polyline vertices.

repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NormalizedVertex.Builder

getNormalizedVerticesBuilderList()

public List<NormalizedVertex.Builder> getNormalizedVerticesBuilderList()

The normalized polyline vertices.

repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;

Returns
TypeDescription
List<Builder>

getNormalizedVerticesCount()

public int getNormalizedVerticesCount()

The normalized polyline vertices.

repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;

Returns
TypeDescription
int

getNormalizedVerticesList()

public List<NormalizedVertex> getNormalizedVerticesList()

The normalized polyline vertices.

repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;

Returns
TypeDescription
List<NormalizedVertex>

getNormalizedVerticesOrBuilder(int index)

public NormalizedVertexOrBuilder getNormalizedVerticesOrBuilder(int index)

The normalized polyline vertices.

repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NormalizedVertexOrBuilder

getNormalizedVerticesOrBuilderList()

public List<? extends NormalizedVertexOrBuilder> getNormalizedVerticesOrBuilderList()

The normalized polyline vertices.

repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;

Returns
TypeDescription
List<? extends com.google.cloud.datalabeling.v1beta1.NormalizedVertexOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NormalizedPolyline other)

public NormalizedPolyline.Builder mergeFrom(NormalizedPolyline other)
Parameter
NameDescription
otherNormalizedPolyline
Returns
TypeDescription
NormalizedPolyline.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NormalizedPolyline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NormalizedPolyline.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NormalizedPolyline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides

removeNormalizedVertices(int index)

public NormalizedPolyline.Builder removeNormalizedVertices(int index)

The normalized polyline vertices.

repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NormalizedPolyline.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NormalizedPolyline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NormalizedPolyline.Builder
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
NameDescription
indexint
valueNormalizedVertex
Returns
TypeDescription
NormalizedPolyline.Builder

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
NameDescription
indexint
builderForValueNormalizedVertex.Builder
Returns
TypeDescription
NormalizedPolyline.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NormalizedPolyline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NormalizedPolyline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NormalizedPolyline.Builder
Overrides