public static final class NormalizedBoundingPoly.Builder extends GeneratedMessageV3.Builder<NormalizedBoundingPoly.Builder> implements NormalizedBoundingPolyOrBuilder
Normalized bounding polygon.
Protobuf type google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
addNormalizedVertices(NormalizedVertex value)
public NormalizedBoundingPoly.Builder addNormalizedVertices(NormalizedVertex value)
The bounding polygon normalized vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
addNormalizedVerticesBuilder()
public NormalizedVertex.Builder addNormalizedVerticesBuilder()
The bounding polygon normalized vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Returns
addNormalizedVerticesBuilder(int index)
public NormalizedVertex.Builder addNormalizedVerticesBuilder(int index)
The bounding polygon normalized vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NormalizedBoundingPoly.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NormalizedBoundingPoly build()
Returns
buildPartial()
public NormalizedBoundingPoly buildPartial()
Returns
clear()
public NormalizedBoundingPoly.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public NormalizedBoundingPoly.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNormalizedVertices()
public NormalizedBoundingPoly.Builder clearNormalizedVertices()
The bounding polygon normalized vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public NormalizedBoundingPoly.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public NormalizedBoundingPoly.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NormalizedBoundingPoly getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNormalizedVertices(int index)
public NormalizedVertex getNormalizedVertices(int index)
The bounding polygon normalized vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameter
Returns
getNormalizedVerticesBuilder(int index)
public NormalizedVertex.Builder getNormalizedVerticesBuilder(int index)
The bounding polygon normalized vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameter
Returns
getNormalizedVerticesBuilderList()
public List<NormalizedVertex.Builder> getNormalizedVerticesBuilderList()
The bounding polygon normalized vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Returns
getNormalizedVerticesCount()
public int getNormalizedVerticesCount()
The bounding polygon normalized vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Returns
getNormalizedVerticesList()
public List<NormalizedVertex> getNormalizedVerticesList()
The bounding polygon normalized vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Returns
getNormalizedVerticesOrBuilder(int index)
public NormalizedVertexOrBuilder getNormalizedVerticesOrBuilder(int index)
The bounding polygon normalized vertices.
repeated .google.cloud.datalabeling.v1beta1.NormalizedVertex normalized_vertices = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NormalizedBoundingPoly other)
public NormalizedBoundingPoly.Builder mergeFrom(NormalizedBoundingPoly other)
Parameter
Returns
public NormalizedBoundingPoly.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NormalizedBoundingPoly.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NormalizedBoundingPoly.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public NormalizedBoundingPoly.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NormalizedBoundingPoly.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NormalizedBoundingPoly.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides