Package org.yamcs.protobuf
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 Summary
Modifier and TypeMethodDescriptionaddAllCols
(Iterable<String> values) The columns to be included in the result.The columns to be included in the result.addColsBytes
(com.google.protobuf.ByteString value) The columns to be included in the result.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The columns to be included in the result.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Yamcs instance name.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Limit the results by specifying a SQL WHERE clause.Table name.clone()
getCols
(int index) The columns to be included in the result.com.google.protobuf.ByteString
getColsBytes
(int index) The columns to be included in the result.int
The columns to be included in the result.com.google.protobuf.ProtocolStringList
The columns to be included in the result.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Yamcs instance name.com.google.protobuf.ByteString
Yamcs instance name.getQuery()
Limit the results by specifying a SQL WHERE clause.com.google.protobuf.ByteString
Limit the results by specifying a SQL WHERE clause.getTable()
Table name.com.google.protobuf.ByteString
Table name.boolean
Yamcs instance name.boolean
hasQuery()
Limit the results by specifying a SQL WHERE clause.boolean
hasTable()
Table name.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Table.ReadRowsRequest other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) The columns to be included in the result.setInstance
(String value) Yamcs instance name.setInstanceBytes
(com.google.protobuf.ByteString value) Yamcs instance name.Limit the results by specifying a SQL WHERE clause.setQueryBytes
(com.google.protobuf.ByteString value) Limit the results by specifying a SQL WHERE clause.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Table name.setTableBytes
(com.google.protobuf.ByteString value) Table name.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ReadRowsRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ReadRowsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ReadRowsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ReadRowsRequest.Builder>
-
clearField
public Table.ReadRowsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ReadRowsRequest.Builder>
-
clearOneof
public Table.ReadRowsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ReadRowsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Table.ReadRowsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Table.ReadRowsRequest.Builder>
- Throws:
IOException
-
hasInstance
public boolean hasInstance()Yamcs instance name.
optional string instance = 1;
- Specified by:
hasInstance
in interfaceTable.ReadRowsRequestOrBuilder
- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name.
optional string instance = 1;
- Specified by:
getInstance
in interfaceTable.ReadRowsRequestOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name.
optional string instance = 1;
- Specified by:
getInstanceBytes
in interfaceTable.ReadRowsRequestOrBuilder
- Returns:
- The bytes for instance.
-
setInstance
Yamcs instance name.
optional string instance = 1;
- Parameters:
value
- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
Yamcs instance name.
optional string instance = 1;
- Returns:
- This builder for chaining.
-
setInstanceBytes
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 interfaceTable.ReadRowsRequestOrBuilder
- Returns:
- Whether the table field is set.
-
getTable
Table name.
optional string table = 2;
- Specified by:
getTable
in interfaceTable.ReadRowsRequestOrBuilder
- Returns:
- The table.
-
getTableBytes
public com.google.protobuf.ByteString getTableBytes()Table name.
optional string table = 2;
- Specified by:
getTableBytes
in interfaceTable.ReadRowsRequestOrBuilder
- Returns:
- The bytes for table.
-
setTable
Table name.
optional string table = 2;
- Parameters:
value
- The table to set.- Returns:
- This builder for chaining.
-
clearTable
Table name.
optional string table = 2;
- Returns:
- This builder for chaining.
-
setTableBytes
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 interfaceTable.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 interfaceTable.ReadRowsRequestOrBuilder
- Returns:
- The count of cols.
-
getCols
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 interfaceTable.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 interfaceTable.ReadRowsRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the cols at the given index.
-
setCols
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
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
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
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 interfaceTable.ReadRowsRequestOrBuilder
- Returns:
- Whether the query field is set.
-
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 interfaceTable.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 interfaceTable.ReadRowsRequestOrBuilder
- Returns:
- The bytes for query.
-
setQuery
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
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
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ReadRowsRequest.Builder>
-
mergeUnknownFields
public final Table.ReadRowsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ReadRowsRequest.Builder>
-