Interface MonitorDProto.UnitOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MonitorDProto.Unit
,MonitorDProto.Unit.Builder
- Enclosing class:
- MonitorDProto
public static interface MonitorDProto.UnitOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionActive state, e.g.com.google.protobuf.ByteString
Active state, e.g.Description of the unit.com.google.protobuf.ByteString
Description of the unit.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.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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()ID/name of the unit.
string id = 1;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()ID/name of the unit.
string id = 1;
- Returns:
- The bytes for id.
-
getDescription
String getDescription()Description of the unit.
string description = 2;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Description of the unit.
string description = 2;
- Returns:
- The bytes for description.
-
getLoadState
String getLoadState()Load state, e.g. "loaded", "not-found",etc.
string load_state = 3;
- Returns:
- The loadState.
-
getLoadStateBytes
com.google.protobuf.ByteString getLoadStateBytes()Load state, e.g. "loaded", "not-found",etc.
string load_state = 3;
- Returns:
- The bytes for loadState.
-
getActiveState
String getActiveState()Active state, e.g. "active", "inactive", etc.
string active_state = 4;
- Returns:
- The activeState.
-
getActiveStateBytes
com.google.protobuf.ByteString getActiveStateBytes()Active state, e.g. "active", "inactive", etc.
string active_state = 4;
- Returns:
- The bytes for activeState.
-
getSubState
String getSubState()Sub-state, e.g. "running", "exited", etc.
string sub_state = 5;
- Returns:
- The subState.
-
getSubStateBytes
com.google.protobuf.ByteString getSubStateBytes()Sub-state, e.g. "running", "exited", etc.
string sub_state = 5;
- Returns:
- The bytes for subState.
-
getFollowing
String getFollowing()string following = 6;
- Returns:
- The following.
-
getFollowingBytes
com.google.protobuf.ByteString getFollowingBytes()string following = 6;
- Returns:
- The bytes for following.
-
getUnitPath
String getUnitPath()SD-Bus path of the unit.
string unit_path = 7;
- Returns:
- The unitPath.
-
getUnitPathBytes
com.google.protobuf.ByteString getUnitPathBytes()SD-Bus path of the unit.
string unit_path = 7;
- Returns:
- The bytes for unitPath.
-
getJobId
int getJobId()uint32 job_id = 8;
- Returns:
- The jobId.
-
getJobType
String getJobType()string job_type = 9;
- Returns:
- The jobType.
-
getJobTypeBytes
com.google.protobuf.ByteString getJobTypeBytes()string job_type = 9;
- Returns:
- The bytes for jobType.
-
getJobPath
String getJobPath()string job_path = 10;
- Returns:
- The jobPath.
-
getJobPathBytes
com.google.protobuf.ByteString getJobPathBytes()string job_path = 10;
- Returns:
- The bytes for jobPath.
-