Package org.yamcs.protobuf
Class Table.GetTableDataRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 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 nameThe maximum number of returned records per page.Table nameclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The direction of the sort.clearPos()The zero-based row number at which to start outputting results.clone()getCols(int index) The columns to be included in the result.com.google.protobuf.ByteStringgetColsBytes(int index) The columns to be included in the result.intThe columns to be included in the result.com.google.protobuf.ProtocolStringListThe columns to be included in the result.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorYamcs instance namecom.google.protobuf.ByteStringYamcs instance nameintgetLimit()The maximum number of returned records per page.getName()Table namecom.google.protobuf.ByteStringTable namegetOrder()The direction of the sort.com.google.protobuf.ByteStringThe direction of the sort.longgetPos()The zero-based row number at which to start outputting results.booleanYamcs instance namebooleanhasLimit()The maximum number of returned records per page.booleanhasName()Table namebooleanhasOrder()The direction of the sort.booleanhasPos()The zero-based row number at which to start outputting results.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The columns to be included in the result.setInstance(String value) Yamcs instance namesetInstanceBytes(com.google.protobuf.ByteString value) Yamcs instance namesetLimit(int value) The maximum number of returned records per page.Table namesetNameBytes(com.google.protobuf.ByteString value) Table nameThe direction of the sort.setOrderBytes(com.google.protobuf.ByteString value) The direction of the sort.setPos(long value) The zero-based row number at which to start outputting results.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Table.GetTableDataRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.GetTableDataRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Table.GetTableDataRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Table.GetTableDataRequest.Builder>
-
setField
public Table.GetTableDataRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.GetTableDataRequest.Builder>
-
clearField
public Table.GetTableDataRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.GetTableDataRequest.Builder>
-
clearOneof
public Table.GetTableDataRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.GetTableDataRequest.Builder>
-
addRepeatedField
public Table.GetTableDataRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.GetTableDataRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Table.GetTableDataRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Table.GetTableDataRequest.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;- Specified by:
hasInstancein interfaceTable.GetTableDataRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceTable.GetTableDataRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceTable.GetTableDataRequestOrBuilder- 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.
-
hasName
public boolean hasName()Table name
optional string name = 2;- Specified by:
hasNamein interfaceTable.GetTableDataRequestOrBuilder- Returns:
- Whether the name field is set.
-
getName
Table name
optional string name = 2;- Specified by:
getNamein interfaceTable.GetTableDataRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Table name
optional string name = 2;- Specified by:
getNameBytesin interfaceTable.GetTableDataRequestOrBuilder- Returns:
- The bytes for name.
-
setName
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
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:
getColsListin interfaceTable.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:
getColsCountin interfaceTable.GetTableDataRequestOrBuilder- 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:
getColsin interfaceTable.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:
getColsBytesin interfaceTable.GetTableDataRequestOrBuilder- 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.
-
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:
hasPosin interfaceTable.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:
getPosin interfaceTable.GetTableDataRequestOrBuilder- Returns:
- The pos.
-
setPos
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:
hasLimitin interfaceTable.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:
getLimitin interfaceTable.GetTableDataRequestOrBuilder- Returns:
- The limit.
-
setLimit
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
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:
hasOrderin interfaceTable.GetTableDataRequestOrBuilder- Returns:
- Whether the order field is set.
-
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:
getOrderin interfaceTable.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:
getOrderBytesin interfaceTable.GetTableDataRequestOrBuilder- Returns:
- The bytes for order.
-
setOrder
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
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.GetTableDataRequest.Builder>
-
mergeUnknownFields
public final Table.GetTableDataRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Table.GetTableDataRequest.Builder>
-