Class NormalizedBoundingPoly.Builder (2.1.4)

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

A normalized bounding polygon around a portion of an image.

Protobuf type google.cloud.vision.v1p3beta1.NormalizedBoundingPoly

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllVertices(Iterable<? extends NormalizedVertex> values)

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

Normalized vertices of the bounding polygon.

repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p3beta1.NormalizedVertex>
Returns
TypeDescription
NormalizedBoundingPoly.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addVertices(NormalizedVertex value)

public NormalizedBoundingPoly.Builder addVertices(NormalizedVertex value)

Normalized vertices of the bounding polygon.

repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;

Parameter
NameDescription
valueNormalizedVertex
Returns
TypeDescription
NormalizedBoundingPoly.Builder

addVertices(NormalizedVertex.Builder builderForValue)

public NormalizedBoundingPoly.Builder addVertices(NormalizedVertex.Builder builderForValue)

Normalized vertices of the bounding polygon.

repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;

Parameter
NameDescription
builderForValueNormalizedVertex.Builder
Returns
TypeDescription
NormalizedBoundingPoly.Builder

addVertices(int index, NormalizedVertex value)

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

Normalized vertices of the bounding polygon.