# Interface CreateOdbSubnetRequestOrBuilder (0.42.0)

0.42.0 (latest) 0.40.0 0.37.0 0.36.0 0.34.0 0.32.0 0.31.0 0.29.0 0.27.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.19.0 0.17.0 0.16.0 0.13.0 0.12.0 0.11.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface CreateOdbSubnetRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getOdbSubnet()

    public abstract OdbSubnet getOdbSubnet()

Required. Details of the OdbSubnet instance to create.

`
.google.cloud.oracledatabase.v1.OdbSubnet odb_subnet = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.OdbSubnet` | The odbSubnet. |

### getOdbSubnetId()

    public abstract String getOdbSubnetId()

Required. The ID of the OdbSubnet to create. This value is restricted
to (\^[a-z](https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/[a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63
characters in length. The value must start with a letter and end with
a letter or a number.

`string odb_subnet_id = 2 [(.google.api.field_behavior) = REQUIRED];`

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

### getOdbSubnetIdBytes()

    public abstract ByteString getOdbSubnetIdBytes()

Required. The ID of the OdbSubnet to create. This value is restricted
to (\^[a-z](https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/[a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63
characters in length. The value must start with a letter and end with
a letter or a number.

`string odb_subnet_id = 2 [(.google.api.field_behavior) = REQUIRED];`

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

### getOdbSubnetOrBuilder()

    public abstract OdbSubnetOrBuilder getOdbSubnetOrBuilder()

Required. Details of the OdbSubnet instance to create.

`
.google.cloud.oracledatabase.v1.OdbSubnet odb_subnet = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.OdbSubnetOrBuilder` |   |

### getParent()

    public abstract String getParent()

Required. The parent value for the OdbSubnet in the following format:
projects/{project}/locations/{location}/odbNetworks/{odb_network}.

`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getParentBytes()

    public abstract ByteString getParentBytes()

Required. The parent value for the OdbSubnet in the following format:
projects/{project}/locations/{location}/odbNetworks/{odb_network}.

`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getRequestId()

    public abstract String getRequestId()

Optional. An optional ID to identify the request. This value is used to
identify duplicate requests. If you make a request with the same request ID
and the original request is still in progress or completed, the server
ignores the second request. This prevents clients from
accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).

`
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
`

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

### getRequestIdBytes()

    public abstract ByteString getRequestIdBytes()

Optional. An optional ID to identify the request. This value is used to
identify duplicate requests. If you make a request with the same request ID
and the original request is still in progress or completed, the server
ignores the second request. This prevents clients from
accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).

`
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
`

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

### hasOdbSubnet()

    public abstract boolean hasOdbSubnet()

Required. Details of the OdbSubnet instance to create.

`
.google.cloud.oracledatabase.v1.OdbSubnet odb_subnet = 3 [(.google.api.field_behavior) = REQUIRED];
`

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