Package org.yamcs.protobuf
Class ListPacketsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ListPacketsRequest.Builder>
org.yamcs.protobuf.ListPacketsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,ListPacketsRequestOrBuilder
- Enclosing class:
- ListPacketsRequest
public static final class ListPacketsRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ListPacketsRequest.Builder>
implements ListPacketsRequestOrBuilder
Protobuf type
yamcs.protobuf.packets.ListPacketsRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAllName
(Iterable<String> values) The archived name of the packets.The archived name of the packets.addNameBytes
(com.google.protobuf.ByteString value) The archived name of the packets.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Yamcs instance name.The maximum number of returned records per page.Filter by the link where the packet was received from.The archived name of the packets.Continuation token returned by a previous page response.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The order of the returned results.clearPos()
The zero-based row number at which to start outputting results.Filter the lower bound of the packet's generation time.Filter the upper bound of the packet's generation time.clone()
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.getLink()
Filter by the link where the packet was received from.com.google.protobuf.ByteString
Filter by the link where the packet was received from.getName
(int index) The archived name of the packets.com.google.protobuf.ByteString
getNameBytes
(int index) The archived name of the packets.int
The archived name of the packets.com.google.protobuf.ProtocolStringList
The archived name of the packets.getNext()
Continuation token returned by a previous page response.com.google.protobuf.ByteString
Continuation token returned by a previous page response.getOrder()
The order of the returned results.com.google.protobuf.ByteString
The order of the returned results.long
getPos()
The zero-based row number at which to start outputting results.com.google.protobuf.Timestamp
getStart()
Filter the lower bound of the packet's generation time.com.google.protobuf.Timestamp.Builder
Filter the lower bound of the packet's generation time.com.google.protobuf.TimestampOrBuilder
Filter the lower bound of the packet's generation time.com.google.protobuf.Timestamp
getStop()
Filter the upper bound of the packet's generation time.com.google.protobuf.Timestamp.Builder
Filter the upper bound of the packet's generation time.com.google.protobuf.TimestampOrBuilder
Filter the upper bound of the packet's generation time.boolean
Yamcs instance name.boolean
hasLimit()
The maximum number of returned records per page.boolean
hasLink()
Filter by the link where the packet was received from.boolean
hasNext()
Continuation token returned by a previous page response.boolean
hasOrder()
The order of the returned results.boolean
hasPos()
The zero-based row number at which to start outputting results.boolean
hasStart()
Filter the lower bound of the packet's generation time.boolean
hasStop()
Filter the upper bound of the packet's generation time.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
(ListPacketsRequest other) mergeStart
(com.google.protobuf.Timestamp value) Filter the lower bound of the packet's generation time.mergeStop
(com.google.protobuf.Timestamp value) Filter the upper bound of the packet's generation time.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) 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.Filter by the link where the packet was received from.setLinkBytes
(com.google.protobuf.ByteString value) Filter by the link where the packet was received from.The archived name of the packets.Continuation token returned by a previous page response.setNextBytes
(com.google.protobuf.ByteString value) Continuation token returned by a previous page response.The order of the returned results.setOrderBytes
(com.google.protobuf.ByteString value) The order of the returned results.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) setStart
(com.google.protobuf.Timestamp value) Filter the lower bound of the packet's generation time.setStart
(com.google.protobuf.Timestamp.Builder builderForValue) Filter the lower bound of the packet's generation time.setStop
(com.google.protobuf.Timestamp value) Filter the upper bound of the packet's generation time.setStop
(com.google.protobuf.Timestamp.Builder builderForValue) Filter the upper bound of the packet's generation time.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<ListPacketsRequest.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<ListPacketsRequest.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<ListPacketsRequest.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<ListPacketsRequest.Builder>
-
setField
public ListPacketsRequest.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<ListPacketsRequest.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPacketsRequest.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPacketsRequest.Builder>
-
setRepeatedField
public ListPacketsRequest.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<ListPacketsRequest.Builder>
-
addRepeatedField
public ListPacketsRequest.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<ListPacketsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListPacketsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPacketsRequest.Builder>
-
mergeFrom
public ListPacketsRequest.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<ListPacketsRequest.Builder>
- Throws:
IOException
-
hasInstance
public boolean hasInstance()Yamcs instance name.
optional string instance = 1;
- Specified by:
hasInstance
in interfaceListPacketsRequestOrBuilder
- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name.
optional string instance = 1;
- Specified by:
getInstance
in interfaceListPacketsRequestOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name.
optional string instance = 1;
- Specified by:
getInstanceBytes
in interfaceListPacketsRequestOrBuilder
- 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.
-
hasPos
public boolean hasPos()The zero-based row number at which to start outputting results. Default: ``0``
optional int64 pos = 2;
- Specified by:
hasPos
in interfaceListPacketsRequestOrBuilder
- Returns:
- Whether the pos field is set.
-
getPos
public long getPos()The zero-based row number at which to start outputting results. Default: ``0``
optional int64 pos = 2;
- Specified by:
getPos
in interfaceListPacketsRequestOrBuilder
- Returns:
- The pos.
-
setPos
The zero-based row number at which to start outputting results. Default: ``0``
optional int64 pos = 2;
- 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``
optional int64 pos = 2;
- 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 = 3;
- Specified by:
hasLimit
in 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:
getLimit
in interfaceListPacketsRequestOrBuilder
- 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 = 3;
- 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 = 3;
- Returns:
- This builder for chaining.
-
hasOrder
public boolean hasOrder()The order of the returned results. Can be either ``asc`` or ``desc``. Default: ``desc``
optional string order = 4;
- Specified by:
hasOrder
in 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:
getOrder
in 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:
getOrderBytes
in interfaceListPacketsRequestOrBuilder
- Returns:
- The bytes for order.
-
setOrder
The order of the returned results. Can be either ``asc`` or ``desc``. Default: ``desc``
optional string order = 4;
- Parameters:
value
- The order to set.- Returns:
- This builder for chaining.
-
clearOrder
The order of the returned results. Can be either ``asc`` or ``desc``. Default: ``desc``
optional string order = 4;
- Returns:
- This builder for chaining.
-
setOrderBytes
The order of the returned results. Can be either ``asc`` or ``desc``. Default: ``desc``
optional string order = 4;
- Parameters:
value
- The bytes for order to set.- Returns:
- This builder for chaining.
-
getNameList
public com.google.protobuf.ProtocolStringList getNameList()The archived name of the packets. Names must match exactly.
repeated string name = 5;
- Specified by:
getNameList
in 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:
getNameCount
in interfaceListPacketsRequestOrBuilder
- Returns:
- The count of name.
-
getName
The archived name of the packets. Names must match exactly.
repeated string name = 5;
- Specified by:
getName
in 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:
getNameBytes
in interfaceListPacketsRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the name at the given index.
-
setName
The archived name of the packets. Names must match exactly.
repeated string name = 5;
- Parameters:
index
- The index to set the value at.value
- The name to set.- Returns:
- This builder for chaining.
-
addName
The archived name of the packets. Names must match exactly.
repeated string name = 5;
- Parameters:
value
- The name to add.- Returns:
- This builder for chaining.
-
addAllName
The archived name of the packets. Names must match exactly.
repeated string name = 5;
- Parameters:
values
- The name to add.- Returns:
- This builder for chaining.
-
clearName
The archived name of the packets. Names must match exactly.
repeated string name = 5;
- Returns:
- This builder for chaining.
-
addNameBytes
The archived name of the packets. Names must match exactly.
repeated string name = 5;
- Parameters:
value
- The bytes of the name to add.- Returns:
- This builder for chaining.
-
hasLink
public boolean hasLink()Filter by the link where the packet was received from.
optional string link = 9;
- Specified by:
hasLink
in 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:
getLink
in 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:
getLinkBytes
in interfaceListPacketsRequestOrBuilder
- Returns:
- The bytes for link.
-
setLink
Filter by the link where the packet was received from.
optional string link = 9;
- Parameters:
value
- The link to set.- Returns:
- This builder for chaining.
-
clearLink
Filter by the link where the packet was received from.
optional string link = 9;
- Returns:
- This builder for chaining.
-
setLinkBytes
Filter by the link where the packet was received from.
optional string link = 9;
- Parameters:
value
- The bytes for link to set.- Returns:
- This builder for chaining.
-
hasNext
public boolean hasNext()Continuation token returned by a previous page response.
optional string next = 6;
- Specified by:
hasNext
in interfaceListPacketsRequestOrBuilder
- Returns:
- Whether the next field is set.
-
getNext
Continuation token returned by a previous page response.
optional string next = 6;
- Specified by:
getNext
in 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:
getNextBytes
in interfaceListPacketsRequestOrBuilder
- Returns:
- The bytes for next.
-
setNext
Continuation token returned by a previous page response.
optional string next = 6;
- Parameters:
value
- The next to set.- Returns:
- This builder for chaining.
-
clearNext
Continuation token returned by a previous page response.
optional string next = 6;
- Returns:
- This builder for chaining.
-
setNextBytes
Continuation token returned by a previous page response.
optional string next = 6;
- Parameters:
value
- The bytes for next to set.- Returns:
- This builder for chaining.
-
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:
hasStart
in 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:
getStart
in interfaceListPacketsRequestOrBuilder
- Returns:
- The start.
-
setStart
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;
-
setStart
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;
-
mergeStart
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;
-
clearStart
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;
-
getStartBuilder
public com.google.protobuf.Timestamp.Builder getStartBuilder()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;
-
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:
getStartOrBuilder
in 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:
hasStop
in 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:
getStop
in interfaceListPacketsRequestOrBuilder
- Returns:
- The stop.
-
setStop
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;
-
setStop
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;
-
mergeStop
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;
-
clearStop
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;
-
getStopBuilder
public com.google.protobuf.Timestamp.Builder getStopBuilder()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;
-
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:
getStopOrBuilder
in interfaceListPacketsRequestOrBuilder
-
setUnknownFields
public final ListPacketsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPacketsRequest.Builder>
-
mergeUnknownFields
public final ListPacketsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPacketsRequest.Builder>
-