Interface ProductAttributes.WarrantyOrBuilder (1.23.0)

public static interface ProductAttributes.WarrantyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDuration()

public abstract long getDuration()

The warranty duration in months.

int64 duration = 1;

Returns
Type Description
long

The duration.

getMileage()

public abstract ProductAttributes.Mileage getMileage()

The warranty mileage.

.google.shopping.merchant.products.v1.ProductAttributes.Mileage mileage = 2;

Returns
Type Description
ProductAttributes.Mileage

The mileage.

getMileageOrBuilder()

public abstract ProductAttributes.MileageOrBuilder getMileageOrBuilder()

The warranty mileage.

.google.shopping.merchant.products.v1.ProductAttributes.Mileage mileage = 2;

Returns
Type Description
ProductAttributes.MileageOrBuilder

hasMileage()

public abstract boolean hasMileage()

The warranty mileage.

.google.shopping.merchant.products.v1.ProductAttributes.Mileage mileage = 2;

Returns
Type Description
boolean

Whether the mileage field is set.