Class ListCommandHistoryIndexRequest.Builder

    • Method Detail

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

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

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

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

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

        public ListCommandHistoryIndexRequest.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.
      • hasMergeTime

        public boolean hasMergeTime()
         Value in milliseconds that indicates the maximum gap before two consecutive index
         ranges are merged together. Default: ``2000``
         
        optional int32 mergeTime = 2;
        Specified by:
        hasMergeTime in interface ListCommandHistoryIndexRequestOrBuilder
        Returns:
        Whether the mergeTime field is set.
      • getMergeTime

        public int getMergeTime()
         Value in milliseconds that indicates the maximum gap before two consecutive index
         ranges are merged together. Default: ``2000``
         
        optional int32 mergeTime = 2;
        Specified by:
        getMergeTime in interface ListCommandHistoryIndexRequestOrBuilder
        Returns:
        The mergeTime.
      • setMergeTime

        public ListCommandHistoryIndexRequest.Builder setMergeTime​(int value)
         Value in milliseconds that indicates the maximum gap before two consecutive index
         ranges are merged together. Default: ``2000``
         
        optional int32 mergeTime = 2;
        Parameters:
        value - The mergeTime to set.
        Returns:
        This builder for chaining.
      • clearMergeTime

        public ListCommandHistoryIndexRequest.Builder clearMergeTime()
         Value in milliseconds that indicates the maximum gap before two consecutive index
         ranges are merged together. Default: ``2000``
         
        optional int32 mergeTime = 2;
        Returns:
        This builder for chaining.
      • hasLimit

        public boolean hasLimit()
         The maximum number of returned entries. Choose this value too high and you risk hitting
         the maximum response size limit enforced by the server. Default: ``1000``.
         Note that in general it is advised to control the size of the response via ``mergeTime``,
         rather than via ``limit``.
         
        optional int32 limit = 3;
        Specified by:
        hasLimit in interface ListCommandHistoryIndexRequestOrBuilder
        Returns:
        Whether the limit field is set.
      • getLimit

        public int getLimit()
         The maximum number of returned entries. Choose this value too high and you risk hitting
         the maximum response size limit enforced by the server. Default: ``1000``.
         Note that in general it is advised to control the size of the response via ``mergeTime``,
         rather than via ``limit``.
         
        optional int32 limit = 3;
        Specified by:
        getLimit in interface ListCommandHistoryIndexRequestOrBuilder
        Returns:
        The limit.
      • setLimit

        public ListCommandHistoryIndexRequest.Builder setLimit​(int value)
         The maximum number of returned entries. Choose this value too high and you risk hitting
         the maximum response size limit enforced by the server. Default: ``1000``.
         Note that in general it is advised to control the size of the response via ``mergeTime``,
         rather than via ``limit``.
         
        optional int32 limit = 3;
        Parameters:
        value - The limit to set.
        Returns:
        This builder for chaining.
      • clearLimit

        public ListCommandHistoryIndexRequest.Builder clearLimit()
         The maximum number of returned entries. Choose this value too high and you risk hitting
         the maximum response size limit enforced by the server. Default: ``1000``.
         Note that in general it is advised to control the size of the response via ``mergeTime``,
         rather than via ``limit``.
         
        optional int32 limit = 3;
        Returns:
        This builder for chaining.
      • hasStart

        public boolean hasStart()
         Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp start = 4;
        Specified by:
        hasStart in interface ListCommandHistoryIndexRequestOrBuilder
        Returns:
        Whether the start field is set.
      • getStart

        public com.google.protobuf.Timestamp getStart()
         Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp start = 4;
        Specified by:
        getStart in interface ListCommandHistoryIndexRequestOrBuilder
        Returns:
        The start.
      • setStart

        public ListCommandHistoryIndexRequest.Builder setStart​(com.google.protobuf.Timestamp value)
         Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp start = 4;
      • setStart

        public ListCommandHistoryIndexRequest.Builder setStart​(com.google.protobuf.Timestamp.Builder builderForValue)
         Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp start = 4;
      • mergeStart

        public ListCommandHistoryIndexRequest.Builder mergeStart​(com.google.protobuf.Timestamp value)
         Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp start = 4;
      • clearStart

        public ListCommandHistoryIndexRequest.Builder clearStart()
         Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp start = 4;
      • getStartBuilder

        public com.google.protobuf.Timestamp.Builder getStartBuilder()
         Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp start = 4;
      • getStartOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
         Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp start = 4;
        Specified by:
        getStartOrBuilder in interface ListCommandHistoryIndexRequestOrBuilder
      • hasStop

        public boolean hasStop()
         Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp stop = 5;
        Specified by:
        hasStop in interface ListCommandHistoryIndexRequestOrBuilder
        Returns:
        Whether the stop field is set.
      • getStop

        public com.google.protobuf.Timestamp getStop()
         Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp stop = 5;
        Specified by:
        getStop in interface ListCommandHistoryIndexRequestOrBuilder
        Returns:
        The stop.
      • setStop

        public ListCommandHistoryIndexRequest.Builder setStop​(com.google.protobuf.Timestamp value)
         Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp stop = 5;
      • setStop

        public ListCommandHistoryIndexRequest.Builder setStop​(com.google.protobuf.Timestamp.Builder builderForValue)
         Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp stop = 5;
      • mergeStop

        public ListCommandHistoryIndexRequest.Builder mergeStop​(com.google.protobuf.Timestamp value)
         Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp stop = 5;
      • clearStop

        public ListCommandHistoryIndexRequest.Builder clearStop()
         Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp stop = 5;
      • getStopBuilder

        public com.google.protobuf.Timestamp.Builder getStopBuilder()
         Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp stop = 5;
      • getStopOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()
         Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
         
        optional .google.protobuf.Timestamp stop = 5;
        Specified by:
        getStopOrBuilder in interface ListCommandHistoryIndexRequestOrBuilder
      • hasNext

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

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

        public ListCommandHistoryIndexRequest.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 ListCommandHistoryIndexRequest.Builder clearNext()
         Continuation token returned by a previous page response.
         
        optional string next = 6;
        Returns:
        This builder for chaining.
      • setNextBytes

        public ListCommandHistoryIndexRequest.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.
      • getName

        public String getName​(int index)
         Filter on a specific command
         
        repeated string name = 7;
        Specified by:
        getName in interface ListCommandHistoryIndexRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The name at the given index.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes​(int index)
         Filter on a specific command
         
        repeated string name = 7;
        Specified by:
        getNameBytes in interface ListCommandHistoryIndexRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the name at the given index.
      • setName

        public ListCommandHistoryIndexRequest.Builder setName​(int index,
                                                              String value)
         Filter on a specific command
         
        repeated string name = 7;
        Parameters:
        index - The index to set the value at.
        value - The name to set.
        Returns:
        This builder for chaining.
      • addNameBytes

        public ListCommandHistoryIndexRequest.Builder addNameBytes​(com.google.protobuf.ByteString value)
         Filter on a specific command
         
        repeated string name = 7;
        Parameters:
        value - The bytes of the name to add.
        Returns:
        This builder for chaining.