Class Annotation.Builder

  • All Implemented Interfaces:
    AnnotationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Annotation

    public static final class Annotation.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
    implements AnnotationOrBuilder
    Protobuf type com.cognite.beam.proto.Annotation
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
      • clear

        public Annotation.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
      • getDefaultInstanceForType

        public Annotation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Annotation build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Annotation buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Annotation.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
      • setField

        public Annotation.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                           Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
      • clearField

        public Annotation.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
      • clearOneof

        public Annotation.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
      • setRepeatedField

        public Annotation.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   int index,
                                                   Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
      • addRepeatedField

        public Annotation.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
      • mergeFrom

        public Annotation.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Annotation.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
      • mergeFrom

        public Annotation.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Annotation.Builder>
        Throws:
        IOException
      • hasBoundingBox

        public boolean hasBoundingBox()
        .com.cognite.beam.proto.BoundingBox boundingBox = 1;
        Specified by:
        hasBoundingBox in interface AnnotationOrBuilder
        Returns:
        Whether the boundingBox field is set.
      • clearBoundingBox

        public Annotation.Builder clearBoundingBox()
        .com.cognite.beam.proto.BoundingBox boundingBox = 1;
      • getBoundingBoxBuilder

        public BoundingBox.Builder getBoundingBoxBuilder()
        .com.cognite.beam.proto.BoundingBox boundingBox = 1;
      • hasText

        public boolean hasText()
        .google.protobuf.StringValue text = 2;
        Specified by:
        hasText in interface AnnotationOrBuilder
        Returns:
        Whether the text field is set.
      • clearText

        public Annotation.Builder clearText()
        .google.protobuf.StringValue text = 2;
      • getTextBuilder

        public StringValue.Builder getTextBuilder()
        .google.protobuf.StringValue text = 2;
      • setEntities

        public Annotation.Builder setEntities​(int index,
                                              Struct value)
        repeated .google.protobuf.Struct entities = 3;
      • addEntities

        public Annotation.Builder addEntities​(int index,
                                              Struct value)
        repeated .google.protobuf.Struct entities = 3;
      • clearEntities

        public Annotation.Builder clearEntities()
        repeated .google.protobuf.Struct entities = 3;
      • removeEntities

        public Annotation.Builder removeEntities​(int index)
        repeated .google.protobuf.Struct entities = 3;
      • getEntitiesBuilder

        public Struct.Builder getEntitiesBuilder​(int index)
        repeated .google.protobuf.Struct entities = 3;
      • addEntitiesBuilder

        public Struct.Builder addEntitiesBuilder()
        repeated .google.protobuf.Struct entities = 3;
      • addEntitiesBuilder

        public Struct.Builder addEntitiesBuilder​(int index)
        repeated .google.protobuf.Struct entities = 3;
      • getEntitiesBuilderList

        public List<Struct.Builder> getEntitiesBuilderList()
        repeated .google.protobuf.Struct entities = 3;
      • hasConfidence

        public boolean hasConfidence()
        .google.protobuf.DoubleValue confidence = 4;
        Specified by:
        hasConfidence in interface AnnotationOrBuilder
        Returns:
        Whether the confidence field is set.
      • clearConfidence

        public Annotation.Builder clearConfidence()
        .google.protobuf.DoubleValue confidence = 4;
      • getConfidenceBuilder

        public DoubleValue.Builder getConfidenceBuilder()
        .google.protobuf.DoubleValue confidence = 4;
      • hasType

        public boolean hasType()
        .google.protobuf.StringValue type = 5;
        Specified by:
        hasType in interface AnnotationOrBuilder
        Returns:
        Whether the type field is set.
      • clearType

        public Annotation.Builder clearType()
        .google.protobuf.StringValue type = 5;
      • getTypeBuilder

        public StringValue.Builder getTypeBuilder()
        .google.protobuf.StringValue type = 5;
      • setUnknownFields

        public final Annotation.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>
      • mergeUnknownFields

        public final Annotation.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>