Interface BatchDedicatedResourcesOrBuilder (1.7.0)

public interface BatchDedicatedResourcesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMachineSpec()

public abstract MachineSpec getMachineSpec()

Required. Immutable. The specification of a single machine.

.google.cloud.vertexai.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
MachineSpec

The machineSpec.

getMachineSpecOrBuilder()

public abstract MachineSpecOrBuilder getMachineSpecOrBuilder()

Required. Immutable. The specification of a single machine.

.google.cloud.vertexai.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
MachineSpecOrBuilder

getMaxReplicaCount()

public abstract int getMaxReplicaCount()

Immutable. The maximum number of machine replicas the batch operation may be scaled to. The default value is 10.

int32 max_replica_count = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

The maxReplicaCount.

getStartingReplicaCount()

public abstract int getStartingReplicaCount()

Immutable. The number of machine replicas used at the start of the batch operation. If not set, Vertex AI decides starting number, not greater than max_replica_count

int32 starting_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

The startingReplicaCount.

hasMachineSpec()

public abstract boolean hasMachineSpec()

Required. Immutable. The specification of a single machine.

.google.cloud.vertexai.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the machineSpec field is set.