# Interface ResourceIdentifierOrBuilder (0.16.0)

0.16.0 (latest) 0.14.0 0.11.0 0.10.0 0.8.0 0.6.0 0.5.0 0.4.0 0.3.0 0.1.0

    public interface ResourceIdentifierOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getResourceAttributes(int index)

    public abstract ResourceAttribute getResourceAttributes(int index)

`repeated .google.cloud.capacityplanner.v1beta.ResourceAttribute resource_attributes = 3;
`

| **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-capacityplanner/latest/com.google.cloud.capacityplanner.v1beta.ResourceAttribute` |   |

### getResourceAttributesCount()

    public abstract int getResourceAttributesCount()

`repeated .google.cloud.capacityplanner.v1beta.ResourceAttribute resource_attributes = 3;
`

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

### getResourceAttributesList()

    public abstract List<ResourceAttribute> getResourceAttributesList()

`repeated .google.cloud.capacityplanner.v1beta.ResourceAttribute resource_attributes = 3;
`

| **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-capacityplanner/latest/com.google.cloud.capacityplanner.v1beta.ResourceAttribute>` |   |

### getResourceAttributesOrBuilder(int index)

    public abstract ResourceAttributeOrBuilder getResourceAttributesOrBuilder(int index)

`repeated .google.cloud.capacityplanner.v1beta.ResourceAttribute resource_attributes = 3;
`

| **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-capacityplanner/latest/com.google.cloud.capacityplanner.v1beta.ResourceAttributeOrBuilder` |   |

### getResourceAttributesOrBuilderList()

    public abstract List<? extends ResourceAttributeOrBuilder> getResourceAttributesOrBuilderList()

`repeated .google.cloud.capacityplanner.v1beta.ResourceAttribute resource_attributes = 3;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.capacityplanner.v1beta.ResourceAttributeOrBuilder>` |   |

### getResourceName()

    public abstract String getResourceName()

`string resource_name = 2;`

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

### getResourceNameBytes()

    public abstract ByteString getResourceNameBytes()

`string resource_name = 2;`

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

### getServiceName()

    public abstract String getServiceName()

`string service_name = 1;`

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

### getServiceNameBytes()

    public abstract ByteString getServiceNameBytes()

`string service_name = 1;`

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