# Interface ProvisioningConfigOrBuilder (0.91.0)

0.91.0 (latest) 0.88.0 0.87.0 0.85.0 0.83.0 0.82.0 0.81.0 0.80.0 0.78.0 0.76.0 0.75.0 0.74.0 0.73.0 0.72.0 0.70.0 0.68.0 0.67.0 0.64.0 0.63.0 0.62.0 0.60.0 0.59.0 0.58.0 0.57.0 0.56.0 0.55.0 0.54.0 0.53.0 0.52.0 0.51.0 0.49.0 0.48.0 0.47.0 0.46.0 0.45.0 0.44.0 0.43.0 0.42.0 0.41.0 0.40.0 0.39.0 0.37.0 0.36.0 0.35.0 0.34.0 0.33.0 0.32.0 0.31.0 0.30.0 0.29.0 0.28.0 0.27.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.8 0.2.1 0.1.1

    public interface ProvisioningConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getCloudConsoleUri()

    public abstract String getCloudConsoleUri()

Output only. URI to Cloud Console UI view of this provisioning config.

`string cloud_console_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The cloudConsoleUri. |

### getCloudConsoleUriBytes()

    public abstract ByteString getCloudConsoleUriBytes()

Output only. URI to Cloud Console UI view of this provisioning config.

`string cloud_console_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for cloudConsoleUri. |

### getCustomId()

    public abstract String getCustomId()

Optional. The user-defined identifier of the provisioning config.

`string custom_id = 14 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The customId. |

### getCustomIdBytes()

    public abstract ByteString getCustomIdBytes()

Optional. The user-defined identifier of the provisioning config.

`string custom_id = 14 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for customId. |

### getEmail() (deprecated)

    public abstract String getEmail()

**Deprecated.** *google.cloud.baremetalsolution.v2.ProvisioningConfig.email is deprecated. See
google/cloud/baremetalsolution/v2/provisioning.proto;l=92*

Email provided to send a confirmation with provisioning config to.
Deprecated in favour of email field in request messages.

`string email = 7 [deprecated = true];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The email. |

### getEmailBytes() (deprecated)

    public abstract ByteString getEmailBytes()

**Deprecated.** *google.cloud.baremetalsolution.v2.ProvisioningConfig.email is deprecated. See
google/cloud/baremetalsolution/v2/provisioning.proto;l=92*

Email provided to send a confirmation with provisioning config to.
Deprecated in favour of email field in request messages.

`string email = 7 [deprecated = true];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for email. |

### getHandoverServiceAccount()

    public abstract String getHandoverServiceAccount()

A service account to enable customers to access instance credentials upon
handover.

`string handover_service_account = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The handoverServiceAccount. |

### getHandoverServiceAccountBytes()

    public abstract ByteString getHandoverServiceAccountBytes()

A service account to enable customers to access instance credentials upon
handover.

`string handover_service_account = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for handoverServiceAccount. |

### getInstances(int index)

    public abstract InstanceConfig getInstances(int index)

Instances to be created.

`repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-bare-metal-solution/latest/com.google.cloud.baremetalsolution.v2.InstanceConfig` |   |

### getInstancesCount()

    public abstract int getInstancesCount()

Instances to be created.

`repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;`

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

### getInstancesList()

    public abstract List<InstanceConfig> getInstancesList()

Instances to be created.

`repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-bare-metal-solution/latest/com.google.cloud.baremetalsolution.v2.InstanceConfig>` |   |

### getInstancesOrBuilder(int index)

    public abstract InstanceConfigOrBuilder getInstancesOrBuilder(int index)

Instances to be created.

`repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-bare-metal-solution/latest/com.google.cloud.baremetalsolution.v2.InstanceConfigOrBuilder` |   |

### getInstancesOrBuilderList()

    public abstract List<? extends InstanceConfigOrBuilder> getInstancesOrBuilderList()

Instances to be created.

`repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.baremetalsolution.v2.InstanceConfigOrBuilder>` |   |

### getLocation()

    public abstract String getLocation()

Optional. Location name of this ProvisioningConfig.
It is optional only for Intake UI transition period.

