Class AutoMlForecastingInputs.Builder (3.16.0)

public static final class AutoMlForecastingInputs.Builder extends GeneratedMessageV3.Builder<AutoMlForecastingInputs.Builder> implements AutoMlForecastingInputsOrBuilder

Protobuf type google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAdditionalExperiments(String value)

public AutoMlForecastingInputs.Builder addAdditionalExperiments(String value)

Additional experiment flags for the time series forcasting training.

repeated string additional_experiments = 25;

Parameter
NameDescription
valueString

The additionalExperiments to add.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

addAdditionalExperimentsBytes(ByteString value)

public AutoMlForecastingInputs.Builder addAdditionalExperimentsBytes(ByteString value)

Additional experiment flags for the time series forcasting training.

repeated string additional_experiments = 25;

Parameter
NameDescription
valueByteString

The bytes of the additionalExperiments to add.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

addAllAdditionalExperiments(Iterable<String> values)

public AutoMlForecastingInputs.Builder addAllAdditionalExperiments(Iterable<String> values)

Additional experiment flags for the time series forcasting training.

repeated string additional_experiments = 25;

Parameter
NameDescription
valuesIterable<String>

The additionalExperiments to add.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

addAllAvailableAtForecastColumns(Iterable<String> values)

public AutoMlForecastingInputs.Builder addAllAvailableAtForecastColumns(Iterable<String> values)

Names of columns that are available and provided when a forecast is requested. These columns contain information for the given entity (identified by the time_series_identifier_column column) that is known at forecast. For example, predicted weather for a specific day.

repeated string available_at_forecast_columns = 21;

Parameter
NameDescription
valuesIterable<String>

The availableAtForecastColumns to add.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

addAllQuantiles(Iterable<? extends Double> values)

public AutoMlForecastingInputs.Builder addAllQuantiles(Iterable<? extends Double> values)

Quantiles to use for minimize-quantile-loss optimization_objective. Up to 5 quantiles are allowed of values between 0 and 1, exclusive. Required if the value of optimization_objective is minimize-quantile-loss. Represents the percent quantiles to use for that objective. Quantiles must be unique.

repeated double quantiles = 16;

Parameter
NameDescription
valuesIterable<? extends java.lang.Double>

The quantiles to add.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

addAllTimeSeriesAttributeColumns(Iterable<String> values)

public AutoMlForecastingInputs.Builder addAllTimeSeriesAttributeColumns(Iterable<String> values)

Column names that should be used as attribute columns. The value of these columns does not vary as a function of time. For example, store ID or item color.

repeated string time_series_attribute_columns = 19;

Parameter
NameDescription
valuesIterable<String>

The timeSeriesAttributeColumns to add.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

addAllTransformations(Iterable<? extends AutoMlForecastingInputs.Transformation> values)

public AutoMlForecastingInputs.Builder addAllTransformations(Iterable<? extends AutoMlForecastingInputs.Transformation> values)

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation>
Returns
TypeDescription
AutoMlForecastingInputs.Builder

addAllUnavailableAtForecastColumns(Iterable<String> values)

public AutoMlForecastingInputs.Builder addAllUnavailableAtForecastColumns(Iterable<String> values)

Names of columns that are unavailable when a forecast is requested. This column contains information for the given entity (identified by the time_series_identifier_column) that is unknown before the forecast For example, actual weather on a given day.

repeated string unavailable_at_forecast_columns = 20;

Parameter
NameDescription
valuesIterable<String>

The unavailableAtForecastColumns to add.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

addAvailableAtForecastColumns(String value)

public AutoMlForecastingInputs.Builder addAvailableAtForecastColumns(String value)

Names of columns that are available and provided when a forecast is requested. These columns contain information for the given entity (identified by the time_series_identifier_column column) that is known at forecast. For example, predicted weather for a specific day.

repeated string available_at_forecast_columns = 21;

Parameter
NameDescription
valueString

The availableAtForecastColumns to add.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

addAvailableAtForecastColumnsBytes(ByteString value)

public AutoMlForecastingInputs.Builder addAvailableAtForecastColumnsBytes(ByteString value)

Names of columns that are available and provided when a forecast is requested. These columns contain information for the given entity (identified by the time_series_identifier_column column) that is known at forecast. For example, predicted weather for a specific day.

repeated string available_at_forecast_columns = 21;

Parameter
NameDescription
valueByteString

The bytes of the availableAtForecastColumns to add.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

addQuantiles(double value)

public AutoMlForecastingInputs.Builder addQuantiles(double value)

Quantiles to use for minimize-quantile-loss optimization_objective. Up to 5 quantiles are allowed of values between 0 and 1, exclusive. Required if the value of optimization_objective is minimize-quantile-loss. Represents the percent quantiles to use for that objective. Quantiles must be unique.

repeated double quantiles = 16;

Parameter
NameDescription
valuedouble

The quantiles to add.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutoMlForecastingInputs.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoMlForecastingInputs.Builder
Overrides

addTimeSeriesAttributeColumns(String value)

