Class ListEventsRequest.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public ListEventsRequest.Builder mergeFrom(ListEventsRequest other)
    • isInitialized

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

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

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

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

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

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

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

      public ListEventsRequest.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.
    • hasPos

      public boolean hasPos()
       The zero-based row number at which to start outputting results. Default: ``0``
       
      optional int64 pos = 2;
      Specified by:
      hasPos in interface ListEventsRequestOrBuilder
      Returns:
      Whether the pos field is set.
    • getPos

      public long getPos()
       The zero-based row number at which to start outputting results. Default: ``0``
       
      optional int64 pos = 2;
      Specified by:
      getPos in interface ListEventsRequestOrBuilder
      Returns:
      The pos.
    • setPos

      public ListEventsRequest.Builder setPos(long value)
       The zero-based row number at which to start outputting results. Default: ``0``
       
      optional int64 pos = 2;
      Parameters:
      value - The pos to set.
      Returns:
      This builder for chaining.
    • clearPos

      public ListEventsRequest.Builder clearPos()
       The zero-based row number at which to start outputting results. Default: ``0``
       
      optional int64 pos = 2;
      Returns:
      This builder for chaining.
    • hasLimit

      public boolean hasLimit()
       The maximum number of returned records per page. Choose this value too high
        and you risk hitting the maximum response size limit enforced by the server.
       Default: ``100``
       
      optional int32 limit = 3;
      Specified by:
      hasLimit in interface ListEventsRequestOrBuilder
      Returns:
      Whether the limit field is set.
    • getLimit

      public int getLimit()
       The maximum number of returned records per page. Choose this value too high
        and you risk hitting the maximum response size limit enforced by the server.
       Default: ``100``
       
      optional int32 limit = 3;
      Specified by:
      getLimit in interface ListEventsRequestOrBuilder
      Returns:
      The limit.
    • setLimit

      public ListEventsRequest.Builder setLimit(int value)
       The maximum number of returned records per page. Choose this value too high
        and you risk hitting the maximum response size limit enforced by the server.
       Default: ``100``
       
      optional int32 limit = 3;
      Parameters:
      value - The limit to set.
      Returns:
      This builder for chaining.
    • clearLimit

      public ListEventsRequest.Builder clearLimit()
       The maximum number of returned records per page. Choose this value too high
        and you risk hitting the maximum response size limit enforced by the server.
       Default: ``100``
       
      optional int32 limit = 3;
      Returns:
      This builder for chaining.
    • hasOrder

      public boolean hasOrder()
       The order of the returned results. Can be either ``asc`` or ``desc``.
       Default: ``desc``
       
      optional string order = 4;
      Specified by:
      hasOrder in interface ListEventsRequestOrBuilder
      Returns:
      Whether the order field is set.
    • getOrder

      public String getOrder()
       The order of the returned results. Can be either ``asc`` or ``desc``.
       Default: ``desc``
       
      optional string order = 4;
      Specified by:
      getOrder in interface ListEventsRequestOrBuilder
      Returns:
      The order.
    • getOrderBytes

      public com.google.protobuf.ByteString getOrderBytes()
       The order of the returned results. Can be either ``asc`` or ``desc``.
       Default: ``desc``
       
      optional string order = 4;
      Specified by:
      getOrderBytes in interface ListEventsRequestOrBuilder
      Returns:
      The bytes for order.
    • setOrder

      public ListEventsRequest.Builder setOrder(String value)
       The order of the returned results. Can be either ``asc`` or ``desc``.
       Default: ``desc``
       
      optional string order = 4;
      Parameters:
      value - The order to set.
      Returns:
      This builder for chaining.
    • clearOrder

      public ListEventsRequest.Builder clearOrder()
       The order of the returned results. Can be either ``asc`` or ``desc``.
       Default: ``desc``
       
      optional string order = 4;
      Returns:
      This builder for chaining.
    • setOrderBytes

      public ListEventsRequest.Builder setOrderBytes(com.google.protobuf.ByteString value)
       The order of the returned results. Can be either ``asc`` or ``desc``.
       Default: ``desc``
       
      optional string order = 4;
      Parameters:
      value - The bytes for order to set.
      Returns:
      This builder for chaining.
    • hasSeverity

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

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

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

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

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

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

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

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

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

      public ListEventsRequest.Builder setSource(int index, String value)
       The source of the events. Names must match exactly.
       
      repeated string source = 6;
      Parameters:
      index - The index to set the value at.
      value - The source to set.
      Returns:
      This builder for chaining.
    • addSource

      public ListEventsRequest.Builder addSource(String value)
       The source of the events. Names must match exactly.
       
      repeated string source = 6;
      Parameters:
      value - The source to add.
      Returns:
      This builder for chaining.
    • addAllSource

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

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

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

      public boolean hasNext()
       Continuation token returned by a previous page response.
       
      optional string next = 7;
      Specified by:
      hasNext in interface ListEventsRequestOrBuilder
      Returns:
      Whether the next field is set.
    • getNext

      public String getNext()
       Continuation token returned by a previous page response.
       
      optional string next = 7;
      Specified by:
      getNext in interface ListEventsRequestOrBuilder
      Returns:
      The next.
    • getNextBytes

      public com.google.protobuf.ByteString getNextBytes()
       Continuation token returned by a previous page response.
       
      optional string next = 7;
      Specified by:
      getNextBytes in interface ListEventsRequestOrBuilder
      Returns:
      The bytes for next.
    • setNext

      public ListEventsRequest.Builder setNext(String value)
       Continuation token returned by a previous page response.
       
      optional string next = 7;
      Parameters:
      value - The next to set.
      Returns:
      This builder for chaining.
    • clearNext

      public ListEventsRequest.Builder clearNext()
       Continuation token returned by a previous page response.
       
      optional string next = 7;
      Returns:
      This builder for chaining.
    • setNextBytes

      public ListEventsRequest.Builder setNextBytes(com.google.protobuf.ByteString value)
       Continuation token returned by a previous page response.
       
      optional string next = 7;
      Parameters:
      value - The bytes for next 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 = 8;
      Specified by:
      hasStart in interface ListEventsRequestOrBuilder
      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 = 8;
      Specified by:
      getStart in interface ListEventsRequestOrBuilder
      Returns:
      The start.
    • setStart

      public ListEventsRequest.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 = 8;
    • setStart

      public ListEventsRequest.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 = 8;
    • mergeStart

      public ListEventsRequest.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 = 8;
    • clearStart

      public ListEventsRequest.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 = 8;
    • 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 = 8;
    • 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 = 8;
      Specified by:
      getStartOrBuilder in interface ListEventsRequestOrBuilder
    • 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 = 9;
      Specified by:
      hasStop in interface ListEventsRequestOrBuilder
      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 = 9;
      Specified by:
      getStop in interface ListEventsRequestOrBuilder
      Returns:
      The stop.
    • setStop

      public ListEventsRequest.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 = 9;
    • setStop

      public ListEventsRequest.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 = 9;
    • mergeStop

      public ListEventsRequest.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 = 9;
    • clearStop

      public ListEventsRequest.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 = 9;
    • 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 = 9;
    • 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 = 9;
      Specified by:
      getStopOrBuilder in interface ListEventsRequestOrBuilder
    • hasQ

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

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

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

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

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

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

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

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