`string location = 9 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The location. |

### getLocationBytes()

    public abstract ByteString getLocationBytes()

Optional. Location name of this ProvisioningConfig.
It is optional only for Intake UI transition period.

`string location = 9 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for location. |

### getName()

    public abstract String getName()

Output only. The system-generated name of the provisioning config. This
follows the UUID format.

`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

Output only. The system-generated name of the provisioning config. This
follows the UUID format.

`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getNetworks(int index)

    public abstract NetworkConfig getNetworks(int index)

Networks to be created.

`repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-bare-metal-solution/latest/com.google.cloud.baremetalsolution.v2.NetworkConfig` |   |

### getNetworksCount()

    public abstract int getNetworksCount()

Networks to be created.

`repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;`

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

### getNetworksList()

    public abstract List<NetworkConfig> getNetworksList()

Networks to be created.

`repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-bare-metal-solution/latest/com.google.cloud.baremetalsolution.v2.NetworkConfig>` |   |

### getNetworksOrBuilder(int index)

    public abstract NetworkConfigOrBuilder getNetworksOrBuilder(int index)

Networks to be created.

`repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-bare-metal-solution/latest/com.google.cloud.baremetalsolution.v2.NetworkConfigOrBuilder` |   |

### getNetworksOrBuilderList()

    public abstract List<? extends NetworkConfigOrBuilder> getNetworksOrBuilderList()

Networks to be created.

`repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.baremetalsolution.v2.NetworkConfigOrBuilder>` |   |

### getState()

    public abstract ProvisioningConfig.State getState()

Output only. State of ProvisioningConfig.

`
.google.cloud.baremetalsolution.v2.ProvisioningConfig.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-bare-metal-solution/latest/com.google.cloud.baremetalsolution.v2.ProvisioningConfig.State` | The state. |

### getStateValue()

    public abstract int getStateValue()

Output only. State of ProvisioningConfig.

`
.google.cloud.baremetalsolution.v2.ProvisioningConfig.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for state. |

### getStatusMessage()

    public abstract String getStatusMessage()

Optional status messages associated with the FAILED state.

`string status_message = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The statusMessage. |

### getStatusMessageBytes()

    public abstract ByteString getStatusMessageBytes()

Optional status messages associated with the FAILED state.

`string status_message = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for statusMessage. |

### getTicketId()

    public abstract String getTicketId()

A generated ticket id to track provisioning request.

`string ticket_id = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The ticketId. |

### getTicketIdBytes()

    public abstract ByteString getTicketIdBytes()

A generated ticket id to track provisioning request.

`string ticket_id = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for ticketId. |

### getUpdateTime()

    public abstract Timestamp getUpdateTime()

Output only. Last update timestamp.

`.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The updateTime. |

### getUpdateTimeOrBuilder()

    public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Last update timestamp.

`.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getVolumes(int index)

    public abstract VolumeConfig getVolumes(int index)

Volumes to be created.

`repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-bare-metal-solution/latest/com.google.cloud.baremetalsolution.v2.VolumeConfig` |   |

### getVolumesCount()

    public abstract int getVolumesCount()

Volumes to be created.

`repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;`

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

### getVolumesList()

    public abstract List<VolumeConfig> getVolumesList()

Volumes to be created.

`repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-bare-metal-solution/latest/com.google.cloud.baremetalsolution.v2.VolumeConfig>` |   |

### getVolumesOrBuilder(int index)

    public abstract VolumeConfigOrBuilder getVolumesOrBuilder(int index)

Volumes to be created.

`repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-bare-metal-solution/latest/com.google.cloud.baremetalsolution.v2.VolumeConfigOrBuilder` |   |

### getVolumesOrBuilderList()

    public abstract List<? extends VolumeConfigOrBuilder> getVolumesOrBuilderList()

Volumes to be created.

`repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.baremetalsolution.v2.VolumeConfigOrBuilder>` |   |

### getVpcScEnabled()

    public abstract boolean getVpcScEnabled()

If true, VPC SC is enabled for the cluster.

`bool vpc_sc_enabled = 12;`

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

### hasUpdateTime()

    public abstract boolean hasUpdateTime()

Output only. Last update timestamp.

`.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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