java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.yamcs.protobuf.ListPacketsRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ListPacketsRequestOrBuilder
@Generated
public final class ListPacketsRequest
extends com.google.protobuf.GeneratedMessage
implements ListPacketsRequestOrBuilder
Protobuf type
yamcs.protobuf.packets.ListPacketsRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeyamcs.protobuf.packets.ListPacketsRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ListPacketsRequeststatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFilter query.com.google.protobuf.ByteStringFilter query.Yamcs instance namecom.google.protobuf.ByteStringYamcs instance nameintgetLimit()The maximum number of returned records per page.getLink()Filter by the link where the packet was received from.com.google.protobuf.ByteStringFilter by the link where the packet was received from.getName(int index) The archived name of the packets.com.google.protobuf.ByteStringgetNameBytes(int index) The archived name of the packets.intThe archived name of the packets.com.google.protobuf.ProtocolStringListThe archived name of the packets.getNext()Continuation token returned by a previous page response.com.google.protobuf.ByteStringContinuation token returned by a previous page response.getOrder()The order of the returned results.com.google.protobuf.ByteStringThe order of the returned results.com.google.protobuf.Parser<ListPacketsRequest> longgetPos()Deprecated.yamcs.protobuf.packets.ListPacketsRequest.pos is deprecated.intcom.google.protobuf.TimestampgetStart()Filter the lower bound of the packet's generation time.com.google.protobuf.TimestampOrBuilderFilter the lower bound of the packet's generation time.com.google.protobuf.TimestampgetStop()Filter the upper bound of the packet's generation time.com.google.protobuf.TimestampOrBuilderFilter the upper bound of the packet's generation time.booleanFilter query.inthashCode()booleanYamcs instance namebooleanhasLimit()The maximum number of returned records per page.booleanhasLink()Filter by the link where the packet was received from.booleanhasNext()Continuation token returned by a previous page response.booleanhasOrder()The order of the returned results.booleanhasPos()Deprecated.yamcs.protobuf.packets.ListPacketsRequest.pos is deprecated.booleanhasStart()Filter the lower bound of the packet's generation time.booleanhasStop()Filter the upper bound of the packet's generation time.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ListPacketsRequest.Builderstatic ListPacketsRequest.BuildernewBuilder(ListPacketsRequest prototype) protected ListPacketsRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ListPacketsRequestparseDelimitedFrom(InputStream input) static ListPacketsRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListPacketsRequestparseFrom(byte[] data) static ListPacketsRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListPacketsRequestparseFrom(com.google.protobuf.ByteString data) static ListPacketsRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListPacketsRequestparseFrom(com.google.protobuf.CodedInputStream input) static ListPacketsRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListPacketsRequestparseFrom(InputStream input) static ListPacketsRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListPacketsRequestparseFrom(ByteBuffer data) static ListPacketsRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ListPacketsRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER- See Also:
-
POS_FIELD_NUMBER
public static final int POS_FIELD_NUMBER- See Also:
-
LIMIT_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER- See Also:
-
ORDER_FIELD_NUMBER
public static final int ORDER_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
LINK_FIELD_NUMBER
public static final int LINK_FIELD_NUMBER- See Also:
-
NEXT_FIELD_NUMBER
public static final int NEXT_FIELD_NUMBER- See Also:
-
START_FIELD_NUMBER
public static final int START_FIELD_NUMBER- See Also:
-
STOP_FIELD_NUMBER
public static final int STOP_FIELD_NUMBER- See Also:
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;- Specified by:
hasInstancein interfaceListPacketsRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceListPacketsRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceListPacketsRequestOrBuilder- Returns:
- The bytes for instance.
-
hasPos
Deprecated.yamcs.protobuf.packets.ListPacketsRequest.pos is deprecated. See yamcs/protobuf/packets/packets_service.proto;l=133The zero-based row number at which to start outputting results. Default: `0` This option is deprecated and will be removed in a later version. Use the returned continuationToken instead.
optional int64 pos = 2 [deprecated = true];- Specified by:
hasPosin interfaceListPacketsRequestOrBuilder- Returns:
- Whether the pos field is set.
-
getPos
Deprecated.yamcs.protobuf.packets.ListPacketsRequest.pos is deprecated. See yamcs/protobuf/packets/packets_service.proto;l=133The zero-based row number at which to start outputting results. Default: `0` This option is deprecated and will be removed in a later version. Use the returned continuationToken instead.
optional int64 pos = 2 [deprecated = true];- Specified by:
getPosin interfaceListPacketsRequestOrBuilder- Returns:
- The pos.
-
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 = 3;- Specified by:
hasLimitin interfaceListPacketsRequestOrBuilder- 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 = 3;- Specified by:
getLimitin interfaceListPacketsRequestOrBuilder- Returns:
- The limit.
-
hasOrder
public boolean hasOrder()The order of the returned results. Can be either `asc` or `desc`. Default: `desc`
optional string order = 4;- Specified by:
hasOrderin interfaceListPacketsRequestOrBuilder- Returns:
- Whether the order field is set.
-
getOrder
The order of the returned results. Can be either `asc` or `desc`. Default: `desc`
optional string order = 4;- Specified by:
getOrderin interfaceListPacketsRequestOrBuilder- Returns:
- The order.
-
getOrderBytes
public com.google.protobuf.ByteString getOrderBytes()The order of the returned results. Can be either `asc` or `desc`. Default: `desc`
optional string order = 4;- Specified by:
getOrderBytesin interfaceListPacketsRequestOrBuilder- Returns:
- The bytes for order.
-
getNameList
public com.google.protobuf.ProtocolStringList getNameList()The archived name of the packets. Names must match exactly.
repeated string name = 5;- Specified by:
getNameListin interfaceListPacketsRequestOrBuilder- Returns:
- A list containing the name.
-
getNameCount
public int getNameCount()The archived name of the packets. Names must match exactly.
repeated string name = 5;- Specified by:
getNameCountin interfaceListPacketsRequestOrBuilder- Returns:
- The count of name.
-
getName
The archived name of the packets. Names must match exactly.
repeated string name = 5;- Specified by:
getNamein interfaceListPacketsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The name at the given index.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes(int index) The archived name of the packets. Names must match exactly.
repeated string name = 5;- Specified by:
getNameBytesin interfaceListPacketsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the name at the given index.
-
hasLink
public boolean hasLink()Filter by the link where the packet was received from.
optional string link = 9;- Specified by:
hasLinkin interfaceListPacketsRequestOrBuilder- Returns:
- Whether the link field is set.
-
getLink
Filter by the link where the packet was received from.
optional string link = 9;- Specified by:
getLinkin interfaceListPacketsRequestOrBuilder- Returns:
- The link.
-
getLinkBytes
public com.google.protobuf.ByteString getLinkBytes()Filter by the link where the packet was received from.
optional string link = 9;- Specified by:
getLinkBytesin interfaceListPacketsRequestOrBuilder- Returns:
- The bytes for link.
-
hasNext
public boolean hasNext()Continuation token returned by a previous page response.
optional string next = 6;- Specified by:
hasNextin interfaceListPacketsRequestOrBuilder- Returns:
- Whether the next field is set.
-
getNext
Continuation token returned by a previous page response.
optional string next = 6;- Specified by:
getNextin interfaceListPacketsRequestOrBuilder- Returns:
- The next.
-
getNextBytes
public com.google.protobuf.ByteString getNextBytes()Continuation token returned by a previous page response.
optional string next = 6;- Specified by:
getNextBytesin interfaceListPacketsRequestOrBuilder- Returns:
- The bytes for next.
-
hasStart
public boolean hasStart()Filter the lower bound of the packet's generation time. Specify a date string in ISO 8601 format. This bound is inclusive.
optional .google.protobuf.Timestamp start = 7;- Specified by:
hasStartin interfaceListPacketsRequestOrBuilder- Returns:
- Whether the start field is set.
-
getStart
public com.google.protobuf.Timestamp getStart()Filter the lower bound of the packet's generation time. Specify a date string in ISO 8601 format. This bound is inclusive.
optional .google.protobuf.Timestamp start = 7;- Specified by:
getStartin interfaceListPacketsRequestOrBuilder- Returns:
- The start.
-
getStartOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()Filter the lower bound of the packet's generation time. Specify a date string in ISO 8601 format. This bound is inclusive.
optional .google.protobuf.Timestamp start = 7;- Specified by:
getStartOrBuilderin interfaceListPacketsRequestOrBuilder
-
hasStop
public boolean hasStop()Filter the upper bound of the packet's generation time. Specify a date string in ISO 8601 format. This bound is exclusive.
optional .google.protobuf.Timestamp stop = 8;- Specified by:
hasStopin interfaceListPacketsRequestOrBuilder- Returns:
- Whether the stop field is set.
-
getStop
public com.google.protobuf.Timestamp getStop()Filter the upper bound of the packet's generation time. Specify a date string in ISO 8601 format. This bound is exclusive.
optional .google.protobuf.Timestamp stop = 8;- Specified by:
getStopin interfaceListPacketsRequestOrBuilder- Returns:
- The stop.
-
getStopOrBuilder
public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()Filter the upper bound of the packet's generation time. Specify a date string in ISO 8601 format. This bound is exclusive.
optional .google.protobuf.Timestamp stop = 8;- Specified by:
getStopOrBuilderin interfaceListPacketsRequestOrBuilder
-
hasFilter
public boolean hasFilter()Filter query. See {doc}`../filtering` for how to write a filter query. Literal text search matches against the `name` and `link` fields. Field comparisons can use any of the following fields: | Field | Type | Description | | ----------- | ----------- | ---------------------------------- | | `name` | string | Filter by archived name | | `link` | string | Filter by receiving link | | `seqNumber` | number | Filter by archived sequence number | | `size` | number | Filter by packet size in bytes |optional string filter = 10;- Specified by:
hasFilterin interfaceListPacketsRequestOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
Filter query. See {doc}`../filtering` for how to write a filter query. Literal text search matches against the `name` and `link` fields. Field comparisons can use any of the following fields: | Field | Type | Description | | ----------- | ----------- | ---------------------------------- | | `name` | string | Filter by archived name | | `link` | string | Filter by receiving link | | `seqNumber` | number | Filter by archived sequence number | | `size` | number | Filter by packet size in bytes |optional string filter = 10;- Specified by:
getFilterin interfaceListPacketsRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()Filter query. See {doc}`../filtering` for how to write a filter query. Literal text search matches against the `name` and `link` fields. Field comparisons can use any of the following fields: | Field | Type | Description | | ----------- | ----------- | ---------------------------------- | | `name` | string | Filter by archived name | | `link` | string | Filter by receiving link | | `seqNumber` | number | Filter by archived sequence number | | `size` | number | Filter by packet size in bytes |optional string filter = 10;- Specified by:
getFilterBytesin interfaceListPacketsRequestOrBuilder- Returns:
- The bytes for filter.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ListPacketsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListPacketsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListPacketsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListPacketsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListPacketsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListPacketsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ListPacketsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ListPacketsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ListPacketsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ListPacketsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ListPacketsRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-