Send feedback
Class Warehouse (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 Warehouse extends GeneratedMessageV3 implements WarehouseOrBuilder
A fulfillment warehouse, which stores and handles inventory.
Next tag: 7
Protobuf type google.shopping.merchant.accounts.v1beta.Warehouse
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 BUSINESS_DAY_CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
public static final int CUTOFF_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int HANDLING_DAYS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SHIPPING_ADDRESS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static Warehouse getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static Warehouse . Builder newBuilder ()
public static Warehouse . Builder newBuilder ( Warehouse prototype )
Parameter
Name
Description
prototype
Warehouse
public static Warehouse parseDelimitedFrom ( InputStream input )
public static Warehouse parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Warehouse parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static Warehouse parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static Warehouse parseFrom ( ByteString data )
public static Warehouse parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Warehouse parseFrom ( CodedInputStream input )
public static Warehouse parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Warehouse parseFrom ( InputStream input )
public static Warehouse parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Warehouse parseFrom ( ByteBuffer data )
public static Warehouse parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<Warehouse> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public BusinessDayConfig getBusinessDayConfig ()
Business days of the warehouse.
If not set, will be Monday to Friday by default.
optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5;
public BusinessDayConfigOrBuilder getBusinessDayConfigOrBuilder ()
Business days of the warehouse.
If not set, will be Monday to Friday by default.
optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5;
public WarehouseCutoffTime getCutoffTime ()
Required. The latest time of day that an order can be accepted and begin
processing. Later orders will be processed in the next day. The time is
based on the warehouse postal code.
optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED];
public WarehouseCutoffTimeOrBuilder getCutoffTimeOrBuilder ()
Required. The latest time of day that an order can be accepted and begin
processing. Later orders will be processed in the next day. The time is
based on the warehouse postal code.
optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED];
public Warehouse getDefaultInstanceForType ()
public long getHandlingDays ()
Required. The number of days it takes for this warehouse to pack up and
ship an item. This is on the warehouse level, but can be overridden on the
offer level based on the attributes of an item.
optional int64 handling_days = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
long
The handlingDays.
Required. The name of the warehouse. Must be unique within account.
optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The name.
public ByteString getNameBytes ()
Required. The name of the warehouse. Must be unique within account.
optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for name.
public Parser<Warehouse> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public Address getShippingAddress ()
Required. Shipping address of the warehouse.
optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
Address
The shippingAddress.
public AddressOrBuilder getShippingAddressOrBuilder ()
Required. Shipping address of the warehouse.
optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED];
public boolean hasBusinessDayConfig ()
Business days of the warehouse.
If not set, will be Monday to Friday by default.
optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5;
Returns
Type
Description
boolean
Whether the businessDayConfig field is set.
public boolean hasCutoffTime ()
Required. The latest time of day that an order can be accepted and begin
processing. Later orders will be processed in the next day. The time is
based on the warehouse postal code.
optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the cutoffTime field is set.
public boolean hasHandlingDays ()
Required. The number of days it takes for this warehouse to pack up and
ship an item. This is on the warehouse level, but can be overridden on the
offer level based on the attributes of an item.
optional int64 handling_days = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the handlingDays field is set.
Required. The name of the warehouse. Must be unique within account.
optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the name field is set.
public boolean hasShippingAddress ()
Required. Shipping address of the warehouse.
optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the shippingAddress field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Warehouse . Builder newBuilderForType ()
protected Warehouse . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public Warehouse . 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-27 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-27 UTC."],[],[]]