Send feedback
Class Service.StoreConfig.CutoffConfig (0.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.4.0 keyboard_arrow_down
public static final class Service . StoreConfig . CutoffConfig extends GeneratedMessageV3 implements Service . StoreConfig . CutoffConfigOrBuilder
Configs related to local delivery ends for the day.
Protobuf type
google.shopping.merchant.accounts.v1beta.Service.StoreConfig.CutoffConfig
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 LOCAL_CUTOFF_TIME_FIELD_NUMBER
Field Value
Type
Description
int
NO_DELIVERY_POST_CUTOFF_FIELD_NUMBER
public static final int NO_DELIVERY_POST_CUTOFF_FIELD_NUMBER
Field Value
Type
Description
int
public static final int STORE_CLOSE_OFFSET_HOURS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static Service . StoreConfig . CutoffConfig getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static Service . StoreConfig . CutoffConfig . Builder newBuilder ()
public static Service . StoreConfig . CutoffConfig . Builder newBuilder ( Service . StoreConfig . CutoffConfig prototype )
public static Service . StoreConfig . CutoffConfig parseDelimitedFrom ( InputStream input )
public static Service . StoreConfig . CutoffConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Service . StoreConfig . CutoffConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static Service . StoreConfig . CutoffConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static Service . StoreConfig . CutoffConfig parseFrom ( ByteString data )
public static Service . StoreConfig . CutoffConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Service . StoreConfig . CutoffConfig parseFrom ( CodedInputStream input )
public static Service . StoreConfig . CutoffConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Service . StoreConfig . CutoffConfig parseFrom ( InputStream input )
public static Service . StoreConfig . CutoffConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Service . StoreConfig . CutoffConfig parseFrom ( ByteBuffer data )
public static Service . StoreConfig . CutoffConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<Service . StoreConfig . CutoffConfig > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public Service . StoreConfig . CutoffConfig getDefaultInstanceForType ()
public Service . StoreConfig . CutoffConfig . LocalCutoffTime getLocalCutoffTime ()
Time that local delivery ends for the day.
optional .google.shopping.merchant.accounts.v1beta.Service.StoreConfig.CutoffConfig.LocalCutoffTime local_cutoff_time = 1;
public Service . StoreConfig . CutoffConfig . LocalCutoffTimeOrBuilder getLocalCutoffTimeOrBuilder ()
Time that local delivery ends for the day.
optional .google.shopping.merchant.accounts.v1beta.Service.StoreConfig.CutoffConfig.LocalCutoffTime local_cutoff_time = 1;
getNoDeliveryPostCutoff()
public boolean getNoDeliveryPostCutoff ()
Merchants can opt-out of showing n+1 day local delivery when they have
a shipping service configured to n day local delivery. For example, if
the shipping service defines same-day delivery, and it's past the
cut-off, setting this field to true
results in the calculated
shipping service rate returning NO_DELIVERY_POST_CUTOFF
. In the
same example, setting this field to false
results in the calculated
shipping time being one day. This is only for local delivery.
optional bool no_delivery_post_cutoff = 3;
Returns
Type
Description
boolean
The noDeliveryPostCutoff.
public Parser<Service . StoreConfig . CutoffConfig > getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public long getStoreCloseOffsetHours ()
Only valid with local delivery fulfillment. Represents cutoff time
as the number of hours before store closing. Mutually exclusive
with local_cutoff_time
.
optional int64 store_close_offset_hours = 2;
Returns
Type
Description
long
The storeCloseOffsetHours.
public boolean hasLocalCutoffTime ()
Time that local delivery ends for the day.
optional .google.shopping.merchant.accounts.v1beta.Service.StoreConfig.CutoffConfig.LocalCutoffTime local_cutoff_time = 1;
Returns
Type
Description
boolean
Whether the localCutoffTime field is set.
hasNoDeliveryPostCutoff()
public boolean hasNoDeliveryPostCutoff ()
Merchants can opt-out of showing n+1 day local delivery when they have
a shipping service configured to n day local delivery. For example, if
the shipping service defines same-day delivery, and it's past the
cut-off, setting this field to true
results in the calculated
shipping service rate returning NO_DELIVERY_POST_CUTOFF
. In the
same example, setting this field to false
results in the calculated
shipping time being one day. This is only for local delivery.
optional bool no_delivery_post_cutoff = 3;
Returns
Type
Description
boolean
Whether the noDeliveryPostCutoff field is set.
public boolean hasStoreCloseOffsetHours ()
Only valid with local delivery fulfillment. Represents cutoff time
as the number of hours before store closing. Mutually exclusive
with local_cutoff_time
.
optional int64 store_close_offset_hours = 2;
Returns
Type
Description
boolean
Whether the storeCloseOffsetHours field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Service . StoreConfig . CutoffConfig . Builder newBuilderForType ()
protected Service . StoreConfig . CutoffConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public Service . StoreConfig . CutoffConfig . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]