public static final class InstanceGroupManagerInstanceFlexibilityPolicy.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagerInstanceFlexibilityPolicy.Builder> implements InstanceGroupManagerInstanceFlexibilityPolicyOrBuilder
Protobuf type google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupManagerInstanceFlexibilityPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InstanceGroupManagerInstanceFlexibilityPolicy build()
buildPartial()
public InstanceGroupManagerInstanceFlexibilityPolicy buildPartial()
clear()
public InstanceGroupManagerInstanceFlexibilityPolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstanceGroupManagerInstanceFlexibilityPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInstanceSelections()
public InstanceGroupManagerInstanceFlexibilityPolicy.Builder clearInstanceSelections()
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceGroupManagerInstanceFlexibilityPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public InstanceGroupManagerInstanceFlexibilityPolicy.Builder clone()
Overrides
containsInstanceSelections(String key)
public boolean containsInstanceSelections(String key)
Named instance selections configuring properties that the group will use when creating new VMs.
map<string, .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
Parameter |
Name |
Description |
key |
String
|
getDefaultInstanceForType()
public InstanceGroupManagerInstanceFlexibilityPolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInstanceSelections() (deprecated)
public Map<String,InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> getInstanceSelections()
getInstanceSelectionsCount()
public int getInstanceSelectionsCount()
Named instance selections configuring properties that the group will use when creating new VMs.
map<string, .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
Returns |
Type |
Description |
int |
|
getInstanceSelectionsMap()
public Map<String,InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> getInstanceSelectionsMap()
Named instance selections configuring properties that the group will use when creating new VMs.
map<string, .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
getInstanceSelectionsOrDefault(String key, InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection defaultValue)
public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection getInstanceSelectionsOrDefault(String key, InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection defaultValue)
Named instance selections configuring properties that the group will use when creating new VMs.
map<string, .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
getInstanceSelectionsOrThrow(String key)
public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection getInstanceSelectionsOrThrow(String key)
Named instance selections configuring properties that the group will use when creating new VMs.
map<string, .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
Parameter |
Name |
Description |
key |
String
|
getMutableInstanceSelections() (deprecated)
public Map<String,InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> getMutableInstanceSelections()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InstanceGroupManagerInstanceFlexibilityPolicy other)
public InstanceGroupManagerInstanceFlexibilityPolicy.Builder mergeFrom(InstanceGroupManagerInstanceFlexibilityPolicy other)
public InstanceGroupManagerInstanceFlexibilityPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstanceGroupManagerInstanceFlexibilityPolicy.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupManagerInstanceFlexibilityPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllInstanceSelections(Map<String,InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> values)
public InstanceGroupManagerInstanceFlexibilityPolicy.Builder putAllInstanceSelections(Map<String,InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> values)
Named instance selections configuring properties that the group will use when creating new VMs.
map<string, .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
putInstanceSelections(String key, InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection value)
public InstanceGroupManagerInstanceFlexibilityPolicy.Builder putInstanceSelections(String key, InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection value)
Named instance selections configuring properties that the group will use when creating new VMs.
map<string, .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
putInstanceSelectionsBuilderIfAbsent(String key)
public InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder putInstanceSelectionsBuilderIfAbsent(String key)
Named instance selections configuring properties that the group will use when creating new VMs.
map<string, .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
Parameter |
Name |
Description |
key |
String
|
removeInstanceSelections(String key)
public InstanceGroupManagerInstanceFlexibilityPolicy.Builder removeInstanceSelections(String key)
Named instance selections configuring properties that the group will use when creating new VMs.
map<string, .google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
Parameter |
Name |
Description |
key |
String
|
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupManagerInstanceFlexibilityPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceGroupManagerInstanceFlexibilityPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupManagerInstanceFlexibilityPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides