public final class AutotuningConfig extends GeneratedMessageV3 implements AutotuningConfigOrBuilder
Autotuning configuration of the workload.
Protobuf type google.cloud.dataproc.v1.AutotuningConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
SCENARIOS_FIELD_NUMBER
public static final int SCENARIOS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AutotuningConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AutotuningConfig.Builder newBuilder()
newBuilder(AutotuningConfig prototype)
public static AutotuningConfig.Builder newBuilder(AutotuningConfig prototype)
public static AutotuningConfig parseDelimitedFrom(InputStream input)
public static AutotuningConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AutotuningConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutotuningConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AutotuningConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutotuningConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutotuningConfig parseFrom(CodedInputStream input)
public static AutotuningConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutotuningConfig parseFrom(InputStream input)
public static AutotuningConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AutotuningConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutotuningConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AutotuningConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public AutotuningConfig getDefaultInstanceForType()
getParserForType()
public Parser<AutotuningConfig> getParserForType()
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.
|
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AutotuningConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutotuningConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AutotuningConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides