All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yamcs.protobuf.ExportEventsRequest Maven / Gradle / Ivy

There is a newer version: 5.10.9
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: yamcs/protobuf/events/events_service.proto

package org.yamcs.protobuf;

/**
 * Protobuf type {@code yamcs.protobuf.events.ExportEventsRequest}
 */
public final class ExportEventsRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:yamcs.protobuf.events.ExportEventsRequest)
    ExportEventsRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ExportEventsRequest.newBuilder() to construct.
  private ExportEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ExportEventsRequest() {
    instance_ = "";
    source_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    severity_ = "";
    q_ = "";
    filter_ = "";
    delimiter_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new ExportEventsRequest();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private ExportEventsRequest(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000001;
            instance_ = bs;
            break;
          }
          case 18: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (((bitField0_ & 0x00000002) != 0)) {
              subBuilder = start_.toBuilder();
            }
            start_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(start_);
              start_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000002;
            break;
          }
          case 26: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (((bitField0_ & 0x00000004) != 0)) {
              subBuilder = stop_.toBuilder();
            }
            stop_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(stop_);
              stop_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000004;
            break;
          }
          case 34: {
            com.google.protobuf.ByteString bs = input.readBytes();
            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
              source_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000008;
            }
            source_.add(bs);
            break;
          }
          case 42: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000008;
            severity_ = bs;
            break;
          }
          case 50: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000010;
            q_ = bs;
            break;
          }
          case 58: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000040;
            delimiter_ = bs;
            break;
          }
          case 66: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000020;
            filter_ = bs;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000008) != 0)) {
        source_ = source_.getUnmodifiableView();
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return org.yamcs.protobuf.EventsServiceProto.internal_static_yamcs_protobuf_events_ExportEventsRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return org.yamcs.protobuf.EventsServiceProto.internal_static_yamcs_protobuf_events_ExportEventsRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            org.yamcs.protobuf.ExportEventsRequest.class, org.yamcs.protobuf.ExportEventsRequest.Builder.class);
  }

  private int bitField0_;
  public static final int INSTANCE_FIELD_NUMBER = 1;
  private volatile java.lang.Object instance_;
  /**
   * 
   * Yamcs instance name
   * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Yamcs instance name
   * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
   * Yamcs instance name
   * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int START_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp start_; /** *
   * Filter the lower bound of the event's generation time.
   * Specify a date string in ISO 8601 format. This bound is inclusive.
   * 
* * optional .google.protobuf.Timestamp start = 2; * @return Whether the start field is set. */ @java.lang.Override public boolean hasStart() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Filter the lower bound of the event's generation time.
   * Specify a date string in ISO 8601 format. This bound is inclusive.
   * 
* * optional .google.protobuf.Timestamp start = 2; * @return The start. */ @java.lang.Override public com.google.protobuf.Timestamp getStart() { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } /** *
   * Filter the lower bound of the event's generation time.
   * Specify a date string in ISO 8601 format. This bound is inclusive.
   * 
* * optional .google.protobuf.Timestamp start = 2; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } public static final int STOP_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp stop_; /** *
   * Filter the upper bound of the event's generation time. Specify a date
   * string in ISO 8601 format. This bound is exclusive.
   * 
* * optional .google.protobuf.Timestamp stop = 3; * @return Whether the stop field is set. */ @java.lang.Override public boolean hasStop() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * Filter the upper bound of the event's generation time. Specify a date
   * string in ISO 8601 format. This bound is exclusive.
   * 
