Package org.yamcs.protobuf
Class ListEventIndexRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ListEventIndexRequest.Builder>
org.yamcs.protobuf.ListEventIndexRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,ListEventIndexRequestOrBuilder
- Enclosing class:
- ListEventIndexRequest
public static final class ListEventIndexRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ListEventIndexRequest.Builder>
implements ListEventIndexRequestOrBuilder
Protobuf type
yamcs.protobuf.archive.ListEventIndexRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAllSource
(Iterable<String> values) Filter on specific sources.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) Filter on specific sources.addSourceBytes
(com.google.protobuf.ByteString value) Filter on specific sources.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.Continuation token returned by a previous page response.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Filter on specific sources.Filter the lower bound of the index entries.Filter the upper bound of the index entries.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Yamcs instance namecom.google.protobuf.ByteString
Yamcs instance nameint
getLimit()
The maximum number of returned entries.int
Value in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together.getNext()
Continuation token returned by a previous page response.com.google.protobuf.ByteString
Continuation token returned by a previous page response.getSource
(int index) Filter on specific sources.com.google.protobuf.ByteString
getSourceBytes
(int index) Filter on specific sources.int
Filter on specific sources.com.google.protobuf.ProtocolStringList
Filter on specific sources.com.google.protobuf.Timestamp
getStart()
Filter the lower bound of the index entries.com.google.protobuf.Timestamp.Builder
Filter the lower bound of the index entries.com.google.protobuf.TimestampOrBuilder
Filter the lower bound of the index entries.com.google.protobuf.Timestamp
getStop()
Filter the upper bound of the index entries.com.google.protobuf.Timestamp.Builder
Filter the upper bound of the index entries.com.google.protobuf.TimestampOrBuilder
Filter the upper bound of the index entries.boolean
Yamcs instance nameboolean
hasLimit()
The maximum number of returned entries.boolean
Value in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together.boolean
hasNext()
Continuation token returned by a previous page response.boolean
hasStart()
Filter the lower bound of the index entries.boolean
hasStop()
Filter the upper bound of the index entries.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
(ListEventIndexRequest 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.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) Filter on specific sources.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, 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<ListEventIndexRequest.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<ListEventIndexRequest.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<ListEventIndexRequest.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<ListEventIndexRequest.Builder>
-
setField
public ListEventIndexRequest.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<ListEventIndexRequest.Builder>
-
clearField
public ListEventIndexRequest.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<ListEventIndexRequest.Builder>
-
clearOneof
public ListEventIndexRequest.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<ListEventIndexRequest.Builder>
-
setRepeatedField
public ListEventIndexRequest.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<ListEventIndexRequest.Builder>
-
addRepeatedField
public ListEventIndexRequest.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<ListEventIndexRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListEventIndexRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListEventIndexRequest.Builder>
-
mergeFrom
public ListEventIndexRequest.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<ListEventIndexRequest.Builder>
- Throws:
IOException
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;
- Specified by:
hasInstance
in interfaceListEventIndexRequestOrBuilder
- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;
- Specified by:
getInstance
in interfaceListEventIndexRequestOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;
- Specified by:
getInstanceBytes
in interfaceListEventIndexRequestOrBuilder
- 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:
hasMergeTime
in interfaceListEventIndexRequestOrBuilder
- 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:
getMergeTime
in interfaceListEventIndexRequestOrBuilder
- 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:
hasLimit
in interfaceListEventIndexRequestOrBuilder
- 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:
getLimit
in interfaceListEventIndexRequestOrBuilder
- 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:
hasStart
in interfaceListEventIndexRequestOrBuilder
- 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:
getStart
in interfaceListEventIndexRequestOrBuilder
- 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 ListEventIndexRequest.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:
getStartOrBuilder
in interfaceListEventIndexRequestOrBuilder
-
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:
hasStop
in interfaceListEventIndexRequestOrBuilder
- 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:
getStop
in interfaceListEventIndexRequestOrBuilder
- 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
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:
getStopOrBuilder
in interfaceListEventIndexRequestOrBuilder
-
hasNext
public boolean hasNext()Continuation token returned by a previous page response.
optional string next = 6;
- Specified by:
hasNext
in interfaceListEventIndexRequestOrBuilder
- Returns:
- Whether the next field is set.
-
getNext
Continuation token returned by a previous page response.
optional string next = 6;
- Specified by:
getNext
in interfaceListEventIndexRequestOrBuilder
- 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 interfaceListEventIndexRequestOrBuilder
- 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.
-
getSourceList
public com.google.protobuf.ProtocolStringList getSourceList()Filter on specific sources.
repeated string source = 7;
- Specified by:
getSourceList
in interfaceListEventIndexRequestOrBuilder
- Returns:
- A list containing the source.
-
getSourceCount
public int getSourceCount()Filter on specific sources.
repeated string source = 7;
- Specified by:
getSourceCount
in interfaceListEventIndexRequestOrBuilder
- Returns:
- The count of source.
-
getSource
Filter on specific sources.
repeated string source = 7;
- Specified by:
getSource
in interfaceListEventIndexRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The source at the given index.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes(int index) Filter on specific sources.
repeated string source = 7;
- Specified by:
getSourceBytes
in interfaceListEventIndexRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the source at the given index.
-
setSource
Filter on specific sources.
repeated string source = 7;
- Parameters:
index
- The index to set the value at.value
- The source to set.- Returns:
- This builder for chaining.
-
addSource
Filter on specific sources.
repeated string source = 7;
- Parameters:
value
- The source to add.- Returns:
- This builder for chaining.
-
addAllSource
Filter on specific sources.
repeated string source = 7;
- Parameters:
values
- The source to add.- Returns:
- This builder for chaining.
-
clearSource
Filter on specific sources.
repeated string source = 7;
- Returns:
- This builder for chaining.
-
addSourceBytes
Filter on specific sources.
repeated string source = 7;
- Parameters:
value
- The bytes of the source to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListEventIndexRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListEventIndexRequest.Builder>
-
mergeUnknownFields
public final ListEventIndexRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListEventIndexRequest.Builder>
-