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
Protobuf type yamcs.protobuf.timeline.AddBandRequest
  • 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<AddBandRequest.Builder>
    • internalGetMutableMapField

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

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

      public AddBandRequest.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<AddBandRequest.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<AddBandRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public AddBandRequest.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<AddBandRequest.Builder>
    • setField

      public AddBandRequest.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<AddBandRequest.Builder>
    • clearField

      public AddBandRequest.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<AddBandRequest.Builder>
    • clearOneof

      public AddBandRequest.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<AddBandRequest.Builder>
    • setRepeatedField

      public AddBandRequest.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<AddBandRequest.Builder>
    • addRepeatedField

      public AddBandRequest.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<AddBandRequest.Builder>
    • mergeFrom

      public AddBandRequest.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<AddBandRequest.Builder>
    • mergeFrom

      public AddBandRequest.Builder mergeFrom(AddBandRequest other)
    • isInitialized

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

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

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

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

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

      public com.google.protobuf.ByteString getNameBytes()
       Band name
       
      optional string name = 2;
      Specified by:
      getNameBytes in interface AddBandRequestOrBuilder
      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:
      hasShared in interface AddBandRequestOrBuilder
      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:
      getShared in interface AddBandRequestOrBuilder
      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:
      hasSource in interface AddBandRequestOrBuilder
      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:
      getSource in interface AddBandRequestOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
      the band contains only items from this source
       
      optional string source = 4;
      Specified by:
      getSourceBytes in interface AddBandRequestOrBuilder
      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

      @Deprecated public com.google.protobuf.ProtocolStringList getTagsList()
      Deprecated.
       Items containing these tags will be part of the timeline
       this is deprecated, the filters below should be used instead
       
      repeated string tags = 5 [deprecated = true];
      Specified by:
      getTagsList in interface AddBandRequestOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      @Deprecated public int getTagsCount()
      Deprecated.
       Items containing these tags will be part of the timeline
       this is deprecated, the filters below should be used instead
       
      repeated string tags = 5 [deprecated = true];
      Specified by:
      getTagsCount in interface AddBandRequestOrBuilder
      Returns:
      The count of tags.
    • getTags

      @Deprecated public String getTags(int index)
      Deprecated.
       Items containing these tags will be part of the timeline
       this is deprecated, the filters below should be used instead
       
      repeated string tags = 5 [deprecated = true];
      Specified by:
      getTags in interface AddBandRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      @Deprecated public com.google.protobuf.ByteString getTagsBytes(int index)
      Deprecated.
       Items containing these tags will be part of the timeline
       this is deprecated, the filters below should be used instead
       
      repeated string tags = 5 [deprecated = true];
      Specified by:
      getTagsBytes in interface AddBandRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      @Deprecated public AddBandRequest.Builder setTags(int index, String value)
      Deprecated.
       Items containing these tags will be part of the timeline
       this is deprecated, the filters below should be used instead
       
      repeated string tags = 5 [deprecated = true];
      Parameters:
      index - The index to set the value at.
      value - The tags to set.
      Returns:
      This builder for chaining.
    • addTags

      @Deprecated public AddBandRequest.Builder addTags(String value)
      Deprecated.
       Items containing these tags will be part of the timeline
       this is deprecated, the filters below should be used instead
       
      repeated string tags = 5 [deprecated = true];
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

      @Deprecated public AddBandRequest.Builder addAllTags(Iterable<String> values)
      Deprecated.
       Items containing these tags will be part of the timeline
       this is deprecated, the filters below should be used instead
       
      repeated string tags = 5 [deprecated = true];
      Parameters:
      values - The tags to add.
      Returns:
      This builder for chaining.
    • clearTags

      @Deprecated public AddBandRequest.Builder clearTags()
      Deprecated.
       Items containing these tags will be part of the timeline
       this is deprecated, the filters below should be used instead
       
      repeated string tags = 5 [deprecated = true];
      Returns:
      This builder for chaining.
    • addTagsBytes

      @Deprecated public AddBandRequest.Builder addTagsBytes(com.google.protobuf.ByteString value)
      Deprecated.
       Items containing these tags will be part of the timeline
       this is deprecated, the filters below should be used instead
       
      repeated string tags = 5 [deprecated = true];
      Parameters:
      value - The bytes of the tags to add.
      Returns:
      This builder for chaining.
    • getFiltersList

      public List<ItemFilter> getFiltersList()
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
      Specified by:
      getFiltersList in interface AddBandRequestOrBuilder
    • getFiltersCount

      public int getFiltersCount()
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
      Specified by:
      getFiltersCount in interface AddBandRequestOrBuilder
    • getFilters

      public ItemFilter getFilters(int index)
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
      Specified by:
      getFilters in interface AddBandRequestOrBuilder
    • setFilters

      public AddBandRequest.Builder setFilters(int index, ItemFilter value)
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
    • setFilters

      public AddBandRequest.Builder setFilters(int index, ItemFilter.Builder builderForValue)
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
    • addFilters

      public AddBandRequest.Builder addFilters(ItemFilter value)
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
    • addFilters

      public AddBandRequest.Builder addFilters(int index, ItemFilter value)
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
    • addFilters

      public AddBandRequest.Builder addFilters(ItemFilter.Builder builderForValue)
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
    • addFilters

      public AddBandRequest.Builder addFilters(int index, ItemFilter.Builder builderForValue)
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
    • addAllFilters

      public AddBandRequest.Builder addAllFilters(Iterable<? extends ItemFilter> values)
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
    • clearFilters

      public AddBandRequest.Builder clearFilters()
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
    • removeFilters

      public AddBandRequest.Builder removeFilters(int index)
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
    • getFiltersBuilder

      public ItemFilter.Builder getFiltersBuilder(int index)
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
    • getFiltersOrBuilder

      public ItemFilterOrBuilder getFiltersOrBuilder(int index)
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
      Specified by:
      getFiltersOrBuilder in interface AddBandRequestOrBuilder
    • getFiltersOrBuilderList

      public List<? extends ItemFilterOrBuilder> getFiltersOrBuilderList()
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
      Specified by:
      getFiltersOrBuilderList in interface AddBandRequestOrBuilder
    • addFiltersBuilder

      public ItemFilter.Builder addFiltersBuilder()
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
    • addFiltersBuilder

      public ItemFilter.Builder addFiltersBuilder(int index)
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
    • getFiltersBuilderList

      public List<ItemFilter.Builder> getFiltersBuilderList()
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
    • hasType

      public boolean hasType()
       Type of band
       
      optional .yamcs.protobuf.timeline.TimelineBandType type = 7;
      Specified by:
      hasType in interface AddBandRequestOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public TimelineBandType getType()
       Type of band
       
      optional .yamcs.protobuf.timeline.TimelineBandType type = 7;
      Specified by:
      getType in interface AddBandRequestOrBuilder
      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:
      hasDescription in interface AddBandRequestOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

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

      public com.google.protobuf.ByteString getDescriptionBytes()
       Band description
       
      optional string description = 8;
      Specified by:
      getDescriptionBytes in interface AddBandRequestOrBuilder
      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: AddBandRequestOrBuilder
       Additional properties used by yamcs-web to render this band
       
      map<string, string> properties = 9;
      Specified by:
      getPropertiesCount in interface AddBandRequestOrBuilder
    • containsProperties

      public boolean containsProperties(String key)
       Additional properties used by yamcs-web to render this band
       
      map<string, string> properties = 9;
      Specified by:
      containsProperties in interface AddBandRequestOrBuilder
    • getProperties

      @Deprecated public Map<String,String> getProperties()
      Deprecated.
      Use getPropertiesMap() instead.
      Specified by:
      getProperties in interface AddBandRequestOrBuilder
    • getPropertiesMap

      public Map<String,String> getPropertiesMap()
       Additional properties used by yamcs-web to render this band
       
      map<string, string> properties = 9;
      Specified by:
      getPropertiesMap in interface AddBandRequestOrBuilder
    • 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:
      getPropertiesOrDefault in interface AddBandRequestOrBuilder
    • getPropertiesOrThrow

      public String getPropertiesOrThrow(String key)
       Additional properties used by yamcs-web to render this band
       
      map<string, string> properties = 9;
      Specified by:
      getPropertiesOrThrow in interface AddBandRequestOrBuilder
    • 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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddBandRequest.Builder>
    • mergeUnknownFields

      public final AddBandRequest.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<AddBandRequest.Builder>