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 type yamcs.protobuf.timeline.UpdateBandRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapField

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
    • clear

      public UpdateBandRequest.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
    • getDefaultInstanceForType

      public UpdateBandRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public UpdateBandRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateBandRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public UpdateBandRequest.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
    • setField

      public UpdateBandRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
    • clearField

      public UpdateBandRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
    • clearOneof

      public UpdateBandRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
    • addRepeatedField

      public UpdateBandRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
    • mergeFrom

      public UpdateBandRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateBandRequest.Builder>
    • mergeFrom

      public UpdateBandRequest.Builder mergeFrom(UpdateBandRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateBandRequest.Builder>
      Throws:
      IOException
    • hasInstance

      public boolean hasInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface UpdateBandRequestOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstance in interface UpdateBandRequestOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface UpdateBandRequestOrBuilder
      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 interface UpdateBandRequestOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public String getId()
       Band identifier
       
      optional string id = 2;
      Specified by:
      getId in interface UpdateBandRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Band identifier
       
      optional string id = 2;
      Specified by:
      getIdBytes in interface UpdateBandRequestOrBuilder
      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 interface UpdateBandRequestOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Band name
       
      optional string name = 3;
      Specified by:
      getName in interface UpdateBandRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Band name
       
      optional string name = 3;
      Specified by:
      getNameBytes in interface UpdateBandRequestOrBuilder
      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 interface UpdateBandRequestOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       Band description
       
      optional string description = 4;
      Specified by:
      getDescription in interface UpdateBandRequestOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Band description
       
      optional string description = 4;
      Specified by:
      getDescriptionBytes in interface UpdateBandRequestOrBuilder
      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 interface UpdateBandRequestOrBuilder
      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 interface UpdateBandRequestOrBuilder
      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 interface UpdateBandRequestOrBuilder
      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 interface UpdateBandRequestOrBuilder
      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 interface UpdateBandRequestOrBuilder
      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 interface UpdateBandRequestOrBuilder
      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 interface UpdateBandRequestOrBuilder
    • 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 interface UpdateBandRequestOrBuilder
    • getProperties

      @Deprecated public Map<String,String> getProperties()
      Deprecated.
      Use getPropertiesMap() instead.
      Specified by:
      getProperties in interface UpdateBandRequestOrBuilder
    • 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 interface UpdateBandRequestOrBuilder
    • 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 interface UpdateBandRequestOrBuilder
    • 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 interface UpdateBandRequestOrBuilder
    • 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;
    • hasSource

      public boolean hasSource()
      Where the items shown on this band come from
       
      optional string source = 8;
      Specified by:
      hasSource in interface UpdateBandRequestOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String getSource()
      Where the items shown on this band come from
       
      optional string source = 8;
      Specified by:
      getSource in interface UpdateBandRequestOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
      Where the items shown on this band come from
       
      optional string source = 8;
      Specified by:
      getSourceBytes in interface UpdateBandRequestOrBuilder
      Returns:
      The bytes for source.
    • setSource

      public UpdateBandRequest.Builder setSource(String value)
      Where the items shown on this band come from
       
      optional string source = 8;
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      public UpdateBandRequest.Builder clearSource()
      Where the items shown on this band come from
       
      optional string source = 8;
      Returns:
      This builder for chaining.
    • setSourceBytes

      public UpdateBandRequest.Builder setSourceBytes(com.google.protobuf.ByteString value)
      Where the items shown on this band come from
       
      optional string source = 8;
      Parameters:
      value - The bytes for source to set.
      Returns:
      This builder for chaining.
    • getFiltersList

      public List<ItemFilter> getFiltersList()
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
      Specified by:
      getFiltersList in interface UpdateBandRequestOrBuilder
    • getFiltersCount

      public int getFiltersCount()
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
      Specified by:
      getFiltersCount in interface UpdateBandRequestOrBuilder
    • getFilters

      public ItemFilter getFilters(int index)
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
      Specified by:
      getFilters in interface UpdateBandRequestOrBuilder
    • setFilters

      public UpdateBandRequest.Builder setFilters(int index, ItemFilter value)
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
    • setFilters

      public UpdateBandRequest.Builder setFilters(int index, ItemFilter.Builder builderForValue)
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
    • addFilters

      public UpdateBandRequest.Builder addFilters(ItemFilter value)
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
    • addFilters

      public UpdateBandRequest.Builder addFilters(int index, ItemFilter value)
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
    • addFilters

      public UpdateBandRequest.Builder addFilters(ItemFilter.Builder builderForValue)
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
    • addFilters

      public UpdateBandRequest.Builder addFilters(int index, ItemFilter.Builder builderForValue)
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
    • addAllFilters

      public UpdateBandRequest.Builder addAllFilters(Iterable<? extends ItemFilter> values)
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
    • clearFilters

      public UpdateBandRequest.Builder clearFilters()
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
    • removeFilters

      public UpdateBandRequest.Builder removeFilters(int index)
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
    • getFiltersBuilder

      public ItemFilter.Builder getFiltersBuilder(int index)
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
    • getFiltersOrBuilder

      public ItemFilterOrBuilder getFiltersOrBuilder(int index)
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
      Specified by:
      getFiltersOrBuilder in interface UpdateBandRequestOrBuilder
    • getFiltersOrBuilderList

      public List<? extends ItemFilterOrBuilder> getFiltersOrBuilderList()
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
      Specified by:
      getFiltersOrBuilderList in interface UpdateBandRequestOrBuilder
    • addFiltersBuilder

      public ItemFilter.Builder addFiltersBuilder()
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
    • addFiltersBuilder

      public ItemFilter.Builder addFiltersBuilder(int index)
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
    • getFiltersBuilderList

      public List<ItemFilter.Builder> getFiltersBuilderList()
      filters to apply when retrieving the items
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 9;
    • setUnknownFields

      public final UpdateBandRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>
    • mergeUnknownFields

      public final UpdateBandRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBandRequest.Builder>