Class AccessQuota (0.64.0)

public final class AccessQuota extends GeneratedMessageV3 implements AccessQuotaOrBuilder

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.admin.v1alpha.AccessQuota

Static Fields

CONCURRENT_REQUESTS_FIELD_NUMBER

public static final int CONCURRENT_REQUESTS_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 AccessQuota getDefaultInstance()
Returns
Type Description
AccessQuota

getDescriptor()

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

newBuilder()

public static AccessQuota.Builder newBuilder()
Returns
Type Description
AccessQuota.Builder

newBuilder(AccessQuota prototype)

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

parseDelimitedFrom(InputStream input)

public static AccessQuota parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AccessQuota
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AccessQuota parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AccessQuota
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AccessQuota parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AccessQuota
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AccessQuota parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AccessQuota
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AccessQuota parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AccessQuota
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AccessQuota> parser()
Returns
Type Description
Parser<AccessQuota>

Methods

equals(Object obj)

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

getConcurrentRequests()

public AccessQuotaStatus getConcurrentRequests()

Properties can use up to 50 concurrent requests.

.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;

Returns
Type Description
AccessQuotaStatus

The concurrentRequests.

getConcurrentRequestsOrBuilder()

public AccessQuotaStatusOrBuilder getConcurrentRequestsOrBuilder()

Properties can use up to 50 concurrent requests.

.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;

Returns
Type Description
AccessQuotaStatusOrBuilder

getDefaultInstanceForType()

public AccessQuota getDefaultInstanceForType()
Returns
Type Description
AccessQuota

getParserForType()

public Parser<AccessQuota> getParserForType()
Returns
Type Description
Parser<AccessQuota>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServerErrorsPerProjectPerHour()

public AccessQuotaStatus getServerErrorsPerProjectPerHour()

Properties and cloud project pairs can have up to 50 server errors per hour.

.google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;

Returns
Type Description
AccessQuotaStatus

The serverErrorsPerProjectPerHour.

getServerErrorsPerProjectPerHourOrBuilder()

public AccessQuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder()

Properties and cloud project pairs can have up to 50 server errors per hour.

.google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;

Returns
Type Description
AccessQuotaStatusOrBuilder

getTokensPerDay()

public AccessQuotaStatus getTokensPerDay()

Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens.

.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;

Returns
Type Description
AccessQuotaStatus

The tokensPerDay.

getTokensPerDayOrBuilder()

public AccessQuotaStatusOrBuilder getTokensPerDayOrBuilder()

Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens.

.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;

Returns
Type Description
AccessQuotaStatusOrBuilder

getTokensPerHour()

public AccessQuotaStatus getTokensPerHour()

Properties can use 50,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.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;

Returns
Type Description
AccessQuotaStatus

The tokensPerHour.

getTokensPerHourOrBuilder()

public AccessQuotaStatusOrBuilder getTokensPerHourOrBuilder()

Properties can use 50,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.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;

Returns
Type Description
AccessQuotaStatusOrBuilder

getTokensPerProjectPerHour()

public AccessQuotaStatus getTokensPerProjectPerHour()

Properties can use up to 25% of their tokens per project per hour. This amounts to Analytics 360 Properties can use 12,500 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.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5;

Returns
Type Description
AccessQuotaStatus

The tokensPerProjectPerHour.

getTokensPerProjectPerHourOrBuilder()

public AccessQuotaStatusOrBuilder getTokensPerProjectPerHourOrBuilder()

Properties can use up to 25% of their tokens per project per hour. This amounts to Analytics 360 Properties can use 12,500 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.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5;

Returns
Type Description
AccessQuotaStatusOrBuilder

hasConcurrentRequests()

public boolean hasConcurrentRequests()

Properties can use up to 50 concurrent requests.

.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;

Returns
Type Description
boolean

Whether the concurrentRequests field is set.

hasServerErrorsPerProjectPerHour()

public boolean hasServerErrorsPerProjectPerHour()

Properties and cloud project pairs can have up to 50 server errors per hour.

.google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;

Returns
Type Description
boolean

Whether the serverErrorsPerProjectPerHour field is set.

hasTokensPerDay()

public boolean hasTokensPerDay()

Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens.

.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;

Returns
Type Description
boolean

Whether the tokensPerDay field is set.

hasTokensPerHour()

public boolean hasTokensPerHour()

Properties can use 50,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.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;

Returns
Type Description
boolean

Whether the tokensPerHour field is set.

hasTokensPerProjectPerHour()

public boolean hasTokensPerProjectPerHour()

Properties can use up to 25% of their tokens per project per hour. This amounts to Analytics 360 Properties can use 12,500 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.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5;

Returns
Type Description
boolean

Whether the tokensPerProjectPerHour field is set.

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 AccessQuota.Builder newBuilderForType()
Returns
Type Description
AccessQuota.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AccessQuota.Builder toBuilder()
Returns
Type Description
AccessQuota.Builder

writeTo(CodedOutputStream output)

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