Class ReportPropertyUsageResponse.BillInfo.Builder (0.29.0)

public static final class ReportPropertyUsageResponse.BillInfo.Builder extends GeneratedMessageV3.Builder<ReportPropertyUsageResponse.BillInfo.Builder> implements ReportPropertyUsageResponse.BillInfoOrBuilder

Contains the bill amount.

Protobuf type google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.BillInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportPropertyUsageResponse.BillInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder
Overrides

build()

public ReportPropertyUsageResponse.BillInfo build()
Returns
Type Description
ReportPropertyUsageResponse.BillInfo

buildPartial()

public ReportPropertyUsageResponse.BillInfo buildPartial()
Returns
Type Description
ReportPropertyUsageResponse.BillInfo

clear()

public ReportPropertyUsageResponse.BillInfo.Builder clear()
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder
Overrides

clearBaseFee()

public ReportPropertyUsageResponse.BillInfo.Builder clearBaseFee()

The amount of the monthly base fee.

.google.type.Money base_fee = 1;

Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

clearEventFee()

public ReportPropertyUsageResponse.BillInfo.Builder clearEventFee()

The amount of the event fee.

.google.type.Money event_fee = 2;

Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public ReportPropertyUsageResponse.BillInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportPropertyUsageResponse.BillInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder
Overrides

clearPriceProtectionCredit()

public ReportPropertyUsageResponse.BillInfo.Builder clearPriceProtectionCredit()

The amount of the price protection credit, this is only available for eligible customers.

.google.type.Money price_protection_credit = 3;

Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

clearTotal()

public ReportPropertyUsageResponse.BillInfo.Builder clearTotal()

The total amount of the bill.

.google.type.Money total = 4;

Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

clone()

public ReportPropertyUsageResponse.BillInfo.Builder clone()
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder
Overrides

getBaseFee()

public Money getBaseFee()

The amount of the monthly base fee.

.google.type.Money base_fee = 1;

Returns
Type Description
com.google.type.Money

The baseFee.

getBaseFeeBuilder()

public Money.Builder getBaseFeeBuilder()

The amount of the monthly base fee.

.google.type.Money base_fee = 1;

Returns
Type Description
com.google.type.Money.Builder

getBaseFeeOrBuilder()

public MoneyOrBuilder getBaseFeeOrBuilder()

The amount of the monthly base fee.

.google.type.Money base_fee = 1;

Returns
Type Description
com.google.type.MoneyOrBuilder

getDefaultInstanceForType()

public ReportPropertyUsageResponse.BillInfo getDefaultInstanceForType()
Returns
Type Description
ReportPropertyUsageResponse.BillInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEventFee()

public Money getEventFee()

The amount of the event fee.

.google.type.Money event_fee = 2;

Returns
Type Description
com.google.type.Money

The eventFee.

getEventFeeBuilder()

public Money.Builder getEventFeeBuilder()

The amount of the event fee.

.google.type.Money event_fee = 2;

Returns
Type Description
com.google.type.Money.Builder

getEventFeeOrBuilder()

public MoneyOrBuilder getEventFeeOrBuilder()

The amount of the event fee.

.google.type.Money event_fee = 2;

Returns
Type Description
com.google.type.MoneyOrBuilder

getPriceProtectionCredit()

public Money getPriceProtectionCredit()

The amount of the price protection credit, this is only available for eligible customers.

.google.type.Money price_protection_credit = 3;

Returns
Type Description
com.google.type.Money

The priceProtectionCredit.

getPriceProtectionCreditBuilder()

public Money.Builder getPriceProtectionCreditBuilder()

The amount of the price protection credit, this is only available for eligible customers.

.google.type.Money price_protection_credit = 3;

Returns
Type Description
com.google.type.Money.Builder

getPriceProtectionCreditOrBuilder()

public MoneyOrBuilder getPriceProtectionCreditOrBuilder()

The amount of the price protection credit, this is only available for eligible customers.

.google.type.Money price_protection_credit = 3;

Returns
Type Description
com.google.type.MoneyOrBuilder

getTotal()

public Money getTotal()

The total amount of the bill.

.google.type.Money total = 4;

Returns
Type Description
com.google.type.Money

The total.

getTotalBuilder()

public Money.Builder getTotalBuilder()

The total amount of the bill.

.google.type.Money total = 4;

Returns
Type Description
com.google.type.Money.Builder

getTotalOrBuilder()

public MoneyOrBuilder getTotalOrBuilder()

The total amount of the bill.