* * optional .google.protobuf.Timestamp stop = 3; * @return The stop. */ @java.lang.Override public com.google.protobuf.Timestamp getStop() { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } /** *
   * Filter the upper bound of the event's generation time. Specify a date
   * string in ISO 8601 format. This bound is exclusive.
   * 
* * optional .google.protobuf.Timestamp stop = 3; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } public static final int SOURCE_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList source_; /** *
   * The source of the events. Names must match exactly.
   * 
* * repeated string source = 4; * @return A list containing the source. */ public com.google.protobuf.ProtocolStringList getSourceList() { return source_; } /** *
   * The source of the events. Names must match exactly.
   * 
* * repeated string source = 4; * @return The count of source. */ public int getSourceCount() { return source_.size(); } /** *
   * The source of the events. Names must match exactly.
   * 
* * repeated string source = 4; * @param index The index of the element to return. * @return The source at the given index. */ public java.lang.String getSource(int index) { return source_.get(index); } /** *
   * The source of the events. Names must match exactly.
   * 
* * repeated string source = 4; * @param index The index of the value to return. * @return The bytes of the source at the given index. */ public com.google.protobuf.ByteString getSourceBytes(int index) { return source_.getByteString(index); } public static final int SEVERITY_FIELD_NUMBER = 5; private volatile java.lang.Object severity_; /** *
   * The minimum severity level of the events. One of ``info``, ``watch``, 
   * ``warning``, ``distress`` or ``severe``. Default: ``info``
   * 
* * optional string severity = 5; * @return Whether the severity field is set. */ @java.lang.Override public boolean hasSeverity() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * The minimum severity level of the events. One of ``info``, ``watch``, 
   * ``warning``, ``distress`` or ``severe``. Default: ``info``
   * 
