# Interface MachineConfigOrBuilder (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface MachineConfigOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getBaselineSlotCount()

    public abstract long getBaselineSlotCount()

Optional. Baseline slots for BigQuery Reservations. Baseline slots are in
increments of 50.

`optional int64 baseline_slot_count = 5 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The baselineSlotCount. |

### getMaxReservationSlotCount()

    public abstract long getMaxReservationSlotCount()

Optional. Max slots for BigQuery Reservations. Max slots are in increments
of 50.

`optional int64 max_reservation_slot_count = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The maxReservationSlotCount. |

### getMemorySizeBytes()

    public abstract long getMemorySizeBytes()

Memory size in bytes.

`int64 memory_size_bytes = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The memorySizeBytes. |

### getShardCount()

    public abstract int getShardCount()

Optional. The number of Shards (if applicable).

`optional int32 shard_count = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The shardCount. |

### getVcpuCount()

    public abstract double getVcpuCount()

Optional. The number of vCPUs (if applicable).

`optional double vcpu_count = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The vcpuCount. |

### hasBaselineSlotCount()

    public abstract boolean hasBaselineSlotCount()

Optional. Baseline slots for BigQuery Reservations. Baseline slots are in
increments of 50.

`optional int64 baseline_slot_count = 5 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the baselineSlotCount field is set. |

### hasMaxReservationSlotCount()

    public abstract boolean hasMaxReservationSlotCount()

Optional. Max slots for BigQuery Reservations. Max slots are in increments
of 50.

`optional int64 max_reservation_slot_count = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the maxReservationSlotCount field is set. |

### hasShardCount()

    public abstract boolean hasShardCount()

Optional. The number of Shards (if applicable).

`optional int32 shard_count = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the shardCount field is set. |

### hasVcpuCount()

    public abstract boolean hasVcpuCount()

Optional. The number of vCPUs (if applicable).

`optional double vcpu_count = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the vcpuCount field is set. |