Package com.google.cloud.compute.v1
Interface InstanceFlexibilityPolicyInstanceSelectionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceFlexibilityPolicyInstanceSelection,InstanceFlexibilityPolicyInstanceSelection.Builder
@Generated
public interface InstanceFlexibilityPolicyInstanceSelectionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDisks(int index) Disks to be attached to the instances created from in this selection.intDisks to be attached to the instances created from in this selection.Disks to be attached to the instances created from in this selection.getDisksOrBuilder(int index) Disks to be attached to the instances created from in this selection.List<? extends AttachedDiskOrBuilder>Disks to be attached to the instances created from in this selection.getMachineTypes(int index) Alternative machine types to use for instances that are created from these properties.com.google.protobuf.ByteStringgetMachineTypesBytes(int index) Alternative machine types to use for instances that are created from these properties.intAlternative machine types to use for instances that are created from these properties.Alternative machine types to use for instances that are created from these properties.longgetRank()Rank when prioritizing the shape flexibilities.booleanhasRank()Rank when prioritizing the shape flexibilities.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
-
getDisksList
List<AttachedDisk> getDisksList()Disks to be attached to the instances created from in this selection. They override the disks specified in the instance properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
getDisks
Disks to be attached to the instances created from in this selection. They override the disks specified in the instance properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
getDisksCount
int getDisksCount()Disks to be attached to the instances created from in this selection. They override the disks specified in the instance properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
getDisksOrBuilderList
List<? extends AttachedDiskOrBuilder> getDisksOrBuilderList()Disks to be attached to the instances created from in this selection. They override the disks specified in the instance properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
getDisksOrBuilder
Disks to be attached to the instances created from in this selection. They override the disks specified in the instance properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
getMachineTypesList
Alternative machine types to use for instances that are created from these properties. This field only accepts a machine type names, for example `n2-standard-4` and not URLs or partial URLs.
repeated string machine_types = 79720065;- Returns:
- A list containing the machineTypes.
-
getMachineTypesCount
int getMachineTypesCount()Alternative machine types to use for instances that are created from these properties. This field only accepts a machine type names, for example `n2-standard-4` and not URLs or partial URLs.
repeated string machine_types = 79720065;- Returns:
- The count of machineTypes.
-
getMachineTypes
Alternative machine types to use for instances that are created from these properties. This field only accepts a machine type names, for example `n2-standard-4` and not URLs or partial URLs.
repeated string machine_types = 79720065;- Parameters:
index- The index of the element to return.- Returns:
- The machineTypes at the given index.
-
getMachineTypesBytes
com.google.protobuf.ByteString getMachineTypesBytes(int index) Alternative machine types to use for instances that are created from these properties. This field only accepts a machine type names, for example `n2-standard-4` and not URLs or partial URLs.
repeated string machine_types = 79720065;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the machineTypes at the given index.
-
hasRank
boolean hasRank()Rank when prioritizing the shape flexibilities. The instance selections with rank are considered first, in the ascending order of the rank. If not set, defaults to 0.
optional int64 rank = 3492908;- Returns:
- Whether the rank field is set.
-
getRank
long getRank()Rank when prioritizing the shape flexibilities. The instance selections with rank are considered first, in the ascending order of the rank. If not set, defaults to 0.
optional int64 rank = 3492908;- Returns:
- The rank.
-