Interface HeadersOrBuilder (0.9.0)

public interface HeadersOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLocations(int index)

public abstract LocationIdSet getLocations(int index)

Required. A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.

repeated .google.shopping.merchant.accounts.v1beta.LocationIdSet locations = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
LocationIdSet

getLocationsCount()

public abstract int getLocationsCount()

Required. A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.

repeated .google.shopping.merchant.accounts.v1beta.LocationIdSet locations = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getLocationsList()

public abstract List<LocationIdSet> getLocationsList()

Required. A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.

repeated .google.shopping.merchant.accounts.v1beta.LocationIdSet locations = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<LocationIdSet>

getLocationsOrBuilder(int index)

public abstract LocationIdSetOrBuilder getLocationsOrBuilder(int index)

Required. A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.

repeated .google.shopping.merchant.accounts.v1beta.LocationIdSet locations = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
LocationIdSetOrBuilder

getLocationsOrBuilderList()

public abstract List<? extends LocationIdSetOrBuilder> getLocationsOrBuilderList()

Required. A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.

repeated .google.shopping.merchant.accounts.v1beta.LocationIdSet locations = 5 [(.google.api.field_behavior) = REQUIRED];

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

getNumberOfItems(int index)

public abstract String getNumberOfItems(int index)

Required. A list of inclusive number of items upper bounds. The last value can be "infinity". For example ["10", "50", "infinity"] represents the headers "<= 10 items", "<= 50 items", and "> 50 items". Must be non-empty. Can only be set if all other fields are not set.

repeated string number_of_items = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The numberOfItems at the given index.

getNumberOfItemsBytes(int index)

public abstract ByteString getNumberOfItemsBytes(int index)

Required. A list of inclusive number of items upper bounds. The last value can be "infinity". For example ["10", "50", "infinity"] represents the headers "<= 10 items", "<= 50 items", and "> 50 items". Must be non-empty. Can only be set if all other fields are not set.

