Package io.grafeas.v1

Class VulnerabilityNote.WindowsDetail.Builder

    • 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<VulnerabilityNote.WindowsDetail.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<VulnerabilityNote.WindowsDetail.Builder>
      • getDefaultInstanceForType

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

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

        public VulnerabilityNote.WindowsDetail buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public com.google.protobuf.ByteString getCpeUriBytes()
         Required. The [CPE URI](https://cpe.mitre.org/specification/) this
         vulnerability affects.
         
        string cpe_uri = 1;
        Specified by:
        getCpeUriBytes in interface VulnerabilityNote.WindowsDetailOrBuilder
        Returns:
        The bytes for cpeUri.
      • setCpeUri

        public VulnerabilityNote.WindowsDetail.Builder setCpeUri​(String value)
         Required. The [CPE URI](https://cpe.mitre.org/specification/) this
         vulnerability affects.
         
        string cpe_uri = 1;
        Parameters:
        value - The cpeUri to set.
        Returns:
        This builder for chaining.
      • clearCpeUri

        public VulnerabilityNote.WindowsDetail.Builder clearCpeUri()
         Required. The [CPE URI](https://cpe.mitre.org/specification/) this
         vulnerability affects.
         
        string cpe_uri = 1;
        Returns:
        This builder for chaining.
      • setCpeUriBytes

        public VulnerabilityNote.WindowsDetail.Builder setCpeUriBytes​(com.google.protobuf.ByteString value)
         Required. The [CPE URI](https://cpe.mitre.org/specification/) this
         vulnerability affects.
         
        string cpe_uri = 1;
        Parameters:
        value - The bytes for cpeUri to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public VulnerabilityNote.WindowsDetail.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The name of this vulnerability.
         
        string name = 2;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • setDescription

        public VulnerabilityNote.WindowsDetail.Builder setDescription​(String value)
         The description of this vulnerability.
         
        string description = 3;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public VulnerabilityNote.WindowsDetail.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         The description of this vulnerability.
         
        string description = 3;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getFixingKbsCount

        public int getFixingKbsCount()
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
        Specified by:
        getFixingKbsCount in interface VulnerabilityNote.WindowsDetailOrBuilder
      • getFixingKbs

        public VulnerabilityNote.WindowsDetail.KnowledgeBase getFixingKbs​(int index)
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
        Specified by:
        getFixingKbs in interface VulnerabilityNote.WindowsDetailOrBuilder
      • setFixingKbs

        public VulnerabilityNote.WindowsDetail.Builder setFixingKbs​(int index,
                                                                    VulnerabilityNote.WindowsDetail.KnowledgeBase value)
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      • setFixingKbs

        public VulnerabilityNote.WindowsDetail.Builder setFixingKbs​(int index,
                                                                    VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder builderForValue)
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      • addFixingKbs

        public VulnerabilityNote.WindowsDetail.Builder addFixingKbs​(VulnerabilityNote.WindowsDetail.KnowledgeBase value)
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      • addFixingKbs

        public VulnerabilityNote.WindowsDetail.Builder addFixingKbs​(int index,
                                                                    VulnerabilityNote.WindowsDetail.KnowledgeBase value)
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      • addFixingKbs

        public VulnerabilityNote.WindowsDetail.Builder addFixingKbs​(VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder builderForValue)
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      • addFixingKbs

        public VulnerabilityNote.WindowsDetail.Builder addFixingKbs​(int index,
                                                                    VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder builderForValue)
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      • addAllFixingKbs

        public VulnerabilityNote.WindowsDetail.Builder addAllFixingKbs​(Iterable<? extends VulnerabilityNote.WindowsDetail.KnowledgeBase> values)
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      • clearFixingKbs

        public VulnerabilityNote.WindowsDetail.Builder clearFixingKbs()
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      • removeFixingKbs

        public VulnerabilityNote.WindowsDetail.Builder removeFixingKbs​(int index)
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      • getFixingKbsBuilder

        public VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder getFixingKbsBuilder​(int index)
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      • addFixingKbsBuilder

        public VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder addFixingKbsBuilder()
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      • addFixingKbsBuilder

        public VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder addFixingKbsBuilder​(int index)
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      • getFixingKbsBuilderList

        public List<VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder> getFixingKbsBuilderList()
         Required. The names of the KBs which have hotfixes to mitigate this
         vulnerability. Note that there may be multiple hotfixes (and thus
         multiple KBs) that mitigate a given vulnerability. Currently any listed
         KBs presence is considered a fix.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;