public static final class OnlineReturnPolicy.SeasonalOverride extends GeneratedMessage implements OnlineReturnPolicy.SeasonalOverrideOrBuilder
Protobuf type google.shopping.merchant.accounts.v1.OnlineReturnPolicy.SeasonalOverride
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 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public OnlineReturnPolicy.SeasonalOverride.Builder newBuilderForType()
protected OnlineReturnPolicy.SeasonalOverride.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public OnlineReturnPolicy.SeasonalOverride.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides