# Interface FoodMeasurementUnitOrBuilder (0.2.0)

    public interface FoodMeasurementUnitOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getDisplayName()

    public abstract String getDisplayName()

Required. The display name of the food measurement unit (e.g., "gram",
"piece").

`string display_name = 1 [(.google.api.field_behavior) = REQUIRED];`

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

### getDisplayNameBytes()

    public abstract ByteString getDisplayNameBytes()

Required. The display name of the food measurement unit (e.g., "gram",
"piece").

`string display_name = 1 [(.google.api.field_behavior) = REQUIRED];`

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

### getPluralDisplayName()

    public abstract String getPluralDisplayName()

Optional. The plural display name of the food measurement unit (e.g.,
"grams", "pieces").

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

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

### getPluralDisplayNameBytes()

    public abstract ByteString getPluralDisplayNameBytes()

Optional. The plural display name of the food measurement unit (e.g.,
"grams", "pieces").

`string plural_display_name = 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 pluralDisplayName. |