Class DeliveryTime.Builder (0.9.0)

public static final class DeliveryTime.Builder extends GeneratedMessageV3.Builder<DeliveryTime.Builder> implements DeliveryTimeOrBuilder

Time spent in various aspects from order to the delivery of the product.

Protobuf type google.shopping.merchant.accounts.v1beta.DeliveryTime

Static Methods

getDescriptor()

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

Methods

addAllWarehouseBasedDeliveryTimes(Iterable<? extends WarehouseBasedDeliveryTime> values)

public DeliveryTime.Builder addAllWarehouseBasedDeliveryTimes(Iterable<? extends WarehouseBasedDeliveryTime> values)

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime>
Returns
Type Description
DeliveryTime.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeliveryTime.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeliveryTime.Builder
Overrides

addWarehouseBasedDeliveryTimes(WarehouseBasedDeliveryTime value)

public DeliveryTime.Builder addWarehouseBasedDeliveryTimes(WarehouseBasedDeliveryTime value)

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value WarehouseBasedDeliveryTime
Returns
Type Description
DeliveryTime.Builder

addWarehouseBasedDeliveryTimes(WarehouseBasedDeliveryTime.Builder builderForValue)

public DeliveryTime.Builder addWarehouseBasedDeliveryTimes(WarehouseBasedDeliveryTime.Builder builderForValue)

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue WarehouseBasedDeliveryTime.Builder
Returns
Type Description
DeliveryTime.Builder

addWarehouseBasedDeliveryTimes(int index, WarehouseBasedDeliveryTime value)

public DeliveryTime.Builder addWarehouseBasedDeliveryTimes(int index, WarehouseBasedDeliveryTime value)

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value WarehouseBasedDeliveryTime
Returns
Type Description
DeliveryTime.Builder

addWarehouseBasedDeliveryTimes(int index, WarehouseBasedDeliveryTime.Builder builderForValue)

public DeliveryTime.Builder addWarehouseBasedDeliveryTimes(int index, WarehouseBasedDeliveryTime.Builder builderForValue)

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue WarehouseBasedDeliveryTime.Builder
Returns
Type Description
DeliveryTime.Builder

addWarehouseBasedDeliveryTimesBuilder()

public WarehouseBasedDeliveryTime.Builder addWarehouseBasedDeliveryTimesBuilder()

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WarehouseBasedDeliveryTime.Builder

addWarehouseBasedDeliveryTimesBuilder(int index)

public WarehouseBasedDeliveryTime.Builder addWarehouseBasedDeliveryTimesBuilder(int index)

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
WarehouseBasedDeliveryTime.Builder

build()

public DeliveryTime build()
Returns
Type Description
DeliveryTime

buildPartial()

public DeliveryTime buildPartial()
Returns
Type Description
DeliveryTime

clear()

public DeliveryTime.Builder clear()
Returns
Type Description
DeliveryTime.Builder
Overrides

clearCutoffTime()

public DeliveryTime.Builder clearCutoffTime()

Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST.

optional .google.shopping.merchant.accounts.v1beta.CutoffTime cutoff_time = 3;

Returns
Type Description
DeliveryTime.Builder

clearField(Descriptors.FieldDescriptor field)

public DeliveryTime.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeliveryTime.Builder
Overrides

clearHandlingBusinessDayConfig()

public DeliveryTime.Builder clearHandlingBusinessDayConfig()

The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig handling_business_day_config = 7;

Returns
Type Description
DeliveryTime.Builder

clearMaxHandlingDays()

public DeliveryTime.Builder clearMaxHandlingDays()

Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to min_handling_days. 'min_handling_days' and 'max_handling_days' should be either set or not set at the same time.

optional int32 max_handling_days = 5;

Returns
Type Description
DeliveryTime.Builder

This builder for chaining.

clearMaxTransitDays()

public DeliveryTime.Builder clearMaxTransitDays()

Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to min_transit_days.

optional int32 max_transit_days = 2;

Returns
Type Description
DeliveryTime.Builder

This builder for chaining.

clearMinHandlingDays()

public DeliveryTime.Builder clearMinHandlingDays()

Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. 'min_handling_days' and 'max_handling_days' should be either set or not set at the same time.

