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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CONCURRENT_REQUESTS_FIELD_NUMBER
public static final int CONCURRENT_REQUESTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POTENTIALLY_THRESHOLDED_REQUESTS_PER_HOUR_FIELD_NUMBER
public static final int POTENTIALLY_THRESHOLDED_REQUESTS_PER_HOUR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER
public static final int SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TOKENS_PER_DAY_FIELD_NUMBER
public static final int TOKENS_PER_DAY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TOKENS_PER_HOUR_FIELD_NUMBER
public static final int TOKENS_PER_HOUR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TOKENS_PER_PROJECT_PER_HOUR_FIELD_NUMBER
public static final int TOKENS_PER_PROJECT_PER_HOUR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PropertyQuota getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PropertyQuota.Builder newBuilder()
newBuilder(PropertyQuota prototype)
public static PropertyQuota.Builder newBuilder(PropertyQuota prototype)
public static PropertyQuota parseDelimitedFrom(InputStream input)
public static PropertyQuota parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PropertyQuota parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PropertyQuota parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PropertyQuota parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PropertyQuota parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PropertyQuota parseFrom(CodedInputStream input)
public static PropertyQuota parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PropertyQuota parseFrom(InputStream input)
public static PropertyQuota parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PropertyQuota parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PropertyQuota parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PropertyQuota> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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 |
Type |
Description |
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;
getDefaultInstanceForType()
public PropertyQuota getDefaultInstanceForType()
getParserForType()
public Parser<PropertyQuota> getParserForType()
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 |
Type |
Description |
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;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
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 |
Type |
Description |
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;
getTokensPerDay()
public QuotaStatus getTokensPerDay()
Standard Analytics Properties can use up to 200,000 tokens per day;
Analytics 360 Properties can use 2,000,000 tokens per day. Most requests
consume fewer than 10 tokens.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;
getTokensPerDayOrBuilder()
public QuotaStatusOrBuilder getTokensPerDayOrBuilder()
Standard Analytics Properties can use up to 200,000 tokens per day;
Analytics 360 Properties can use 2,000,000 tokens per day. Most requests
consume fewer than 10 tokens.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;
getTokensPerHour()
public QuotaStatus getTokensPerHour()
Standard Analytics Properties can use up to 40,000 tokens per hour;
Analytics 360 Properties can use 400,000 tokens per hour. An API request
consumes a single number of tokens, and that number is deducted from all of
the hourly, daily, and per project hourly quotas.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2;
Returns |
Type |
Description |
QuotaStatus |
The tokensPerHour.
|
getTokensPerHourOrBuilder()
public QuotaStatusOrBuilder getTokensPerHourOrBuilder()
Standard Analytics Properties can use up to 40,000 tokens per hour;
Analytics 360 Properties can use 400,000 tokens per hour. An API request
consumes a single number of tokens, and that number is deducted from all of
the hourly, daily, and per project hourly quotas.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2;
getTokensPerProjectPerHour()
public QuotaStatus getTokensPerProjectPerHour()
Analytics Properties can use up to 35% of their tokens per project per
hour. This amounts to standard Analytics Properties can use up to 14,000
tokens per project per hour, and Analytics 360 Properties can use 140,000
tokens per project per hour. An API request consumes a single number of
tokens, and that number is deducted from all of the hourly, daily, and per
project hourly quotas.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_project_per_hour = 6;
Returns |
Type |
Description |
QuotaStatus |
The tokensPerProjectPerHour.
|
getTokensPerProjectPerHourOrBuilder()
public QuotaStatusOrBuilder getTokensPerProjectPerHourOrBuilder()
Analytics Properties can use up to 35% of their tokens per project per
hour. This amounts to standard Analytics Properties can use up to 14,000
tokens per project per hour, and Analytics 360 Properties can use 140,000
tokens per project per hour. An API request consumes a single number of
tokens, and that number is deducted from all of the hourly, daily, and per
project hourly quotas.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_project_per_hour = 6;
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 |
Type |
Description |
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 |
Type |
Description |
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 |
Type |
Description |
boolean |
Whether the serverErrorsPerProjectPerHour field is set.
|
hasTokensPerDay()
public boolean hasTokensPerDay()
Standard Analytics Properties can use up to 200,000 tokens per day;
Analytics 360 Properties can use 2,000,000 tokens per day. Most requests
consume fewer than 10 tokens.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;
Returns |
Type |
Description |
boolean |
Whether the tokensPerDay field is set.
|
hasTokensPerHour()
public boolean hasTokensPerHour()
Standard Analytics Properties can use up to 40,000 tokens per hour;
Analytics 360 Properties can use 400,000 tokens per hour. An API request
consumes a single number of tokens, and that number is deducted from all of
the hourly, daily, and per project hourly quotas.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2;
Returns |
Type |
Description |
boolean |
Whether the tokensPerHour field is set.
|
hasTokensPerProjectPerHour()
public boolean hasTokensPerProjectPerHour()
Analytics Properties can use up to 35% of their tokens per project per
hour. This amounts to standard Analytics Properties can use up to 14,000
tokens per project per hour, and Analytics 360 Properties can use 140,000
tokens per project per hour. An API request consumes a single number of
tokens, and that number is deducted from all of the hourly, daily, and per
project hourly quotas.
.google.analytics.data.v1alpha.QuotaStatus tokens_per_project_per_hour = 6;
Returns |
Type |
Description |
boolean |
Whether the tokensPerProjectPerHour field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PropertyQuota.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PropertyQuota.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PropertyQuota.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides