Class OutdatedLibrary.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OutdatedLibrary.Builder>
com.google.cloud.websecurityscanner.v1.OutdatedLibrary.Builder
All Implemented Interfaces:
OutdatedLibraryOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
OutdatedLibrary

public static final class OutdatedLibrary.Builder extends com.google.protobuf.GeneratedMessage.Builder<OutdatedLibrary.Builder> implements OutdatedLibraryOrBuilder
 Information reported for an outdated library.
 
Protobuf type google.cloud.websecurityscanner.v1.OutdatedLibrary
  • 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<OutdatedLibrary.Builder>
    • clear

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

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

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

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

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

      public OutdatedLibrary.Builder mergeFrom(OutdatedLibrary other)
    • isInitialized

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

      public OutdatedLibrary.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<OutdatedLibrary.Builder>
      Throws:
      IOException
    • getLibraryName

      public String getLibraryName()
       The name of the outdated library.
       
      string library_name = 1;
      Specified by:
      getLibraryName in interface OutdatedLibraryOrBuilder
      Returns:
      The libraryName.
    • getLibraryNameBytes

      public com.google.protobuf.ByteString getLibraryNameBytes()
       The name of the outdated library.
       
      string library_name = 1;
      Specified by:
      getLibraryNameBytes in interface OutdatedLibraryOrBuilder
      Returns:
      The bytes for libraryName.
    • setLibraryName

      public OutdatedLibrary.Builder setLibraryName(String value)
       The name of the outdated library.
       
      string library_name = 1;
      Parameters:
      value - The libraryName to set.
      Returns:
      This builder for chaining.
    • clearLibraryName

      public OutdatedLibrary.Builder clearLibraryName()
       The name of the outdated library.
       
      string library_name = 1;
      Returns:
      This builder for chaining.
    • setLibraryNameBytes

      public OutdatedLibrary.Builder setLibraryNameBytes(com.google.protobuf.ByteString value)
       The name of the outdated library.
       
      string library_name = 1;
      Parameters:
      value - The bytes for libraryName to set.
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
       The version number.
       
      string version = 2;
      Specified by:
      getVersion in interface OutdatedLibraryOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       The version number.
       
      string version = 2;
      Specified by:
      getVersionBytes in interface OutdatedLibraryOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public OutdatedLibrary.Builder setVersion(String value)
       The version number.
       
      string version = 2;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public OutdatedLibrary.Builder clearVersion()
       The version number.
       
      string version = 2;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public OutdatedLibrary.Builder setVersionBytes(com.google.protobuf.ByteString value)
       The version number.
       
      string version = 2;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • getLearnMoreUrlsList

      public com.google.protobuf.ProtocolStringList getLearnMoreUrlsList()
       URLs to learn more information about the vulnerabilities in the library.
       
      repeated string learn_more_urls = 3;
      Specified by:
      getLearnMoreUrlsList in interface OutdatedLibraryOrBuilder
      Returns:
      A list containing the learnMoreUrls.
    • getLearnMoreUrlsCount

      public int getLearnMoreUrlsCount()
       URLs to learn more information about the vulnerabilities in the library.
       
      repeated string learn_more_urls = 3;
      Specified by:
      getLearnMoreUrlsCount in interface OutdatedLibraryOrBuilder
      Returns:
      The count of learnMoreUrls.
    • getLearnMoreUrls

      public String getLearnMoreUrls(int index)
       URLs to learn more information about the vulnerabilities in the library.
       
      repeated string learn_more_urls = 3;
      Specified by:
      getLearnMoreUrls in interface OutdatedLibraryOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The learnMoreUrls at the given index.
    • getLearnMoreUrlsBytes

      public com.google.protobuf.ByteString getLearnMoreUrlsBytes(int index)
       URLs to learn more information about the vulnerabilities in the library.
       
      repeated string learn_more_urls = 3;
      Specified by:
      getLearnMoreUrlsBytes in interface OutdatedLibraryOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the learnMoreUrls at the given index.
    • setLearnMoreUrls

      public OutdatedLibrary.Builder setLearnMoreUrls(int index, String value)
       URLs to learn more information about the vulnerabilities in the library.
       
      repeated string learn_more_urls = 3;
      Parameters:
      index - The index to set the value at.
      value - The learnMoreUrls to set.
      Returns:
      This builder for chaining.
    • addLearnMoreUrls

      public OutdatedLibrary.Builder addLearnMoreUrls(String value)
       URLs to learn more information about the vulnerabilities in the library.
       
      repeated string learn_more_urls = 3;
      Parameters:
      value - The learnMoreUrls to add.
      Returns:
      This builder for chaining.
    • addAllLearnMoreUrls

      public OutdatedLibrary.Builder addAllLearnMoreUrls(Iterable<String> values)
       URLs to learn more information about the vulnerabilities in the library.
       
      repeated string learn_more_urls = 3;
      Parameters:
      values - The learnMoreUrls to add.
      Returns:
      This builder for chaining.
    • clearLearnMoreUrls

      public OutdatedLibrary.Builder clearLearnMoreUrls()
       URLs to learn more information about the vulnerabilities in the library.
       
      repeated string learn_more_urls = 3;
      Returns:
      This builder for chaining.
    • addLearnMoreUrlsBytes

      public OutdatedLibrary.Builder addLearnMoreUrlsBytes(com.google.protobuf.ByteString value)
       URLs to learn more information about the vulnerabilities in the library.
       
      repeated string learn_more_urls = 3;
      Parameters:
      value - The bytes of the learnMoreUrls to add.
      Returns:
      This builder for chaining.