Package org.yamcs.protobuf
Class TimelineBand
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.TimelineBand
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,TimelineBandOrBuilder
public final class TimelineBand
extends com.google.protobuf.GeneratedMessageV3
implements TimelineBandOrBuilder
Protobuf type
yamcs.protobuf.timeline.TimelineBand- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeyamcs.protobuf.timeline.TimelineBandNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, 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 com.google.protobuf.Parser<TimelineBand>Deprecated.static final intstatic 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 TypeMethodDescriptionbooleancontainsProperties(String key) Additional properties used by yamcs-web to render this bandbooleanstatic TimelineBandBand descriptioncom.google.protobuf.ByteStringBand descriptionstatic final com.google.protobuf.Descriptors.DescriptorgetFilters(int index) The filters are to be considered in an AND manner.intThe filters are to be considered in an AND manner.The filters are to be considered in an AND manner.getFiltersOrBuilder(int index) The filters are to be considered in an AND manner.List<? extends ItemFilterOrBuilder>The filters are to be considered in an AND manner.getId()Band identifier (UUID)com.google.protobuf.ByteStringBand identifier (UUID)Yamcs instance namecom.google.protobuf.ByteStringYamcs instance namegetName()Band namecom.google.protobuf.ByteStringBand namecom.google.protobuf.Parser<TimelineBand>Deprecated.intAdditional properties used by yamcs-web to render this bandAdditional properties used by yamcs-web to render this bandgetPropertiesOrDefault(String key, String defaultValue) Additional properties used by yamcs-web to render this bandAdditional properties used by yamcs-web to render this bandintbooleanIf true, all users have access to this band, otherwise only the user who has created itThe band contains only items from this sourcecom.google.protobuf.ByteStringThe band contains only items from this sourcegetTags(int index) Deprecated.com.google.protobuf.ByteStringgetTagsBytes(int index) Deprecated.intDeprecated.com.google.protobuf.ProtocolStringListDeprecated.getType()Type of bandfinal com.google.protobuf.UnknownFieldSetUser who has created the bandcom.google.protobuf.ByteStringUser who has created the bandbooleanBand descriptioninthashCode()booleanhasId()Band identifier (UUID)booleanYamcs instance namebooleanhasName()Band namebooleanIf true, all users have access to this band, otherwise only the user who has created itbooleanThe band contains only items from this sourcebooleanhasType()Type of bandbooleanUser who has created the bandprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleanstatic TimelineBand.Builderstatic TimelineBand.BuildernewBuilder(TimelineBand prototype) protected TimelineBand.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static TimelineBandparseDelimitedFrom(InputStream input) static TimelineBandparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineBandparseFrom(byte[] data) static TimelineBandparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineBandparseFrom(com.google.protobuf.ByteString data) static TimelineBandparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineBandparseFrom(com.google.protobuf.CodedInputStream input) static TimelineBandparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineBandparseFrom(InputStream input) static TimelineBandparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineBandparseFrom(ByteBuffer data) static TimelineBandparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TimelineBand>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER- See Also:
-
SHARED_FIELD_NUMBER
public static final int SHARED_FIELD_NUMBER- See Also:
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
FILTERS_FIELD_NUMBER
public static final int FILTERS_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;- Specified by:
hasInstancein interfaceTimelineBandOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceTimelineBandOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceTimelineBandOrBuilder- Returns:
- The bytes for instance.
-
hasId
public boolean hasId()Band identifier (UUID)
optional string id = 2;- Specified by:
hasIdin interfaceTimelineBandOrBuilder- Returns:
- Whether the id field is set.
-
getId
Band identifier (UUID)
optional string id = 2;- Specified by:
getIdin interfaceTimelineBandOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Band identifier (UUID)
optional string id = 2;- Specified by:
getIdBytesin interfaceTimelineBandOrBuilder- Returns:
- The bytes for id.
-
hasName
public boolean hasName()Band name
optional string name = 3;- Specified by:
hasNamein interfaceTimelineBandOrBuilder- Returns:
- Whether the name field is set.
-
getName
Band name
optional string name = 3;- Specified by:
getNamein interfaceTimelineBandOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Band name
optional string name = 3;- Specified by:
getNameBytesin interfaceTimelineBandOrBuilder- Returns:
- The bytes for name.
-
hasUsername
public boolean hasUsername()User who has created the band
optional string username = 4;- Specified by:
hasUsernamein interfaceTimelineBandOrBuilder- Returns:
- Whether the username field is set.
-
getUsername
User who has created the band
optional string username = 4;- Specified by:
getUsernamein interfaceTimelineBandOrBuilder- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()User who has created the band
optional string username = 4;- Specified by:
getUsernameBytesin interfaceTimelineBandOrBuilder- Returns:
- The bytes for username.
-
hasSource
public boolean hasSource()The band contains only items from this source
optional string source = 6;- Specified by:
hasSourcein interfaceTimelineBandOrBuilder- Returns:
- Whether the source field is set.
-
getSource
The band contains only items from this source
optional string source = 6;- Specified by:
getSourcein interfaceTimelineBandOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()The band contains only items from this source
optional string source = 6;- Specified by:
getSourceBytesin interfaceTimelineBandOrBuilder- Returns:
- The bytes for source.
-
getTagsList
Deprecated.the band contains only items with these tags; if the list is empty, then all items from the given source are part of the band this is deprecated, the filters below should be used to select the items
repeated string tags = 7 [deprecated = true];- Specified by:
getTagsListin interfaceTimelineBandOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
Deprecated.the band contains only items with these tags; if the list is empty, then all items from the given source are part of the band this is deprecated, the filters below should be used to select the items
repeated string tags = 7 [deprecated = true];- Specified by:
getTagsCountin interfaceTimelineBandOrBuilder- Returns:
- The count of tags.
-
getTags
Deprecated.the band contains only items with these tags; if the list is empty, then all items from the given source are part of the band this is deprecated, the filters below should be used to select the items
repeated string tags = 7 [deprecated = true];- Specified by:
getTagsin interfaceTimelineBandOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
Deprecated.the band contains only items with these tags; if the list is empty, then all items from the given source are part of the band this is deprecated, the filters below should be used to select the items
repeated string tags = 7 [deprecated = true];- Specified by:
getTagsBytesin interfaceTimelineBandOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getFiltersList
The filters are to be considered in an AND manner. An item is part of the band if it matches all filters. If the list is empty, then all items from the given source are part of the band
repeated .yamcs.protobuf.timeline.ItemFilter filters = 8;- Specified by:
getFiltersListin interfaceTimelineBandOrBuilder
-
getFiltersOrBuilderList
The filters are to be considered in an AND manner. An item is part of the band if it matches all filters. If the list is empty, then all items from the given source are part of the band
repeated .yamcs.protobuf.timeline.ItemFilter filters = 8;- Specified by:
getFiltersOrBuilderListin interfaceTimelineBandOrBuilder
-
getFiltersCount
public int getFiltersCount()The filters are to be considered in an AND manner. An item is part of the band if it matches all filters. If the list is empty, then all items from the given source are part of the band
repeated .yamcs.protobuf.timeline.ItemFilter filters = 8;- Specified by:
getFiltersCountin interfaceTimelineBandOrBuilder
-
getFilters
The filters are to be considered in an AND manner. An item is part of the band if it matches all filters. If the list is empty, then all items from the given source are part of the band
repeated .yamcs.protobuf.timeline.ItemFilter filters = 8;- Specified by:
getFiltersin interfaceTimelineBandOrBuilder
-
getFiltersOrBuilder
The filters are to be considered in an AND manner. An item is part of the band if it matches all filters. If the list is empty, then all items from the given source are part of the band
repeated .yamcs.protobuf.timeline.ItemFilter filters = 8;- Specified by:
getFiltersOrBuilderin interfaceTimelineBandOrBuilder
-
hasType
public boolean hasType()Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 9;- Specified by:
hasTypein interfaceTimelineBandOrBuilder- Returns:
- Whether the type field is set.
-
getType
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 9;- Specified by:
getTypein interfaceTimelineBandOrBuilder- Returns:
- The type.
-
hasDescription
public boolean hasDescription()Band description
optional string description = 10;- Specified by:
hasDescriptionin interfaceTimelineBandOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
Band description
optional string description = 10;- Specified by:
getDescriptionin interfaceTimelineBandOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Band description
optional string description = 10;- Specified by:
getDescriptionBytesin interfaceTimelineBandOrBuilder- Returns:
- The bytes for description.
-
getPropertiesCount
public int getPropertiesCount()Description copied from interface:TimelineBandOrBuilderAdditional properties used by yamcs-web to render this band
map<string, string> properties = 11;- Specified by:
getPropertiesCountin interfaceTimelineBandOrBuilder
-
containsProperties
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;- Specified by:
containsPropertiesin interfaceTimelineBandOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceTimelineBandOrBuilder
-
getPropertiesMap
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;- Specified by:
getPropertiesMapin interfaceTimelineBandOrBuilder
-
getPropertiesOrDefault
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;- Specified by:
getPropertiesOrDefaultin interfaceTimelineBandOrBuilder
-
getPropertiesOrThrow
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;- Specified by:
getPropertiesOrThrowin interfaceTimelineBandOrBuilder
-
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 TimelineBand parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimelineBand parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimelineBand parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimelineBand parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimelineBand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimelineBand parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TimelineBand parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TimelineBand parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TimelineBand 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 TimelineBand.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
-