Class OnlineReturnPolicy.SeasonalOverride (0.26.0)
1.23.0 (latest)
1.22.0
1.21.0
1.19.0
1.16.0
1.15.0
1.13.0
1.11.0
1.10.0
1.8.0
1.6.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0
0.26.0
0.24.0
0.23.0
0.20.0
0.19.0
0.18.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
0.9.0
0.8.0
0.7.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
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
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 2026-08-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-04 UTC."],[],[]]