Class GetFeatureValuesTimeSeriesChartRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest
All Implemented Interfaces:
GetFeatureValuesTimeSeriesChartRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class GetFeatureValuesTimeSeriesChartRequest extends com.google.protobuf.GeneratedMessageV3 implements GetFeatureValuesTimeSeriesChartRequestOrBuilder
Protobuf type chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest
See Also:
  • Field Details

    • TITLE_FIELD_NUMBER

      public static final int TITLE_FIELD_NUMBER
      See Also:
    • SERIES_FIELD_NUMBER

      public static final int SERIES_FIELD_NUMBER
      See Also:
    • WINDOW_PERIOD_FIELD_NUMBER

      public static final int WINDOW_PERIOD_FIELD_NUMBER
      See Also:
    • START_TIMESTAMP_INCLUSIVE_FIELD_NUMBER

      public static final int START_TIMESTAMP_INCLUSIVE_FIELD_NUMBER
      See Also:
    • END_TIMESTAMP_EXCLUSIVE_FIELD_NUMBER

      public static final int END_TIMESTAMP_EXCLUSIVE_FIELD_NUMBER
      See Also:
    • TIME_SERIES_FIELD_NUMBER

      public static final int TIME_SERIES_FIELD_NUMBER
      See Also:
    • GROUP_BY_FIELD_NUMBER

      public static final int GROUP_BY_FIELD_NUMBER
      See Also:
    • GROUP_BY_SERIES_LIMIT_FIELD_NUMBER

      public static final int GROUP_BY_SERIES_LIMIT_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • hasTitle

      public boolean hasTitle()
      optional string title = 1 [json_name = "title"];
      Specified by:
      hasTitle in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      Whether the title field is set.
    • getTitle

      public String getTitle()
      optional string title = 1 [json_name = "title"];
      Specified by:
      getTitle in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
      optional string title = 1 [json_name = "title"];
      Specified by:
      getTitleBytes in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      The bytes for title.
    • getSeriesList

      public List<FeatureValueSeries> getSeriesList()
      repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];
      Specified by:
      getSeriesList in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
    • getSeriesOrBuilderList

      public List<? extends FeatureValueSeriesOrBuilder> getSeriesOrBuilderList()
      repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];
      Specified by:
      getSeriesOrBuilderList in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
    • getSeriesCount

      public int getSeriesCount()
      repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];
      Specified by:
      getSeriesCount in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
    • getSeries

      public FeatureValueSeries getSeries(int index)
      repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];
      Specified by:
      getSeries in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
    • getSeriesOrBuilder

      public FeatureValueSeriesOrBuilder getSeriesOrBuilder(int index)
      repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];
      Specified by:
      getSeriesOrBuilder in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
    • 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`
       
      .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`
       
      .google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];
      Specified by:
      getWindowPeriod in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      The 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`
       
      .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.
    • 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.
    • 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
    • hasTimeSeries

      public boolean hasTimeSeries()
       The dimension to use as the time series axis. Defaults to inserted_at if not specified
       
      optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];
      Specified by:
      hasTimeSeries in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      Whether the timeSeries field is set.
    • getTimeSeriesValue

      public int getTimeSeriesValue()
       The dimension to use as the time series axis. Defaults to inserted_at if not specified
       
      optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];
      Specified by:
      getTimeSeriesValue in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      The enum numeric value on the wire for timeSeries.
    • getTimeSeries

      public FeatureValueTimeSeries getTimeSeries()
       The dimension to use as the time series axis. Defaults to inserted_at if not specified
       
      optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];
      Specified by:
      getTimeSeries in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      The timeSeries.
    • getGroupByList

      public List<FeatureValueGroupBy> getGroupByList()
       The group bys to apply to this chart. Multiple group bys may produce high #'s of axes.
       
      repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];
      Specified by:
      getGroupByList in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      A list containing the groupBy.
    • getGroupByCount

      public int getGroupByCount()
       The group bys to apply to this chart. Multiple group bys may produce high #'s of axes.
       
      repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];
      Specified by:
      getGroupByCount in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      The count of groupBy.
    • getGroupBy

      public FeatureValueGroupBy getGroupBy(int index)
       The group bys to apply to this chart. Multiple group bys may produce high #'s of axes.
       
      repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];
      Specified by:
      getGroupBy in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The groupBy at the given index.
    • getGroupByValueList

      public List<Integer> getGroupByValueList()
       The group bys to apply to this chart. Multiple group bys may produce high #'s of axes.
       
      repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];
      Specified by:
      getGroupByValueList in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for groupBy.
    • getGroupByValue

      public int getGroupByValue(int index)
       The group bys to apply to this chart. Multiple group bys may produce high #'s of axes.
       
      repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];
      Specified by:
      getGroupByValue in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of groupBy at the given index.
    • hasGroupBySeriesLimit

      public boolean hasGroupBySeriesLimit()
       The maximum number of series produced by the group by.
       Important because some group bys are high cardinality (ex. value)
       
      optional int32 group_by_series_limit = 8 [json_name = "groupBySeriesLimit"];
      Specified by:
      hasGroupBySeriesLimit in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      Whether the groupBySeriesLimit field is set.
    • getGroupBySeriesLimit

      public int getGroupBySeriesLimit()
       The maximum number of series produced by the group by.
       Important because some group bys are high cardinality (ex. value)
       
      optional int32 group_by_series_limit = 8 [json_name = "groupBySeriesLimit"];
      Specified by:
      getGroupBySeriesLimit in interface GetFeatureValuesTimeSeriesChartRequestOrBuilder
      Returns:
      The groupBySeriesLimit.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static GetFeatureValuesTimeSeriesChartRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetFeatureValuesTimeSeriesChartRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetFeatureValuesTimeSeriesChartRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetFeatureValuesTimeSeriesChartRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetFeatureValuesTimeSeriesChartRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetFeatureValuesTimeSeriesChartRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetFeatureValuesTimeSeriesChartRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetFeatureValuesTimeSeriesChartRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetFeatureValuesTimeSeriesChartRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetFeatureValuesTimeSeriesChartRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetFeatureValuesTimeSeriesChartRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetFeatureValuesTimeSeriesChartRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GetFeatureValuesTimeSeriesChartRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static GetFeatureValuesTimeSeriesChartRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GetFeatureValuesTimeSeriesChartRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<GetFeatureValuesTimeSeriesChartRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public GetFeatureValuesTimeSeriesChartRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder