Class AppliedIncentive
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v23.resources.AppliedIncentive
- All Implemented Interfaces:
AppliedIncentiveOrBuilder,com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class AppliedIncentive
extends com.google.protobuf.GeneratedMessageV3
implements AppliedIncentiveOrBuilder
Represents an applied incentive.Protobuf type
google.ads.googleads.v23.resources.AppliedIncentive- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents an applied incentive.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionSerializer, com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWriter, com.google.protobuf.GeneratedMessage.ExtendableMessage.FieldEntryNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object> Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.longOutput only.static AppliedIncentivestatic final com.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.longOutput only.Output only.intOutput only.com.google.protobuf.Parser<AppliedIncentive>Output only.com.google.protobuf.ByteStringOutput only.longOutput only.Output only.com.google.protobuf.ByteStringOutput only.longOutput only.longOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.intbooleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic AppliedIncentive.Builderstatic AppliedIncentive.BuildernewBuilder(AppliedIncentive prototype) protected AppliedIncentive.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AppliedIncentiveparseDelimitedFrom(InputStream input) static AppliedIncentiveparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppliedIncentiveparseFrom(byte[] data) static AppliedIncentiveparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppliedIncentiveparseFrom(com.google.protobuf.ByteString data) static AppliedIncentiveparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppliedIncentiveparseFrom(com.google.protobuf.CodedInputStream input) static AppliedIncentiveparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppliedIncentiveparseFrom(InputStream input) static AppliedIncentiveparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppliedIncentiveparseFrom(ByteBuffer data) static AppliedIncentiveparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AppliedIncentive>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongListMethods inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
extensionsAreInitialized, extensionsIterator, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, makeExtensionsImmutable, newExtensionSerializer, newExtensionWriter, newMessageSetExtensionSerializer, newMessageSetExtensionWriterMethods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, getUnknownFields, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, hasExtension, hasExtensionMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER- See Also:
-
COUPON_CODE_FIELD_NUMBER
public static final int COUPON_CODE_FIELD_NUMBER- See Also:
-
INCENTIVE_STATE_FIELD_NUMBER
public static final int INCENTIVE_STATE_FIELD_NUMBER- See Also:
-
REDEMPTION_DATE_TIME_FIELD_NUMBER
public static final int REDEMPTION_DATE_TIME_FIELD_NUMBER- See Also:
-
FULFILLMENT_EXPIRATION_DATE_TIME_FIELD_NUMBER
public static final int FULFILLMENT_EXPIRATION_DATE_TIME_FIELD_NUMBER- See Also:
-
REWARD_GRANT_DATE_TIME_FIELD_NUMBER
public static final int REWARD_GRANT_DATE_TIME_FIELD_NUMBER- See Also:
-
REWARD_EXPIRATION_DATE_TIME_FIELD_NUMBER
public static final int REWARD_EXPIRATION_DATE_TIME_FIELD_NUMBER- See Also:
-
CURRENCY_CODE_FIELD_NUMBER
public static final int CURRENCY_CODE_FIELD_NUMBER- See Also:
-
REWARD_AMOUNT_MICROS_FIELD_NUMBER
public static final int REWARD_AMOUNT_MICROS_FIELD_NUMBER- See Also:
-
GRANTED_AMOUNT_MICROS_FIELD_NUMBER
public static final int GRANTED_AMOUNT_MICROS_FIELD_NUMBER- See Also:
-
REQUIRED_MIN_SPEND_MICROS_FIELD_NUMBER
public static final int REQUIRED_MIN_SPEND_MICROS_FIELD_NUMBER- See Also:
-
CURRENT_SPEND_TOWARDS_FULFILLMENT_MICROS_FIELD_NUMBER
public static final int CURRENT_SPEND_TOWARDS_FULFILLMENT_MICROS_FIELD_NUMBER- See Also:
-
REWARD_BALANCE_REMAINING_MICROS_FIELD_NUMBER
public static final int REWARD_BALANCE_REMAINING_MICROS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Overrides:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getResourceName
Output only. The resource name of the incentive. Incentive resource names have the form: `customers/{customer_id}/appliedIncentives/{coupon_code}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceAppliedIncentiveOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Output only. The resource name of the incentive. Incentive resource names have the form: `customers/{customer_id}/appliedIncentives/{coupon_code}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceAppliedIncentiveOrBuilder- Returns:
- The bytes for resourceName.
-
hasCouponCode
public boolean hasCouponCode()Output only. The coupon code of the incentive.
optional string coupon_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCouponCodein interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the couponCode field is set.
-
getCouponCode
Output only. The coupon code of the incentive.
optional string coupon_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCouponCodein interfaceAppliedIncentiveOrBuilder- Returns:
- The couponCode.
-
getCouponCodeBytes
public com.google.protobuf.ByteString getCouponCodeBytes()Output only. The coupon code of the incentive.
optional string coupon_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCouponCodeBytesin interfaceAppliedIncentiveOrBuilder- Returns:
- The bytes for couponCode.
-
hasIncentiveState
public boolean hasIncentiveState()Output only. The current state of the incentive.
optional .google.ads.googleads.v23.enums.IncentiveStateEnum.IncentiveState incentive_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIncentiveStatein interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the incentiveState field is set.
-
getIncentiveStateValue
public int getIncentiveStateValue()Output only. The current state of the incentive.
optional .google.ads.googleads.v23.enums.IncentiveStateEnum.IncentiveState incentive_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIncentiveStateValuein interfaceAppliedIncentiveOrBuilder- Returns:
- The enum numeric value on the wire for incentiveState.
-
getIncentiveState
Output only. The current state of the incentive.
optional .google.ads.googleads.v23.enums.IncentiveStateEnum.IncentiveState incentive_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIncentiveStatein interfaceAppliedIncentiveOrBuilder- Returns:
- The incentiveState.
-
hasRedemptionDateTime
public boolean hasRedemptionDateTime()Output only. The redemption time of the incentive in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string redemption_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRedemptionDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the redemptionDateTime field is set.
-
getRedemptionDateTime
Output only. The redemption time of the incentive in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string redemption_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRedemptionDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- The redemptionDateTime.
-
getRedemptionDateTimeBytes
public com.google.protobuf.ByteString getRedemptionDateTimeBytes()Output only. The redemption time of the incentive in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string redemption_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRedemptionDateTimeBytesin interfaceAppliedIncentiveOrBuilder- Returns:
- The bytes for redemptionDateTime.
-
hasFulfillmentExpirationDateTime
public boolean hasFulfillmentExpirationDateTime()Output only. The time by which the incentive's fulfillment requirements must be met, in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string fulfillment_expiration_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasFulfillmentExpirationDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the fulfillmentExpirationDateTime field is set.
-
getFulfillmentExpirationDateTime
Output only. The time by which the incentive's fulfillment requirements must be met, in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string fulfillment_expiration_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFulfillmentExpirationDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- The fulfillmentExpirationDateTime.
-
getFulfillmentExpirationDateTimeBytes
public com.google.protobuf.ByteString getFulfillmentExpirationDateTimeBytes()Output only. The time by which the incentive's fulfillment requirements must be met, in "YYYY-MM-DD HH:MM:SS" format in UTC.
optional string fulfillment_expiration_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFulfillmentExpirationDateTimeBytesin interfaceAppliedIncentiveOrBuilder- Returns:
- The bytes for fulfillmentExpirationDateTime.
-
hasRewardGrantDateTime
public boolean hasRewardGrantDateTime()Output only. The time when the reward was granted in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_grant_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRewardGrantDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the rewardGrantDateTime field is set.
-
getRewardGrantDateTime
Output only. The time when the reward was granted in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_grant_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRewardGrantDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- The rewardGrantDateTime.
-
getRewardGrantDateTimeBytes
public com.google.protobuf.ByteString getRewardGrantDateTimeBytes()Output only. The time when the reward was granted in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_grant_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRewardGrantDateTimeBytesin interfaceAppliedIncentiveOrBuilder- Returns:
- The bytes for rewardGrantDateTime.
-
hasRewardExpirationDateTime
public boolean hasRewardExpirationDateTime()Output only. The time when the granted reward expires in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_expiration_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRewardExpirationDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the rewardExpirationDateTime field is set.
-
getRewardExpirationDateTime
Output only. The time when the granted reward expires in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_expiration_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRewardExpirationDateTimein interfaceAppliedIncentiveOrBuilder- Returns:
- The rewardExpirationDateTime.
-
getRewardExpirationDateTimeBytes
public com.google.protobuf.ByteString getRewardExpirationDateTimeBytes()Output only. The time when the granted reward expires in "YYYY-MM-DD HH:MM:SS" format in UTC. This field is not set if the reward has not been granted.
optional string reward_expiration_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRewardExpirationDateTimeBytesin interfaceAppliedIncentiveOrBuilder- Returns:
- The bytes for rewardExpirationDateTime.
-
hasCurrencyCode
public boolean hasCurrencyCode()Output only. The currency code for all monetary amounts (for example, "USD").
optional string currency_code = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCurrencyCodein interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the currencyCode field is set.
-
getCurrencyCode
Output only. The currency code for all monetary amounts (for example, "USD").
optional string currency_code = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrencyCodein interfaceAppliedIncentiveOrBuilder- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
public com.google.protobuf.ByteString getCurrencyCodeBytes()Output only. The currency code for all monetary amounts (for example, "USD").
optional string currency_code = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrencyCodeBytesin interfaceAppliedIncentiveOrBuilder- Returns:
- The bytes for currencyCode.
-
hasRewardAmountMicros
public boolean hasRewardAmountMicros()Output only. The maximum potential reward amount in micros for the incentive.
optional int64 reward_amount_micros = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRewardAmountMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the rewardAmountMicros field is set.
-
getRewardAmountMicros
public long getRewardAmountMicros()Output only. The maximum potential reward amount in micros for the incentive.
optional int64 reward_amount_micros = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRewardAmountMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- The rewardAmountMicros.
-
hasGrantedAmountMicros
public boolean hasGrantedAmountMicros()Output only. The amount of the reward granted in micros. This field is not set if the reward has not been granted.
optional int64 granted_amount_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasGrantedAmountMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the grantedAmountMicros field is set.
-
getGrantedAmountMicros
public long getGrantedAmountMicros()Output only. The amount of the reward granted in micros. This field is not set if the reward has not been granted.
optional int64 granted_amount_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGrantedAmountMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- The grantedAmountMicros.
-
hasRequiredMinSpendMicros
public boolean hasRequiredMinSpendMicros()Output only. The minimum amount that must be spent to fulfill the coupon requirements, in micros.
optional int64 required_min_spend_micros = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRequiredMinSpendMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the requiredMinSpendMicros field is set.
-
getRequiredMinSpendMicros
public long getRequiredMinSpendMicros()Output only. The minimum amount that must be spent to fulfill the coupon requirements, in micros.
optional int64 required_min_spend_micros = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRequiredMinSpendMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- The requiredMinSpendMicros.
-
hasCurrentSpendTowardsFulfillmentMicros
public boolean hasCurrentSpendTowardsFulfillmentMicros()Output only. The current amount spent towards the fulfillment requirements, in micros.
optional int64 current_spend_towards_fulfillment_micros = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCurrentSpendTowardsFulfillmentMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the currentSpendTowardsFulfillmentMicros field is set.
-
getCurrentSpendTowardsFulfillmentMicros
public long getCurrentSpendTowardsFulfillmentMicros()Output only. The current amount spent towards the fulfillment requirements, in micros.
optional int64 current_spend_towards_fulfillment_micros = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrentSpendTowardsFulfillmentMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- The currentSpendTowardsFulfillmentMicros.
-
hasRewardBalanceRemainingMicros
public boolean hasRewardBalanceRemainingMicros()Output only. The remaining balance of the granted reward in micros. This field is not set if the reward has not been granted.
optional int64 reward_balance_remaining_micros = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRewardBalanceRemainingMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- Whether the rewardBalanceRemainingMicros field is set.
-
getRewardBalanceRemainingMicros
public long getRewardBalanceRemainingMicros()Output only. The remaining balance of the granted reward in micros. This field is not set if the reward has not been granted.
optional int64 reward_balance_remaining_micros = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRewardBalanceRemainingMicrosin interfaceAppliedIncentiveOrBuilder- Returns:
- The rewardBalanceRemainingMicros.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 AppliedIncentive parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppliedIncentive parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppliedIncentive parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppliedIncentive parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppliedIncentive parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppliedIncentive parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AppliedIncentive parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AppliedIncentive parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AppliedIncentive parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AppliedIncentive parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AppliedIncentive.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-