# Interface ProductOrBuilder (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface ProductOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getEngine()

    public abstract Engine getEngine()

Optional. The specific engine that the underlying database is running.

`
.google.cloud.databasecenter.v1beta.Engine engine = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.Engine` | The engine. |

### getEngineValue()

    public abstract int getEngineValue()

Optional. The specific engine that the underlying database is running.

`
.google.cloud.databasecenter.v1beta.Engine engine = 2 [(.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 engine. |

### getMinorVersion()

    public abstract String getMinorVersion()

Optional. Minor version of the underlying database engine. Example values:
For MySQL, it could be "8.0.35", "5.7.25" etc. For PostgreSQL, it could be
"14.4", "15.5" etc.

`string minor_version = 4 [(.google.api.field_behavior) = OPTIONAL];`

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

### getMinorVersionBytes()

    public abstract ByteString getMinorVersionBytes()

Optional. Minor version of the underlying database engine. Example values:
For MySQL, it could be "8.0.35", "5.7.25" etc. For PostgreSQL, it could be
"14.4", "15.5" etc.

`string minor_version = 4 [(.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 minorVersion. |

### getType()

    public abstract ProductType getType()

Optional. Type of specific database product. It could be CloudSQL, AlloyDB
etc..

`
.google.cloud.databasecenter.v1beta.ProductType type = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.ProductType` | The type. |

### getTypeValue()

    public abstract int getTypeValue()

Optional. Type of specific database product. It could be CloudSQL, AlloyDB
etc..

`
.google.cloud.databasecenter.v1beta.ProductType type = 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 type. |

### getVersion()

    public abstract String getVersion()

Optional. Version of the underlying database engine. Example values: For
MySQL, it could be "8.0", "5.7" etc. For Postgres, it could be "14", "15"
etc.

`string version = 3 [(.google.api.field_behavior) = OPTIONAL];`

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

### getVersionBytes()

    public abstract ByteString getVersionBytes()

Optional. Version of the underlying database engine. Example values: For
MySQL, it could be "8.0", "5.7" etc. For Postgres, it could be "14", "15"
etc.

`string version = 3 [(.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 version. |