Interface AutoMlForecastingInputs.GranularityOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AutoMlForecastingInputs.Granularity, AutoMlForecastingInputs.Granularity.Builder
Enclosing class:
AutoMlForecastingInputs

public static interface AutoMlForecastingInputs.GranularityOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    The number of granularity_units between data points in the training data.
    The time granularity unit of this time period.
    com.google.protobuf.ByteString
    The time granularity unit of this time period.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getUnit

      String getUnit()
       The time granularity unit of this time period.
       The supported units are:
      
       * "minute"
      
       * "hour"
      
       * "day"
      
       * "week"
      
       * "month"
      
       * "year"
       
      string unit = 1;
      Returns:
      The unit.
    • getUnitBytes

      com.google.protobuf.ByteString getUnitBytes()
       The time granularity unit of this time period.
       The supported units are:
      
       * "minute"
      
       * "hour"
      
       * "day"
      
       * "week"
      
       * "month"
      
       * "year"
       
      string unit = 1;
      Returns:
      The bytes for unit.
    • getQuantity

      long getQuantity()
       The number of granularity_units between data points in the training
       data. If `granularity_unit` is `minute`,
       can be 1, 5, 10, 15, or 30. For all other values of `granularity_unit`,
       must be 1.
       
      int64 quantity = 2;
      Returns:
      The quantity.