Class Vulnerability.WindowsDetail.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Vulnerability.WindowsDetail.Builder>
io.grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Vulnerability.WindowsDetailOrBuilder, Cloneable
Enclosing class:
Vulnerability.WindowsDetail

public static final class Vulnerability.WindowsDetail.Builder extends com.google.protobuf.GeneratedMessage.Builder<Vulnerability.WindowsDetail.Builder> implements Vulnerability.WindowsDetailOrBuilder
Protobuf type grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Vulnerability.WindowsDetail.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.GeneratedMessage.Builder<Vulnerability.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.GeneratedMessage.Builder<Vulnerability.WindowsDetail.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public Vulnerability.WindowsDetail.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<Vulnerability.WindowsDetail.Builder>
      Throws:
      IOException
    • getCpeUri

      public String getCpeUri()
       Required. The CPE URI in
       [cpe format](https://cpe.mitre.org/specification/) in which the
       vulnerability manifests. Examples include distro or storage location for
       vulnerable jar.
       
      string cpe_uri = 1;
      Specified by:
      getCpeUri in interface Vulnerability.WindowsDetailOrBuilder
      Returns:
      The cpeUri.
    • getCpeUriBytes

      public com.google.protobuf.ByteString getCpeUriBytes()
       Required. The CPE URI in
       [cpe format](https://cpe.mitre.org/specification/) in which the
       vulnerability manifests. Examples include distro or storage location for
       vulnerable jar.
       
      string cpe_uri = 1;
      Specified by:
      getCpeUriBytes in interface Vulnerability.WindowsDetailOrBuilder
      Returns:
      The bytes for cpeUri.
    • setCpeUri

      public Vulnerability.WindowsDetail.Builder setCpeUri(String value)
       Required. The CPE URI in
       [cpe format](https://cpe.mitre.org/specification/) in which the
       vulnerability manifests. Examples include distro or storage location for
       vulnerable jar.
       
      string cpe_uri = 1;
      Parameters:
      value - The cpeUri to set.
      Returns:
      This builder for chaining.
    • clearCpeUri

       Required. The CPE URI in
       [cpe format](https://cpe.mitre.org/specification/) in which the
       vulnerability manifests. Examples include distro or storage location for
       vulnerable jar.
       
      string cpe_uri = 1;
      Returns:
      This builder for chaining.
    • setCpeUriBytes

      public Vulnerability.WindowsDetail.Builder setCpeUriBytes(com.google.protobuf.ByteString value)
       Required. The CPE URI in
       [cpe format](https://cpe.mitre.org/specification/) in which the
       vulnerability manifests. Examples include distro or storage location for
       vulnerable jar.
       
      string cpe_uri = 1;
      Parameters:
      value - The bytes for cpeUri to set.
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       Required. The name of the vulnerability.
       
      string name = 2;
      Specified by:
      getName in interface Vulnerability.WindowsDetailOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The name of the vulnerability.
       
      string name = 2;
      Specified by:
      getNameBytes in interface Vulnerability.WindowsDetailOrBuilder
      Returns:
      The bytes for name.
    • setName

       Required. The name of the vulnerability.
       
      string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Required. The name of the vulnerability.
       
      string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

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

      public String getDescription()
       The description of the vulnerability.
       
      string description = 3;
      Specified by:
      getDescription in interface Vulnerability.WindowsDetailOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       The description of the vulnerability.
       
      string description = 3;
      Specified by:
      getDescriptionBytes in interface Vulnerability.WindowsDetailOrBuilder
      Returns:
      The bytes for description.
    • setDescription

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

      public Vulnerability.WindowsDetail.Builder clearDescription()
       The description of the vulnerability.
       
      string description = 3;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

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

      public List<Vulnerability.WindowsDetail.KnowledgeBase> getFixingKbsList()
       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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      Specified by:
      getFixingKbsList in interface Vulnerability.WindowsDetailOrBuilder
    • 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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      Specified by:
      getFixingKbsCount in interface Vulnerability.WindowsDetailOrBuilder
    • getFixingKbs

      public Vulnerability.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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      Specified by:
      getFixingKbs in interface Vulnerability.WindowsDetailOrBuilder
    • setFixingKbs

       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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
    • setFixingKbs

       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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
    • addFixingKbs

       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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
    • addFixingKbs

       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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
    • addFixingKbs

       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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
    • addFixingKbs

       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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
    • addAllFixingKbs

       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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
    • clearFixingKbs

      public Vulnerability.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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
    • removeFixingKbs

      public Vulnerability.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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
    • getFixingKbsBuilder

      public Vulnerability.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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
    • getFixingKbsOrBuilder

      public Vulnerability.WindowsDetail.KnowledgeBaseOrBuilder getFixingKbsOrBuilder(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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      Specified by:
      getFixingKbsOrBuilder in interface Vulnerability.WindowsDetailOrBuilder
    • getFixingKbsOrBuilderList

      public List<? extends Vulnerability.WindowsDetail.KnowledgeBaseOrBuilder> getFixingKbsOrBuilderList()
       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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
      Specified by:
      getFixingKbsOrBuilderList in interface Vulnerability.WindowsDetailOrBuilder
    • 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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
    • addFixingKbsBuilder

      public Vulnerability.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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
    • getFixingKbsBuilderList

      public List<Vulnerability.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
       kb's presence is considered a fix.
       
      repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;