public static final class InstanceFlexibilityPolicy.Builder extends GeneratedMessageV3.Builder<InstanceFlexibilityPolicy.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllInstanceSelectionList(Iterable<? extends InstanceFlexibilityPolicy.InstanceSelection> values)
public InstanceFlexibilityPolicy.Builder addAllInstanceSelectionList(Iterable<? extends InstanceFlexibilityPolicy.InstanceSelection> values)
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 |
values |
Iterable<? extends com.google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelection>
|
addAllInstanceSelectionResults(Iterable<? extends InstanceFlexibilityPolicy.InstanceSelectionResult> values)
public InstanceFlexibilityPolicy.Builder addAllInstanceSelectionResults(Iterable<? extends InstanceFlexibilityPolicy.InstanceSelectionResult> values)
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 |
values |
Iterable<? extends com.google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelectionResult>
|
addInstanceSelectionList(InstanceFlexibilityPolicy.InstanceSelection value)
public InstanceFlexibilityPolicy.Builder addInstanceSelectionList(InstanceFlexibilityPolicy.InstanceSelection value)
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];
addInstanceSelectionList(InstanceFlexibilityPolicy.InstanceSelection.Builder builderForValue)
public InstanceFlexibilityPolicy.Builder addInstanceSelectionList(InstanceFlexibilityPolicy.InstanceSelection.Builder builderForValue)
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];
addInstanceSelectionList(int index, InstanceFlexibilityPolicy.InstanceSelection value)
public InstanceFlexibilityPolicy.Builder addInstanceSelectionList(int index, InstanceFlexibilityPolicy.InstanceSelection value)
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];
addInstanceSelectionList(int index, InstanceFlexibilityPolicy.InstanceSelection.Builder builderForValue)
public InstanceFlexibilityPolicy.Builder addInstanceSelectionList(int index, InstanceFlexibilityPolicy.InstanceSelection.Builder builderForValue)
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];
addInstanceSelectionListBuilder()
public InstanceFlexibilityPolicy.InstanceSelection.Builder addInstanceSelectionListBuilder()
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];
addInstanceSelectionListBuilder(int index)
public InstanceFlexibilityPolicy.InstanceSelection.Builder addInstanceSelectionListBuilder(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
|
addInstanceSelectionResults(InstanceFlexibilityPolicy.InstanceSelectionResult value)
public InstanceFlexibilityPolicy.Builder addInstanceSelectionResults(InstanceFlexibilityPolicy.InstanceSelectionResult value)
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];
addInstanceSelectionResults(InstanceFlexibilityPolicy.InstanceSelectionResult.Builder builderForValue)
public InstanceFlexibilityPolicy.Builder addInstanceSelectionResults(InstanceFlexibilityPolicy.InstanceSelectionResult.Builder builderForValue)
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];
addInstanceSelectionResults(int index, InstanceFlexibilityPolicy.InstanceSelectionResult value)
public InstanceFlexibilityPolicy.Builder addInstanceSelectionResults(int index, InstanceFlexibilityPolicy.InstanceSelectionResult value)
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];
addInstanceSelectionResults(int index, InstanceFlexibilityPolicy.InstanceSelectionResult.Builder builderForValue)
public InstanceFlexibilityPolicy.Builder addInstanceSelectionResults(int index, InstanceFlexibilityPolicy.InstanceSelectionResult.Builder builderForValue)
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];
addInstanceSelectionResultsBuilder()
public InstanceFlexibilityPolicy.InstanceSelectionResult.Builder addInstanceSelectionResultsBuilder()
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];
addInstanceSelectionResultsBuilder(int index)
public InstanceFlexibilityPolicy.InstanceSelectionResult.Builder addInstanceSelectionResultsBuilder(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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceFlexibilityPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InstanceFlexibilityPolicy build()
buildPartial()
public InstanceFlexibilityPolicy buildPartial()
clear()
public InstanceFlexibilityPolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstanceFlexibilityPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInstanceSelectionList()
public InstanceFlexibilityPolicy.Builder clearInstanceSelectionList()
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];
clearInstanceSelectionResults()
public InstanceFlexibilityPolicy.Builder clearInstanceSelectionResults()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceFlexibilityPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public InstanceFlexibilityPolicy.Builder clone()
Overrides
getDefaultInstanceForType()
public InstanceFlexibilityPolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
getInstanceSelectionListBuilder(int index)
public InstanceFlexibilityPolicy.InstanceSelection.Builder getInstanceSelectionListBuilder(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
|
getInstanceSelectionListBuilderList()
public List<InstanceFlexibilityPolicy.InstanceSelection.Builder> getInstanceSelectionListBuilderList()
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];
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
|
getInstanceSelectionResultsBuilder(int index)
public InstanceFlexibilityPolicy.InstanceSelectionResult.Builder getInstanceSelectionResultsBuilder(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
|
getInstanceSelectionResultsBuilderList()
public List<InstanceFlexibilityPolicy.InstanceSelectionResult.Builder> getInstanceSelectionResultsBuilderList()
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];
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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InstanceFlexibilityPolicy other)
public InstanceFlexibilityPolicy.Builder mergeFrom(InstanceFlexibilityPolicy other)
public InstanceFlexibilityPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstanceFlexibilityPolicy.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceFlexibilityPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeInstanceSelectionList(int index)
public InstanceFlexibilityPolicy.Builder removeInstanceSelectionList(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
|
removeInstanceSelectionResults(int index)
public InstanceFlexibilityPolicy.Builder removeInstanceSelectionResults(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
|
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceFlexibilityPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInstanceSelectionList(int index, InstanceFlexibilityPolicy.InstanceSelection value)
public InstanceFlexibilityPolicy.Builder setInstanceSelectionList(int index, InstanceFlexibilityPolicy.InstanceSelection value)
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];
setInstanceSelectionList(int index, InstanceFlexibilityPolicy.InstanceSelection.Builder builderForValue)
public InstanceFlexibilityPolicy.Builder setInstanceSelectionList(int index, InstanceFlexibilityPolicy.InstanceSelection.Builder builderForValue)
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];
setInstanceSelectionResults(int index, InstanceFlexibilityPolicy.InstanceSelectionResult value)
public InstanceFlexibilityPolicy.Builder setInstanceSelectionResults(int index, InstanceFlexibilityPolicy.InstanceSelectionResult value)
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];
setInstanceSelectionResults(int index, InstanceFlexibilityPolicy.InstanceSelectionResult.Builder builderForValue)
public InstanceFlexibilityPolicy.Builder setInstanceSelectionResults(int index, InstanceFlexibilityPolicy.InstanceSelectionResult.Builder builderForValue)
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceFlexibilityPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceFlexibilityPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides