Package org.yamcs.protobuf
Class UpdateBandRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
- org.yamcs.protobuf.UpdateBandRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,UpdateBandRequestOrBuilder
- Enclosing class:
- UpdateBandRequest
public static final class UpdateBandRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder> implements UpdateBandRequestOrBuilder
Protobuf typeyamcs.protobuf.timeline.UpdateBandRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description UpdateBandRequest.BuilderaddAllTags(Iterable<String> values)Items containing these tags will be part of the timelineUpdateBandRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UpdateBandRequest.BuilderaddTags(String value)Items containing these tags will be part of the timelineUpdateBandRequest.BuilderaddTagsBytes(com.google.protobuf.ByteString value)Items containing these tags will be part of the timelineUpdateBandRequestbuild()UpdateBandRequestbuildPartial()UpdateBandRequest.Builderclear()UpdateBandRequest.BuilderclearDescription()Band descriptionUpdateBandRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)UpdateBandRequest.BuilderclearId()Band identifierUpdateBandRequest.BuilderclearInstance()Yamcs instance nameUpdateBandRequest.BuilderclearName()Band nameUpdateBandRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)UpdateBandRequest.BuilderclearProperties()UpdateBandRequest.BuilderclearShared()if true, all users have access to this band, otherwise only the user who has created itUpdateBandRequest.BuilderclearTags()Items containing these tags will be part of the timelineUpdateBandRequest.Builderclone()booleancontainsProperties(String key)Additional properties used by yamcs-web to render this bandUpdateBandRequestgetDefaultInstanceForType()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 itStringgetTags(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 timelinebooleanhasDescription()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 itprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()UpdateBandRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UpdateBandRequest.BuildermergeFrom(com.google.protobuf.Message other)UpdateBandRequest.BuildermergeFrom(UpdateBandRequest other)UpdateBandRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UpdateBandRequest.BuilderputAllProperties(Map<String,String> values)Additional properties used by yamcs-web to render this bandUpdateBandRequest.BuilderputProperties(String key, String value)Additional properties used by yamcs-web to render this bandUpdateBandRequest.BuilderremoveProperties(String key)Additional properties used by yamcs-web to render this bandUpdateBandRequest.BuildersetDescription(String value)Band descriptionUpdateBandRequest.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Band descriptionUpdateBandRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UpdateBandRequest.BuildersetId(String value)Band identifierUpdateBandRequest.BuildersetIdBytes(com.google.protobuf.ByteString value)Band identifierUpdateBandRequest.BuildersetInstance(String value)Yamcs instance nameUpdateBandRequest.BuildersetInstanceBytes(com.google.protobuf.ByteString value)Yamcs instance nameUpdateBandRequest.BuildersetName(String value)Band nameUpdateBandRequest.BuildersetNameBytes(com.google.protobuf.ByteString value)Band nameUpdateBandRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)UpdateBandRequest.BuildersetShared(boolean value)if true, all users have access to this band, otherwise only the user who has created itUpdateBandRequest.BuildersetTags(int index, String value)Items containing these tags will be part of the timelineUpdateBandRequest.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<UpdateBandRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
clear
public UpdateBandRequest.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<UpdateBandRequest.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<UpdateBandRequest.Builder>
-
getDefaultInstanceForType
public UpdateBandRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpdateBandRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpdateBandRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UpdateBandRequest.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<UpdateBandRequest.Builder>
-
setField
public UpdateBandRequest.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<UpdateBandRequest.Builder>
-
clearField
public UpdateBandRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
clearOneof
public UpdateBandRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
setRepeatedField
public UpdateBandRequest.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<UpdateBandRequest.Builder>
-
addRepeatedField
public UpdateBandRequest.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<UpdateBandRequest.Builder>
-
mergeFrom
public UpdateBandRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateBandRequest.Builder>
-
mergeFrom
public UpdateBandRequest.Builder mergeFrom(UpdateBandRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
mergeFrom
public UpdateBandRequest.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<UpdateBandRequest.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()
Yamcs instance name
optional string instance = 1;- Specified by:
hasInstancein interfaceUpdateBandRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
public String getInstance()
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceUpdateBandRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()
Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceUpdateBandRequestOrBuilder- Returns:
- The bytes for instance.
-
setInstance
public UpdateBandRequest.Builder setInstance(String value)
Yamcs instance name
optional string instance = 1;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
public UpdateBandRequest.Builder clearInstance()
Yamcs instance name
optional string instance = 1;- Returns:
- This builder for chaining.
-
setInstanceBytes
public UpdateBandRequest.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.
-
hasId
public boolean hasId()
Band identifier
optional string id = 2;- Specified by:
hasIdin interfaceUpdateBandRequestOrBuilder- Returns:
- Whether the id field is set.
-
getId
public String getId()
Band identifier
optional string id = 2;- Specified by:
getIdin interfaceUpdateBandRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Band identifier
optional string id = 2;- Specified by:
getIdBytesin interfaceUpdateBandRequestOrBuilder- Returns:
- The bytes for id.
-
setId
public UpdateBandRequest.Builder setId(String value)
Band identifier
optional string id = 2;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public UpdateBandRequest.Builder clearId()
Band identifier
optional string id = 2;- Returns:
- This builder for chaining.
-
setIdBytes
public UpdateBandRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
Band identifier
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 interfaceUpdateBandRequestOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Band name
optional string name = 3;- Specified by:
getNamein interfaceUpdateBandRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Band name
optional string name = 3;- Specified by:
getNameBytesin interfaceUpdateBandRequestOrBuilder- Returns:
- The bytes for name.
-
setName
public UpdateBandRequest.Builder setName(String value)
Band name
optional string name = 3;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public UpdateBandRequest.Builder clearName()
Band name
optional string name = 3;- Returns:
- This builder for chaining.
-
setNameBytes
public UpdateBandRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Band name
optional string name = 3;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
Band description
optional string description = 4;- Specified by:
hasDescriptionin interfaceUpdateBandRequestOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
Band description
optional string description = 4;- Specified by:
getDescriptionin interfaceUpdateBandRequestOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Band description
optional string description = 4;- Specified by:
getDescriptionBytesin interfaceUpdateBandRequestOrBuilder- Returns:
- The bytes for description.
-
setDescription
public UpdateBandRequest.Builder setDescription(String value)
Band description
optional string description = 4;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public UpdateBandRequest.Builder clearDescription()
Band description
optional string description = 4;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public UpdateBandRequest.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Band description
optional string description = 4;- Parameters:
value- The bytes for description 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 = 5;- Specified by:
hasSharedin interfaceUpdateBandRequestOrBuilder- 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 = 5;- Specified by:
getSharedin interfaceUpdateBandRequestOrBuilder- Returns:
- The shared.
-
setShared
public UpdateBandRequest.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;- Parameters:
value- The shared to set.- Returns:
- This builder for chaining.
-
clearShared
public UpdateBandRequest.Builder clearShared()
if true, all users have access to this band, otherwise only the user who has created it
optional bool shared = 5;- 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 = 6;- Specified by:
getTagsListin interfaceUpdateBandRequestOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()
Items containing these tags will be part of the timeline
repeated string tags = 6;- Specified by:
getTagsCountin interfaceUpdateBandRequestOrBuilder- Returns:
- The count of tags.
-
getTags
public String getTags(int index)
Items containing these tags will be part of the timeline
repeated string tags = 6;- Specified by:
getTagsin interfaceUpdateBandRequestOrBuilder- 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 = 6;- Specified by:
getTagsBytesin interfaceUpdateBandRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
public UpdateBandRequest.Builder setTags(int index, String value)
Items containing these tags will be part of the timeline
repeated string tags = 6;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
public UpdateBandRequest.Builder addTags(String value)
Items containing these tags will be part of the timeline
repeated string tags = 6;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
public UpdateBandRequest.Builder addAllTags(Iterable<String> values)
Items containing these tags will be part of the timeline
repeated string tags = 6;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
public UpdateBandRequest.Builder clearTags()
Items containing these tags will be part of the timeline
repeated string tags = 6;- Returns:
- This builder for chaining.
-
addTagsBytes
public UpdateBandRequest.Builder addTagsBytes(com.google.protobuf.ByteString value)
Items containing these tags will be part of the timeline
repeated string tags = 6;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
getPropertiesCount
public int getPropertiesCount()
Description copied from interface:UpdateBandRequestOrBuilderAdditional properties used by yamcs-web to render this band
map<string, string> properties = 7;- Specified by:
getPropertiesCountin interfaceUpdateBandRequestOrBuilder
-
containsProperties
public boolean containsProperties(String key)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 7;- Specified by:
containsPropertiesin interfaceUpdateBandRequestOrBuilder
-
getProperties
@Deprecated public Map<String,String> getProperties()
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceUpdateBandRequestOrBuilder
-
getPropertiesMap
public Map<String,String> getPropertiesMap()
Additional properties used by yamcs-web to render this band
map<string, string> properties = 7;- Specified by:
getPropertiesMapin interfaceUpdateBandRequestOrBuilder
-
getPropertiesOrDefault
public String getPropertiesOrDefault(String key, String defaultValue)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 7;- Specified by:
getPropertiesOrDefaultin interfaceUpdateBandRequestOrBuilder
-
getPropertiesOrThrow
public String getPropertiesOrThrow(String key)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 7;- Specified by:
getPropertiesOrThrowin interfaceUpdateBandRequestOrBuilder
-
clearProperties
public UpdateBandRequest.Builder clearProperties()
-
removeProperties
public UpdateBandRequest.Builder removeProperties(String key)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 7;
-
getMutableProperties
@Deprecated public Map<String,String> getMutableProperties()
Deprecated.Use alternate mutation accessors instead.
-
putProperties
public UpdateBandRequest.Builder putProperties(String key, String value)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 7;
-
putAllProperties
public UpdateBandRequest.Builder putAllProperties(Map<String,String> values)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 7;
-
setUnknownFields
public final UpdateBandRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
mergeUnknownFields
public final UpdateBandRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
-