Class NormalizedBoundingPoly.Builder (0.203.0)

public static final class NormalizedBoundingPoly.Builder extends GeneratedMessage.Builder<NormalizedBoundingPoly.Builder> implements NormalizedBoundingPolyOrBuilder

Normalized bounding polygon.

Protobuf type google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllNormalizedVertices(Iterable<? extends NormalizedVertex> values)

public NormalizedBoundingPoly.Builder addAllNormalizedVertices(Iterable<? extends NormalizedVertex> values)

The bounding polygon normalized vertices.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.datalabeling.v1beta1.NormalizedVertex>
Returns
Type Description
NormalizedBoundingPoly.Builder

addNormalizedVertices(NormalizedVertex value)

public NormalizedBoundingPoly.Builder addNormalizedVertices(NormalizedVertex value)

The bounding polygon normalized vertices.

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

Parameter
Name Description
value NormalizedVertex
Returns
Type Description
NormalizedBoundingPoly.Builder

addNormalizedVertices(NormalizedVertex.Builder builderForValue)

public NormalizedBoundingPoly.Builder addNormalizedVertices(NormalizedVertex.Builder builderForValue)

The bounding polygon normalized vertices.

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

Parameter
Name Description
builderForValue NormalizedVertex.Builder
Returns
Type Description
NormalizedBoundingPoly.Builder

addNormalizedVertices(int index, NormalizedVertex value)

public NormalizedBoundingPoly.Builder addNormalizedVertices(int index, NormalizedVertex value)

The bounding polygon normalized vertices.

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

Parameters
Name Description
index int
value NormalizedVertex
Returns
Type Description
NormalizedBoundingPoly.Builder

addNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)

public NormalizedBoundingPoly.Builder addNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)

The bounding polygon normalized vertices.

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

Parameters
Name Description
index int
builderForValue NormalizedVertex.Builder
Returns
Type Description
NormalizedBoundingPoly.Builder

addNormalizedVerticesBuilder()

public NormalizedVertex.Builder addNormalizedVerticesBuilder()

The bounding polygon normalized vertices.

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

Returns
Type Description
NormalizedVertex.Builder

addNormalizedVerticesBuilder(int index)

public NormalizedVertex.Builder addNormalizedVerticesBuilder(int index)

The bounding polygon normalized vertices.

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

Parameter
Name Description
index int
Returns
Type Description
NormalizedVertex.Builder

build()

public NormalizedBoundingPoly build()
Returns
Type Description
NormalizedBoundingPoly

buildPartial()

public NormalizedBoundingPoly buildPartial()
Returns
Type Description
NormalizedBoundingPoly

clear()

public NormalizedBoundingPoly.Builder clear()
Returns
Type Description
NormalizedBoundingPoly.Builder
Overrides

clearNormalizedVertices()

public NormalizedBoundingPoly.Builder clearNormalizedVertices()

The bounding polygon normalized vertices.

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

Returns
Type Description
NormalizedBoundingPoly.Builder

getDefaultInstanceForType()

public NormalizedBoundingPoly getDefaultInstanceForType()
Returns
Type Description
NormalizedBoundingPoly

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNormalizedVertices(int index)

public NormalizedVertex getNormalizedVertices(int index)

The bounding polygon normalized vertices.

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

Parameter
Name Description
index int
Returns
Type Description
NormalizedVertex

getNormalizedVerticesBuilder(int index)

public NormalizedVertex.Builder getNormalizedVerticesBuilder(int index)

The bounding polygon normalized vertices.

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

Parameter
Name Description
index int
Returns
Type Description
NormalizedVertex.Builder

getNormalizedVerticesBuilderList()

public List<NormalizedVertex.Builder> getNormalizedVerticesBuilderList()

The bounding polygon normalized vertices.

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

Returns
Type Description
List<Builder>

getNormalizedVerticesCount()

public int getNormalizedVerticesCount()

The bounding polygon normalized vertices.

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

Returns
Type Description
int

getNormalizedVerticesList()

public List<NormalizedVertex> getNormalizedVerticesList()

The bounding polygon normalized vertices.

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

Returns
Type Description
List<NormalizedVertex>

getNormalizedVerticesOrBuilder(int index)

public NormalizedVertexOrBuilder getNormalizedVerticesOrBuilder(int index)

The bounding polygon normalized vertices.

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

Parameter
Name Description
index int
Returns
Type Description
NormalizedVertexOrBuilder

getNormalizedVerticesOrBuilderList()

public List<? extends NormalizedVertexOrBuilder> getNormalizedVerticesOrBuilderList()

The bounding polygon normalized vertices.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NormalizedBoundingPoly other)

public NormalizedBoundingPoly.Builder mergeFrom(NormalizedBoundingPoly other)
Parameter
Name Description
other NormalizedBoundingPoly
Returns
Type Description
NormalizedBoundingPoly.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NormalizedBoundingPoly.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NormalizedBoundingPoly.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NormalizedBoundingPoly.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NormalizedBoundingPoly.Builder
Overrides

removeNormalizedVertices(int index)

public NormalizedBoundingPoly.Builder removeNormalizedVertices(int index)

The bounding polygon normalized vertices.

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

Parameter
Name Description
index int
Returns
Type Description
NormalizedBoundingPoly.Builder

setNormalizedVertices(int index, NormalizedVertex value)

public NormalizedBoundingPoly.Builder setNormalizedVertices(int index, NormalizedVertex value)

The bounding polygon normalized vertices.

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

Parameters
Name Description
index int
value NormalizedVertex
Returns
Type Description
NormalizedBoundingPoly.Builder

setNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)

public NormalizedBoundingPoly.Builder setNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)

The bounding polygon normalized vertices.

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

Parameters
Name Description
index int
builderForValue NormalizedVertex.Builder
Returns
Type Description
NormalizedBoundingPoly.Builder