Interface NewSpotInstancesConfigOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Optional.
    int
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.

    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

    • getZone

      String getZone()
       Required. Immutable. Name of the zone in which VM instances should run,
       e.g., `us-central1-a`. Must be in the same region as the cluster, and must
       match the zone of any other resources specified in the cluster.
       
      string zone = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The zone.
    • getZoneBytes

      com.google.protobuf.ByteString getZoneBytes()
       Required. Immutable. Name of the zone in which VM instances should run,
       e.g., `us-central1-a`. Must be in the same region as the cluster, and must
       match the zone of any other resources specified in the cluster.
       
      string zone = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for zone.
    • getMachineType

      String getMachineType()
       Required. Immutable. Name of the Compute Engine [machine
       type](https://cloud.google.com/compute/docs/machine-resource) to use, e.g.
       `n2-standard-2`.
       
      string machine_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The machineType.
    • getMachineTypeBytes

      com.google.protobuf.ByteString getMachineTypeBytes()
       Required. Immutable. Name of the Compute Engine [machine
       type](https://cloud.google.com/compute/docs/machine-resource) to use, e.g.
       `n2-standard-2`.
       
      string machine_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for machineType.
    • getTerminationActionValue

      int getTerminationActionValue()
       Optional. Termination action for the instance. If not specified, Compute
       Engine sets the termination action to DELETE.
       
      .google.cloud.hypercomputecluster.v1.NewSpotInstancesConfig.TerminationAction termination_action = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for terminationAction.
    • getTerminationAction

       Optional. Termination action for the instance. If not specified, Compute
       Engine sets the termination action to DELETE.
       
      .google.cloud.hypercomputecluster.v1.NewSpotInstancesConfig.TerminationAction termination_action = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The terminationAction.