Class AggregateTimeSeriesRule

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.aggregate.v1.AggregateTimeSeriesRule
All Implemented Interfaces:
AggregateTimeSeriesRuleOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class AggregateTimeSeriesRule extends com.google.protobuf.GeneratedMessageV3 implements AggregateTimeSeriesRuleOrBuilder
Protobuf type chalk.aggregate.v1.AggregateTimeSeriesRule
See Also:
  • Field Details

    • AGGREGATION_FIELD_NUMBER

      public static final int AGGREGATION_FIELD_NUMBER
      See Also:
    • BUCKET_DURATION_FIELD_NUMBER

      public static final int BUCKET_DURATION_FIELD_NUMBER
      See Also:
    • DEPENDENT_FEATURES_FIELD_NUMBER

      public static final int DEPENDENT_FEATURES_FIELD_NUMBER
      See Also:
    • RETENTION_FIELD_NUMBER

      public static final int RETENTION_FIELD_NUMBER
      See Also:
    • DATETIME_FEATURE_FIELD_NUMBER

      public static final int DATETIME_FEATURE_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
    • getAggregation

      public String getAggregation()
      string aggregation = 1 [json_name = "aggregation"];
      Specified by:
      getAggregation in interface AggregateTimeSeriesRuleOrBuilder
      Returns:
      The aggregation.
    • getAggregationBytes

      public com.google.protobuf.ByteString getAggregationBytes()
      string aggregation = 1 [json_name = "aggregation"];
      Specified by:
      getAggregationBytes in interface AggregateTimeSeriesRuleOrBuilder
      Returns:
      The bytes for aggregation.
    • hasBucketDuration

      public boolean hasBucketDuration()
      .google.protobuf.Duration bucket_duration = 2 [json_name = "bucketDuration"];
      Specified by:
      hasBucketDuration in interface AggregateTimeSeriesRuleOrBuilder
      Returns:
      Whether the bucketDuration field is set.
    • getBucketDuration

      public com.google.protobuf.Duration getBucketDuration()
      .google.protobuf.Duration bucket_duration = 2 [json_name = "bucketDuration"];
      Specified by:
      getBucketDuration in interface AggregateTimeSeriesRuleOrBuilder
      Returns:
      The bucketDuration.
    • getBucketDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getBucketDurationOrBuilder()
      .google.protobuf.Duration bucket_duration = 2 [json_name = "bucketDuration"];
      Specified by:
      getBucketDurationOrBuilder in interface AggregateTimeSeriesRuleOrBuilder
    • getDependentFeaturesList

      public com.google.protobuf.ProtocolStringList getDependentFeaturesList()
       The features which depend on this rule.
       
      repeated string dependent_features = 3 [json_name = "dependentFeatures"];
      Specified by:
      getDependentFeaturesList in interface AggregateTimeSeriesRuleOrBuilder
      Returns:
      A list containing the dependentFeatures.
    • getDependentFeaturesCount

      public int getDependentFeaturesCount()
       The features which depend on this rule.
       
      repeated string dependent_features = 3 [json_name = "dependentFeatures"];
      Specified by:
      getDependentFeaturesCount in interface AggregateTimeSeriesRuleOrBuilder
      Returns:
      The count of dependentFeatures.
    • getDependentFeatures

      public String getDependentFeatures(int index)
       The features which depend on this rule.
       
      repeated string dependent_features = 3 [json_name = "dependentFeatures"];
      Specified by:
      getDependentFeatures in interface AggregateTimeSeriesRuleOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The dependentFeatures at the given index.
    • getDependentFeaturesBytes

      public com.google.protobuf.ByteString getDependentFeaturesBytes(int index)
       The features which depend on this rule.
       
      repeated string dependent_features = 3 [json_name = "dependentFeatures"];
      Specified by:
      getDependentFeaturesBytes in interface AggregateTimeSeriesRuleOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the dependentFeatures at the given index.
    • hasRetention

      public boolean hasRetention()
      .google.protobuf.Duration retention = 4 [json_name = "retention"];
      Specified by:
      hasRetention in interface AggregateTimeSeriesRuleOrBuilder
      Returns:
      Whether the retention field is set.
    • getRetention

      public com.google.protobuf.Duration getRetention()
      .google.protobuf.Duration retention = 4 [json_name = "retention"];
      Specified by:
      getRetention in interface AggregateTimeSeriesRuleOrBuilder
      Returns:
      The retention.
    • getRetentionOrBuilder

      public com.google.protobuf.DurationOrBuilder getRetentionOrBuilder()
      .google.protobuf.Duration retention = 4 [json_name = "retention"];
      Specified by:
      getRetentionOrBuilder in interface AggregateTimeSeriesRuleOrBuilder
    • getDatetimeFeature

      public String getDatetimeFeature()
      string datetime_feature = 5 [json_name = "datetimeFeature"];
      Specified by:
      getDatetimeFeature in interface AggregateTimeSeriesRuleOrBuilder
      Returns:
      The datetimeFeature.
    • getDatetimeFeatureBytes

      public com.google.protobuf.ByteString getDatetimeFeatureBytes()
      string datetime_feature = 5 [json_name = "datetimeFeature"];
      Specified by:
      getDatetimeFeatureBytes in interface AggregateTimeSeriesRuleOrBuilder
      Returns:
      The bytes for datetimeFeature.
    • 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 AggregateTimeSeriesRule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

      public AggregateTimeSeriesRule.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AggregateTimeSeriesRule.Builder newBuilder()
    • newBuilder

      public static AggregateTimeSeriesRule.Builder newBuilder(AggregateTimeSeriesRule prototype)
    • toBuilder

      public AggregateTimeSeriesRule.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static AggregateTimeSeriesRule getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AggregateTimeSeriesRule> 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 AggregateTimeSeriesRule getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder