Class ReportPropertyUsageResponse.PropertyUsage (0.29.0)

public static final class ReportPropertyUsageResponse.PropertyUsage extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReportPropertyUsageResponse.PropertyUsage

Static Fields

ACCOUNT_ID_FIELD_NUMBER

public static final int ACCOUNT_ID_FIELD_NUMBER
Field Value
Type Description
int

BILLABLE_EVENT_COUNT_FIELD_NUMBER

public static final int BILLABLE_EVENT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
Type Description
int

PROPERTY_TYPE_FIELD_NUMBER

public static final int PROPERTY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_LEVEL_FIELD_NUMBER

public static final int SERVICE_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_EVENT_COUNT_FIELD_NUMBER

public static final int TOTAL_EVENT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReportPropertyUsageResponse.PropertyUsage getDefaultInstance()
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage

getDescriptor()

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

newBuilder()

public static ReportPropertyUsageResponse.PropertyUsage.Builder newBuilder()
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage.Builder

newBuilder(ReportPropertyUsageResponse.PropertyUsage prototype)

public static ReportPropertyUsageResponse.PropertyUsage.Builder newBuilder(ReportPropertyUsageResponse.PropertyUsage prototype)
Parameter
Name Description
prototype ReportPropertyUsageResponse.PropertyUsage
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage.Builder

parseDelimitedFrom(InputStream input)

public static ReportPropertyUsageResponse.PropertyUsage parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportPropertyUsageResponse.PropertyUsage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReportPropertyUsageResponse.PropertyUsage parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReportPropertyUsageResponse.PropertyUsage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReportPropertyUsageResponse.PropertyUsage parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReportPropertyUsageResponse.PropertyUsage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReportPropertyUsageResponse.PropertyUsage parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportPropertyUsageResponse.PropertyUsage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReportPropertyUsageResponse.PropertyUsage parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportPropertyUsageResponse.PropertyUsage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReportPropertyUsageResponse.PropertyUsage parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReportPropertyUsageResponse.PropertyUsage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReportPropertyUsageResponse.PropertyUsage> parser()
Returns
Type Description
Parser<PropertyUsage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getParserForType()

public Parser<ReportPropertyUsageResponse.PropertyUsage> getParserForType()
Returns
Type Description
Parser<PropertyUsage>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReportPropertyUsageResponse.PropertyUsage.Builder newBuilderForType()
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportPropertyUsageResponse.PropertyUsage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReportPropertyUsageResponse.PropertyUsage.Builder toBuilder()
Returns
Type Description
ReportPropertyUsageResponse.PropertyUsage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException