Package org.yamcs.protobuf
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 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.The maximum number of returned records per page.Table name.clearOneof
(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.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.int
getLimit()
The maximum number of returned records per page.getName()
Table name.com.google.protobuf.ByteString
Table name.getOrder()
The direction of the sort.com.google.protobuf.ByteString
The direction of the sort.long
getPos()
The zero-based row number at which to start outputting results.boolean
Yamcs instance name.boolean
hasLimit()
The maximum number of returned records per page.boolean
hasName()
Table name.boolean
hasOrder()
The direction of the sort.boolean
hasPos()
The zero-based row number at which to start outputting results.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) 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.setLimit
(int value) The maximum number of returned records per page.Table name.setNameBytes
(com.google.protobuf.ByteString value) Table name.The 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, 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.GetTableDataRequest.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.GetTableDataRequest.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.GetTableDataRequest.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.GetTableDataRequest.Builder>
-
setField
public Table.GetTableDataRequest.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.GetTableDataRequest.Builder>
-
clearField
public Table.GetTableDataRequest.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.GetTableDataRequest.Builder>
-
clearOneof
public Table.GetTableDataRequest.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.GetTableDataRequest.Builder>
-
setRepeatedField
public Table.GetTableDataRequest.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.GetTableDataRequest.Builder>
-
addRepeatedField
public Table.GetTableDataRequest.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.GetTableDataRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Table.GetTableDataRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.GetTableDataRequest.Builder>
- Throws:
IOException
-
hasInstance
public boolean hasInstance()Yamcs instance name.
optional string instance = 1;
- Specified by:
hasInstance
in interfaceTable.GetTableDataRequestOrBuilder
- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name.
optional string instance = 1;
- Specified by:
getInstance
in interfaceTable.GetTableDataRequestOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name.
optional string instance = 1;
- Specified by:
getInstanceBytes
in 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:
hasName
in interfaceTable.GetTableDataRequestOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Table name.
optional string name = 2;
- Specified by:
getName
in interfaceTable.GetTableDataRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Table name.
optional string name = 2;
- Specified by:
getNameBytes
in 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:
getColsList
in 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:
getColsCount
in 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:
getCols
in 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:
getColsBytes
in 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:
hasPos
in 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:
getPos
in 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:
hasLimit
in 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:
getLimit
in 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:
hasOrder
in 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:
getOrder
in 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:
getOrderBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.GetTableDataRequest.Builder>
-
mergeUnknownFields
public final Table.GetTableDataRequest.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.GetTableDataRequest.Builder>
-