Class EntityMatchModel.Builder

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

    public static final class EntityMatchModel.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<EntityMatchModel.Builder>
    implements EntityMatchModelOrBuilder
    An entity match model. Represents a matching model along with its configuration and meta data.
     
    Protobuf type com.cognite.beam.proto.EntityMatchModel
    • 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<EntityMatchModel.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public EntityMatchModel.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<EntityMatchModel.Builder>
        Throws:
        IOException
      • hasId

        public boolean hasId()
        optional int64 id = 1;
        Specified by:
        hasId in interface EntityMatchModelOrBuilder
        Returns:
        Whether the id field is set.
      • setId

        public EntityMatchModel.Builder setId​(long value)
        optional int64 id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • hasExternalId

        public boolean hasExternalId()
        optional string external_id = 2;
        Specified by:
        hasExternalId in interface EntityMatchModelOrBuilder
        Returns:
        Whether the externalId field is set.
      • getExternalIdBytes

        public com.google.protobuf.ByteString getExternalIdBytes()
        optional string external_id = 2;
        Specified by:
        getExternalIdBytes in interface EntityMatchModelOrBuilder
        Returns:
        The bytes for externalId.
      • setExternalId

        public EntityMatchModel.Builder setExternalId​(String value)
        optional string external_id = 2;
        Parameters:
        value - The externalId to set.
        Returns:
        This builder for chaining.
      • clearExternalId

        public EntityMatchModel.Builder clearExternalId()
        optional string external_id = 2;
        Returns:
        This builder for chaining.
      • setExternalIdBytes

        public EntityMatchModel.Builder setExternalIdBytes​(com.google.protobuf.ByteString value)
        optional string external_id = 2;
        Parameters:
        value - The bytes for externalId to set.
        Returns:
        This builder for chaining.
      • hasStatus

        public boolean hasStatus()
        optional string status = 3;
        Specified by:
        hasStatus in interface EntityMatchModelOrBuilder
        Returns:
        Whether the status field is set.
      • getStatusBytes

        public com.google.protobuf.ByteString getStatusBytes()
        optional string status = 3;
        Specified by:
        getStatusBytes in interface EntityMatchModelOrBuilder
        Returns:
        The bytes for status.
      • setStatus

        public EntityMatchModel.Builder setStatus​(String value)
        optional string status = 3;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public EntityMatchModel.Builder clearStatus()
        optional string status = 3;
        Returns:
        This builder for chaining.
      • setStatusBytes

        public EntityMatchModel.Builder setStatusBytes​(com.google.protobuf.ByteString value)
        optional string status = 3;
        Parameters:
        value - The bytes for status to set.
        Returns:
        This builder for chaining.
      • hasCreatedTime

        public boolean hasCreatedTime()
        optional int64 created_time = 4;
        Specified by:
        hasCreatedTime in interface EntityMatchModelOrBuilder
        Returns:
        Whether the createdTime field is set.
      • setCreatedTime

        public EntityMatchModel.Builder setCreatedTime​(long value)
        optional int64 created_time = 4;
        Parameters:
        value - The createdTime to set.
        Returns:
        This builder for chaining.
      • clearCreatedTime

        public EntityMatchModel.Builder clearCreatedTime()
        optional int64 created_time = 4;
        Returns:
        This builder for chaining.
      • hasStartTime

        public boolean hasStartTime()
        optional int64 start_time = 5;
        Specified by:
        hasStartTime in interface EntityMatchModelOrBuilder
        Returns:
        Whether the startTime field is set.
      • setStartTime

        public EntityMatchModel.Builder setStartTime​(long value)
        optional int64 start_time = 5;
        Parameters:
        value - The startTime to set.
        Returns:
        This builder for chaining.
      • clearStartTime

        public EntityMatchModel.Builder clearStartTime()
        optional int64 start_time = 5;
        Returns:
        This builder for chaining.
      • hasStatusTime

        public boolean hasStatusTime()
        optional int64 status_time = 6;
        Specified by:
        hasStatusTime in interface EntityMatchModelOrBuilder
        Returns:
        Whether the statusTime field is set.
      • setStatusTime

        public EntityMatchModel.Builder setStatusTime​(long value)
        optional int64 status_time = 6;
        Parameters:
        value - The statusTime to set.
        Returns:
        This builder for chaining.
      • clearStatusTime

        public EntityMatchModel.Builder clearStatusTime()
        optional int64 status_time = 6;
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
        optional string name = 7;
        Specified by:
        hasName in interface EntityMatchModelOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        optional string name = 7;
        Specified by:
        getNameBytes in interface EntityMatchModelOrBuilder
        Returns:
        The bytes for name.
      • setName

        public EntityMatchModel.Builder setName​(String value)
        optional string name = 7;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public EntityMatchModel.Builder setNameBytes​(com.google.protobuf.ByteString value)
        optional string name = 7;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasDescription

        public boolean hasDescription()
        optional string description = 8;
        Specified by:
        hasDescription in interface EntityMatchModelOrBuilder
        Returns:
        Whether the description field is set.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
        optional string description = 8;
        Specified by:
        getDescriptionBytes in interface EntityMatchModelOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public EntityMatchModel.Builder setDescription​(String value)
        optional string description = 8;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public EntityMatchModel.Builder clearDescription()
        optional string description = 8;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public EntityMatchModel.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
        optional string description = 8;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • hasFeatureType

        public boolean hasFeatureType()
        optional string feature_type = 9;
        Specified by:
        hasFeatureType in interface EntityMatchModelOrBuilder
        Returns:
        Whether the featureType field is set.
      • getFeatureTypeBytes

        public com.google.protobuf.ByteString getFeatureTypeBytes()
        optional string feature_type = 9;
        Specified by:
        getFeatureTypeBytes in interface EntityMatchModelOrBuilder
        Returns:
        The bytes for featureType.
      • setFeatureType

        public EntityMatchModel.Builder setFeatureType​(String value)
        optional string feature_type = 9;
        Parameters:
        value - The featureType to set.
        Returns:
        This builder for chaining.
      • clearFeatureType

        public EntityMatchModel.Builder clearFeatureType()
        optional string feature_type = 9;
        Returns:
        This builder for chaining.
      • setFeatureTypeBytes

        public EntityMatchModel.Builder setFeatureTypeBytes​(com.google.protobuf.ByteString value)
        optional string feature_type = 9;
        Parameters:
        value - The bytes for featureType to set.
        Returns:
        This builder for chaining.
      • clearMatchFields

        public EntityMatchModel.Builder clearMatchFields()
        repeated .com.cognite.beam.proto.MatchField match_fields = 10;
      • removeMatchFields

        public EntityMatchModel.Builder removeMatchFields​(int index)
        repeated .com.cognite.beam.proto.MatchField match_fields = 10;
      • getMatchFieldsBuilder

        public MatchField.Builder getMatchFieldsBuilder​(int index)
        repeated .com.cognite.beam.proto.MatchField match_fields = 10;
      • addMatchFieldsBuilder

        public MatchField.Builder addMatchFieldsBuilder()
        repeated .com.cognite.beam.proto.MatchField match_fields = 10;
      • addMatchFieldsBuilder

        public MatchField.Builder addMatchFieldsBuilder​(int index)
        repeated .com.cognite.beam.proto.MatchField match_fields = 10;
      • getMatchFieldsBuilderList

        public List<MatchField.Builder> getMatchFieldsBuilderList()
        repeated .com.cognite.beam.proto.MatchField match_fields = 10;
      • hasIgnoreMissingFields

        public boolean hasIgnoreMissingFields()
        optional bool ignore_missing_fields = 11;
        Specified by:
        hasIgnoreMissingFields in interface EntityMatchModelOrBuilder
        Returns:
        Whether the ignoreMissingFields field is set.
      • setIgnoreMissingFields

        public EntityMatchModel.Builder setIgnoreMissingFields​(boolean value)
        optional bool ignore_missing_fields = 11;
        Parameters:
        value - The ignoreMissingFields to set.
        Returns:
        This builder for chaining.
      • clearIgnoreMissingFields

        public EntityMatchModel.Builder clearIgnoreMissingFields()
        optional bool ignore_missing_fields = 11;
        Returns:
        This builder for chaining.
      • hasClassifier

        public boolean hasClassifier()
        optional string classifier = 12;
        Specified by:
        hasClassifier in interface EntityMatchModelOrBuilder
        Returns:
        Whether the classifier field is set.
      • getClassifierBytes

        public com.google.protobuf.ByteString getClassifierBytes()
        optional string classifier = 12;
        Specified by:
        getClassifierBytes in interface EntityMatchModelOrBuilder
        Returns:
        The bytes for classifier.
      • setClassifier

        public EntityMatchModel.Builder setClassifier​(String value)
        optional string classifier = 12;
        Parameters:
        value - The classifier to set.
        Returns:
        This builder for chaining.
      • clearClassifier

        public EntityMatchModel.Builder clearClassifier()
        optional string classifier = 12;
        Returns:
        This builder for chaining.
      • setClassifierBytes

        public EntityMatchModel.Builder setClassifierBytes​(com.google.protobuf.ByteString value)
        optional string classifier = 12;
        Parameters:
        value - The bytes for classifier to set.
        Returns:
        This builder for chaining.
      • hasOriginalId

        public boolean hasOriginalId()
        optional string original_id = 13;
        Specified by:
        hasOriginalId in interface EntityMatchModelOrBuilder
        Returns:
        Whether the originalId field is set.
      • getOriginalIdBytes

        public com.google.protobuf.ByteString getOriginalIdBytes()
        optional string original_id = 13;
        Specified by:
        getOriginalIdBytes in interface EntityMatchModelOrBuilder
        Returns:
        The bytes for originalId.
      • setOriginalId

        public EntityMatchModel.Builder setOriginalId​(String value)
        optional string original_id = 13;
        Parameters:
        value - The originalId to set.
        Returns:
        This builder for chaining.
      • clearOriginalId

        public EntityMatchModel.Builder clearOriginalId()
        optional string original_id = 13;
        Returns:
        This builder for chaining.
      • setOriginalIdBytes

        public EntityMatchModel.Builder setOriginalIdBytes​(com.google.protobuf.ByteString value)
        optional string original_id = 13;
        Parameters:
        value - The bytes for originalId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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