Class PromotionAsset
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.common.PromotionAsset
-
- All Implemented Interfaces:
PromotionAssetOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class PromotionAsset extends com.google.protobuf.GeneratedMessageV3 implements PromotionAssetOrBuilder
A Promotion asset.
Protobuf typegoogle.ads.googleads.v10.common.PromotionAsset- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPromotionAsset.BuilderA Promotion asset.static classPromotionAsset.DiscountTypeCasestatic classPromotionAsset.PromotionTriggerCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAD_SCHEDULE_TARGETS_FIELD_NUMBERstatic intDISCOUNT_MODIFIER_FIELD_NUMBERstatic intEND_DATE_FIELD_NUMBERstatic intLANGUAGE_CODE_FIELD_NUMBERstatic intMONEY_AMOUNT_OFF_FIELD_NUMBERstatic intOCCASION_FIELD_NUMBERstatic intORDERS_OVER_AMOUNT_FIELD_NUMBERstatic intPERCENT_OFF_FIELD_NUMBERstatic intPROMOTION_CODE_FIELD_NUMBERstatic intPROMOTION_TARGET_FIELD_NUMBERstatic intREDEMPTION_END_DATE_FIELD_NUMBERstatic intREDEMPTION_START_DATE_FIELD_NUMBERstatic intSTART_DATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)AdScheduleInfogetAdScheduleTargets(int index)List of non-overlapping schedules specifying all time intervals for which the asset may serve.intgetAdScheduleTargetsCount()List of non-overlapping schedules specifying all time intervals for which the asset may serve.java.util.List<AdScheduleInfo>getAdScheduleTargetsList()List of non-overlapping schedules specifying all time intervals for which the asset may serve.AdScheduleInfoOrBuildergetAdScheduleTargetsOrBuilder(int index)List of non-overlapping schedules specifying all time intervals for which the asset may serve.java.util.List<? extends AdScheduleInfoOrBuilder>getAdScheduleTargetsOrBuilderList()List of non-overlapping schedules specifying all time intervals for which the asset may serve.static PromotionAssetgetDefaultInstance()PromotionAssetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifiergetDiscountModifier()A modifier for qualification of the discount.intgetDiscountModifierValue()A modifier for qualification of the discount.PromotionAsset.DiscountTypeCasegetDiscountTypeCase()java.lang.StringgetEndDate()Last date of when this asset is effective and still serving, in yyyy-MM-dd format.com.google.protobuf.ByteStringgetEndDateBytes()Last date of when this asset is effective and still serving, in yyyy-MM-dd format.java.lang.StringgetLanguageCode()The language of the promotion.com.google.protobuf.ByteStringgetLanguageCodeBytes()The language of the promotion.MoneygetMoneyAmountOff()Money amount off for discount in the promotion.MoneyOrBuildergetMoneyAmountOffOrBuilder()Money amount off for discount in the promotion.PromotionExtensionOccasionEnum.PromotionExtensionOccasiongetOccasion()The occasion the promotion was intended for.intgetOccasionValue()The occasion the promotion was intended for.MoneygetOrdersOverAmount()The amount the total order needs to be for the user to be eligible for the promotion.MoneyOrBuildergetOrdersOverAmountOrBuilder()The amount the total order needs to be for the user to be eligible for the promotion.com.google.protobuf.Parser<PromotionAsset>getParserForType()longgetPercentOff()Percentage off discount in the promotion.java.lang.StringgetPromotionCode()A code the user should use in order to be eligible for the promotion.com.google.protobuf.ByteStringgetPromotionCodeBytes()A code the user should use in order to be eligible for the promotion.java.lang.StringgetPromotionTarget()Required.com.google.protobuf.ByteStringgetPromotionTargetBytes()Required.PromotionAsset.PromotionTriggerCasegetPromotionTriggerCase()java.lang.StringgetRedemptionEndDate()Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format.com.google.protobuf.ByteStringgetRedemptionEndDateBytes()Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format.java.lang.StringgetRedemptionStartDate()Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format.com.google.protobuf.ByteStringgetRedemptionStartDateBytes()Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format.intgetSerializedSize()java.lang.StringgetStartDate()Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.com.google.protobuf.ByteStringgetStartDateBytes()Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasMoneyAmountOff()Money amount off for discount in the promotion.booleanhasOrdersOverAmount()The amount the total order needs to be for the user to be eligible for the promotion.booleanhasPercentOff()Percentage off discount in the promotion.booleanhasPromotionCode()A code the user should use in order to be eligible for the promotion.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PromotionAsset.BuildernewBuilder()static PromotionAsset.BuildernewBuilder(PromotionAsset prototype)PromotionAsset.BuildernewBuilderForType()protected PromotionAsset.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PromotionAssetparseDelimitedFrom(java.io.InputStream input)static PromotionAssetparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PromotionAssetparseFrom(byte[] data)static PromotionAssetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PromotionAssetparseFrom(com.google.protobuf.ByteString data)static PromotionAssetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PromotionAssetparseFrom(com.google.protobuf.CodedInputStream input)static PromotionAssetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PromotionAssetparseFrom(java.io.InputStream input)static PromotionAssetparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PromotionAssetparseFrom(java.nio.ByteBuffer data)static PromotionAssetparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PromotionAsset>parser()PromotionAsset.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PROMOTION_TARGET_FIELD_NUMBER
public static final int PROMOTION_TARGET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISCOUNT_MODIFIER_FIELD_NUMBER
public static final int DISCOUNT_MODIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REDEMPTION_START_DATE_FIELD_NUMBER
public static final int REDEMPTION_START_DATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REDEMPTION_END_DATE_FIELD_NUMBER
public static final int REDEMPTION_END_DATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OCCASION_FIELD_NUMBER
public static final int OCCASION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_DATE_FIELD_NUMBER
public static final int START_DATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_DATE_FIELD_NUMBER
public static final int END_DATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AD_SCHEDULE_TARGETS_FIELD_NUMBER
public static final int AD_SCHEDULE_TARGETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERCENT_OFF_FIELD_NUMBER
public static final int PERCENT_OFF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MONEY_AMOUNT_OFF_FIELD_NUMBER
public static final int MONEY_AMOUNT_OFF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROMOTION_CODE_FIELD_NUMBER
public static final int PROMOTION_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORDERS_OVER_AMOUNT_FIELD_NUMBER
public static final int ORDERS_OVER_AMOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDiscountTypeCase
public PromotionAsset.DiscountTypeCase getDiscountTypeCase()
- Specified by:
getDiscountTypeCasein interfacePromotionAssetOrBuilder
-
getPromotionTriggerCase
public PromotionAsset.PromotionTriggerCase getPromotionTriggerCase()
- Specified by:
getPromotionTriggerCasein interfacePromotionAssetOrBuilder
-
getPromotionTarget
public java.lang.String getPromotionTarget()
Required. A freeform description of what the promotion is targeting.
string promotion_target = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPromotionTargetin interfacePromotionAssetOrBuilder- Returns:
- The promotionTarget.
-
getPromotionTargetBytes
public com.google.protobuf.ByteString getPromotionTargetBytes()
Required. A freeform description of what the promotion is targeting.
string promotion_target = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPromotionTargetBytesin interfacePromotionAssetOrBuilder- Returns:
- The bytes for promotionTarget.
-
getDiscountModifierValue
public int getDiscountModifierValue()
A modifier for qualification of the discount.
.google.ads.googleads.v10.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2;- Specified by:
getDiscountModifierValuein interfacePromotionAssetOrBuilder- Returns:
- The enum numeric value on the wire for discountModifier.
-
getDiscountModifier
public PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier getDiscountModifier()
A modifier for qualification of the discount.
.google.ads.googleads.v10.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2;- Specified by:
getDiscountModifierin interfacePromotionAssetOrBuilder- Returns:
- The discountModifier.
-
getRedemptionStartDate
public java.lang.String getRedemptionStartDate()
Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format.
string redemption_start_date = 7;- Specified by:
getRedemptionStartDatein interfacePromotionAssetOrBuilder- Returns:
- The redemptionStartDate.
-
getRedemptionStartDateBytes
public com.google.protobuf.ByteString getRedemptionStartDateBytes()
Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format.
string redemption_start_date = 7;- Specified by:
getRedemptionStartDateBytesin interfacePromotionAssetOrBuilder- Returns:
- The bytes for redemptionStartDate.
-
getRedemptionEndDate
public java.lang.String getRedemptionEndDate()
Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format.
string redemption_end_date = 8;- Specified by:
getRedemptionEndDatein interfacePromotionAssetOrBuilder- Returns:
- The redemptionEndDate.
-
getRedemptionEndDateBytes
public com.google.protobuf.ByteString getRedemptionEndDateBytes()
Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format.
string redemption_end_date = 8;- Specified by:
getRedemptionEndDateBytesin interfacePromotionAssetOrBuilder- Returns:
- The bytes for redemptionEndDate.
-
getOccasionValue
public int getOccasionValue()
The occasion the promotion was intended for. If an occasion is set, the redemption window will need to fall within the date range associated with the occasion.
.google.ads.googleads.v10.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9;- Specified by:
getOccasionValuein interfacePromotionAssetOrBuilder- Returns:
- The enum numeric value on the wire for occasion.
-
getOccasion
public PromotionExtensionOccasionEnum.PromotionExtensionOccasion getOccasion()
The occasion the promotion was intended for. If an occasion is set, the redemption window will need to fall within the date range associated with the occasion.
.google.ads.googleads.v10.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9;- Specified by:
getOccasionin interfacePromotionAssetOrBuilder- Returns:
- The occasion.
-
getLanguageCode
public java.lang.String getLanguageCode()
The language of the promotion. Represented as BCP 47 language tag.
string language_code = 10;- Specified by:
getLanguageCodein interfacePromotionAssetOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()
The language of the promotion. Represented as BCP 47 language tag.
string language_code = 10;- Specified by:
getLanguageCodeBytesin interfacePromotionAssetOrBuilder- Returns:
- The bytes for languageCode.
-
getStartDate
public java.lang.String getStartDate()
Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.
string start_date = 11;- Specified by:
getStartDatein interfacePromotionAssetOrBuilder- Returns:
- The startDate.
-
getStartDateBytes
public com.google.protobuf.ByteString getStartDateBytes()
Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.
string start_date = 11;- Specified by:
getStartDateBytesin interfacePromotionAssetOrBuilder- Returns:
- The bytes for startDate.
-
getEndDate
public java.lang.String getEndDate()
Last date of when this asset is effective and still serving, in yyyy-MM-dd format.
string end_date = 12;- Specified by:
getEndDatein interfacePromotionAssetOrBuilder- Returns:
- The endDate.
-
getEndDateBytes
public com.google.protobuf.ByteString getEndDateBytes()
Last date of when this asset is effective and still serving, in yyyy-MM-dd format.
string end_date = 12;- Specified by:
getEndDateBytesin interfacePromotionAssetOrBuilder- Returns:
- The bytes for endDate.
-
getAdScheduleTargetsList
public java.util.List<AdScheduleInfo> getAdScheduleTargetsList()
List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedule_targets = 13;- Specified by:
getAdScheduleTargetsListin interfacePromotionAssetOrBuilder
-
getAdScheduleTargetsOrBuilderList
public java.util.List<? extends AdScheduleInfoOrBuilder> getAdScheduleTargetsOrBuilderList()
List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedule_targets = 13;- Specified by:
getAdScheduleTargetsOrBuilderListin interfacePromotionAssetOrBuilder
-
getAdScheduleTargetsCount
public int getAdScheduleTargetsCount()
List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedule_targets = 13;- Specified by:
getAdScheduleTargetsCountin interfacePromotionAssetOrBuilder
-
getAdScheduleTargets
public AdScheduleInfo getAdScheduleTargets(int index)
List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedule_targets = 13;- Specified by:
getAdScheduleTargetsin interfacePromotionAssetOrBuilder
-
getAdScheduleTargetsOrBuilder
public AdScheduleInfoOrBuilder getAdScheduleTargetsOrBuilder(int index)
List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedule_targets = 13;- Specified by:
getAdScheduleTargetsOrBuilderin interfacePromotionAssetOrBuilder
-
hasPercentOff
public boolean hasPercentOff()
Percentage off discount in the promotion. 1,000,000 = 100%. Either this or money_amount_off is required.
int64 percent_off = 3;- Specified by:
hasPercentOffin interfacePromotionAssetOrBuilder- Returns:
- Whether the percentOff field is set.
-
getPercentOff
public long getPercentOff()
Percentage off discount in the promotion. 1,000,000 = 100%. Either this or money_amount_off is required.
int64 percent_off = 3;- Specified by:
getPercentOffin interfacePromotionAssetOrBuilder- Returns:
- The percentOff.
-
hasMoneyAmountOff
public boolean hasMoneyAmountOff()
Money amount off for discount in the promotion. Either this or percent_off is required.
.google.ads.googleads.v10.common.Money money_amount_off = 4;- Specified by:
hasMoneyAmountOffin interfacePromotionAssetOrBuilder- Returns:
- Whether the moneyAmountOff field is set.
-
getMoneyAmountOff
public Money getMoneyAmountOff()
Money amount off for discount in the promotion. Either this or percent_off is required.
.google.ads.googleads.v10.common.Money money_amount_off = 4;- Specified by:
getMoneyAmountOffin interfacePromotionAssetOrBuilder- Returns:
- The moneyAmountOff.
-
getMoneyAmountOffOrBuilder
public MoneyOrBuilder getMoneyAmountOffOrBuilder()
Money amount off for discount in the promotion. Either this or percent_off is required.
.google.ads.googleads.v10.common.Money money_amount_off = 4;- Specified by:
getMoneyAmountOffOrBuilderin interfacePromotionAssetOrBuilder
-
hasPromotionCode
public boolean hasPromotionCode()
A code the user should use in order to be eligible for the promotion.
string promotion_code = 5;- Specified by:
hasPromotionCodein interfacePromotionAssetOrBuilder- Returns:
- Whether the promotionCode field is set.
-
getPromotionCode
public java.lang.String getPromotionCode()
A code the user should use in order to be eligible for the promotion.
string promotion_code = 5;- Specified by:
getPromotionCodein interfacePromotionAssetOrBuilder- Returns:
- The promotionCode.
-
getPromotionCodeBytes
public com.google.protobuf.ByteString getPromotionCodeBytes()
A code the user should use in order to be eligible for the promotion.
string promotion_code = 5;- Specified by:
getPromotionCodeBytesin interfacePromotionAssetOrBuilder- Returns:
- The bytes for promotionCode.
-
hasOrdersOverAmount
public boolean hasOrdersOverAmount()
The amount the total order needs to be for the user to be eligible for the promotion.
.google.ads.googleads.v10.common.Money orders_over_amount = 6;- Specified by:
hasOrdersOverAmountin interfacePromotionAssetOrBuilder- Returns:
- Whether the ordersOverAmount field is set.
-
getOrdersOverAmount
public Money getOrdersOverAmount()
The amount the total order needs to be for the user to be eligible for the promotion.
.google.ads.googleads.v10.common.Money orders_over_amount = 6;- Specified by:
getOrdersOverAmountin interfacePromotionAssetOrBuilder- Returns:
- The ordersOverAmount.
-
getOrdersOverAmountOrBuilder
public MoneyOrBuilder getOrdersOverAmountOrBuilder()
The amount the total order needs to be for the user to be eligible for the promotion.
.google.ads.googleads.v10.common.Money orders_over_amount = 6;- Specified by:
getOrdersOverAmountOrBuilderin interfacePromotionAssetOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PromotionAsset parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromotionAsset parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromotionAsset parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromotionAsset parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromotionAsset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromotionAsset parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromotionAsset parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PromotionAsset parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PromotionAsset parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PromotionAsset parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PromotionAsset parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PromotionAsset parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public PromotionAsset.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PromotionAsset.Builder newBuilder()
-
newBuilder
public static PromotionAsset.Builder newBuilder(PromotionAsset prototype)
-
toBuilder
public PromotionAsset.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PromotionAsset.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PromotionAsset getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PromotionAsset> parser()
-
getParserForType
public com.google.protobuf.Parser<PromotionAsset> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PromotionAsset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-