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.Builder
addAllTags(Iterable<String> values)
Items containing these tags will be part of the timelineUpdateBandRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UpdateBandRequest.Builder
addTags(String value)
Items containing these tags will be part of the timelineUpdateBandRequest.Builder
addTagsBytes(com.google.protobuf.ByteString value)
Items containing these tags will be part of the timelineUpdateBandRequest
build()
UpdateBandRequest
buildPartial()
UpdateBandRequest.Builder
clear()
UpdateBandRequest.Builder
clearDescription()
Band descriptionUpdateBandRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UpdateBandRequest.Builder
clearId()
Band identifierUpdateBandRequest.Builder
clearInstance()
Yamcs instance nameUpdateBandRequest.Builder
clearName()
Band nameUpdateBandRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UpdateBandRequest.Builder
clearProperties()
UpdateBandRequest.Builder
clearShared()
if true, all users have access to this band, otherwise only the user who has created itUpdateBandRequest.Builder
clearTags()
Items containing these tags will be part of the timelineUpdateBandRequest.Builder
clone()
boolean
containsProperties(String key)
Additional properties used by yamcs-web to render this bandUpdateBandRequest
getDefaultInstanceForType()
String
getDescription()
Band descriptioncom.google.protobuf.ByteString
getDescriptionBytes()
Band descriptionstatic com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getId()
Band identifiercom.google.protobuf.ByteString
getIdBytes()
Band identifierString
getInstance()
Yamcs instance namecom.google.protobuf.ByteString
getInstanceBytes()
Yamcs instance nameMap<String,String>
getMutableProperties()
Deprecated.String
getName()
Band namecom.google.protobuf.ByteString
getNameBytes()
Band nameMap<String,String>
getProperties()
Deprecated.int
getPropertiesCount()
Additional properties used by yamcs-web to render this bandMap<String,String>
getPropertiesMap()
Additional properties used by yamcs-web to render this bandString
getPropertiesOrDefault(String key, String defaultValue)
Additional properties used by yamcs-web to render this bandString
getPropertiesOrThrow(String key)
Additional properties used by yamcs-web to render this bandboolean
getShared()
if true, all users have access to this band, otherwise only the user who has created itString
getTags(int index)
Items containing these tags will be part of the timelinecom.google.protobuf.ByteString
getTagsBytes(int index)
Items containing these tags will be part of the timelineint
getTagsCount()
Items containing these tags will be part of the timelinecom.google.protobuf.ProtocolStringList
getTagsList()
Items containing these tags will be part of the timelineboolean
hasDescription()
Band descriptionboolean
hasId()
Band identifierboolean
hasInstance()
Yamcs instance nameboolean
hasName()
Band nameboolean
hasShared()
if true, all users have access to this band, otherwise only the user who has created itprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
UpdateBandRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UpdateBandRequest.Builder
mergeFrom(com.google.protobuf.Message other)
UpdateBandRequest.Builder
mergeFrom(UpdateBandRequest other)
UpdateBandRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UpdateBandRequest.Builder
putAllProperties(Map<String,String> values)
Additional properties used by yamcs-web to render this bandUpdateBandRequest.Builder
putProperties(String key, String value)
Additional properties used by yamcs-web to render this bandUpdateBandRequest.Builder
removeProperties(String key)
Additional properties used by yamcs-web to render this bandUpdateBandRequest.Builder
setDescription(String value)
Band descriptionUpdateBandRequest.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Band descriptionUpdateBandRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UpdateBandRequest.Builder
setId(String value)
Band identifierUpdateBandRequest.Builder
setIdBytes(com.google.protobuf.ByteString value)
Band identifierUpdateBandRequest.Builder
setInstance(String value)
Yamcs instance nameUpdateBandRequest.Builder
setInstanceBytes(com.google.protobuf.ByteString value)
Yamcs instance nameUpdateBandRequest.Builder
setName(String value)
Band nameUpdateBandRequest.Builder
setNameBytes(com.google.protobuf.ByteString value)
Band nameUpdateBandRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
UpdateBandRequest.Builder
setShared(boolean value)
if true, all users have access to this band, otherwise only the user who has created itUpdateBandRequest.Builder
setTags(int index, String value)
Items containing these tags will be part of the timelineUpdateBandRequest.Builder
setUnknownFields(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
clear
public UpdateBandRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
getDefaultInstanceForType
public UpdateBandRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpdateBandRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpdateBandRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UpdateBandRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
setField
public UpdateBandRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
clearField
public UpdateBandRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
clearOneof
public UpdateBandRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
setRepeatedField
public UpdateBandRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
addRepeatedField
public UpdateBandRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
mergeFrom
public UpdateBandRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpdateBandRequest.Builder>
-
mergeFrom
public UpdateBandRequest.Builder mergeFrom(UpdateBandRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpdateBandRequest.Builder>
- Throws:
IOException
-
hasInstance
public boolean hasInstance()
Yamcs instance name
optional string instance = 1;
- Specified by:
hasInstance
in interfaceUpdateBandRequestOrBuilder
- Returns:
- Whether the instance field is set.
-
getInstance
public String getInstance()
Yamcs instance name
optional string instance = 1;
- Specified by:
getInstance
in interfaceUpdateBandRequestOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()
Yamcs instance name
optional string instance = 1;
- Specified by:
getInstanceBytes
in 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:
hasId
in interfaceUpdateBandRequestOrBuilder
- Returns:
- Whether the id field is set.
-
getId
public String getId()
Band identifier
optional string id = 2;
- Specified by:
getId
in interfaceUpdateBandRequestOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Band identifier
optional string id = 2;
- Specified by:
getIdBytes
in 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:
hasName
in interfaceUpdateBandRequestOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public String getName()
Band name
optional string name = 3;
- Specified by:
getName
in interfaceUpdateBandRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Band name
optional string name = 3;
- Specified by:
getNameBytes
in 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:
hasDescription
in interfaceUpdateBandRequestOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
Band description
optional string description = 4;
- Specified by:
getDescription
in interfaceUpdateBandRequestOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Band description
optional string description = 4;
- Specified by:
getDescriptionBytes
in 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:
hasShared
in 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:
getShared
in 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:
getTagsList
in 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:
getTagsCount
in 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:
getTags
in 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:
getTagsBytes
in 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:UpdateBandRequestOrBuilder
Additional properties used by yamcs-web to render this band
map<string, string> properties = 7;
- Specified by:
getPropertiesCount
in interfaceUpdateBandRequestOrBuilder
-
containsProperties
public boolean containsProperties(String key)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 7;
- Specified by:
containsProperties
in interfaceUpdateBandRequestOrBuilder
-
getProperties
@Deprecated public Map<String,String> getProperties()
Deprecated.UsegetPropertiesMap()
instead.- Specified by:
getProperties
in interfaceUpdateBandRequestOrBuilder
-
getPropertiesMap
public Map<String,String> getPropertiesMap()
Additional properties used by yamcs-web to render this band
map<string, string> properties = 7;
- Specified by:
getPropertiesMap
in 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:
getPropertiesOrDefault
in interfaceUpdateBandRequestOrBuilder
-
getPropertiesOrThrow
public String getPropertiesOrThrow(String key)
Additional properties used by yamcs-web to render this band
map<string, string> properties = 7;
- Specified by:
getPropertiesOrThrow
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
mergeUnknownFields
public final UpdateBandRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
-
-