Class PnIDResponse.Builder

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

    public static final class PnIDResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<PnIDResponse.Builder>
    implements PnIDResponseOrBuilder
    Protobuf type com.cognite.beam.proto.PnIDResponse
    • 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<PnIDResponse.Builder>
      • clear

        public PnIDResponse.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<PnIDResponse.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<PnIDResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public PnIDResponse.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<PnIDResponse.Builder>
      • setField

        public PnIDResponse.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<PnIDResponse.Builder>
      • clearField

        public PnIDResponse.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<PnIDResponse.Builder>
      • clearOneof

        public PnIDResponse.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<PnIDResponse.Builder>
      • setRepeatedField

        public PnIDResponse.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<PnIDResponse.Builder>
      • addRepeatedField

        public PnIDResponse.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<PnIDResponse.Builder>
      • mergeFrom

        public PnIDResponse.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<PnIDResponse.Builder>
      • isInitialized

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

        public PnIDResponse.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<PnIDResponse.Builder>
        Throws:
        IOException
      • hasFileId

        public boolean hasFileId()
        The id of the source file used for detecting annotations and building
        interactive P&ID
         
        .google.protobuf.Int64Value file_id = 1;
        Specified by:
        hasFileId in interface PnIDResponseOrBuilder
        Returns:
        Whether the fileId field is set.
      • getFileId

        public Int64Value getFileId()
        The id of the source file used for detecting annotations and building
        interactive P&ID
         
        .google.protobuf.Int64Value file_id = 1;
        Specified by:
        getFileId in interface PnIDResponseOrBuilder
        Returns:
        The fileId.
      • setFileId

        public PnIDResponse.Builder setFileId​(Int64Value value)
        The id of the source file used for detecting annotations and building
        interactive P&ID
         
        .google.protobuf.Int64Value file_id = 1;
      • setFileId

        public PnIDResponse.Builder setFileId​(Int64Value.Builder builderForValue)
        The id of the source file used for detecting annotations and building
        interactive P&ID
         
        .google.protobuf.Int64Value file_id = 1;
      • mergeFileId

        public PnIDResponse.Builder mergeFileId​(Int64Value value)
        The id of the source file used for detecting annotations and building
        interactive P&ID
         
        .google.protobuf.Int64Value file_id = 1;
      • clearFileId

        public PnIDResponse.Builder clearFileId()
        The id of the source file used for detecting annotations and building
        interactive P&ID
         
        .google.protobuf.Int64Value file_id = 1;
      • getFileIdBuilder

        public Int64Value.Builder getFileIdBuilder()
        The id of the source file used for detecting annotations and building
        interactive P&ID
         
        .google.protobuf.Int64Value file_id = 1;
      • hasFileExternalId

        public boolean hasFileExternalId()
        The external id of the source file used for detecting annotations and building
        interactive P&ID
         
        .google.protobuf.StringValue file_external_id = 2;
        Specified by:
        hasFileExternalId in interface PnIDResponseOrBuilder
        Returns:
        Whether the fileExternalId field is set.
      • getFileExternalId

        public StringValue getFileExternalId()
        The external id of the source file used for detecting annotations and building
        interactive P&ID
         
        .google.protobuf.StringValue file_external_id = 2;
        Specified by:
        getFileExternalId in interface PnIDResponseOrBuilder
        Returns:
        The fileExternalId.
      • setFileExternalId

        public PnIDResponse.Builder setFileExternalId​(StringValue value)
        The external id of the source file used for detecting annotations and building
        interactive P&ID
         
        .google.protobuf.StringValue file_external_id = 2;
      • setFileExternalId

        public PnIDResponse.Builder setFileExternalId​(StringValue.Builder builderForValue)
        The external id of the source file used for detecting annotations and building
        interactive P&ID
         
        .google.protobuf.StringValue file_external_id = 2;
      • mergeFileExternalId

        public PnIDResponse.Builder mergeFileExternalId​(StringValue value)
        The external id of the source file used for detecting annotations and building
        interactive P&ID
         
        .google.protobuf.StringValue file_external_id = 2;
      • clearFileExternalId

        public PnIDResponse.Builder clearFileExternalId()
        The external id of the source file used for detecting annotations and building
        interactive P&ID
         
        .google.protobuf.StringValue file_external_id = 2;
      • getFileExternalIdBuilder

        public StringValue.Builder getFileExternalIdBuilder()
        The external id of the source file used for detecting annotations and building
        interactive P&ID
         
        .google.protobuf.StringValue file_external_id = 2;
      • getItemsCount

        public int getItemsCount()
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
        Specified by:
        getItemsCount in interface PnIDResponseOrBuilder
      • getItems

        public Annotation getItems​(int index)
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
        Specified by:
        getItems in interface PnIDResponseOrBuilder
      • setItems

        public PnIDResponse.Builder setItems​(int index,
                                             Annotation value)
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
      • setItems

        public PnIDResponse.Builder setItems​(int index,
                                             Annotation.Builder builderForValue)
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
      • addItems

        public PnIDResponse.Builder addItems​(Annotation value)
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
      • addItems

        public PnIDResponse.Builder addItems​(int index,
                                             Annotation value)
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
      • addItems

        public PnIDResponse.Builder addItems​(Annotation.Builder builderForValue)
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
      • addItems

        public PnIDResponse.Builder addItems​(int index,
                                             Annotation.Builder builderForValue)
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
      • addAllItems

        public PnIDResponse.Builder addAllItems​(Iterable<? extends Annotation> values)
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
      • clearItems

        public PnIDResponse.Builder clearItems()
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
      • removeItems

        public PnIDResponse.Builder removeItems​(int index)
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
      • getItemsBuilder

        public Annotation.Builder getItemsBuilder​(int index)
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
      • addItemsBuilder

        public Annotation.Builder addItemsBuilder()
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
      • addItemsBuilder

        public Annotation.Builder addItemsBuilder​(int index)
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
      • getItemsBuilderList

        public List<Annotation.Builder> getItemsBuilderList()
         The identified entity annotations with bounding boxes
         
        repeated .com.cognite.beam.proto.Annotation items = 3;
      • hasSvgBinary

        public boolean hasSvgBinary()
         The converted SVG binary
         
        .google.protobuf.BytesValue svg_binary = 4;
        Specified by:
        hasSvgBinary in interface PnIDResponseOrBuilder
        Returns:
        Whether the svgBinary field is set.
      • mergeSvgBinary

        public PnIDResponse.Builder mergeSvgBinary​(BytesValue value)
         The converted SVG binary
         
        .google.protobuf.BytesValue svg_binary = 4;
      • clearSvgBinary

        public PnIDResponse.Builder clearSvgBinary()
         The converted SVG binary
         
        .google.protobuf.BytesValue svg_binary = 4;
      • getSvgBinaryBuilder

        public BytesValue.Builder getSvgBinaryBuilder()
         The converted SVG binary
         
        .google.protobuf.BytesValue svg_binary = 4;
      • hasPngBinary

        public boolean hasPngBinary()
         The converted PNG binary
         
        .google.protobuf.BytesValue png_binary = 5;
        Specified by:
        hasPngBinary in interface PnIDResponseOrBuilder
        Returns:
        Whether the pngBinary field is set.
      • mergePngBinary

        public PnIDResponse.Builder mergePngBinary​(BytesValue value)
         The converted PNG binary
         
        .google.protobuf.BytesValue png_binary = 5;
      • clearPngBinary

        public PnIDResponse.Builder clearPngBinary()
         The converted PNG binary
         
        .google.protobuf.BytesValue png_binary = 5;
      • getPngBinaryBuilder

        public BytesValue.Builder getPngBinaryBuilder()
         The converted PNG binary
         
        .google.protobuf.BytesValue png_binary = 5;
      • setUnknownFields

        public final PnIDResponse.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<PnIDResponse.Builder>
      • mergeUnknownFields

        public final PnIDResponse.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<PnIDResponse.Builder>