# Interface ConfigVariableOrBuilder (0.44.0)

0.44.0 (latest) 0.41.0 0.40.0 0.38.0 0.36.0 0.35.0 0.34.0 0.33.0 0.31.0 0.29.0 0.28.0 0.27.0 0.26.0 0.25.0 0.23.0 0.21.0 0.20.0 0.17.0 0.16.0 0.15.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.2.0 0.1.0

    public interface ConfigVariableOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getBoolValue()

    public abstract boolean getBoolValue()

Optional. The config variable value in case of config variable of type
boolean.

`bool bool_value = 4 [(.google.api.field_behavior) = OPTIONAL];`

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

### getEnumValue()

    public abstract ConfigValueOption getEnumValue()

Optional. The config variable value in case of config variable of type
enum.

`
.google.cloud.apihub.v1.ConfigValueOption enum_value = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-apihub/latest/com.google.cloud.apihub.v1.ConfigValueOption` | The enumValue. |

### getEnumValueOrBuilder()

    public abstract ConfigValueOptionOrBuilder getEnumValueOrBuilder()

Optional. The config variable value in case of config variable of type
enum.

`
.google.cloud.apihub.v1.ConfigValueOption enum_value = 6 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getIntValue()

    public abstract long getIntValue()

Optional. The config variable value in case of config variable of type
integer.

`int64 int_value = 3 [(.google.api.field_behavior) = OPTIONAL];`

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

### getKey()

    public abstract String getKey()

Output only. Key will be the
id to uniquely identify
the config variable.

`string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getKeyBytes()

    public abstract ByteString getKeyBytes()

Output only. Key will be the
id to uniquely identify
the config variable.

`string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getMultiIntValues()

    public abstract ConfigVariable.MultiIntValues getMultiIntValues()

Optional. The config variable value in case of config variable of type
multi integer.

`
.google.cloud.apihub.v1.ConfigVariable.MultiIntValues multi_int_values = 9 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-apihub/latest/com.google.cloud.apihub.v1.ConfigVariable.MultiIntValues` | The multiIntValues. |

### getMultiIntValuesOrBuilder()

    public abstract ConfigVariable.MultiIntValuesOrBuilder getMultiIntValuesOrBuilder()

Optional. The config variable value in case of config variable of type
multi integer.

`
.google.cloud.apihub.v1.ConfigVariable.MultiIntValues multi_int_values = 9 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-apihub/latest/com.google.cloud.apihub.v1.ConfigVariable.MultiIntValuesOrBuilder` |   |

### getMultiSelectValues()

    public abstract ConfigVariable.MultiSelectValues getMultiSelectValues()

Optional. The config variable value in case of config variable of type
multi select.

`
.google.cloud.apihub.v1.ConfigVariable.MultiSelectValues multi_select_values = 7 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-apihub/latest/com.google.cloud.apihub.v1.ConfigVariable.MultiSelectValues` | The multiSelectValues. |

### getMultiSelectValuesOrBuilder()

    public abstract ConfigVariable.MultiSelectValuesOrBuilder getMultiSelectValuesOrBuilder()

Optional. The config variable value in case of config variable of type
multi select.

`
.google.cloud.apihub.v1.ConfigVariable.MultiSelectValues multi_select_values = 7 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-apihub/latest/com.google.cloud.apihub.v1.ConfigVariable.MultiSelectValuesOrBuilder` |   |

### getMultiStringValues()

    public abstract ConfigVariable.MultiStringValues getMultiStringValues()

Optional. The config variable value in case of config variable of type
multi string.

`
.google.cloud.apihub.v1.ConfigVariable.MultiStringValues multi_string_values = 8 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-apihub/latest/com.google.cloud.apihub.v1.ConfigVariable.MultiStringValues` | The multiStringValues. |

### getMultiStringValuesOrBuilder()

    public abstract ConfigVariable.MultiStringValuesOrBuilder getMultiStringValuesOrBuilder()

Optional. The config variable value in case of config variable of type
multi string.

`
.google.cloud.apihub.v1.ConfigVariable.MultiStringValues multi_string_values = 8 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-apihub/latest/com.google.cloud.apihub.v1.ConfigVariable.MultiStringValuesOrBuilder` |   |

### getSecretValue()

    public abstract Secret getSecretValue()

Optional. The config variable value in case of config variable of type
secret.

`
.google.cloud.apihub.v1.Secret secret_value = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-apihub/latest/com.google.cloud.apihub.v1.Secret` | The secretValue. |

### getSecretValueOrBuilder()

    public abstract SecretOrBuilder getSecretValueOrBuilder()

Optional. The config variable value in case of config variable of type
secret.

`
.google.cloud.apihub.v1.Secret secret_value = 5 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getStringValue()

    public abstract String getStringValue()

Optional. The config variable value in case of config variable of type
string.

`string string_value = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### getStringValueBytes()

    public abstract ByteString getStringValueBytes()

Optional. The config variable value in case of config variable of type
string.

`string string_value = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### getValueCase()

    public abstract ConfigVariable.ValueCase getValueCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-apihub/latest/com.google.cloud.apihub.v1.ConfigVariable.ValueCase` |   |

### hasBoolValue()

    public abstract boolean hasBoolValue()

Optional. The config variable value in case of config variable of type
boolean.

`bool bool_value = 4 [(.google.api.field_behavior) = OPTIONAL];`

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

### hasEnumValue()

    public abstract boolean hasEnumValue()

Optional. The config variable value in case of config variable of type
enum.

`
.google.cloud.apihub.v1.ConfigValueOption enum_value = 6 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasIntValue()

    public abstract boolean hasIntValue()

Optional. The config variable value in case of config variable of type
integer.

`int64 int_value = 3 [(.google.api.field_behavior) = OPTIONAL];`

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

### hasMultiIntValues()

    public abstract boolean hasMultiIntValues()

Optional. The config variable value in case of config variable of type
multi integer.

`
.google.cloud.apihub.v1.ConfigVariable.MultiIntValues multi_int_values = 9 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasMultiSelectValues()

    public abstract boolean hasMultiSelectValues()

Optional. The config variable value in case of config variable of type
multi select.

`
.google.cloud.apihub.v1.ConfigVariable.MultiSelectValues multi_select_values = 7 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasMultiStringValues()

    public abstract boolean hasMultiStringValues()

Optional. The config variable value in case of config variable of type
multi string.

`
.google.cloud.apihub.v1.ConfigVariable.MultiStringValues multi_string_values = 8 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasSecretValue()

    public abstract boolean hasSecretValue()

Optional. The config variable value in case of config variable of type
secret.

`
.google.cloud.apihub.v1.Secret secret_value = 5 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasStringValue()

    public abstract boolean hasStringValue()

Optional. The config variable value in case of config variable of type
string.

`string string_value = 2 [(.google.api.field_behavior) = OPTIONAL];`

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