public AutoMlForecastingInputs.Builder addTimeSeriesAttributeColumns(String value)

Column names that should be used as attribute columns. The value of these columns does not vary as a function of time. For example, store ID or item color.

repeated string time_series_attribute_columns = 19;

Parameter
NameDescription
valueString

The timeSeriesAttributeColumns to add.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

addTimeSeriesAttributeColumnsBytes(ByteString value)

public AutoMlForecastingInputs.Builder addTimeSeriesAttributeColumnsBytes(ByteString value)

Column names that should be used as attribute columns. The value of these columns does not vary as a function of time. For example, store ID or item color.

repeated string time_series_attribute_columns = 19;

Parameter
NameDescription
valueByteString

The bytes of the timeSeriesAttributeColumns to add.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

addTransformations(AutoMlForecastingInputs.Transformation value)

public AutoMlForecastingInputs.Builder addTransformations(AutoMlForecastingInputs.Transformation value)

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Parameter
NameDescription
valueAutoMlForecastingInputs.Transformation
Returns
TypeDescription
AutoMlForecastingInputs.Builder

addTransformations(AutoMlForecastingInputs.Transformation.Builder builderForValue)

public AutoMlForecastingInputs.Builder addTransformations(AutoMlForecastingInputs.Transformation.Builder builderForValue)

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Parameter
NameDescription
builderForValueAutoMlForecastingInputs.Transformation.Builder
Returns
TypeDescription
AutoMlForecastingInputs.Builder

addTransformations(int index, AutoMlForecastingInputs.Transformation value)

public AutoMlForecastingInputs.Builder addTransformations(int index, AutoMlForecastingInputs.Transformation value)

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Parameters
NameDescription
indexint
valueAutoMlForecastingInputs.Transformation
Returns
TypeDescription
AutoMlForecastingInputs.Builder

addTransformations(int index, AutoMlForecastingInputs.Transformation.Builder builderForValue)

public AutoMlForecastingInputs.Builder addTransformations(int index, AutoMlForecastingInputs.Transformation.Builder builderForValue)

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Parameters
NameDescription
indexint
builderForValueAutoMlForecastingInputs.Transformation.Builder
Returns
TypeDescription
AutoMlForecastingInputs.Builder

addTransformationsBuilder()

public AutoMlForecastingInputs.Transformation.Builder addTransformationsBuilder()

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Returns
TypeDescription
AutoMlForecastingInputs.Transformation.Builder

addTransformationsBuilder(int index)

public AutoMlForecastingInputs.Transformation.Builder addTransformationsBuilder(int index)

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.Builder

addUnavailableAtForecastColumns(String value)

public AutoMlForecastingInputs.Builder addUnavailableAtForecastColumns(String value)

Names of columns that are unavailable when a forecast is requested. This column contains information for the given entity (identified by the time_series_identifier_column) that is unknown before the forecast For example, actual weather on a given day.

repeated string unavailable_at_forecast_columns = 20;

Parameter
NameDescription
valueString

The unavailableAtForecastColumns to add.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

addUnavailableAtForecastColumnsBytes(ByteString value)

public AutoMlForecastingInputs.Builder addUnavailableAtForecastColumnsBytes(ByteString value)

Names of columns that are unavailable when a forecast is requested. This column contains information for the given entity (identified by the time_series_identifier_column) that is unknown before the forecast For example, actual weather on a given day.

repeated string unavailable_at_forecast_columns = 20;

Parameter
NameDescription
valueByteString

The bytes of the unavailableAtForecastColumns to add.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

build()

public AutoMlForecastingInputs build()
Returns
TypeDescription
AutoMlForecastingInputs

buildPartial()

public AutoMlForecastingInputs buildPartial()
Returns
TypeDescription
AutoMlForecastingInputs

clear()

public AutoMlForecastingInputs.Builder clear()
Returns
TypeDescription
AutoMlForecastingInputs.Builder
Overrides

clearAdditionalExperiments()

public AutoMlForecastingInputs.Builder clearAdditionalExperiments()

Additional experiment flags for the time series forcasting training.

repeated string additional_experiments = 25;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

clearAvailableAtForecastColumns()

public AutoMlForecastingInputs.Builder clearAvailableAtForecastColumns()

Names of columns that are available and provided when a forecast is requested. These columns contain information for the given entity (identified by the time_series_identifier_column column) that is known at forecast. For example, predicted weather for a specific day.

repeated string available_at_forecast_columns = 21;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

clearContextWindow()

public AutoMlForecastingInputs.Builder clearContextWindow()

The amount of time into the past training and prediction data is used for model training and prediction respectively. Expressed in number of units defined by the data_granularity field.

int64 context_window = 24;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

clearDataGranularity()

public AutoMlForecastingInputs.Builder clearDataGranularity()

Expected difference in time granularity between rows in the data.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Granularity data_granularity = 22;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

clearExportEvaluatedDataItemsConfig()

public AutoMlForecastingInputs.Builder clearExportEvaluatedDataItemsConfig()

Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

