# Interface Release.ReleaseRequirementsOrBuilder (0.23.0)

0.23.0 (latest) 0.21.0 0.18.0 0.17.0 0.15.0 0.13.0 0.12.0 0.10.0 0.8.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0

    public static interface Release.ReleaseRequirementsOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getUpgradeableFromReleases(int index)

    public abstract String getUpgradeableFromReleases(int index)

Optional. A list of releases from which a unit can be upgraded to this
one (optional). If left empty no constraints will be applied. When
provided, unit upgrade requests to this release will check and enforce
this constraint.

`
repeated string upgradeable_from_releases = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The upgradeableFromReleases at the given index. |

### getUpgradeableFromReleasesBytes(int index)

    public abstract ByteString getUpgradeableFromReleasesBytes(int index)

Optional. A list of releases from which a unit can be upgraded to this
one (optional). If left empty no constraints will be applied. When
provided, unit upgrade requests to this release will check and enforce
this constraint.

`
repeated string upgradeable_from_releases = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the upgradeableFromReleases at the given index. |

### getUpgradeableFromReleasesCount()

    public abstract int getUpgradeableFromReleasesCount()

Optional. A list of releases from which a unit can be upgraded to this
one (optional). If left empty no constraints will be applied. When
provided, unit upgrade requests to this release will check and enforce
this constraint.

`
repeated string upgradeable_from_releases = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
`

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

### getUpgradeableFromReleasesList()

    public abstract List<String> getUpgradeableFromReleasesList()

Optional. A list of releases from which a unit can be upgraded to this
one (optional). If left empty no constraints will be applied. When
provided, unit upgrade requests to this release will check and enforce
this constraint.

`
repeated string upgradeable_from_releases = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the upgradeableFromReleases. |