# Interface EnrollmentOrBuilder (0.9.0)

0.9.0 (latest) 0.6.0 0.5.0 0.3.0 0.1.0

    public interface EnrollmentOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getDestinationDetails(int index)

    public abstract DestinationDetails getDestinationDetails(int index)

Output only. The locations where the generated reports can be uploaded.

`
repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **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-auditmanager/latest/com.google.cloud.auditmanager.v1.DestinationDetails` |   |

### getDestinationDetailsCount()

    public abstract int getDestinationDetailsCount()

Output only. The locations where the generated reports can be uploaded.

`
repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getDestinationDetailsList()

    public abstract List<DestinationDetails> getDestinationDetailsList()

Output only. The locations where the generated reports can be uploaded.

`
repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **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-auditmanager/latest/com.google.cloud.auditmanager.v1.DestinationDetails>` |   |

### getDestinationDetailsOrBuilder(int index)

    public abstract DestinationDetailsOrBuilder getDestinationDetailsOrBuilder(int index)

Output only. The locations where the generated reports can be uploaded.

`
repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **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-auditmanager/latest/com.google.cloud.auditmanager.v1.DestinationDetailsOrBuilder` |   |

### getDestinationDetailsOrBuilderList()

    public abstract List<? extends DestinationDetailsOrBuilder> getDestinationDetailsOrBuilderList()

Output only. The locations where the generated reports can be uploaded.

`
repeated .google.cloud.auditmanager.v1.DestinationDetails destination_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getName()

    public abstract String getName()

Identifier. The name of this Enrollment, in the format of scope given in
request.

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

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

### getNameBytes()

    public abstract ByteString getNameBytes()

Identifier. The name of this Enrollment, in the format of scope given in
request.

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

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