clearField(Descriptors.FieldDescriptor field)

public AutoMlForecastingInputs.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutoMlForecastingInputs.Builder
Overrides

clearForecastHorizon()

public AutoMlForecastingInputs.Builder clearForecastHorizon()

The amount of time into the future for which forecasted values for the target are returned. Expressed in number of units defined by the data_granularity field.

int64 forecast_horizon = 23;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoMlForecastingInputs.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AutoMlForecastingInputs.Builder
Overrides

clearOptimizationObjective()

public AutoMlForecastingInputs.Builder clearOptimizationObjective()

Objective function the model is optimizing towards. The training process creates a model that optimizes the value of the objective function over the validation set. The supported optimization objectives:

  • "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE).
  • "minimize-mae" - Minimize mean-absolute error (MAE).
  • "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE).
  • "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE).
  • "minimize-wape-mae" - Minimize the combination of weighted absolute percentage error (WAPE) and mean-absolute-error (MAE).
  • "minimize-quantile-loss" - Minimize the quantile loss at the quantiles defined in quantiles.

string optimization_objective = 5;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

clearQuantiles()

public AutoMlForecastingInputs.Builder clearQuantiles()

Quantiles to use for minimize-quantile-loss optimization_objective. Up to 5 quantiles are allowed of values between 0 and 1, exclusive. Required if the value of optimization_objective is minimize-quantile-loss. Represents the percent quantiles to use for that objective. Quantiles must be unique.

repeated double quantiles = 16;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

clearTargetColumn()

public AutoMlForecastingInputs.Builder clearTargetColumn()

The name of the column that the model is to predict.

string target_column = 1;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

clearTimeColumn()

public AutoMlForecastingInputs.Builder clearTimeColumn()

The name of the column that identifies time order in the time series.

string time_column = 3;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

clearTimeSeriesAttributeColumns()

public AutoMlForecastingInputs.Builder clearTimeSeriesAttributeColumns()

Column names that should be used as attribute columns. The value of these columns does not vary as a function of time. For example, store ID or item color.

repeated string time_series_attribute_columns = 19;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

clearTimeSeriesIdentifierColumn()

public AutoMlForecastingInputs.Builder clearTimeSeriesIdentifierColumn()

The name of the column that identifies the time series.

string time_series_identifier_column = 2;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

clearTrainBudgetMilliNodeHours()

public AutoMlForecastingInputs.Builder clearTrainBudgetMilliNodeHours()

Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being (even) noticeably smaller - at the backend's discretion. This especially may happen when further model training ceases to provide any improvements. If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won't be attempted and will error. The train budget must be between 1,000 and 72,000 milli node hours, inclusive.

int64 train_budget_milli_node_hours = 6;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

clearTransformations()

public AutoMlForecastingInputs.Builder clearTransformations()

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

clearUnavailableAtForecastColumns()

public AutoMlForecastingInputs.Builder clearUnavailableAtForecastColumns()

Names of columns that are unavailable when a forecast is requested. This column contains information for the given entity (identified by the time_series_identifier_column) that is unknown before the forecast For example, actual weather on a given day.

repeated string unavailable_at_forecast_columns = 20;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

clearValidationOptions()

public AutoMlForecastingInputs.Builder clearValidationOptions()

Validation options for the data validation component. The available options are:

  • "fail-pipeline" - default, will validate against the validation and fail the pipeline if it fails.
  • "ignore-validation" - ignore the results of the validation and continue

string validation_options = 17;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

clearWeightColumn()

public AutoMlForecastingInputs.Builder clearWeightColumn()

Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1.

string weight_column = 7;

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

clone()

public AutoMlForecastingInputs.Builder clone()
Returns
TypeDescription
AutoMlForecastingInputs.Builder
Overrides

getAdditionalExperiments(int index)

public String getAdditionalExperiments(int index)

Additional experiment flags for the time series forcasting training.

repeated string additional_experiments = 25;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The additionalExperiments at the given index.

getAdditionalExperimentsBytes(int index)

public ByteString getAdditionalExperimentsBytes(int index)

Additional experiment flags for the time series forcasting training.

repeated string additional_experiments = 25;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the additionalExperiments at the given index.

getAdditionalExperimentsCount()

public int getAdditionalExperimentsCount()

Additional experiment flags for the time series forcasting training.

repeated string additional_experiments = 25;

Returns
TypeDescription
int

The count of additionalExperiments.

getAdditionalExperimentsList()

public ProtocolStringList getAdditionalExperimentsList()

Additional experiment flags for the time series forcasting training.

repeated string additional_experiments = 25;

Returns
TypeDescription
ProtocolStringList

A list containing the additionalExperiments.

getAvailableAtForecastColumns(int index)

public String getAvailableAtForecastColumns(int index)

Names of columns that are available and provided when a forecast is requested. These columns contain information for the given entity (identified by the time_series_identifier_column column) that is known at forecast. For example, predicted weather for a specific day.

