Class ImageBoundingPolyAnnotation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
- com.google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation.Builder
-
- All Implemented Interfaces:
ImageBoundingPolyAnnotationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImageBoundingPolyAnnotation
public static final class ImageBoundingPolyAnnotation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder> implements ImageBoundingPolyAnnotationOrBuilder
Image bounding poly annotation. It represents a polygon including bounding box in the image.
Protobuf typegoogle.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageBoundingPolyAnnotation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ImageBoundingPolyAnnotationbuild()ImageBoundingPolyAnnotationbuildPartial()ImageBoundingPolyAnnotation.Builderclear()ImageBoundingPolyAnnotation.BuilderclearAnnotationSpec()Label of object in this bounding polygon.ImageBoundingPolyAnnotation.BuilderclearBoundedArea()ImageBoundingPolyAnnotation.BuilderclearBoundingPoly().google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;ImageBoundingPolyAnnotation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ImageBoundingPolyAnnotation.BuilderclearNormalizedBoundingPoly().google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;ImageBoundingPolyAnnotation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ImageBoundingPolyAnnotation.Builderclone()AnnotationSpecgetAnnotationSpec()Label of object in this bounding polygon.AnnotationSpec.BuildergetAnnotationSpecBuilder()Label of object in this bounding polygon.AnnotationSpecOrBuildergetAnnotationSpecOrBuilder()Label of object in this bounding polygon.ImageBoundingPolyAnnotation.BoundedAreaCasegetBoundedAreaCase()BoundingPolygetBoundingPoly().google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;BoundingPoly.BuildergetBoundingPolyBuilder().google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;BoundingPolyOrBuildergetBoundingPolyOrBuilder().google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;ImageBoundingPolyAnnotationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()NormalizedBoundingPolygetNormalizedBoundingPoly().google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;NormalizedBoundingPoly.BuildergetNormalizedBoundingPolyBuilder().google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;NormalizedBoundingPolyOrBuildergetNormalizedBoundingPolyOrBuilder().google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;booleanhasAnnotationSpec()Label of object in this bounding polygon.booleanhasBoundingPoly().google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;booleanhasNormalizedBoundingPoly().google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ImageBoundingPolyAnnotation.BuildermergeAnnotationSpec(AnnotationSpec value)Label of object in this bounding polygon.ImageBoundingPolyAnnotation.BuildermergeBoundingPoly(BoundingPoly value).google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;ImageBoundingPolyAnnotation.BuildermergeFrom(ImageBoundingPolyAnnotation other)ImageBoundingPolyAnnotation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ImageBoundingPolyAnnotation.BuildermergeFrom(com.google.protobuf.Message other)ImageBoundingPolyAnnotation.BuildermergeNormalizedBoundingPoly(NormalizedBoundingPoly value).google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;ImageBoundingPolyAnnotation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ImageBoundingPolyAnnotation.BuildersetAnnotationSpec(AnnotationSpec value)Label of object in this bounding polygon.ImageBoundingPolyAnnotation.BuildersetAnnotationSpec(AnnotationSpec.Builder builderForValue)Label of object in this bounding polygon.ImageBoundingPolyAnnotation.BuildersetBoundingPoly(BoundingPoly value).google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;ImageBoundingPolyAnnotation.BuildersetBoundingPoly(BoundingPoly.Builder builderForValue).google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;ImageBoundingPolyAnnotation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ImageBoundingPolyAnnotation.BuildersetNormalizedBoundingPoly(NormalizedBoundingPoly value).google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;ImageBoundingPolyAnnotation.BuildersetNormalizedBoundingPoly(NormalizedBoundingPoly.Builder builderForValue).google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;ImageBoundingPolyAnnotation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ImageBoundingPolyAnnotation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
clear
public ImageBoundingPolyAnnotation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
getDefaultInstanceForType
public ImageBoundingPolyAnnotation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ImageBoundingPolyAnnotation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ImageBoundingPolyAnnotation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ImageBoundingPolyAnnotation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
setField
public ImageBoundingPolyAnnotation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
clearField
public ImageBoundingPolyAnnotation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
clearOneof
public ImageBoundingPolyAnnotation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
setRepeatedField
public ImageBoundingPolyAnnotation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
addRepeatedField
public ImageBoundingPolyAnnotation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
mergeFrom
public ImageBoundingPolyAnnotation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImageBoundingPolyAnnotation.Builder>
-
mergeFrom
public ImageBoundingPolyAnnotation.Builder mergeFrom(ImageBoundingPolyAnnotation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
mergeFrom
public ImageBoundingPolyAnnotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImageBoundingPolyAnnotation.Builder>- Throws:
IOException
-
getBoundedAreaCase
public ImageBoundingPolyAnnotation.BoundedAreaCase getBoundedAreaCase()
- Specified by:
getBoundedAreaCasein interfaceImageBoundingPolyAnnotationOrBuilder
-
clearBoundedArea
public ImageBoundingPolyAnnotation.Builder clearBoundedArea()
-
hasBoundingPoly
public boolean hasBoundingPoly()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;- Specified by:
hasBoundingPolyin interfaceImageBoundingPolyAnnotationOrBuilder- Returns:
- Whether the boundingPoly field is set.
-
getBoundingPoly
public BoundingPoly getBoundingPoly()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;- Specified by:
getBoundingPolyin interfaceImageBoundingPolyAnnotationOrBuilder- Returns:
- The boundingPoly.
-
setBoundingPoly
public ImageBoundingPolyAnnotation.Builder setBoundingPoly(BoundingPoly value)
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
-
setBoundingPoly
public ImageBoundingPolyAnnotation.Builder setBoundingPoly(BoundingPoly.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
-
mergeBoundingPoly
public ImageBoundingPolyAnnotation.Builder mergeBoundingPoly(BoundingPoly value)
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
-
clearBoundingPoly
public ImageBoundingPolyAnnotation.Builder clearBoundingPoly()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
-
getBoundingPolyBuilder
public BoundingPoly.Builder getBoundingPolyBuilder()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
-
getBoundingPolyOrBuilder
public BoundingPolyOrBuilder getBoundingPolyOrBuilder()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;- Specified by:
getBoundingPolyOrBuilderin interfaceImageBoundingPolyAnnotationOrBuilder
-
hasNormalizedBoundingPoly
public boolean hasNormalizedBoundingPoly()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;- Specified by:
hasNormalizedBoundingPolyin interfaceImageBoundingPolyAnnotationOrBuilder- Returns:
- Whether the normalizedBoundingPoly field is set.
-
getNormalizedBoundingPoly
public NormalizedBoundingPoly getNormalizedBoundingPoly()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;- Specified by:
getNormalizedBoundingPolyin interfaceImageBoundingPolyAnnotationOrBuilder- Returns:
- The normalizedBoundingPoly.
-
setNormalizedBoundingPoly
public ImageBoundingPolyAnnotation.Builder setNormalizedBoundingPoly(NormalizedBoundingPoly value)
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
-
setNormalizedBoundingPoly
public ImageBoundingPolyAnnotation.Builder setNormalizedBoundingPoly(NormalizedBoundingPoly.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
-
mergeNormalizedBoundingPoly
public ImageBoundingPolyAnnotation.Builder mergeNormalizedBoundingPoly(NormalizedBoundingPoly value)
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
-
clearNormalizedBoundingPoly
public ImageBoundingPolyAnnotation.Builder clearNormalizedBoundingPoly()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
-
getNormalizedBoundingPolyBuilder
public NormalizedBoundingPoly.Builder getNormalizedBoundingPolyBuilder()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
-
getNormalizedBoundingPolyOrBuilder
public NormalizedBoundingPolyOrBuilder getNormalizedBoundingPolyOrBuilder()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;- Specified by:
getNormalizedBoundingPolyOrBuilderin interfaceImageBoundingPolyAnnotationOrBuilder
-
hasAnnotationSpec
public boolean hasAnnotationSpec()
Label of object in this bounding polygon.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;- Specified by:
hasAnnotationSpecin interfaceImageBoundingPolyAnnotationOrBuilder- Returns:
- Whether the annotationSpec field is set.
-
getAnnotationSpec
public AnnotationSpec getAnnotationSpec()
Label of object in this bounding polygon.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;- Specified by:
getAnnotationSpecin interfaceImageBoundingPolyAnnotationOrBuilder- Returns:
- The annotationSpec.
-
setAnnotationSpec
public ImageBoundingPolyAnnotation.Builder setAnnotationSpec(AnnotationSpec value)
Label of object in this bounding polygon.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
-
setAnnotationSpec
public ImageBoundingPolyAnnotation.Builder setAnnotationSpec(AnnotationSpec.Builder builderForValue)
Label of object in this bounding polygon.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
-
mergeAnnotationSpec
public ImageBoundingPolyAnnotation.Builder mergeAnnotationSpec(AnnotationSpec value)
Label of object in this bounding polygon.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
-
clearAnnotationSpec
public ImageBoundingPolyAnnotation.Builder clearAnnotationSpec()
Label of object in this bounding polygon.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
-
getAnnotationSpecBuilder
public AnnotationSpec.Builder getAnnotationSpecBuilder()
Label of object in this bounding polygon.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
-
getAnnotationSpecOrBuilder
public AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()
Label of object in this bounding polygon.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;- Specified by:
getAnnotationSpecOrBuilderin interfaceImageBoundingPolyAnnotationOrBuilder
-
setUnknownFields
public final ImageBoundingPolyAnnotation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
mergeUnknownFields
public final ImageBoundingPolyAnnotation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
-