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 typeyamcs.protobuf.timeline.TimelineBand- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimelineBand.BuilderProtobuf 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
-
-
Field Summary
Fields Modifier and Type Field Description static intDESCRIPTION_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intINSTANCE_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<TimelineBand>PARSERDeprecated.static intPROPERTIES_FIELD_NUMBERstatic intSHARED_FIELD_NUMBERstatic intSOURCE_FIELD_NUMBERstatic intTAGS_FIELD_NUMBERstatic intTYPE_FIELD_NUMBERstatic intUSERNAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsProperties(String key)Additional properties used by yamcs-web to render this bandbooleanequals(Object obj)static TimelineBandgetDefaultInstance()TimelineBandgetDefaultInstanceForType()StringgetDescription()Band descriptioncom.google.protobuf.ByteStringgetDescriptionBytes()Band descriptionstatic com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetId()Band identifiercom.google.protobuf.ByteStringgetIdBytes()Band identifierStringgetInstance()Yamcs instance namecom.google.protobuf.ByteStringgetInstanceBytes()Yamcs instance nameStringgetName()Band namecom.google.protobuf.ByteStringgetNameBytes()Band namecom.google.protobuf.Parser<TimelineBand>getParserForType()Map<String,String>getProperties()Deprecated.intgetPropertiesCount()Additional properties used by yamcs-web to render this bandMap<String,String>getPropertiesMap()Additional properties used by yamcs-web to render this bandStringgetPropertiesOrDefault(String key, String defaultValue)Additional properties used by yamcs-web to render this bandStringgetPropertiesOrThrow(String key)Additional properties used by yamcs-web to render this bandintgetSerializedSize()booleangetShared()if true, all users have access to this band, otherwise only the user who has created itStringgetSource()the band contains only items from this sourcecom.google.protobuf.ByteStringgetSourceBytes()the band contains only items from this sourceStringgetTags(int index)the band contains only items with these tags; if the list is empty, then all items from the given source are part of the bandcom.google.protobuf.ByteStringgetTagsBytes(int index)the band contains only items with these tags; if the list is empty, then all items from the given source are part of the bandintgetTagsCount()the band contains only items with these tags; if the list is empty, then all items from the given source are part of the bandcom.google.protobuf.ProtocolStringListgetTagsList()the band contains only items with these tags; if the list is empty, then all items from the given source are part of the bandTimelineBandTypegetType()Type of bandcom.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetUsername()user who has created the bandcom.google.protobuf.ByteStringgetUsernameBytes()user who has created the bandbooleanhasDescription()Band descriptioninthashCode()booleanhasId()Band identifierbooleanhasInstance()Yamcs instance namebooleanhasName()Band namebooleanhasShared()if true, all users have access to this band, otherwise only the user who has created itbooleanhasSource()the band contains only items from this sourcebooleanhasType()Type of bandbooleanhasUsername()user who has created the bandprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static TimelineBand.BuildernewBuilder()static TimelineBand.BuildernewBuilder(TimelineBand prototype)TimelineBand.BuildernewBuilderForType()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()TimelineBand.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, 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
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
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
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHARED_FIELD_NUMBER
public static final int SHARED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<TimelineBand> 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()
-
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
public String 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
optional string id = 2;- Specified by:
hasIdin interfaceTimelineBandOrBuilder- Returns:
- Whether the id field is set.
-
getId
public String getId()
Band identifier
optional string id = 2;- Specified by:
getIdin interfaceTimelineBandOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Band identifier
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
public String 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
public String 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.
-
hasShared
public boolean hasShared()
if true, all users have access to this band, otherwise only the user who has created it
optional bool shared = 5;- Specified by:
hasSharedin interfaceTimelineBandOrBuilder- Returns:
- Whether the shared field is set.
-
getShared
public boolean getShared()
if true, all users have access to this band, otherwise only the user who has created it
optional bool shared = 5;- Specified by:
getSharedin interfaceTimelineBandOrBuilder- Returns:
- The shared.
-
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
public String 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
public com.google.protobuf.ProtocolStringList getTagsList()
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
repeated string tags = 7;- Specified by:
getTagsListin interfaceTimelineBandOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()
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
repeated string tags = 7;- Specified by:
getTagsCountin interfaceTimelineBandOrBuilder- Returns:
- The count of tags.
-
getTags
public String getTags(int index)
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
repeated string tags = 7;- Specified by:
getTagsin interfaceTimelineBandOrBuilder- 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)
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
repeated string tags = 7;- Specified by:
getTagsBytesin interfaceTimelineBandOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
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
public TimelineBandType 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
public String 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
public boolean containsProperties(String key)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;- Specified by:
containsPropertiesin interfaceTimelineBandOrBuilder
-
getProperties
@Deprecated public Map<String,String> getProperties()
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceTimelineBandOrBuilder
-
getPropertiesMap
public Map<String,String> getPropertiesMap()
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;- Specified by:
getPropertiesMapin interfaceTimelineBandOrBuilder
-
getPropertiesOrDefault
public String getPropertiesOrDefault(String key, String defaultValue)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;- Specified by:
getPropertiesOrDefaultin interfaceTimelineBandOrBuilder
-
getPropertiesOrThrow
public String getPropertiesOrThrow(String key)
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
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 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
public static TimelineBand parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TimelineBand parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TimelineBand parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TimelineBand parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TimelineBand parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TimelineBand parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TimelineBand.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TimelineBand.Builder newBuilder()
-
newBuilder
public static TimelineBand.Builder newBuilder(TimelineBand prototype)
-
toBuilder
public TimelineBand.Builder 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
public static TimelineBand getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TimelineBand> parser()
-
getParserForType
public com.google.protobuf.Parser<TimelineBand> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TimelineBand getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-