Interface AutoMlForecastingInputs.GranularityOrBuilder (3.23.0)

public static interface AutoMlForecastingInputs.GranularityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getQuantity()

public abstract 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
TypeDescription
long

The quantity.

getUnit()

public abstract String getUnit()

The time granularity unit of this time period. The supported units are:

  • "minute"

  • "hour"

  • "day"

  • "week"

  • "month"

  • "year"

string unit = 1;

Returns
TypeDescription
String

The unit.

getUnitBytes()

public abstract ByteString getUnitBytes()

The time granularity unit of this time period. The supported units are:

  • "minute"

  • "hour"

  • "day"

  • "week"

  • "month"

  • "year"

string unit = 1;

Returns
TypeDescription
ByteString

The bytes for unit.