repeated string available_at_forecast_columns = 21;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The availableAtForecastColumns at the given index.

getAvailableAtForecastColumnsBytes(int index)

public ByteString getAvailableAtForecastColumnsBytes(int index)

Names of columns that are available and provided when a forecast is requested. These columns contain information for the given entity (identified by the time_series_identifier_column column) that is known at forecast. For example, predicted weather for a specific day.

repeated string available_at_forecast_columns = 21;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the availableAtForecastColumns at the given index.

getAvailableAtForecastColumnsCount()

public int getAvailableAtForecastColumnsCount()

Names of columns that are available and provided when a forecast is requested. These columns contain information for the given entity (identified by the time_series_identifier_column column) that is known at forecast. For example, predicted weather for a specific day.

repeated string available_at_forecast_columns = 21;

Returns
TypeDescription
int

The count of availableAtForecastColumns.

getAvailableAtForecastColumnsList()

public ProtocolStringList getAvailableAtForecastColumnsList()

Names of columns that are available and provided when a forecast is requested. These columns contain information for the given entity (identified by the time_series_identifier_column column) that is known at forecast. For example, predicted weather for a specific day.

repeated string available_at_forecast_columns = 21;

Returns
TypeDescription
ProtocolStringList

A list containing the availableAtForecastColumns.

getContextWindow()

public long getContextWindow()

The amount of time into the past training and prediction data is used for model training and prediction respectively. Expressed in number of units defined by the data_granularity field.

int64 context_window = 24;

Returns
TypeDescription
long

The contextWindow.

getDataGranularity()

public AutoMlForecastingInputs.Granularity getDataGranularity()

Expected difference in time granularity between rows in the data.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Granularity data_granularity = 22;

Returns
TypeDescription
AutoMlForecastingInputs.Granularity

The dataGranularity.

getDataGranularityBuilder()

public AutoMlForecastingInputs.Granularity.Builder getDataGranularityBuilder()

Expected difference in time granularity between rows in the data.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Granularity data_granularity = 22;

Returns
TypeDescription
AutoMlForecastingInputs.Granularity.Builder

getDataGranularityOrBuilder()

public AutoMlForecastingInputs.GranularityOrBuilder getDataGranularityOrBuilder()

Expected difference in time granularity between rows in the data.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Granularity data_granularity = 22;

Returns
TypeDescription
AutoMlForecastingInputs.GranularityOrBuilder

getDefaultInstanceForType()

public AutoMlForecastingInputs getDefaultInstanceForType()
Returns
TypeDescription
AutoMlForecastingInputs

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExportEvaluatedDataItemsConfig()

public ExportEvaluatedDataItemsConfig getExportEvaluatedDataItemsConfig()

Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;

Returns
TypeDescription
ExportEvaluatedDataItemsConfig

The exportEvaluatedDataItemsConfig.

getExportEvaluatedDataItemsConfigBuilder()

public ExportEvaluatedDataItemsConfig.Builder getExportEvaluatedDataItemsConfigBuilder()

Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;

Returns
TypeDescription
ExportEvaluatedDataItemsConfig.Builder

getExportEvaluatedDataItemsConfigOrBuilder()

public ExportEvaluatedDataItemsConfigOrBuilder getExportEvaluatedDataItemsConfigOrBuilder()

Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;

Returns
TypeDescription
ExportEvaluatedDataItemsConfigOrBuilder

getForecastHorizon()

public long getForecastHorizon()

The amount of time into the future for which forecasted values for the target are returned. Expressed in number of units defined by the data_granularity field.

int64 forecast_horizon = 23;

Returns
TypeDescription
long

The forecastHorizon.

getOptimizationObjective()

public String getOptimizationObjective()

Objective function the model is optimizing towards. The training process creates a model that optimizes the value of the objective function over the validation set. The supported optimization objectives:

  • "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE).
  • "minimize-mae" - Minimize mean-absolute error (MAE).
  • "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE).
  • "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE).
  • "minimize-wape-mae" - Minimize the combination of weighted absolute percentage error (WAPE) and mean-absolute-error (MAE).
  • "minimize-quantile-loss" - Minimize the quantile loss at the quantiles defined in quantiles.

string optimization_objective = 5;

Returns
TypeDescription
String

The optimizationObjective.

getOptimizationObjectiveBytes()

public ByteString getOptimizationObjectiveBytes()

Objective function the model is optimizing towards. The training process creates a model that optimizes the value of the objective function over the validation set. The supported optimization objectives:

  • "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE).
  • "minimize-mae" - Minimize mean-absolute error (MAE).
  • "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE).
  • "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE).
  • "minimize-wape-mae" - Minimize the combination of weighted absolute percentage error (WAPE) and mean-absolute-error (MAE).
  • "minimize-quantile-loss" - Minimize the quantile loss at the quantiles defined in quantiles.

string optimization_objective = 5;

Returns
TypeDescription
ByteString

The bytes for optimizationObjective.

getQuantiles(int index)

public double getQuantiles(int index)

Quantiles to use for minimize-quantile-loss optimization_objective. Up to 5 quantiles are allowed of values between 0 and 1, exclusive. Required if the value of optimization_objective is minimize-quantile-loss. Represents the percent quantiles to use for that objective. Quantiles must be unique.

repeated double quantiles = 16;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
double

The quantiles at the given index.

getQuantilesCount()

public int getQuantilesCount()

Quantiles to use for minimize-quantile-loss optimization_objective. Up to 5 quantiles are allowed of values between 0 and 1, exclusive. Required if the value of optimization_objective is minimize-quantile-loss. Represents the percent quantiles to use for that objective. Quantiles must be unique.

repeated double quantiles = 16;

Returns
TypeDescription
int

The count of quantiles.

getQuantilesList()

public List<Double> getQuantilesList()

Quantiles to use for minimize-quantile-loss optimization_objective. Up to 5 quantiles are allowed of values between 0 and 1, exclusive. Required if the value of optimization_objective is minimize-quantile-loss. Represents the percent quantiles to use for that objective. Quantiles must be unique.

repeated double quantiles = 16;

Returns
TypeDescription
List<Double>

A list containing the quantiles.

getTargetColumn()

public String getTargetColumn()

The name of the column that the model is to predict.

string target_column = 1;

Returns
TypeDescription
String

The targetColumn.

getTargetColumnBytes()

public ByteString getTargetColumnBytes()

The name of the column that the model is to predict.

string target_column = 1;

Returns
TypeDescription
ByteString

The bytes for targetColumn.

getTimeColumn()

public String getTimeColumn()

The name of the column that identifies time order in the time series.

string time_column = 3;

Returns
TypeDescription
String

The timeColumn.

getTimeColumnBytes()

public ByteString getTimeColumnBytes()

The name of the column that identifies time order in the time series.

string time_column = 3;

Returns
TypeDescription
ByteString

The bytes for timeColumn.

getTimeSeriesAttributeColumns(int index)

public String getTimeSeriesAttributeColumns(int index)

Column names that should be used as attribute columns. The value of these columns does not vary as a function of time. For example, store ID or item color.

repeated string time_series_attribute_columns = 19;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The timeSeriesAttributeColumns at the given index.

getTimeSeriesAttributeColumnsBytes(int index)

public ByteString getTimeSeriesAttributeColumnsBytes(int index)

Column names that should be used as attribute columns. The value of these columns does not vary as a function of time. For example, store ID or item color.

repeated string time_series_attribute_columns = 19;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the timeSeriesAttributeColumns at the given index.

getTimeSeriesAttributeColumnsCount()

public int getTimeSeriesAttributeColumnsCount()

Column names that should be used as attribute columns. The value of these columns does not vary as a function of time. For example, store ID or item color.

repeated string time_series_attribute_columns = 19;

Returns
TypeDescription
int

The count of timeSeriesAttributeColumns.

getTimeSeriesAttributeColumnsList()

public ProtocolStringList getTimeSeriesAttributeColumnsList()

Column names that should be used as attribute columns. The value of these columns does not vary as a function of time. For example, store ID or item color.

repeated string time_series_attribute_columns = 19;

Returns
TypeDescription
ProtocolStringList

A list containing the timeSeriesAttributeColumns.

getTimeSeriesIdentifierColumn()

public String getTimeSeriesIdentifierColumn()

The name of the column that identifies the time series.

string time_series_identifier_column = 2;

Returns
TypeDescription
String

The timeSeriesIdentifierColumn.

getTimeSeriesIdentifierColumnBytes()

public ByteString getTimeSeriesIdentifierColumnBytes()

The name of the column that identifies the time series.

string time_series_identifier_column = 2;

Returns
TypeDescription
ByteString

The bytes for timeSeriesIdentifierColumn.

getTrainBudgetMilliNodeHours()

public long getTrainBudgetMilliNodeHours()

Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being (even) noticeably smaller - at the backend's discretion. This especially may happen when further model training ceases to provide any improvements. If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won't be attempted and will error. The train budget must be between 1,000 and 72,000 milli node hours, inclusive.

int64 train_budget_milli_node_hours = 6;

Returns
TypeDescription
long

The trainBudgetMilliNodeHours.

getTransformations(int index)

public AutoMlForecastingInputs.Transformation getTransformations(int index)

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
AutoMlForecastingInputs.Transformation

getTransformationsBuilder(int index)

public AutoMlForecastingInputs.Transformation.Builder getTransformationsBuilder(int index)

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.Builder

getTransformationsBuilderList()

public List<AutoMlForecastingInputs.Transformation.Builder> getTransformationsBuilderList()

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Returns
TypeDescription
List<Builder>

getTransformationsCount()

public int getTransformationsCount()

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Returns
TypeDescription
int

getTransformationsList()

public List<AutoMlForecastingInputs.Transformation> getTransformationsList()

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Returns
TypeDescription
List<Transformation>

getTransformationsOrBuilder(int index)