optional int32 min_handling_days = 4;

Returns
Type Description
DeliveryTime.Builder

This builder for chaining.

clearMinTransitDays()

public DeliveryTime.Builder clearMinTransitDays()

Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either min_transit_days, max_transit_days or transit_time_table must be set, but not both.

optional int32 min_transit_days = 1;

Returns
Type Description
DeliveryTime.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeliveryTime.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeliveryTime.Builder
Overrides

clearTransitBusinessDayConfig()

public DeliveryTime.Builder clearTransitBusinessDayConfig()

The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig transit_business_day_config = 8;

Returns
Type Description
DeliveryTime.Builder

clearTransitTimeTable()

public DeliveryTime.Builder clearTransitTimeTable()

Transit time table, number of business days spent in transit based on row and column dimensions. Either min_transit_days, max_transit_days or transit_time_table can be set, but not both.

optional .google.shopping.merchant.accounts.v1beta.TransitTable transit_time_table = 6;

Returns
Type Description
DeliveryTime.Builder

clearWarehouseBasedDeliveryTimes()

public DeliveryTime.Builder clearWarehouseBasedDeliveryTimes()

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeliveryTime.Builder

clone()

public DeliveryTime.Builder clone()
Returns
Type Description
DeliveryTime.Builder
Overrides

getCutoffTime()

public CutoffTime getCutoffTime()

Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST.

optional .google.shopping.merchant.accounts.v1beta.CutoffTime cutoff_time = 3;

Returns
Type Description
CutoffTime

The cutoffTime.

getCutoffTimeBuilder()

public CutoffTime.Builder getCutoffTimeBuilder()

Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST.

optional .google.shopping.merchant.accounts.v1beta.CutoffTime cutoff_time = 3;

Returns
Type Description
CutoffTime.Builder

getCutoffTimeOrBuilder()

public CutoffTimeOrBuilder getCutoffTimeOrBuilder()

Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST.

optional .google.shopping.merchant.accounts.v1beta.CutoffTime cutoff_time = 3;

Returns
Type Description
CutoffTimeOrBuilder

getDefaultInstanceForType()

public DeliveryTime getDefaultInstanceForType()
Returns
Type Description
DeliveryTime

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHandlingBusinessDayConfig()

public BusinessDayConfig getHandlingBusinessDayConfig()

The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig handling_business_day_config = 7;

Returns
Type Description
BusinessDayConfig

The handlingBusinessDayConfig.

getHandlingBusinessDayConfigBuilder()

public BusinessDayConfig.Builder getHandlingBusinessDayConfigBuilder()

The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig handling_business_day_config = 7;

Returns
Type Description
BusinessDayConfig.Builder

getHandlingBusinessDayConfigOrBuilder()

public BusinessDayConfigOrBuilder getHandlingBusinessDayConfigOrBuilder()

The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig handling_business_day_config = 7;

Returns
Type Description
BusinessDayConfigOrBuilder

getMaxHandlingDays()

public int getMaxHandlingDays()

Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to min_handling_days. 'min_handling_days' and 'max_handling_days' should be either set or not set at the same time.

optional int32 max_handling_days = 5;

Returns
Type Description
int

The maxHandlingDays.

getMaxTransitDays()

public int getMaxTransitDays()

Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to min_transit_days.

optional int32 max_transit_days = 2;

Returns
Type Description
int

The maxTransitDays.

getMinHandlingDays()

public int getMinHandlingDays()

Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. 'min_handling_days' and 'max_handling_days' should be either set or not set at the same time.

optional int32 min_handling_days = 4;

Returns
Type Description
int

The minHandlingDays.

getMinTransitDays()

public int getMinTransitDays()

Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either min_transit_days, max_transit_days or transit_time_table must be set, but not both.

optional int32 min_transit_days = 1;

Returns
Type Description
int

The minTransitDays.

getTransitBusinessDayConfig()

public BusinessDayConfig getTransitBusinessDayConfig()

The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig transit_business_day_config = 8;

Returns
Type Description
BusinessDayConfig

The transitBusinessDayConfig.

getTransitBusinessDayConfigBuilder()

