Class ProductAttributes.ShippingBusinessDaysConfig (1.16.0)

public static final class ProductAttributes.ShippingBusinessDaysConfig extends GeneratedMessage implements ProductAttributes.ShippingBusinessDaysConfigOrBuilder

The business days during which orders are on their path to fulfillment. If not provided, Monday to Friday business days will be assumed.

Protobuf type google.shopping.merchant.products.v1.ProductAttributes.ShippingBusinessDaysConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ProductAttributes.ShippingBusinessDaysConfig

Static Fields

BUSINESS_DAYS_FIELD_NUMBER

public static final int BUSINESS_DAYS_FIELD_NUMBER
Field Value
Type Description
int

COUNTRY_FIELD_NUMBER

public static final int COUNTRY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProductAttributes.ShippingBusinessDaysConfig getDefaultInstance()
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfig

getDescriptor()

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

newBuilder()

public static ProductAttributes.ShippingBusinessDaysConfig.Builder newBuilder()
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfig.Builder

newBuilder(ProductAttributes.ShippingBusinessDaysConfig prototype)

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

parseDelimitedFrom(InputStream input)

public static ProductAttributes.ShippingBusinessDaysConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ProductAttributes.ShippingBusinessDaysConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ProductAttributes.ShippingBusinessDaysConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ProductAttributes.ShippingBusinessDaysConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ProductAttributes.ShippingBusinessDaysConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ProductAttributes.ShippingBusinessDaysConfig> parser()
Returns
Type Description
Parser<ShippingBusinessDaysConfig>

Methods

equals(Object obj)

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

getBusinessDays()

public String getBusinessDays()

Effective days of the week considered for the delivery time calculation. May not be empty. The more business days included the faster the delivery. Can be set through individual days (e.g. MTWRF), or day ranges (e.g. Mon-Fri). For more information about accepted formats, see Shipping handling business days.

optional string business_days = 2;

Returns
Type Description
String

The businessDays.

getBusinessDaysBytes()

public ByteString getBusinessDaysBytes()

Effective days of the week considered for the delivery time calculation. May not be empty. The more business days included the faster the delivery. Can be set through individual days (e.g. MTWRF), or day ranges (e.g. Mon-Fri). For more information about accepted formats, see Shipping handling business days.

optional string business_days = 2;

Returns
Type Description
ByteString

The bytes for businessDays.

getCountry()

public String getCountry()

The CLDR territory code of the country to which an item will ship.

optional string country = 1;

Returns
Type Description
String

The country.

getCountryBytes()

public ByteString getCountryBytes()

The CLDR territory code of the country to which an item will ship.

optional string country = 1;

Returns
Type Description
ByteString

The bytes for country.

getDefaultInstanceForType()

public ProductAttributes.ShippingBusinessDaysConfig getDefaultInstanceForType()
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfig

getParserForType()

public Parser<ProductAttributes.ShippingBusinessDaysConfig> getParserForType()
Returns
Type Description
Parser<ShippingBusinessDaysConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasBusinessDays()

public boolean hasBusinessDays()

Effective days of the week considered for the delivery time calculation. May not be empty. The more business days included the faster the delivery. Can be set through individual days (e.g. MTWRF), or day ranges (e.g. Mon-Fri). For more information about accepted formats, see Shipping handling business days.

optional string business_days = 2;

Returns
Type Description
boolean

Whether the businessDays field is set.

hasCountry()

public boolean hasCountry()

The CLDR territory code of the country to which an item will ship.

optional string country = 1;

Returns
Type Description
boolean

Whether the country field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProductAttributes.ShippingBusinessDaysConfig.Builder newBuilderForType()
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ProductAttributes.ShippingBusinessDaysConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfig.Builder
Overrides

toBuilder()

public ProductAttributes.ShippingBusinessDaysConfig.Builder toBuilder()
Returns
Type Description
ProductAttributes.ShippingBusinessDaysConfig.Builder

writeTo(CodedOutputStream output)

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