public AutoMlForecastingInputs.TransformationOrBuilder getTransformationsOrBuilder(int index)

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
AutoMlForecastingInputs.TransformationOrBuilder

getTransformationsOrBuilderList()

public List<? extends AutoMlForecastingInputs.TransformationOrBuilder> getTransformationsOrBuilderList()

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.TransformationOrBuilder>

getUnavailableAtForecastColumns(int index)

public String getUnavailableAtForecastColumns(int index)

Names of columns that are unavailable when a forecast is requested. This column contains information for the given entity (identified by the time_series_identifier_column) that is unknown before the forecast For example, actual weather on a given day.

repeated string unavailable_at_forecast_columns = 20;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unavailableAtForecastColumns at the given index.

getUnavailableAtForecastColumnsBytes(int index)

public ByteString getUnavailableAtForecastColumnsBytes(int index)

Names of columns that are unavailable when a forecast is requested. This column contains information for the given entity (identified by the time_series_identifier_column) that is unknown before the forecast For example, actual weather on a given day.

repeated string unavailable_at_forecast_columns = 20;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unavailableAtForecastColumns at the given index.

getUnavailableAtForecastColumnsCount()

public int getUnavailableAtForecastColumnsCount()

Names of columns that are unavailable when a forecast is requested. This column contains information for the given entity (identified by the time_series_identifier_column) that is unknown before the forecast For example, actual weather on a given day.

repeated string unavailable_at_forecast_columns = 20;

Returns
TypeDescription
int

The count of unavailableAtForecastColumns.

getUnavailableAtForecastColumnsList()

public ProtocolStringList getUnavailableAtForecastColumnsList()

Names of columns that are unavailable when a forecast is requested. This column contains information for the given entity (identified by the time_series_identifier_column) that is unknown before the forecast For example, actual weather on a given day.

repeated string unavailable_at_forecast_columns = 20;

Returns
TypeDescription
ProtocolStringList

A list containing the unavailableAtForecastColumns.

getValidationOptions()

public String getValidationOptions()

Validation options for the data validation component. The available options are:

  • "fail-pipeline" - default, will validate against the validation and fail the pipeline if it fails.
  • "ignore-validation" - ignore the results of the validation and continue

string validation_options = 17;

Returns
TypeDescription
String

The validationOptions.

getValidationOptionsBytes()

public ByteString getValidationOptionsBytes()

Validation options for the data validation component. The available options are:

  • "fail-pipeline" - default, will validate against the validation and fail the pipeline if it fails.
  • "ignore-validation" - ignore the results of the validation and continue

string validation_options = 17;

Returns
TypeDescription
ByteString

The bytes for validationOptions.

getWeightColumn()

public String getWeightColumn()

Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1.

string weight_column = 7;

Returns
TypeDescription
String

The weightColumn.

getWeightColumnBytes()

public ByteString getWeightColumnBytes()

Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1.

string weight_column = 7;

Returns
TypeDescription
ByteString

The bytes for weightColumn.

hasDataGranularity()

public boolean hasDataGranularity()

Expected difference in time granularity between rows in the data.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Granularity data_granularity = 22;

Returns
TypeDescription
boolean

Whether the dataGranularity field is set.

hasExportEvaluatedDataItemsConfig()

public boolean hasExportEvaluatedDataItemsConfig()

Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;

Returns
TypeDescription
boolean

Whether the exportEvaluatedDataItemsConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDataGranularity(AutoMlForecastingInputs.Granularity value)

public AutoMlForecastingInputs.Builder mergeDataGranularity(AutoMlForecastingInputs.Granularity value)

Expected difference in time granularity between rows in the data.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Granularity data_granularity = 22;

Parameter
NameDescription
valueAutoMlForecastingInputs.Granularity
Returns
TypeDescription
AutoMlForecastingInputs.Builder

mergeExportEvaluatedDataItemsConfig(ExportEvaluatedDataItemsConfig value)

public AutoMlForecastingInputs.Builder mergeExportEvaluatedDataItemsConfig(ExportEvaluatedDataItemsConfig value)

Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;

Parameter
NameDescription
valueExportEvaluatedDataItemsConfig
Returns
TypeDescription
AutoMlForecastingInputs.Builder

mergeFrom(AutoMlForecastingInputs other)

public AutoMlForecastingInputs.Builder mergeFrom(AutoMlForecastingInputs other)
Parameter
NameDescription
otherAutoMlForecastingInputs
Returns
TypeDescription
AutoMlForecastingInputs.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoMlForecastingInputs.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlForecastingInputs.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AutoMlForecastingInputs.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AutoMlForecastingInputs.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlForecastingInputs.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoMlForecastingInputs.Builder
Overrides

removeTransformations(int index)

public AutoMlForecastingInputs.Builder removeTransformations(int index)

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
AutoMlForecastingInputs.Builder

setAdditionalExperiments(int index, String value)

public AutoMlForecastingInputs.Builder setAdditionalExperiments(int index, String value)

Additional experiment flags for the time series forcasting training.

