Class GetParameterRangesRequest.Builder

    • Method Detail

      • 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<GetParameterRangesRequest.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<GetParameterRangesRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public GetParameterRangesRequest.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<GetParameterRangesRequest.Builder>
      • isInitialized

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

        public GetParameterRangesRequest.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<GetParameterRangesRequest.Builder>
        Throws:
        IOException
      • setInstance

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

        public GetParameterRangesRequest.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.
      • setNameBytes

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

        public GetParameterRangesRequest.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 GetParameterRangesRequest.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 GetParameterRangesRequest.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

        public GetParameterRangesRequest.Builder 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 GetParameterRangesRequestOrBuilder
      • 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 GetParameterRangesRequestOrBuilder
        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 GetParameterRangesRequestOrBuilder
        Returns:
        The stop.
      • setStop

        public GetParameterRangesRequest.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 GetParameterRangesRequest.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 GetParameterRangesRequest.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

        public GetParameterRangesRequest.Builder 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 GetParameterRangesRequestOrBuilder
      • hasMinGap

        public boolean hasMinGap()
         Time in milliseconds. Any gap (detected based on parameter expiration) smaller than
         this will be ignored. However if the parameter changes value, the ranges will still
         be split.
         
        optional int64 minGap = 5;
        Specified by:
        hasMinGap in interface GetParameterRangesRequestOrBuilder
        Returns:
        Whether the minGap field is set.
      • getMinGap

        public long getMinGap()
         Time in milliseconds. Any gap (detected based on parameter expiration) smaller than
         this will be ignored. However if the parameter changes value, the ranges will still
         be split.
         
        optional int64 minGap = 5;
        Specified by:
        getMinGap in interface GetParameterRangesRequestOrBuilder
        Returns:
        The minGap.
      • setMinGap

        public GetParameterRangesRequest.Builder setMinGap​(long value)
         Time in milliseconds. Any gap (detected based on parameter expiration) smaller than
         this will be ignored. However if the parameter changes value, the ranges will still
         be split.
         
        optional int64 minGap = 5;
        Parameters:
        value - The minGap to set.
        Returns:
        This builder for chaining.
      • clearMinGap

        public GetParameterRangesRequest.Builder clearMinGap()
         Time in milliseconds. Any gap (detected based on parameter expiration) smaller than
         this will be ignored. However if the parameter changes value, the ranges will still
         be split.
         
        optional int64 minGap = 5;
        Returns:
        This builder for chaining.
      • hasMaxGap

        public boolean hasMaxGap()
         Time in milliseconds. If the distance between two subsequent values of the parameter
         is bigger than this value (but smaller than the parameter expiration), then an
         artificial gap will be constructed. This also applies if there is no parameter
         expiration defined for the parameter.
         
        optional int64 maxGap = 6;
        Specified by:
        hasMaxGap in interface GetParameterRangesRequestOrBuilder
        Returns:
        Whether the maxGap field is set.
      • getMaxGap

        public long getMaxGap()
         Time in milliseconds. If the distance between two subsequent values of the parameter
         is bigger than this value (but smaller than the parameter expiration), then an
         artificial gap will be constructed. This also applies if there is no parameter
         expiration defined for the parameter.
         
        optional int64 maxGap = 6;
        Specified by:
        getMaxGap in interface GetParameterRangesRequestOrBuilder
        Returns:
        The maxGap.
      • setMaxGap

        public GetParameterRangesRequest.Builder setMaxGap​(long value)
         Time in milliseconds. If the distance between two subsequent values of the parameter
         is bigger than this value (but smaller than the parameter expiration), then an
         artificial gap will be constructed. This also applies if there is no parameter
         expiration defined for the parameter.
         
        optional int64 maxGap = 6;
        Parameters:
        value - The maxGap to set.
        Returns:
        This builder for chaining.
      • clearMaxGap

        public GetParameterRangesRequest.Builder clearMaxGap()
         Time in milliseconds. If the distance between two subsequent values of the parameter
         is bigger than this value (but smaller than the parameter expiration), then an
         artificial gap will be constructed. This also applies if there is no parameter
         expiration defined for the parameter.
         
        optional int64 maxGap = 6;
        Returns:
        This builder for chaining.
      • hasNorealtime

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

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

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

        public GetParameterRangesRequest.Builder clearNorealtime()
         Disable loading of parameters from the parameter cache. Default: ``false``.
         
        optional bool norealtime = 7;
        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 = 8;
        Specified by:
        hasProcessor in interface GetParameterRangesRequestOrBuilder
        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 = 8;
        Specified by:
        getProcessor in interface GetParameterRangesRequestOrBuilder
        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 = 8;
        Specified by:
        getProcessorBytes in interface GetParameterRangesRequestOrBuilder
        Returns:
        The bytes for processor.
      • setProcessor

        public GetParameterRangesRequest.Builder setProcessor​(String value)
         The name of the processor from which to use the parameter cache. Default: ``realtime``.
         
        optional string processor = 8;
        Parameters:
        value - The processor to set.
        Returns:
        This builder for chaining.
      • clearProcessor

        public GetParameterRangesRequest.Builder clearProcessor()
         The name of the processor from which to use the parameter cache. Default: ``realtime``.
         
        optional string processor = 8;
        Returns:
        This builder for chaining.
      • setProcessorBytes

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

        public GetParameterRangesRequest.Builder setSourceBytes​(com.google.protobuf.ByteString value)
        optional string source = 9;
        Parameters:
        value - The bytes for source to set.
        Returns:
        This builder for chaining.
      • hasMinRange

        public boolean hasMinRange()
         Time in milliseconds of the minimum range to be returned. If the data changes more often,
        a new range will not be created but the data will be added to the old range.
         
        optional int64 minRange = 10;
        Specified by:
        hasMinRange in interface GetParameterRangesRequestOrBuilder
        Returns:
        Whether the minRange field is set.
      • getMinRange

        public long getMinRange()
         Time in milliseconds of the minimum range to be returned. If the data changes more often,
        a new range will not be created but the data will be added to the old range.
         
        optional int64 minRange = 10;
        Specified by:
        getMinRange in interface GetParameterRangesRequestOrBuilder
        Returns:
        The minRange.
      • setMinRange

        public GetParameterRangesRequest.Builder setMinRange​(long value)
         Time in milliseconds of the minimum range to be returned. If the data changes more often,
        a new range will not be created but the data will be added to the old range.
         
        optional int64 minRange = 10;
        Parameters:
        value - The minRange to set.
        Returns:
        This builder for chaining.
      • clearMinRange

        public GetParameterRangesRequest.Builder clearMinRange()
         Time in milliseconds of the minimum range to be returned. If the data changes more often,
        a new range will not be created but the data will be added to the old range.
         
        optional int64 minRange = 10;
        Returns:
        This builder for chaining.
      • hasMaxValues

        public boolean hasMaxValues()
         Maximum number of distinct values to be returned. The maximum number applies across all ranges
         and is meant to limit the amount of data that is being retrieved.
         The retrieved data has a count for each value as well as a total count.
         The difference between the total count and the sum of the individual counts can be used to compute
         the number of unsent values.
         
        optional int32 maxValues = 11;
        Specified by:
        hasMaxValues in interface GetParameterRangesRequestOrBuilder
        Returns:
        Whether the maxValues field is set.
      • getMaxValues

        public int getMaxValues()
         Maximum number of distinct values to be returned. The maximum number applies across all ranges
         and is meant to limit the amount of data that is being retrieved.
         The retrieved data has a count for each value as well as a total count.
         The difference between the total count and the sum of the individual counts can be used to compute
         the number of unsent values.
         
        optional int32 maxValues = 11;
        Specified by:
        getMaxValues in interface GetParameterRangesRequestOrBuilder
        Returns:
        The maxValues.
      • setMaxValues

        public GetParameterRangesRequest.Builder setMaxValues​(int value)
         Maximum number of distinct values to be returned. The maximum number applies across all ranges
         and is meant to limit the amount of data that is being retrieved.
         The retrieved data has a count for each value as well as a total count.
         The difference between the total count and the sum of the individual counts can be used to compute
         the number of unsent values.
         
        optional int32 maxValues = 11;
        Parameters:
        value - The maxValues to set.
        Returns:
        This builder for chaining.
      • clearMaxValues

        public GetParameterRangesRequest.Builder clearMaxValues()
         Maximum number of distinct values to be returned. The maximum number applies across all ranges
         and is meant to limit the amount of data that is being retrieved.
         The retrieved data has a count for each value as well as a total count.
         The difference between the total count and the sum of the individual counts can be used to compute
         the number of unsent values.
         
        optional int32 maxValues = 11;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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