.google.type.Money total = 4;

Returns
Type Description
com.google.type.MoneyOrBuilder

hasBaseFee()

public boolean hasBaseFee()

The amount of the monthly base fee.

.google.type.Money base_fee = 1;

Returns
Type Description
boolean

Whether the baseFee field is set.

hasEventFee()

public boolean hasEventFee()

The amount of the event fee.

.google.type.Money event_fee = 2;

Returns
Type Description
boolean

Whether the eventFee field is set.

hasPriceProtectionCredit()

public boolean hasPriceProtectionCredit()

The amount of the price protection credit, this is only available for eligible customers.

.google.type.Money price_protection_credit = 3;

Returns
Type Description
boolean

Whether the priceProtectionCredit field is set.

hasTotal()

public boolean hasTotal()

The total amount of the bill.

.google.type.Money total = 4;

Returns
Type Description
boolean

Whether the total field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBaseFee(Money value)

public ReportPropertyUsageResponse.BillInfo.Builder mergeBaseFee(Money value)

The amount of the monthly base fee.

.google.type.Money base_fee = 1;

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

mergeEventFee(Money value)

public ReportPropertyUsageResponse.BillInfo.Builder mergeEventFee(Money value)

The amount of the event fee.

.google.type.Money event_fee = 2;

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

mergeFrom(ReportPropertyUsageResponse.BillInfo other)

public ReportPropertyUsageResponse.BillInfo.Builder mergeFrom(ReportPropertyUsageResponse.BillInfo other)
Parameter
Name Description
other ReportPropertyUsageResponse.BillInfo
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportPropertyUsageResponse.BillInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReportPropertyUsageResponse.BillInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder
Overrides

mergePriceProtectionCredit(Money value)

public ReportPropertyUsageResponse.BillInfo.Builder mergePriceProtectionCredit(Money value)

The amount of the price protection credit, this is only available for eligible customers.

.google.type.Money price_protection_credit = 3;

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

mergeTotal(Money value)

public ReportPropertyUsageResponse.BillInfo.Builder mergeTotal(Money value)

The total amount of the bill.

.google.type.Money total = 4;

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportPropertyUsageResponse.BillInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder
Overrides

setBaseFee(Money value)

public ReportPropertyUsageResponse.BillInfo.Builder setBaseFee(Money value)

The amount of the monthly base fee.

.google.type.Money base_fee = 1;

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

setBaseFee(Money.Builder builderForValue)

public ReportPropertyUsageResponse.BillInfo.Builder setBaseFee(Money.Builder builderForValue)

The amount of the monthly base fee.

.google.type.Money base_fee = 1;

Parameter
Name Description
builderForValue com.google.type.Money.Builder
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

setEventFee(Money value)

public ReportPropertyUsageResponse.BillInfo.Builder setEventFee(Money value)

The amount of the event fee.

.google.type.Money event_fee = 2;

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

setEventFee(Money.Builder builderForValue)

public ReportPropertyUsageResponse.BillInfo.Builder setEventFee(Money.Builder builderForValue)

The amount of the event fee.

.google.type.Money event_fee = 2;

Parameter
Name Description
builderForValue com.google.type.Money.Builder
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReportPropertyUsageResponse.BillInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder
Overrides

setPriceProtectionCredit(Money value)

public ReportPropertyUsageResponse.BillInfo.Builder setPriceProtectionCredit(Money value)

The amount of the price protection credit, this is only available for eligible customers.

.google.type.Money price_protection_credit = 3;

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

setPriceProtectionCredit(Money.Builder builderForValue)

public ReportPropertyUsageResponse.BillInfo.Builder setPriceProtectionCredit(Money.Builder builderForValue)

The amount of the price protection credit, this is only available for eligible customers.

.google.type.Money price_protection_credit = 3;

Parameter
Name Description
builderForValue com.google.type.Money.Builder
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReportPropertyUsageResponse.BillInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder
Overrides

setTotal(Money value)

public ReportPropertyUsageResponse.BillInfo.Builder setTotal(Money value)

The total amount of the bill.

.google.type.Money total = 4;

Parameter
Name Description
value com.google.type.Money
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

setTotal(Money.Builder builderForValue)

public ReportPropertyUsageResponse.BillInfo.Builder setTotal(Money.Builder builderForValue)

The total amount of the bill.

.google.type.Money total = 4;

Parameter
Name Description
builderForValue com.google.type.Money.Builder
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportPropertyUsageResponse.BillInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder
Overrides