Class ItemFilter.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ItemFilter.Builder>
org.yamcs.protobuf.ItemFilter.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ItemFilterOrBuilder
Enclosing class:
ItemFilter

public static final class ItemFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ItemFilter.Builder> implements ItemFilterOrBuilder
 An item matches the filter if it matches any of the criteria from the list.
 If the list is empty, the filter will not match.
 
Protobuf type yamcs.protobuf.timeline.ItemFilter
  • Method Details

    • getDescriptor

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

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

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

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

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

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

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

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

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

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

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

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

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

      public ItemFilter.Builder mergeFrom(ItemFilter other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ItemFilter.Builder>
    • mergeFrom

      public ItemFilter.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<ItemFilter.Builder>
      Throws:
      IOException
    • getCriteriaList

      public List<ItemFilter.FilterCriterion> getCriteriaList()
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
      Specified by:
      getCriteriaList in interface ItemFilterOrBuilder
    • getCriteriaCount

      public int getCriteriaCount()
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
      Specified by:
      getCriteriaCount in interface ItemFilterOrBuilder
    • getCriteria

      public ItemFilter.FilterCriterion getCriteria(int index)
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
      Specified by:
      getCriteria in interface ItemFilterOrBuilder
    • setCriteria

      public ItemFilter.Builder setCriteria(int index, ItemFilter.FilterCriterion value)
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
    • setCriteria

      public ItemFilter.Builder setCriteria(int index, ItemFilter.FilterCriterion.Builder builderForValue)
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
    • addCriteria

      public ItemFilter.Builder addCriteria(ItemFilter.FilterCriterion value)
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
    • addCriteria

      public ItemFilter.Builder addCriteria(int index, ItemFilter.FilterCriterion value)
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
    • addCriteria

      public ItemFilter.Builder addCriteria(ItemFilter.FilterCriterion.Builder builderForValue)
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
    • addCriteria

      public ItemFilter.Builder addCriteria(int index, ItemFilter.FilterCriterion.Builder builderForValue)
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
    • addAllCriteria

      public ItemFilter.Builder addAllCriteria(Iterable<? extends ItemFilter.FilterCriterion> values)
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
    • clearCriteria

      public ItemFilter.Builder clearCriteria()
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
    • removeCriteria

      public ItemFilter.Builder removeCriteria(int index)
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
    • getCriteriaBuilder

      public ItemFilter.FilterCriterion.Builder getCriteriaBuilder(int index)
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
    • getCriteriaOrBuilder

      public ItemFilter.FilterCriterionOrBuilder getCriteriaOrBuilder(int index)
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
      Specified by:
      getCriteriaOrBuilder in interface ItemFilterOrBuilder
    • getCriteriaOrBuilderList

      public List<? extends ItemFilter.FilterCriterionOrBuilder> getCriteriaOrBuilderList()
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
      Specified by:
      getCriteriaOrBuilderList in interface ItemFilterOrBuilder
    • addCriteriaBuilder

      public ItemFilter.FilterCriterion.Builder addCriteriaBuilder()
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
    • addCriteriaBuilder

      public ItemFilter.FilterCriterion.Builder addCriteriaBuilder(int index)
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
    • getCriteriaBuilderList

      public List<ItemFilter.FilterCriterion.Builder> getCriteriaBuilderList()
      repeated .yamcs.protobuf.timeline.ItemFilter.FilterCriterion criteria = 1;
    • setUnknownFields

      public final ItemFilter.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<ItemFilter.Builder>
    • mergeUnknownFields

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