java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.TimelineItem
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,TimelineItemOrBuilder
public final class TimelineItem
extends com.google.protobuf.GeneratedMessageV3
implements TimelineItemOrBuilder
Protobuf type
yamcs.protobuf.timeline.TimelineItem- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeyamcs.protobuf.timeline.TimelineItemNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<TimelineItem>Deprecated.static final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TimelineItemitem descriptioncom.google.protobuf.ByteStringitem descriptionstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Durationoptional .google.protobuf.Duration duration = 5;com.google.protobuf.DurationOrBuilderoptional .google.protobuf.Duration duration = 5;for activities: if the status is FAILED or ABORTED, this may indicate the reason some information may also be available in the item logcom.google.protobuf.ByteStringfor activities: if the status is FAILED or ABORTED, this may indicate the reason some information may also be available in the item logif this item is part of a group, this is the group identifiercom.google.protobuf.ByteStringif this item is part of a group, this is the group identifiergetId()Item identifier.com.google.protobuf.ByteStringItem identifier.getName()Item namecom.google.protobuf.ByteStringItem namecom.google.protobuf.Parser<TimelineItem>if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above) note that start of the item will be computed by the server based on the relativeTime before sending the item to the clientif this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above) note that start of the item will be computed by the server based on the relativeTime before sending the item to the clientintcom.google.protobuf.TimestampgetStart()optional .google.protobuf.Timestamp start = 4;com.google.protobuf.TimestampOrBuilderoptional .google.protobuf.Timestamp start = 4;for activities: execution statusgetTags(int index) repeated string tags = 6;com.google.protobuf.ByteStringgetTagsBytes(int index) repeated string tags = 6;intrepeated string tags = 6;com.google.protobuf.ProtocolStringListrepeated string tags = 6;getType()optional .yamcs.protobuf.timeline.TimelineItemType type = 3;final com.google.protobuf.UnknownFieldSetbooleanitem descriptionbooleanoptional .google.protobuf.Duration duration = 5;booleanfor activities: if the status is FAILED or ABORTED, this may indicate the reason some information may also be available in the item logbooleanif this item is part of a group, this is the group identifierinthashCode()booleanhasId()Item identifier.booleanhasName()Item namebooleanif this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above) note that start of the item will be computed by the server based on the relativeTime before sending the item to the clientbooleanhasStart()optional .google.protobuf.Timestamp start = 4;booleanfor activities: execution statusbooleanhasType()optional .yamcs.protobuf.timeline.TimelineItemType type = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic TimelineItem.Builderstatic TimelineItem.BuildernewBuilder(TimelineItem prototype) protected TimelineItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static TimelineItemparseDelimitedFrom(InputStream input) static TimelineItemparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineItemparseFrom(byte[] data) static TimelineItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineItemparseFrom(com.google.protobuf.ByteString data) static TimelineItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineItemparseFrom(com.google.protobuf.CodedInputStream input) static TimelineItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineItemparseFrom(InputStream input) static TimelineItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineItemparseFrom(ByteBuffer data) static TimelineItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TimelineItem>parser()voidwriteTo(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, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
START_FIELD_NUMBER
public static final int START_FIELD_NUMBER- See Also:
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
GROUPID_FIELD_NUMBER
public static final int GROUPID_FIELD_NUMBER- See Also:
-
RELATIVETIME_FIELD_NUMBER
public static final int RELATIVETIME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
FAILUREREASON_FIELD_NUMBER
public static final int FAILUREREASON_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasId
public boolean hasId()Item identifier. The identifier is set and recognized by the source. It is possible but unlikely that two items coming from two different sources will have the same id. The rdb source sets the id to an uuid The commands source sets the id to the command id
optional string id = 1;- Specified by:
hasIdin interfaceTimelineItemOrBuilder- Returns:
- Whether the id field is set.
-
getId
Item identifier. The identifier is set and recognized by the source. It is possible but unlikely that two items coming from two different sources will have the same id. The rdb source sets the id to an uuid The commands source sets the id to the command id
optional string id = 1;- Specified by:
getIdin interfaceTimelineItemOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Item identifier. The identifier is set and recognized by the source. It is possible but unlikely that two items coming from two different sources will have the same id. The rdb source sets the id to an uuid The commands source sets the id to the command id
optional string id = 1;- Specified by:
getIdBytesin interfaceTimelineItemOrBuilder- Returns:
- The bytes for id.
-
hasName
public boolean hasName()Item name
optional string name = 2;- Specified by:
hasNamein interfaceTimelineItemOrBuilder- Returns:
- Whether the name field is set.
-
getName
Item name
optional string name = 2;- Specified by:
getNamein interfaceTimelineItemOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Item name
optional string name = 2;- Specified by:
getNameBytesin interfaceTimelineItemOrBuilder- Returns:
- The bytes for name.
-
hasType
public boolean hasType()optional .yamcs.protobuf.timeline.TimelineItemType type = 3;- Specified by:
hasTypein interfaceTimelineItemOrBuilder- Returns:
- Whether the type field is set.
-
getType
optional .yamcs.protobuf.timeline.TimelineItemType type = 3;- Specified by:
getTypein interfaceTimelineItemOrBuilder- Returns:
- The type.
-
hasStart
public boolean hasStart()optional .google.protobuf.Timestamp start = 4;- Specified by:
hasStartin interfaceTimelineItemOrBuilder- Returns:
- Whether the start field is set.
-
getStart
public com.google.protobuf.Timestamp getStart()optional .google.protobuf.Timestamp start = 4;- Specified by:
getStartin interfaceTimelineItemOrBuilder- Returns:
- The start.
-
getStartOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()optional .google.protobuf.Timestamp start = 4;- Specified by:
getStartOrBuilderin interfaceTimelineItemOrBuilder
-
hasDuration
public boolean hasDuration()optional .google.protobuf.Duration duration = 5;- Specified by:
hasDurationin interfaceTimelineItemOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()optional .google.protobuf.Duration duration = 5;- Specified by:
getDurationin interfaceTimelineItemOrBuilder- Returns:
- The duration.
-
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()optional .google.protobuf.Duration duration = 5;- Specified by:
getDurationOrBuilderin interfaceTimelineItemOrBuilder
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()repeated string tags = 6;- Specified by:
getTagsListin interfaceTimelineItemOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()repeated string tags = 6;- Specified by:
getTagsCountin interfaceTimelineItemOrBuilder- Returns:
- The count of tags.
-
getTags
repeated string tags = 6;- Specified by:
getTagsin interfaceTimelineItemOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) repeated string tags = 6;- Specified by:
getTagsBytesin interfaceTimelineItemOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
hasGroupId
public boolean hasGroupId()if this item is part of a group, this is the group identifier
optional string groupId = 7;- Specified by:
hasGroupIdin interfaceTimelineItemOrBuilder- Returns:
- Whether the groupId field is set.
-
getGroupId
if this item is part of a group, this is the group identifier
optional string groupId = 7;- Specified by:
getGroupIdin interfaceTimelineItemOrBuilder- Returns:
- The groupId.
-
getGroupIdBytes
public com.google.protobuf.ByteString getGroupIdBytes()if this item is part of a group, this is the group identifier
optional string groupId = 7;- Specified by:
getGroupIdBytesin interfaceTimelineItemOrBuilder- Returns:
- The bytes for groupId.
-
hasRelativeTime
public boolean hasRelativeTime()if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above) note that start of the item will be computed by the server based on the relativeTime before sending the item to the client
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 8;- Specified by:
hasRelativeTimein interfaceTimelineItemOrBuilder- Returns:
- Whether the relativeTime field is set.
-
getRelativeTime
if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above) note that start of the item will be computed by the server based on the relativeTime before sending the item to the client
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 8;- Specified by:
getRelativeTimein interfaceTimelineItemOrBuilder- Returns:
- The relativeTime.
-
getRelativeTimeOrBuilder
if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above) note that start of the item will be computed by the server based on the relativeTime before sending the item to the client
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 8;- Specified by:
getRelativeTimeOrBuilderin interfaceTimelineItemOrBuilder
-
hasDescription
public boolean hasDescription()item description
optional string description = 9;- Specified by:
hasDescriptionin interfaceTimelineItemOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
item description
optional string description = 9;- Specified by:
getDescriptionin interfaceTimelineItemOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()item description
optional string description = 9;- Specified by:
getDescriptionBytesin interfaceTimelineItemOrBuilder- Returns:
- The bytes for description.
-
hasStatus
public boolean hasStatus()for activities: execution status
optional .yamcs.protobuf.timeline.ExecutionStatus status = 10;- Specified by:
hasStatusin interfaceTimelineItemOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
for activities: execution status
optional .yamcs.protobuf.timeline.ExecutionStatus status = 10;- Specified by:
getStatusin interfaceTimelineItemOrBuilder- Returns:
- The status.
-
hasFailureReason
public boolean hasFailureReason()for activities: if the status is FAILED or ABORTED, this may indicate the reason some information may also be available in the item log
optional string failureReason = 11;- Specified by:
hasFailureReasonin interfaceTimelineItemOrBuilder- Returns:
- Whether the failureReason field is set.
-
getFailureReason
for activities: if the status is FAILED or ABORTED, this may indicate the reason some information may also be available in the item log
optional string failureReason = 11;- Specified by:
getFailureReasonin interfaceTimelineItemOrBuilder- Returns:
- The failureReason.
-
getFailureReasonBytes
public com.google.protobuf.ByteString getFailureReasonBytes()for activities: if the status is FAILED or ABORTED, this may indicate the reason some information may also be available in the item log
optional string failureReason = 11;- Specified by:
getFailureReasonBytesin interfaceTimelineItemOrBuilder- Returns:
- The bytes for failureReason.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TimelineItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimelineItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimelineItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimelineItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimelineItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimelineItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TimelineItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TimelineItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TimelineItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TimelineItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-