Class Table.ReadRowsRequest.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public Table.ReadRowsRequest.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.ReadRowsRequest.Builder clearInstance()
       Yamcs instance name.
       
      optional string instance = 1;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public Table.ReadRowsRequest.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.
    • hasTable

      public boolean hasTable()
       Table name.
       
      optional string table = 2;
      Specified by:
      hasTable in interface Table.ReadRowsRequestOrBuilder
      Returns:
      Whether the table field is set.
    • getTable

      public String getTable()
       Table name.
       
      optional string table = 2;
      Specified by:
      getTable in interface Table.ReadRowsRequestOrBuilder
      Returns:
      The table.
    • getTableBytes

      public com.google.protobuf.ByteString getTableBytes()
       Table name.
       
      optional string table = 2;
      Specified by:
      getTableBytes in interface Table.ReadRowsRequestOrBuilder
      Returns:
      The bytes for table.
    • setTable

      public Table.ReadRowsRequest.Builder setTable(String value)
       Table name.
       
      optional string table = 2;
      Parameters:
      value - The table to set.
      Returns:
      This builder for chaining.
    • clearTable

      public Table.ReadRowsRequest.Builder clearTable()
       Table name.
       
      optional string table = 2;
      Returns:
      This builder for chaining.
    • setTableBytes

      public Table.ReadRowsRequest.Builder setTableBytes(com.google.protobuf.ByteString value)
       Table name.
       
      optional string table = 2;
      Parameters:
      value - The bytes for table 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.ReadRowsRequestOrBuilder
      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.ReadRowsRequestOrBuilder
      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.ReadRowsRequestOrBuilder
      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.ReadRowsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the cols at the given index.
    • setCols

      public Table.ReadRowsRequest.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.ReadRowsRequest.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.ReadRowsRequest.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.ReadRowsRequest.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.ReadRowsRequest.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.
    • hasQuery

      public boolean hasQuery()
       Limit the results by specifying a SQL WHERE clause.
       Examples:
       - pname = '/YSS/SIMULATOR/FlightData'
       - gentime > '2023-01-01T00:00:00.000Z'
       - pname = '/YSS/SIMULATOR/FlightData' and gentime > '2023-01-01T00:00:00.000Z'
       
      optional string query = 4;
      Specified by:
      hasQuery in interface Table.ReadRowsRequestOrBuilder
      Returns:
      Whether the query field is set.
    • getQuery

      public String getQuery()
       Limit the results by specifying a SQL WHERE clause.
       Examples:
       - pname = '/YSS/SIMULATOR/FlightData'
       - gentime > '2023-01-01T00:00:00.000Z'
       - pname = '/YSS/SIMULATOR/FlightData' and gentime > '2023-01-01T00:00:00.000Z'
       
      optional string query = 4;
      Specified by:
      getQuery in interface Table.ReadRowsRequestOrBuilder
      Returns:
      The query.
    • getQueryBytes

      public com.google.protobuf.ByteString getQueryBytes()
       Limit the results by specifying a SQL WHERE clause.
       Examples:
       - pname = '/YSS/SIMULATOR/FlightData'
       - gentime > '2023-01-01T00:00:00.000Z'
       - pname = '/YSS/SIMULATOR/FlightData' and gentime > '2023-01-01T00:00:00.000Z'
       
      optional string query = 4;
      Specified by:
      getQueryBytes in interface Table.ReadRowsRequestOrBuilder
      Returns:
      The bytes for query.
    • setQuery

      public Table.ReadRowsRequest.Builder setQuery(String value)
       Limit the results by specifying a SQL WHERE clause.
       Examples:
       - pname = '/YSS/SIMULATOR/FlightData'
       - gentime > '2023-01-01T00:00:00.000Z'
       - pname = '/YSS/SIMULATOR/FlightData' and gentime > '2023-01-01T00:00:00.000Z'
       
      optional string query = 4;
      Parameters:
      value - The query to set.
      Returns:
      This builder for chaining.
    • clearQuery

      public Table.ReadRowsRequest.Builder clearQuery()
       Limit the results by specifying a SQL WHERE clause.
       Examples:
       - pname = '/YSS/SIMULATOR/FlightData'
       - gentime > '2023-01-01T00:00:00.000Z'
       - pname = '/YSS/SIMULATOR/FlightData' and gentime > '2023-01-01T00:00:00.000Z'
       
      optional string query = 4;
      Returns:
      This builder for chaining.
    • setQueryBytes

      public Table.ReadRowsRequest.Builder setQueryBytes(com.google.protobuf.ByteString value)
       Limit the results by specifying a SQL WHERE clause.
       Examples:
       - pname = '/YSS/SIMULATOR/FlightData'
       - gentime > '2023-01-01T00:00:00.000Z'
       - pname = '/YSS/SIMULATOR/FlightData' and gentime > '2023-01-01T00:00:00.000Z'
       
      optional string query = 4;
      Parameters:
      value - The bytes for query to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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