java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TimelineBand.Builder>
com.google.protobuf.GeneratedMessage.Builder<TimelineBand.Builder>
org.yamcs.protobuf.TimelineBand.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,TimelineBandOrBuilder
- Enclosing class:
TimelineBand
public static final class TimelineBand.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TimelineBand.Builder>
implements TimelineBandOrBuilder
Protobuf type
yamcs.protobuf.timeline.TimelineBand-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags(Iterable<String> values) The band contains only items with these tags.The band contains only items with these tags.addTagsBytes(com.google.protobuf.ByteString value) The band contains only items with these tags.build()clear()Detailed description of this bandIf specified, the band shows only items matching this filterclearId()Band identifier (UUID)Yamcs instance nameBand nameIf true, all users have access to this band, otherwise only the user who has created itThe band contains only items from this sourceThe band contains only items with these tags.Type of bandUser who has created the bandbooleancontainsExtra(String key) Mission-specific custom data.booleancontainsProperties(String key) Additional properties used by the Yamcs Web UI for rendering purposes.Detailed description of this bandcom.google.protobuf.ByteStringDetailed description of this bandstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExtra()Deprecated.intMission-specific custom data.Mission-specific custom data.getExtraOrDefault(String key, String defaultValue) Mission-specific custom data.getExtraOrThrow(String key) Mission-specific custom data.If specified, the band shows only items matching this filtercom.google.protobuf.ByteStringIf specified, the band shows only items matching this filtergetId()Band identifier (UUID)com.google.protobuf.ByteStringBand identifier (UUID)Yamcs instance namecom.google.protobuf.ByteStringYamcs instance nameDeprecated.Deprecated.getName()Band namecom.google.protobuf.ByteStringBand nameDeprecated.intAdditional properties used by the Yamcs Web UI for rendering purposes.Additional properties used by the Yamcs Web UI for rendering purposes.getPropertiesOrDefault(String key, String defaultValue) Additional properties used by the Yamcs Web UI for rendering purposes.Additional properties used by the Yamcs Web UI for rendering purposes.booleanIf 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) The band contains only items with these tags.com.google.protobuf.ByteStringgetTagsBytes(int index) The band contains only items with these tags.intThe band contains only items with these tags.com.google.protobuf.ProtocolStringListThe band contains only items with these tags.getType()Type of bandUser who has created the bandcom.google.protobuf.ByteStringUser who has created the bandbooleanDetailed description of this bandbooleanIf specified, the band shows only items matching this filterbooleanhasId()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.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(TimelineBand other) putAllExtra(Map<String, String> values) Mission-specific custom data.putAllProperties(Map<String, String> values) Additional properties used by the Yamcs Web UI for rendering purposes.Mission-specific custom data.putProperties(String key, String value) Additional properties used by the Yamcs Web UI for rendering purposes.removeExtra(String key) Mission-specific custom data.removeProperties(String key) Additional properties used by the Yamcs Web UI for rendering purposes.setDescription(String value) Detailed description of this bandsetDescriptionBytes(com.google.protobuf.ByteString value) Detailed description of this bandIf specified, the band shows only items matching this filtersetFilterBytes(com.google.protobuf.ByteString value) If specified, the band shows only items matching this filterBand identifier (UUID)setIdBytes(com.google.protobuf.ByteString value) Band identifier (UUID)setInstance(String value) Yamcs instance namesetInstanceBytes(com.google.protobuf.ByteString value) Yamcs instance nameBand namesetNameBytes(com.google.protobuf.ByteString value) Band namesetShared(boolean value) If true, all users have access to this band, otherwise only the user who has created itThe band contains only items from this sourcesetSourceBytes(com.google.protobuf.ByteString value) The band contains only items from this sourceThe band contains only items with these tags.setType(TimelineBandType value) Type of bandsetUsername(String value) User who has created the bandsetUsernameBytes(com.google.protobuf.ByteString value) User who has created the bandMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<TimelineBand.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<TimelineBand.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TimelineBand.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TimelineBand.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.GeneratedMessage.Builder<TimelineBand.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TimelineBand.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TimelineBand.Builder>
-
mergeFrom
public TimelineBand.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<TimelineBand.Builder>- Throws:
IOException
-
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.
-
setInstance
Yamcs instance name
optional string instance = 1;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
Yamcs instance name
optional string instance = 1;- Returns:
- This builder for chaining.
-
setInstanceBytes
Yamcs instance name
optional string instance = 1;- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
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.
-
setId
Band identifier (UUID)
optional string id = 2;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Band identifier (UUID)
optional string id = 2;- Returns:
- This builder for chaining.
-
setIdBytes
Band identifier (UUID)
optional string id = 2;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
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.
-
setName
Band name
optional string name = 3;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Band name
optional string name = 3;- Returns:
- This builder for chaining.
-
setNameBytes
Band name
optional string name = 3;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setUsername
User who has created the band
optional string username = 4;- Parameters:
value- The username to set.- Returns:
- This builder for chaining.
-
clearUsername
User who has created the band
optional string username = 4;- Returns:
- This builder for chaining.
-
setUsernameBytes
User who has created the band
optional string username = 4;- Parameters:
value- The bytes for username to set.- Returns:
- This builder for chaining.
-
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.
-
setSource
The band contains only items from this source
optional string source = 6;- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
The band contains only items from this source
optional string source = 6;- Returns:
- This builder for chaining.
-
setSourceBytes
The band contains only items from this source
optional string source = 6;- Parameters:
value- The bytes for source to set.- Returns:
- This builder for chaining.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()The band contains only items with these tags. If the list is empty, 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, 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
The band contains only items with these tags. If the list is empty, 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, 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.
-
setTags
The band contains only items with these tags. If the list is empty, all items from the given source are part of the band.
repeated string tags = 7;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
The band contains only items with these tags. If the list is empty, all items from the given source are part of the band.
repeated string tags = 7;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
The band contains only items with these tags. If the list is empty, all items from the given source are part of the band.
repeated string tags = 7;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
The band contains only items with these tags. If the list is empty, all items from the given source are part of the band.
repeated string tags = 7;- Returns:
- This builder for chaining.
-
addTagsBytes
The band contains only items with these tags. If the list is empty, all items from the given source are part of the band.
repeated string tags = 7;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
hasFilter
public boolean hasFilter()If specified, the band shows only items matching this filter
optional string filter = 13;- Specified by:
hasFilterin interfaceTimelineBandOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
If specified, the band shows only items matching this filter
optional string filter = 13;- Specified by:
getFilterin interfaceTimelineBandOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()If specified, the band shows only items matching this filter
optional string filter = 13;- Specified by:
getFilterBytesin interfaceTimelineBandOrBuilder- Returns:
- The bytes for filter.
-
setFilter
If specified, the band shows only items matching this filter
optional string filter = 13;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
If specified, the band shows only items matching this filter
optional string filter = 13;- Returns:
- This builder for chaining.
-
setFilterBytes
If specified, the band shows only items matching this filter
optional string filter = 13;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
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.
-
setType
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 9;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 9;- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()Detailed description of this band
optional string description = 10;- Specified by:
hasDescriptionin interfaceTimelineBandOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
Detailed description of this band
optional string description = 10;- Specified by:
getDescriptionin interfaceTimelineBandOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Detailed description of this band
optional string description = 10;- Specified by:
getDescriptionBytesin interfaceTimelineBandOrBuilder- Returns:
- The bytes for description.
-
setDescription
Detailed description of this band
optional string description = 10;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Detailed description of this band
optional string description = 10;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Detailed description of this band
optional string description = 10;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getPropertiesCount
public int getPropertiesCount()Description copied from interface:TimelineBandOrBuilderAdditional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 11;- Specified by:
getPropertiesCountin interfaceTimelineBandOrBuilder
-
containsProperties
Additional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 11;- Specified by:
containsPropertiesin interfaceTimelineBandOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceTimelineBandOrBuilder
-
getPropertiesMap
Additional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 11;- Specified by:
getPropertiesMapin interfaceTimelineBandOrBuilder
-
getPropertiesOrDefault
Additional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 11;- Specified by:
getPropertiesOrDefaultin interfaceTimelineBandOrBuilder
-
getPropertiesOrThrow
Additional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 11;- Specified by:
getPropertiesOrThrowin interfaceTimelineBandOrBuilder
-
clearProperties
-
removeProperties
Additional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 11; -
getMutableProperties
Deprecated.Use alternate mutation accessors instead. -
putProperties
Additional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 11; -
putAllProperties
Additional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 11; -
getExtraCount
public int getExtraCount()Description copied from interface:TimelineBandOrBuilderMission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 12;- Specified by:
getExtraCountin interfaceTimelineBandOrBuilder
-
containsExtra
Mission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 12;- Specified by:
containsExtrain interfaceTimelineBandOrBuilder
-
getExtra
Deprecated.UsegetExtraMap()instead.- Specified by:
getExtrain interfaceTimelineBandOrBuilder
-
getExtraMap
Mission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 12;- Specified by:
getExtraMapin interfaceTimelineBandOrBuilder
-
getExtraOrDefault
Mission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 12;- Specified by:
getExtraOrDefaultin interfaceTimelineBandOrBuilder
-
getExtraOrThrow
Mission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 12;- Specified by:
getExtraOrThrowin interfaceTimelineBandOrBuilder
-
clearExtra
-
removeExtra
Mission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 12; -
getMutableExtra
Deprecated.Use alternate mutation accessors instead. -
putExtra
Mission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 12; -
putAllExtra
Mission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 12;
-