Interface ShippingSettingsOrBuilder (0.9.0)

public interface ShippingSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEtag()

public abstract String getEtag()

Required. This field is used for avoid async issue. Make sure shipping setting data didn't change between get call and insert call. The user should do following steps:

  1. Set etag field as empty string for initial shipping setting creation.

  2. After initial creation, call get method to obtain an etag and current shipping setting data before call insert.

  3. Modify to wanted shipping setting information.

  4. Call insert method with the wanted shipping setting information with the etag obtained from step 2.

  5. If shipping setting data changed between step 2 and step 4. Insert request will fail because the etag changes every time the shipping setting data changes. User should repeate step 2-4 with the new etag.

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

Returns
Type Description
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

Required. This field is used for avoid async issue. Make sure shipping setting data didn't change between get call and insert call. The user should do following steps:

  1. Set etag field as empty string for initial shipping setting creation.

  2. After initial creation, call get method to obtain an etag and current shipping setting data before call insert.

  3. Modify to wanted shipping setting information.

  4. Call insert method with the wanted shipping setting information with the etag obtained from step 2.

  5. If shipping setting data changed between step 2 and step 4. Insert request will fail because the etag changes every time the shipping setting data changes. User should repeate step 2-4 with the new etag.

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

Returns
Type Description
ByteString

The bytes for etag.

getName()

public abstract String getName()

Identifier. The resource name of the shipping setting. Format: accounts/{account}/shippingSetting

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the shipping setting. Format: accounts/{account}/shippingSetting

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getServices(int index)

public abstract Service getServices(int index)

Optional. The target account's list of services.

repeated .google.shopping.merchant.accounts.v1beta.Service services = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Service

getServicesCount()

public abstract int getServicesCount()

Optional. The target account's list of services.

repeated .google.shopping.merchant.accounts.v1beta.Service services = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getServicesList()

public abstract List<Service> getServicesList()

Optional. The target account's list of services.

repeated .google.shopping.merchant.accounts.v1beta.Service services = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Service>

getServicesOrBuilder(int index)

public abstract ServiceOrBuilder getServicesOrBuilder(int index)

Optional. The target account's list of services.

repeated .google.shopping.merchant.accounts.v1beta.Service services = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ServiceOrBuilder

getServicesOrBuilderList()

public abstract List<? extends ServiceOrBuilder> getServicesOrBuilderList()

Optional. The target account's list of services.

repeated .google.shopping.merchant.accounts.v1beta.Service services = 2 [(.google.api.field_behavior) = OPTIONAL];

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

getWarehouses(int index)

public abstract Warehouse getWarehouses(int index)

Optional. A list of warehouses which can be referred to in services.

repeated .google.shopping.merchant.accounts.v1beta.Warehouse warehouses = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Warehouse

getWarehousesCount()

public abstract int getWarehousesCount()

Optional. A list of warehouses which can be referred to in services.

repeated .google.shopping.merchant.accounts.v1beta.Warehouse warehouses = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getWarehousesList()

public abstract List<Warehouse> getWarehousesList()

Optional. A list of warehouses which can be referred to in services.

repeated .google.shopping.merchant.accounts.v1beta.Warehouse warehouses = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Warehouse>

getWarehousesOrBuilder(int index)

public abstract WarehouseOrBuilder getWarehousesOrBuilder(int index)

Optional. A list of warehouses which can be referred to in services.

repeated .google.shopping.merchant.accounts.v1beta.Warehouse warehouses = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
WarehouseOrBuilder

getWarehousesOrBuilderList()

public abstract List<? extends WarehouseOrBuilder> getWarehousesOrBuilderList()

Optional. A list of warehouses which can be referred to in services.

repeated .google.shopping.merchant.accounts.v1beta.Warehouse warehouses = 3 [(.google.api.field_behavior) = OPTIONAL];

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