Class ListAlarmsRequest.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public ListAlarmsRequest.Builder mergeFrom(ListAlarmsRequest other)
    • isInitialized

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

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

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

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

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

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

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

      public ListAlarmsRequest.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 ListAlarmsRequestOrBuilder
      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 ListAlarmsRequestOrBuilder
      Returns:
      The pos.
    • setPos

      public ListAlarmsRequest.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 ListAlarmsRequest.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 ListAlarmsRequestOrBuilder
      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 ListAlarmsRequestOrBuilder
      Returns:
      The limit.
    • setLimit

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

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

      public com.google.protobuf.Timestamp getStart()
       Filter the lower bound of the alarm's trigger time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
      Specified by:
      getStart in interface ListAlarmsRequestOrBuilder
      Returns:
      The start.
    • setStart

      public ListAlarmsRequest.Builder setStart(com.google.protobuf.Timestamp value)
       Filter the lower bound of the alarm's trigger time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
    • setStart

      public ListAlarmsRequest.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the lower bound of the alarm's trigger time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
    • mergeStart

      public ListAlarmsRequest.Builder mergeStart(com.google.protobuf.Timestamp value)
       Filter the lower bound of the alarm's trigger time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
    • clearStart

      public ListAlarmsRequest.Builder clearStart()
       Filter the lower bound of the alarm's trigger time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
    • getStartBuilder

      public com.google.protobuf.Timestamp.Builder getStartBuilder()
       Filter the lower bound of the alarm's trigger time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
    • getStartOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
       Filter the lower bound of the alarm's trigger time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
      Specified by:
      getStartOrBuilder in interface ListAlarmsRequestOrBuilder
    • hasStop

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

      public com.google.protobuf.Timestamp getStop()
       Filter the upper bound of the alarm's trigger time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
      Specified by:
      getStop in interface ListAlarmsRequestOrBuilder
      Returns:
      The stop.
    • setStop

      public ListAlarmsRequest.Builder setStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the alarm's trigger time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
    • setStop

      public ListAlarmsRequest.Builder setStop(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the upper bound of the alarm's trigger time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
    • mergeStop

      public ListAlarmsRequest.Builder mergeStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the alarm's trigger time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
    • clearStop

      public ListAlarmsRequest.Builder clearStop()
       Filter the upper bound of the alarm's trigger time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
    • getStopBuilder

      public com.google.protobuf.Timestamp.Builder getStopBuilder()
       Filter the upper bound of the alarm's trigger time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
    • getStopOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()
       Filter the upper bound of the alarm's trigger time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
      Specified by:
      getStopOrBuilder in interface ListAlarmsRequestOrBuilder
    • hasOrder

      public boolean hasOrder()
       The order of the returned results. Can be either ``asc`` or
       ``desc``. The sorting is always by trigger time (i.e. the
       generation time of the trigger value). Default: ``desc``
       
      optional string order = 6;
      Specified by:
      hasOrder in interface ListAlarmsRequestOrBuilder
      Returns:
      Whether the order field is set.
    • getOrder

      public String getOrder()
       The order of the returned results. Can be either ``asc`` or
       ``desc``. The sorting is always by trigger time (i.e. the
       generation time of the trigger value). Default: ``desc``
       
      optional string order = 6;
      Specified by:
      getOrder in interface ListAlarmsRequestOrBuilder
      Returns:
      The order.
    • getOrderBytes

      public com.google.protobuf.ByteString getOrderBytes()
       The order of the returned results. Can be either ``asc`` or
       ``desc``. The sorting is always by trigger time (i.e. the
       generation time of the trigger value). Default: ``desc``
       
      optional string order = 6;
      Specified by:
      getOrderBytes in interface ListAlarmsRequestOrBuilder
      Returns:
      The bytes for order.
    • setOrder

      public ListAlarmsRequest.Builder setOrder(String value)
       The order of the returned results. Can be either ``asc`` or
       ``desc``. The sorting is always by trigger time (i.e. the
       generation time of the trigger value). Default: ``desc``
       
      optional string order = 6;
      Parameters:
      value - The order to set.
      Returns:
      This builder for chaining.
    • clearOrder

      public ListAlarmsRequest.Builder clearOrder()
       The order of the returned results. Can be either ``asc`` or
       ``desc``. The sorting is always by trigger time (i.e. the
       generation time of the trigger value). Default: ``desc``
       
      optional string order = 6;
      Returns:
      This builder for chaining.
    • setOrderBytes

      public ListAlarmsRequest.Builder setOrderBytes(com.google.protobuf.ByteString value)
       The order of the returned results. Can be either ``asc`` or
       ``desc``. The sorting is always by trigger time (i.e. the
       generation time of the trigger value). Default: ``desc``
       
      optional string order = 6;
      Parameters:
      value - The bytes for order to set.
      Returns:
      This builder for chaining.
    • hasName

      public boolean hasName()
       Filter alarm instances on a specific alarm name (for example:
       parameter name)
       
      optional string name = 7;
      Specified by:
      hasName in interface ListAlarmsRequestOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Filter alarm instances on a specific alarm name (for example:
       parameter name)
       
      optional string name = 7;
      Specified by:
      getName in interface ListAlarmsRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Filter alarm instances on a specific alarm name (for example:
       parameter name)
       
      optional string name = 7;
      Specified by:
      getNameBytes in interface ListAlarmsRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ListAlarmsRequest.Builder setName(String value)
       Filter alarm instances on a specific alarm name (for example:
       parameter name)
       
      optional string name = 7;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ListAlarmsRequest.Builder clearName()
       Filter alarm instances on a specific alarm name (for example:
       parameter name)
       
      optional string name = 7;
      Returns:
      This builder for chaining.
    • setNameBytes

      public ListAlarmsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Filter alarm instances on a specific alarm name (for example:
       parameter name)
       
      optional string name = 7;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasNext

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

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

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

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

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

      public ListAlarmsRequest.Builder setNextBytes(com.google.protobuf.ByteString value)
       Continuation token returned by a previous page response.
       
      optional string next = 8;
      Parameters:
      value - The bytes for next to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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