public static interface ProductAttributes.LeaseTermOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDurationUnit()
public abstract ProductAttributes.LeaseTerm.DurationUnit getDurationUnit()The duration unit of the lease term.
.google.shopping.merchant.products.v1.ProductAttributes.LeaseTerm.DurationUnit duration_unit = 3;
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.LeaseTerm.DurationUnit |
The durationUnit. |
getDurationUnitValue()
public abstract int getDurationUnitValue()The duration unit of the lease term.
.google.shopping.merchant.products.v1.ProductAttributes.LeaseTerm.DurationUnit duration_unit = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for durationUnit. |
getDurationValue()
public abstract long getDurationValue()The duration value of the lease term.
optional int64 duration_value = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The durationValue. |
getType()
public abstract ProductAttributes.LeaseTerm.LeaseTermType getType()The type of lease term.
.google.shopping.merchant.products.v1.ProductAttributes.LeaseTerm.LeaseTermType type = 1;
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.LeaseTerm.LeaseTermType |
The type. |
getTypeValue()
public abstract int getTypeValue()The type of lease term.
.google.shopping.merchant.products.v1.ProductAttributes.LeaseTerm.LeaseTermType type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
hasDurationValue()
public abstract boolean hasDurationValue()The duration value of the lease term.
optional int64 duration_value = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the durationValue field is set. |