Class GetFeatureValuesTimeSeriesChartRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesTimeSeriesChartRequest.Builder>
ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartRequest.Builder
All Implemented Interfaces:
GetFeatureValuesTimeSeriesChartRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GetFeatureValuesTimeSeriesChartRequest

public static final class GetFeatureValuesTimeSeriesChartRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesTimeSeriesChartRequest.Builder> implements GetFeatureValuesTimeSeriesChartRequestOrBuilder
Protobuf type chalk.common.v1.GetFeatureValuesTimeSeriesChartRequest
  • 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<GetFeatureValuesTimeSeriesChartRequest.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<GetFeatureValuesTimeSeriesChartRequest.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<GetFeatureValuesTimeSeriesChartRequest.Builder>
    • getDefaultInstanceForType

      public GetFeatureValuesTimeSeriesChartRequest 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

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

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

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

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

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

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

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

      public GetFeatureValuesTimeSeriesChartRequest.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<GetFeatureValuesTimeSeriesChartRequest.Builder>
      Throws:
      IOException
    • getFqn

      public String getFqn()
      string fqn = 1 [json_name = "fqn"];
      Specified by:
      getFqn in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      The fqn.
    • getFqnBytes

      public com.google.protobuf.ByteString getFqnBytes()
      string fqn = 1 [json_name = "fqn"];
      Specified by:
      getFqnBytes in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      The bytes for fqn.
    • setFqn

      string fqn = 1 [json_name = "fqn"];
      Parameters:
      value - The fqn to set.
      Returns:
      This builder for chaining.
    • clearFqn

      string fqn = 1 [json_name = "fqn"];
      Returns:
      This builder for chaining.
    • setFqnBytes

      public GetFeatureValuesTimeSeriesChartRequest.Builder setFqnBytes(com.google.protobuf.ByteString value)
      string fqn = 1 [json_name = "fqn"];
      Parameters:
      value - The bytes for fqn to set.
      Returns:
      This builder for chaining.
    • getAggregateByList

      public List<FeatureValueAggregation> getAggregateByList()
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Specified by:
      getAggregateByList in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      A list containing the aggregateBy.
    • getAggregateByCount

      public int getAggregateByCount()
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Specified by:
      getAggregateByCount in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      The count of aggregateBy.
    • getAggregateBy

      public FeatureValueAggregation getAggregateBy(int index)
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Specified by:
      getAggregateBy in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The aggregateBy at the given index.
    • setAggregateBy

      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Parameters:
      index - The index to set the value at.
      value - The aggregateBy to set.
      Returns:
      This builder for chaining.
    • addAggregateBy

      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Parameters:
      value - The aggregateBy to add.
      Returns:
      This builder for chaining.
    • addAllAggregateBy

      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Parameters:
      values - The aggregateBy to add.
      Returns:
      This builder for chaining.
    • clearAggregateBy

      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Returns:
      This builder for chaining.
    • getAggregateByValueList

      public List<Integer> getAggregateByValueList()
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Specified by:
      getAggregateByValueList in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for aggregateBy.
    • getAggregateByValue

      public int getAggregateByValue(int index)
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Specified by:
      getAggregateByValue in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of aggregateBy at the given index.
    • setAggregateByValue

      public GetFeatureValuesTimeSeriesChartRequest.Builder setAggregateByValue(int index, int value)
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for aggregateBy to set.
      Returns:
      This builder for chaining.
    • addAggregateByValue

      public GetFeatureValuesTimeSeriesChartRequest.Builder addAggregateByValue(int value)
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Parameters:
      value - The enum numeric value on the wire for aggregateBy to add.
      Returns:
      This builder for chaining.
    • addAllAggregateByValue

      public GetFeatureValuesTimeSeriesChartRequest.Builder addAllAggregateByValue(Iterable<Integer> values)
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Parameters:
      values - The enum numeric values on the wire for aggregateBy to add.
      Returns:
      This builder for chaining.
    • hasWindowPeriod

      public boolean hasWindowPeriod()
       The size of each time bucket + how far apart time points are in the chart
       Ideally a divisor of the total window between end and start ms
       If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period
       For JSON format, this is a string `${duration_in_seconds}s`
       
      optional .google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];
      Specified by:
      hasWindowPeriod in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      Whether the windowPeriod field is set.
    • getWindowPeriod

      public com.google.protobuf.Duration getWindowPeriod()
       The size of each time bucket + how far apart time points are in the chart
       Ideally a divisor of the total window between end and start ms
       If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period
       For JSON format, this is a string `${duration_in_seconds}s`
       
      optional .google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];
      Specified by:
      getWindowPeriod in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      The windowPeriod.
    • setWindowPeriod

      public GetFeatureValuesTimeSeriesChartRequest.Builder setWindowPeriod(com.google.protobuf.Duration value)
       The size of each time bucket + how far apart time points are in the chart
       Ideally a divisor of the total window between end and start ms
       If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period
       For JSON format, this is a string `${duration_in_seconds}s`
       
      optional .google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];
    • setWindowPeriod

      public GetFeatureValuesTimeSeriesChartRequest.Builder setWindowPeriod(com.google.protobuf.Duration.Builder builderForValue)
       The size of each time bucket + how far apart time points are in the chart
       Ideally a divisor of the total window between end and start ms
       If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period
       For JSON format, this is a string `${duration_in_seconds}s`
       
      optional .google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];
    • mergeWindowPeriod

      public GetFeatureValuesTimeSeriesChartRequest.Builder mergeWindowPeriod(com.google.protobuf.Duration value)
       The size of each time bucket + how far apart time points are in the chart
       Ideally a divisor of the total window between end and start ms
       If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period
       For JSON format, this is a string `${duration_in_seconds}s`
       
      optional .google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];
    • clearWindowPeriod

       The size of each time bucket + how far apart time points are in the chart
       Ideally a divisor of the total window between end and start ms
       If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period
       For JSON format, this is a string `${duration_in_seconds}s`
       
      optional .google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];
    • getWindowPeriodBuilder

      public com.google.protobuf.Duration.Builder getWindowPeriodBuilder()
       The size of each time bucket + how far apart time points are in the chart
       Ideally a divisor of the total window between end and start ms
       If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period
       For JSON format, this is a string `${duration_in_seconds}s`
       
      optional .google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];
    • getWindowPeriodOrBuilder

      public com.google.protobuf.DurationOrBuilder getWindowPeriodOrBuilder()
       The size of each time bucket + how far apart time points are in the chart
       Ideally a divisor of the total window between end and start ms
       If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period
       For JSON format, this is a string `${duration_in_seconds}s`
       
      optional .google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];
      Specified by:
      getWindowPeriodOrBuilder in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
    • hasStartTimestampInclusive

      public boolean hasStartTimestampInclusive()
      .google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];
      Specified by:
      hasStartTimestampInclusive in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      Whether the startTimestampInclusive field is set.
    • getStartTimestampInclusive

      public com.google.protobuf.Timestamp getStartTimestampInclusive()
      .google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];
      Specified by:
      getStartTimestampInclusive in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      The startTimestampInclusive.
    • setStartTimestampInclusive

      public GetFeatureValuesTimeSeriesChartRequest.Builder setStartTimestampInclusive(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];
    • setStartTimestampInclusive

      public GetFeatureValuesTimeSeriesChartRequest.Builder setStartTimestampInclusive(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];
    • mergeStartTimestampInclusive

      public GetFeatureValuesTimeSeriesChartRequest.Builder mergeStartTimestampInclusive(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];
    • clearStartTimestampInclusive

      public GetFeatureValuesTimeSeriesChartRequest.Builder clearStartTimestampInclusive()
      .google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];
    • getStartTimestampInclusiveBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimestampInclusiveBuilder()
      .google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];
    • getStartTimestampInclusiveOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimestampInclusiveOrBuilder()
      .google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];
      Specified by:
      getStartTimestampInclusiveOrBuilder in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
    • hasEndTimestampExclusive

      public boolean hasEndTimestampExclusive()
       If not provided, will assume current time is the ending time
       
      optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];
      Specified by:
      hasEndTimestampExclusive in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      Whether the endTimestampExclusive field is set.
    • getEndTimestampExclusive

      public com.google.protobuf.Timestamp getEndTimestampExclusive()
       If not provided, will assume current time is the ending time
       
      optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];
      Specified by:
      getEndTimestampExclusive in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      The endTimestampExclusive.
    • setEndTimestampExclusive

      public GetFeatureValuesTimeSeriesChartRequest.Builder setEndTimestampExclusive(com.google.protobuf.Timestamp value)
       If not provided, will assume current time is the ending time
       
      optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];
    • setEndTimestampExclusive

      public GetFeatureValuesTimeSeriesChartRequest.Builder setEndTimestampExclusive(com.google.protobuf.Timestamp.Builder builderForValue)
       If not provided, will assume current time is the ending time
       
      optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];
    • mergeEndTimestampExclusive

      public GetFeatureValuesTimeSeriesChartRequest.Builder mergeEndTimestampExclusive(com.google.protobuf.Timestamp value)
       If not provided, will assume current time is the ending time
       
      optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];
    • clearEndTimestampExclusive

      public GetFeatureValuesTimeSeriesChartRequest.Builder clearEndTimestampExclusive()
       If not provided, will assume current time is the ending time
       
      optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];
    • getEndTimestampExclusiveBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimestampExclusiveBuilder()
       If not provided, will assume current time is the ending time
       
      optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];
    • getEndTimestampExclusiveOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimestampExclusiveOrBuilder()
       If not provided, will assume current time is the ending time
       
      optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];
      Specified by:
      getEndTimestampExclusiveOrBuilder in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
    • setUnknownFields

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

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