Class AccessQuota.Builder (0.55.0)

public static final class AccessQuota.Builder extends GeneratedMessageV3.Builder<AccessQuota.Builder> 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.v1beta.AccessQuota

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AccessQuota.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AccessQuota.Builder
Overrides

build()

public AccessQuota build()
Returns
Type Description
AccessQuota

buildPartial()

public AccessQuota buildPartial()
Returns
Type Description
AccessQuota

clear()

public AccessQuota.Builder clear()
Returns
Type Description
AccessQuota.Builder
Overrides

clearConcurrentRequests()

public AccessQuota.Builder clearConcurrentRequests()

Properties can use up to 50 concurrent requests.

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

Returns
Type Description
AccessQuota.Builder

clearField(Descriptors.FieldDescriptor field)

public AccessQuota.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AccessQuota.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AccessQuota.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AccessQuota.Builder
Overrides

clearServerErrorsPerProjectPerHour()

public AccessQuota.Builder clearServerErrorsPerProjectPerHour()

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

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

Returns
Type Description
AccessQuota.Builder

clearTokensPerDay()

public AccessQuota.Builder clearTokensPerDay()

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

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

Returns
Type Description
AccessQuota.Builder

clearTokensPerHour()

public AccessQuota.Builder clearTokensPerHour()

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.v1beta.AccessQuotaStatus tokens_per_hour = 2;

Returns
Type Description
AccessQuota.Builder

clearTokensPerProjectPerHour()

public AccessQuota.Builder clearTokensPerProjectPerHour()

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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5;

Returns
Type Description
AccessQuota.Builder

clone()

public AccessQuota.Builder clone()
Returns
Type Description
AccessQuota.Builder
Overrides

getConcurrentRequests()

public AccessQuotaStatus getConcurrentRequests()

Properties can use up to 50 concurrent requests.

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

Returns
Type Description
AccessQuotaStatus

The concurrentRequests.

getConcurrentRequestsBuilder()

public AccessQuotaStatus.Builder getConcurrentRequestsBuilder()

Properties can use up to 50 concurrent requests.

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

Returns
Type Description
AccessQuotaStatus.Builder

getConcurrentRequestsOrBuilder()

public AccessQuotaStatusOrBuilder getConcurrentRequestsOrBuilder()

Properties can use up to 50 concurrent requests.

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

Returns
Type Description
AccessQuotaStatusOrBuilder

getDefaultInstanceForType()

public AccessQuota getDefaultInstanceForType()
Returns
Type Description
AccessQuota

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getServerErrorsPerProjectPerHour()

public AccessQuotaStatus getServerErrorsPerProjectPerHour()

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

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

Returns
Type Description
AccessQuotaStatus

The serverErrorsPerProjectPerHour.

getServerErrorsPerProjectPerHourBuilder()

public AccessQuotaStatus.Builder getServerErrorsPerProjectPerHourBuilder()

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

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

Returns
Type Description
AccessQuotaStatus.Builder

getServerErrorsPerProjectPerHourOrBuilder()

public AccessQuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder()

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

.google.analytics.admin.v1beta.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.v1beta.AccessQuotaStatus tokens_per_day = 1;

Returns
Type Description
AccessQuotaStatus

The tokensPerDay.

getTokensPerDayBuilder()

public AccessQuotaStatus.Builder getTokensPerDayBuilder()

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

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

Returns
Type Description
AccessQuotaStatus.Builder

getTokensPerDayOrBuilder()

public AccessQuotaStatusOrBuilder getTokensPerDayOrBuilder()

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

.google.analytics.admin.v1beta.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.v1beta.AccessQuotaStatus tokens_per_hour = 2;

Returns
Type Description
AccessQuotaStatus

The tokensPerHour.

getTokensPerHourBuilder()

public AccessQuotaStatus.Builder getTokensPerHourBuilder()

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.v1beta.AccessQuotaStatus tokens_per_hour = 2;

Returns
Type Description
AccessQuotaStatus.Builder

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.v1beta.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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5;

Returns
Type Description
AccessQuotaStatus

The tokensPerProjectPerHour.

getTokensPerProjectPerHourBuilder()

public AccessQuotaStatus.Builder getTokensPerProjectPerHourBuilder()

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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5;

Returns
Type Description
AccessQuotaStatus.Builder

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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5;

Returns
Type Description
boolean

Whether the tokensPerProjectPerHour field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConcurrentRequests(AccessQuotaStatus value)

public AccessQuota.Builder mergeConcurrentRequests(AccessQuotaStatus value)

Properties can use up to 50 concurrent requests.

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

Parameter
Name Description
value AccessQuotaStatus
Returns
Type Description
AccessQuota.Builder

mergeFrom(AccessQuota other)