repeated string number_of_items = 3 [(.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 numberOfItems at the given index.

getNumberOfItemsCount()

public abstract int getNumberOfItemsCount()

Required. A list of inclusive number of items upper bounds. The last value can be "infinity". For example ["10", "50", "infinity"] represents the headers "<= 10 items", "<= 50 items", and "> 50 items". Must be non-empty. Can only be set if all other fields are not set.

repeated string number_of_items = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of numberOfItems.

getNumberOfItemsList()

public abstract List<String> getNumberOfItemsList()

Required. A list of inclusive number of items upper bounds. The last value can be "infinity". For example ["10", "50", "infinity"] represents the headers "<= 10 items", "<= 50 items", and "> 50 items". Must be non-empty. Can only be set if all other fields are not set.

repeated string number_of_items = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the numberOfItems.

getPostalCodeGroupNames(int index)

public abstract String getPostalCodeGroupNames(int index)

Required. A list of postal group names. The last value can be "all other locations". Example: ["zone 1", "zone 2", "all other locations"]. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.

repeated string postal_code_group_names = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The postalCodeGroupNames at the given index.

getPostalCodeGroupNamesBytes(int index)

public abstract ByteString getPostalCodeGroupNamesBytes(int index)

Required. A list of postal group names. The last value can be "all other locations". Example: ["zone 1", "zone 2", "all other locations"]. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.

repeated string postal_code_group_names = 4 [(.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 postalCodeGroupNames at the given index.

getPostalCodeGroupNamesCount()

public abstract int getPostalCodeGroupNamesCount()

Required. A list of postal group names. The last value can be "all other locations". Example: ["zone 1", "zone 2", "all other locations"]. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.

repeated string postal_code_group_names = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of postalCodeGroupNames.

getPostalCodeGroupNamesList()

public abstract List<String> getPostalCodeGroupNamesList()

Required. A list of postal group names. The last value can be "all other locations". Example: ["zone 1", "zone 2", "all other locations"]. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.

repeated string postal_code_group_names = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the postalCodeGroupNames.

getPrices(int index)

public abstract Price getPrices(int index)

Required. A list of inclusive order price upper bounds. The last price's value can be infinity by setting price amount_micros = -1. For example [{"amount_micros": 10000000, "currency_code": "USD"}, {"amount_micros": 500000000, "currency_code": "USD"}, {"amount_micros": -1, "currency_code": "USD"}] represents the headers "<= $10", "<= $500", and "> $500". All prices within a service must have the same currency. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.

repeated .google.shopping.type.Price prices = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
com.google.shopping.type.Price

getPricesCount()

public abstract int getPricesCount()

Required. A list of inclusive order price upper bounds. The last price's value can be infinity by setting price amount_micros = -1. For example [{"amount_micros": 10000000, "currency_code": "USD"}, {"amount_micros": 500000000, "currency_code": "USD"}, {"amount_micros": -1, "currency_code": "USD"}] represents the headers "<= $10", "<= $500", and "> $500". All prices within a service must have the same currency. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.

repeated .google.shopping.type.Price prices = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getPricesList()

public abstract List<Price> getPricesList()

Required. A list of inclusive order price upper bounds. The last price's value can be infinity by setting price amount_micros = -1. For example [{"amount_micros": 10000000, "currency_code": "USD"}, {"amount_micros": 500000000, "currency_code": "USD"}, {"amount_micros": -1, "currency_code": "USD"}] represents the headers "<= $10", "<= $500", and "> $500". All prices within a service must have the same currency. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.

repeated .google.shopping.type.Price prices = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<com.google.shopping.type.Price>

getPricesOrBuilder(int index)

public abstract PriceOrBuilder getPricesOrBuilder(int index)

Required. A list of inclusive order price upper bounds. The last price's value can be infinity by setting price amount_micros = -1. For example [{"amount_micros": 10000000, "currency_code": "USD"}, {"amount_micros": 500000000, "currency_code": "USD"}, {"amount_micros": -1, "currency_code": "USD"}] represents the headers "<= $10", "<= $500", and "> $500". All prices within a service must have the same currency. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.

repeated .google.shopping.type.Price prices = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
com.google.shopping.type.PriceOrBuilder

getPricesOrBuilderList()

public abstract List<? extends PriceOrBuilder> getPricesOrBuilderList()

Required. A list of inclusive order price upper bounds. The last price's value can be infinity by setting price amount_micros = -1. For example [{"amount_micros": 10000000, "currency_code": "USD"}, {"amount_micros": 500000000, "currency_code": "USD"}, {"amount_micros": -1, "currency_code": "USD"}] represents the headers "<= $10", "<= $500", and "> $500". All prices within a service must have the same currency. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.

repeated .google.shopping.type.Price prices = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.shopping.type.PriceOrBuilder>

getWeights(int index)

public abstract Weight getWeights(int index)

Required. A list of inclusive order weight upper bounds. The last weight's value can be infinity by setting price amount_micros = -1. For example [{"amount_micros": 10000000, "unit": "kg"}, {"amount_micros": 50000000, "unit": "kg"}, {"amount_micros": -1, "unit": "kg"}] represents the headers "<= 10kg", "<= 50kg", and "> 50kg". All weights within a service must have the same unit. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.

repeated .google.shopping.type.Weight weights = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
com.google.shopping.type.Weight

getWeightsCount()

public abstract int getWeightsCount()

Required. A list of inclusive order weight upper bounds. The last weight's value can be infinity by setting price amount_micros = -1. For example [{"amount_micros": 10000000, "unit": "kg"}, {"amount_micros": 50000000, "unit": "kg"}, {"amount_micros": -1, "unit": "kg"}] represents the headers "<= 10kg", "<= 50kg", and "> 50kg". All weights within a service must have the same unit. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.

repeated .google.shopping.type.Weight weights = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getWeightsList()

public abstract List<Weight> getWeightsList()

Required. A list of inclusive order weight upper bounds. The last weight's value can be infinity by setting price amount_micros = -1. For example [{"amount_micros": 10000000, "unit": "kg"}, {"amount_micros": 50000000, "unit": "kg"}, {"amount_micros": -1, "unit": "kg"}] represents the headers "<= 10kg", "<= 50kg", and "> 50kg". All weights within a service must have the same unit. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.

repeated .google.shopping.type.Weight weights = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<com.google.shopping.type.Weight>

getWeightsOrBuilder(int index)

public abstract WeightOrBuilder getWeightsOrBuilder(int index)

Required. A list of inclusive order weight upper bounds. The last weight's value can be infinity by setting price amount_micros = -1. For example [{"amount_micros": 10000000, "unit": "kg"}, {"amount_micros": 50000000, "unit": "kg"}, {"amount_micros": -1, "unit": "kg"}] represents the headers "<= 10kg", "<= 50kg", and "> 50kg". All weights within a service must have the same unit. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.

repeated .google.shopping.type.Weight weights = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
com.google.shopping.type.WeightOrBuilder

getWeightsOrBuilderList()

public abstract List<? extends WeightOrBuilder> getWeightsOrBuilderList()

Required. A list of inclusive order weight upper bounds. The last weight's value can be infinity by setting price amount_micros = -1. For example [{"amount_micros": 10000000, "unit": "kg"}, {"amount_micros": 50000000, "unit": "kg"}, {"amount_micros": -1, "unit": "kg"}] represents the headers "<= 10kg", "<= 50kg", and "> 50kg". All weights within a service must have the same unit. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.

repeated .google.shopping.type.Weight weights = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.shopping.type.WeightOrBuilder>