Package com.google.cloud.compute.v1
Interface InstanceFlexibilityPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceFlexibilityPolicy,InstanceFlexibilityPolicy.Builder
@Generated
public interface InstanceFlexibilityPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecification of alternative, flexible instance subsets.Deprecated.intSpecification of alternative, flexible instance subsets.Specification of alternative, flexible instance subsets.getInstanceSelectionsOrDefault(String key, InstanceFlexibilityPolicyInstanceSelection defaultValue) Specification of alternative, flexible instance subsets.Specification of alternative, flexible instance subsets.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getInstanceSelectionsCount
int getInstanceSelectionsCount()Specification of alternative, flexible instance subsets. One of them will be selected to create the instances based on various criteria, like: - ranks, - location policy, - current capacity, - available reservations (you can specify affinity in InstanceProperties), - SWAN/GOOSE limitations. Key is an arbitrary, unique RFC1035 string that identifies the instance selection.
map<string, .google.cloud.compute.v1.InstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577; -
containsInstanceSelections
Specification of alternative, flexible instance subsets. One of them will be selected to create the instances based on various criteria, like: - ranks, - location policy, - current capacity, - available reservations (you can specify affinity in InstanceProperties), - SWAN/GOOSE limitations. Key is an arbitrary, unique RFC1035 string that identifies the instance selection.
map<string, .google.cloud.compute.v1.InstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577; -
getInstanceSelections
Deprecated.UsegetInstanceSelectionsMap()instead. -
getInstanceSelectionsMap
Map<String,InstanceFlexibilityPolicyInstanceSelection> getInstanceSelectionsMap()Specification of alternative, flexible instance subsets. One of them will be selected to create the instances based on various criteria, like: - ranks, - location policy, - current capacity, - available reservations (you can specify affinity in InstanceProperties), - SWAN/GOOSE limitations. Key is an arbitrary, unique RFC1035 string that identifies the instance selection.
map<string, .google.cloud.compute.v1.InstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577; -
getInstanceSelectionsOrDefault
InstanceFlexibilityPolicyInstanceSelection getInstanceSelectionsOrDefault(String key, InstanceFlexibilityPolicyInstanceSelection defaultValue) Specification of alternative, flexible instance subsets. One of them will be selected to create the instances based on various criteria, like: - ranks, - location policy, - current capacity, - available reservations (you can specify affinity in InstanceProperties), - SWAN/GOOSE limitations. Key is an arbitrary, unique RFC1035 string that identifies the instance selection.
map<string, .google.cloud.compute.v1.InstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577; -
getInstanceSelectionsOrThrow
Specification of alternative, flexible instance subsets. One of them will be selected to create the instances based on various criteria, like: - ranks, - location policy, - current capacity, - available reservations (you can specify affinity in InstanceProperties), - SWAN/GOOSE limitations. Key is an arbitrary, unique RFC1035 string that identifies the instance selection.
map<string, .google.cloud.compute.v1.InstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
-