Package org.yamcs.protobuf
Class AddBandRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AddBandRequest.Builder>
-
- org.yamcs.protobuf.AddBandRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,AddBandRequestOrBuilder
- Enclosing class:
- AddBandRequest
public static final class AddBandRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AddBandRequest.Builder> implements AddBandRequestOrBuilder
Bands **********************
Protobuf typeyamcs.protobuf.timeline.AddBandRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AddBandRequest.BuilderaddAllTags(Iterable<String> values)Items containing these tags will be part of the timelineAddBandRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AddBandRequest.BuilderaddTags(String value)Items containing these tags will be part of the timelineAddBandRequest.BuilderaddTagsBytes(com.google.protobuf.ByteString value)Items containing these tags will be part of the timelineAddBandRequestbuild()AddBandRequestbuildPartial()AddBandRequest.Builderclear()AddBandRequest.BuilderclearDescription()Band descriptionAddBandRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AddBandRequest.BuilderclearInstance()Yamcs instance nameAddBandRequest.BuilderclearName()Band nameAddBandRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AddBandRequest.BuilderclearProperties()AddBandRequest.BuilderclearShared()if true, all users have access to this band, otherwise only the user who has created itAddBandRequest.BuilderclearSource()the band contains only items from this sourceAddBandRequest.BuilderclearTags()Items containing these tags will be part of the timelineAddBandRequest.BuilderclearType()Type of bandAddBandRequest.Builderclone()booleancontainsProperties(String key)Additional properties used by yamcs-web to render this bandAddBandRequestgetDefaultInstanceForType()StringgetDescription()Band descriptioncom.google.protobuf.ByteStringgetDescriptionBytes()Band descriptionstatic com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetInstance()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)Items containing these tags will be part of the timelinecom.google.protobuf.ByteStringgetTagsBytes(int index)Items containing these tags will be part of the timelineintgetTagsCount()Items containing these tags will be part of the timelinecom.google.protobuf.ProtocolStringListgetTagsList()Items containing these tags will be part of the timelineTimelineBandTypegetType()Type of bandbooleanhasDescription()Band descriptionbooleanhasInstance()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 bandprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()AddBandRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AddBandRequest.BuildermergeFrom(com.google.protobuf.Message other)AddBandRequest.BuildermergeFrom(AddBandRequest other)AddBandRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AddBandRequest.BuilderputAllProperties(Map<String,String> values)Additional properties used by yamcs-web to render this bandAddBandRequest.BuilderputProperties(String key, String value)Additional properties used by yamcs-web to render this bandAddBandRequest.BuilderremoveProperties(String key)Additional properties used by yamcs-web to render this bandAddBandRequest.BuildersetDescription(String value)Band descriptionAddBandRequest.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Band descriptionAddBandRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AddBandRequest.BuildersetInstance(String value)Yamcs instance nameAddBandRequest.BuildersetInstanceBytes(com.google.protobuf.ByteString value)Yamcs instance nameAddBandRequest.BuildersetName(String value)Band nameAddBandRequest.BuildersetNameBytes(com.google.protobuf.ByteString value)Band nameAddBandRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AddBandRequest.BuildersetShared(boolean value)if true, all users have access to this band, otherwise only the user who has created itAddBandRequest.BuildersetSource(String value)the band contains only items from this sourceAddBandRequest.BuildersetSourceBytes(com.google.protobuf.ByteString value)the band contains only items from this sourceAddBandRequest.BuildersetTags(int index, String value)Items containing these tags will be part of the timelineAddBandRequest.BuildersetType(TimelineBandType value)Type of bandAddBandRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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<AddBandRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBandRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AddBandRequest.Builder>
-
clear
public AddBandRequest.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<AddBandRequest.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<AddBandRequest.Builder>
-
getDefaultInstanceForType
public AddBandRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AddBandRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AddBandRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AddBandRequest.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<AddBandRequest.Builder>
-
setField
public AddBandRequest.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<AddBandRequest.Builder>
-
clearField
public AddBandRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBandRequest.Builder>
-
clearOneof
public AddBandRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBandRequest.Builder>
-
setRepeatedField
public AddBandRequest.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<AddBandRequest.Builder>
-
addRepeatedField
public AddBandRequest.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<AddBandRequest.Builder>
-
mergeFrom
public AddBandRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AddBandRequest.Builder>
-
mergeFrom
public AddBandRequest.Builder mergeFrom(AddBandRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBandRequest.Builder>
-
mergeFrom
public AddBandRequest.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<AddBandRequest.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()
Yamcs instance name
optional string instance = 1;- Specified by:
hasInstancein interfaceAddBandRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
public String getInstance()
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceAddBandRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()
Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceAddBandRequestOrBuilder- Returns:
- The bytes for instance.
-
setInstance
public AddBandRequest.Builder setInstance(String value)
Yamcs instance name
optional string instance = 1;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
public AddBandRequest.Builder clearInstance()
Yamcs instance name
optional string instance = 1;- Returns:
- This builder for chaining.
-
setInstanceBytes
public AddBandRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
Yamcs instance name
optional string instance = 1;- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
Band name
optional string name = 2;- Specified by:
hasNamein interfaceAddBandRequestOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Band name
optional string name = 2;- Specified by:
getNamein interfaceAddBandRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Band name
optional string name = 2;- Specified by:
getNameBytesin interfaceAddBandRequestOrBuilder- Returns:
- The bytes for name.
-
setName
public AddBandRequest.Builder setName(String value)
Band name
optional string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public AddBandRequest.Builder clearName()
Band name
optional string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
public AddBandRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Band name
optional string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasShared
public boolean hasShared()
if true, all users have access to this band, otherwise only the user who has created it
optional bool shared = 3;- Specified by:
hasSharedin interfaceAddBandRequestOrBuilder- 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 = 3;- Specified by:
getSharedin interfaceAddBandRequestOrBuilder- Returns:
- The shared.
-
setShared
public AddBandRequest.Builder setShared(boolean value)
if true, all users have access to this band, otherwise only the user who has created it
optional bool shared = 3;- Parameters:
value- The shared to set.- Returns:
- This builder for chaining.
-
clearShared
public AddBandRequest.Builder clearShared()
if true, all users have access to this band, otherwise only the user who has created it
optional bool shared = 3;- Returns:
- This builder for chaining.
-
hasSource
public boolean hasSource()
the band contains only items from this source
optional string source = 4;- Specified by:
hasSourcein interfaceAddBandRequestOrBuilder- Returns:
- Whether the source field is set.
-
getSource
public String getSource()
the band contains only items from this source
optional string source = 4;- Specified by:
getSourcein interfaceAddBandRequestOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
the band contains only items from this source
optional string source = 4;- Specified by:
getSourceBytesin interfaceAddBandRequestOrBuilder- Returns:
- The bytes for source.
-
setSource
public AddBandRequest.Builder setSource(String value)
the band contains only items from this source
optional string source = 4;- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
public AddBandRequest.Builder clearSource()
the band contains only items from this source
optional string source = 4;- Returns:
- This builder for chaining.
-
setSourceBytes
public AddBandRequest.Builder setSourceBytes(com.google.protobuf.ByteString value)
the band contains only items from this source
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 interfaceAddBandRequestOrBuilder- 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 interfaceAddBandRequestOrBuilder- Returns:
- The count of tags.
-
getTags
public String getTags(int index)
Items containing these tags will be part of the timeline
repeated string tags = 5;- Specified by:
getTagsin interfaceAddBandRequestOrBuilder- 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 interfaceAddBandRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
public AddBandRequest.Builder setTags(int index, String value)
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
public AddBandRequest.Builder addTags(String value)
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
public AddBandRequest.Builder addAllTags(Iterable<String> values)
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
public AddBandRequest.Builder clearTags()
Items containing these tags will be part of the timeline
repeated string tags = 5;- Returns:
- This builder for chaining.
-
addTagsBytes
public AddBandRequest.Builder addTagsBytes(com.google.protobuf.ByteString value)
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.
-
hasType
public boolean hasType()
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 7;- Specified by:
hasTypein interfaceAddBandRequestOrBuilder- Returns:
- Whether the type field is set.
-
getType
public TimelineBandType getType()
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 7;- Specified by:
getTypein interfaceAddBandRequestOrBuilder- Returns:
- The type.
-
setType
public AddBandRequest.Builder setType(TimelineBandType value)
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 7;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public AddBandRequest.Builder 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 interfaceAddBandRequestOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
Band description
optional string description = 8;- Specified by:
getDescriptionin interfaceAddBandRequestOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Band description
optional string description = 8;- Specified by:
getDescriptionBytesin interfaceAddBandRequestOrBuilder- Returns:
- The bytes for description.
-
setDescription
public AddBandRequest.Builder setDescription(String value)
Band description
optional string description = 8;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public AddBandRequest.Builder clearDescription()
Band description
optional string description = 8;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public AddBandRequest.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
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:AddBandRequestOrBuilderAdditional properties used by yamcs-web to render this band
map<string, string> properties = 9;- Specified by:
getPropertiesCountin interfaceAddBandRequestOrBuilder
-
containsProperties
public boolean containsProperties(String key)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 9;- Specified by:
containsPropertiesin interfaceAddBandRequestOrBuilder
-
getProperties
@Deprecated public Map<String,String> getProperties()
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceAddBandRequestOrBuilder
-
getPropertiesMap
public Map<String,String> getPropertiesMap()
Additional properties used by yamcs-web to render this band
map<string, string> properties = 9;- Specified by:
getPropertiesMapin interfaceAddBandRequestOrBuilder
-
getPropertiesOrDefault
public String getPropertiesOrDefault(String key, String defaultValue)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 9;- Specified by:
getPropertiesOrDefaultin interfaceAddBandRequestOrBuilder
-
getPropertiesOrThrow
public String getPropertiesOrThrow(String key)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 9;- Specified by:
getPropertiesOrThrowin interfaceAddBandRequestOrBuilder
-
clearProperties
public AddBandRequest.Builder clearProperties()
-
removeProperties
public AddBandRequest.Builder removeProperties(String key)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 9;
-
getMutableProperties
@Deprecated public Map<String,String> getMutableProperties()
Deprecated.Use alternate mutation accessors instead.
-
putProperties
public AddBandRequest.Builder putProperties(String key, String value)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 9;
-
putAllProperties
public AddBandRequest.Builder putAllProperties(Map<String,String> values)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 9;
-
setUnknownFields
public final AddBandRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBandRequest.Builder>
-
mergeUnknownFields
public final AddBandRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBandRequest.Builder>
-
-