* * optional string severity = 5; * @return The severity. */ @java.lang.Override public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { severity_ = s; } return s; } } /** *
   * The minimum severity level of the events. One of ``info``, ``watch``, 
   * ``warning``, ``distress`` or ``severe``. Default: ``info``
   * 
* * optional string severity = 5; * @return The bytes for severity. */ @java.lang.Override public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); severity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int Q_FIELD_NUMBER = 6; private volatile java.lang.Object q_; /** *
   * Text to search for in the message.
   * 
* * optional string q = 6; * @return Whether the q field is set. */ @java.lang.Override public boolean hasQ() { return ((bitField0_ & 0x00000010) != 0); } /** *
   * Text to search for in the message.
   * 
* * optional string q = 6; * @return The q. */ @java.lang.Override public java.lang.String getQ() { java.lang.Object ref = q_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { q_ = s; } return s; } } /** *
   * Text to search for in the message.
   * 
* * optional string q = 6; * @return The bytes for q. */ @java.lang.Override public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILTER_FIELD_NUMBER = 8; private volatile java.lang.Object filter_; /** *
   * 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 = 8; * @return Whether the filter field is set. */ @java.lang.Override public boolean hasFilter() { return ((bitField0_ & 0x00000020) != 0); } /** *
   * 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 = 8; * @return The filter. */ @java.lang.Override public java.lang.String getFilter() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { filter_ = s; } return s; } } /** *
   * 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 = 8; * @return The bytes for filter. */ @java.lang.Override public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DELIMITER_FIELD_NUMBER = 7; private volatile java.lang.Object delimiter_; /** *
   * Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
   * Default: ``TAB``.
   * 
* * optional string delimiter = 7; * @return Whether the delimiter field is set. */ @java.lang.Override public boolean hasDelimiter() { return ((bitField0_ & 0x00000040) != 0); } /** *
   * Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
   * Default: ``TAB``.
   * 
* * optional string delimiter = 7; * @return The delimiter. */ @java.lang.Override public java.lang.String getDelimiter() { java.lang.Object ref = delimiter_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { delimiter_ = s; } return s; } } /** *
   * Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
   * Default: ``TAB``.
   * 
* * optional string delimiter = 7; * @return The bytes for delimiter. */ @java.lang.Override public com.google.protobuf.ByteString getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); delimiter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getStart()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getStop()); } for (int i = 0; i < source_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, source_.getRaw(i)); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, severity_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, q_); } if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, delimiter_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, filter_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStart()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getStop()); } { int dataSize = 0; for (int i = 0; i < source_.size(); i++) { dataSize += computeStringSizeNoTag(source_.getRaw(i)); } size += dataSize; size += 1 * getSourceList().size(); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, severity_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, q_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, delimiter_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, filter_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.yamcs.protobuf.ExportEventsRequest)) { return super.equals(obj); } org.yamcs.protobuf.ExportEventsRequest other = (org.yamcs.protobuf.ExportEventsRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasStart() != other.hasStart()) return false; if (hasStart()) { if (!getStart() .equals(other.getStart())) return false; } if (hasStop() != other.hasStop()) return false; if (hasStop()) { if (!getStop() .equals(other.getStop())) return false; } if (!getSourceList() .equals(other.getSourceList())) return false; if (hasSeverity() != other.hasSeverity()) return false; if (hasSeverity()) { if (!getSeverity() .equals(other.getSeverity())) return false; } if (hasQ() != other.hasQ()) return false; if (hasQ()) { if (!getQ() .equals(other.getQ())) return false; } if (hasFilter() != other.hasFilter()) return false; if (hasFilter()) { if (!getFilter() .equals(other.getFilter())) return false; } if (hasDelimiter() != other.hasDelimiter()) return false; if (hasDelimiter()) { if (!getDelimiter() .equals(other.getDelimiter())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasStart()) { hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + getStart().hashCode(); } if (hasStop()) { hash = (37 * hash) + STOP_FIELD_NUMBER; hash = (53 * hash) + getStop().hashCode(); } if (getSourceCount() > 0) { hash = (37 * hash) + SOURCE_FIELD_NUMBER; hash = (53 * hash) + getSourceList().hashCode(); } if (hasSeverity()) { hash = (37 * hash) + SEVERITY_FIELD_NUMBER; hash = (53 * hash) + getSeverity().hashCode(); } if (hasQ()) { hash = (37 * hash) + Q_FIELD_NUMBER; hash = (53 * hash) + getQ().hashCode(); } if (hasFilter()) { hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); } if (hasDelimiter()) { hash = (37 * hash) + DELIMITER_FIELD_NUMBER; hash = (53 * hash) + getDelimiter().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.ExportEventsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.ExportEventsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.ExportEventsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.ExportEventsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.ExportEventsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.ExportEventsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.ExportEventsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.ExportEventsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.yamcs.protobuf.ExportEventsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.ExportEventsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.yamcs.protobuf.ExportEventsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.ExportEventsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.ExportEventsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yamcs.protobuf.events.ExportEventsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.events.ExportEventsRequest) org.yamcs.protobuf.ExportEventsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.EventsServiceProto.internal_static_yamcs_protobuf_events_ExportEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.EventsServiceProto.internal_static_yamcs_protobuf_events_ExportEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.ExportEventsRequest.class, org.yamcs.protobuf.ExportEventsRequest.Builder.class); } // Construct using org.yamcs.protobuf.ExportEventsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStartFieldBuilder(); getStopFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (startBuilder_ == null) { start_ = null; } else { startBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (stopBuilder_ == null) { stop_ = null; } else { stopBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); source_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); severity_ = ""; bitField0_ = (bitField0_ & ~0x00000010); q_ = ""; bitField0_ = (bitField0_ & ~0x00000020); filter_ = ""; bitField0_ = (bitField0_ & ~0x00000040); delimiter_ = ""; bitField0_ = (bitField0_ & ~0x00000080); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.EventsServiceProto.internal_static_yamcs_protobuf_events_ExportEventsRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.ExportEventsRequest getDefaultInstanceForType() { return org.yamcs.protobuf.ExportEventsRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.ExportEventsRequest build() { org.yamcs.protobuf.ExportEventsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.ExportEventsRequest buildPartial() { org.yamcs.protobuf.ExportEventsRequest result = new org.yamcs.protobuf.ExportEventsRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { if (startBuilder_ == null) { result.start_ = start_; } else { result.start_ = startBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (stopBuilder_ == null) { result.stop_ = stop_; } else { result.stop_ = stopBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((bitField0_ & 0x00000008) != 0)) { source_ = source_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); } result.source_ = source_; if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000008; } result.severity_ = severity_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000010; } result.q_ = q_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000020; } result.filter_ = filter_; if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000040; } result.delimiter_ = delimiter_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.ExportEventsRequest) { return mergeFrom((org.yamcs.protobuf.ExportEventsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.ExportEventsRequest other) { if (other == org.yamcs.protobuf.ExportEventsRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasStart()) { mergeStart(other.getStart()); } if (other.hasStop()) { mergeStop(other.getStop()); } if (!other.source_.isEmpty()) { if (source_.isEmpty()) { source_ = other.source_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureSourceIsMutable(); source_.addAll(other.source_); } onChanged(); } if (other.hasSeverity()) { bitField0_ |= 0x00000010; severity_ = other.severity_; onChanged(); } if (other.hasQ()) { bitField0_ |= 0x00000020; q_ = other.q_; onChanged(); } if (other.hasFilter()) { bitField0_ |= 0x00000040; filter_ = other.filter_; onChanged(); } if (other.hasDelimiter()) { bitField0_ |= 0x00000080; delimiter_ = other.delimiter_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.ExportEventsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.ExportEventsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private com.google.protobuf.Timestamp start_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startBuilder_; /** *
     * Filter the lower bound of the event's generation time.
     * Specify a date string in ISO 8601 format. This bound is inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 2; * @return Whether the start field is set. */ public boolean hasStart() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Filter the lower bound of the event's generation time.
     * Specify a date string in ISO 8601 format. This bound is inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 2; * @return The start. */ public com.google.protobuf.Timestamp getStart() { if (startBuilder_ == null) { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } else { return startBuilder_.getMessage(); } } /** *
     * Filter the lower bound of the event's generation time.
     * Specify a date string in ISO 8601 format. This bound is inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 2; */ public Builder setStart(com.google.protobuf.Timestamp value) { if (startBuilder_ == null) { if (value == null) { throw new NullPointerException(); } start_ = value; onChanged(); } else { startBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
     * Filter the lower bound of the event's generation time.
     * Specify a date string in ISO 8601 format. This bound is inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 2; */ public Builder setStart( com.google.protobuf.Timestamp.Builder builderForValue) { if (startBuilder_ == null) { start_ = builderForValue.build(); onChanged(); } else { startBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
     * Filter the lower bound of the event's generation time.
     * Specify a date string in ISO 8601 format. This bound is inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 2; */ public Builder mergeStart(com.google.protobuf.Timestamp value) { if (startBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && start_ != null && start_ != com.google.protobuf.Timestamp.getDefaultInstance()) { start_ = com.google.protobuf.Timestamp.newBuilder(start_).mergeFrom(value).buildPartial(); } else { start_ = value; } onChanged(); } else { startBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
     * Filter the lower bound of the event's generation time.
     * Specify a date string in ISO 8601 format. This bound is inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 2; */ public Builder clearStart() { if (startBuilder_ == null) { start_ = null; onChanged(); } else { startBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
     * Filter the lower bound of the event's generation time.
     * Specify a date string in ISO 8601 format. This bound is inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 2; */ public com.google.protobuf.Timestamp.Builder getStartBuilder() { bitField0_ |= 0x00000002; onChanged(); return getStartFieldBuilder().getBuilder(); } /** *
     * Filter the lower bound of the event's generation time.
     * Specify a date string in ISO 8601 format. This bound is inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 2; */ public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() { if (startBuilder_ != null) { return startBuilder_.getMessageOrBuilder(); } else { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } } /** *
     * Filter the lower bound of the event's generation time.
     * Specify a date string in ISO 8601 format. This bound is inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartFieldBuilder() { if (startBuilder_ == null) { startBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStart(), getParentForChildren(), isClean()); start_ = null; } return startBuilder_; } private com.google.protobuf.Timestamp stop_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stopBuilder_; /** *
     * Filter the upper bound of the event's generation time. Specify a date
     * string in ISO 8601 format. This bound is exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 3; * @return Whether the stop field is set. */ public boolean hasStop() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Filter the upper bound of the event's generation time. Specify a date
     * string in ISO 8601 format. This bound is exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 3; * @return The stop. */ public com.google.protobuf.Timestamp getStop() { if (stopBuilder_ == null) { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } else { return stopBuilder_.getMessage(); } } /** *
     * Filter the upper bound of the event's generation time. Specify a date
     * string in ISO 8601 format. This bound is exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 3; */ public Builder setStop(com.google.protobuf.Timestamp value) { if (stopBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stop_ = value; onChanged(); } else { stopBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** *
     * Filter the upper bound of the event's generation time. Specify a date
     * string in ISO 8601 format. This bound is exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 3; */ public Builder setStop( com.google.protobuf.Timestamp.Builder builderForValue) { if (stopBuilder_ == null) { stop_ = builderForValue.build(); onChanged(); } else { stopBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** *
     * Filter the upper bound of the event's generation time. Specify a date
     * string in ISO 8601 format. This bound is exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 3; */ public Builder mergeStop(com.google.protobuf.Timestamp value) { if (stopBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && stop_ != null && stop_ != com.google.protobuf.Timestamp.getDefaultInstance()) { stop_ = com.google.protobuf.Timestamp.newBuilder(stop_).mergeFrom(value).buildPartial(); } else { stop_ = value; } onChanged(); } else { stopBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** *
     * Filter the upper bound of the event's generation time. Specify a date
     * string in ISO 8601 format. This bound is exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 3; */ public Builder clearStop() { if (stopBuilder_ == null) { stop_ = null; onChanged(); } else { stopBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** *
     * Filter the upper bound of the event's generation time. Specify a date
     * string in ISO 8601 format. This bound is exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 3; */ public com.google.protobuf.Timestamp.Builder getStopBuilder() { bitField0_ |= 0x00000004; onChanged(); return getStopFieldBuilder().getBuilder(); } /** *
     * Filter the upper bound of the event's generation time. Specify a date
     * string in ISO 8601 format. This bound is exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 3; */ public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() { if (stopBuilder_ != null) { return stopBuilder_.getMessageOrBuilder(); } else { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } } /** *
     * Filter the upper bound of the event's generation time. Specify a date
     * string in ISO 8601 format. This bound is exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStopFieldBuilder() { if (stopBuilder_ == null) { stopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStop(), getParentForChildren(), isClean()); stop_ = null; } return stopBuilder_; } private com.google.protobuf.LazyStringList source_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSourceIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { source_ = new com.google.protobuf.LazyStringArrayList(source_); bitField0_ |= 0x00000008; } } /** *
     * The source of the events. Names must match exactly.
     * 
* * repeated string source = 4; * @return A list containing the source. */ public com.google.protobuf.ProtocolStringList getSourceList() { return source_.getUnmodifiableView(); } /** *
     * The source of the events. Names must match exactly.
     * 
* * repeated string source = 4; * @return The count of source. */ public int getSourceCount() { return source_.size(); } /** *
     * The source of the events. Names must match exactly.
     * 
* * repeated string source = 4; * @param index The index of the element to return. * @return The source at the given index. */ public java.lang.String getSource(int index) { return source_.get(index); } /** *
     * The source of the events. Names must match exactly.
     * 
* * repeated string source = 4; * @param index The index of the value to return. * @return The bytes of the source at the given index. */ public com.google.protobuf.ByteString getSourceBytes(int index) { return source_.getByteString(index); } /** *
     * The source of the events. Names must match exactly.
     * 
* * repeated string source = 4; * @param index The index to set the value at. * @param value The source to set. * @return This builder for chaining. */ public Builder setSource( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSourceIsMutable(); source_.set(index, value); onChanged(); return this; } /** *
     * The source of the events. Names must match exactly.
     * 
* * repeated string source = 4; * @param value The source to add. * @return This builder for chaining. */ public Builder addSource( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSourceIsMutable(); source_.add(value); onChanged(); return this; } /** *
     * The source of the events. Names must match exactly.
     * 
* * repeated string source = 4; * @param values The source to add. * @return This builder for chaining. */ public Builder addAllSource( java.lang.Iterable values) { ensureSourceIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, source_); onChanged(); return this; } /** *
     * The source of the events. Names must match exactly.
     * 
* * repeated string source = 4; * @return This builder for chaining. */ public Builder clearSource() { source_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     * The source of the events. Names must match exactly.
     * 
* * repeated string source = 4; * @param value The bytes of the source to add. * @return This builder for chaining. */ public Builder addSourceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureSourceIsMutable(); source_.add(value); onChanged(); return this; } private java.lang.Object severity_ = ""; /** *
     * The minimum severity level of the events. One of ``info``, ``watch``, 
     * ``warning``, ``distress`` or ``severe``. Default: ``info``
     * 
* * optional string severity = 5; * @return Whether the severity field is set. */ public boolean hasSeverity() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * The minimum severity level of the events. One of ``info``, ``watch``, 
     * ``warning``, ``distress`` or ``severe``. Default: ``info``
     * 
* * optional string severity = 5; * @return The severity. */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { severity_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * The minimum severity level of the events. One of ``info``, ``watch``, 
     * ``warning``, ``distress`` or ``severe``. Default: ``info``
     * 
* * optional string severity = 5; * @return The bytes for severity. */ public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); severity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The minimum severity level of the events. One of ``info``, ``watch``, 
     * ``warning``, ``distress`` or ``severe``. Default: ``info``
     * 
* * optional string severity = 5; * @param value The severity to set. * @return This builder for chaining. */ public Builder setSeverity( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; severity_ = value; onChanged(); return this; } /** *
     * The minimum severity level of the events. One of ``info``, ``watch``, 
     * ``warning``, ``distress`` or ``severe``. Default: ``info``
     * 
* * optional string severity = 5; * @return This builder for chaining. */ public Builder clearSeverity() { bitField0_ = (bitField0_ & ~0x00000010); severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** *
     * The minimum severity level of the events. One of ``info``, ``watch``, 
     * ``warning``, ``distress`` or ``severe``. Default: ``info``
     * 
* * optional string severity = 5; * @param value The bytes for severity to set. * @return This builder for chaining. */ public Builder setSeverityBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; severity_ = value; onChanged(); return this; } private java.lang.Object q_ = ""; /** *
     * Text to search for in the message.
     * 
* * optional string q = 6; * @return Whether the q field is set. */ public boolean hasQ() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Text to search for in the message.
     * 
* * optional string q = 6; * @return The q. */ public java.lang.String getQ() { java.lang.Object ref = q_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { q_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Text to search for in the message.
     * 
* * optional string q = 6; * @return The bytes for q. */ public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Text to search for in the message.
     * 
* * optional string q = 6; * @param value The q to set. * @return This builder for chaining. */ public Builder setQ( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; q_ = value; onChanged(); return this; } /** *
     * Text to search for in the message.
     * 
* * optional string q = 6; * @return This builder for chaining. */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000020); q_ = getDefaultInstance().getQ(); onChanged(); return this; } /** *
     * Text to search for in the message.
     * 
* * optional string q = 6; * @param value The bytes for q to set. * @return This builder for chaining. */ public Builder setQBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; q_ = value; onChanged(); return this; } private java.lang.Object filter_ = ""; /** *
     * 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 = 8; * @return Whether the filter field is set. */ public boolean hasFilter() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * 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 = 8; * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { filter_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * 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 = 8; * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 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 = 8; * @param value The filter to set. * @return This builder for chaining. */ public Builder setFilter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; filter_ = value; onChanged(); return this; } /** *
     * 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 = 8; * @return This builder for chaining. */ public Builder clearFilter() { bitField0_ = (bitField0_ & ~0x00000040); filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** *
     * 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 = 8; * @param value The bytes for filter to set. * @return This builder for chaining. */ public Builder setFilterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; filter_ = value; onChanged(); return this; } private java.lang.Object delimiter_ = ""; /** *
     * Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
     * Default: ``TAB``.
     * 
* * optional string delimiter = 7; * @return Whether the delimiter field is set. */ public boolean hasDelimiter() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
     * Default: ``TAB``.
     * 
* * optional string delimiter = 7; * @return The delimiter. */ public java.lang.String getDelimiter() { java.lang.Object ref = delimiter_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { delimiter_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
     * Default: ``TAB``.
     * 
* * optional string delimiter = 7; * @return The bytes for delimiter. */ public com.google.protobuf.ByteString getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); delimiter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
     * Default: ``TAB``.
     * 
* * optional string delimiter = 7; * @param value The delimiter to set. * @return This builder for chaining. */ public Builder setDelimiter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; delimiter_ = value; onChanged(); return this; } /** *
     * Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
     * Default: ``TAB``.
     * 
* * optional string delimiter = 7; * @return This builder for chaining. */ public Builder clearDelimiter() { bitField0_ = (bitField0_ & ~0x00000080); delimiter_ = getDefaultInstance().getDelimiter(); onChanged(); return this; } /** *
     * Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
     * Default: ``TAB``.
     * 
* * optional string delimiter = 7; * @param value The bytes for delimiter to set. * @return This builder for chaining. */ public Builder setDelimiterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; delimiter_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yamcs.protobuf.events.ExportEventsRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.events.ExportEventsRequest) private static final org.yamcs.protobuf.ExportEventsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.ExportEventsRequest(); } public static org.yamcs.protobuf.ExportEventsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportEventsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportEventsRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.yamcs.protobuf.ExportEventsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy