Class MonitorDProto.SystemPackage.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.SystemPackage.Builder>
de.serosystems.proto.v3.grx.monitord.MonitorDProto.SystemPackage.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MonitorDProto.SystemPackageOrBuilder, Cloneable
Enclosing class:
MonitorDProto.SystemPackage

public static final class MonitorDProto.SystemPackage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.SystemPackage.Builder> implements MonitorDProto.SystemPackageOrBuilder
 Representation of a Debian Package. 
 
Protobuf type serosystems.proto.v3.grx.monitord.SystemPackage
  • Method Details

    • 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<MonitorDProto.SystemPackage.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<MonitorDProto.SystemPackage.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<MonitorDProto.SystemPackage.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MonitorDProto.SystemPackage buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<MonitorDProto.SystemPackage.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public MonitorDProto.SystemPackage.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<MonitorDProto.SystemPackage.Builder>
      Throws:
      IOException
    • getStatusValue

      public int getStatusValue()
       Debian package state. 
       
      .serosystems.proto.v3.grx.monitord.SystemPackage.Status status = 1;
      Specified by:
      getStatusValue in interface MonitorDProto.SystemPackageOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public MonitorDProto.SystemPackage.Builder setStatusValue(int value)
       Debian package state. 
       
      .serosystems.proto.v3.grx.monitord.SystemPackage.Status status = 1;
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

       Debian package state. 
       
      .serosystems.proto.v3.grx.monitord.SystemPackage.Status status = 1;
      Specified by:
      getStatus in interface MonitorDProto.SystemPackageOrBuilder
      Returns:
      The status.
    • setStatus

       Debian package state. 
       
      .serosystems.proto.v3.grx.monitord.SystemPackage.Status status = 1;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

       Debian package state. 
       
      .serosystems.proto.v3.grx.monitord.SystemPackage.Status status = 1;
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       Package name. 
       
      string name = 2;
      Specified by:
      getName in interface MonitorDProto.SystemPackageOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Package name. 
       
      string name = 2;
      Specified by:
      getNameBytes in interface MonitorDProto.SystemPackageOrBuilder
      Returns:
      The bytes for name.
    • setName

       Package name. 
       
      string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Package name. 
       
      string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public MonitorDProto.SystemPackage.Builder setNameBytes(com.google.protobuf.ByteString value)
       Package name. 
       
      string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
       Package version. 
       
      string version = 3;
      Specified by:
      getVersion in interface MonitorDProto.SystemPackageOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Package version. 
       
      string version = 3;
      Specified by:
      getVersionBytes in interface MonitorDProto.SystemPackageOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public MonitorDProto.SystemPackage.Builder setVersion(String value)
       Package version. 
       
      string version = 3;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public MonitorDProto.SystemPackage.Builder clearVersion()
       Package version. 
       
      string version = 3;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public MonitorDProto.SystemPackage.Builder setVersionBytes(com.google.protobuf.ByteString value)
       Package version. 
       
      string version = 3;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • getArchitecture

      public String getArchitecture()
       Package architecture. 
       
      string architecture = 4;
      Specified by:
      getArchitecture in interface MonitorDProto.SystemPackageOrBuilder
      Returns:
      The architecture.
    • getArchitectureBytes

      public com.google.protobuf.ByteString getArchitectureBytes()
       Package architecture. 
       
      string architecture = 4;
      Specified by:
      getArchitectureBytes in interface MonitorDProto.SystemPackageOrBuilder
      Returns:
      The bytes for architecture.
    • setArchitecture

      public MonitorDProto.SystemPackage.Builder setArchitecture(String value)
       Package architecture. 
       
      string architecture = 4;
      Parameters:
      value - The architecture to set.
      Returns:
      This builder for chaining.
    • clearArchitecture

      public MonitorDProto.SystemPackage.Builder clearArchitecture()
       Package architecture. 
       
      string architecture = 4;
      Returns:
      This builder for chaining.
    • setArchitectureBytes

      public MonitorDProto.SystemPackage.Builder setArchitectureBytes(com.google.protobuf.ByteString value)
       Package architecture. 
       
      string architecture = 4;
      Parameters:
      value - The bytes for architecture to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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