Send feedback
Class ShippingSettings (0.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.3.0 keyboard_arrow_down
public final class ShippingSettings extends GeneratedMessageV3 implements ShippingSettingsOrBuilder
The merchant account's shipping
setting .
Protobuf type google.shopping.merchant.accounts.v1beta.ShippingSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ETAG_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SERVICES_FIELD_NUMBER
Field Value
Type
Description
int
public static final int WAREHOUSES_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static ShippingSettings getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ShippingSettings . Builder newBuilder ()
public static ShippingSettings . Builder newBuilder ( ShippingSettings prototype )
public static ShippingSettings parseDelimitedFrom ( InputStream input )
public static ShippingSettings parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ShippingSettings parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static ShippingSettings parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ShippingSettings parseFrom ( ByteString data )
public static ShippingSettings parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ShippingSettings parseFrom ( CodedInputStream input )
public static ShippingSettings parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ShippingSettings parseFrom ( InputStream input )
public static ShippingSettings parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ShippingSettings parseFrom ( ByteBuffer data )
public static ShippingSettings parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ShippingSettings> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public ShippingSettings getDefaultInstanceForType ()
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:
Set etag field as empty string for initial shipping setting creation.
After initial creation, call get method to obtain an etag and current
shipping setting data before call insert.
Modify to wanted shipping setting information.
Call insert method with the wanted shipping setting information with
the etag obtained from step 2.
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.
public 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:
Set etag field as empty string for initial shipping setting creation.
After initial creation, call get method to obtain an etag and current
shipping setting data before call insert.
Modify to wanted shipping setting information.
Call insert method with the wanted shipping setting information with
the etag obtained from step 2.
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.
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.
public 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.
public Parser<ShippingSettings> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public 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
public 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
public 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];
public 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
public 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 >
public 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
public 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
public 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];
public 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
public 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 >
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ShippingSettings . Builder newBuilderForType ()
protected ShippingSettings . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ShippingSettings . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]