public BusinessDayConfig.Builder getTransitBusinessDayConfigBuilder()

The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig transit_business_day_config = 8;

Returns
Type Description
BusinessDayConfig.Builder

getTransitBusinessDayConfigOrBuilder()

public BusinessDayConfigOrBuilder getTransitBusinessDayConfigOrBuilder()

The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig transit_business_day_config = 8;

Returns
Type Description
BusinessDayConfigOrBuilder

getTransitTimeTable()

public TransitTable getTransitTimeTable()

Transit time table, number of business days spent in transit based on row and column dimensions. Either min_transit_days, max_transit_days or transit_time_table can be set, but not both.

optional .google.shopping.merchant.accounts.v1beta.TransitTable transit_time_table = 6;

Returns
Type Description
TransitTable

The transitTimeTable.

getTransitTimeTableBuilder()

public TransitTable.Builder getTransitTimeTableBuilder()

Transit time table, number of business days spent in transit based on row and column dimensions. Either min_transit_days, max_transit_days or transit_time_table can be set, but not both.

optional .google.shopping.merchant.accounts.v1beta.TransitTable transit_time_table = 6;

Returns
Type Description
TransitTable.Builder

getTransitTimeTableOrBuilder()

public TransitTableOrBuilder getTransitTimeTableOrBuilder()

Transit time table, number of business days spent in transit based on row and column dimensions. Either min_transit_days, max_transit_days or transit_time_table can be set, but not both.

optional .google.shopping.merchant.accounts.v1beta.TransitTable transit_time_table = 6;

Returns
Type Description
TransitTableOrBuilder

getWarehouseBasedDeliveryTimes(int index)

public WarehouseBasedDeliveryTime getWarehouseBasedDeliveryTimes(int index)

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
WarehouseBasedDeliveryTime

getWarehouseBasedDeliveryTimesBuilder(int index)

public WarehouseBasedDeliveryTime.Builder getWarehouseBasedDeliveryTimesBuilder(int index)

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
WarehouseBasedDeliveryTime.Builder

getWarehouseBasedDeliveryTimesBuilderList()

public List<WarehouseBasedDeliveryTime.Builder> getWarehouseBasedDeliveryTimesBuilderList()

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getWarehouseBasedDeliveryTimesCount()

public int getWarehouseBasedDeliveryTimesCount()

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getWarehouseBasedDeliveryTimesList()

public List<WarehouseBasedDeliveryTime> getWarehouseBasedDeliveryTimesList()

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<WarehouseBasedDeliveryTime>

getWarehouseBasedDeliveryTimesOrBuilder(int index)

public WarehouseBasedDeliveryTimeOrBuilder getWarehouseBasedDeliveryTimesOrBuilder(int index)

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
WarehouseBasedDeliveryTimeOrBuilder

getWarehouseBasedDeliveryTimesOrBuilderList()

public List<? extends WarehouseBasedDeliveryTimeOrBuilder> getWarehouseBasedDeliveryTimesOrBuilderList()

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTimeOrBuilder>

hasCutoffTime()

public boolean hasCutoffTime()

Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST.

optional .google.shopping.merchant.accounts.v1beta.CutoffTime cutoff_time = 3;

Returns
Type Description
boolean

Whether the cutoffTime field is set.

hasHandlingBusinessDayConfig()

public boolean hasHandlingBusinessDayConfig()

The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig handling_business_day_config = 7;

Returns
Type Description
boolean

Whether the handlingBusinessDayConfig field is set.

hasMaxHandlingDays()

public boolean hasMaxHandlingDays()

Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to min_handling_days. 'min_handling_days' and 'max_handling_days' should be either set or not set at the same time.

optional int32 max_handling_days = 5;

Returns
Type Description
boolean

Whether the maxHandlingDays field is set.

hasMaxTransitDays()

public boolean hasMaxTransitDays()

Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to min_transit_days.

optional int32 max_transit_days = 2;

Returns
Type Description
boolean

Whether the maxTransitDays field is set.

hasMinHandlingDays()

public boolean hasMinHandlingDays()

Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. 'min_handling_days' and 'max_handling_days' should be either set or not set at the same time.

optional int32 min_handling_days = 4;

