Class PropertyQuota (0.26.0)

public final class PropertyQuota extends GeneratedMessageV3 implements PropertyQuotaOrBuilder

Current state of all quotas for this Analytics Property. If any quota for a property is exhausted, all requests to that property will return Resource Exhausted errors.

Protobuf type google.analytics.data.v1alpha.PropertyQuota

Static Fields

CONCURRENT_REQUESTS_FIELD_NUMBER

public static final int CONCURRENT_REQUESTS_FIELD_NUMBER
Field Value
TypeDescription
int

POTENTIALLY_THRESHOLDED_REQUESTS_PER_HOUR_FIELD_NUMBER

public static final int POTENTIALLY_THRESHOLDED_REQUESTS_PER_HOUR_FIELD_NUMBER
Field Value
TypeDescription
int

SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER

public static final int SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER
Field Value
TypeDescription
int

TOKENS_PER_DAY_FIELD_NUMBER

public static final int TOKENS_PER_DAY_FIELD_NUMBER
Field Value
TypeDescription
int

TOKENS_PER_HOUR_FIELD_NUMBER

public static final int TOKENS_PER_HOUR_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PropertyQuota getDefaultInstance()
Returns
TypeDescription
PropertyQuota

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PropertyQuota.Builder newBuilder()
Returns
TypeDescription
PropertyQuota.Builder

newBuilder(PropertyQuota prototype)

public static PropertyQuota.Builder newBuilder(PropertyQuota prototype)
Parameter
NameDescription
prototypePropertyQuota
Returns
TypeDescription
PropertyQuota.Builder

parseDelimitedFrom(InputStream input)

public static PropertyQuota parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PropertyQuota
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyQuota parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyQuota
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PropertyQuota parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PropertyQuota
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PropertyQuota parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyQuota
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PropertyQuota parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PropertyQuota
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PropertyQuota parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyQuota
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PropertyQuota parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PropertyQuota
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyQuota parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyQuota
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PropertyQuota parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PropertyQuota
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyQuota parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyQuota
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PropertyQuota parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PropertyQuota
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PropertyQuota parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyQuota
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PropertyQuota> parser()
Returns
TypeDescription
Parser<PropertyQuota>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConcurrentRequests()

public QuotaStatus getConcurrentRequests()

Standard Analytics Properties can send up to 10 concurrent requests; Analytics 360 Properties can use up to 50 concurrent requests.

.google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3;

Returns
TypeDescription
QuotaStatus

The concurrentRequests.

getConcurrentRequestsOrBuilder()

public QuotaStatusOrBuilder getConcurrentRequestsOrBuilder()

Standard Analytics Properties can send up to 10 concurrent requests; Analytics 360 Properties can use up to 50 concurrent requests.

.google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3;

Returns
TypeDescription
QuotaStatusOrBuilder

getDefaultInstanceForType()

public PropertyQuota getDefaultInstanceForType()
Returns
TypeDescription
PropertyQuota

getParserForType()

public Parser<PropertyQuota> getParserForType()
Returns
TypeDescription
Parser<PropertyQuota>
Overrides

getPotentiallyThresholdedRequestsPerHour()

public QuotaStatus getPotentiallyThresholdedRequestsPerHour()

Analytics Properties can send up to 120 requests with potentially thresholded dimensions per hour. In a batch request, each report request is individually counted for this quota if the request contains potentially thresholded dimensions.

.google.analytics.data.v1alpha.QuotaStatus potentially_thresholded_requests_per_hour = 5;

Returns
TypeDescription
QuotaStatus

The potentiallyThresholdedRequestsPerHour.

getPotentiallyThresholdedRequestsPerHourOrBuilder()

public QuotaStatusOrBuilder getPotentiallyThresholdedRequestsPerHourOrBuilder()

Analytics Properties can send up to 120 requests with potentially thresholded dimensions per hour. In a batch request, each report request is individually counted for this quota if the request contains potentially thresholded dimensions.

