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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImagePolylineAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ImagePolylineAnnotation build()
Returns
buildPartial()
public ImagePolylineAnnotation buildPartial()
Returns
clear()
public ImagePolylineAnnotation.Builder clear()
Returns
Overrides
clearAnnotationSpec()
public ImagePolylineAnnotation.Builder clearAnnotationSpec()
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ImagePolylineAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNormalizedPolyline()
public ImagePolylineAnnotation.Builder clearNormalizedPolyline()
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ImagePolylineAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPoly()
public ImagePolylineAnnotation.Builder clearPoly()
Returns
clearPolyline()
public ImagePolylineAnnotation.Builder clearPolyline()
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
Returns
clone()
public ImagePolylineAnnotation.Builder clone()
Returns
Overrides
getAnnotationSpec()
public AnnotationSpec getAnnotationSpec()
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
Returns
getAnnotationSpecBuilder()
public AnnotationSpec.Builder getAnnotationSpecBuilder()
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
Returns
getAnnotationSpecOrBuilder()
public AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
Returns
getDefaultInstanceForType()
public ImagePolylineAnnotation getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNormalizedPolyline()
public NormalizedPolyline getNormalizedPolyline()
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
Returns
getNormalizedPolylineBuilder()
public NormalizedPolyline.Builder getNormalizedPolylineBuilder()
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
Returns
getNormalizedPolylineOrBuilder()
public NormalizedPolylineOrBuilder getNormalizedPolylineOrBuilder()
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
Returns
getPolyCase()
public ImagePolylineAnnotation.PolyCase getPolyCase()
Returns
getPolyline()
public Polyline getPolyline()
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
Returns
getPolylineBuilder()
public Polyline.Builder getPolylineBuilder()
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
Returns
getPolylineOrBuilder()
public PolylineOrBuilder getPolylineOrBuilder()
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeAnnotationSpec(AnnotationSpec value)
public ImagePolylineAnnotation.Builder mergeAnnotationSpec(AnnotationSpec value)
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
Parameter
Returns
mergeFrom(ImagePolylineAnnotation other)
public ImagePolylineAnnotation.Builder mergeFrom(ImagePolylineAnnotation other)
Parameter
Returns
public ImagePolylineAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImagePolylineAnnotation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeNormalizedPolyline(NormalizedPolyline value)
public ImagePolylineAnnotation.Builder mergeNormalizedPolyline(NormalizedPolyline value)
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
Parameter
Returns
mergePolyline(Polyline value)
public ImagePolylineAnnotation.Builder mergePolyline(Polyline value)
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImagePolylineAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setAnnotationSpec(AnnotationSpec value)
public ImagePolylineAnnotation.Builder setAnnotationSpec(AnnotationSpec value)
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
Parameter
Returns
setAnnotationSpec(AnnotationSpec.Builder builderForValue)
public ImagePolylineAnnotation.Builder setAnnotationSpec(AnnotationSpec.Builder builderForValue)
Label of this polyline.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ImagePolylineAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNormalizedPolyline(NormalizedPolyline value)
public ImagePolylineAnnotation.Builder setNormalizedPolyline(NormalizedPolyline value)
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
Parameter
Returns
setNormalizedPolyline(NormalizedPolyline.Builder builderForValue)
public ImagePolylineAnnotation.Builder setNormalizedPolyline(NormalizedPolyline.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.NormalizedPolyline normalized_polyline = 3;
Parameter
Returns
setPolyline(Polyline value)
public ImagePolylineAnnotation.Builder setPolyline(Polyline value)
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
Parameter
Returns
setPolyline(Polyline.Builder builderForValue)
public ImagePolylineAnnotation.Builder setPolyline(Polyline.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.Polyline polyline = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImagePolylineAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImagePolylineAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides