Class StreamPacketIndexRequest.Builder

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

public static final class StreamPacketIndexRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamPacketIndexRequest.Builder> implements StreamPacketIndexRequestOrBuilder
Protobuf type yamcs.protobuf.archive.StreamPacketIndexRequest
  • 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<StreamPacketIndexRequest.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<StreamPacketIndexRequest.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<StreamPacketIndexRequest.Builder>
    • getDefaultInstanceForType

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

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

      public StreamPacketIndexRequest 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<StreamPacketIndexRequest.Builder>
    • setField

      public StreamPacketIndexRequest.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<StreamPacketIndexRequest.Builder>
    • clearField

      public StreamPacketIndexRequest.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<StreamPacketIndexRequest.Builder>
    • clearOneof

      public StreamPacketIndexRequest.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<StreamPacketIndexRequest.Builder>
    • setRepeatedField

      public StreamPacketIndexRequest.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<StreamPacketIndexRequest.Builder>
    • addRepeatedField

      public StreamPacketIndexRequest.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<StreamPacketIndexRequest.Builder>
    • mergeFrom

      public StreamPacketIndexRequest.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<StreamPacketIndexRequest.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<StreamPacketIndexRequest.Builder>
    • mergeFrom

      public StreamPacketIndexRequest.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<StreamPacketIndexRequest.Builder>
      Throws:
      IOException
    • hasInstance

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

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

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

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

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

      public StreamPacketIndexRequest.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 StreamPacketIndexRequestOrBuilder
      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 StreamPacketIndexRequestOrBuilder
      Returns:
      The start.
    • setStart

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

      public StreamPacketIndexRequest.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 StreamPacketIndexRequest.Builder mergeStart(com.google.protobuf.Timestamp value)
       The time at which to start retrieving index records.
       
      optional .google.protobuf.Timestamp start = 2;
    • clearStart

      public StreamPacketIndexRequest.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 StreamPacketIndexRequestOrBuilder
    • hasStop

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

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

      public StreamPacketIndexRequest.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 StreamPacketIndexRequest.Builder mergeStop(com.google.protobuf.Timestamp value)
       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:
      getStopOrBuilder in interface StreamPacketIndexRequestOrBuilder
    • getNamesList

      public com.google.protobuf.ProtocolStringList getNamesList()
       Filter on specific packet names
       
      repeated string names = 4;
      Specified by:
      getNamesList in interface StreamPacketIndexRequestOrBuilder
      Returns:
      A list containing the names.
    • getNamesCount

      public int getNamesCount()
       Filter on specific packet names
       
      repeated string names = 4;
      Specified by:
      getNamesCount in interface StreamPacketIndexRequestOrBuilder
      Returns:
      The count of names.
    • getNames

      public String getNames(int index)
       Filter on specific packet names
       
      repeated string names = 4;
      Specified by:
      getNames in interface StreamPacketIndexRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The names at the given index.
    • getNamesBytes

      public com.google.protobuf.ByteString getNamesBytes(int index)
       Filter on specific packet names
       
      repeated string names = 4;
      Specified by:
      getNamesBytes in interface StreamPacketIndexRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the names at the given index.
    • setNames

      public StreamPacketIndexRequest.Builder setNames(int index, String value)
       Filter on specific packet names
       
      repeated string names = 4;
      Parameters:
      index - The index to set the value at.
      value - The names to set.
      Returns:
      This builder for chaining.
    • addNames

      public StreamPacketIndexRequest.Builder addNames(String value)
       Filter on specific packet names
       
      repeated string names = 4;
      Parameters:
      value - The names to add.
      Returns:
      This builder for chaining.
    • addAllNames

      public StreamPacketIndexRequest.Builder addAllNames(Iterable<String> values)
       Filter on specific packet names
       
      repeated string names = 4;
      Parameters:
      values - The names to add.
      Returns:
      This builder for chaining.
    • clearNames

      public StreamPacketIndexRequest.Builder clearNames()
       Filter on specific packet names
       
      repeated string names = 4;
      Returns:
      This builder for chaining.
    • addNamesBytes

      public StreamPacketIndexRequest.Builder addNamesBytes(com.google.protobuf.ByteString value)
       Filter on specific packet names
       
      repeated string names = 4;
      Parameters:
      value - The bytes of the names to add.
      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.
       
      optional uint32 mergeTime = 5;
      Specified by:
      hasMergeTime in interface StreamPacketIndexRequestOrBuilder
      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 uint32 mergeTime = 5;
      Specified by:
      getMergeTime in interface StreamPacketIndexRequestOrBuilder
      Returns:
      The mergeTime.
    • setMergeTime

      public StreamPacketIndexRequest.Builder setMergeTime(int value)
       Value in milliseconds that indicates the maximum gap before two consecutive index
       ranges are merged together.
       
      optional uint32 mergeTime = 5;
      Parameters:
      value - The mergeTime to set.
      Returns:
      This builder for chaining.
    • clearMergeTime

      public StreamPacketIndexRequest.Builder clearMergeTime()
       Value in milliseconds that indicates the maximum gap before two consecutive index
       ranges are merged together.
       
      optional uint32 mergeTime = 5;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final StreamPacketIndexRequest.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<StreamPacketIndexRequest.Builder>
    • mergeUnknownFields

      public final StreamPacketIndexRequest.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<StreamPacketIndexRequest.Builder>