Class Archive.ExportParameterValuesRequest.Builder

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

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

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

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

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

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

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

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

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

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

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

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

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name.
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface Archive.ExportParameterValuesRequestOrBuilder
      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.ExportParameterValuesRequest.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()
       Filter the lower bound of the parameter's generation time.
       Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
      Specified by:
      hasStart in interface Archive.ExportParameterValuesRequestOrBuilder
      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 = 2;
      Specified by:
      getStart in interface Archive.ExportParameterValuesRequestOrBuilder
      Returns:
      The start.
    • setStart

      public Archive.ExportParameterValuesRequest.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 = 2;
    • setStart

      public Archive.ExportParameterValuesRequest.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 = 2;
    • mergeStart

      public Archive.ExportParameterValuesRequest.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 = 2;
    • clearStart

       Filter the lower bound of the parameter's generation time.
       Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 2;
    • 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 = 2;
    • 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 = 2;
      Specified by:
      getStartOrBuilder in interface Archive.ExportParameterValuesRequestOrBuilder
    • 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 = 3;
      Specified by:
      hasStop in interface Archive.ExportParameterValuesRequestOrBuilder
      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 = 3;
      Specified by:
      getStop in interface Archive.ExportParameterValuesRequestOrBuilder
      Returns:
      The stop.
    • setStop

      public Archive.ExportParameterValuesRequest.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 = 3;
    • setStop

      public Archive.ExportParameterValuesRequest.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 = 3;
    • mergeStop

      public Archive.ExportParameterValuesRequest.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 = 3;
    • clearStop

       Filter the upper bound of the parameter's generation time.
       Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 3;
    • 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 = 3;
    • 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 = 3;
      Specified by:
      getStopOrBuilder in interface Archive.ExportParameterValuesRequestOrBuilder
    • getParametersList

      public com.google.protobuf.ProtocolStringList getParametersList()
       The parameters to add to the export.
       
      repeated string parameters = 4;
      Specified by:
      getParametersList in interface Archive.ExportParameterValuesRequestOrBuilder
      Returns:
      A list containing the parameters.
    • getParametersCount

      public int getParametersCount()
       The parameters to add to the export.
       
      repeated string parameters = 4;
      Specified by:
      getParametersCount in interface Archive.ExportParameterValuesRequestOrBuilder
      Returns:
      The count of parameters.
    • getParameters

      public String getParameters(int index)
       The parameters to add to the export.
       
      repeated string parameters = 4;
      Specified by:
      getParameters in interface Archive.ExportParameterValuesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The parameters at the given index.
    • getParametersBytes

      public com.google.protobuf.ByteString getParametersBytes(int index)
       The parameters to add to the export.
       
      repeated string parameters = 4;
      Specified by:
      getParametersBytes in interface Archive.ExportParameterValuesRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the parameters at the given index.
    • setParameters

      public Archive.ExportParameterValuesRequest.Builder setParameters(int index, String value)
       The parameters to add to the export.
       
      repeated string parameters = 4;
      Parameters:
      index - The index to set the value at.
      value - The parameters to set.
      Returns:
      This builder for chaining.
    • addParameters

       The parameters to add to the export.
       
      repeated string parameters = 4;
      Parameters:
      value - The parameters to add.
      Returns:
      This builder for chaining.
    • addAllParameters

       The parameters to add to the export.
       
      repeated string parameters = 4;
      Parameters:
      values - The parameters to add.
      Returns:
      This builder for chaining.
    • clearParameters

       The parameters to add to the export.
       
      repeated string parameters = 4;
      Returns:
      This builder for chaining.
    • addParametersBytes

      public Archive.ExportParameterValuesRequest.Builder addParametersBytes(com.google.protobuf.ByteString value)
       The parameters to add to the export.
       
      repeated string parameters = 4;
      Parameters:
      value - The bytes of the parameters to add.
      Returns:
      This builder for chaining.
    • hasNamespace

      public boolean hasNamespace()
       Namespace used to display parameter names in csv header.
       Only used when no parameter ids were specified.
       
      optional string namespace = 5;
      Specified by:
      hasNamespace in interface Archive.ExportParameterValuesRequestOrBuilder
      Returns:
      Whether the namespace field is set.
    • getNamespace

      public String getNamespace()
       Namespace used to display parameter names in csv header.
       Only used when no parameter ids were specified.
       
      optional string namespace = 5;
      Specified by:
      getNamespace in interface Archive.ExportParameterValuesRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
       Namespace used to display parameter names in csv header.
       Only used when no parameter ids were specified.
       
      optional string namespace = 5;
      Specified by:
      getNamespaceBytes in interface Archive.ExportParameterValuesRequestOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

       Namespace used to display parameter names in csv header.
       Only used when no parameter ids were specified.
       
      optional string namespace = 5;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

       Namespace used to display parameter names in csv header.
       Only used when no parameter ids were specified.
       
      optional string namespace = 5;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public Archive.ExportParameterValuesRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
       Namespace used to display parameter names in csv header.
       Only used when no parameter ids were specified.
       
      optional string namespace = 5;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • getExtraList

      public com.google.protobuf.ProtocolStringList getExtraList()
       Extra columns added to the CSV output:
        * ``raw``: Raw parameter values
        * ``monitoring``: Monitoring status
       
      repeated string extra = 6;
      Specified by:
      getExtraList in interface Archive.ExportParameterValuesRequestOrBuilder
      Returns:
      A list containing the extra.
    • getExtraCount

      public int getExtraCount()
       Extra columns added to the CSV output:
        * ``raw``: Raw parameter values
        * ``monitoring``: Monitoring status
       
      repeated string extra = 6;
      Specified by:
      getExtraCount in interface Archive.ExportParameterValuesRequestOrBuilder
      Returns:
      The count of extra.
    • getExtra

      public String getExtra(int index)
       Extra columns added to the CSV output:
        * ``raw``: Raw parameter values
        * ``monitoring``: Monitoring status
       
      repeated string extra = 6;
      Specified by:
      getExtra in interface Archive.ExportParameterValuesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The extra at the given index.
    • getExtraBytes

      public com.google.protobuf.ByteString getExtraBytes(int index)
       Extra columns added to the CSV output:
        * ``raw``: Raw parameter values
        * ``monitoring``: Monitoring status
       
      repeated string extra = 6;
      Specified by:
      getExtraBytes in interface Archive.ExportParameterValuesRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the extra at the given index.
    • setExtra

      public Archive.ExportParameterValuesRequest.Builder setExtra(int index, String value)
       Extra columns added to the CSV output:
        * ``raw``: Raw parameter values
        * ``monitoring``: Monitoring status
       
      repeated string extra = 6;
      Parameters:
      index - The index to set the value at.
      value - The extra to set.
      Returns:
      This builder for chaining.
    • addExtra

       Extra columns added to the CSV output:
        * ``raw``: Raw parameter values
        * ``monitoring``: Monitoring status
       
      repeated string extra = 6;
      Parameters:
      value - The extra to add.
      Returns:
      This builder for chaining.
    • addAllExtra

       Extra columns added to the CSV output:
        * ``raw``: Raw parameter values
        * ``monitoring``: Monitoring status
       
      repeated string extra = 6;
      Parameters:
      values - The extra to add.
      Returns:
      This builder for chaining.
    • clearExtra

       Extra columns added to the CSV output:
        * ``raw``: Raw parameter values
        * ``monitoring``: Monitoring status
       
      repeated string extra = 6;
      Returns:
      This builder for chaining.
    • addExtraBytes

      public Archive.ExportParameterValuesRequest.Builder addExtraBytes(com.google.protobuf.ByteString value)
       Extra columns added to the CSV output:
        * ``raw``: Raw parameter values
        * ``monitoring``: Monitoring status
       
      repeated string extra = 6;
      Parameters:
      value - The bytes of the extra to add.
      Returns:
      This builder for chaining.
    • hasDelimiter

      public boolean hasDelimiter()
       Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
       Default: ``TAB``.
       
      optional string delimiter = 7;
      Specified by:
      hasDelimiter in interface Archive.ExportParameterValuesRequestOrBuilder
      Returns:
      Whether the delimiter field is set.
    • getDelimiter

      public String getDelimiter()
       Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
       Default: ``TAB``.
       
      optional string delimiter = 7;
      Specified by:
      getDelimiter in interface Archive.ExportParameterValuesRequestOrBuilder
      Returns:
      The delimiter.
    • getDelimiterBytes

      public com.google.protobuf.ByteString getDelimiterBytes()
       Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
       Default: ``TAB``.
       
      optional string delimiter = 7;
      Specified by:
      getDelimiterBytes in interface Archive.ExportParameterValuesRequestOrBuilder
      Returns:
      The bytes for delimiter.
    • setDelimiter

       Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
       Default: ``TAB``.
       
      optional string delimiter = 7;
      Parameters:
      value - The delimiter to set.
      Returns:
      This builder for chaining.
    • clearDelimiter

       Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
       Default: ``TAB``.
       
      optional string delimiter = 7;
      Returns:
      This builder for chaining.
    • setDelimiterBytes

      public Archive.ExportParameterValuesRequest.Builder setDelimiterBytes(com.google.protobuf.ByteString value)
       Column delimiter. One of ``TAB``, ``COMMA`` or ``SEMICOLON``.
       Default: ``TAB``.
       
      optional string delimiter = 7;
      Parameters:
      value - The bytes for delimiter to set.
      Returns:
      This builder for chaining.
    • hasInterval

      public boolean hasInterval()
       When specified, only one value each for each interval is returned.
       The value is in milliseconds.
       
      optional int32 interval = 8;
      Specified by:
      hasInterval in interface Archive.ExportParameterValuesRequestOrBuilder
      Returns:
      Whether the interval field is set.
    • getInterval

      public int getInterval()
       When specified, only one value each for each interval is returned.
       The value is in milliseconds.
       
      optional int32 interval = 8;
      Specified by:
      getInterval in interface Archive.ExportParameterValuesRequestOrBuilder
      Returns:
      The interval.
    • setInterval

      public Archive.ExportParameterValuesRequest.Builder setInterval(int value)
       When specified, only one value each for each interval is returned.
       The value is in milliseconds.
       
      optional int32 interval = 8;
      Parameters:
      value - The interval to set.
      Returns:
      This builder for chaining.
    • clearInterval

       When specified, only one value each for each interval is returned.
       The value is in milliseconds.
       
      optional int32 interval = 8;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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