Class StreamEventsRequest.Builder

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

public static final class StreamEventsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamEventsRequest.Builder> implements StreamEventsRequestOrBuilder
Protobuf type yamcs.protobuf.events.StreamEventsRequest
  • 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<StreamEventsRequest.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<StreamEventsRequest.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<StreamEventsRequest.Builder>
    • getDefaultInstanceForType

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

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

      public StreamEventsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<StreamEventsRequest.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public StreamEventsRequest.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<StreamEventsRequest.Builder>
      Throws:
      IOException
    • hasInstance

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

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

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface StreamEventsRequestOrBuilder
      Returns:
      The bytes for instance.
    • setInstance

      public StreamEventsRequest.Builder setInstance(String value)
       Yamcs instance name
       
      optional string instance = 1;
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

      public StreamEventsRequest.Builder clearInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public StreamEventsRequest.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.
    • hasStart

      public boolean hasStart()
       Filter the lower bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
      Specified by:
      hasStart in interface StreamEventsRequestOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public com.google.protobuf.Timestamp getStart()
       Filter the lower bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
      Specified by:
      getStart in interface StreamEventsRequestOrBuilder
      Returns:
      The start.
    • setStart

      public StreamEventsRequest.Builder setStart(com.google.protobuf.Timestamp value)
       Filter the lower bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
    • setStart

      public StreamEventsRequest.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the lower bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
    • mergeStart

      public StreamEventsRequest.Builder mergeStart(com.google.protobuf.Timestamp value)
       Filter the lower bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
    • clearStart

      public StreamEventsRequest.Builder clearStart()
       Filter the lower bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
    • getStartBuilder

      public com.google.protobuf.Timestamp.Builder getStartBuilder()
       Filter the lower bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
    • getStartOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
       Filter the lower bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
      Specified by:
      getStartOrBuilder in interface StreamEventsRequestOrBuilder
    • hasStop

      public boolean hasStop()
       Filter the upper bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
      Specified by:
      hasStop in interface StreamEventsRequestOrBuilder
      Returns:
      Whether the stop field is set.
    • getStop

      public com.google.protobuf.Timestamp getStop()
       Filter the upper bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
      Specified by:
      getStop in interface StreamEventsRequestOrBuilder
      Returns:
      The stop.
    • setStop

      public StreamEventsRequest.Builder setStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
    • setStop

      public StreamEventsRequest.Builder setStop(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the upper bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
    • mergeStop

      public StreamEventsRequest.Builder mergeStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
    • clearStop

      public StreamEventsRequest.Builder clearStop()
       Filter the upper bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
    • getStopBuilder

      public com.google.protobuf.Timestamp.Builder getStopBuilder()
       Filter the upper bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
    • getStopOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()
       Filter the upper bound of the event's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
      Specified by:
      getStopOrBuilder in interface StreamEventsRequestOrBuilder
    • getSourceList

      public com.google.protobuf.ProtocolStringList getSourceList()
       Event sources to include. Leave unset, to include all.
       
      repeated string source = 4;
      Specified by:
      getSourceList in interface StreamEventsRequestOrBuilder
      Returns:
      A list containing the source.
    • getSourceCount

      public int getSourceCount()
       Event sources to include. Leave unset, to include all.
       
      repeated string source = 4;
      Specified by:
      getSourceCount in interface StreamEventsRequestOrBuilder
      Returns:
      The count of source.
    • getSource

      public String getSource(int index)
       Event sources to include. Leave unset, to include all.
       
      repeated string source = 4;
      Specified by:
      getSource in interface StreamEventsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The source at the given index.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes(int index)
       Event sources to include. Leave unset, to include all.
       
      repeated string source = 4;
      Specified by:
      getSourceBytes in interface StreamEventsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the source at the given index.
    • setSource

      public StreamEventsRequest.Builder setSource(int index, String value)
       Event sources to include. Leave unset, to include all.
       
      repeated string source = 4;
      Parameters:
      index - The index to set the value at.
      value - The source to set.
      Returns:
      This builder for chaining.
    • addSource

      public StreamEventsRequest.Builder addSource(String value)
       Event sources to include. Leave unset, to include all.
       
      repeated string source = 4;
      Parameters:
      value - The source to add.
      Returns:
      This builder for chaining.
    • addAllSource

      public StreamEventsRequest.Builder addAllSource(Iterable<String> values)
       Event sources to include. Leave unset, to include all.
       
      repeated string source = 4;
      Parameters:
      values - The source to add.
      Returns:
      This builder for chaining.
    • clearSource

      public StreamEventsRequest.Builder clearSource()
       Event sources to include. Leave unset, to include all.
       
      repeated string source = 4;
      Returns:
      This builder for chaining.
    • addSourceBytes

      public StreamEventsRequest.Builder addSourceBytes(com.google.protobuf.ByteString value)
       Event sources to include. Leave unset, to include all.
       
      repeated string source = 4;
      Parameters:
      value - The bytes of the source to add.
      Returns:
      This builder for chaining.
    • hasSeverity

      public boolean hasSeverity()
       Filter on minimum severity level
       
      optional string severity = 5;
      Specified by:
      hasSeverity in interface StreamEventsRequestOrBuilder
      Returns:
      Whether the severity field is set.
    • getSeverity

      public String getSeverity()
       Filter on minimum severity level
       
      optional string severity = 5;
      Specified by:
      getSeverity in interface StreamEventsRequestOrBuilder
      Returns:
      The severity.
    • getSeverityBytes

      public com.google.protobuf.ByteString getSeverityBytes()
       Filter on minimum severity level
       
      optional string severity = 5;
      Specified by:
      getSeverityBytes in interface StreamEventsRequestOrBuilder
      Returns:
      The bytes for severity.
    • setSeverity

      public StreamEventsRequest.Builder setSeverity(String value)
       Filter on minimum severity level
       
      optional string severity = 5;
      Parameters:
      value - The severity to set.
      Returns:
      This builder for chaining.
    • clearSeverity

      public StreamEventsRequest.Builder clearSeverity()
       Filter on minimum severity level
       
      optional string severity = 5;
      Returns:
      This builder for chaining.
    • setSeverityBytes

      public StreamEventsRequest.Builder setSeverityBytes(com.google.protobuf.ByteString value)
       Filter on minimum severity level
       
      optional string severity = 5;
      Parameters:
      value - The bytes for severity to set.
      Returns:
      This builder for chaining.
    • hasQ

      public boolean hasQ()
       Search by text
       
      optional string q = 6;
      Specified by:
      hasQ in interface StreamEventsRequestOrBuilder
      Returns:
      Whether the q field is set.
    • getQ

      public String getQ()
       Search by text
       
      optional string q = 6;
      Specified by:
      getQ in interface StreamEventsRequestOrBuilder
      Returns:
      The q.
    • getQBytes

      public com.google.protobuf.ByteString getQBytes()
       Search by text
       
      optional string q = 6;
      Specified by:
      getQBytes in interface StreamEventsRequestOrBuilder
      Returns:
      The bytes for q.
    • setQ

      public StreamEventsRequest.Builder setQ(String value)
       Search by text
       
      optional string q = 6;
      Parameters:
      value - The q to set.
      Returns:
      This builder for chaining.
    • clearQ

      public StreamEventsRequest.Builder clearQ()
       Search by text
       
      optional string q = 6;
      Returns:
      This builder for chaining.
    • setQBytes

      public StreamEventsRequest.Builder setQBytes(com.google.protobuf.ByteString value)
       Search by text
       
      optional string q = 6;
      Parameters:
      value - The bytes for q to set.
      Returns:
      This builder for chaining.
    • hasFilter

      public boolean hasFilter()
       Filter query. See :doc:`../filtering` for how to write a filter query.
       Literal text search matches against the fields ``message``, ``source`` and
       ``type``.
       Field comparisons can use any of the following fields:
       .. list-table::
           :widths: 25 25 50
           * - ``message``
             - string
             -
           * - ``seqNumber``
             - number
             -
           * - ``severity``
             - enum
             - One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``.
           * - ``source``
             - string
             -
           * - ``type``
             - string
             -
       
      optional string filter = 7;
      Specified by:
      hasFilter in interface StreamEventsRequestOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public String getFilter()
       Filter query. See :doc:`../filtering` for how to write a filter query.
       Literal text search matches against the fields ``message``, ``source`` and
       ``type``.
       Field comparisons can use any of the following fields:
       .. list-table::
           :widths: 25 25 50
           * - ``message``
             - string
             -
           * - ``seqNumber``
             - number
             -
           * - ``severity``
             - enum
             - One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``.
           * - ``source``
             - string
             -
           * - ``type``
             - string
             -
       
      optional string filter = 7;
      Specified by:
      getFilter in interface StreamEventsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Filter query. See :doc:`../filtering` for how to write a filter query.
       Literal text search matches against the fields ``message``, ``source`` and
       ``type``.
       Field comparisons can use any of the following fields:
       .. list-table::
           :widths: 25 25 50
           * - ``message``
             - string
             -
           * - ``seqNumber``
             - number
             -
           * - ``severity``
             - enum
             - One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``.
           * - ``source``
             - string
             -
           * - ``type``
             - string
             -
       
      optional string filter = 7;
      Specified by:
      getFilterBytes in interface StreamEventsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public StreamEventsRequest.Builder setFilter(String value)
       Filter query. See :doc:`../filtering` for how to write a filter query.
       Literal text search matches against the fields ``message``, ``source`` and
       ``type``.
       Field comparisons can use any of the following fields:
       .. list-table::
           :widths: 25 25 50
           * - ``message``
             - string
             -
           * - ``seqNumber``
             - number
             -
           * - ``severity``
             - enum
             - One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``.
           * - ``source``
             - string
             -
           * - ``type``
             - string
             -
       
      optional string filter = 7;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public StreamEventsRequest.Builder clearFilter()
       Filter query. See :doc:`../filtering` for how to write a filter query.
       Literal text search matches against the fields ``message``, ``source`` and
       ``type``.
       Field comparisons can use any of the following fields:
       .. list-table::
           :widths: 25 25 50
           * - ``message``
             - string
             -
           * - ``seqNumber``
             - number
             -
           * - ``severity``
             - enum
             - One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``.
           * - ``source``
             - string
             -
           * - ``type``
             - string
             -
       
      optional string filter = 7;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public StreamEventsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Filter query. See :doc:`../filtering` for how to write a filter query.
       Literal text search matches against the fields ``message``, ``source`` and
       ``type``.
       Field comparisons can use any of the following fields:
       .. list-table::
           :widths: 25 25 50
           * - ``message``
             - string
             -
           * - ``seqNumber``
             - number
             -
           * - ``severity``
             - enum
             - One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``.
           * - ``source``
             - string
             -
           * - ``type``
             - string
             -
       
      optional string filter = 7;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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