Class StreamEventIndexRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StreamEventIndexRequest.Builder>
org.yamcs.protobuf.StreamEventIndexRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, StreamEventIndexRequestOrBuilder
Enclosing class:
StreamEventIndexRequest

public static final class StreamEventIndexRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamEventIndexRequest.Builder> implements StreamEventIndexRequestOrBuilder
Protobuf type yamcs.protobuf.archive.StreamEventIndexRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventIndexRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventIndexRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventIndexRequest.Builder>
    • getDefaultInstanceForType

      public StreamEventIndexRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public StreamEventIndexRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public StreamEventIndexRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventIndexRequest.Builder>
    • setField

      public StreamEventIndexRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventIndexRequest.Builder>
    • clearField

      public StreamEventIndexRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventIndexRequest.Builder>
    • clearOneof

      public StreamEventIndexRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventIndexRequest.Builder>
    • setRepeatedField

      public StreamEventIndexRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventIndexRequest.Builder>
    • addRepeatedField

      public StreamEventIndexRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventIndexRequest.Builder>
    • mergeFrom

      public StreamEventIndexRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamEventIndexRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventIndexRequest.Builder>
    • mergeFrom

      public StreamEventIndexRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamEventIndexRequest.Builder>
      Throws:
      IOException
    • hasInstance

      public boolean hasInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface StreamEventIndexRequestOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstance in interface StreamEventIndexRequestOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface StreamEventIndexRequestOrBuilder
      Returns:
      The bytes for instance.
    • setInstance

      public StreamEventIndexRequest.Builder setInstance(String value)
       Yamcs instance name
       
      optional string instance = 1;
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

      public StreamEventIndexRequest.Builder clearInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public StreamEventIndexRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
       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:
      hasStart in interface StreamEventIndexRequestOrBuilder
      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:
      getStart in interface StreamEventIndexRequestOrBuilder
      Returns:
      The start.
    • setStart

      public StreamEventIndexRequest.Builder setStart(com.google.protobuf.Timestamp value)
       The time at which to start retrieving index records.
       
      optional .google.protobuf.Timestamp start = 2;
    • setStart

      public StreamEventIndexRequest.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue)
       The time at which to start retrieving index records.
       
      optional .google.protobuf.Timestamp start = 2;
    • mergeStart

      public StreamEventIndexRequest.Builder mergeStart(com.google.protobuf.Timestamp value)
       The time at which to start retrieving index records.
       
      optional .google.protobuf.Timestamp start = 2;
    • clearStart

      public StreamEventIndexRequest.Builder 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:
      getStartOrBuilder in interface StreamEventIndexRequestOrBuilder
    • hasStop

      public boolean hasStop()
       The time at which to stop retrieving index records.
       
      optional .google.protobuf.Timestamp stop = 3;
      Specified by:
      hasStop in interface StreamEventIndexRequestOrBuilder
      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:
      getStop in interface StreamEventIndexRequestOrBuilder
      Returns:
      The stop.
    • setStop

      public StreamEventIndexRequest.Builder setStop(com.google.protobuf.Timestamp value)
       The time at which to stop retrieving index records.
       
      optional .google.protobuf.Timestamp stop = 3;
    • setStop

      public StreamEventIndexRequest.Builder setStop(com.google.protobuf.Timestamp.Builder builderForValue)
       The time at which to stop retrieving index records.
       
      optional .google.protobuf.Timestamp stop = 3;
    • mergeStop

      public StreamEventIndexRequest.Builder mergeStop(com.google.protobuf.Timestamp value)
       The time at which to stop retrieving index records.
       
      optional .google.protobuf.Timestamp stop = 3;
    • clearStop

      public StreamEventIndexRequest.Builder 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:
      getStopOrBuilder in interface StreamEventIndexRequestOrBuilder
    • 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:
      hasMergeTime in interface StreamEventIndexRequestOrBuilder
      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:
      getMergeTime in interface StreamEventIndexRequestOrBuilder
      Returns:
      The mergeTime.
    • setMergeTime

      public StreamEventIndexRequest.Builder setMergeTime(int value)
       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

      public StreamEventIndexRequest.Builder 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.
    • setUnknownFields

      public final StreamEventIndexRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventIndexRequest.Builder>
    • mergeUnknownFields

      public final StreamEventIndexRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamEventIndexRequest.Builder>