Class MonitorDProto.Unit

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

public static final class MonitorDProto.Unit extends com.google.protobuf.GeneratedMessageV3 implements MonitorDProto.UnitOrBuilder
 Representation of a systemd unit. 
 
Protobuf type serosystems.proto.v3.grx.monitord.Unit
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • getJobId

      public int getJobId()
      uint32 job_id = 8;
      Specified by:
      getJobId in interface MonitorDProto.UnitOrBuilder
      Returns:
      The jobId.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static MonitorDProto.Unit parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MonitorDProto.Unit parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MonitorDProto.Unit parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MonitorDProto.Unit parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MonitorDProto.Unit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MonitorDProto.Unit parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MonitorDProto.Unit parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MonitorDProto.Unit parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MonitorDProto.Unit parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MonitorDProto.Unit parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MonitorDProto.Unit parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MonitorDProto.Unit parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static MonitorDProto.Unit.Builder newBuilder()
    • newBuilder

      public static MonitorDProto.Unit.Builder newBuilder(MonitorDProto.Unit prototype)
    • toBuilder

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

      protected MonitorDProto.Unit.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static MonitorDProto.Unit getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MonitorDProto.Unit> parser()
    • getParserForType

      public com.google.protobuf.Parser<MonitorDProto.Unit> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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