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
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
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p3beta1.NormalizedVertex>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NormalizedBoundingPoly.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
addVertices(int index, NormalizedVertex value)
public NormalizedBoundingPoly.Builder addVertices(int index, NormalizedVertex value)
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Parameters
Returns
addVertices(int index, NormalizedVertex.Builder builderForValue)
public NormalizedBoundingPoly.Builder addVertices(int index, NormalizedVertex.Builder builderForValue)
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Parameters
Returns
addVerticesBuilder()
public NormalizedVertex.Builder addVerticesBuilder()
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Returns
addVerticesBuilder(int index)
public NormalizedVertex.Builder addVerticesBuilder(int index)
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public NormalizedBoundingPoly.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVertices()
public NormalizedBoundingPoly.Builder clearVertices()
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Returns
clone()
public NormalizedBoundingPoly.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NormalizedBoundingPoly getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getVertices(int index)
public NormalizedVertex getVertices(int index)
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Parameter
Returns
getVerticesBuilder(int index)
public NormalizedVertex.Builder getVerticesBuilder(int index)
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Parameter
Returns
getVerticesBuilderList()
public List<NormalizedVertex.Builder> getVerticesBuilderList()
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Returns
getVerticesCount()
public int getVerticesCount()
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Returns
getVerticesList()
public List<NormalizedVertex> getVerticesList()
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Returns
getVerticesOrBuilder(int index)
public NormalizedVertexOrBuilder getVerticesOrBuilder(int index)
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Parameter
Returns
getVerticesOrBuilderList()
public List<? extends NormalizedVertexOrBuilder> getVerticesOrBuilderList()
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1p3beta1.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
removeVertices(int index)
public NormalizedBoundingPoly.Builder removeVertices(int index)
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public NormalizedBoundingPoly.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
setVertices(int index, NormalizedVertex value)
public NormalizedBoundingPoly.Builder setVertices(int index, NormalizedVertex value)
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Parameters
Returns
setVertices(int index, NormalizedVertex.Builder builderForValue)
public NormalizedBoundingPoly.Builder setVertices(int index, NormalizedVertex.Builder builderForValue)
Normalized vertices of the bounding polygon.
repeated .google.cloud.vision.v1p3beta1.NormalizedVertex vertices = 1;
Parameters
Returns