public final class DeliveryTime extends GeneratedMessageV3 implements DeliveryTimeOrBuilder
Time spent in various aspects from order to the delivery of the product.
Protobuf type google.shopping.merchant.accounts.v1beta.DeliveryTime
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 CUTOFF_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int HANDLING_BUSINESS_DAY_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MAX_HANDLING_DAYS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MAX_TRANSIT_DAYS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MIN_HANDLING_DAYS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MIN_TRANSIT_DAYS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TRANSIT_BUSINESS_DAY_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TRANSIT_TIME_TABLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int WAREHOUSE_BASED_DELIVERY_TIMES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static DeliveryTime getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static DeliveryTime.Builder newBuilder()
public static DeliveryTime.Builder newBuilder(DeliveryTime prototype)
public static DeliveryTime parseDelimitedFrom(InputStream input)
public static DeliveryTime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DeliveryTime parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static DeliveryTime parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DeliveryTime parseFrom(ByteString data)
public static DeliveryTime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeliveryTime parseFrom(CodedInputStream input)
public static DeliveryTime parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DeliveryTime parseFrom(InputStream input)
public static DeliveryTime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DeliveryTime parseFrom(ByteBuffer data)
public static DeliveryTime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<DeliveryTime> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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.
|
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;
public DeliveryTime getDefaultInstanceForType()
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;
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;
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.
|
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.
|
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.
|
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.
|
public Parser<DeliveryTime> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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;
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;
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;
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;
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
|
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 |
|
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];
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
|
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> |
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public DeliveryTime.Builder newBuilderForType()
protected DeliveryTime.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public DeliveryTime.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides