public static final class ReportPropertyUsageResponse.PropertyUsage.Builder extends GeneratedMessageV3.Builder<ReportPropertyUsageResponse.PropertyUsage.Builder> implements ReportPropertyUsageResponse.PropertyUsageOrBuilder Contains the count of events received by the property, along with metadata
that influences the volume of billable events.
Protobuf type
google.marketingplatform.admin.v1alpha.ReportPropertyUsageResponse.PropertyUsage
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReportPropertyUsageResponse.PropertyUsage.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReportPropertyUsageResponse.PropertyUsage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
|
build()
public ReportPropertyUsageResponse.PropertyUsage build()| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage |
|
buildPartial()
public ReportPropertyUsageResponse.PropertyUsage buildPartial()| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage |
|
clear()
public ReportPropertyUsageResponse.PropertyUsage.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
|
clearAccountId()
public ReportPropertyUsageResponse.PropertyUsage.Builder clearAccountId()The ID of the property's parent account.
int64 account_id = 3;
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
clearBillableEventCount()
public ReportPropertyUsageResponse.PropertyUsage.Builder clearBillableEventCount()The number of events for which the property is billed in the requested month.
int64 billable_event_count = 7;
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
clearDisplayName()
public ReportPropertyUsageResponse.PropertyUsage.Builder clearDisplayName()The display name of the property.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ReportPropertyUsageResponse.PropertyUsage.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public ReportPropertyUsageResponse.PropertyUsage.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
|
clearProperty()
public ReportPropertyUsageResponse.PropertyUsage.Builder clearProperty()The name of the Google Analytics Admin API property resource.
Format: analyticsadmin.googleapis.com/properties/{property_id}
string property = 1;
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
clearPropertyType()
public ReportPropertyUsageResponse.PropertyUsage.Builder clearPropertyType()The subtype of the analytics property. This affects the billable event count.
.google.marketingplatform.admin.v1alpha.AnalyticsPropertyType property_type = 5;
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
clearServiceLevel()
public ReportPropertyUsageResponse.PropertyUsage.Builder clearServiceLevel()The service level of the property.
.google.marketingplatform.admin.v1alpha.AnalyticsServiceLevel service_level = 4;
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
clearTotalEventCount()
public ReportPropertyUsageResponse.PropertyUsage.Builder clearTotalEventCount()Total event count that the property received during the requested month.
int64 total_event_count = 6;
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
clone()
public ReportPropertyUsageResponse.PropertyUsage.Builder clone()| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
|
getAccountId()
public long getAccountId()The ID of the property's parent account.
int64 account_id = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The accountId. |
getBillableEventCount()
public long getBillableEventCount()The number of events for which the property is billed in the requested month.
int64 billable_event_count = 7;
| Returns | |
|---|---|
| Type | Description |
long |
The billableEventCount. |
getDefaultInstanceForType()
public ReportPropertyUsageResponse.PropertyUsage getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()The display name of the property.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()The display name of the property.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getProperty()
public String getProperty()The name of the Google Analytics Admin API property resource.
Format: analyticsadmin.googleapis.com/properties/{property_id}
string property = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The property. |
getPropertyBytes()
public ByteString getPropertyBytes()The name of the Google Analytics Admin API property resource.
Format: analyticsadmin.googleapis.com/properties/{property_id}
string property = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for property. |
getPropertyType()
public AnalyticsPropertyType getPropertyType()The subtype of the analytics property. This affects the billable event count.
.google.marketingplatform.admin.v1alpha.AnalyticsPropertyType property_type = 5;
| Returns | |
|---|---|
| Type | Description |
AnalyticsPropertyType |
The propertyType. |
getPropertyTypeValue()
public int getPropertyTypeValue()The subtype of the analytics property. This affects the billable event count.
.google.marketingplatform.admin.v1alpha.AnalyticsPropertyType property_type = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for propertyType. |
getServiceLevel()
public AnalyticsServiceLevel getServiceLevel()The service level of the property.
.google.marketingplatform.admin.v1alpha.AnalyticsServiceLevel service_level = 4;
| Returns | |
|---|---|
| Type | Description |
AnalyticsServiceLevel |
The serviceLevel. |
getServiceLevelValue()
public int getServiceLevelValue()The service level of the property.
.google.marketingplatform.admin.v1alpha.AnalyticsServiceLevel service_level = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for serviceLevel. |
getTotalEventCount()
public long getTotalEventCount()Total event count that the property received during the requested month.
int64 total_event_count = 6;
| Returns | |
|---|---|
| Type | Description |
long |
The totalEventCount. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ReportPropertyUsageResponse.PropertyUsage other)
public ReportPropertyUsageResponse.PropertyUsage.Builder mergeFrom(ReportPropertyUsageResponse.PropertyUsage other)| Parameter | |
|---|---|
| Name | Description |
other |
ReportPropertyUsageResponse.PropertyUsage |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReportPropertyUsageResponse.PropertyUsage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReportPropertyUsageResponse.PropertyUsage.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReportPropertyUsageResponse.PropertyUsage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
|
setAccountId(long value)
public ReportPropertyUsageResponse.PropertyUsage.Builder setAccountId(long value)The ID of the property's parent account.
int64 account_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe accountId to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
setBillableEventCount(long value)
public ReportPropertyUsageResponse.PropertyUsage.Builder setBillableEventCount(long value)The number of events for which the property is billed in the requested month.
int64 billable_event_count = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe billableEventCount to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
setDisplayName(String value)
public ReportPropertyUsageResponse.PropertyUsage.Builder setDisplayName(String value)The display name of the property.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ReportPropertyUsageResponse.PropertyUsage.Builder setDisplayNameBytes(ByteString value)The display name of the property.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ReportPropertyUsageResponse.PropertyUsage.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
|
setProperty(String value)
public ReportPropertyUsageResponse.PropertyUsage.Builder setProperty(String value)The name of the Google Analytics Admin API property resource.
Format: analyticsadmin.googleapis.com/properties/{property_id}
string property = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe property to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
setPropertyBytes(ByteString value)
public ReportPropertyUsageResponse.PropertyUsage.Builder setPropertyBytes(ByteString value)The name of the Google Analytics Admin API property resource.
Format: analyticsadmin.googleapis.com/properties/{property_id}
string property = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for property to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
setPropertyType(AnalyticsPropertyType value)
public ReportPropertyUsageResponse.PropertyUsage.Builder setPropertyType(AnalyticsPropertyType value)The subtype of the analytics property. This affects the billable event count.
.google.marketingplatform.admin.v1alpha.AnalyticsPropertyType property_type = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
AnalyticsPropertyTypeThe propertyType to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
setPropertyTypeValue(int value)
public ReportPropertyUsageResponse.PropertyUsage.Builder setPropertyTypeValue(int value)The subtype of the analytics property. This affects the billable event count.
.google.marketingplatform.admin.v1alpha.AnalyticsPropertyType property_type = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for propertyType to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReportPropertyUsageResponse.PropertyUsage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
|
setServiceLevel(AnalyticsServiceLevel value)
public ReportPropertyUsageResponse.PropertyUsage.Builder setServiceLevel(AnalyticsServiceLevel value)The service level of the property.
.google.marketingplatform.admin.v1alpha.AnalyticsServiceLevel service_level = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
AnalyticsServiceLevelThe serviceLevel to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
setServiceLevelValue(int value)
public ReportPropertyUsageResponse.PropertyUsage.Builder setServiceLevelValue(int value)The service level of the property.
.google.marketingplatform.admin.v1alpha.AnalyticsServiceLevel service_level = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for serviceLevel to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
setTotalEventCount(long value)
public ReportPropertyUsageResponse.PropertyUsage.Builder setTotalEventCount(long value)Total event count that the property received during the requested month.
int64 total_event_count = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe totalEventCount to set. |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReportPropertyUsageResponse.PropertyUsage.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ReportPropertyUsageResponse.PropertyUsage.Builder |
|