Class ExportEventsRequest.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public ExportEventsRequest.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. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 2;
      Specified by:
      hasStart in interface ExportEventsRequestOrBuilder
      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. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 2;
      Specified by:
      getStart in interface ExportEventsRequestOrBuilder
      Returns:
      The start.
    • setStart

      public ExportEventsRequest.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. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 2;
    • setStart

      public ExportEventsRequest.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. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 2;
    • mergeStart

      public ExportEventsRequest.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. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 2;
    • clearStart

      public ExportEventsRequest.Builder clearStart()
       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;
    • 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. This bound is inclusive.
       
      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. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 2;
      Specified by:
      getStartOrBuilder in interface ExportEventsRequestOrBuilder
    • hasStop

      public boolean hasStop()
       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;
      Specified by:
      hasStop in interface ExportEventsRequestOrBuilder
      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. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 3;
      Specified by:
      getStop in interface ExportEventsRequestOrBuilder
      Returns:
      The stop.
    • setStop

      public ExportEventsRequest.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. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 3;
    • setStop

      public ExportEventsRequest.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. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 3;
    • mergeStop

      public ExportEventsRequest.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. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 3;
    • clearStop

      public ExportEventsRequest.Builder clearStop()
       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;
    • 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. This bound is exclusive.
       
      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. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 3;
      Specified by:
      getStopOrBuilder in interface ExportEventsRequestOrBuilder
    • getSourceList

      public com.google.protobuf.ProtocolStringList getSourceList()
       The source of the events. Names must match exactly.
       
      repeated string source = 4;
      Specified by:
      getSourceList in interface ExportEventsRequestOrBuilder
      Returns:
      A list containing the source.
    • getSourceCount

      public int getSourceCount()
       The source of the events. Names must match exactly.
       
      repeated string source = 4;
      Specified by:
      getSourceCount in interface ExportEventsRequestOrBuilder
      Returns:
      The count of source.
    • getSource

      public String getSource(int index)
       The source of the events. Names must match exactly.
       
      repeated string source = 4;
      Specified by:
      getSource in interface ExportEventsRequestOrBuilder
      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)
       The source of the events. Names must match exactly.
       
      repeated string source = 4;
      Specified by:
      getSourceBytes in interface ExportEventsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the source at the given index.
    • setSource

      public ExportEventsRequest.Builder setSource(int index, String value)
       The source of the events. Names must match exactly.
       
      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 ExportEventsRequest.Builder addSource(String value)
       The source of the events. Names must match exactly.
       
      repeated string source = 4;
      Parameters:
      value - The source to add.
      Returns:
      This builder for chaining.
    • addAllSource

      public ExportEventsRequest.Builder addAllSource(Iterable<String> values)
       The source of the events. Names must match exactly.
       
      repeated string source = 4;
      Parameters:
      values - The source to add.
      Returns:
      This builder for chaining.
    • clearSource

      public ExportEventsRequest.Builder clearSource()
       The source of the events. Names must match exactly.
       
      repeated string source = 4;
      Returns:
      This builder for chaining.
    • addSourceBytes

      public ExportEventsRequest.Builder addSourceBytes(com.google.protobuf.ByteString value)
       The source of the events. Names must match exactly.
       
      repeated string source = 4;
      Parameters:
      value - The bytes of the source to add.
      Returns:
      This builder for chaining.
    • hasSeverity

      public boolean hasSeverity()
       The minimum severity level of the events. One of ``info``, ``watch``, 
       ``warning``, ``distress`` or ``severe``. Default: ``info``
       
      optional string severity = 5;
      Specified by:
      hasSeverity in interface ExportEventsRequestOrBuilder
      Returns:
      Whether the severity field is set.
    • getSeverity

      public String getSeverity()
       The minimum severity level of the events. One of ``info``, ``watch``, 
       ``warning``, ``distress`` or ``severe``. Default: ``info``
       
      optional string severity = 5;
      Specified by:
      getSeverity in interface ExportEventsRequestOrBuilder
      Returns:
      The severity.
    • getSeverityBytes

      public com.google.protobuf.ByteString getSeverityBytes()
       The minimum severity level of the events. One of ``info``, ``watch``, 
       ``warning``, ``distress`` or ``severe``. Default: ``info``
       
      optional string severity = 5;
      Specified by:
      getSeverityBytes in interface ExportEventsRequestOrBuilder
      Returns:
      The bytes for severity.
    • setSeverity

      public ExportEventsRequest.Builder setSeverity(String value)
       The minimum severity level of the events. One of ``info``, ``watch``, 
       ``warning``, ``distress`` or ``severe``. Default: ``info``
       
      optional string severity = 5;
      Parameters:
      value - The severity to set.
      Returns:
      This builder for chaining.
    • clearSeverity

      public ExportEventsRequest.Builder clearSeverity()
       The minimum severity level of the events. One of ``info``, ``watch``, 
       ``warning``, ``distress`` or ``severe``. Default: ``info``
       
      optional string severity = 5;
      Returns:
      This builder for chaining.
    • setSeverityBytes

      public ExportEventsRequest.Builder setSeverityBytes(com.google.protobuf.ByteString value)
       The minimum severity level of the events. One of ``info``, ``watch``, 
       ``warning``, ``distress`` or ``severe``. Default: ``info``
       
      optional string severity = 5;
      Parameters:
      value - The bytes for severity to set.
      Returns:
      This builder for chaining.
    • hasQ

      public boolean hasQ()
       Text to search for in the message.
       
      optional string q = 6;
      Specified by:
      hasQ in interface ExportEventsRequestOrBuilder
      Returns:
      Whether the q field is set.
    • getQ

      public String getQ()
       Text to search for in the message.
       
      optional string q = 6;
      Specified by:
      getQ in interface ExportEventsRequestOrBuilder
      Returns:
      The q.
    • getQBytes

      public com.google.protobuf.ByteString getQBytes()
       Text to search for in the message.
       
      optional string q = 6;
      Specified by:
      getQBytes in interface ExportEventsRequestOrBuilder
      Returns:
      The bytes for q.
    • setQ

      public ExportEventsRequest.Builder setQ(String value)
       Text to search for in the message.
       
      optional string q = 6;
      Parameters:
      value - The q to set.
      Returns:
      This builder for chaining.
    • clearQ

      public ExportEventsRequest.Builder clearQ()
       Text to search for in the message.
       
      optional string q = 6;
      Returns:
      This builder for chaining.
    • setQBytes

      public ExportEventsRequest.Builder setQBytes(com.google.protobuf.ByteString value)
       Text to search for in the message.
       
      optional string q = 6;
      Parameters:
      value - The bytes for q to set.
      Returns:
      This builder for chaining.
    • hasDelimiter

      public boolean hasDelimiter()
       Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
       Default: ``TAB``.
       
      optional string delimiter = 7;
      Specified by:
      hasDelimiter in interface ExportEventsRequestOrBuilder
      Returns:
      Whether the delimiter field is set.
    • getDelimiter

      public String getDelimiter()
       Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
       Default: ``TAB``.
       
      optional string delimiter = 7;
      Specified by:
      getDelimiter in interface ExportEventsRequestOrBuilder
      Returns:
      The delimiter.
    • getDelimiterBytes

      public com.google.protobuf.ByteString getDelimiterBytes()
       Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
       Default: ``TAB``.
       
      optional string delimiter = 7;
      Specified by:
      getDelimiterBytes in interface ExportEventsRequestOrBuilder
      Returns:
      The bytes for delimiter.
    • setDelimiter

      public ExportEventsRequest.Builder setDelimiter(String value)
       Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
       Default: ``TAB``.
       
      optional string delimiter = 7;
      Parameters:
      value - The delimiter to set.
      Returns:
      This builder for chaining.
    • clearDelimiter

      public ExportEventsRequest.Builder clearDelimiter()
       Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
       Default: ``TAB``.
       
      optional string delimiter = 7;
      Returns:
      This builder for chaining.
    • setDelimiterBytes

      public ExportEventsRequest.Builder setDelimiterBytes(com.google.protobuf.ByteString value)
       Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
       Default: ``TAB``.
       
      optional string delimiter = 7;
      Parameters:
      value - The bytes for delimiter to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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