Package org.yamcs.protobuf
Class TimelineItem
- 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 typeyamcs.protobuf.timeline.TimelineItem- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimelineItem.BuilderProtobuf typeyamcs.protobuf.timeline.TimelineItem-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intDURATION_FIELD_NUMBERstatic intGROUPID_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<TimelineItem>PARSERDeprecated.static intRELATIVETIME_FIELD_NUMBERstatic intSTART_FIELD_NUMBERstatic intTAGS_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static TimelineItemgetDefaultInstance()TimelineItemgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.DurationgetDuration()optional .google.protobuf.Duration duration = 5;com.google.protobuf.DurationOrBuildergetDurationOrBuilder()optional .google.protobuf.Duration duration = 5;StringgetGroupId()if this item is part of a group, this is the group identifiercom.google.protobuf.ByteStringgetGroupIdBytes()if this item is part of a group, this is the group identifierStringgetId()Item identifiercom.google.protobuf.ByteStringgetIdBytes()Item identifierStringgetName()Item namecom.google.protobuf.ByteStringgetNameBytes()Item namecom.google.protobuf.Parser<TimelineItem>getParserForType()RelativeTimegetRelativeTime()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 clientRelativeTimeOrBuildergetRelativeTimeOrBuilder()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 clientintgetSerializedSize()com.google.protobuf.TimestampgetStart()optional .google.protobuf.Timestamp start = 4;com.google.protobuf.TimestampOrBuildergetStartOrBuilder()optional .google.protobuf.Timestamp start = 4;StringgetTags(int index)repeated string tags = 6;com.google.protobuf.ByteStringgetTagsBytes(int index)repeated string tags = 6;intgetTagsCount()repeated string tags = 6;com.google.protobuf.ProtocolStringListgetTagsList()repeated string tags = 6;TimelineItemTypegetType()optional .yamcs.protobuf.timeline.TimelineItemType type = 3;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasDuration()optional .google.protobuf.Duration duration = 5;booleanhasGroupId()if this item is part of a group, this is the group identifierinthashCode()booleanhasId()Item identifierbooleanhasName()Item namebooleanhasRelativeTime()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 clientbooleanhasStart()optional .google.protobuf.Timestamp start = 4;booleanhasType()optional .yamcs.protobuf.timeline.TimelineItemType type = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static TimelineItem.BuildernewBuilder()static TimelineItem.BuildernewBuilder(TimelineItem prototype)TimelineItem.BuildernewBuilderForType()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()TimelineItem.BuildertoBuilder()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, 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
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_FIELD_NUMBER
public static final int START_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GROUPID_FIELD_NUMBER
public static final int GROUPID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RELATIVETIME_FIELD_NUMBER
public static final int RELATIVETIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<TimelineItem> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
optional string id = 1;- Specified by:
hasIdin interfaceTimelineItemOrBuilder- Returns:
- Whether the id field is set.
-
getId
public String getId()
Item identifier
optional string id = 1;- Specified by:
getIdin interfaceTimelineItemOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Item identifier
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
public String 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
public TimelineItemType 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
public String getTags(int index)
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
public String 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
public RelativeTime 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
public RelativeTimeOrBuilder 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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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
public static TimelineItem parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TimelineItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TimelineItem parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TimelineItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TimelineItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TimelineItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TimelineItem.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TimelineItem.Builder newBuilder()
-
newBuilder
public static TimelineItem.Builder newBuilder(TimelineItem prototype)
-
toBuilder
public TimelineItem.Builder 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
public static TimelineItem getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TimelineItem> parser()
-
getParserForType
public com.google.protobuf.Parser<TimelineItem> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TimelineItem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-