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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Representation of a systemd unit.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Active state, e.g.com.google.protobuf.ByteString
Active state, e.g.static MonitorDProto.Unit
Description of the unit.com.google.protobuf.ByteString
Description of the unit.static final com.google.protobuf.Descriptors.Descriptor
string following = 6;
com.google.protobuf.ByteString
string following = 6;
getId()
ID/name of the unit.com.google.protobuf.ByteString
ID/name of the unit.int
getJobId()
uint32 job_id = 8;
string job_path = 10;
com.google.protobuf.ByteString
string job_path = 10;
string job_type = 9;
com.google.protobuf.ByteString
string job_type = 9;
Load state, e.g.com.google.protobuf.ByteString
Load state, e.g.com.google.protobuf.Parser<MonitorDProto.Unit>
int
Sub-state, e.g.com.google.protobuf.ByteString
Sub-state, e.g.SD-Bus path of the unit.com.google.protobuf.ByteString
SD-Bus path of the unit.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static MonitorDProto.Unit.Builder
static MonitorDProto.Unit.Builder
newBuilder
(MonitorDProto.Unit prototype) protected MonitorDProto.Unit.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static MonitorDProto.Unit
parseDelimitedFrom
(InputStream input) static MonitorDProto.Unit
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MonitorDProto.Unit
parseFrom
(byte[] data) static MonitorDProto.Unit
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MonitorDProto.Unit
parseFrom
(com.google.protobuf.ByteString data) static MonitorDProto.Unit
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MonitorDProto.Unit
parseFrom
(com.google.protobuf.CodedInputStream input) static MonitorDProto.Unit
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MonitorDProto.Unit
parseFrom
(InputStream input) static MonitorDProto.Unit
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MonitorDProto.Unit
parseFrom
(ByteBuffer data) static MonitorDProto.Unit
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MonitorDProto.Unit>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
LOAD_STATE_FIELD_NUMBER
public static final int LOAD_STATE_FIELD_NUMBER- See Also:
-
ACTIVE_STATE_FIELD_NUMBER
public static final int ACTIVE_STATE_FIELD_NUMBER- See Also:
-
SUB_STATE_FIELD_NUMBER
public static final int SUB_STATE_FIELD_NUMBER- See Also:
-
FOLLOWING_FIELD_NUMBER
public static final int FOLLOWING_FIELD_NUMBER- See Also:
-
UNIT_PATH_FIELD_NUMBER
public static final int UNIT_PATH_FIELD_NUMBER- See Also:
-
JOB_ID_FIELD_NUMBER
public static final int JOB_ID_FIELD_NUMBER- See Also:
-
JOB_TYPE_FIELD_NUMBER
public static final int JOB_TYPE_FIELD_NUMBER- See Also:
-
JOB_PATH_FIELD_NUMBER
public static final int JOB_PATH_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
getId
ID/name of the unit.
string id = 1;
- Specified by:
getId
in interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()ID/name of the unit.
string id = 1;
- Specified by:
getIdBytes
in interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The bytes for id.
-
getDescription
Description of the unit.
string description = 2;
- Specified by:
getDescription
in interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of the unit.
string description = 2;
- Specified by:
getDescriptionBytes
in interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The bytes for description.
-
getLoadState
Load state, e.g. "loaded", "not-found",etc.
string load_state = 3;
- Specified by:
getLoadState
in interfaceMonitorDProto.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 interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The bytes for loadState.
-
getActiveState
Active state, e.g. "active", "inactive", etc.
string active_state = 4;
- Specified by:
getActiveState
in interfaceMonitorDProto.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 interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The bytes for activeState.
-
getSubState
Sub-state, e.g. "running", "exited", etc.
string sub_state = 5;
- Specified by:
getSubState
in interfaceMonitorDProto.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 interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The bytes for subState.
-
getFollowing
string following = 6;
- Specified by:
getFollowing
in interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The following.
-
getFollowingBytes
public com.google.protobuf.ByteString getFollowingBytes()string following = 6;
- Specified by:
getFollowingBytes
in interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The bytes for following.
-
getUnitPath
SD-Bus path of the unit.
string unit_path = 7;
- Specified by:
getUnitPath
in interfaceMonitorDProto.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 interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The bytes for unitPath.
-
getJobId
public int getJobId()uint32 job_id = 8;
- Specified by:
getJobId
in interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The jobId.
-
getJobType
string job_type = 9;
- Specified by:
getJobType
in interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The jobType.
-
getJobTypeBytes
public com.google.protobuf.ByteString getJobTypeBytes()string job_type = 9;
- Specified by:
getJobTypeBytes
in interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The bytes for jobType.
-
getJobPath
string job_path = 10;
- Specified by:
getJobPath
in interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The jobPath.
-
getJobPathBytes
public com.google.protobuf.ByteString getJobPathBytes()string job_path = 10;
- Specified by:
getJobPathBytes
in interfaceMonitorDProto.UnitOrBuilder
- Returns:
- The bytes for jobPath.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.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
- Throws:
IOException
-
parseFrom
public static MonitorDProto.Unit parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MonitorDProto.Unit.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-