Class Installation.Builder

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

public static final class Installation.Builder extends com.google.protobuf.GeneratedMessage.Builder<Installation.Builder> implements InstallationOrBuilder
 This represents how a particular software package may be installed on a
 system.
 
Protobuf type grafeas.v1beta1.package.Installation
  • 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<Installation.Builder>
    • clear

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

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

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

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

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

      public Installation.Builder mergeFrom(Installation other)
    • isInitialized

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

      public Installation.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<Installation.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. The name of the installed package.
       
      string name = 1;
      Specified by:
      getName in interface InstallationOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The name of the installed package.
       
      string name = 1;
      Specified by:
      getNameBytes in interface InstallationOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Installation.Builder setName(String value)
       Output only. The name of the installed package.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Installation.Builder clearName()
       Output only. The name of the installed package.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Installation.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The name of the installed package.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getLocationList

      public List<Location> getLocationList()
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
      Specified by:
      getLocationList in interface InstallationOrBuilder
    • getLocationCount

      public int getLocationCount()
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
      Specified by:
      getLocationCount in interface InstallationOrBuilder
    • getLocation

      public Location getLocation(int index)
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
      Specified by:
      getLocation in interface InstallationOrBuilder
    • setLocation

      public Installation.Builder setLocation(int index, Location value)
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
    • setLocation

      public Installation.Builder setLocation(int index, Location.Builder builderForValue)
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
    • addLocation

      public Installation.Builder addLocation(Location value)
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
    • addLocation

      public Installation.Builder addLocation(int index, Location value)
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
    • addLocation

      public Installation.Builder addLocation(Location.Builder builderForValue)
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
    • addLocation

      public Installation.Builder addLocation(int index, Location.Builder builderForValue)
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
    • addAllLocation

      public Installation.Builder addAllLocation(Iterable<? extends Location> values)
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
    • clearLocation

      public Installation.Builder clearLocation()
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
    • removeLocation

      public Installation.Builder removeLocation(int index)
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
    • getLocationBuilder

      public Location.Builder getLocationBuilder(int index)
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
    • getLocationOrBuilder

      public LocationOrBuilder getLocationOrBuilder(int index)
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
      Specified by:
      getLocationOrBuilder in interface InstallationOrBuilder
    • getLocationOrBuilderList

      public List<? extends LocationOrBuilder> getLocationOrBuilderList()
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
      Specified by:
      getLocationOrBuilderList in interface InstallationOrBuilder
    • addLocationBuilder

      public Location.Builder addLocationBuilder()
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
    • addLocationBuilder

      public Location.Builder addLocationBuilder(int index)
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;
    • getLocationBuilderList

      public List<Location.Builder> getLocationBuilderList()
       Required. All of the places within the filesystem versions of this package
       have been found.
       
      repeated .grafeas.v1beta1.package.Location location = 2;