public static final class NormalizedPolygon.Builder extends GeneratedMessageV3.Builder<NormalizedPolygon.Builder> implements NormalizedPolygonOrBuilder
Normalized Polygon.
Protobuf type google.events.cloud.visionai.v1.NormalizedPolygon
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addAllNormalizedVertices(Iterable<? extends NormalizedVertex> values)
public NormalizedPolygon.Builder addAllNormalizedVertices(Iterable<? extends NormalizedVertex> values)
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.events.cloud.visionai.v1.NormalizedVertex>
|
addNormalizedVertices(NormalizedVertex value)
public NormalizedPolygon.Builder addNormalizedVertices(NormalizedVertex value)
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
addNormalizedVertices(NormalizedVertex.Builder builderForValue)
public NormalizedPolygon.Builder addNormalizedVertices(NormalizedVertex.Builder builderForValue)
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
addNormalizedVertices(int index, NormalizedVertex value)
public NormalizedPolygon.Builder addNormalizedVertices(int index, NormalizedVertex value)
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
addNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
public NormalizedPolygon.Builder addNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
addNormalizedVerticesBuilder()
public NormalizedVertex.Builder addNormalizedVerticesBuilder()
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
addNormalizedVerticesBuilder(int index)
public NormalizedVertex.Builder addNormalizedVerticesBuilder(int index)
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NormalizedPolygon.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NormalizedPolygon build()
buildPartial()
public NormalizedPolygon buildPartial()
clear()
public NormalizedPolygon.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public NormalizedPolygon.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNormalizedVertices()
public NormalizedPolygon.Builder clearNormalizedVertices()
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public NormalizedPolygon.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public NormalizedPolygon.Builder clone()
Overrides
getDefaultInstanceForType()
public NormalizedPolygon getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNormalizedVertices(int index)
public NormalizedVertex getNormalizedVertices(int index)
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Parameter |
Name |
Description |
index |
int
|
getNormalizedVerticesBuilder(int index)
public NormalizedVertex.Builder getNormalizedVerticesBuilder(int index)
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Parameter |
Name |
Description |
index |
int
|
getNormalizedVerticesBuilderList()
public List<NormalizedVertex.Builder> getNormalizedVerticesBuilderList()
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
getNormalizedVerticesCount()
public int getNormalizedVerticesCount()
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Returns |
Type |
Description |
int |
|
getNormalizedVerticesList()
public List<NormalizedVertex> getNormalizedVerticesList()
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
getNormalizedVerticesOrBuilder(int index)
public NormalizedVertexOrBuilder getNormalizedVerticesOrBuilder(int index)
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Parameter |
Name |
Description |
index |
int
|
getNormalizedVerticesOrBuilderList()
public List<? extends NormalizedVertexOrBuilder> getNormalizedVerticesOrBuilderList()
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Returns |
Type |
Description |
List<? extends com.google.events.cloud.visionai.v1.NormalizedVertexOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NormalizedPolygon other)
public NormalizedPolygon.Builder mergeFrom(NormalizedPolygon other)
public NormalizedPolygon.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NormalizedPolygon.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NormalizedPolygon.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeNormalizedVertices(int index)
public NormalizedPolygon.Builder removeNormalizedVertices(int index)
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public NormalizedPolygon.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNormalizedVertices(int index, NormalizedVertex value)
public NormalizedPolygon.Builder setNormalizedVertices(int index, NormalizedVertex value)
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
setNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
public NormalizedPolygon.Builder setNormalizedVertices(int index, NormalizedVertex.Builder builderForValue)
The bounding polygon normalized vertices. Top left corner of the image
will be [0, 0].
repeated .google.events.cloud.visionai.v1.NormalizedVertex normalized_vertices = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NormalizedPolygon.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NormalizedPolygon.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides