Class NormalizedBoundingPoly.Builder (0.137.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datalabeling.v1beta1.NormalizedVertex>
Returns
TypeDescription
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
NameDescription
valueNormalizedVertex
Returns
TypeDescription
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
NameDescription
builderForValueNormalizedVertex.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNormalizedVertex
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNormalizedVertex.Builder
Returns
TypeDescription
NormalizedBoundingPoly.Builder

addNormalizedVerticesBuilder()

public NormalizedVertex.Builder addNormalizedVerticesBuilder()

The bounding polygon normalized vertices.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NormalizedVertex.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

build()

public NormalizedBoundingPoly build()
Returns
TypeDescription
NormalizedBoundingPoly

buildPartial()

public NormalizedBoundingPoly buildPartial()
Returns
TypeDescription
NormalizedBoundingPoly

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNormalizedVertices()

public NormalizedBoundingPoly.Builder clearNormalizedVertices()

The bounding polygon normalized vertices.

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

Returns
TypeDescription
NormalizedBoundingPoly.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NormalizedBoundingPoly getDefaultInstanceForType()
Returns
TypeDescription
NormalizedBoundingPoly

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NormalizedVertex.Builder

getNormalizedVerticesBuilderList()

public List<NormalizedVertex.Builder> getNormalizedVerticesBuilderList()

The bounding polygon normalized vertices.

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

Returns
TypeDescription
List<Builder>

getNormalizedVerticesCount()

public int getNormalizedVerticesCount()

The bounding polygon normalized vertices.

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

Returns
TypeDescription
int

getNormalizedVerticesList()

public List<NormalizedVertex> getNormalizedVerticesList()

The bounding polygon normalized vertices.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NormalizedVertexOrBuilder

getNormalizedVerticesOrBuilderList()

public List<? extends NormalizedVertexOrBuilder> getNormalizedVerticesOrBuilderList()

The bounding polygon normalized 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(NormalizedBoundingPoly other)

public NormalizedBoundingPoly.Builder mergeFrom(NormalizedBoundingPoly other)
Parameter
NameDescription
otherNormalizedBoundingPoly
Returns
TypeDescription
NormalizedBoundingPoly.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NormalizedBoundingPoly.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NormalizedBoundingPoly.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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