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 type
yamcs.protobuf.timeline.AddBandRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags(Iterable<String> values) Items containing these tags will be part of the timelineaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) Items 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 descriptionclearField(com.google.protobuf.Descriptors.FieldDescriptor field) Yamcs instance nameBand nameclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) if true, all users have access to this band, otherwise only the user who has created itthe band contains only items from this sourceItems containing these tags will be part of the timelineType of bandclone()booleancontainsProperties(String key) Additional properties used by yamcs-web to render this bandBand descriptioncom.google.protobuf.ByteStringBand descriptionstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorYamcs instance namecom.google.protobuf.ByteStringYamcs instance nameDeprecated.getName()Band namecom.google.protobuf.ByteStringBand nameDeprecated.intAdditional properties used by yamcs-web to render this bandAdditional properties used by yamcs-web to render this bandgetPropertiesOrDefault(String key, String defaultValue) Additional properties used by yamcs-web to render this bandAdditional properties used by yamcs-web to render this bandbooleanif 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) 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 descriptionbooleanYamcs 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 bandprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(AddBandRequest other) final AddBandRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllProperties(Map<String, String> values) Additional properties used by yamcs-web to render this bandputProperties(String key, String value) Additional properties used by yamcs-web to render this bandremoveProperties(String key) Additional properties used by yamcs-web to render this bandsetDescription(String value) Band descriptionsetDescriptionBytes(com.google.protobuf.ByteString value) Band descriptionsetInstance(String value) Yamcs instance namesetInstanceBytes(com.google.protobuf.ByteString value) Yamcs instance nameBand namesetNameBytes(com.google.protobuf.ByteString value) Band namesetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setShared(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 sourceItems containing these tags will be part of the timelinesetType(TimelineBandType value) Type of bandfinal AddBandRequest.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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() -
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
- 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
- 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
-
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
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AddBandRequest.Builder>
-
clearOneof
- 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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AddBandRequest.Builder>
-
mergeFrom
-
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
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
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.
-
hasName
public boolean hasName()Band name
optional string name = 2;- Specified by:
hasNamein interfaceAddBandRequestOrBuilder- Returns:
- Whether the name field is set.
-
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
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()the band contains only items from this source
optional string source = 4;- Specified by:
hasSourcein interfaceAddBandRequestOrBuilder- Returns:
- Whether the source field is set.
-
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
the band contains only items from this source
optional string source = 4;- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
the band contains only items from this source
optional string source = 4;- Returns:
- This builder for chaining.
-
setSourceBytes
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
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
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.
-
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
Type of band
optional .yamcs.protobuf.timeline.TimelineBandType type = 7;- Specified by:
getTypein interfaceAddBandRequestOrBuilder- 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 interfaceAddBandRequestOrBuilder- Returns:
- Whether the description field is set.
-
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
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:AddBandRequestOrBuilderAdditional properties used by yamcs-web to render this band
map<string, string> properties = 9;- Specified by:
getPropertiesCountin interfaceAddBandRequestOrBuilder
-
containsProperties
Additional properties used by yamcs-web to render this band
map<string, string> properties = 9;- Specified by:
containsPropertiesin interfaceAddBandRequestOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceAddBandRequestOrBuilder
-
getPropertiesMap
Additional properties used by yamcs-web to render this band
map<string, string> properties = 9;- Specified by:
getPropertiesMapin interfaceAddBandRequestOrBuilder
-
getPropertiesOrDefault
Additional properties used by yamcs-web to render this band
map<string, string> properties = 9;- Specified by:
getPropertiesOrDefaultin interfaceAddBandRequestOrBuilder
-
getPropertiesOrThrow
Additional properties used by yamcs-web to render this band
map<string, string> properties = 9;- Specified by:
getPropertiesOrThrowin interfaceAddBandRequestOrBuilder
-
clearProperties
-
removeProperties
Additional properties used by yamcs-web to render this band
map<string, string> properties = 9; -
getMutableProperties
Deprecated.Use alternate mutation accessors instead. -
putProperties
Additional properties used by yamcs-web to render this band
map<string, string> properties = 9; -
putAllProperties
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>
-