java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ExportPacketsRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<ExportPacketsRequest.Builder>
org.yamcs.protobuf.ExportPacketsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,ExportPacketsRequestOrBuilder
- Enclosing class:
ExportPacketsRequest
public static final class ExportPacketsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExportPacketsRequest.Builder>
implements ExportPacketsRequestOrBuilder
Protobuf type
yamcs.protobuf.packets.ExportPacketsRequest-
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.build()clear()Filter query.Yamcs instance nameFilter by the link where the packet was received from.The archived name of the packets.Filter the lower bound of the packet's generation time.Filter the upper bound of the packet's generation time.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFilter query.com.google.protobuf.ByteStringFilter query.Yamcs instance namecom.google.protobuf.ByteStringYamcs instance namegetLink()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.com.google.protobuf.TimestampgetStart()Filter the lower bound of the packet's generation time.com.google.protobuf.Timestamp.BuilderFilter 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.Timestamp.BuilderFilter the upper bound of the packet's generation time.com.google.protobuf.TimestampOrBuilderFilter the upper bound of the packet's generation time.booleanFilter query.booleanYamcs instance namebooleanhasLink()Filter by the link where the packet was received from.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 booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ExportPacketsRequest 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.Filter query.setFilterBytes(com.google.protobuf.ByteString value) Filter query.setInstance(String value) Yamcs instance namesetInstanceBytes(com.google.protobuf.ByteString value) Yamcs instance nameFilter 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.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExportPacketsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExportPacketsRequest.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.GeneratedMessage.Builder<ExportPacketsRequest.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportPacketsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExportPacketsRequest.Builder>
-
mergeFrom
public ExportPacketsRequest.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<ExportPacketsRequest.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;- Specified by:
hasInstancein interfaceExportPacketsRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceExportPacketsRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceExportPacketsRequestOrBuilder- 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.
-
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 = 2;- Specified by:
hasStartin interfaceExportPacketsRequestOrBuilder- 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 = 2;- Specified by:
getStartin interfaceExportPacketsRequestOrBuilder- 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 = 2; -
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 = 2; -
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 = 2; -
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 = 2; -
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 = 2; -
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 = 2;- Specified by:
getStartOrBuilderin interfaceExportPacketsRequestOrBuilder
-
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 = 3;- Specified by:
hasStopin interfaceExportPacketsRequestOrBuilder- 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 = 3;- Specified by:
getStopin interfaceExportPacketsRequestOrBuilder- 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 = 3; -
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 = 3; -
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 = 3; -
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 = 3; -
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 = 3; -
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 = 3;- Specified by:
getStopOrBuilderin interfaceExportPacketsRequestOrBuilder
-
getNameList
public com.google.protobuf.ProtocolStringList getNameList()The archived name of the packets. Names must match exactly.
repeated string name = 4;- Specified by:
getNameListin interfaceExportPacketsRequestOrBuilder- Returns:
- A list containing the name.
-
getNameCount
public int getNameCount()The archived name of the packets. Names must match exactly.
repeated string name = 4;- Specified by:
getNameCountin interfaceExportPacketsRequestOrBuilder- Returns:
- The count of name.
-
getName
The archived name of the packets. Names must match exactly.
repeated string name = 4;- Specified by:
getNamein interfaceExportPacketsRequestOrBuilder- 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 = 4;- Specified by:
getNameBytesin interfaceExportPacketsRequestOrBuilder- 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 = 4;- 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 = 4;- 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 = 4;- 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 = 4;- Returns:
- This builder for chaining.
-
addNameBytes
The archived name of the packets. Names must match exactly.
repeated string name = 4;- 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 = 5;- Specified by:
hasLinkin interfaceExportPacketsRequestOrBuilder- Returns:
- Whether the link field is set.
-
getLink
Filter by the link where the packet was received from.
optional string link = 5;- Specified by:
getLinkin interfaceExportPacketsRequestOrBuilder- Returns:
- The link.
-
getLinkBytes
public com.google.protobuf.ByteString getLinkBytes()Filter by the link where the packet was received from.
optional string link = 5;- Specified by:
getLinkBytesin interfaceExportPacketsRequestOrBuilder- Returns:
- The bytes for link.
-
setLink
Filter by the link where the packet was received from.
optional string link = 5;- 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 = 5;- Returns:
- This builder for chaining.
-
setLinkBytes
Filter by the link where the packet was received from.
optional string link = 5;- Parameters:
value- The bytes for link to set.- Returns:
- This builder for chaining.
-
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 = 6;- Specified by:
hasFilterin interfaceExportPacketsRequestOrBuilder- 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 = 6;- Specified by:
getFilterin interfaceExportPacketsRequestOrBuilder- 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 = 6;- Specified by:
getFilterBytesin interfaceExportPacketsRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
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 = 6;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
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 = 6;- Returns:
- This builder for chaining.
-
setFilterBytes
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 = 6;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-