java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
org.yamcs.protobuf.TimelineItem.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,TimelineItemOrBuilder
- Enclosing class:
- TimelineItem
public static final class TimelineItem.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
implements TimelineItemOrBuilder
Protobuf type
yamcs.protobuf.timeline.TimelineItem-
Method Summary
Modifier and TypeMethodDescriptionaddAllRuns(Iterable<String> values) Identifiers of activity runs matching this item.addAllTags(Iterable<String> values) repeated string tags = 6;addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) Identifiers of activity runs matching this item.addRunsBytes(com.google.protobuf.ByteString value) Identifiers of activity runs matching this item.repeated string tags = 6;addTagsBytes(com.google.protobuf.ByteString value) repeated string tags = 6;build()clear()Activity definition associated to this item.Item descriptionoptional .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 logclearField(com.google.protobuf.Descriptors.FieldDescriptor field) If this item is part of a group, this is the group identifierclearId()Item identifier.Item nameclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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 clientIdentifiers of activity runs matching this item.optional .google.protobuf.Timestamp start = 4;For activities: execution statusrepeated string tags = 6;optional .yamcs.protobuf.timeline.TimelineItemType type = 3;clone()booleancontainsProperties(String key) Additional properties used by yamcs-web to render this itemActivity definition associated to this item.Activity definition associated to this item.Activity definition associated to this item.Item descriptioncom.google.protobuf.ByteStringItem descriptionstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Durationoptional .google.protobuf.Duration duration = 5;com.google.protobuf.Duration.Builderoptional .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.Deprecated.getName()Item namecom.google.protobuf.ByteStringItem nameDeprecated.intAdditional properties used by yamcs-web to render this itemAdditional properties used by yamcs-web to render this itemgetPropertiesOrDefault(String key, String defaultValue) Additional properties used by yamcs-web to render this itemAdditional properties used by yamcs-web to render this itemif 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 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 clientgetRuns(int index) Identifiers of activity runs matching this item.com.google.protobuf.ByteStringgetRunsBytes(int index) Identifiers of activity runs matching this item.intIdentifiers of activity runs matching this item.com.google.protobuf.ProtocolStringListIdentifiers of activity runs matching this item.com.google.protobuf.TimestampgetStart()optional .google.protobuf.Timestamp start = 4;com.google.protobuf.Timestamp.Builderoptional .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;booleanActivity definition associated to this item.booleanItem 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 identifierbooleanhasId()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.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanActivity definition associated to this item.mergeDuration(com.google.protobuf.Duration value) optional .google.protobuf.Duration duration = 5;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(TimelineItem other) mergeRelativeTime(RelativeTime value) 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 clientmergeStart(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp start = 4;final TimelineItem.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllProperties(Map<String, String> values) Additional properties used by yamcs-web to render this itemputProperties(String key, String value) Additional properties used by yamcs-web to render this itemremoveProperties(String key) Additional properties used by yamcs-web to render this itemActivity definition associated to this item.setActivityDefinition(ActivityDefinitionInfo.Builder builderForValue) Activity definition associated to this item.setDescription(String value) Item descriptionsetDescriptionBytes(com.google.protobuf.ByteString value) Item descriptionsetDuration(com.google.protobuf.Duration value) optional .google.protobuf.Duration duration = 5;setDuration(com.google.protobuf.Duration.Builder builderForValue) optional .google.protobuf.Duration duration = 5;setFailureReason(String value) For activities: if the status is FAILED or ABORTED, this may indicate the reason some information may also be available in the item logsetFailureReasonBytes(com.google.protobuf.ByteString value) For activities: if the status is FAILED or ABORTED, this may indicate the reason some information may also be available in the item logsetGroupId(String value) If this item is part of a group, this is the group identifiersetGroupIdBytes(com.google.protobuf.ByteString value) If this item is part of a group, this is the group identifierItem identifier.setIdBytes(com.google.protobuf.ByteString value) Item identifier.Item namesetNameBytes(com.google.protobuf.ByteString value) Item namesetRelativeTime(RelativeTime value) 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 clientsetRelativeTime(RelativeTime.Builder builderForValue) 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 clientsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Identifiers of activity runs matching this item.setStart(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp start = 4;setStart(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp start = 4;setStatus(ExecutionStatus value) For activities: execution statusrepeated string tags = 6;setType(TimelineItemType value) optional .yamcs.protobuf.timeline.TimelineItemType type = 3;final TimelineItem.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
-
setField
public TimelineItem.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
-
setRepeatedField
public TimelineItem.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
-
addRepeatedField
public TimelineItem.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TimelineItem.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
-
mergeFrom
public TimelineItem.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TimelineItem.Builder>- Throws:
IOException
-
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 a 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 a 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 a UUID. The commands source sets the id to the command id
optional string id = 1;- Specified by:
getIdBytesin interfaceTimelineItemOrBuilder- Returns:
- The bytes for id.
-
setId
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 a UUID. The commands source sets the id to the command id
optional string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
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 a UUID. The commands source sets the id to the command id
optional string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
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 a UUID. The commands source sets the id to the command id
optional string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
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.
-
setName
Item name
optional string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Item name
optional string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
Item name
optional string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setType
optional .yamcs.protobuf.timeline.TimelineItemType type = 3;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
optional .yamcs.protobuf.timeline.TimelineItemType type = 3;- Returns:
- This builder for chaining.
-
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.
-
setStart
optional .google.protobuf.Timestamp start = 4; -
setStart
optional .google.protobuf.Timestamp start = 4; -
mergeStart
optional .google.protobuf.Timestamp start = 4; -
clearStart
optional .google.protobuf.Timestamp start = 4; -
getStartBuilder
public com.google.protobuf.Timestamp.Builder getStartBuilder()optional .google.protobuf.Timestamp start = 4; -
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.
-
setDuration
optional .google.protobuf.Duration duration = 5; -
setDuration
optional .google.protobuf.Duration duration = 5; -
mergeDuration
optional .google.protobuf.Duration duration = 5; -
clearDuration
optional .google.protobuf.Duration duration = 5; -
getDurationBuilder
public com.google.protobuf.Duration.Builder getDurationBuilder()optional .google.protobuf.Duration duration = 5; -
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.
-
setTags
repeated string tags = 6;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
repeated string tags = 6;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
repeated string tags = 6;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
repeated string tags = 6;- Returns:
- This builder for chaining.
-
addTagsBytes
repeated string tags = 6;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
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.
-
setGroupId
If this item is part of a group, this is the group identifier
optional string groupId = 7;- Parameters:
value- The groupId to set.- Returns:
- This builder for chaining.
-
clearGroupId
If this item is part of a group, this is the group identifier
optional string groupId = 7;- Returns:
- This builder for chaining.
-
setGroupIdBytes
If this item is part of a group, this is the group identifier
optional string groupId = 7;- Parameters:
value- The bytes for groupId to set.- Returns:
- This builder for chaining.
-
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.
-
setRelativeTime
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; -
setRelativeTime
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; -
mergeRelativeTime
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; -
clearRelativeTime
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; -
getRelativeTimeBuilder
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; -
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.
-
setDescription
Item description
optional string description = 9;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Item description
optional string description = 9;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Item description
optional string description = 9;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getPropertiesCount
public int getPropertiesCount()Description copied from interface:TimelineItemOrBuilderAdditional properties used by yamcs-web to render this item
map<string, string> properties = 14;- Specified by:
getPropertiesCountin interfaceTimelineItemOrBuilder
-
containsProperties
Additional properties used by yamcs-web to render this item
map<string, string> properties = 14;- Specified by:
containsPropertiesin interfaceTimelineItemOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceTimelineItemOrBuilder
-
getPropertiesMap
Additional properties used by yamcs-web to render this item
map<string, string> properties = 14;- Specified by:
getPropertiesMapin interfaceTimelineItemOrBuilder
-
getPropertiesOrDefault
Additional properties used by yamcs-web to render this item
map<string, string> properties = 14;- Specified by:
getPropertiesOrDefaultin interfaceTimelineItemOrBuilder
-
getPropertiesOrThrow
Additional properties used by yamcs-web to render this item
map<string, string> properties = 14;- Specified by:
getPropertiesOrThrowin interfaceTimelineItemOrBuilder
-
clearProperties
-
removeProperties
Additional properties used by yamcs-web to render this item
map<string, string> properties = 14; -
getMutableProperties
Deprecated.Use alternate mutation accessors instead. -
putProperties
Additional properties used by yamcs-web to render this item
map<string, string> properties = 14; -
putAllProperties
Additional properties used by yamcs-web to render this item
map<string, string> properties = 14; -
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.
-
setStatus
For activities: execution status
optional .yamcs.protobuf.timeline.ExecutionStatus status = 10;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
For activities: execution status
optional .yamcs.protobuf.timeline.ExecutionStatus status = 10;- Returns:
- This builder for chaining.
-
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.
-
setFailureReason
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;- Parameters:
value- The failureReason to set.- Returns:
- This builder for chaining.
-
clearFailureReason
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;- Returns:
- This builder for chaining.
-
setFailureReasonBytes
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;- Parameters:
value- The bytes for failureReason to set.- Returns:
- This builder for chaining.
-
hasActivityDefinition
public boolean hasActivityDefinition()Activity definition associated to this item. Set if ``type`` is ACTIVITY.
optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13;- Specified by:
hasActivityDefinitionin interfaceTimelineItemOrBuilder- Returns:
- Whether the activityDefinition field is set.
-
getActivityDefinition
Activity definition associated to this item. Set if ``type`` is ACTIVITY.
optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13;- Specified by:
getActivityDefinitionin interfaceTimelineItemOrBuilder- Returns:
- The activityDefinition.
-
setActivityDefinition
Activity definition associated to this item. Set if ``type`` is ACTIVITY.
optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13; -
setActivityDefinition
Activity definition associated to this item. Set if ``type`` is ACTIVITY.
optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13; -
mergeActivityDefinition
Activity definition associated to this item. Set if ``type`` is ACTIVITY.
optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13; -
clearActivityDefinition
Activity definition associated to this item. Set if ``type`` is ACTIVITY.
optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13; -
getActivityDefinitionBuilder
Activity definition associated to this item. Set if ``type`` is ACTIVITY.
optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13; -
getActivityDefinitionOrBuilder
Activity definition associated to this item. Set if ``type`` is ACTIVITY.
optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13;- Specified by:
getActivityDefinitionOrBuilderin interfaceTimelineItemOrBuilder
-
getRunsList
public com.google.protobuf.ProtocolStringList getRunsList()Identifiers of activity runs matching this item. Set if ``type`` is ACTIVITY.
repeated string runs = 15;- Specified by:
getRunsListin interfaceTimelineItemOrBuilder- Returns:
- A list containing the runs.
-
getRunsCount
public int getRunsCount()Identifiers of activity runs matching this item. Set if ``type`` is ACTIVITY.
repeated string runs = 15;- Specified by:
getRunsCountin interfaceTimelineItemOrBuilder- Returns:
- The count of runs.
-
getRuns
Identifiers of activity runs matching this item. Set if ``type`` is ACTIVITY.
repeated string runs = 15;- Specified by:
getRunsin interfaceTimelineItemOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The runs at the given index.
-
getRunsBytes
public com.google.protobuf.ByteString getRunsBytes(int index) Identifiers of activity runs matching this item. Set if ``type`` is ACTIVITY.
repeated string runs = 15;- Specified by:
getRunsBytesin interfaceTimelineItemOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the runs at the given index.
-
setRuns
Identifiers of activity runs matching this item. Set if ``type`` is ACTIVITY.
repeated string runs = 15;- Parameters:
index- The index to set the value at.value- The runs to set.- Returns:
- This builder for chaining.
-
addRuns
Identifiers of activity runs matching this item. Set if ``type`` is ACTIVITY.
repeated string runs = 15;- Parameters:
value- The runs to add.- Returns:
- This builder for chaining.
-
addAllRuns
Identifiers of activity runs matching this item. Set if ``type`` is ACTIVITY.
repeated string runs = 15;- Parameters:
values- The runs to add.- Returns:
- This builder for chaining.
-
clearRuns
Identifiers of activity runs matching this item. Set if ``type`` is ACTIVITY.
repeated string runs = 15;- Returns:
- This builder for chaining.
-
addRunsBytes
Identifiers of activity runs matching this item. Set if ``type`` is ACTIVITY.
repeated string runs = 15;- Parameters:
value- The bytes of the runs to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TimelineItem.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
-
mergeUnknownFields
public final TimelineItem.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
-