Class PatchJobs.ZypperSettings.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<PatchJobs.ZypperSettings.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<PatchJobs.ZypperSettings.Builder>
      • getDefaultInstanceForType

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

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

        public PatchJobs.ZypperSettings buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

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

        public PatchJobs.ZypperSettings.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<PatchJobs.ZypperSettings.Builder>
      • isInitialized

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

        public PatchJobs.ZypperSettings.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<PatchJobs.ZypperSettings.Builder>
        Throws:
        IOException
      • setWithOptional

        public PatchJobs.ZypperSettings.Builder setWithOptional​(boolean value)
         Adds the `--with-optional` flag to `zypper patch`.
         
        bool with_optional = 1;
        Parameters:
        value - The withOptional to set.
        Returns:
        This builder for chaining.
      • clearWithOptional

        public PatchJobs.ZypperSettings.Builder clearWithOptional()
         Adds the `--with-optional` flag to `zypper patch`.
         
        bool with_optional = 1;
        Returns:
        This builder for chaining.
      • setWithUpdate

        public PatchJobs.ZypperSettings.Builder setWithUpdate​(boolean value)
         Adds the `--with-update` flag, to `zypper patch`.
         
        bool with_update = 2;
        Parameters:
        value - The withUpdate to set.
        Returns:
        This builder for chaining.
      • clearWithUpdate

        public PatchJobs.ZypperSettings.Builder clearWithUpdate()
         Adds the `--with-update` flag, to `zypper patch`.
         
        bool with_update = 2;
        Returns:
        This builder for chaining.
      • getCategoriesList

        public com.google.protobuf.ProtocolStringList getCategoriesList()
         Install only patches with these categories.
         Common categories include security, recommended, and feature.
         
        repeated string categories = 3;
        Specified by:
        getCategoriesList in interface PatchJobs.ZypperSettingsOrBuilder
        Returns:
        A list containing the categories.
      • getCategoriesCount

        public int getCategoriesCount()
         Install only patches with these categories.
         Common categories include security, recommended, and feature.
         
        repeated string categories = 3;
        Specified by:
        getCategoriesCount in interface PatchJobs.ZypperSettingsOrBuilder
        Returns:
        The count of categories.
      • getCategories

        public String getCategories​(int index)
         Install only patches with these categories.
         Common categories include security, recommended, and feature.
         
        repeated string categories = 3;
        Specified by:
        getCategories in interface PatchJobs.ZypperSettingsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The categories at the given index.
      • getCategoriesBytes

        public com.google.protobuf.ByteString getCategoriesBytes​(int index)
         Install only patches with these categories.
         Common categories include security, recommended, and feature.
         
        repeated string categories = 3;
        Specified by:
        getCategoriesBytes in interface PatchJobs.ZypperSettingsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the categories at the given index.
      • setCategories

        public PatchJobs.ZypperSettings.Builder setCategories​(int index,
                                                              String value)
         Install only patches with these categories.
         Common categories include security, recommended, and feature.
         
        repeated string categories = 3;
        Parameters:
        index - The index to set the value at.
        value - The categories to set.
        Returns:
        This builder for chaining.
      • addCategories

        public PatchJobs.ZypperSettings.Builder addCategories​(String value)
         Install only patches with these categories.
         Common categories include security, recommended, and feature.
         
        repeated string categories = 3;
        Parameters:
        value - The categories to add.
        Returns:
        This builder for chaining.
      • addAllCategories

        public PatchJobs.ZypperSettings.Builder addAllCategories​(Iterable<String> values)
         Install only patches with these categories.
         Common categories include security, recommended, and feature.
         
        repeated string categories = 3;
        Parameters:
        values - The categories to add.
        Returns:
        This builder for chaining.
      • clearCategories

        public PatchJobs.ZypperSettings.Builder clearCategories()
         Install only patches with these categories.
         Common categories include security, recommended, and feature.
         
        repeated string categories = 3;
        Returns:
        This builder for chaining.
      • addCategoriesBytes

        public PatchJobs.ZypperSettings.Builder addCategoriesBytes​(com.google.protobuf.ByteString value)
         Install only patches with these categories.
         Common categories include security, recommended, and feature.
         
        repeated string categories = 3;
        Parameters:
        value - The bytes of the categories to add.
        Returns:
        This builder for chaining.
      • getSeveritiesList

        public com.google.protobuf.ProtocolStringList getSeveritiesList()
         Install only patches with these severities.
         Common severities include critical, important, moderate, and low.
         
        repeated string severities = 4;
        Specified by:
        getSeveritiesList in interface PatchJobs.ZypperSettingsOrBuilder
        Returns:
        A list containing the severities.
      • getSeveritiesCount

        public int getSeveritiesCount()
         Install only patches with these severities.
         Common severities include critical, important, moderate, and low.
         
        repeated string severities = 4;
        Specified by:
        getSeveritiesCount in interface PatchJobs.ZypperSettingsOrBuilder
        Returns:
        The count of severities.
      • getSeverities

        public String getSeverities​(int index)
         Install only patches with these severities.
         Common severities include critical, important, moderate, and low.
         
        repeated string severities = 4;
        Specified by:
        getSeverities in interface PatchJobs.ZypperSettingsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The severities at the given index.
      • getSeveritiesBytes

        public com.google.protobuf.ByteString getSeveritiesBytes​(int index)
         Install only patches with these severities.
         Common severities include critical, important, moderate, and low.
         
        repeated string severities = 4;
        Specified by:
        getSeveritiesBytes in interface PatchJobs.ZypperSettingsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the severities at the given index.
      • setSeverities

        public PatchJobs.ZypperSettings.Builder setSeverities​(int index,
                                                              String value)
         Install only patches with these severities.
         Common severities include critical, important, moderate, and low.
         
        repeated string severities = 4;
        Parameters:
        index - The index to set the value at.
        value - The severities to set.
        Returns:
        This builder for chaining.
      • addSeverities

        public PatchJobs.ZypperSettings.Builder addSeverities​(String value)
         Install only patches with these severities.
         Common severities include critical, important, moderate, and low.
         
        repeated string severities = 4;
        Parameters:
        value - The severities to add.
        Returns:
        This builder for chaining.
      • addAllSeverities

        public PatchJobs.ZypperSettings.Builder addAllSeverities​(Iterable<String> values)
         Install only patches with these severities.
         Common severities include critical, important, moderate, and low.
         
        repeated string severities = 4;
        Parameters:
        values - The severities to add.
        Returns:
        This builder for chaining.
      • clearSeverities

        public PatchJobs.ZypperSettings.Builder clearSeverities()
         Install only patches with these severities.
         Common severities include critical, important, moderate, and low.
         
        repeated string severities = 4;
        Returns:
        This builder for chaining.
      • addSeveritiesBytes

        public PatchJobs.ZypperSettings.Builder addSeveritiesBytes​(com.google.protobuf.ByteString value)
         Install only patches with these severities.
         Common severities include critical, important, moderate, and low.
         
        repeated string severities = 4;
        Parameters:
        value - The bytes of the severities to add.
        Returns:
        This builder for chaining.
      • getExcludesList

        public com.google.protobuf.ProtocolStringList getExcludesList()
         List of patches to exclude from update.
         
        repeated string excludes = 5;
        Specified by:
        getExcludesList in interface PatchJobs.ZypperSettingsOrBuilder
        Returns:
        A list containing the excludes.
      • getExcludes

        public String getExcludes​(int index)
         List of patches to exclude from update.
         
        repeated string excludes = 5;
        Specified by:
        getExcludes in interface PatchJobs.ZypperSettingsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The excludes at the given index.
      • getExcludesBytes

        public com.google.protobuf.ByteString getExcludesBytes​(int index)
         List of patches to exclude from update.
         
        repeated string excludes = 5;
        Specified by:
        getExcludesBytes in interface PatchJobs.ZypperSettingsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the excludes at the given index.
      • setExcludes

        public PatchJobs.ZypperSettings.Builder setExcludes​(int index,
                                                            String value)
         List of patches to exclude from update.
         
        repeated string excludes = 5;
        Parameters:
        index - The index to set the value at.
        value - The excludes to set.
        Returns:
        This builder for chaining.
      • addExcludes

        public PatchJobs.ZypperSettings.Builder addExcludes​(String value)
         List of patches to exclude from update.
         
        repeated string excludes = 5;
        Parameters:
        value - The excludes to add.
        Returns:
        This builder for chaining.
      • addAllExcludes

        public PatchJobs.ZypperSettings.Builder addAllExcludes​(Iterable<String> values)
         List of patches to exclude from update.
         
        repeated string excludes = 5;
        Parameters:
        values - The excludes to add.
        Returns:
        This builder for chaining.
      • clearExcludes

        public PatchJobs.ZypperSettings.Builder clearExcludes()
         List of patches to exclude from update.
         
        repeated string excludes = 5;
        Returns:
        This builder for chaining.
      • addExcludesBytes

        public PatchJobs.ZypperSettings.Builder addExcludesBytes​(com.google.protobuf.ByteString value)
         List of patches to exclude from update.
         
        repeated string excludes = 5;
        Parameters:
        value - The bytes of the excludes to add.
        Returns:
        This builder for chaining.
      • getExclusivePatchesList

        public com.google.protobuf.ProtocolStringList getExclusivePatchesList()
         An exclusive list of patches to be updated. These are the only patches
         that will be installed using 'zypper patch patch:<patch_name>' command.
         This field must not be used with any other patch configuration fields.
         
        repeated string exclusive_patches = 6;
        Specified by:
        getExclusivePatchesList in interface PatchJobs.ZypperSettingsOrBuilder
        Returns:
        A list containing the exclusivePatches.
      • getExclusivePatchesCount

        public int getExclusivePatchesCount()
         An exclusive list of patches to be updated. These are the only patches
         that will be installed using 'zypper patch patch:<patch_name>' command.
         This field must not be used with any other patch configuration fields.
         
        repeated string exclusive_patches = 6;
        Specified by:
        getExclusivePatchesCount in interface PatchJobs.ZypperSettingsOrBuilder
        Returns:
        The count of exclusivePatches.
      • getExclusivePatches

        public String getExclusivePatches​(int index)
         An exclusive list of patches to be updated. These are the only patches
         that will be installed using 'zypper patch patch:<patch_name>' command.
         This field must not be used with any other patch configuration fields.
         
        repeated string exclusive_patches = 6;
        Specified by:
        getExclusivePatches in interface PatchJobs.ZypperSettingsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The exclusivePatches at the given index.
      • getExclusivePatchesBytes

        public com.google.protobuf.ByteString getExclusivePatchesBytes​(int index)
         An exclusive list of patches to be updated. These are the only patches
         that will be installed using 'zypper patch patch:<patch_name>' command.
         This field must not be used with any other patch configuration fields.
         
        repeated string exclusive_patches = 6;
        Specified by:
        getExclusivePatchesBytes in interface PatchJobs.ZypperSettingsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the exclusivePatches at the given index.
      • setExclusivePatches

        public PatchJobs.ZypperSettings.Builder setExclusivePatches​(int index,
                                                                    String value)
         An exclusive list of patches to be updated. These are the only patches
         that will be installed using 'zypper patch patch:<patch_name>' command.
         This field must not be used with any other patch configuration fields.
         
        repeated string exclusive_patches = 6;
        Parameters:
        index - The index to set the value at.
        value - The exclusivePatches to set.
        Returns:
        This builder for chaining.
      • addExclusivePatches

        public PatchJobs.ZypperSettings.Builder addExclusivePatches​(String value)
         An exclusive list of patches to be updated. These are the only patches
         that will be installed using 'zypper patch patch:<patch_name>' command.
         This field must not be used with any other patch configuration fields.
         
        repeated string exclusive_patches = 6;
        Parameters:
        value - The exclusivePatches to add.
        Returns:
        This builder for chaining.
      • addAllExclusivePatches

        public PatchJobs.ZypperSettings.Builder addAllExclusivePatches​(Iterable<String> values)
         An exclusive list of patches to be updated. These are the only patches
         that will be installed using 'zypper patch patch:<patch_name>' command.
         This field must not be used with any other patch configuration fields.
         
        repeated string exclusive_patches = 6;
        Parameters:
        values - The exclusivePatches to add.
        Returns:
        This builder for chaining.
      • clearExclusivePatches

        public PatchJobs.ZypperSettings.Builder clearExclusivePatches()
         An exclusive list of patches to be updated. These are the only patches
         that will be installed using 'zypper patch patch:<patch_name>' command.
         This field must not be used with any other patch configuration fields.
         
        repeated string exclusive_patches = 6;
        Returns:
        This builder for chaining.
      • addExclusivePatchesBytes

        public PatchJobs.ZypperSettings.Builder addExclusivePatchesBytes​(com.google.protobuf.ByteString value)
         An exclusive list of patches to be updated. These are the only patches
         that will be installed using 'zypper patch patch:<patch_name>' command.
         This field must not be used with any other patch configuration fields.
         
        repeated string exclusive_patches = 6;
        Parameters:
        value - The bytes of the exclusivePatches to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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