Interface ShippingSettingsOrBuilder (1.0.0)

public interface ShippingSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEtag()

public abstract String getEtag()

Required. This field helps avoid async issues. It ensures that the shipping setting data doesn't change between the get call and the insert call. The user should follow these steps:

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

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

  3. Modify the shipping setting information.

  4. Call the insert method with the shipping setting information and the etag obtained in step 2.

  5. If the shipping setting data changes between step 2 and step 4, the insert request will fail because the etag changes every time the shipping setting data changes. In this case, the user should repeat steps 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 helps avoid async issues. It ensures that the shipping setting data doesn't change between the get call and the insert call. The user should follow these steps:

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

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

  3. Modify the shipping setting information.

  4. Call the insert method with the shipping setting information and the etag obtained in step 2.

  5. If the shipping setting data changes between step 2 and step 4, the insert request will fail because the etag changes every time the shipping setting data changes. In this case, the user should repeat steps 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 settings. Format: accounts/{account}/shippingSettings. For example, accounts/123456/shippingSettings.

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 settings. Format: accounts/{account}/shippingSettings. For example, accounts/123456/shippingSettings.

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.v1.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.v1.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.v1.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.v1.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.v1.Service services = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1.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.v1.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.v1.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.v1.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.v1.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.v1.Warehouse warehouses = 3 [(.google.api.field_behavior) = OPTIONAL];

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