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
      • setInstanceBytes

        public Table.GetTableDataRequest.Builder setInstanceBytes​(com.google.protobuf.ByteString value)
         Yamcs instance name.
         
        optional string instance = 1;
      • 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
      • 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
      • 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
      • 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
      • 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;
      • 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;
      • 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;
      • 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;
      • 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;
      • 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
      • 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
      • 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;
      • 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;
      • 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
      • 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
      • 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;
      • 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;
      • 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
      • 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
      • 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
      • 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;
      • 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;
      • 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;
      • 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>