public static final class ImagePolylineAnnotation.Builder extends GeneratedMessageV3.Builder<ImagePolylineAnnotation.Builder> implements ImagePolylineAnnotationOrBuilder
A polyline for the image annotation.
Protobuf type google.cloud.datalabeling.v1beta1.ImagePolylineAnnotation
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImagePolylineAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImagePolylineAnnotation build()
buildPartial()
public ImagePolylineAnnotation buildPartial()
clear()
public ImagePolylineAnnotation.Builder clear()
Overrides
clearAnnotationSpec()
public ImagePolylineAnnotation.Builder clearAnnotationSpec()
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
clearField(Descriptors.FieldDescriptor field)
public ImagePolylineAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNormalizedPolyline()
public ImagePolylineAnnotation.Builder clearNormalizedPolyline()
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public ImagePolylineAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPoly()
public ImagePolylineAnnotation.Builder clearPoly()
clearPolyline()
public ImagePolylineAnnotation.Builder clearPolyline()
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
clone()
public ImagePolylineAnnotation.Builder clone()
Overrides
getAnnotationSpec()
public AnnotationSpec getAnnotationSpec()
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
getAnnotationSpecBuilder()
public AnnotationSpec.Builder getAnnotationSpecBuilder()
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
getAnnotationSpecOrBuilder()
public AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
getDefaultInstanceForType()
public ImagePolylineAnnotation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNormalizedPolyline()
public NormalizedPolyline getNormalizedPolyline()
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
getNormalizedPolylineBuilder()
public NormalizedPolyline.Builder getNormalizedPolylineBuilder()
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
getNormalizedPolylineOrBuilder()
public NormalizedPolylineOrBuilder getNormalizedPolylineOrBuilder()
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
getPolyCase()
public ImagePolylineAnnotation.PolyCase getPolyCase()
getPolyline()
public Polyline getPolyline()
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
Returns |
---|
Type | Description |
Polyline | The polyline.
|
getPolylineBuilder()
public Polyline.Builder getPolylineBuilder()
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
getPolylineOrBuilder()
public PolylineOrBuilder getPolylineOrBuilder()
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
hasAnnotationSpec()
public boolean hasAnnotationSpec()
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
Returns |
---|
Type | Description |
boolean | Whether the annotationSpec field is set.
|
hasNormalizedPolyline()
public boolean hasNormalizedPolyline()
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
Returns |
---|
Type | Description |
boolean | Whether the normalizedPolyline field is set.
|
hasPolyline()
public boolean hasPolyline()
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
Returns |
---|
Type | Description |
boolean | Whether the polyline field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAnnotationSpec(AnnotationSpec value)
public ImagePolylineAnnotation.Builder mergeAnnotationSpec(AnnotationSpec value)
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
mergeFrom(ImagePolylineAnnotation other)
public ImagePolylineAnnotation.Builder mergeFrom(ImagePolylineAnnotation other)
public ImagePolylineAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImagePolylineAnnotation.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeNormalizedPolyline(NormalizedPolyline value)
public ImagePolylineAnnotation.Builder mergeNormalizedPolyline(NormalizedPolyline value)
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
mergePolyline(Polyline value)
public ImagePolylineAnnotation.Builder mergePolyline(Polyline value)
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImagePolylineAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAnnotationSpec(AnnotationSpec value)
public ImagePolylineAnnotation.Builder setAnnotationSpec(AnnotationSpec value)
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
setAnnotationSpec(AnnotationSpec.Builder builderForValue)
public ImagePolylineAnnotation.Builder setAnnotationSpec(AnnotationSpec.Builder builderForValue)
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ImagePolylineAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNormalizedPolyline(NormalizedPolyline value)
public ImagePolylineAnnotation.Builder setNormalizedPolyline(NormalizedPolyline value)
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
setNormalizedPolyline(NormalizedPolyline.Builder builderForValue)
public ImagePolylineAnnotation.Builder setNormalizedPolyline(NormalizedPolyline.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
setPolyline(Polyline value)
public ImagePolylineAnnotation.Builder setPolyline(Polyline value)
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
setPolyline(Polyline.Builder builderForValue)
public ImagePolylineAnnotation.Builder setPolyline(Polyline.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImagePolylineAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImagePolylineAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides