# Interface UpgradeOrBuilder (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 interface UpgradeOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getInputVariables(int index)

    public abstract UnitVariable getInputVariables(int index)

Optional. Set of input variables. Maximum 100. (optional)

`
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 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-saasservicemgmt/latest/com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable` |   |

### getInputVariablesCount()

    public abstract int getInputVariablesCount()

Optional. Set of input variables. Maximum 100. (optional)

`
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getInputVariablesList()

    public abstract List<UnitVariable> getInputVariablesList()

Optional. Set of input variables. Maximum 100. (optional)

`
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 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-saasservicemgmt/latest/com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable>` |   |

### getInputVariablesOrBuilder(int index)

    public abstract UnitVariableOrBuilder getInputVariablesOrBuilder(int index)

Optional. Set of input variables. Maximum 100. (optional)

`
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 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-saasservicemgmt/latest/com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableOrBuilder` |   |

### getInputVariablesOrBuilderList()

    public abstract List<? extends UnitVariableOrBuilder> getInputVariablesOrBuilderList()

Optional. Set of input variables. Maximum 100. (optional)

`
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 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.saasplatform.saasservicemgmt.v1beta1.UnitVariableOrBuilder>` |   |

### getRelease()

    public abstract String getRelease()

Optional. Reference to the Release object to use for the Unit. (optional).

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

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

### getReleaseBytes()

    public abstract ByteString getReleaseBytes()

Optional. Reference to the Release object to use for the Unit. (optional).

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

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