Returns
Type Description
boolean

Whether the minHandlingDays field is set.

hasMinTransitDays()

public boolean hasMinTransitDays()

Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either min_transit_days, max_transit_days or transit_time_table must be set, but not both.

optional int32 min_transit_days = 1;

Returns
Type Description
boolean

Whether the minTransitDays field is set.

hasTransitBusinessDayConfig()

public boolean hasTransitBusinessDayConfig()

The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig transit_business_day_config = 8;

Returns
Type Description
boolean

Whether the transitBusinessDayConfig field is set.

hasTransitTimeTable()

public boolean hasTransitTimeTable()

Transit time table, number of business days spent in transit based on row and column dimensions. Either min_transit_days, max_transit_days or transit_time_table can be set, but not both.

optional .google.shopping.merchant.accounts.v1beta.TransitTable transit_time_table = 6;

Returns
Type Description
boolean

Whether the transitTimeTable field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCutoffTime(CutoffTime value)

public DeliveryTime.Builder mergeCutoffTime(CutoffTime value)

Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST.

optional .google.shopping.merchant.accounts.v1beta.CutoffTime cutoff_time = 3;

Parameter
Name Description
value CutoffTime
Returns
Type Description
DeliveryTime.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeliveryTime.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeliveryTime.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeliveryTime.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeliveryTime.Builder
Overrides

mergeFrom(DeliveryTime other)

public DeliveryTime.Builder mergeFrom(DeliveryTime other)
Parameter
Name Description
other DeliveryTime
Returns
Type Description
DeliveryTime.Builder

mergeHandlingBusinessDayConfig(BusinessDayConfig value)

public DeliveryTime.Builder mergeHandlingBusinessDayConfig(BusinessDayConfig value)

The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig handling_business_day_config = 7;

Parameter
Name Description
value BusinessDayConfig
Returns
Type Description
DeliveryTime.Builder

mergeTransitBusinessDayConfig(BusinessDayConfig value)

public DeliveryTime.Builder mergeTransitBusinessDayConfig(BusinessDayConfig value)

The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig transit_business_day_config = 8;

Parameter
Name Description
value BusinessDayConfig
Returns
Type Description
DeliveryTime.Builder

mergeTransitTimeTable(TransitTable value)

public DeliveryTime.Builder mergeTransitTimeTable(TransitTable value)

Transit time table, number of business days spent in transit based on row and column dimensions. Either min_transit_days, max_transit_days or transit_time_table can be set, but not both.

optional .google.shopping.merchant.accounts.v1beta.TransitTable transit_time_table = 6;

Parameter
Name Description
value TransitTable
Returns
Type Description
DeliveryTime.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeliveryTime.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeliveryTime.Builder
Overrides

removeWarehouseBasedDeliveryTimes(int index)

public DeliveryTime.Builder removeWarehouseBasedDeliveryTimes(int index)

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DeliveryTime.Builder

setCutoffTime(CutoffTime value)

public DeliveryTime.Builder setCutoffTime(CutoffTime value)

Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST.

optional .google.shopping.merchant.accounts.v1beta.CutoffTime cutoff_time = 3;

Parameter
Name Description
value CutoffTime
Returns
Type Description
DeliveryTime.Builder

setCutoffTime(CutoffTime.Builder builderForValue)

public DeliveryTime.Builder setCutoffTime(CutoffTime.Builder builderForValue)

Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST.

optional .google.shopping.merchant.accounts.v1beta.CutoffTime cutoff_time = 3;

Parameter
Name Description
builderForValue CutoffTime.Builder
Returns
Type Description
DeliveryTime.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DeliveryTime.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeliveryTime.Builder
Overrides

setHandlingBusinessDayConfig(BusinessDayConfig value)

public DeliveryTime.Builder setHandlingBusinessDayConfig(BusinessDayConfig value)

The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig handling_business_day_config = 7;

Parameter
Name Description
value BusinessDayConfig
Returns
Type Description
DeliveryTime.Builder

setHandlingBusinessDayConfig(BusinessDayConfig.Builder builderForValue)

public DeliveryTime.Builder setHandlingBusinessDayConfig(BusinessDayConfig.Builder builderForValue)

