Interface NewFlexStartInstancesConfigOrBuilder (0.1.0)

public interface NewFlexStartInstancesConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMachineType()

public abstract String getMachineType()

Required. Immutable. Name of the Compute Engine machine type to use, e.g. n2-standard-2.

string machine_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The machineType.

getMachineTypeBytes()

public abstract ByteString getMachineTypeBytes()

Required. Immutable. Name of the Compute Engine machine type to use, e.g. n2-standard-2.

string machine_type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for machineType.

getMaxDuration()

public abstract 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
Type Description
Duration

The maxDuration.

getMaxDurationOrBuilder()

public abstract 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];

Returns
Type Description
DurationOrBuilder

getZone()

public abstract 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
Type Description
String

The zone.

getZoneBytes()

public abstract 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
Type Description
ByteString

The bytes for zone.

hasMaxDuration()

public abstract 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
Type Description
boolean

Whether the maxDuration field is set.