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 | |
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
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 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)
Overrides
toBuilder()
public InstanceFlexibilityPolicy.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides