# Interface ExperimentConfig.VersionReleaseOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public static interface ExperimentConfig.VersionReleaseOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getState()

    public abstract ExperimentConfig.State getState()

Optional. State of the version release.

`
.google.cloud.ces.v1beta.ExperimentConfig.State state = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.ExperimentConfig.State` | The state. |

### getStateValue()

    public abstract int getStateValue()

Optional. State of the version release.

`
.google.cloud.ces.v1beta.ExperimentConfig.State state = 1 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getTrafficAllocations(int index)

    public abstract ExperimentConfig.VersionRelease.TrafficAllocation getTrafficAllocations(int index)

Optional. Traffic allocations for the version release.

`
repeated .google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocation traffic_allocations = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **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-ces/latest/com.google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocation` |   |

### getTrafficAllocationsCount()

    public abstract int getTrafficAllocationsCount()

Optional. Traffic allocations for the version release.

`
repeated .google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocation traffic_allocations = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getTrafficAllocationsList()

    public abstract List<ExperimentConfig.VersionRelease.TrafficAllocation> getTrafficAllocationsList()

Optional. Traffic allocations for the version release.

`
repeated .google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocation traffic_allocations = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **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-ces/latest/com.google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocation>` |   |

### getTrafficAllocationsOrBuilder(int index)

    public abstract ExperimentConfig.VersionRelease.TrafficAllocationOrBuilder getTrafficAllocationsOrBuilder(int index)

Optional. Traffic allocations for the version release.

`
repeated .google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocation traffic_allocations = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **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-ces/latest/com.google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocationOrBuilder` |   |

### getTrafficAllocationsOrBuilderList()

    public abstract List<? extends ExperimentConfig.VersionRelease.TrafficAllocationOrBuilder> getTrafficAllocationsOrBuilderList()

Optional. Traffic allocations for the version release.

`
repeated .google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocation traffic_allocations = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocationOrBuilder>` |   |