public static enum AutotuningConfig.Scenario extends Enum<AutotuningConfig.Scenario> implements com.google.protobuf.ProtocolMessageEnum
Scenario represents a specific goal that autotuning will attempt to achieve by modifying workloads.Protobuf enum
google.cloud.dataproc.v1.AutotuningConfig.Scenario| Enum Constant and Description |
|---|
BROADCAST_HASH_JOIN
Adding hints for potential relation broadcasts.
|
MEMORY
Memory management for workloads.
|
SCALING
Scaling recommendations such as initialExecutors.
|
SCENARIO_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BROADCAST_HASH_JOIN_VALUE
Adding hints for potential relation broadcasts.
|
static int |
MEMORY_VALUE
Memory management for workloads.
|
static int |
SCALING_VALUE
Scaling recommendations such as initialExecutors.
|
static int |
SCENARIO_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static AutotuningConfig.Scenario |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<AutotuningConfig.Scenario> |
internalGetValueMap() |
static AutotuningConfig.Scenario |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AutotuningConfig.Scenario |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AutotuningConfig.Scenario |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutotuningConfig.Scenario[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutotuningConfig.Scenario SCENARIO_UNSPECIFIED
Default value.
SCENARIO_UNSPECIFIED = 0;public static final AutotuningConfig.Scenario SCALING
Scaling recommendations such as initialExecutors.
SCALING = 2;public static final AutotuningConfig.Scenario BROADCAST_HASH_JOIN
Adding hints for potential relation broadcasts.
BROADCAST_HASH_JOIN = 3;public static final AutotuningConfig.Scenario MEMORY
Memory management for workloads.
MEMORY = 4;public static final AutotuningConfig.Scenario UNRECOGNIZED
public static final int SCENARIO_UNSPECIFIED_VALUE
Default value.
SCENARIO_UNSPECIFIED = 0;public static final int SCALING_VALUE
Scaling recommendations such as initialExecutors.
SCALING = 2;public static final int BROADCAST_HASH_JOIN_VALUE
Adding hints for potential relation broadcasts.
BROADCAST_HASH_JOIN = 3;public static final int MEMORY_VALUE
Memory management for workloads.
MEMORY = 4;public static AutotuningConfig.Scenario[] values()
for (AutotuningConfig.Scenario c : AutotuningConfig.Scenario.values()) System.out.println(c);
public static AutotuningConfig.Scenario valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static AutotuningConfig.Scenario valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AutotuningConfig.Scenario forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AutotuningConfig.Scenario> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AutotuningConfig.Scenario valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.