Class Table.GetTableDataRequest.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<Table.GetTableDataRequest.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<Table.GetTableDataRequest.Builder>
      • getDefaultInstanceForType

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

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

        public Table.GetTableDataRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public Table.GetTableDataRequest.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<Table.GetTableDataRequest.Builder>
      • isInitialized

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

        public Table.GetTableDataRequest.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<Table.GetTableDataRequest.Builder>
        Throws:
        IOException
      • setInstance

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

        public Table.GetTableDataRequest.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.
      • setNameBytes

        public Table.GetTableDataRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Table name.
         
        optional string name = 2;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getColsList

        public com.google.protobuf.ProtocolStringList getColsList()
         The columns to be included in the result. If unspecified, all table
         and/or additional tuple columns will be included.
         
        repeated string cols = 3;
        Specified by:
        getColsList in interface Table.GetTableDataRequestOrBuilder
        Returns:
        A list containing the cols.
      • getColsCount

        public int getColsCount()
         The columns to be included in the result. If unspecified, all table
         and/or additional tuple columns will be included.
         
        repeated string cols = 3;
        Specified by:
        getColsCount in interface Table.GetTableDataRequestOrBuilder
        Returns:
        The count of cols.
      • getCols

        public String getCols​(int index)
         The columns to be included in the result. If unspecified, all table
         and/or additional tuple columns will be included.
         
        repeated string cols = 3;
        Specified by:
        getCols in interface Table.GetTableDataRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The cols at the given index.
      • getColsBytes

        public com.google.protobuf.ByteString getColsBytes​(int index)
         The columns to be included in the result. If unspecified, all table
         and/or additional tuple columns will be included.
         
        repeated string cols = 3;
        Specified by:
        getColsBytes in interface Table.GetTableDataRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the cols at the given index.
      • setCols

        public Table.GetTableDataRequest.Builder setCols​(int index,
                                                         String value)
         The columns to be included in the result. If unspecified, all table
         and/or additional tuple columns will be included.
         
        repeated string cols = 3;
        Parameters:
        index - The index to set the value at.
        value - The cols to set.
        Returns:
        This builder for chaining.
      • addCols

        public Table.GetTableDataRequest.Builder addCols​(String value)
         The columns to be included in the result. If unspecified, all table
         and/or additional tuple columns will be included.
         
        repeated string cols = 3;
        Parameters:
        value - The cols to add.
        Returns:
        This builder for chaining.
      • addAllCols

        public Table.GetTableDataRequest.Builder addAllCols​(Iterable<String> values)
         The columns to be included in the result. If unspecified, all table
         and/or additional tuple columns will be included.
         
        repeated string cols = 3;
        Parameters:
        values - The cols to add.
        Returns:
        This builder for chaining.
      • clearCols

        public Table.GetTableDataRequest.Builder clearCols()
         The columns to be included in the result. If unspecified, all table
         and/or additional tuple columns will be included.
         
        repeated string cols = 3;
        Returns:
        This builder for chaining.
      • addColsBytes

        public Table.GetTableDataRequest.Builder addColsBytes​(com.google.protobuf.ByteString value)
         The columns to be included in the result. If unspecified, all table
         and/or additional tuple columns will be included.
         
        repeated string cols = 3;
        Parameters:
        value - The bytes of the cols to add.
        Returns:
        This builder for chaining.
      • hasPos

        public boolean hasPos()
         The zero-based row number at which to start outputting results. Default: ``0``
         Note that in the current rocksdb storage engine there is no way to jump to a row by its number. 
         This is why such a request will do a table scan and can be slow for large values of pos.
         
        optional int64 pos = 4;
        Specified by:
        hasPos in interface Table.GetTableDataRequestOrBuilder
        Returns:
        Whether the pos field is set.
      • getPos

        public long getPos()
         The zero-based row number at which to start outputting results. Default: ``0``
         Note that in the current rocksdb storage engine there is no way to jump to a row by its number. 
         This is why such a request will do a table scan and can be slow for large values of pos.
         
        optional int64 pos = 4;
        Specified by:
        getPos in interface Table.GetTableDataRequestOrBuilder
        Returns:
        The pos.
      • setPos

        public Table.GetTableDataRequest.Builder setPos​(long value)
         The zero-based row number at which to start outputting results. Default: ``0``
         Note that in the current rocksdb storage engine there is no way to jump to a row by its number. 
         This is why such a request will do a table scan and can be slow for large values of pos.
         
        optional int64 pos = 4;
        Parameters:
        value - The pos to set.
        Returns:
        This builder for chaining.
      • clearPos

        public Table.GetTableDataRequest.Builder clearPos()
         The zero-based row number at which to start outputting results. Default: ``0``
         Note that in the current rocksdb storage engine there is no way to jump to a row by its number. 
         This is why such a request will do a table scan and can be slow for large values of pos.
         
        optional int64 pos = 4;
        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 = 5;
        Specified by:
        hasLimit in interface Table.GetTableDataRequestOrBuilder
        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 = 5;
        Specified by:
        getLimit in interface Table.GetTableDataRequestOrBuilder
        Returns:
        The limit.
      • setLimit

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

        public Table.GetTableDataRequest.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 = 5;
        Returns:
        This builder for chaining.
      • hasOrder

        public boolean hasOrder()
         The direction of the sort. Sorting is always done on the key of the
         table. Can be either ``asc`` or ``desc``. Default: ``desc``
         
        optional string order = 6;
        Specified by:
        hasOrder in interface Table.GetTableDataRequestOrBuilder
        Returns:
        Whether the order field is set.
      • getOrder

        public String getOrder()
         The direction of the sort. Sorting is always done on the key of the
         table. Can be either ``asc`` or ``desc``. Default: ``desc``
         
        optional string order = 6;
        Specified by:
        getOrder in interface Table.GetTableDataRequestOrBuilder
        Returns:
        The order.
      • getOrderBytes

        public com.google.protobuf.ByteString getOrderBytes()
         The direction of the sort. Sorting is always done on the key of the
         table. Can be either ``asc`` or ``desc``. Default: ``desc``
         
        optional string order = 6;
        Specified by:
        getOrderBytes in interface Table.GetTableDataRequestOrBuilder
        Returns:
        The bytes for order.
      • setOrder

        public Table.GetTableDataRequest.Builder setOrder​(String value)
         The direction of the sort. Sorting is always done on the key of the
         table. Can be either ``asc`` or ``desc``. Default: ``desc``
         
        optional string order = 6;
        Parameters:
        value - The order to set.
        Returns:
        This builder for chaining.
      • clearOrder

        public Table.GetTableDataRequest.Builder clearOrder()
         The direction of the sort. Sorting is always done on the key of the
         table. Can be either ``asc`` or ``desc``. Default: ``desc``
         
        optional string order = 6;
        Returns:
        This builder for chaining.
      • setOrderBytes

        public Table.GetTableDataRequest.Builder setOrderBytes​(com.google.protobuf.ByteString value)
         The direction of the sort. Sorting is always done on the key of the
         table. Can be either ``asc`` or ``desc``. Default: ``desc``
         
        optional string order = 6;
        Parameters:
        value - The bytes for order to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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