Interface InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.Builder

@Generated public interface InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getMachineTypes(int index)
    Full machine-type names, e.g.
    com.google.protobuf.ByteString
    Full machine-type names, e.g.
    int
    Full machine-type names, e.g.
    Full machine-type names, e.g.
    int
    Preference of this instance selection.
    boolean
    Preference of this instance selection.

    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

    • getMachineTypesList

      List<String> getMachineTypesList()
       Full machine-type names, e.g. "n1-standard-16".
       
      repeated string machine_types = 79720065;
      Returns:
      A list containing the machineTypes.
    • getMachineTypesCount

      int getMachineTypesCount()
       Full machine-type names, e.g. "n1-standard-16".
       
      repeated string machine_types = 79720065;
      Returns:
      The count of machineTypes.
    • getMachineTypes

      String getMachineTypes(int index)
       Full machine-type names, e.g. "n1-standard-16".
       
      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)
       Full machine-type names, e.g. "n1-standard-16".
       
      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()
       Preference of this instance selection. Lower number means higher
       preference. MIG will first try to create a VM based on the machine-type
       with lowest rank and fallback to next rank based on availability.
       Machine types and instance selections with the same rank have the same
       preference.
       
      optional int32 rank = 3492908;
      Returns:
      Whether the rank field is set.
    • getRank

      int getRank()
       Preference of this instance selection. Lower number means higher
       preference. MIG will first try to create a VM based on the machine-type
       with lowest rank and fallback to next rank based on availability.
       Machine types and instance selections with the same rank have the same
       preference.
       
      optional int32 rank = 3492908;
      Returns:
      The rank.