The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig handling_business_day_config = 7;

Parameter
Name Description
builderForValue BusinessDayConfig.Builder
Returns
Type Description
DeliveryTime.Builder

setMaxHandlingDays(int value)

public DeliveryTime.Builder setMaxHandlingDays(int value)

Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to min_handling_days. 'min_handling_days' and 'max_handling_days' should be either set or not set at the same time.

optional int32 max_handling_days = 5;

Parameter
Name Description
value int

The maxHandlingDays to set.

Returns
Type Description
DeliveryTime.Builder

This builder for chaining.

setMaxTransitDays(int value)

public DeliveryTime.Builder setMaxTransitDays(int value)

Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to min_transit_days.

optional int32 max_transit_days = 2;

Parameter
Name Description
value int

The maxTransitDays to set.

Returns
Type Description
DeliveryTime.Builder

This builder for chaining.

setMinHandlingDays(int value)

public DeliveryTime.Builder setMinHandlingDays(int value)

Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. 'min_handling_days' and 'max_handling_days' should be either set or not set at the same time.

optional int32 min_handling_days = 4;

Parameter
Name Description
value int

The minHandlingDays to set.

Returns
Type Description
DeliveryTime.Builder

This builder for chaining.

setMinTransitDays(int value)

public DeliveryTime.Builder setMinTransitDays(int value)

Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either min_transit_days, max_transit_days or transit_time_table must be set, but not both.

optional int32 min_transit_days = 1;

Parameter
Name Description
value int

The minTransitDays to set.

Returns
Type Description
DeliveryTime.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeliveryTime.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeliveryTime.Builder
Overrides

setTransitBusinessDayConfig(BusinessDayConfig value)

public DeliveryTime.Builder setTransitBusinessDayConfig(BusinessDayConfig value)

The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig transit_business_day_config = 8;

Parameter
Name Description
value BusinessDayConfig
Returns
Type Description
DeliveryTime.Builder

setTransitBusinessDayConfig(BusinessDayConfig.Builder builderForValue)

public DeliveryTime.Builder setTransitBusinessDayConfig(BusinessDayConfig.Builder builderForValue)

The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed.

optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig transit_business_day_config = 8;

Parameter
Name Description
builderForValue BusinessDayConfig.Builder
Returns
Type Description
DeliveryTime.Builder

setTransitTimeTable(TransitTable value)

public DeliveryTime.Builder setTransitTimeTable(TransitTable value)

Transit time table, number of business days spent in transit based on row and column dimensions. Either min_transit_days, max_transit_days or transit_time_table can be set, but not both.

optional .google.shopping.merchant.accounts.v1beta.TransitTable transit_time_table = 6;

Parameter
Name Description
value TransitTable
Returns
Type Description
DeliveryTime.Builder

setTransitTimeTable(TransitTable.Builder builderForValue)

public DeliveryTime.Builder setTransitTimeTable(TransitTable.Builder builderForValue)

Transit time table, number of business days spent in transit based on row and column dimensions. Either min_transit_days, max_transit_days or transit_time_table can be set, but not both.

optional .google.shopping.merchant.accounts.v1beta.TransitTable transit_time_table = 6;

Parameter
Name Description
builderForValue TransitTable.Builder
Returns
Type Description
DeliveryTime.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DeliveryTime.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeliveryTime.Builder
Overrides

setWarehouseBasedDeliveryTimes(int index, WarehouseBasedDeliveryTime value)

public DeliveryTime.Builder setWarehouseBasedDeliveryTimes(int index, WarehouseBasedDeliveryTime value)

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value WarehouseBasedDeliveryTime
Returns
Type Description
DeliveryTime.Builder

setWarehouseBasedDeliveryTimes(int index, WarehouseBasedDeliveryTime.Builder builderForValue)

public DeliveryTime.Builder setWarehouseBasedDeliveryTimes(int index, WarehouseBasedDeliveryTime.Builder builderForValue)

Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.

repeated .google.shopping.merchant.accounts.v1beta.WarehouseBasedDeliveryTime warehouse_based_delivery_times = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue WarehouseBasedDeliveryTime.Builder
Returns
Type Description
DeliveryTime.Builder