Package org.yamcs.protobuf
Class ListPacketIndexRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListPacketIndexRequest.Builder>
org.yamcs.protobuf.ListPacketIndexRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,ListPacketIndexRequestOrBuilder
- Enclosing class:
- ListPacketIndexRequest
public static final class ListPacketIndexRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ListPacketIndexRequest.Builder>
implements ListPacketIndexRequestOrBuilder
Protobuf type
yamcs.protobuf.archive.ListPacketIndexRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllName(Iterable<String> values) Filter on specific packet names.Filter on specific packet names.addNameBytes(com.google.protobuf.ByteString value) Filter on specific packet names.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Yamcs instance nameThe maximum number of returned entries.Value in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together.Filter on specific packet names.Continuation token returned by a previous page response.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Filter the lower bound of the index entries.Filter the upper bound of the index entries.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorYamcs instance namecom.google.protobuf.ByteStringYamcs instance nameintgetLimit()The maximum number of returned entries.intValue in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together.getName(int index) Filter on specific packet names.com.google.protobuf.ByteStringgetNameBytes(int index) Filter on specific packet names.intFilter on specific packet names.com.google.protobuf.ProtocolStringListFilter on specific packet names.getNext()Continuation token returned by a previous page response.com.google.protobuf.ByteStringContinuation token returned by a previous page response.com.google.protobuf.TimestampgetStart()Filter the lower bound of the index entries.com.google.protobuf.Timestamp.BuilderFilter the lower bound of the index entries.com.google.protobuf.TimestampOrBuilderFilter the lower bound of the index entries.com.google.protobuf.TimestampgetStop()Filter the upper bound of the index entries.com.google.protobuf.Timestamp.BuilderFilter the upper bound of the index entries.com.google.protobuf.TimestampOrBuilderFilter the upper bound of the index entries.booleanYamcs instance namebooleanhasLimit()The maximum number of returned entries.booleanValue in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together.booleanhasNext()Continuation token returned by a previous page response.booleanhasStart()Filter the lower bound of the index entries.booleanhasStop()Filter the upper bound of the index entries.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ListPacketIndexRequest other) mergeStart(com.google.protobuf.Timestamp value) Filter the lower bound of the index entries.mergeStop(com.google.protobuf.Timestamp value) Filter the upper bound of the index entries.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setInstance(String value) Yamcs instance namesetInstanceBytes(com.google.protobuf.ByteString value) Yamcs instance namesetLimit(int value) The maximum number of returned entries.setMergeTime(int value) Value in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together.Filter on specific packet names.Continuation token returned by a previous page response.setNextBytes(com.google.protobuf.ByteString value) Continuation token returned by a previous page response.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStart(com.google.protobuf.Timestamp value) Filter the lower bound of the index entries.setStart(com.google.protobuf.Timestamp.Builder builderForValue) Filter the lower bound of the index entries.setStop(com.google.protobuf.Timestamp value) Filter the upper bound of the index entries.setStop(com.google.protobuf.Timestamp.Builder builderForValue) Filter the upper bound of the index entries.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<ListPacketIndexRequest.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<ListPacketIndexRequest.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<ListPacketIndexRequest.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<ListPacketIndexRequest.Builder>
-
setField
public ListPacketIndexRequest.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<ListPacketIndexRequest.Builder>
-
clearField
public ListPacketIndexRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPacketIndexRequest.Builder>
-
clearOneof
public ListPacketIndexRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPacketIndexRequest.Builder>
-
setRepeatedField
public ListPacketIndexRequest.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<ListPacketIndexRequest.Builder>
-
addRepeatedField
public ListPacketIndexRequest.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<ListPacketIndexRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListPacketIndexRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPacketIndexRequest.Builder>
-
mergeFrom
public ListPacketIndexRequest.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<ListPacketIndexRequest.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;- Specified by:
hasInstancein interfaceListPacketIndexRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceListPacketIndexRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceListPacketIndexRequestOrBuilder- 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.
-
hasMergeTime
public boolean hasMergeTime()Value in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together. Default: ``2000``
optional int32 mergeTime = 2;- Specified by:
hasMergeTimein interfaceListPacketIndexRequestOrBuilder- Returns:
- Whether the mergeTime field is set.
-
getMergeTime
public int getMergeTime()Value in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together. Default: ``2000``
optional int32 mergeTime = 2;- Specified by:
getMergeTimein interfaceListPacketIndexRequestOrBuilder- Returns:
- The mergeTime.
-
setMergeTime
Value in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together. Default: ``2000``
optional int32 mergeTime = 2;- Parameters:
value- The mergeTime to set.- Returns:
- This builder for chaining.
-
clearMergeTime
Value in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together. Default: ``2000``
optional int32 mergeTime = 2;- Returns:
- This builder for chaining.
-
hasLimit
public boolean hasLimit()The maximum number of returned entries. Choose this value too high and you risk hitting the maximum response size limit enforced by the server. Default: ``1000``. Note that in general it is advised to control the size of the response via ``mergeTime``, rather than via ``limit``.
optional int32 limit = 3;- Specified by:
hasLimitin interfaceListPacketIndexRequestOrBuilder- Returns:
- Whether the limit field is set.
-
getLimit
public int getLimit()The maximum number of returned entries. Choose this value too high and you risk hitting the maximum response size limit enforced by the server. Default: ``1000``. Note that in general it is advised to control the size of the response via ``mergeTime``, rather than via ``limit``.
optional int32 limit = 3;- Specified by:
getLimitin interfaceListPacketIndexRequestOrBuilder- Returns:
- The limit.
-
setLimit
The maximum number of returned entries. Choose this value too high and you risk hitting the maximum response size limit enforced by the server. Default: ``1000``. Note that in general it is advised to control the size of the response via ``mergeTime``, rather than via ``limit``.
optional int32 limit = 3;- Parameters:
value- The limit to set.- Returns:
- This builder for chaining.
-
clearLimit
The maximum number of returned entries. Choose this value too high and you risk hitting the maximum response size limit enforced by the server. Default: ``1000``. Note that in general it is advised to control the size of the response via ``mergeTime``, rather than via ``limit``.
optional int32 limit = 3;- Returns:
- This builder for chaining.
-
hasStart
public boolean hasStart()Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp start = 4;- Specified by:
hasStartin interfaceListPacketIndexRequestOrBuilder- Returns:
- Whether the start field is set.
-
getStart
public com.google.protobuf.Timestamp getStart()Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp start = 4;- Specified by:
getStartin interfaceListPacketIndexRequestOrBuilder- Returns:
- The start.
-
setStart
Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp start = 4; -
setStart
public ListPacketIndexRequest.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue) Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp start = 4; -
mergeStart
Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp start = 4; -
clearStart
Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp start = 4; -
getStartBuilder
public com.google.protobuf.Timestamp.Builder getStartBuilder()Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp start = 4; -
getStartOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp start = 4;- Specified by:
getStartOrBuilderin interfaceListPacketIndexRequestOrBuilder
-
hasStop
public boolean hasStop()Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp stop = 5;- Specified by:
hasStopin interfaceListPacketIndexRequestOrBuilder- Returns:
- Whether the stop field is set.
-
getStop
public com.google.protobuf.Timestamp getStop()Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp stop = 5;- Specified by:
getStopin interfaceListPacketIndexRequestOrBuilder- Returns:
- The stop.
-
setStop
Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp stop = 5; -
setStop
public ListPacketIndexRequest.Builder setStop(com.google.protobuf.Timestamp.Builder builderForValue) Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp stop = 5; -
mergeStop
Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp stop = 5; -
clearStop
Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp stop = 5; -
getStopBuilder
public com.google.protobuf.Timestamp.Builder getStopBuilder()Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp stop = 5; -
getStopOrBuilder
public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp stop = 5;- Specified by:
getStopOrBuilderin interfaceListPacketIndexRequestOrBuilder
-
hasNext
public boolean hasNext()Continuation token returned by a previous page response.
optional string next = 6;- Specified by:
hasNextin interfaceListPacketIndexRequestOrBuilder- Returns:
- Whether the next field is set.
-
getNext
Continuation token returned by a previous page response.
optional string next = 6;- Specified by:
getNextin interfaceListPacketIndexRequestOrBuilder- 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 interfaceListPacketIndexRequestOrBuilder- 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.
-
getNameList
public com.google.protobuf.ProtocolStringList getNameList()Filter on specific packet names.
repeated string name = 7;- Specified by:
getNameListin interfaceListPacketIndexRequestOrBuilder- Returns:
- A list containing the name.
-
getNameCount
public int getNameCount()Filter on specific packet names.
repeated string name = 7;- Specified by:
getNameCountin interfaceListPacketIndexRequestOrBuilder- Returns:
- The count of name.
-
getName
Filter on specific packet names.
repeated string name = 7;- Specified by:
getNamein interfaceListPacketIndexRequestOrBuilder- 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) Filter on specific packet names.
repeated string name = 7;- Specified by:
getNameBytesin interfaceListPacketIndexRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the name at the given index.
-
setName
Filter on specific packet names.
repeated string name = 7;- Parameters:
index- The index to set the value at.value- The name to set.- Returns:
- This builder for chaining.
-
addName
Filter on specific packet names.
repeated string name = 7;- Parameters:
value- The name to add.- Returns:
- This builder for chaining.
-
addAllName
Filter on specific packet names.
repeated string name = 7;- Parameters:
values- The name to add.- Returns:
- This builder for chaining.
-
clearName
Filter on specific packet names.
repeated string name = 7;- Returns:
- This builder for chaining.
-
addNameBytes
Filter on specific packet names.
repeated string name = 7;- Parameters:
value- The bytes of the name to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListPacketIndexRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPacketIndexRequest.Builder>
-
mergeUnknownFields
public final ListPacketIndexRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPacketIndexRequest.Builder>
-