Package org.yamcs.protobuf
Class TimelineBand.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<TimelineBand.Builder> implements TimelineBandOrBuilder
Protobuf typeyamcs.protobuf.timeline.TimelineBand
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TimelineBand.BuilderaddAllTags(Iterable<String> values)the band contains only items with these tags; if the list is empty, then all items from the given source are part of the bandTimelineBand.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TimelineBand.BuilderaddTags(String value)the band contains only items with these tags; if the list is empty, then all items from the given source are part of the bandTimelineBand.BuilderaddTagsBytes(com.google.protobuf.ByteString value)the band contains only items with these tags; if the list is empty, then all items from the given source are part of the bandTimelineBandbuild()TimelineBandbuildPartial()TimelineBand.Builderclear()TimelineBand.BuilderclearDescription()Band descriptionTimelineBand.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TimelineBand.BuilderclearId()Band identifierTimelineBand.BuilderclearInstance()Yamcs instance nameTimelineBand.BuilderclearName()Band nameTimelineBand.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TimelineBand.BuilderclearProperties()TimelineBand.BuilderclearShared()if true, all users have access to this band, otherwise only the user who has created itTimelineBand.BuilderclearSource()the band contains only items from this sourceTimelineBand.BuilderclearTags()the band contains only items with these tags; if the list is empty, then all items from the given source are part of the bandTimelineBand.BuilderclearType()Type of bandTimelineBand.BuilderclearUsername()user who has created the bandTimelineBand.Builderclone()booleancontainsProperties(String key)Additional properties used by yamcs-web to render this bandTimelineBandgetDefaultInstanceForType()StringgetDescription()Band descriptioncom.google.protobuf.ByteStringgetDescriptionBytes()Band descriptionstatic com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetId()Band identifiercom.google.protobuf.ByteStringgetIdBytes()Band identifierStringgetInstance()Yamcs instance namecom.google.protobuf.ByteStringgetInstanceBytes()Yamcs instance nameMap<String,String>getMutableProperties()Deprecated.StringgetName()Band namecom.google.protobuf.ByteStringgetNameBytes()Band nameMap<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 bandbooleangetShared()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 bandStringgetUsername()user who has created the bandcom.google.protobuf.ByteStringgetUsernameBytes()user who has created the bandbooleanhasDescription()Band descriptionbooleanhasId()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)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()TimelineBand.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TimelineBand.BuildermergeFrom(com.google.protobuf.Message other)TimelineBand.BuildermergeFrom(TimelineBand other)TimelineBand.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TimelineBand.BuilderputAllProperties(Map<String,String> values)Additional properties used by yamcs-web to render this bandTimelineBand.BuilderputProperties(String key, String value)Additional properties used by yamcs-web to render this bandTimelineBand.BuilderremoveProperties(String key)Additional properties used by yamcs-web to render this bandTimelineBand.BuildersetDescription(String value)Band descriptionTimelineBand.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Band descriptionTimelineBand.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TimelineBand.BuildersetId(String value)Band identifierTimelineBand.BuildersetIdBytes(com.google.protobuf.ByteString value)Band identifierTimelineBand.BuildersetInstance(String value)Yamcs instance nameTimelineBand.BuildersetInstanceBytes(com.google.protobuf.ByteString value)Yamcs instance nameTimelineBand.BuildersetName(String value)Band nameTimelineBand.BuildersetNameBytes(com.google.protobuf.ByteString value)Band nameTimelineBand.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TimelineBand.BuildersetShared(boolean value)if true, all users have access to this band, otherwise only the user who has created itTimelineBand.BuildersetSource(String value)the band contains only items from this sourceTimelineBand.BuildersetSourceBytes(com.google.protobuf.ByteString value)the band contains only items from this sourceTimelineBand.BuildersetTags(int index, String value)the band contains only items with these tags; if the list is empty, then all items from the given source are part of the bandTimelineBand.BuildersetType(TimelineBandType value)Type of bandTimelineBand.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TimelineBand.BuildersetUsername(String value)user who has created the bandTimelineBand.BuildersetUsernameBytes(com.google.protobuf.ByteString value)user who has created the band-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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<TimelineBand.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineBand.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineBand.Builder>
-
clear
public TimelineBand.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<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.GeneratedMessageV3.Builder<TimelineBand.Builder>
-
getDefaultInstanceForType
public TimelineBand getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TimelineBand build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TimelineBand buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TimelineBand.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<TimelineBand.Builder>
-
setField
public TimelineBand.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<TimelineBand.Builder>
-
clearField
public TimelineBand.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineBand.Builder>
-
clearOneof
public TimelineBand.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineBand.Builder>
-
setRepeatedField
public TimelineBand.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<TimelineBand.Builder>
-
addRepeatedField
public TimelineBand.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<TimelineBand.Builder>
-
mergeFrom
public TimelineBand.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TimelineBand.Builder>
-
mergeFrom
public TimelineBand.Builder mergeFrom(TimelineBand other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
-
getInstance
public String getInstance()
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceTimelineBandOrBuilder
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()
Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceTimelineBandOrBuilder
-
setInstance
public TimelineBand.Builder setInstance(String value)
Yamcs instance name
optional string instance = 1;
-
clearInstance
public TimelineBand.Builder clearInstance()
Yamcs instance name
optional string instance = 1;
-
setInstanceBytes
public TimelineBand.Builder setInstanceBytes(com.google.protobuf.ByteString value)
Yamcs instance name
optional string instance = 1;
-
hasId
public boolean hasId()
Band identifier
optional string id = 2;- Specified by:
hasIdin interfaceTimelineBandOrBuilder
-
getId
public String getId()
Band identifier
optional string id = 2;- Specified by:
getIdin interfaceTimelineBandOrBuilder
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Band identifier
optional string id = 2;- Specified by:
getIdBytesin interfaceTimelineBandOrBuilder
-
setId
public TimelineBand.Builder setId(String value)
Band identifier
optional string id = 2;
-
clearId
public TimelineBand.Builder clearId()
Band identifier
optional string id = 2;
-
setIdBytes
public TimelineBand.Builder setIdBytes(com.google.protobuf.ByteString value)
Band identifier
optional string id = 2;
-
hasName
public boolean hasName()
Band name
optional string name = 3;- Specified by:
hasNamein interfaceTimelineBandOrBuilder
-
getName
public String getName()
Band name
optional string name = 3;- Specified by:
getNamein interfaceTimelineBandOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Band name
optional string name = 3;- Specified by:
getNameBytesin interfaceTimelineBandOrBuilder
-
setName
public TimelineBand.Builder setName(String value)
Band name
optional string name = 3;
-
clearName
public TimelineBand.Builder clearName()
Band name
optional string name = 3;
-
setNameBytes
public TimelineBand.Builder setNameBytes(com.google.protobuf.ByteString value)
Band name
optional string name = 3;
-
hasUsername
public boolean hasUsername()
user who has created the band
optional string username = 4;- Specified by:
hasUsernamein interfaceTimelineBandOrBuilder
-
getUsername
public String getUsername()
user who has created the band
optional string username = 4;- Specified by:
getUsernamein interfaceTimelineBandOrBuilder
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()
user who has created the band
optional string username = 4;- Specified by:
getUsernameBytesin interfaceTimelineBandOrBuilder
-
setUsername
public TimelineBand.Builder setUsername(String value)
user who has created the band
optional string username = 4;
-
clearUsername
public TimelineBand.Builder clearUsername()
user who has created the band
optional string username = 4;
-
setUsernameBytes
public TimelineBand.Builder setUsernameBytes(com.google.protobuf.ByteString value)
user who has created the band
optional string username = 4;
-
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
-
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
-
setShared
public TimelineBand.Builder setShared(boolean value)
if true, all users have access to this band, otherwise only the user who has created it
optional bool shared = 5;
-
clearShared
public TimelineBand.Builder clearShared()
if true, all users have access to this band, otherwise only the user who has created it
optional bool shared = 5;
-
hasSource
public boolean hasSource()
the band contains only items from this source
optional string source = 6;- Specified by:
hasSourcein interfaceTimelineBandOrBuilder
-
getSource
public String getSource()
the band contains only items from this source
optional string source = 6;- Specified by:
getSourcein interfaceTimelineBandOrBuilder
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
the band contains only items from this source
optional string source = 6;- Specified by:
getSourceBytesin interfaceTimelineBandOrBuilder
-
setSource
public TimelineBand.Builder setSource(String value)
the band contains only items from this source
optional string source = 6;
-
clearSource
public TimelineBand.Builder clearSource()
the band contains only items from this source
optional string source = 6;
-
setSourceBytes
public TimelineBand.Builder setSourceBytes(com.google.protobuf.ByteString value)
the band contains only items from this source
optional string source = 6;
-
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
-
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
-
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
-
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
-
setTags
public TimelineBand.Builder setTags(int index, String value)
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;
-
addTags
public TimelineBand.Builder addTags(String value)
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;
-
addAllTags
public TimelineBand.Builder addAllTags(Iterable<String> values)
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;
-
clearTags
public TimelineBand.Builder clearTags()
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;
-
addTagsBytes
public TimelineBand.Builder addTagsBytes(com.google.protobuf.ByteString value)
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;
-
hasType
public boolean hasType()
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 9;- Specified by:
hasTypein interfaceTimelineBandOrBuilder
-
getType
public TimelineBandType getType()
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 9;- Specified by:
getTypein interfaceTimelineBandOrBuilder
-
setType
public TimelineBand.Builder setType(TimelineBandType value)
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 9;
-
clearType
public TimelineBand.Builder clearType()
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 9;
-
hasDescription
public boolean hasDescription()
Band description
optional string description = 10;- Specified by:
hasDescriptionin interfaceTimelineBandOrBuilder
-
getDescription
public String getDescription()
Band description
optional string description = 10;- Specified by:
getDescriptionin interfaceTimelineBandOrBuilder
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Band description
optional string description = 10;- Specified by:
getDescriptionBytesin interfaceTimelineBandOrBuilder
-
setDescription
public TimelineBand.Builder setDescription(String value)
Band description
optional string description = 10;
-
clearDescription
public TimelineBand.Builder clearDescription()
Band description
optional string description = 10;
-
setDescriptionBytes
public TimelineBand.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Band description
optional string description = 10;
-
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
-
clearProperties
public TimelineBand.Builder clearProperties()
-
removeProperties
public TimelineBand.Builder removeProperties(String key)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;
-
getMutableProperties
@Deprecated public Map<String,String> getMutableProperties()
Deprecated.Use alternate mutation accessors instead.
-
putProperties
public TimelineBand.Builder putProperties(String key, String value)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;
-
putAllProperties
public TimelineBand.Builder putAllProperties(Map<String,String> values)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 11;
-
setUnknownFields
public final TimelineBand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineBand.Builder>
-
mergeUnknownFields
public final TimelineBand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TimelineBand.Builder>
-
-