Send feedback
Class InstanceFlexibilityPolicy (4.51.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.51.0 keyboard_arrow_down
public final class InstanceFlexibilityPolicy extends GeneratedMessageV3 implements InstanceFlexibilityPolicyOrBuilder
Instance flexibility Policy allowing a mixture of VM shapes and provisioning
models.
Protobuf type google.cloud.dataproc.v1.InstanceFlexibilityPolicy
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
INSTANCE_SELECTION_LIST_FIELD_NUMBER
public static final int INSTANCE_SELECTION_LIST_FIELD_NUMBER
Field Value
Type
Description
int
INSTANCE_SELECTION_RESULTS_FIELD_NUMBER
public static final int INSTANCE_SELECTION_RESULTS_FIELD_NUMBER
Field Value
Type
Description
int
PROVISIONING_MODEL_MIX_FIELD_NUMBER
public static final int PROVISIONING_MODEL_MIX_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static InstanceFlexibilityPolicy getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static InstanceFlexibilityPolicy . Builder newBuilder ()
newBuilder(InstanceFlexibilityPolicy prototype)
public static InstanceFlexibilityPolicy . Builder newBuilder ( InstanceFlexibilityPolicy prototype )
public static InstanceFlexibilityPolicy parseDelimitedFrom ( InputStream input )
public static InstanceFlexibilityPolicy parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static InstanceFlexibilityPolicy parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InstanceFlexibilityPolicy parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static InstanceFlexibilityPolicy parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InstanceFlexibilityPolicy parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static InstanceFlexibilityPolicy parseFrom ( CodedInputStream input )
public static InstanceFlexibilityPolicy parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static InstanceFlexibilityPolicy parseFrom ( InputStream input )
public static InstanceFlexibilityPolicy parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static InstanceFlexibilityPolicy parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InstanceFlexibilityPolicy parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<InstanceFlexibilityPolicy> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public InstanceFlexibilityPolicy getDefaultInstanceForType ()
getInstanceSelectionList(int index)
public InstanceFlexibilityPolicy . InstanceSelection getInstanceSelectionList ( int index )
Optional. List of instance selection options that the group will use when
creating new VMs.
repeated .google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelection instance_selection_list = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
getInstanceSelectionListCount()
public int getInstanceSelectionListCount ()
Optional. List of instance selection options that the group will use when
creating new VMs.
repeated .google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelection instance_selection_list = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
getInstanceSelectionListList()
public List<InstanceFlexibilityPolicy . InstanceSelection > getInstanceSelectionListList ()
Optional. List of instance selection options that the group will use when
creating new VMs.
repeated .google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelection instance_selection_list = 2 [(.google.api.field_behavior) = OPTIONAL];
getInstanceSelectionListOrBuilder(int index)
public InstanceFlexibilityPolicy . InstanceSelectionOrBuilder getInstanceSelectionListOrBuilder ( int index )
Optional. List of instance selection options that the group will use when
creating new VMs.
repeated .google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelection instance_selection_list = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
getInstanceSelectionListOrBuilderList()
public List <? extends InstanceFlexibilityPolicy . InstanceSelectionOrBuilder > getInstanceSelectionListOrBuilderList ()
Optional. List of instance selection options that the group will use when
creating new VMs.
repeated .google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelection instance_selection_list = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
List <? extends com.google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelectionOrBuilder >
getInstanceSelectionResults(int index)
public InstanceFlexibilityPolicy . InstanceSelectionResult getInstanceSelectionResults ( int index )
Output only. A list of instance selection results in the group.
repeated .google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelectionResult instance_selection_results = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
index
int
getInstanceSelectionResultsCount()
public int getInstanceSelectionResultsCount ()
Output only. A list of instance selection results in the group.
repeated .google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelectionResult instance_selection_results = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
getInstanceSelectionResultsList()
public List<InstanceFlexibilityPolicy . InstanceSelectionResult > getInstanceSelectionResultsList ()
Output only. A list of instance selection results in the group.
repeated .google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelectionResult instance_selection_results = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getInstanceSelectionResultsOrBuilder(int index)
public InstanceFlexibilityPolicy . InstanceSelectionResultOrBuilder getInstanceSelectionResultsOrBuilder ( int index )
Output only. A list of instance selection results in the group.
repeated .google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelectionResult instance_selection_results = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
index
int
getInstanceSelectionResultsOrBuilderList()
public List <? extends InstanceFlexibilityPolicy . InstanceSelectionResultOrBuilder > getInstanceSelectionResultsOrBuilderList ()
Output only. A list of instance selection results in the group.
repeated .google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelectionResult instance_selection_results = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
List <? extends com.google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelectionResultOrBuilder >
getParserForType()
public Parser<InstanceFlexibilityPolicy> getParserForType ()
Overrides
getProvisioningModelMix()
public InstanceFlexibilityPolicy . ProvisioningModelMix getProvisioningModelMix ()
Optional. Defines how the Group selects the provisioning model to ensure
required reliability.
.google.cloud.dataproc.v1.InstanceFlexibilityPolicy.ProvisioningModelMix provisioning_model_mix = 1 [(.google.api.field_behavior) = OPTIONAL];
getProvisioningModelMixOrBuilder()
public InstanceFlexibilityPolicy . ProvisioningModelMixOrBuilder getProvisioningModelMixOrBuilder ()
Optional. Defines how the Group selects the provisioning model to ensure
required reliability.
.google.cloud.dataproc.v1.InstanceFlexibilityPolicy.ProvisioningModelMix provisioning_model_mix = 1 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasProvisioningModelMix()
public boolean hasProvisioningModelMix ()
Optional. Defines how the Group selects the provisioning model to ensure
required reliability.
.google.cloud.dataproc.v1.InstanceFlexibilityPolicy.ProvisioningModelMix provisioning_model_mix = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the provisioningModelMix field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public InstanceFlexibilityPolicy . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InstanceFlexibilityPolicy . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public InstanceFlexibilityPolicy . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]