# Interface CreateReferenceListRequestOrBuilder (0.31.0)

0.31.0 (latest) 0.29.0 0.26.0 0.25.0 0.23.0 0.21.0 0.20.0 0.19.0 0.18.0 0.16.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.8.0 0.6.0 0.5.0 0.2.0 0.1.0

    public interface CreateReferenceListRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getParent()

    public abstract String getParent()

Required. The parent resource where this reference list will be created.
Format: `projects/{project}/locations/{location}/instances/{instance}`

`
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 resource where this reference list will be created.
Format: `projects/{project}/locations/{location}/instances/{instance}`

`
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. |

### getReferenceList()

    public abstract ReferenceList getReferenceList()

Required. The reference list to create.

`
.google.cloud.chronicle.v1.ReferenceList reference_list = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.ReferenceList` | The referenceList. |

### getReferenceListId()

    public abstract String getReferenceListId()

Required. The ID to use for the reference list. This is also the display
name for the reference list. It must satisfy the following requirements:

- Starts with letter.
- Contains only letters, numbers and underscore.
- Has length less than 256.
- Must be unique.

`string reference_list_id = 3 [(.google.api.field_behavior) = REQUIRED];`

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

### getReferenceListIdBytes()

    public abstract ByteString getReferenceListIdBytes()

Required. The ID to use for the reference list. This is also the display
name for the reference list. It must satisfy the following requirements:

- Starts with letter.
- Contains only letters, numbers and underscore.
- Has length less than 256.
- Must be unique.

`string reference_list_id = 3 [(.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 referenceListId. |

### getReferenceListOrBuilder()

    public abstract ReferenceListOrBuilder getReferenceListOrBuilder()

Required. The reference list to create.

`
.google.cloud.chronicle.v1.ReferenceList reference_list = 2 [(.google.api.field_behavior) = REQUIRED];
`

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

### hasReferenceList()

    public abstract boolean hasReferenceList()

Required. The reference list to create.

`
.google.cloud.chronicle.v1.ReferenceList reference_list = 2 [(.google.api.field_behavior) = REQUIRED];
`

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