public AccessQuota.Builder mergeFrom(AccessQuota other)
Parameter
Name Description
other AccessQuota
Returns
Type Description
AccessQuota.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AccessQuota.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessQuota.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AccessQuota.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AccessQuota.Builder
Overrides

mergeServerErrorsPerProjectPerHour(AccessQuotaStatus value)

public AccessQuota.Builder mergeServerErrorsPerProjectPerHour(AccessQuotaStatus value)

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

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

Parameter
Name Description
value AccessQuotaStatus
Returns
Type Description
AccessQuota.Builder

mergeTokensPerDay(AccessQuotaStatus value)

public AccessQuota.Builder mergeTokensPerDay(AccessQuotaStatus value)

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

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

Parameter
Name Description
value AccessQuotaStatus
Returns
Type Description
AccessQuota.Builder

mergeTokensPerHour(AccessQuotaStatus value)

public AccessQuota.Builder mergeTokensPerHour(AccessQuotaStatus value)

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.v1beta.AccessQuotaStatus tokens_per_hour = 2;

Parameter
Name Description
value AccessQuotaStatus
Returns
Type Description
AccessQuota.Builder

mergeTokensPerProjectPerHour(AccessQuotaStatus value)

public AccessQuota.Builder mergeTokensPerProjectPerHour(AccessQuotaStatus value)

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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5;

Parameter
Name Description
value AccessQuotaStatus
Returns
Type Description
AccessQuota.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccessQuota.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AccessQuota.Builder
Overrides

setConcurrentRequests(AccessQuotaStatus value)

public AccessQuota.Builder setConcurrentRequests(AccessQuotaStatus value)

Properties can use up to 50 concurrent requests.

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

Parameter
Name Description
value AccessQuotaStatus
Returns
Type Description
AccessQuota.Builder

setConcurrentRequests(AccessQuotaStatus.Builder builderForValue)

public AccessQuota.Builder setConcurrentRequests(AccessQuotaStatus.Builder builderForValue)

Properties can use up to 50 concurrent requests.

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

Parameter
Name Description
builderForValue AccessQuotaStatus.Builder
Returns
Type Description
AccessQuota.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AccessQuota.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AccessQuota.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AccessQuota.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AccessQuota.Builder
Overrides

setServerErrorsPerProjectPerHour(AccessQuotaStatus value)

public AccessQuota.Builder setServerErrorsPerProjectPerHour(AccessQuotaStatus value)

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

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

Parameter
Name Description
value AccessQuotaStatus
Returns
Type Description
AccessQuota.Builder

setServerErrorsPerProjectPerHour(AccessQuotaStatus.Builder builderForValue)

public AccessQuota.Builder setServerErrorsPerProjectPerHour(AccessQuotaStatus.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue AccessQuotaStatus.Builder
Returns
Type Description
AccessQuota.Builder

setTokensPerDay(AccessQuotaStatus value)

public AccessQuota.Builder setTokensPerDay(AccessQuotaStatus value)

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

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

Parameter
Name Description
value AccessQuotaStatus
Returns
Type Description
AccessQuota.Builder

setTokensPerDay(AccessQuotaStatus.Builder builderForValue)

public AccessQuota.Builder setTokensPerDay(AccessQuotaStatus.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue AccessQuotaStatus.Builder
Returns
Type Description
AccessQuota.Builder

setTokensPerHour(AccessQuotaStatus value)

public AccessQuota.Builder setTokensPerHour(AccessQuotaStatus value)

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.v1beta.AccessQuotaStatus tokens_per_hour = 2;

Parameter
Name Description
value AccessQuotaStatus
Returns
Type Description
AccessQuota.Builder

setTokensPerHour(AccessQuotaStatus.Builder builderForValue)

public AccessQuota.Builder setTokensPerHour(AccessQuotaStatus.Builder builderForValue)

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.v1beta.AccessQuotaStatus tokens_per_hour = 2;

Parameter
Name Description
builderForValue AccessQuotaStatus.Builder
Returns
Type Description
AccessQuota.Builder

setTokensPerProjectPerHour(AccessQuotaStatus value)

public AccessQuota.Builder setTokensPerProjectPerHour(AccessQuotaStatus value)

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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5;

Parameter
Name Description
value AccessQuotaStatus
Returns
Type Description
AccessQuota.Builder

setTokensPerProjectPerHour(AccessQuotaStatus.Builder builderForValue)

public AccessQuota.Builder setTokensPerProjectPerHour(AccessQuotaStatus.Builder builderForValue)

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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5;

Parameter
Name Description
builderForValue AccessQuotaStatus.Builder
Returns
Type Description
AccessQuota.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AccessQuota.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AccessQuota.Builder
Overrides