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
Modifier and TypeClassDescriptionstatic final class
Protobuf typeyamcs.protobuf.timeline.TimelineBand
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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<TimelineBand>
Deprecated.static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsProperties
(String key) Additional properties used by yamcs-web to render this bandboolean
static TimelineBand
Band descriptioncom.google.protobuf.ByteString
Band descriptionstatic final com.google.protobuf.Descriptors.Descriptor
getFilters
(int index) The filters are to be considered in an AND manner.int
The 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.ByteString
Band identifier (UUID)Yamcs instance namecom.google.protobuf.ByteString
Yamcs instance namegetName()
Band namecom.google.protobuf.ByteString
Band namecom.google.protobuf.Parser<TimelineBand>
Deprecated.int
Additional 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 bandint
boolean
If 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.ByteString
The band contains only items from this sourcegetTags
(int index) Deprecated.com.google.protobuf.ByteString
getTagsBytes
(int index) Deprecated.int
Deprecated.com.google.protobuf.ProtocolStringList
Deprecated.getType()
Type of bandfinal com.google.protobuf.UnknownFieldSet
User who has created the bandcom.google.protobuf.ByteString
User who has created the bandboolean
Band descriptionint
hashCode()
boolean
hasId()
Band identifier (UUID)boolean
Yamcs instance nameboolean
hasName()
Band nameboolean
If true, all users have access to this band, otherwise only the user who has created itboolean
The band contains only items from this sourceboolean
hasType()
Type of bandboolean
User who has created the bandprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) final boolean
static TimelineBand.Builder
static TimelineBand.Builder
newBuilder
(TimelineBand prototype) protected TimelineBand.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static TimelineBand
parseDelimitedFrom
(InputStream input) static TimelineBand
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineBand
parseFrom
(byte[] data) static TimelineBand
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineBand
parseFrom
(com.google.protobuf.ByteString data) static TimelineBand
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineBand
parseFrom
(com.google.protobuf.CodedInputStream input) static TimelineBand
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineBand
parseFrom
(InputStream input) static TimelineBand
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimelineBand
parseFrom
(ByteBuffer data) static TimelineBand
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TimelineBand>
parser()
void
writeTo
(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, 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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;
- Specified by:
hasInstance
in interfaceTimelineBandOrBuilder
- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;
- Specified by:
getInstance
in interfaceTimelineBandOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;
- Specified by:
getInstanceBytes
in interfaceTimelineBandOrBuilder
- Returns:
- The bytes for instance.
-
hasId
public boolean hasId()Band identifier (UUID)
optional string id = 2;
- Specified by:
hasId
in interfaceTimelineBandOrBuilder
- Returns:
- Whether the id field is set.
-
getId
Band identifier (UUID)
optional string id = 2;
- Specified by:
getId
in interfaceTimelineBandOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Band identifier (UUID)
optional string id = 2;
- Specified by:
getIdBytes
in interfaceTimelineBandOrBuilder
- Returns:
- The bytes for id.
-
hasName
public boolean hasName()Band name
optional string name = 3;
- Specified by:
hasName
in interfaceTimelineBandOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Band name
optional string name = 3;
- Specified by:
getName
in interfaceTimelineBandOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Band name
optional string name = 3;
- Specified by:
getNameBytes
in interfaceTimelineBandOrBuilder
- Returns:
- The bytes for name.
-
hasUsername
public boolean hasUsername()User who has created the band
optional string username = 4;
- Specified by:
hasUsername
in interfaceTimelineBandOrBuilder
- Returns:
- Whether the username field is set.
-
getUsername
User who has created the band
optional string username = 4;
- Specified by:
getUsername
in interfaceTimelineBandOrBuilder
- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()User who has created the band
optional string username = 4;
- Specified by:
getUsernameBytes
in interfaceTimelineBandOrBuilder
- Returns:
- The bytes for username.
-
hasSource
public boolean hasSource()The band contains only items from this source
optional string source = 6;
- Specified by:
hasSource
in interfaceTimelineBandOrBuilder
- Returns:
- Whether the source field is set.
-
getSource
The band contains only items from this source
optional string source = 6;
- Specified by:
getSource
in 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:
getSourceBytes
in 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:
getTagsList
in 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:
getTagsCount
in 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:
getTags
in 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:
getTagsBytes
in 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:
getFiltersList
in 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:
getFiltersOrBuilderList
in 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:
getFiltersCount
in 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:
getFilters
in 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:
getFiltersOrBuilder
in interfaceTimelineBandOrBuilder
-
hasType
public boolean hasType()Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 9;
- Specified by:
hasType
in interfaceTimelineBandOrBuilder
- Returns:
- Whether the type field is set.
-
getType
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 9;
- Specified by:
getType
in interfaceTimelineBandOrBuilder
- Returns:
- The type.
-
hasDescription
public boolean hasDescription()Band description
optional string description = 10;
- Specified by:
hasDescription
in interfaceTimelineBandOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
Band description
optional string description = 10;
- Specified by:
getDescription
in interfaceTimelineBandOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Band description
optional string description = 10;
- Specified by:
getDescriptionBytes
in interfaceTimelineBandOrBuilder
- Returns:
- The bytes for description.
-
getPropertiesCount
public int getPropertiesCount()Description copied from interface:TimelineBandOrBuilder
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;
- Specified by:
getPropertiesCount
in interfaceTimelineBandOrBuilder
-
containsProperties
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;
- Specified by:
containsProperties
in interfaceTimelineBandOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()
instead.- Specified by:
getProperties
in interfaceTimelineBandOrBuilder
-
getPropertiesMap
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;
- Specified by:
getPropertiesMap
in interfaceTimelineBandOrBuilder
-
getPropertiesOrDefault
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;
- Specified by:
getPropertiesOrDefault
in interfaceTimelineBandOrBuilder
-
getPropertiesOrThrow
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;
- Specified by:
getPropertiesOrThrow
in interfaceTimelineBandOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TimelineBand.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-