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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ImageBoundingPolyAnnotation
build()
ImageBoundingPolyAnnotation
buildPartial()
ImageBoundingPolyAnnotation.Builder
clear()
ImageBoundingPolyAnnotation.Builder
clearAnnotationSpec()
Label of object in this bounding polygon.ImageBoundingPolyAnnotation.Builder
clearBoundedArea()
ImageBoundingPolyAnnotation.Builder
clearBoundingPoly()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
ImageBoundingPolyAnnotation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ImageBoundingPolyAnnotation.Builder
clearNormalizedBoundingPoly()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
ImageBoundingPolyAnnotation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ImageBoundingPolyAnnotation.Builder
clone()
AnnotationSpec
getAnnotationSpec()
Label of object in this bounding polygon.AnnotationSpec.Builder
getAnnotationSpecBuilder()
Label of object in this bounding polygon.AnnotationSpecOrBuilder
getAnnotationSpecOrBuilder()
Label of object in this bounding polygon.ImageBoundingPolyAnnotation.BoundedAreaCase
getBoundedAreaCase()
BoundingPoly
getBoundingPoly()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
BoundingPoly.Builder
getBoundingPolyBuilder()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
BoundingPolyOrBuilder
getBoundingPolyOrBuilder()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
ImageBoundingPolyAnnotation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
NormalizedBoundingPoly
getNormalizedBoundingPoly()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
NormalizedBoundingPoly.Builder
getNormalizedBoundingPolyBuilder()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
NormalizedBoundingPolyOrBuilder
getNormalizedBoundingPolyOrBuilder()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
boolean
hasAnnotationSpec()
Label of object in this bounding polygon.boolean
hasBoundingPoly()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
boolean
hasNormalizedBoundingPoly()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ImageBoundingPolyAnnotation.Builder
mergeAnnotationSpec(AnnotationSpec value)
Label of object in this bounding polygon.ImageBoundingPolyAnnotation.Builder
mergeBoundingPoly(BoundingPoly value)
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
ImageBoundingPolyAnnotation.Builder
mergeFrom(ImageBoundingPolyAnnotation other)
ImageBoundingPolyAnnotation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ImageBoundingPolyAnnotation.Builder
mergeFrom(com.google.protobuf.Message other)
ImageBoundingPolyAnnotation.Builder
mergeNormalizedBoundingPoly(NormalizedBoundingPoly value)
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
ImageBoundingPolyAnnotation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ImageBoundingPolyAnnotation.Builder
setAnnotationSpec(AnnotationSpec value)
Label of object in this bounding polygon.ImageBoundingPolyAnnotation.Builder
setAnnotationSpec(AnnotationSpec.Builder builderForValue)
Label of object in this bounding polygon.ImageBoundingPolyAnnotation.Builder
setBoundingPoly(BoundingPoly value)
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
ImageBoundingPolyAnnotation.Builder
setBoundingPoly(BoundingPoly.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
ImageBoundingPolyAnnotation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ImageBoundingPolyAnnotation.Builder
setNormalizedBoundingPoly(NormalizedBoundingPoly value)
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
ImageBoundingPolyAnnotation.Builder
setNormalizedBoundingPoly(NormalizedBoundingPoly.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
ImageBoundingPolyAnnotation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ImageBoundingPolyAnnotation.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
clear
public ImageBoundingPolyAnnotation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
getDefaultInstanceForType
public ImageBoundingPolyAnnotation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ImageBoundingPolyAnnotation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ImageBoundingPolyAnnotation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ImageBoundingPolyAnnotation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
setField
public ImageBoundingPolyAnnotation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
clearField
public ImageBoundingPolyAnnotation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
clearOneof
public ImageBoundingPolyAnnotation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
setRepeatedField
public ImageBoundingPolyAnnotation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
addRepeatedField
public ImageBoundingPolyAnnotation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
mergeFrom
public ImageBoundingPolyAnnotation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ImageBoundingPolyAnnotation.Builder>
-
mergeFrom
public ImageBoundingPolyAnnotation.Builder mergeFrom(ImageBoundingPolyAnnotation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ImageBoundingPolyAnnotation.Builder>
- Throws:
IOException
-
getBoundedAreaCase
public ImageBoundingPolyAnnotation.BoundedAreaCase getBoundedAreaCase()
- Specified by:
getBoundedAreaCase
in interfaceImageBoundingPolyAnnotationOrBuilder
-
clearBoundedArea
public ImageBoundingPolyAnnotation.Builder clearBoundedArea()
-
hasBoundingPoly
public boolean hasBoundingPoly()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
- Specified by:
hasBoundingPoly
in interfaceImageBoundingPolyAnnotationOrBuilder
- Returns:
- Whether the boundingPoly field is set.
-
getBoundingPoly
public BoundingPoly getBoundingPoly()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
- Specified by:
getBoundingPoly
in 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:
getBoundingPolyOrBuilder
in interfaceImageBoundingPolyAnnotationOrBuilder
-
hasNormalizedBoundingPoly
public boolean hasNormalizedBoundingPoly()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
- Specified by:
hasNormalizedBoundingPoly
in interfaceImageBoundingPolyAnnotationOrBuilder
- Returns:
- Whether the normalizedBoundingPoly field is set.
-
getNormalizedBoundingPoly
public NormalizedBoundingPoly getNormalizedBoundingPoly()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
- Specified by:
getNormalizedBoundingPoly
in 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:
getNormalizedBoundingPolyOrBuilder
in interfaceImageBoundingPolyAnnotationOrBuilder
-
hasAnnotationSpec
public boolean hasAnnotationSpec()
Label of object in this bounding polygon.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
- Specified by:
hasAnnotationSpec
in 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:
getAnnotationSpec
in 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:
getAnnotationSpecOrBuilder
in interfaceImageBoundingPolyAnnotationOrBuilder
-
setUnknownFields
public final ImageBoundingPolyAnnotation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
mergeUnknownFields
public final ImageBoundingPolyAnnotation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageBoundingPolyAnnotation.Builder>
-
-