Package org.yamcs.protobuf
Class StreamCommandIndexRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StreamCommandIndexRequest.Builder>
org.yamcs.protobuf.StreamCommandIndexRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,StreamCommandIndexRequestOrBuilder
- Enclosing class:
- StreamCommandIndexRequest
public static final class StreamCommandIndexRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StreamCommandIndexRequest.Builder>
implements StreamCommandIndexRequestOrBuilder
Protobuf type
yamcs.protobuf.archive.StreamCommandIndexRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Yamcs instance nameValue in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together.The time at which to start retrieving index records.The time at which to stop retrieving index records.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorYamcs instance namecom.google.protobuf.ByteStringYamcs instance nameintValue in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together.com.google.protobuf.TimestampgetStart()The time at which to start retrieving index records.com.google.protobuf.Timestamp.BuilderThe time at which to start retrieving index records.com.google.protobuf.TimestampOrBuilderThe time at which to start retrieving index records.com.google.protobuf.TimestampgetStop()The time at which to stop retrieving index records.com.google.protobuf.Timestamp.BuilderThe time at which to stop retrieving index records.com.google.protobuf.TimestampOrBuilderThe time at which to stop retrieving index records.booleanYamcs instance namebooleanValue in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together.booleanhasStart()The time at which to start retrieving index records.booleanhasStop()The time at which to stop retrieving index records.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStart(com.google.protobuf.Timestamp value) The time at which to start retrieving index records.mergeStop(com.google.protobuf.Timestamp value) The time at which to stop retrieving index records.setInstance(String value) Yamcs instance namesetInstanceBytes(com.google.protobuf.ByteString value) Yamcs instance namesetMergeTime(int value) Value in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together.setStart(com.google.protobuf.Timestamp value) The time at which to start retrieving index records.setStart(com.google.protobuf.Timestamp.Builder builderForValue) The time at which to start retrieving index records.setStop(com.google.protobuf.Timestamp value) The time at which to stop retrieving index records.setStop(com.google.protobuf.Timestamp.Builder builderForValue) The time at which to stop retrieving index records.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<StreamCommandIndexRequest.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<StreamCommandIndexRequest.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<StreamCommandIndexRequest.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<StreamCommandIndexRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StreamCommandIndexRequest.Builder>
-
mergeFrom
public StreamCommandIndexRequest.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<StreamCommandIndexRequest.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;- Specified by:
hasInstancein interfaceStreamCommandIndexRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceStreamCommandIndexRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceStreamCommandIndexRequestOrBuilder- 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()The time at which to start retrieving index records.
optional .google.protobuf.Timestamp start = 2;- Specified by:
hasStartin interfaceStreamCommandIndexRequestOrBuilder- Returns:
- Whether the start field is set.
-
getStart
public com.google.protobuf.Timestamp getStart()The time at which to start retrieving index records.
optional .google.protobuf.Timestamp start = 2;- Specified by:
getStartin interfaceStreamCommandIndexRequestOrBuilder- Returns:
- The start.
-
setStart
The time at which to start retrieving index records.
optional .google.protobuf.Timestamp start = 2; -
setStart
public StreamCommandIndexRequest.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue) The time at which to start retrieving index records.
optional .google.protobuf.Timestamp start = 2; -
mergeStart
The time at which to start retrieving index records.
optional .google.protobuf.Timestamp start = 2; -
clearStart
The time at which to start retrieving index records.
optional .google.protobuf.Timestamp start = 2; -
getStartBuilder
public com.google.protobuf.Timestamp.Builder getStartBuilder()The time at which to start retrieving index records.
optional .google.protobuf.Timestamp start = 2; -
getStartOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()The time at which to start retrieving index records.
optional .google.protobuf.Timestamp start = 2;- Specified by:
getStartOrBuilderin interfaceStreamCommandIndexRequestOrBuilder
-
hasStop
public boolean hasStop()The time at which to stop retrieving index records.
optional .google.protobuf.Timestamp stop = 3;- Specified by:
hasStopin interfaceStreamCommandIndexRequestOrBuilder- Returns:
- Whether the stop field is set.
-
getStop
public com.google.protobuf.Timestamp getStop()The time at which to stop retrieving index records.
optional .google.protobuf.Timestamp stop = 3;- Specified by:
getStopin interfaceStreamCommandIndexRequestOrBuilder- Returns:
- The stop.
-
setStop
The time at which to stop retrieving index records.
optional .google.protobuf.Timestamp stop = 3; -
setStop
public StreamCommandIndexRequest.Builder setStop(com.google.protobuf.Timestamp.Builder builderForValue) The time at which to stop retrieving index records.
optional .google.protobuf.Timestamp stop = 3; -
mergeStop
The time at which to stop retrieving index records.
optional .google.protobuf.Timestamp stop = 3; -
clearStop
The time at which to stop retrieving index records.
optional .google.protobuf.Timestamp stop = 3; -
getStopBuilder
public com.google.protobuf.Timestamp.Builder getStopBuilder()The time at which to stop retrieving index records.
optional .google.protobuf.Timestamp stop = 3; -
getStopOrBuilder
public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()The time at which to stop retrieving index records.
optional .google.protobuf.Timestamp stop = 3;- Specified by:
getStopOrBuilderin interfaceStreamCommandIndexRequestOrBuilder
-
hasMergeTime
public boolean hasMergeTime()Value in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together.
optional int32 mergeTime = 4;- Specified by:
hasMergeTimein interfaceStreamCommandIndexRequestOrBuilder- 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.
optional int32 mergeTime = 4;- Specified by:
getMergeTimein interfaceStreamCommandIndexRequestOrBuilder- Returns:
- The mergeTime.
-
setMergeTime
Value in milliseconds that indicates the maximum gap before two consecutive index ranges are merged together.
optional int32 mergeTime = 4;- 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.
optional int32 mergeTime = 4;- Returns:
- This builder for chaining.
-