public final class EarningsProductBreakdown extends GeneratedMessage implements EarningsProductBreakdownOrBuilder
The product type breakdown of earnings for a given month between a parent and
child publisher in MCM.
Protobuf type google.ads.admanager.v1.EarningsProductBreakdown
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
CHILD_PAYMENT_FIELD_NUMBER
public static final int CHILD_PAYMENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DEDUCTIONS_FIELD_NUMBER
public static final int DEDUCTIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PARENT_PAYMENT_FIELD_NUMBER
public static final int PARENT_PAYMENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PRODUCT_TYPE_FIELD_NUMBER
public static final int PRODUCT_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TOTAL_EARNINGS_FIELD_NUMBER
public static final int TOTAL_EARNINGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static EarningsProductBreakdown getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EarningsProductBreakdown.Builder newBuilder()
newBuilder(EarningsProductBreakdown prototype)
public static EarningsProductBreakdown.Builder newBuilder(EarningsProductBreakdown prototype)
public static EarningsProductBreakdown parseDelimitedFrom(InputStream input)
public static EarningsProductBreakdown parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EarningsProductBreakdown parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EarningsProductBreakdown parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EarningsProductBreakdown parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EarningsProductBreakdown parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EarningsProductBreakdown parseFrom(CodedInputStream input)
public static EarningsProductBreakdown parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EarningsProductBreakdown parseFrom(InputStream input)
public static EarningsProductBreakdown parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EarningsProductBreakdown parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EarningsProductBreakdown parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EarningsProductBreakdown> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getChildPayment()
public Money getChildPayment()
The portion of the total earnings for the specified product type paid to
the child publisher.
optional .google.type.Money child_payment = 4;
| Returns |
| Type |
Description |
com.google.type.Money |
The childPayment.
|
getChildPaymentOrBuilder()
public MoneyOrBuilder getChildPaymentOrBuilder()
The portion of the total earnings for the specified product type paid to
the child publisher.
optional .google.type.Money child_payment = 4;
| Returns |
| Type |
Description |
com.google.type.MoneyOrBuilder |
|
getDeductions()
public Money getDeductions()
The deductions for the specified product type for the month due to spam.
optional .google.type.Money deductions = 5;
| Returns |
| Type |
Description |
com.google.type.Money |
The deductions.
|
getDeductionsOrBuilder()
public MoneyOrBuilder getDeductionsOrBuilder()
The deductions for the specified product type for the month due to spam.
optional .google.type.Money deductions = 5;
| Returns |
| Type |
Description |
com.google.type.MoneyOrBuilder |
|
getDefaultInstanceForType()
public EarningsProductBreakdown getDefaultInstanceForType()
getParentPayment()
public Money getParentPayment()
The portion of the total earnings for the specified product type paid to
the parent publisher.
optional .google.type.Money parent_payment = 3;
| Returns |
| Type |
Description |
com.google.type.Money |
The parentPayment.
|
getParentPaymentOrBuilder()
public MoneyOrBuilder getParentPaymentOrBuilder()
The portion of the total earnings for the specified product type paid to
the parent publisher.
optional .google.type.Money parent_payment = 3;
| Returns |
| Type |
Description |
com.google.type.MoneyOrBuilder |
|
getParserForType()
public Parser<EarningsProductBreakdown> getParserForType()
Overrides
getProductType()
public McmEarningsProductTypeEnum.McmEarningsProductType getProductType()
The syndication product type of the child's earnings in MCM.
optional .google.ads.admanager.v1.McmEarningsProductTypeEnum.McmEarningsProductType product_type = 1;
getProductTypeValue()
public int getProductTypeValue()
The syndication product type of the child's earnings in MCM.
optional .google.ads.admanager.v1.McmEarningsProductTypeEnum.McmEarningsProductType product_type = 1;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for productType.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTotalEarnings()
public Money getTotalEarnings()
The total earnings for the specified product type for the month.
optional .google.type.Money total_earnings = 2;
| Returns |
| Type |
Description |
com.google.type.Money |
The totalEarnings.
|
getTotalEarningsOrBuilder()
public MoneyOrBuilder getTotalEarningsOrBuilder()
The total earnings for the specified product type for the month.
optional .google.type.Money total_earnings = 2;
| Returns |
| Type |
Description |
com.google.type.MoneyOrBuilder |
|
hasChildPayment()
public boolean hasChildPayment()
The portion of the total earnings for the specified product type paid to
the child publisher.
optional .google.type.Money child_payment = 4;
| Returns |
| Type |
Description |
boolean |
Whether the childPayment field is set.
|
hasDeductions()
public boolean hasDeductions()
The deductions for the specified product type for the month due to spam.
optional .google.type.Money deductions = 5;
| Returns |
| Type |
Description |
boolean |
Whether the deductions field is set.
|
hasParentPayment()
public boolean hasParentPayment()
The portion of the total earnings for the specified product type paid to
the parent publisher.
optional .google.type.Money parent_payment = 3;
| Returns |
| Type |
Description |
boolean |
Whether the parentPayment field is set.
|
hasProductType()
public boolean hasProductType()
The syndication product type of the child's earnings in MCM.
optional .google.ads.admanager.v1.McmEarningsProductTypeEnum.McmEarningsProductType product_type = 1;
| Returns |
| Type |
Description |
boolean |
Whether the productType field is set.
|
hasTotalEarnings()
public boolean hasTotalEarnings()
The total earnings for the specified product type for the month.
optional .google.type.Money total_earnings = 2;
| Returns |
| Type |
Description |
boolean |
Whether the totalEarnings field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EarningsProductBreakdown.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected EarningsProductBreakdown.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public EarningsProductBreakdown.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides