public static final class ProductAttributes.ShippingBusinessDaysConfig.Builder extends GeneratedMessage.Builder<ProductAttributes.ShippingBusinessDaysConfig.Builder> implements ProductAttributes.ShippingBusinessDaysConfigOrBuilderThe 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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProductAttributes.ShippingBusinessDaysConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ProductAttributes.ShippingBusinessDaysConfig build()| Returns | |
|---|---|
| Type | Description |
ProductAttributes.ShippingBusinessDaysConfig |
|
buildPartial()
public ProductAttributes.ShippingBusinessDaysConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ProductAttributes.ShippingBusinessDaysConfig |
|
clear()
public ProductAttributes.ShippingBusinessDaysConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ProductAttributes.ShippingBusinessDaysConfig.Builder |
|
clearBusinessDays()
public ProductAttributes.ShippingBusinessDaysConfig.Builder clearBusinessDays() 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 |
ProductAttributes.ShippingBusinessDaysConfig.Builder |
This builder for chaining. |
clearCountry()
public ProductAttributes.ShippingBusinessDaysConfig.Builder clearCountry()The CLDR territory code of the country to which an item will ship.
optional string country = 1;
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.ShippingBusinessDaysConfig.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProductAttributes.ShippingBusinessDaysConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.ShippingBusinessDaysConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProductAttributes.ShippingBusinessDaysConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.ShippingBusinessDaysConfig.Builder |
|
mergeFrom(ProductAttributes.ShippingBusinessDaysConfig other)
public ProductAttributes.ShippingBusinessDaysConfig.Builder mergeFrom(ProductAttributes.ShippingBusinessDaysConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ProductAttributes.ShippingBusinessDaysConfig |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.ShippingBusinessDaysConfig.Builder |
|
setBusinessDays(String value)
public ProductAttributes.ShippingBusinessDaysConfig.Builder setBusinessDays(String value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe businessDays to set. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.ShippingBusinessDaysConfig.Builder |
This builder for chaining. |
setBusinessDaysBytes(ByteString value)
public ProductAttributes.ShippingBusinessDaysConfig.Builder setBusinessDaysBytes(ByteString value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for businessDays to set. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.ShippingBusinessDaysConfig.Builder |
This builder for chaining. |
setCountry(String value)
public ProductAttributes.ShippingBusinessDaysConfig.Builder setCountry(String value)The CLDR territory code of the country to which an item will ship.
optional string country = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe country to set. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.ShippingBusinessDaysConfig.Builder |
This builder for chaining. |
setCountryBytes(ByteString value)
public ProductAttributes.ShippingBusinessDaysConfig.Builder setCountryBytes(ByteString value)The CLDR territory code of the country to which an item will ship.
optional string country = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for country to set. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.ShippingBusinessDaysConfig.Builder |
This builder for chaining. |