Class Warehouse (0.7.0)

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

Implements

WarehouseOrBuilder

Static Fields

BUSINESS_DAY_CONFIG_FIELD_NUMBER

public static final int BUSINESS_DAY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

CUTOFF_TIME_FIELD_NUMBER

public static final int CUTOFF_TIME_FIELD_NUMBER
Field Value
Type Description
int

HANDLING_DAYS_FIELD_NUMBER

public static final int HANDLING_DAYS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SHIPPING_ADDRESS_FIELD_NUMBER

public static final int SHIPPING_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Warehouse getDefaultInstance()
Returns
Type Description
Warehouse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Warehouse.Builder newBuilder()
Returns
Type Description
Warehouse.Builder

newBuilder(Warehouse prototype)

public static Warehouse.Builder newBuilder(Warehouse prototype)
Parameter
Name Description
prototype Warehouse
Returns
Type Description
Warehouse.Builder

parseDelimitedFrom(InputStream input)

public static Warehouse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Warehouse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Warehouse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Warehouse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Warehouse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Warehouse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Warehouse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Warehouse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Warehouse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Warehouse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Warehouse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Warehouse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Warehouse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Warehouse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Warehouse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Warehouse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Warehouse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Warehouse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Warehouse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Warehouse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Warehouse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Warehouse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Warehouse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Warehouse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Warehouse> parser()
Returns
Type Description
Parser<Warehouse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBusinessDayConfig()

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;

Returns
Type Description
BusinessDayConfig

The businessDayConfig.

getBusinessDayConfigOrBuilder()

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;

Returns
Type Description
BusinessDayConfigOrBuilder

getCutoffTime()

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];

Returns
Type Description
WarehouseCutoffTime

The cutoffTime.

getCutoffTimeOrBuilder()

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];

Returns
Type Description
WarehouseCutoffTimeOrBuilder

getDefaultInstanceForType()

public Warehouse getDefaultInstanceForType()
Returns
Type Description
Warehouse

getHandlingDays()

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.

getName()

public String getName()

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.

getNameBytes()

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.

getParserForType()

public Parser<Warehouse> getParserForType()
Returns
Type Description
Parser<Warehouse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getShippingAddress()

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.

getShippingAddressOrBuilder()

public AddressOrBuilder getShippingAddressOrBuilder()

Required. Shipping address of the warehouse.

optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AddressOrBuilder

hasBusinessDayConfig()

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.

hasCutoffTime()

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.

hasHandlingDays()

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.

hasName()

public boolean hasName()

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.

hasShippingAddress()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Warehouse.Builder newBuilderForType()
Returns
Type Description
Warehouse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Warehouse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Warehouse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Warehouse.Builder toBuilder()
Returns
Type Description
Warehouse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException