Class ReportPropertyUsageResponse.Builder (0.34.0)

public static final class ReportPropertyUsageResponse.Builder extends GeneratedMessage.Builder<ReportPropertyUsageResponse.Builder> implements ReportPropertyUsageResponseOrBuilder

Response message for ReportPropertyUsage RPC.

Protobuf type google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse

Static Methods

getDescriptor()

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

Methods

addAllPropertyUsages(Iterable<? extends ReportPropertyUsageResponse.PropertyUsage> values)

public ReportPropertyUsageResponse.Builder addAllPropertyUsages(Iterable<? extends ReportPropertyUsageResponse.PropertyUsage> values)

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Parameter
Name Description
values Iterable<? extends com.google.ads.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage>
Returns
Type Description
ReportPropertyUsageResponse.Builder

addPropertyUsages(ReportPropertyUsageResponse.PropertyUsage value)

public ReportPropertyUsageResponse.Builder addPropertyUsages(ReportPropertyUsageResponse.PropertyUsage value)

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Parameter
Name Description
value ReportPropertyUsageResponse.PropertyUsage
Returns
Type Description
ReportPropertyUsageResponse.Builder

addPropertyUsages(ReportPropertyUsageResponse.PropertyUsage.Builder builderForValue)

public ReportPropertyUsageResponse.Builder addPropertyUsages(ReportPropertyUsageResponse.PropertyUsage.Builder builderForValue)

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Parameter
Name Description
builderForValue ReportPropertyUsageResponse.PropertyUsage.Builder
Returns
Type Description
ReportPropertyUsageResponse.Builder

addPropertyUsages(int index, ReportPropertyUsageResponse.PropertyUsage value)

public ReportPropertyUsageResponse.Builder addPropertyUsages(int index, ReportPropertyUsageResponse.PropertyUsage value)

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Parameters
Name Description
index int
value ReportPropertyUsageResponse.PropertyUsage
Returns
Type Description
ReportPropertyUsageResponse.Builder

addPropertyUsages(int index, ReportPropertyUsageResponse.PropertyUsage.Builder builderForValue)

public ReportPropertyUsageResponse.Builder addPropertyUsages(int index, ReportPropertyUsageResponse.PropertyUsage.Builder builderForValue)

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Parameters
Name Description
index int
builderForValue ReportPropertyUsageResponse.PropertyUsage.Builder
Returns
Type Description
ReportPropertyUsageResponse.Builder

addPropertyUsagesBuilder()

public ReportPropertyUsageResponse.PropertyUsage.Builder addPropertyUsagesBuilder()

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage.Builder

addPropertyUsagesBuilder(int index)

public ReportPropertyUsageResponse.PropertyUsage.Builder addPropertyUsagesBuilder(int index)

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage.Builder

build()

public ReportPropertyUsageResponse build()
Returns
Type Description
ReportPropertyUsageResponse

buildPartial()

public ReportPropertyUsageResponse buildPartial()
Returns
Type Description
ReportPropertyUsageResponse

clear()

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

clearBillInfo()

public ReportPropertyUsageResponse.Builder clearBillInfo()

Bill amount in the specified organization and month.

Will be empty if user only has access to usage data.

.google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.BillInfo bill_info = 2;

Returns
Type Description
ReportPropertyUsageResponse.Builder

clearPropertyUsages()

public ReportPropertyUsageResponse.Builder clearPropertyUsages()

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Returns
Type Description
ReportPropertyUsageResponse.Builder

getBillInfo()

public ReportPropertyUsageResponse.BillInfo getBillInfo()

Bill amount in the specified organization and month.

Will be empty if user only has access to usage data.

.google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.BillInfo bill_info = 2;

Returns
Type Description
ReportPropertyUsageResponse.BillInfo

The billInfo.

getBillInfoBuilder()

public ReportPropertyUsageResponse.BillInfo.Builder getBillInfoBuilder()

Bill amount in the specified organization and month.

Will be empty if user only has access to usage data.

.google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.BillInfo bill_info = 2;

Returns
Type Description
ReportPropertyUsageResponse.BillInfo.Builder

getBillInfoOrBuilder()

public ReportPropertyUsageResponse.BillInfoOrBuilder getBillInfoOrBuilder()

Bill amount in the specified organization and month.

Will be empty if user only has access to usage data.

.google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.BillInfo bill_info = 2;

Returns
Type Description
ReportPropertyUsageResponse.BillInfoOrBuilder

getDefaultInstanceForType()

public ReportPropertyUsageResponse getDefaultInstanceForType()
Returns
Type Description
ReportPropertyUsageResponse

getDescriptorForType()

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

getPropertyUsages(int index)

public ReportPropertyUsageResponse.PropertyUsage getPropertyUsages(int index)

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage

getPropertyUsagesBuilder(int index)

public ReportPropertyUsageResponse.PropertyUsage.Builder getPropertyUsagesBuilder(int index)

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage.Builder

getPropertyUsagesBuilderList()

public List<ReportPropertyUsageResponse.PropertyUsage.Builder> getPropertyUsagesBuilderList()

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Returns
Type Description
List<Builder>

getPropertyUsagesCount()

public int getPropertyUsagesCount()

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Returns
Type Description
int

getPropertyUsagesList()

public List<ReportPropertyUsageResponse.PropertyUsage> getPropertyUsagesList()

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Returns
Type Description
List<PropertyUsage>

getPropertyUsagesOrBuilder(int index)

public ReportPropertyUsageResponse.PropertyUsageOrBuilder getPropertyUsagesOrBuilder(int index)

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsageOrBuilder

getPropertyUsagesOrBuilderList()

public List<? extends ReportPropertyUsageResponse.PropertyUsageOrBuilder> getPropertyUsagesOrBuilderList()

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Returns
Type Description
List<? extends com.google.ads.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsageOrBuilder>

hasBillInfo()

public boolean hasBillInfo()

Bill amount in the specified organization and month.

Will be empty if user only has access to usage data.

.google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.BillInfo bill_info = 2;

Returns
Type Description
boolean

Whether the billInfo field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBillInfo(ReportPropertyUsageResponse.BillInfo value)

public ReportPropertyUsageResponse.Builder mergeBillInfo(ReportPropertyUsageResponse.BillInfo value)

Bill amount in the specified organization and month.

Will be empty if user only has access to usage data.

.google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.BillInfo bill_info = 2;

Parameter
Name Description
value ReportPropertyUsageResponse.BillInfo
Returns
Type Description
ReportPropertyUsageResponse.Builder

mergeFrom(ReportPropertyUsageResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removePropertyUsages(int index)

public ReportPropertyUsageResponse.Builder removePropertyUsages(int index)

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportPropertyUsageResponse.Builder

setBillInfo(ReportPropertyUsageResponse.BillInfo value)

public ReportPropertyUsageResponse.Builder setBillInfo(ReportPropertyUsageResponse.BillInfo value)

Bill amount in the specified organization and month.

Will be empty if user only has access to usage data.

.google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.BillInfo bill_info = 2;

Parameter
Name Description
value ReportPropertyUsageResponse.BillInfo
Returns
Type Description
ReportPropertyUsageResponse.Builder

setBillInfo(ReportPropertyUsageResponse.BillInfo.Builder builderForValue)

public ReportPropertyUsageResponse.Builder setBillInfo(ReportPropertyUsageResponse.BillInfo.Builder builderForValue)

Bill amount in the specified organization and month.

Will be empty if user only has access to usage data.

.google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.BillInfo bill_info = 2;

Parameter
Name Description
builderForValue ReportPropertyUsageResponse.BillInfo.Builder
Returns
Type Description
ReportPropertyUsageResponse.Builder

setPropertyUsages(int index, ReportPropertyUsageResponse.PropertyUsage value)

public ReportPropertyUsageResponse.Builder setPropertyUsages(int index, ReportPropertyUsageResponse.PropertyUsage value)

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Parameters
Name Description
index int
value ReportPropertyUsageResponse.PropertyUsage
Returns
Type Description
ReportPropertyUsageResponse.Builder

setPropertyUsages(int index, ReportPropertyUsageResponse.PropertyUsage.Builder builderForValue)

public ReportPropertyUsageResponse.Builder setPropertyUsages(int index, ReportPropertyUsageResponse.PropertyUsage.Builder builderForValue)

Usage data for all properties in the specified organization and month.

repeated .google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage property_usages = 1;

Parameters
Name Description
index int
builderForValue ReportPropertyUsageResponse.PropertyUsage.Builder
Returns
Type Description
ReportPropertyUsageResponse.Builder