Class Inventory.ZypperPatch.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Inventory.ZypperPatch.Builder>
com.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch.Builder
All Implemented Interfaces:
Inventory.ZypperPatchOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Inventory.ZypperPatch

public static final class Inventory.ZypperPatch.Builder extends com.google.protobuf.GeneratedMessage.Builder<Inventory.ZypperPatch.Builder> implements Inventory.ZypperPatchOrBuilder
 Details related to a Zypper Patch.
 
Protobuf type google.cloud.osconfig.v1alpha.Inventory.ZypperPatch
  • 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<Inventory.ZypperPatch.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<Inventory.ZypperPatch.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<Inventory.ZypperPatch.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Inventory.ZypperPatch.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<Inventory.ZypperPatch.Builder>
      Throws:
      IOException
    • getPatchName

      public String getPatchName()
       The name of the patch.
       
      string patch_name = 5;
      Specified by:
      getPatchName in interface Inventory.ZypperPatchOrBuilder
      Returns:
      The patchName.
    • getPatchNameBytes

      public com.google.protobuf.ByteString getPatchNameBytes()
       The name of the patch.
       
      string patch_name = 5;
      Specified by:
      getPatchNameBytes in interface Inventory.ZypperPatchOrBuilder
      Returns:
      The bytes for patchName.
    • setPatchName

      public Inventory.ZypperPatch.Builder setPatchName(String value)
       The name of the patch.
       
      string patch_name = 5;
      Parameters:
      value - The patchName to set.
      Returns:
      This builder for chaining.
    • clearPatchName

      public Inventory.ZypperPatch.Builder clearPatchName()
       The name of the patch.
       
      string patch_name = 5;
      Returns:
      This builder for chaining.
    • setPatchNameBytes

      public Inventory.ZypperPatch.Builder setPatchNameBytes(com.google.protobuf.ByteString value)
       The name of the patch.
       
      string patch_name = 5;
      Parameters:
      value - The bytes for patchName to set.
      Returns:
      This builder for chaining.
    • getCategory

      public String getCategory()
       The category of the patch.
       
      string category = 2;
      Specified by:
      getCategory in interface Inventory.ZypperPatchOrBuilder
      Returns:
      The category.
    • getCategoryBytes

      public com.google.protobuf.ByteString getCategoryBytes()
       The category of the patch.
       
      string category = 2;
      Specified by:
      getCategoryBytes in interface Inventory.ZypperPatchOrBuilder
      Returns:
      The bytes for category.
    • setCategory

      public Inventory.ZypperPatch.Builder setCategory(String value)
       The category of the patch.
       
      string category = 2;
      Parameters:
      value - The category to set.
      Returns:
      This builder for chaining.
    • clearCategory

      public Inventory.ZypperPatch.Builder clearCategory()
       The category of the patch.
       
      string category = 2;
      Returns:
      This builder for chaining.
    • setCategoryBytes

      public Inventory.ZypperPatch.Builder setCategoryBytes(com.google.protobuf.ByteString value)
       The category of the patch.
       
      string category = 2;
      Parameters:
      value - The bytes for category to set.
      Returns:
      This builder for chaining.
    • getSeverity

      public String getSeverity()
       The severity specified for this patch
       
      string severity = 3;
      Specified by:
      getSeverity in interface Inventory.ZypperPatchOrBuilder
      Returns:
      The severity.
    • getSeverityBytes

      public com.google.protobuf.ByteString getSeverityBytes()
       The severity specified for this patch
       
      string severity = 3;
      Specified by:
      getSeverityBytes in interface Inventory.ZypperPatchOrBuilder
      Returns:
      The bytes for severity.
    • setSeverity

      public Inventory.ZypperPatch.Builder setSeverity(String value)
       The severity specified for this patch
       
      string severity = 3;
      Parameters:
      value - The severity to set.
      Returns:
      This builder for chaining.
    • clearSeverity

      public Inventory.ZypperPatch.Builder clearSeverity()
       The severity specified for this patch
       
      string severity = 3;
      Returns:
      This builder for chaining.
    • setSeverityBytes

      public Inventory.ZypperPatch.Builder setSeverityBytes(com.google.protobuf.ByteString value)
       The severity specified for this patch
       
      string severity = 3;
      Parameters:
      value - The bytes for severity to set.
      Returns:
      This builder for chaining.
    • getSummary

      public String getSummary()
       Any summary information provided about this patch.
       
      string summary = 4;
      Specified by:
      getSummary in interface Inventory.ZypperPatchOrBuilder
      Returns:
      The summary.
    • getSummaryBytes

      public com.google.protobuf.ByteString getSummaryBytes()
       Any summary information provided about this patch.
       
      string summary = 4;
      Specified by:
      getSummaryBytes in interface Inventory.ZypperPatchOrBuilder
      Returns:
      The bytes for summary.
    • setSummary

      public Inventory.ZypperPatch.Builder setSummary(String value)
       Any summary information provided about this patch.
       
      string summary = 4;
      Parameters:
      value - The summary to set.
      Returns:
      This builder for chaining.
    • clearSummary

      public Inventory.ZypperPatch.Builder clearSummary()
       Any summary information provided about this patch.
       
      string summary = 4;
      Returns:
      This builder for chaining.
    • setSummaryBytes

      public Inventory.ZypperPatch.Builder setSummaryBytes(com.google.protobuf.ByteString value)
       Any summary information provided about this patch.
       
      string summary = 4;
      Parameters:
      value - The bytes for summary to set.
      Returns:
      This builder for chaining.