# Interface VersionOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.datafusion.v1.VersionOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.datafusion.v1.VersionOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.datafusion.v1.VersionOrBuilder)

    public interface VersionOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAvailableFeatures(int index)

    public abstract String getAvailableFeatures(int index)

Represents a list of available feature names for a given version.

`repeated string available_features = 3;`

| **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 availableFeatures at the given index. |

### getAvailableFeaturesBytes(int index)

    public abstract ByteString getAvailableFeaturesBytes(int index)

Represents a list of available feature names for a given version.

`repeated string available_features = 3;`

| **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 availableFeatures at the given index. |

### getAvailableFeaturesCount()

    public abstract int getAvailableFeaturesCount()

Represents a list of available feature names for a given version.

`repeated string available_features = 3;`

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

### getAvailableFeaturesList()

    public abstract List<String> getAvailableFeaturesList()

Represents a list of available feature names for a given version.

`repeated string available_features = 3;`

| **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 availableFeatures. |

### getDefaultVersion()

    public abstract boolean getDefaultVersion()

Whether this is currently the default version for Cloud Data Fusion

`bool default_version = 2;`

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

### getType()

    public abstract Version.Type getType()

Type represents the release availability of the version

`.google.events.cloud.datafusion.v1.Version.Type type = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.datafusion.v1.Version.Type` | The type. |

### getTypeValue()

    public abstract int getTypeValue()

Type represents the release availability of the version

`.google.events.cloud.datafusion.v1.Version.Type type = 4;`

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

### getVersionNumber()

    public abstract String getVersionNumber()

The version number of the Data Fusion instance, such as '6.0.1.0'.

`string version_number = 1;`

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

### getVersionNumberBytes()

    public abstract ByteString getVersionNumberBytes()

The version number of the Data Fusion instance, such as '6.0.1.0'.

`string version_number = 1;`

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