Class 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.GeneratedMessageV3.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 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<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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

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

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

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

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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;
      • setUnknownFields

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

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