Class ListActivitiesRequest.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public ListActivitiesRequest.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.
    • 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 = 2;
      Specified by:
      hasLimit in interface ListActivitiesRequestOrBuilder
      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 = 2;
      Specified by:
      getLimit in interface ListActivitiesRequestOrBuilder
      Returns:
      The limit.
    • setLimit

      public ListActivitiesRequest.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 = 2;
      Parameters:
      value - The limit to set.
      Returns:
      This builder for chaining.
    • clearLimit

      public ListActivitiesRequest.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 = 2;
      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 = 3;
      Specified by:
      hasOrder in interface ListActivitiesRequestOrBuilder
      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 = 3;
      Specified by:
      getOrder in interface ListActivitiesRequestOrBuilder
      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 = 3;
      Specified by:
      getOrderBytes in interface ListActivitiesRequestOrBuilder
      Returns:
      The bytes for order.
    • setOrder

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

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

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

      public com.google.protobuf.ProtocolStringList getStatusList()
       Filter on activity status
       
      repeated string status = 4;
      Specified by:
      getStatusList in interface ListActivitiesRequestOrBuilder
      Returns:
      A list containing the status.
    • getStatusCount

      public int getStatusCount()
       Filter on activity status
       
      repeated string status = 4;
      Specified by:
      getStatusCount in interface ListActivitiesRequestOrBuilder
      Returns:
      The count of status.
    • getStatus

      public String getStatus(int index)
       Filter on activity status
       
      repeated string status = 4;
      Specified by:
      getStatus in interface ListActivitiesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The status at the given index.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes(int index)
       Filter on activity status
       
      repeated string status = 4;
      Specified by:
      getStatusBytes in interface ListActivitiesRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the status at the given index.
    • setStatus

      public ListActivitiesRequest.Builder setStatus(int index, String value)
       Filter on activity status
       
      repeated string status = 4;
      Parameters:
      index - The index to set the value at.
      value - The status to set.
      Returns:
      This builder for chaining.
    • addStatus

      public ListActivitiesRequest.Builder addStatus(String value)
       Filter on activity status
       
      repeated string status = 4;
      Parameters:
      value - The status to add.
      Returns:
      This builder for chaining.
    • addAllStatus

      public ListActivitiesRequest.Builder addAllStatus(Iterable<String> values)
       Filter on activity status
       
      repeated string status = 4;
      Parameters:
      values - The status to add.
      Returns:
      This builder for chaining.
    • clearStatus

      public ListActivitiesRequest.Builder clearStatus()
       Filter on activity status
       
      repeated string status = 4;
      Returns:
      This builder for chaining.
    • addStatusBytes

      public ListActivitiesRequest.Builder addStatusBytes(com.google.protobuf.ByteString value)
       Filter on activity status
       
      repeated string status = 4;
      Parameters:
      value - The bytes of the status to add.
      Returns:
      This builder for chaining.
    • getTypeList

      public com.google.protobuf.ProtocolStringList getTypeList()
       The type of activity. Names must match exactly.
       
      repeated string type = 5;
      Specified by:
      getTypeList in interface ListActivitiesRequestOrBuilder
      Returns:
      A list containing the type.
    • getTypeCount

      public int getTypeCount()
       The type of activity. Names must match exactly.
       
      repeated string type = 5;
      Specified by:
      getTypeCount in interface ListActivitiesRequestOrBuilder
      Returns:
      The count of type.
    • getType

      public String getType(int index)
       The type of activity. Names must match exactly.
       
      repeated string type = 5;
      Specified by:
      getType in interface ListActivitiesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The type at the given index.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes(int index)
       The type of activity. Names must match exactly.
       
      repeated string type = 5;
      Specified by:
      getTypeBytes in interface ListActivitiesRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the type at the given index.
    • setType

      public ListActivitiesRequest.Builder setType(int index, String value)
       The type of activity. Names must match exactly.
       
      repeated string type = 5;
      Parameters:
      index - The index to set the value at.
      value - The type to set.
      Returns:
      This builder for chaining.
    • addType

      public ListActivitiesRequest.Builder addType(String value)
       The type of activity. Names must match exactly.
       
      repeated string type = 5;
      Parameters:
      value - The type to add.
      Returns:
      This builder for chaining.
    • addAllType

      public ListActivitiesRequest.Builder addAllType(Iterable<String> values)
       The type of activity. Names must match exactly.
       
      repeated string type = 5;
      Parameters:
      values - The type to add.
      Returns:
      This builder for chaining.
    • clearType

      public ListActivitiesRequest.Builder clearType()
       The type of activity. Names must match exactly.
       
      repeated string type = 5;
      Returns:
      This builder for chaining.
    • addTypeBytes

      public ListActivitiesRequest.Builder addTypeBytes(com.google.protobuf.ByteString value)
       The type of activity. Names must match exactly.
       
      repeated string type = 5;
      Parameters:
      value - The bytes of the type to add.
      Returns:
      This builder for chaining.
    • hasNext

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public boolean hasStop()
       Filter the upper bound of the activity's generation time. Specify a
       datestring in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
      Specified by:
      hasStop in interface ListActivitiesRequestOrBuilder
      Returns:
      Whether the stop field is set.
    • getStop

      public com.google.protobuf.Timestamp getStop()
       Filter the upper bound of the activity's generation time. Specify a
       datestring in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
      Specified by:
      getStop in interface ListActivitiesRequestOrBuilder
      Returns:
      The stop.
    • setStop

      public ListActivitiesRequest.Builder setStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the activity's generation time. Specify a
       datestring in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
    • setStop

      public ListActivitiesRequest.Builder setStop(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the upper bound of the activity's generation time. Specify a
       datestring in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
    • mergeStop

      public ListActivitiesRequest.Builder mergeStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the activity's generation time. Specify a
       datestring in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
    • clearStop

      public ListActivitiesRequest.Builder clearStop()
       Filter the upper bound of the activity's generation time. Specify a
       datestring in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
    • getStopBuilder

      public com.google.protobuf.Timestamp.Builder getStopBuilder()
       Filter the upper bound of the activity's generation time. Specify a
       datestring in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
    • getStopOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()
       Filter the upper bound of the activity's generation time. Specify a
       datestring in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
      Specified by:
      getStopOrBuilder in interface ListActivitiesRequestOrBuilder
    • hasQ

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

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

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

       Text to search for in the description.
       
      optional string q = 9;
      Parameters:
      value - The q to set.
      Returns:
      This builder for chaining.
    • clearQ

       Text to search for in the description.
       
      optional string q = 9;
      Returns:
      This builder for chaining.
    • setQBytes

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

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

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