Interface NewFlexStartInstancesConfigOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    com.google.protobuf.Duration
    Required.
    com.google.protobuf.DurationOrBuilder
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    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.
    • hasMaxDuration

      boolean hasMaxDuration()
       Required. Immutable. Specifies the time limit for created instances.
       Instances will be terminated at the end of this duration.
       
      .google.protobuf.Duration max_duration = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      Whether the maxDuration field is set.
    • getMaxDuration

      com.google.protobuf.Duration getMaxDuration()
       Required. Immutable. Specifies the time limit for created instances.
       Instances will be terminated at the end of this duration.
       
      .google.protobuf.Duration max_duration = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The maxDuration.
    • getMaxDurationOrBuilder

      com.google.protobuf.DurationOrBuilder getMaxDurationOrBuilder()
       Required. Immutable. Specifies the time limit for created instances.
       Instances will be terminated at the end of this duration.
       
      .google.protobuf.Duration max_duration = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];