Package org.yamcs.protobuf.activities
Interface ActivityLogInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ActivityLogInfo
,ActivityLogInfo.Builder
public interface ActivityLogInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetLevel()
Log levelLog messagecom.google.protobuf.ByteString
Log messageSource of this log message.com.google.protobuf.ByteString
Source of this log message.com.google.protobuf.Timestamp
getTime()
Log timecom.google.protobuf.TimestampOrBuilder
Log timeboolean
hasLevel()
Log levelboolean
Log messageboolean
Source of this log message.boolean
hasTime()
Log timeMethods 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
-
hasTime
boolean hasTime()Log time
optional .google.protobuf.Timestamp time = 1;
- Returns:
- Whether the time field is set.
-
getTime
com.google.protobuf.Timestamp getTime()Log time
optional .google.protobuf.Timestamp time = 1;
- Returns:
- The time.
-
getTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()Log time
optional .google.protobuf.Timestamp time = 1;
-
hasSource
boolean hasSource()Source of this log message. One of: - SERVICE: the log is generated by the activity service - ACTIVITY: the log is generated by the activity itself
optional string source = 2;
- Returns:
- Whether the source field is set.
-
getSource
String getSource()Source of this log message. One of: - SERVICE: the log is generated by the activity service - ACTIVITY: the log is generated by the activity itself
optional string source = 2;
- Returns:
- The source.
-
getSourceBytes
com.google.protobuf.ByteString getSourceBytes()Source of this log message. One of: - SERVICE: the log is generated by the activity service - ACTIVITY: the log is generated by the activity itself
optional string source = 2;
- Returns:
- The bytes for source.
-
hasLevel
boolean hasLevel()Log level
optional .yamcs.protobuf.activities.ActivityLogLevel level = 3;
- Returns:
- Whether the level field is set.
-
getLevel
ActivityLogLevel getLevel()Log level
optional .yamcs.protobuf.activities.ActivityLogLevel level = 3;
- Returns:
- The level.
-
hasMessage
boolean hasMessage()Log message
optional string message = 4;
- Returns:
- Whether the message field is set.
-
getMessage
String getMessage()Log message
optional string message = 4;
- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()Log message
optional string message = 4;
- Returns:
- The bytes for message.
-