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 Type
    Method
    Description
    getDisks(int index)
    Disks to be attached to the instances created from in this selection.
    int
    Disks 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.
    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.ByteString
    Alternative machine types to use for instances that are created from these properties.
    int
    Alternative 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.
    long
    Rank when prioritizing the shape flexibilities.
    boolean
    Rank when prioritizing the shape flexibilities.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      AttachedDisk getDisks(int index)
       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

      AttachedDiskOrBuilder getDisksOrBuilder(int index)
       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

      List<String> 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

      String getMachineTypes(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 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.