repeated string additional_experiments = 25;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The additionalExperiments to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setAvailableAtForecastColumns(int index, String value)

public AutoMlForecastingInputs.Builder setAvailableAtForecastColumns(int index, String value)

Names of columns that are available and provided when a forecast is requested. These columns contain information for the given entity (identified by the time_series_identifier_column column) that is known at forecast. For example, predicted weather for a specific day.

repeated string available_at_forecast_columns = 21;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The availableAtForecastColumns to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setContextWindow(long value)

public AutoMlForecastingInputs.Builder setContextWindow(long value)

The amount of time into the past training and prediction data is used for model training and prediction respectively. Expressed in number of units defined by the data_granularity field.

int64 context_window = 24;

Parameter
NameDescription
valuelong

The contextWindow to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setDataGranularity(AutoMlForecastingInputs.Granularity value)

public AutoMlForecastingInputs.Builder setDataGranularity(AutoMlForecastingInputs.Granularity value)

Expected difference in time granularity between rows in the data.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Granularity data_granularity = 22;

Parameter
NameDescription
valueAutoMlForecastingInputs.Granularity
Returns
TypeDescription
AutoMlForecastingInputs.Builder

setDataGranularity(AutoMlForecastingInputs.Granularity.Builder builderForValue)

public AutoMlForecastingInputs.Builder setDataGranularity(AutoMlForecastingInputs.Granularity.Builder builderForValue)

Expected difference in time granularity between rows in the data.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Granularity data_granularity = 22;

Parameter
NameDescription
builderForValueAutoMlForecastingInputs.Granularity.Builder
Returns
TypeDescription
AutoMlForecastingInputs.Builder

setExportEvaluatedDataItemsConfig(ExportEvaluatedDataItemsConfig value)

public AutoMlForecastingInputs.Builder setExportEvaluatedDataItemsConfig(ExportEvaluatedDataItemsConfig value)

Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;

Parameter
NameDescription
valueExportEvaluatedDataItemsConfig
Returns
TypeDescription
AutoMlForecastingInputs.Builder

setExportEvaluatedDataItemsConfig(ExportEvaluatedDataItemsConfig.Builder builderForValue)

public AutoMlForecastingInputs.Builder setExportEvaluatedDataItemsConfig(ExportEvaluatedDataItemsConfig.Builder builderForValue)

Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 15;

Parameter
NameDescription
builderForValueExportEvaluatedDataItemsConfig.Builder
Returns
TypeDescription
AutoMlForecastingInputs.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AutoMlForecastingInputs.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoMlForecastingInputs.Builder
Overrides

setForecastHorizon(long value)

public AutoMlForecastingInputs.Builder setForecastHorizon(long value)

The amount of time into the future for which forecasted values for the target are returned. Expressed in number of units defined by the data_granularity field.

int64 forecast_horizon = 23;

Parameter
NameDescription
valuelong

The forecastHorizon to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setOptimizationObjective(String value)

public AutoMlForecastingInputs.Builder setOptimizationObjective(String value)

Objective function the model is optimizing towards. The training process creates a model that optimizes the value of the objective function over the validation set. The supported optimization objectives:

  • "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE).
  • "minimize-mae" - Minimize mean-absolute error (MAE).
  • "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE).
  • "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE).
  • "minimize-wape-mae" - Minimize the combination of weighted absolute percentage error (WAPE) and mean-absolute-error (MAE).
  • "minimize-quantile-loss" - Minimize the quantile loss at the quantiles defined in quantiles.

string optimization_objective = 5;

Parameter
NameDescription
valueString

The optimizationObjective to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setOptimizationObjectiveBytes(ByteString value)

public AutoMlForecastingInputs.Builder setOptimizationObjectiveBytes(ByteString value)

Objective function the model is optimizing towards. The training process creates a model that optimizes the value of the objective function over the validation set. The supported optimization objectives:

  • "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE).
  • "minimize-mae" - Minimize mean-absolute error (MAE).
  • "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE).
  • "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE).
  • "minimize-wape-mae" - Minimize the combination of weighted absolute percentage error (WAPE) and mean-absolute-error (MAE).
  • "minimize-quantile-loss" - Minimize the quantile loss at the quantiles defined in quantiles.

string optimization_objective = 5;

Parameter
NameDescription
valueByteString

The bytes for optimizationObjective to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setQuantiles(int index, double value)

public AutoMlForecastingInputs.Builder setQuantiles(int index, double value)

Quantiles to use for minimize-quantile-loss optimization_objective. Up to 5 quantiles are allowed of values between 0 and 1, exclusive. Required if the value of optimization_objective is minimize-quantile-loss. Represents the percent quantiles to use for that objective. Quantiles must be unique.

repeated double quantiles = 16;

Parameters
NameDescription
indexint

The index to set the value at.

valuedouble

The quantiles to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutoMlForecastingInputs.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutoMlForecastingInputs.Builder
Overrides

setTargetColumn(String value)

public AutoMlForecastingInputs.Builder setTargetColumn(String value)

