Interface AutoMlForecastingInputs.GranularityOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getQuantity()
      The number of granularity_units between data points in the training data.
      String getUnit()
      The time granularity unit of this time period.
      com.google.protobuf.ByteString getUnitBytes()
      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 Detail

      • 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.