Class AutotuningConfig (4.43.0)

public final class AutotuningConfig extends GeneratedMessageV3 implements AutotuningConfigOrBuilder

Autotuning configuration of the workload.

Protobuf type google.cloud.dataproc.v1.AutotuningConfig

Static Fields

SCENARIOS_FIELD_NUMBER

public static final int SCENARIOS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AutotuningConfig getDefaultInstance()
Returns
Type Description
AutotuningConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AutotuningConfig.Builder newBuilder()
Returns
Type Description
AutotuningConfig.Builder

newBuilder(AutotuningConfig prototype)

public static AutotuningConfig.Builder newBuilder(AutotuningConfig prototype)
Parameter
Name Description
prototype AutotuningConfig
Returns
Type Description
AutotuningConfig.Builder

parseDelimitedFrom(InputStream input)

public static AutotuningConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AutotuningConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutotuningConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutotuningConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AutotuningConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AutotuningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AutotuningConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutotuningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AutotuningConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AutotuningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AutotuningConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutotuningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AutotuningConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AutotuningConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AutotuningConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutotuningConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AutotuningConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AutotuningConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutotuningConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutotuningConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AutotuningConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AutotuningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AutotuningConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutotuningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AutotuningConfig> parser()
Returns
Type Description
Parser<AutotuningConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AutotuningConfig getDefaultInstanceForType()
Returns
Type Description
AutotuningConfig

getParserForType()

public Parser<AutotuningConfig> getParserForType()
Returns
Type Description
Parser<AutotuningConfig>
Overrides

getScenarios(int index)

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AutotuningConfig.Builder newBuilderForType()
Returns
Type Description
AutotuningConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutotuningConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AutotuningConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AutotuningConfig.Builder toBuilder()
Returns
Type Description
AutotuningConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException