Class MonitorDProto.Unit.Builder

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

public static final class MonitorDProto.Unit.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MonitorDProto.Unit.Builder> implements MonitorDProto.UnitOrBuilder
 Representation of a systemd unit. 
 
Protobuf type serosystems.proto.v3.grx.monitord.Unit
  • 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.Unit.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.Unit.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.Unit.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public String getId()
       ID/name of the unit. 
       
      string id = 1;
      Specified by:
      getId in interface MonitorDProto.UnitOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       ID/name of the unit. 
       
      string id = 1;
      Specified by:
      getIdBytes in interface MonitorDProto.UnitOrBuilder
      Returns:
      The bytes for id.
    • setId

      public MonitorDProto.Unit.Builder setId(String value)
       ID/name of the unit. 
       
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public MonitorDProto.Unit.Builder clearId()
       ID/name of the unit. 
       
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public MonitorDProto.Unit.Builder setIdBytes(com.google.protobuf.ByteString value)
       ID/name of the unit. 
       
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Description of the unit. 
       
      string description = 2;
      Specified by:
      getDescription in interface MonitorDProto.UnitOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Description of the unit. 
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface MonitorDProto.UnitOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public MonitorDProto.Unit.Builder setDescription(String value)
       Description of the unit. 
       
      string description = 2;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public MonitorDProto.Unit.Builder clearDescription()
       Description of the unit. 
       
      string description = 2;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public MonitorDProto.Unit.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Description of the unit. 
       
      string description = 2;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getLoadState

      public String getLoadState()
       Load state, e.g. "loaded", "not-found",etc. 
       
      string load_state = 3;
      Specified by:
      getLoadState in interface MonitorDProto.UnitOrBuilder
      Returns:
      The loadState.
    • getLoadStateBytes

      public com.google.protobuf.ByteString getLoadStateBytes()
       Load state, e.g. "loaded", "not-found",etc. 
       
      string load_state = 3;
      Specified by:
      getLoadStateBytes in interface MonitorDProto.UnitOrBuilder
      Returns:
      The bytes for loadState.
    • setLoadState

      public MonitorDProto.Unit.Builder setLoadState(String value)
       Load state, e.g. "loaded", "not-found",etc. 
       
      string load_state = 3;
      Parameters:
      value - The loadState to set.
      Returns:
      This builder for chaining.
    • clearLoadState

      public MonitorDProto.Unit.Builder clearLoadState()
       Load state, e.g. "loaded", "not-found",etc. 
       
      string load_state = 3;
      Returns:
      This builder for chaining.
    • setLoadStateBytes

      public MonitorDProto.Unit.Builder setLoadStateBytes(com.google.protobuf.ByteString value)
       Load state, e.g. "loaded", "not-found",etc. 
       
      string load_state = 3;
      Parameters:
      value - The bytes for loadState to set.
      Returns:
      This builder for chaining.
    • getActiveState

      public String getActiveState()
       Active state, e.g. "active", "inactive", etc. 
       
      string active_state = 4;
      Specified by:
      getActiveState in interface MonitorDProto.UnitOrBuilder
      Returns:
      The activeState.
    • getActiveStateBytes

      public com.google.protobuf.ByteString getActiveStateBytes()
       Active state, e.g. "active", "inactive", etc. 
       
      string active_state = 4;
      Specified by:
      getActiveStateBytes in interface MonitorDProto.UnitOrBuilder
      Returns:
      The bytes for activeState.
    • setActiveState

      public MonitorDProto.Unit.Builder setActiveState(String value)
       Active state, e.g. "active", "inactive", etc. 
       
      string active_state = 4;
      Parameters:
      value - The activeState to set.
      Returns:
      This builder for chaining.
    • clearActiveState

      public MonitorDProto.Unit.Builder clearActiveState()
       Active state, e.g. "active", "inactive", etc. 
       
      string active_state = 4;
      Returns:
      This builder for chaining.
    • setActiveStateBytes

      public MonitorDProto.Unit.Builder setActiveStateBytes(com.google.protobuf.ByteString value)
       Active state, e.g. "active", "inactive", etc. 
       
      string active_state = 4;
      Parameters:
      value - The bytes for activeState to set.
      Returns:
      This builder for chaining.
    • getSubState

      public String getSubState()
       Sub-state, e.g. "running", "exited", etc. 
       
      string sub_state = 5;
      Specified by:
      getSubState in interface MonitorDProto.UnitOrBuilder
      Returns:
      The subState.
    • getSubStateBytes

      public com.google.protobuf.ByteString getSubStateBytes()
       Sub-state, e.g. "running", "exited", etc. 
       
      string sub_state = 5;
      Specified by:
      getSubStateBytes in interface MonitorDProto.UnitOrBuilder
      Returns:
      The bytes for subState.
    • setSubState

      public MonitorDProto.Unit.Builder setSubState(String value)
       Sub-state, e.g. "running", "exited", etc. 
       
      string sub_state = 5;
      Parameters:
      value - The subState to set.
      Returns:
      This builder for chaining.
    • clearSubState

      public MonitorDProto.Unit.Builder clearSubState()
       Sub-state, e.g. "running", "exited", etc. 
       
      string sub_state = 5;
      Returns:
      This builder for chaining.
    • setSubStateBytes

      public MonitorDProto.Unit.Builder setSubStateBytes(com.google.protobuf.ByteString value)
       Sub-state, e.g. "running", "exited", etc. 
       
      string sub_state = 5;
      Parameters:
      value - The bytes for subState to set.
      Returns:
      This builder for chaining.
    • getFollowing

      public String getFollowing()
      string following = 6;
      Specified by:
      getFollowing in interface MonitorDProto.UnitOrBuilder
      Returns:
      The following.
    • getFollowingBytes

      public com.google.protobuf.ByteString getFollowingBytes()
      string following = 6;
      Specified by:
      getFollowingBytes in interface MonitorDProto.UnitOrBuilder
      Returns:
      The bytes for following.
    • setFollowing

      public MonitorDProto.Unit.Builder setFollowing(String value)
      string following = 6;
      Parameters:
      value - The following to set.
      Returns:
      This builder for chaining.
    • clearFollowing

      public MonitorDProto.Unit.Builder clearFollowing()
      string following = 6;
      Returns:
      This builder for chaining.
    • setFollowingBytes

      public MonitorDProto.Unit.Builder setFollowingBytes(com.google.protobuf.ByteString value)
      string following = 6;
      Parameters:
      value - The bytes for following to set.
      Returns:
      This builder for chaining.
    • getUnitPath

      public String getUnitPath()
       SD-Bus path of the unit. 
       
      string unit_path = 7;
      Specified by:
      getUnitPath in interface MonitorDProto.UnitOrBuilder
      Returns:
      The unitPath.
    • getUnitPathBytes

      public com.google.protobuf.ByteString getUnitPathBytes()
       SD-Bus path of the unit. 
       
      string unit_path = 7;
      Specified by:
      getUnitPathBytes in interface MonitorDProto.UnitOrBuilder
      Returns:
      The bytes for unitPath.
    • setUnitPath

      public MonitorDProto.Unit.Builder setUnitPath(String value)
       SD-Bus path of the unit. 
       
      string unit_path = 7;
      Parameters:
      value - The unitPath to set.
      Returns:
      This builder for chaining.
    • clearUnitPath

      public MonitorDProto.Unit.Builder clearUnitPath()
       SD-Bus path of the unit. 
       
      string unit_path = 7;
      Returns:
      This builder for chaining.
    • setUnitPathBytes

      public MonitorDProto.Unit.Builder setUnitPathBytes(com.google.protobuf.ByteString value)
       SD-Bus path of the unit. 
       
      string unit_path = 7;
      Parameters:
      value - The bytes for unitPath to set.
      Returns:
      This builder for chaining.
    • getJobId

      public int getJobId()
      uint32 job_id = 8;
      Specified by:
      getJobId in interface MonitorDProto.UnitOrBuilder
      Returns:
      The jobId.
    • setJobId

      public MonitorDProto.Unit.Builder setJobId(int value)
      uint32 job_id = 8;
      Parameters:
      value - The jobId to set.
      Returns:
      This builder for chaining.
    • clearJobId

      public MonitorDProto.Unit.Builder clearJobId()
      uint32 job_id = 8;
      Returns:
      This builder for chaining.
    • getJobType

      public String getJobType()
      string job_type = 9;
      Specified by:
      getJobType in interface MonitorDProto.UnitOrBuilder
      Returns:
      The jobType.
    • getJobTypeBytes

      public com.google.protobuf.ByteString getJobTypeBytes()
      string job_type = 9;
      Specified by:
      getJobTypeBytes in interface MonitorDProto.UnitOrBuilder
      Returns:
      The bytes for jobType.
    • setJobType

      public MonitorDProto.Unit.Builder setJobType(String value)
      string job_type = 9;
      Parameters:
      value - The jobType to set.
      Returns:
      This builder for chaining.
    • clearJobType

      public MonitorDProto.Unit.Builder clearJobType()
      string job_type = 9;
      Returns:
      This builder for chaining.
    • setJobTypeBytes

      public MonitorDProto.Unit.Builder setJobTypeBytes(com.google.protobuf.ByteString value)
      string job_type = 9;
      Parameters:
      value - The bytes for jobType to set.
      Returns:
      This builder for chaining.
    • getJobPath

      public String getJobPath()
      string job_path = 10;
      Specified by:
      getJobPath in interface MonitorDProto.UnitOrBuilder
      Returns:
      The jobPath.
    • getJobPathBytes

      public com.google.protobuf.ByteString getJobPathBytes()
      string job_path = 10;
      Specified by:
      getJobPathBytes in interface MonitorDProto.UnitOrBuilder
      Returns:
      The bytes for jobPath.
    • setJobPath

      public MonitorDProto.Unit.Builder setJobPath(String value)
      string job_path = 10;
      Parameters:
      value - The jobPath to set.
      Returns:
      This builder for chaining.
    • clearJobPath

      public MonitorDProto.Unit.Builder clearJobPath()
      string job_path = 10;
      Returns:
      This builder for chaining.
    • setJobPathBytes

      public MonitorDProto.Unit.Builder setJobPathBytes(com.google.protobuf.ByteString value)
      string job_path = 10;
      Parameters:
      value - The bytes for jobPath to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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