Interface ValueOrBuilder (0.2.0)

public interface ValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCarrierRate()

public abstract String getCarrierRate()

The name of a carrier rate referring to a carrier rate defined in the same rate group. Can only be set if all other fields are not set.

optional string carrier_rate = 4;

Returns
Type Description
String

The carrierRate.

getCarrierRateBytes()

public abstract ByteString getCarrierRateBytes()

The name of a carrier rate referring to a carrier rate defined in the same rate group. Can only be set if all other fields are not set.

optional string carrier_rate = 4;

Returns
Type Description
ByteString

The bytes for carrierRate.

getFlatRate()

public abstract Price getFlatRate()

A flat rate. Can only be set if all other fields are not set.

optional .google.shopping.type.Price flat_rate = 2;

Returns
Type Description
com.google.shopping.type.Price

The flatRate.

getFlatRateOrBuilder()

public abstract PriceOrBuilder getFlatRateOrBuilder()

A flat rate. Can only be set if all other fields are not set.

optional .google.shopping.type.Price flat_rate = 2;

Returns
Type Description
com.google.shopping.type.PriceOrBuilder

getNoShipping()

public abstract boolean getNoShipping()

If true, then the product can't be shipped. Must be true when set, can only be set if all other fields are not set.

optional bool no_shipping = 1;

Returns
Type Description
boolean

The noShipping.

getPricePercentage()

public abstract String getPricePercentage()

A percentage of the price represented as a number in decimal notation (For example, "5.4"). Can only be set if all other fields are not set.

optional string price_percentage = 3;

Returns
Type Description
String

The pricePercentage.

getPricePercentageBytes()

public abstract ByteString getPricePercentageBytes()

A percentage of the price represented as a number in decimal notation (For example, "5.4"). Can only be set if all other fields are not set.

optional string price_percentage = 3;

Returns
Type Description
ByteString

The bytes for pricePercentage.

getSubtable()

public abstract String getSubtable()

The name of a subtable. Can only be set in table cells (For example, not for single values), and only if all other fields are not set.

optional string subtable = 5;

Returns
Type Description
String

The subtable.

getSubtableBytes()

public abstract ByteString getSubtableBytes()

The name of a subtable. Can only be set in table cells (For example, not for single values), and only if all other fields are not set.

optional string subtable = 5;

Returns
Type Description
ByteString

The bytes for subtable.

hasCarrierRate()

public abstract boolean hasCarrierRate()

The name of a carrier rate referring to a carrier rate defined in the same rate group. Can only be set if all other fields are not set.

optional string carrier_rate = 4;

Returns
Type Description
boolean

Whether the carrierRate field is set.

hasFlatRate()

public abstract boolean hasFlatRate()

A flat rate. Can only be set if all other fields are not set.

optional .google.shopping.type.Price flat_rate = 2;

Returns
Type Description
boolean

Whether the flatRate field is set.

hasNoShipping()

public abstract boolean hasNoShipping()

If true, then the product can't be shipped. Must be true when set, can only be set if all other fields are not set.

optional bool no_shipping = 1;

Returns
Type Description
boolean

Whether the noShipping field is set.

hasPricePercentage()

public abstract boolean hasPricePercentage()

A percentage of the price represented as a number in decimal notation (For example, "5.4"). Can only be set if all other fields are not set.

optional string price_percentage = 3;

Returns
Type Description
boolean

Whether the pricePercentage field is set.

hasSubtable()

public abstract boolean hasSubtable()

The name of a subtable. Can only be set in table cells (For example, not for single values), and only if all other fields are not set.

optional string subtable = 5;

Returns
Type Description
boolean

Whether the subtable field is set.