Send feedback
Class OnlineReturnPolicy.SeasonalOverride (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class OnlineReturnPolicy . SeasonalOverride extends GeneratedMessageV3 implements OnlineReturnPolicy . SeasonalOverrideOrBuilder
Protobuf type
google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.SeasonalOverride
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 END_DATE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int LABEL_FIELD_NUMBER
Field Value
Type
Description
int
public static final int RETURN_DAYS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int RETURN_UNTIL_DATE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int START_DATE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static OnlineReturnPolicy . SeasonalOverride getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static OnlineReturnPolicy . SeasonalOverride . Builder newBuilder ()
public static OnlineReturnPolicy . SeasonalOverride . Builder newBuilder ( OnlineReturnPolicy . SeasonalOverride prototype )
public static OnlineReturnPolicy . SeasonalOverride parseDelimitedFrom ( InputStream input )
public static OnlineReturnPolicy . SeasonalOverride parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static OnlineReturnPolicy . SeasonalOverride parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static OnlineReturnPolicy . SeasonalOverride parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static OnlineReturnPolicy . SeasonalOverride parseFrom ( ByteString data )
public static OnlineReturnPolicy . SeasonalOverride parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static OnlineReturnPolicy . SeasonalOverride parseFrom ( CodedInputStream input )
public static OnlineReturnPolicy . SeasonalOverride parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static OnlineReturnPolicy . SeasonalOverride parseFrom ( InputStream input )
public static OnlineReturnPolicy . SeasonalOverride parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static OnlineReturnPolicy . SeasonalOverride parseFrom ( ByteBuffer data )
public static OnlineReturnPolicy . SeasonalOverride parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<OnlineReturnPolicy . SeasonalOverride > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public OnlineReturnPolicy . SeasonalOverride getDefaultInstanceForType ()
Required. seasonal override end date (inclusive).
.google.type.Date end_date = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
com.google.type.Date
The endDate.
public DateOrBuilder getEndDateOrBuilder ()
Required. seasonal override end date (inclusive).
.google.type.Date end_date = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
com.google.type.DateOrBuilder
Required. Display name of this seasonal override in Merchant Center.
string label = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The label.
public ByteString getLabelBytes ()
Required. Display name of this seasonal override in Merchant Center.
string label = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for label.
public Parser<OnlineReturnPolicy . SeasonalOverride > getParserForType ()
Overrides
public int getReturnDays ()
Number of days (from the delivery date) that the product can be
returned.
int32 return_days = 5;
Returns
Type
Description
int
The returnDays.
public Date getReturnUntilDate ()
Fixed end date until which the product can be returned.
.google.type.Date return_until_date = 6;
Returns
Type
Description
com.google.type.Date
The returnUntilDate.
public DateOrBuilder getReturnUntilDateOrBuilder ()
Fixed end date until which the product can be returned.
.google.type.Date return_until_date = 6;
Returns
Type
Description
com.google.type.DateOrBuilder
public OnlineReturnPolicy . SeasonalOverride . ReturnWindowCase getReturnWindowCase ()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public Date getStartDate ()
Required. Defines the date range when this seasonal override applies.
Both start_date and end_date are inclusive.
The dates of the seasonal overrides should not overlap.
.google.type.Date start_date = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
com.google.type.Date
The startDate.
public DateOrBuilder getStartDateOrBuilder ()
Required. Defines the date range when this seasonal override applies.
Both start_date and end_date are inclusive.
The dates of the seasonal overrides should not overlap.
.google.type.Date start_date = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
com.google.type.DateOrBuilder
public boolean hasEndDate ()
Required. seasonal override end date (inclusive).
.google.type.Date end_date = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the endDate field is set.
public boolean hasReturnDays ()
Number of days (from the delivery date) that the product can be
returned.
int32 return_days = 5;
Returns
Type
Description
boolean
Whether the returnDays field is set.
public boolean hasReturnUntilDate ()
Fixed end date until which the product can be returned.
.google.type.Date return_until_date = 6;
Returns
Type
Description
boolean
Whether the returnUntilDate field is set.
public boolean hasStartDate ()
Required. Defines the date range when this seasonal override applies.
Both start_date and end_date are inclusive.
The dates of the seasonal overrides should not overlap.
.google.type.Date start_date = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the startDate field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public OnlineReturnPolicy . SeasonalOverride . Builder newBuilderForType ()
protected OnlineReturnPolicy . SeasonalOverride . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public OnlineReturnPolicy . SeasonalOverride . 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-03-22 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-03-22 UTC."],[],[]]