java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SaveBandRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<SaveBandRequest.Builder>
org.yamcs.protobuf.SaveBandRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,SaveBandRequestOrBuilder
- Enclosing class:
SaveBandRequest
public static final class SaveBandRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SaveBandRequest.Builder>
implements SaveBandRequestOrBuilder
Protobuf type
yamcs.protobuf.timeline.SaveBandRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags(Iterable<String> values) Items containing these tags will be part of the timelineItems containing these tags will be part of the timelineaddTagsBytes(com.google.protobuf.ByteString value) Items containing these tags will be part of the timelinebuild()clear()Band descriptionIf specified, the band shows only items matching this filterclearId()Optional band identifier.Yamcs instance nameBand nameIf true, all users have access to this band, otherwise only the user who has created itWhere the items shown on this band come fromItems containing these tags will be part of the timelineType of bandbooleancontainsExtra(String key) Mission-specific custom data.booleancontainsProperties(String key) Additional properties used by the Yamcs Web UI for rendering purposes.Band descriptioncom.google.protobuf.ByteStringBand descriptionstatic 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()Optional band identifier.com.google.protobuf.ByteStringOptional band identifier.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 itWhere the items shown on this band come fromcom.google.protobuf.ByteStringWhere the items shown on this band come fromgetTags(int index) Items containing these tags will be part of the timelinecom.google.protobuf.ByteStringgetTagsBytes(int index) Items containing these tags will be part of the timelineintItems containing these tags will be part of the timelinecom.google.protobuf.ProtocolStringListItems containing these tags will be part of the timelinegetType()Type of bandbooleanBand descriptionbooleanIf specified, the band shows only items matching this filterbooleanhasId()Optional band identifier.booleanYamcs instance namebooleanhasName()Band namebooleanIf true, all users have access to this band, otherwise only the user who has created itbooleanWhere the items shown on this band come frombooleanhasType()Type of 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(SaveBandRequest 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) Band descriptionsetDescriptionBytes(com.google.protobuf.ByteString value) Band descriptionIf specified, the band shows only items matching this filtersetFilterBytes(com.google.protobuf.ByteString value) If specified, the band shows only items matching this filterOptional band identifier.setIdBytes(com.google.protobuf.ByteString value) Optional band identifier.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 itWhere the items shown on this band come fromsetSourceBytes(com.google.protobuf.ByteString value) Where the items shown on this band come fromItems containing these tags will be part of the timelinesetType(TimelineBandType value) Type of 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<SaveBandRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<SaveBandRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SaveBandRequest.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<SaveBandRequest.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<SaveBandRequest.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<SaveBandRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SaveBandRequest.Builder>
-
mergeFrom
public SaveBandRequest.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<SaveBandRequest.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;- Specified by:
hasInstancein interfaceSaveBandRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceSaveBandRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceSaveBandRequestOrBuilder- 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()Optional band identifier. If not set, an ID will be assigned by the server. If set, it should be a valid UUID.
optional string id = 10;- Specified by:
hasIdin interfaceSaveBandRequestOrBuilder- Returns:
- Whether the id field is set.
-
getId
Optional band identifier. If not set, an ID will be assigned by the server. If set, it should be a valid UUID.
optional string id = 10;- Specified by:
getIdin interfaceSaveBandRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Optional band identifier. If not set, an ID will be assigned by the server. If set, it should be a valid UUID.
optional string id = 10;- Specified by:
getIdBytesin interfaceSaveBandRequestOrBuilder- Returns:
- The bytes for id.
-
setId
Optional band identifier. If not set, an ID will be assigned by the server. If set, it should be a valid UUID.
optional string id = 10;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Optional band identifier. If not set, an ID will be assigned by the server. If set, it should be a valid UUID.
optional string id = 10;- Returns:
- This builder for chaining.
-
setIdBytes
Optional band identifier. If not set, an ID will be assigned by the server. If set, it should be a valid UUID.
optional string id = 10;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()Band name
optional string name = 2;- Specified by:
hasNamein interfaceSaveBandRequestOrBuilder- Returns:
- Whether the name field is set.
-
getName
Band name
optional string name = 2;- Specified by:
getNamein interfaceSaveBandRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Band name
optional string name = 2;- Specified by:
getNameBytesin interfaceSaveBandRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Band name
optional string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Band name
optional string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
Band name
optional string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasSource
public boolean hasSource()Where the items shown on this band come from
optional string source = 4;- Specified by:
hasSourcein interfaceSaveBandRequestOrBuilder- Returns:
- Whether the source field is set.
-
getSource
Where the items shown on this band come from
optional string source = 4;- Specified by:
getSourcein interfaceSaveBandRequestOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()Where the items shown on this band come from
optional string source = 4;- Specified by:
getSourceBytesin interfaceSaveBandRequestOrBuilder- Returns:
- The bytes for source.
-
setSource
Where the items shown on this band come from
optional string source = 4;- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
Where the items shown on this band come from
optional string source = 4;- Returns:
- This builder for chaining.
-
setSourceBytes
Where the items shown on this band come from
optional string source = 4;- Parameters:
value- The bytes for source to set.- Returns:
- This builder for chaining.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()Items containing these tags will be part of the timeline
repeated string tags = 5;- Specified by:
getTagsListin interfaceSaveBandRequestOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()Items containing these tags will be part of the timeline
repeated string tags = 5;- Specified by:
getTagsCountin interfaceSaveBandRequestOrBuilder- Returns:
- The count of tags.
-
getTags
Items containing these tags will be part of the timeline
repeated string tags = 5;- Specified by:
getTagsin interfaceSaveBandRequestOrBuilder- 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) Items containing these tags will be part of the timeline
repeated string tags = 5;- Specified by:
getTagsBytesin interfaceSaveBandRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
Items containing these tags will be part of the timeline
repeated string tags = 5;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
Items containing these tags will be part of the timeline
repeated string tags = 5;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
Items containing these tags will be part of the timeline
repeated string tags = 5;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
Items containing these tags will be part of the timeline
repeated string tags = 5;- Returns:
- This builder for chaining.
-
addTagsBytes
Items containing these tags will be part of the timeline
repeated string tags = 5;- 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 = 12;- Specified by:
hasFilterin interfaceSaveBandRequestOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
If specified, the band shows only items matching this filter
optional string filter = 12;- Specified by:
getFilterin interfaceSaveBandRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()If specified, the band shows only items matching this filter
optional string filter = 12;- Specified by:
getFilterBytesin interfaceSaveBandRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
If specified, the band shows only items matching this filter
optional string filter = 12;- 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 = 12;- Returns:
- This builder for chaining.
-
setFilterBytes
If specified, the band shows only items matching this filter
optional string filter = 12;- 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 = 7;- Specified by:
hasTypein interfaceSaveBandRequestOrBuilder- Returns:
- Whether the type field is set.
-
getType
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 7;- Specified by:
getTypein interfaceSaveBandRequestOrBuilder- Returns:
- The type.
-
setType
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 7;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 7;- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()Band description
optional string description = 8;- Specified by:
hasDescriptionin interfaceSaveBandRequestOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
Band description
optional string description = 8;- Specified by:
getDescriptionin interfaceSaveBandRequestOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Band description
optional string description = 8;- Specified by:
getDescriptionBytesin interfaceSaveBandRequestOrBuilder- Returns:
- The bytes for description.
-
setDescription
Band description
optional string description = 8;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Band description
optional string description = 8;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Band description
optional string description = 8;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getPropertiesCount
public int getPropertiesCount()Description copied from interface:SaveBandRequestOrBuilderAdditional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 9;- Specified by:
getPropertiesCountin interfaceSaveBandRequestOrBuilder
-
containsProperties
Additional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 9;- Specified by:
containsPropertiesin interfaceSaveBandRequestOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceSaveBandRequestOrBuilder
-
getPropertiesMap
Additional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 9;- Specified by:
getPropertiesMapin interfaceSaveBandRequestOrBuilder
-
getPropertiesOrDefault
Additional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 9;- Specified by:
getPropertiesOrDefaultin interfaceSaveBandRequestOrBuilder
-
getPropertiesOrThrow
Additional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 9;- Specified by:
getPropertiesOrThrowin interfaceSaveBandRequestOrBuilder
-
clearProperties
-
removeProperties
Additional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 9; -
getMutableProperties
Deprecated.Use alternate mutation accessors instead. -
putProperties
Additional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 9; -
putAllProperties
Additional properties used by the Yamcs Web UI for rendering purposes.
map<string, string> properties = 9; -
getExtraCount
public int getExtraCount()Description copied from interface:SaveBandRequestOrBuilderMission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 11;- Specified by:
getExtraCountin interfaceSaveBandRequestOrBuilder
-
containsExtra
Mission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 11;- Specified by:
containsExtrain interfaceSaveBandRequestOrBuilder
-
getExtra
Deprecated.UsegetExtraMap()instead.- Specified by:
getExtrain interfaceSaveBandRequestOrBuilder
-
getExtraMap
Mission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 11;- Specified by:
getExtraMapin interfaceSaveBandRequestOrBuilder
-
getExtraOrDefault
Mission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 11;- Specified by:
getExtraOrDefaultin interfaceSaveBandRequestOrBuilder
-
getExtraOrThrow
Mission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 11;- Specified by:
getExtraOrThrowin interfaceSaveBandRequestOrBuilder
-
clearExtra
-
removeExtra
Mission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 11; -
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 = 11; -
putAllExtra
Mission-specific custom data. Unlike `properties`, this field is ignored by the Yamcs Web UI.
map<string, string> extra = 11;
-