Enum MealType (0.2.0)

public enum MealType extends Enum<MealType> implements ProtocolMessageEnum

Enum representing the meal type.

Protobuf enum google.devicesandservices.health.v4.MealType

Implements

ProtocolMessageEnum

Static Fields

Name Description
AFTER_DINNER

Value representing an evening snack.

AFTER_DINNER = 7;

AFTER_DINNER_VALUE

Value representing an evening snack.

AFTER_DINNER = 7;

ANYTIME

Value representing any time (legacy NA).

ANYTIME = 9;

ANYTIME_VALUE

Value representing any time (legacy NA).

ANYTIME = 9;

BEFORE_BREAKFAST

Value representing a meal before breakfast.

BEFORE_BREAKFAST = 1;

BEFORE_BREAKFAST_VALUE

Value representing a meal before breakfast.

BEFORE_BREAKFAST = 1;

BEFORE_DINNER

Value representing an afternoon snack.

BEFORE_DINNER = 5;

BEFORE_DINNER_VALUE

Value representing an afternoon snack.

BEFORE_DINNER = 5;

BEFORE_LUNCH

Value representing a morning snack.

BEFORE_LUNCH = 3;

BEFORE_LUNCH_VALUE

Value representing a morning snack.

BEFORE_LUNCH = 3;

BREAKFAST

Value representing a breakfast.

BREAKFAST = 2;

BREAKFAST_VALUE

Value representing a breakfast.

BREAKFAST = 2;

DINNER

Value representing dinner.

DINNER = 6;

DINNER_VALUE

Value representing dinner.

DINNER = 6;

LUNCH

Value representing a lunch.

LUNCH = 4;

LUNCH_VALUE

Value representing a lunch.

LUNCH = 4;

MEAL_TYPE_UNSPECIFIED

Unspecified meal type.

MEAL_TYPE_UNSPECIFIED = 0;

MEAL_TYPE_UNSPECIFIED_VALUE

Unspecified meal type.

MEAL_TYPE_UNSPECIFIED = 0;

SNACK

Value representing any meal outside of the usual three meals per day.

SNACK = 8;

SNACK_VALUE

Value representing any meal outside of the usual three meals per day.

SNACK = 8;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()