.google.analytics.data.v1alpha.QuotaStatus potentially_thresholded_requests_per_hour = 5;

Returns
TypeDescription
QuotaStatusOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServerErrorsPerProjectPerHour()

public QuotaStatus getServerErrorsPerProjectPerHour()

Standard Analytics Properties and cloud project pairs can have up to 10 server errors per hour; Analytics 360 Properties and cloud project pairs can have up to 50 server errors per hour.

.google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4;

Returns
TypeDescription
QuotaStatus

The serverErrorsPerProjectPerHour.

getServerErrorsPerProjectPerHourOrBuilder()

public QuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder()

Standard Analytics Properties and cloud project pairs can have up to 10 server errors per hour; Analytics 360 Properties and cloud project pairs can have up to 50 server errors per hour.

.google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4;

Returns
TypeDescription
QuotaStatusOrBuilder

getTokensPerDay()

public QuotaStatus getTokensPerDay()

Standard Analytics Properties can use up to 25,000 tokens per day; Analytics 360 Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens.

.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;

Returns
TypeDescription
QuotaStatus

The tokensPerDay.

getTokensPerDayOrBuilder()

public QuotaStatusOrBuilder getTokensPerDayOrBuilder()

Standard Analytics Properties can use up to 25,000 tokens per day; Analytics 360 Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens.

.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;

Returns
TypeDescription
QuotaStatusOrBuilder

getTokensPerHour()

public QuotaStatus getTokensPerHour()

Standard Analytics Properties can use up to 5,000 tokens per hour; Analytics 360 Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from both the hourly and daily quotas.

.google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2;

Returns
TypeDescription
QuotaStatus

The tokensPerHour.

getTokensPerHourOrBuilder()

public QuotaStatusOrBuilder getTokensPerHourOrBuilder()

Standard Analytics Properties can use up to 5,000 tokens per hour; Analytics 360 Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from both the hourly and daily quotas.

.google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2;

Returns
TypeDescription
QuotaStatusOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasConcurrentRequests()

public boolean hasConcurrentRequests()

Standard Analytics Properties can send up to 10 concurrent requests; Analytics 360 Properties can use up to 50 concurrent requests.

.google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3;

Returns
TypeDescription
boolean

Whether the concurrentRequests field is set.

hasPotentiallyThresholdedRequestsPerHour()

public boolean hasPotentiallyThresholdedRequestsPerHour()

Analytics Properties can send up to 120 requests with potentially thresholded dimensions per hour. In a batch request, each report request is individually counted for this quota if the request contains potentially thresholded dimensions.

.google.analytics.data.v1alpha.QuotaStatus potentially_thresholded_requests_per_hour = 5;

Returns
TypeDescription
boolean

Whether the potentiallyThresholdedRequestsPerHour field is set.

hasServerErrorsPerProjectPerHour()

public boolean hasServerErrorsPerProjectPerHour()

Standard Analytics Properties and cloud project pairs can have up to 10 server errors per hour; Analytics 360 Properties and cloud project pairs can have up to 50 server errors per hour.

.google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4;

Returns
TypeDescription
boolean

Whether the serverErrorsPerProjectPerHour field is set.

hasTokensPerDay()

public boolean hasTokensPerDay()

Standard Analytics Properties can use up to 25,000 tokens per day; Analytics 360 Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens.

.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;

Returns
TypeDescription
boolean

Whether the tokensPerDay field is set.

hasTokensPerHour()

public boolean hasTokensPerHour()

Standard Analytics Properties can use up to 5,000 tokens per hour; Analytics 360 Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from both the hourly and daily quotas.

.google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2;

Returns
TypeDescription
boolean

Whether the tokensPerHour field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PropertyQuota.Builder newBuilderForType()
Returns
TypeDescription
PropertyQuota.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PropertyQuota.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PropertyQuota.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PropertyQuota.Builder toBuilder()
Returns
TypeDescription
PropertyQuota.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException