Interface RateGroupOrBuilder (0.1.0)

public interface RateGroupOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApplicableShippingLabels(int index)

public abstract String getApplicableShippingLabels(int index)

Required. A list of shipping labels defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service.

repeated string applicable_shipping_labels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The applicableShippingLabels at the given index.

getApplicableShippingLabelsBytes(int index)

public abstract ByteString getApplicableShippingLabelsBytes(int index)

Required. A list of shipping labels defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service.

repeated string applicable_shipping_labels = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the applicableShippingLabels at the given index.

getApplicableShippingLabelsCount()

public abstract int getApplicableShippingLabelsCount()

Required. A list of shipping labels defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service.

repeated string applicable_shipping_labels = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of applicableShippingLabels.

getApplicableShippingLabelsList()

public abstract List<String> getApplicableShippingLabelsList()

Required. A list of shipping labels defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service.

repeated string applicable_shipping_labels = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the applicableShippingLabels.

getCarrierRates(int index)

public abstract CarrierRate getCarrierRates(int index)

Optional. A list of carrier rates that can be referred to by main_table or single_value.

repeated .google.shopping.merchant.accounts.v1beta.CarrierRate carrier_rates = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CarrierRate

getCarrierRatesCount()

public abstract int getCarrierRatesCount()

Optional. A list of carrier rates that can be referred to by main_table or single_value.

repeated .google.shopping.merchant.accounts.v1beta.CarrierRate carrier_rates = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCarrierRatesList()

public abstract List<CarrierRate> getCarrierRatesList()

Optional. A list of carrier rates that can be referred to by main_table or single_value.

repeated .google.shopping.merchant.accounts.v1beta.CarrierRate carrier_rates = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<CarrierRate>

getCarrierRatesOrBuilder(int index)

public abstract CarrierRateOrBuilder getCarrierRatesOrBuilder(int index)

Optional. A list of carrier rates that can be referred to by main_table or single_value.

repeated .google.shopping.merchant.accounts.v1beta.CarrierRate carrier_rates = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CarrierRateOrBuilder

getCarrierRatesOrBuilderList()

public abstract List<? extends CarrierRateOrBuilder> getCarrierRatesOrBuilderList()

Optional. A list of carrier rates that can be referred to by main_table or single_value.

repeated .google.shopping.merchant.accounts.v1beta.CarrierRate carrier_rates = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1beta.CarrierRateOrBuilder>

getMainTable()

public abstract Table getMainTable()

A table defining the rate group, when single_value is not expressive enough. Can only be set if single_value is not set.

optional .google.shopping.merchant.accounts.v1beta.Table main_table = 3;

Returns
Type Description
Table

The mainTable.

getMainTableOrBuilder()

public abstract TableOrBuilder getMainTableOrBuilder()

A table defining the rate group, when single_value is not expressive enough. Can only be set if single_value is not set.

optional .google.shopping.merchant.accounts.v1beta.Table main_table = 3;

Returns
Type Description
TableOrBuilder

getName()

public abstract String getName()

Optional. Name of the rate group. If set has to be unique within shipping service.

optional string name = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Optional. Name of the rate group. If set has to be unique within shipping service.

optional string name = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for name.

getSingleValue()

public abstract Value getSingleValue()

The value of the rate group (For example flat rate $10). Can only be set if main_table and subtables are not set.

optional .google.shopping.merchant.accounts.v1beta.Value single_value = 2;

Returns
Type Description
Value

The singleValue.

getSingleValueOrBuilder()

public abstract ValueOrBuilder getSingleValueOrBuilder()

The value of the rate group (For example flat rate $10). Can only be set if main_table and subtables are not set.

optional .google.shopping.merchant.accounts.v1beta.Value single_value = 2;

Returns
Type Description
ValueOrBuilder

getSubtables(int index)

public abstract Table getSubtables(int index)

Optional. A list of subtables referred to by main_table. Can only be set if main_table is set.

repeated .google.shopping.merchant.accounts.v1beta.Table subtables = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Table

getSubtablesCount()

public abstract int getSubtablesCount()

Optional. A list of subtables referred to by main_table. Can only be set if main_table is set.

repeated .google.shopping.merchant.accounts.v1beta.Table subtables = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSubtablesList()

public abstract List<Table> getSubtablesList()

Optional. A list of subtables referred to by main_table. Can only be set if main_table is set.

repeated .google.shopping.merchant.accounts.v1beta.Table subtables = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Table>

getSubtablesOrBuilder(int index)

public abstract TableOrBuilder getSubtablesOrBuilder(int index)

Optional. A list of subtables referred to by main_table. Can only be set if main_table is set.

repeated .google.shopping.merchant.accounts.v1beta.Table subtables = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TableOrBuilder

getSubtablesOrBuilderList()

public abstract List<? extends TableOrBuilder> getSubtablesOrBuilderList()

Optional. A list of subtables referred to by main_table. Can only be set if main_table is set.

repeated .google.shopping.merchant.accounts.v1beta.Table subtables = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1beta.TableOrBuilder>

hasMainTable()

public abstract boolean hasMainTable()

A table defining the rate group, when single_value is not expressive enough. Can only be set if single_value is not set.

optional .google.shopping.merchant.accounts.v1beta.Table main_table = 3;

Returns
Type Description
boolean

Whether the mainTable field is set.

hasName()

public abstract boolean hasName()

Optional. Name of the rate group. If set has to be unique within shipping service.

optional string name = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the name field is set.

hasSingleValue()

public abstract boolean hasSingleValue()

The value of the rate group (For example flat rate $10). Can only be set if main_table and subtables are not set.

optional .google.shopping.merchant.accounts.v1beta.Value single_value = 2;

Returns
Type Description
boolean

Whether the singleValue field is set.