Class Table.GetTableDataRequest.Builder

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

public static final class Table.GetTableDataRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Table.GetTableDataRequest.Builder> implements Table.GetTableDataRequestOrBuilder
Protobuf type yamcs.protobuf.table.GetTableDataRequest
  • 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<Table.GetTableDataRequest.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<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
    • 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<Table.GetTableDataRequest.Builder>
    • setField

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

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

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

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

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

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

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

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name.
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface Table.GetTableDataRequestOrBuilder
      Returns:
      The bytes for instance.
    • 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.
    • clearInstance

      public Table.GetTableDataRequest.Builder clearInstance()
       Yamcs instance name.
       
      optional string instance = 1;
      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.
    • hasName

      public boolean hasName()
       Table name.
       
      optional string name = 2;
      Specified by:
      hasName in interface Table.GetTableDataRequestOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Table name.
       
      optional string name = 2;
      Specified by:
      getName in interface Table.GetTableDataRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Table name.
       
      optional string name = 2;
      Specified by:
      getNameBytes in interface Table.GetTableDataRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Table.GetTableDataRequest.Builder setName(String value)
       Table name.
       
      optional string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Table name.
       
      optional string name = 2;
      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

       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

       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>