Class NormalizedBoundingPoly.Builder (0.166.0)

public static final class NormalizedBoundingPoly.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NormalizedBoundingPoly.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NormalizedBoundingPoly.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public NormalizedBoundingPoly.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

public NormalizedBoundingPoly.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NormalizedBoundingPoly.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NormalizedBoundingPoly.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public NormalizedBoundingPoly.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NormalizedBoundingPoly.Builder
Overrides

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

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

public NormalizedBoundingPoly.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NormalizedBoundingPoly.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NormalizedBoundingPoly.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NormalizedBoundingPoly.Builder
Overrides