Class Archive.GetParameterSamplesRequest.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

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

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

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

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

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

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

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

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface Archive.GetParameterSamplesRequestOrBuilder
      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

      public Archive.GetParameterSamplesRequest.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.
    • hasName

      public boolean hasName()
       Parameter name
       
      optional string name = 2;
      Specified by:
      hasName in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Parameter name
       
      optional string name = 2;
      Specified by:
      getName in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Parameter name
       
      optional string name = 2;
      Specified by:
      getNameBytes in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       Parameter name
       
      optional string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Parameter name
       
      optional string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Archive.GetParameterSamplesRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Parameter name
       
      optional string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasStart

      public boolean hasStart()
       Filter the lower bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 3;
      Specified by:
      hasStart in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public com.google.protobuf.Timestamp getStart()
       Filter the lower bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 3;
      Specified by:
      getStart in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      The start.
    • setStart

      public Archive.GetParameterSamplesRequest.Builder setStart(com.google.protobuf.Timestamp value)
       Filter the lower bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 3;
    • setStart

      public Archive.GetParameterSamplesRequest.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the lower bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 3;
    • mergeStart

      public Archive.GetParameterSamplesRequest.Builder mergeStart(com.google.protobuf.Timestamp value)
       Filter the lower bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 3;
    • clearStart

       Filter the lower bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 3;
    • getStartBuilder

      public com.google.protobuf.Timestamp.Builder getStartBuilder()
       Filter the lower bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 3;
    • getStartOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
       Filter the lower bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 3;
      Specified by:
      getStartOrBuilder in interface Archive.GetParameterSamplesRequestOrBuilder
    • hasStop

      public boolean hasStop()
       Filter the upper bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 4;
      Specified by:
      hasStop in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      Whether the stop field is set.
    • getStop

      public com.google.protobuf.Timestamp getStop()
       Filter the upper bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 4;
      Specified by:
      getStop in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      The stop.
    • setStop

      public Archive.GetParameterSamplesRequest.Builder setStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 4;
    • setStop

      public Archive.GetParameterSamplesRequest.Builder setStop(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the upper bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 4;
    • mergeStop

      public Archive.GetParameterSamplesRequest.Builder mergeStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 4;
    • clearStop

       Filter the upper bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 4;
    • getStopBuilder

      public com.google.protobuf.Timestamp.Builder getStopBuilder()
       Filter the upper bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 4;
    • getStopOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()
       Filter the upper bound of the parameter's generation time. Specify a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 4;
      Specified by:
      getStopOrBuilder in interface Archive.GetParameterSamplesRequestOrBuilder
    • hasCount

      public boolean hasCount()
       Number of intervals to use. Default: ``500``.
       
      optional int32 count = 5;
      Specified by:
      hasCount in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      Whether the count field is set.
    • getCount

      public int getCount()
       Number of intervals to use. Default: ``500``.
       
      optional int32 count = 5;
      Specified by:
      getCount in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      The count.
    • setCount

      public Archive.GetParameterSamplesRequest.Builder setCount(int value)
       Number of intervals to use. Default: ``500``.
       
      optional int32 count = 5;
      Parameters:
      value - The count to set.
      Returns:
      This builder for chaining.
    • clearCount

       Number of intervals to use. Default: ``500``.
       
      optional int32 count = 5;
      Returns:
      This builder for chaining.
    • hasNorealtime

      public boolean hasNorealtime()
       Disable loading of parameters from the parameter cache. Default: ``false``.
       
      optional bool norealtime = 6;
      Specified by:
      hasNorealtime in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      Whether the norealtime field is set.
    • getNorealtime

      public boolean getNorealtime()
       Disable loading of parameters from the parameter cache. Default: ``false``.
       
      optional bool norealtime = 6;
      Specified by:
      getNorealtime in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      The norealtime.
    • setNorealtime

      public Archive.GetParameterSamplesRequest.Builder setNorealtime(boolean value)
       Disable loading of parameters from the parameter cache. Default: ``false``.
       
      optional bool norealtime = 6;
      Parameters:
      value - The norealtime to set.
      Returns:
      This builder for chaining.
    • clearNorealtime

       Disable loading of parameters from the parameter cache. Default: ``false``.
       
      optional bool norealtime = 6;
      Returns:
      This builder for chaining.
    • hasUseRawValue

      public boolean hasUseRawValue()
       Consider the raw value instead of the engineering value.
       Default is to use the engineering value 
       
      optional bool useRawValue = 9;
      Specified by:
      hasUseRawValue in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      Whether the useRawValue field is set.
    • getUseRawValue

      public boolean getUseRawValue()
       Consider the raw value instead of the engineering value.
       Default is to use the engineering value 
       
      optional bool useRawValue = 9;
      Specified by:
      getUseRawValue in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      The useRawValue.
    • setUseRawValue

      public Archive.GetParameterSamplesRequest.Builder setUseRawValue(boolean value)
       Consider the raw value instead of the engineering value.
       Default is to use the engineering value 
       
      optional bool useRawValue = 9;
      Parameters:
      value - The useRawValue to set.
      Returns:
      This builder for chaining.
    • clearUseRawValue

      public Archive.GetParameterSamplesRequest.Builder clearUseRawValue()
       Consider the raw value instead of the engineering value.
       Default is to use the engineering value 
       
      optional bool useRawValue = 9;
      Returns:
      This builder for chaining.
    • hasGapTime

      public boolean hasGapTime()
       Milliseconds before a sample is considered expired. This property is
       used as a fallback, when the underlying parameter values have no
       implicit expiration time.
       Default: ``120000``.
       
      optional uint64 gapTime = 10;
      Specified by:
      hasGapTime in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      Whether the gapTime field is set.
    • getGapTime

      public long getGapTime()
       Milliseconds before a sample is considered expired. This property is
       used as a fallback, when the underlying parameter values have no
       implicit expiration time.
       Default: ``120000``.
       
      optional uint64 gapTime = 10;
      Specified by:
      getGapTime in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      The gapTime.
    • setGapTime

      public Archive.GetParameterSamplesRequest.Builder setGapTime(long value)
       Milliseconds before a sample is considered expired. This property is
       used as a fallback, when the underlying parameter values have no
       implicit expiration time.
       Default: ``120000``.
       
      optional uint64 gapTime = 10;
      Parameters:
      value - The gapTime to set.
      Returns:
      This builder for chaining.
    • clearGapTime

       Milliseconds before a sample is considered expired. This property is
       used as a fallback, when the underlying parameter values have no
       implicit expiration time.
       Default: ``120000``.
       
      optional uint64 gapTime = 10;
      Returns:
      This builder for chaining.
    • hasProcessor

      public boolean hasProcessor()
       The name of the processor from which to use the parameter cache.
       Default: ``realtime``.
       
      optional string processor = 7;
      Specified by:
      hasProcessor in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      Whether the processor field is set.
    • getProcessor

      public String getProcessor()
       The name of the processor from which to use the parameter cache.
       Default: ``realtime``.
       
      optional string processor = 7;
      Specified by:
      getProcessor in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      The processor.
    • getProcessorBytes

      public com.google.protobuf.ByteString getProcessorBytes()
       The name of the processor from which to use the parameter cache.
       Default: ``realtime``.
       
      optional string processor = 7;
      Specified by:
      getProcessorBytes in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      The bytes for processor.
    • setProcessor

       The name of the processor from which to use the parameter cache.
       Default: ``realtime``.
       
      optional string processor = 7;
      Parameters:
      value - The processor to set.
      Returns:
      This builder for chaining.
    • clearProcessor

       The name of the processor from which to use the parameter cache.
       Default: ``realtime``.
       
      optional string processor = 7;
      Returns:
      This builder for chaining.
    • setProcessorBytes

      public Archive.GetParameterSamplesRequest.Builder setProcessorBytes(com.google.protobuf.ByteString value)
       The name of the processor from which to use the parameter cache.
       Default: ``realtime``.
       
      optional string processor = 7;
      Parameters:
      value - The bytes for processor to set.
      Returns:
      This builder for chaining.
    • hasSource

      public boolean hasSource()
       Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
       ``replay``. If ``replay`` is specified, a replay processor will be created
       and data will be processed with the active Mission Database. Note that
       this is much slower than receiving data from the ParameterArchive.
       Default: ``ParameterArchive``.
       
      optional string source = 8;
      Specified by:
      hasSource in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String getSource()
       Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
       ``replay``. If ``replay`` is specified, a replay processor will be created
       and data will be processed with the active Mission Database. Note that
       this is much slower than receiving data from the ParameterArchive.
       Default: ``ParameterArchive``.
       
      optional string source = 8;
      Specified by:
      getSource in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
       Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
       ``replay``. If ``replay`` is specified, a replay processor will be created
       and data will be processed with the active Mission Database. Note that
       this is much slower than receiving data from the ParameterArchive.
       Default: ``ParameterArchive``.
       
      optional string source = 8;
      Specified by:
      getSourceBytes in interface Archive.GetParameterSamplesRequestOrBuilder
      Returns:
      The bytes for source.
    • setSource

       Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
       ``replay``. If ``replay`` is specified, a replay processor will be created
       and data will be processed with the active Mission Database. Note that
       this is much slower than receiving data from the ParameterArchive.
       Default: ``ParameterArchive``.
       
      optional string source = 8;
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

       Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
       ``replay``. If ``replay`` is specified, a replay processor will be created
       and data will be processed with the active Mission Database. Note that
       this is much slower than receiving data from the ParameterArchive.
       Default: ``ParameterArchive``.
       
      optional string source = 8;
      Returns:
      This builder for chaining.
    • setSourceBytes

      public Archive.GetParameterSamplesRequest.Builder setSourceBytes(com.google.protobuf.ByteString value)
       Specifies how to retrieve the parameters. Either ``ParameterArchive`` or
       ``replay``. If ``replay`` is specified, a replay processor will be created
       and data will be processed with the active Mission Database. Note that
       this is much slower than receiving data from the ParameterArchive.
       Default: ``ParameterArchive``.
       
      optional string source = 8;
      Parameters:
      value - The bytes for source to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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