public interface ProductDimensionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getUnit()
public abstract String getUnit()Required. The dimension units. Acceptable values are:
- "
in" - "
cm"
string unit = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The unit. |
getUnitBytes()
public abstract ByteString getUnitBytes()Required. The dimension units. Acceptable values are:
- "
in" - "
cm"
string unit = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for unit. |
getValue()
public abstract double getValue()Required. The dimension value represented as a number. The value can have a maximum precision of four decimal places.
double value = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
double |
The value. |