Interface InstanceFlexibilityPolicy.InstanceSelectionResultOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getMachineType()
      Output only.
      com.google.protobuf.ByteString getMachineTypeBytes()
      Output only.
      int getVmCount()
      Output only.
      boolean hasMachineType()
      Output only.
      boolean hasVmCount()
      Output only.
      • 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 Detail

      • hasMachineType

        boolean hasMachineType()
         Output only. Full machine-type names, e.g. "n1-standard-16".
         
        optional string machine_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the machineType field is set.
      • getMachineType

        String getMachineType()
         Output only. Full machine-type names, e.g. "n1-standard-16".
         
        optional string machine_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The machineType.
      • getMachineTypeBytes

        com.google.protobuf.ByteString getMachineTypeBytes()
         Output only. Full machine-type names, e.g. "n1-standard-16".
         
        optional string machine_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for machineType.
      • hasVmCount

        boolean hasVmCount()
         Output only. Number of VM provisioned with the machine_type.
         
        optional int32 vm_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the vmCount field is set.
      • getVmCount

        int getVmCount()
         Output only. Number of VM provisioned with the machine_type.
         
        optional int32 vm_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The vmCount.