Interface AutotuningConfigOrBuilder (4.52.0)

public interface AutotuningConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getScenarios(int index)

public abstract AutotuningConfig.Scenario getScenarios(int index)

Optional. Scenarios for which tunings are applied.

repeated .google.cloud.dataproc.v1.AutotuningConfig.Scenario scenarios = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
AutotuningConfig.Scenario

The scenarios at the given index.

getScenariosCount()

public abstract int getScenariosCount()

Optional. Scenarios for which tunings are applied.

repeated .google.cloud.dataproc.v1.AutotuningConfig.Scenario scenarios = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of scenarios.

getScenariosList()

public abstract List<AutotuningConfig.Scenario> getScenariosList()

Optional. Scenarios for which tunings are applied.

repeated .google.cloud.dataproc.v1.AutotuningConfig.Scenario scenarios = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Scenario>

A list containing the scenarios.

getScenariosValue(int index)

public abstract int getScenariosValue(int index)

Optional. Scenarios for which tunings are applied.

repeated .google.cloud.dataproc.v1.AutotuningConfig.Scenario scenarios = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of scenarios at the given index.

getScenariosValueList()

public abstract List<Integer> getScenariosValueList()

Optional. Scenarios for which tunings are applied.

repeated .google.cloud.dataproc.v1.AutotuningConfig.Scenario scenarios = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for scenarios.