public static interface ProductAttributes.UnitAreaOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getUnit()
public abstract ProductAttributes.UnitArea.Unit getUnit()The unit of area.
.google.shopping.merchant.products.v1.ProductAttributes.UnitArea.Unit unit = 2;
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.UnitArea.Unit |
The unit. |
getUnitValue()
public abstract int getUnitValue()The unit of area.
.google.shopping.merchant.products.v1.ProductAttributes.UnitArea.Unit unit = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for unit. |
getValue()
public abstract double getValue()The area value.
optional double value = 1;
| Returns | |
|---|---|
| Type | Description |
double |
The value. |
hasValue()
public abstract boolean hasValue()The area value.
optional double value = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the value field is set. |