public final class HandlingCutoffTime extends GeneratedMessage implements HandlingCutoffTimeOrBuilder
Configuration for offer or offer-country level shipping handling cutoff time.
Protobuf type google.shopping.merchant.products.v1.HandlingCutoffTime
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int COUNTRY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int CUTOFF_TIMEZONE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int CUTOFF_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int DISABLE_DELIVERY_AFTER_CUTOFF_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static HandlingCutoffTime getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static HandlingCutoffTime.Builder newBuilder()
public static HandlingCutoffTime.Builder newBuilder(HandlingCutoffTime prototype)
public static HandlingCutoffTime parseDelimitedFrom(InputStream input)
public static HandlingCutoffTime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static HandlingCutoffTime parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static HandlingCutoffTime parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HandlingCutoffTime parseFrom(ByteString data)
public static HandlingCutoffTime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HandlingCutoffTime parseFrom(CodedInputStream input)
public static HandlingCutoffTime parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HandlingCutoffTime parseFrom(InputStream input)
public static HandlingCutoffTime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static HandlingCutoffTime parseFrom(ByteBuffer data)
public static HandlingCutoffTime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<HandlingCutoffTime> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public String getCountry()
The CLDR territory
code
of the country to which the handling cutoff time applies.
optional string country = 1;
| Returns |
| Type |
Description |
String |
The country.
|
public ByteString getCountryBytes()
The CLDR territory
code
of the country to which the handling cutoff time applies.
optional string country = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for country.
|
public String getCutoffTime()
The handling cutoff time until which an order has to be placed to be
processed in the same day. This is a string in format of HHMM (e.g. 1530)
for 3:30 PM.
If not configured, the cutoff time will be defaulted to 8AM PST.
optional string cutoff_time = 2;
| Returns |
| Type |
Description |
String |
The cutoffTime.
|
public ByteString getCutoffTimeBytes()
The handling cutoff time until which an order has to be placed to be
processed in the same day. This is a string in format of HHMM (e.g. 1530)
for 3:30 PM.
If not configured, the cutoff time will be defaulted to 8AM PST.
optional string cutoff_time = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for cutoffTime.
|
public String getCutoffTimezone()
Timezone
identifier
For example 'Europe/Zurich'. If not set, the shipping destination
timezone will be used.
optional string cutoff_timezone = 3;
| Returns |
| Type |
Description |
String |
The cutoffTimezone.
|
public ByteString getCutoffTimezoneBytes()
Timezone
identifier
For example 'Europe/Zurich'. If not set, the shipping destination
timezone will be used.
optional string cutoff_timezone = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for cutoffTimezone.
|
public HandlingCutoffTime getDefaultInstanceForType()
public boolean getDisableDeliveryAfterCutoff()
This field only applies to same-day delivery. If true, prevents next-day
delivery from being shown for this offer after the cutoff time. This field
only applies to same-day delivery offers, for merchants who want to
explicitly disable it.
optional bool disable_delivery_after_cutoff = 4;
| Returns |
| Type |
Description |
boolean |
The disableDeliveryAfterCutoff.
|
public Parser<HandlingCutoffTime> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public boolean hasCountry()
The CLDR territory
code
of the country to which the handling cutoff time applies.
optional string country = 1;
| Returns |
| Type |
Description |
boolean |
Whether the country field is set.
|
public boolean hasCutoffTime()
The handling cutoff time until which an order has to be placed to be
processed in the same day. This is a string in format of HHMM (e.g. 1530)
for 3:30 PM.
If not configured, the cutoff time will be defaulted to 8AM PST.
optional string cutoff_time = 2;
| Returns |
| Type |
Description |
boolean |
Whether the cutoffTime field is set.
|
public boolean hasCutoffTimezone()
Timezone
identifier
For example 'Europe/Zurich'. If not set, the shipping destination
timezone will be used.
optional string cutoff_timezone = 3;
| Returns |
| Type |
Description |
boolean |
Whether the cutoffTimezone field is set.
|
public boolean hasDisableDeliveryAfterCutoff()
This field only applies to same-day delivery. If true, prevents next-day
delivery from being shown for this offer after the cutoff time. This field
only applies to same-day delivery offers, for merchants who want to
explicitly disable it.
optional bool disable_delivery_after_cutoff = 4;
| Returns |
| Type |
Description |
boolean |
Whether the disableDeliveryAfterCutoff field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public HandlingCutoffTime.Builder newBuilderForType()
protected HandlingCutoffTime.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public HandlingCutoffTime.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides