Interface FoodMeasurementUnitOrBuilder (0.2.0)

public interface FoodMeasurementUnitOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

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
String

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
ByteString

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
String

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
ByteString

The bytes for pluralDisplayName.