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

## Implements

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

## Methods

### getFullResourceName()

    public abstract String getFullResourceName()

The full resource name of the resource.

`string full_resource_name = 1;`

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

### getFullResourceNameBytes()

    public abstract ByteString getFullResourceNameBytes()

The full resource name of the resource.

`string full_resource_name = 1;`

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

### getProduct()

    public abstract Product getProduct()

The product of the resource, including the type, engine, and version.

`.google.cloud.databasecenter.v1beta.Product product = 3;`

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

### getProductOrBuilder()

    public abstract ProductOrBuilder getProductOrBuilder()

The product of the resource, including the type, engine, and version.

`.google.cloud.databasecenter.v1beta.Product product = 3;`

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

### getResourceType()

    public abstract String getResourceType()

The type of the resource.
sqladmin.googleapis.com/Instance
alloydb.googleapis.com/Cluster
alloydb.googleapis.com/Instance

`string resource_type = 2;`

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

### getResourceTypeBytes()

    public abstract ByteString getResourceTypeBytes()

The type of the resource.
sqladmin.googleapis.com/Instance
alloydb.googleapis.com/Cluster
alloydb.googleapis.com/Instance

`string resource_type = 2;`

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

### hasProduct()

    public abstract boolean hasProduct()

The product of the resource, including the type, engine, and version.

`.google.cloud.databasecenter.v1beta.Product product = 3;`

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