The name of the column that the model is to predict.

string target_column = 1;

Parameter
NameDescription
valueString

The targetColumn to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setTargetColumnBytes(ByteString value)

public AutoMlForecastingInputs.Builder setTargetColumnBytes(ByteString value)

The name of the column that the model is to predict.

string target_column = 1;

Parameter
NameDescription
valueByteString

The bytes for targetColumn to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setTimeColumn(String value)

public AutoMlForecastingInputs.Builder setTimeColumn(String value)

The name of the column that identifies time order in the time series.

string time_column = 3;

Parameter
NameDescription
valueString

The timeColumn to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setTimeColumnBytes(ByteString value)

public AutoMlForecastingInputs.Builder setTimeColumnBytes(ByteString value)

The name of the column that identifies time order in the time series.

string time_column = 3;

Parameter
NameDescription
valueByteString

The bytes for timeColumn to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setTimeSeriesAttributeColumns(int index, String value)

public AutoMlForecastingInputs.Builder setTimeSeriesAttributeColumns(int index, String value)

Column names that should be used as attribute columns. The value of these columns does not vary as a function of time. For example, store ID or item color.

repeated string time_series_attribute_columns = 19;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The timeSeriesAttributeColumns to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setTimeSeriesIdentifierColumn(String value)

public AutoMlForecastingInputs.Builder setTimeSeriesIdentifierColumn(String value)

The name of the column that identifies the time series.

string time_series_identifier_column = 2;

Parameter
NameDescription
valueString

The timeSeriesIdentifierColumn to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setTimeSeriesIdentifierColumnBytes(ByteString value)

public AutoMlForecastingInputs.Builder setTimeSeriesIdentifierColumnBytes(ByteString value)

The name of the column that identifies the time series.

string time_series_identifier_column = 2;

Parameter
NameDescription
valueByteString

The bytes for timeSeriesIdentifierColumn to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setTrainBudgetMilliNodeHours(long value)

public AutoMlForecastingInputs.Builder setTrainBudgetMilliNodeHours(long value)

Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being (even) noticeably smaller - at the backend's discretion. This especially may happen when further model training ceases to provide any improvements. If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won't be attempted and will error. The train budget must be between 1,000 and 72,000 milli node hours, inclusive.

int64 train_budget_milli_node_hours = 6;

Parameter
NameDescription
valuelong

The trainBudgetMilliNodeHours to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setTransformations(int index, AutoMlForecastingInputs.Transformation value)

public AutoMlForecastingInputs.Builder setTransformations(int index, AutoMlForecastingInputs.Transformation value)

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Parameters
NameDescription
indexint
valueAutoMlForecastingInputs.Transformation
Returns
TypeDescription
AutoMlForecastingInputs.Builder

setTransformations(int index, AutoMlForecastingInputs.Transformation.Builder builderForValue)

public AutoMlForecastingInputs.Builder setTransformations(int index, AutoMlForecastingInputs.Transformation.Builder builderForValue)

Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.

repeated .google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation transformations = 4;

Parameters
NameDescription
indexint
builderForValueAutoMlForecastingInputs.Transformation.Builder
Returns
TypeDescription
AutoMlForecastingInputs.Builder

setUnavailableAtForecastColumns(int index, String value)

public AutoMlForecastingInputs.Builder setUnavailableAtForecastColumns(int index, String value)

Names of columns that are unavailable when a forecast is requested. This column contains information for the given entity (identified by the time_series_identifier_column) that is unknown before the forecast For example, actual weather on a given day.

repeated string unavailable_at_forecast_columns = 20;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unavailableAtForecastColumns to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlForecastingInputs.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoMlForecastingInputs.Builder
Overrides

setValidationOptions(String value)

public AutoMlForecastingInputs.Builder setValidationOptions(String value)

Validation options for the data validation component. The available options are:

  • "fail-pipeline" - default, will validate against the validation and fail the pipeline if it fails.
  • "ignore-validation" - ignore the results of the validation and continue

string validation_options = 17;

Parameter
NameDescription
valueString

The validationOptions to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setValidationOptionsBytes(ByteString value)

public AutoMlForecastingInputs.Builder setValidationOptionsBytes(ByteString value)

Validation options for the data validation component. The available options are:

  • "fail-pipeline" - default, will validate against the validation and fail the pipeline if it fails.
  • "ignore-validation" - ignore the results of the validation and continue

string validation_options = 17;

Parameter
NameDescription
valueByteString

The bytes for validationOptions to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setWeightColumn(String value)

public AutoMlForecastingInputs.Builder setWeightColumn(String value)

Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1.

string weight_column = 7;

Parameter
NameDescription
valueString

The weightColumn to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.

setWeightColumnBytes(ByteString value)

public AutoMlForecastingInputs.Builder setWeightColumnBytes(ByteString value)

Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1.

string weight_column = 7;

Parameter
NameDescription
valueByteString

The bytes for weightColumn to set.

Returns
TypeDescription
AutoMlForecastingInputs.Builder

This builder for chaining.