Class AccessQuota.Builder (0.43.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.v1alpha.AccessQuota

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AccessQuota.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccessQuota.Builder
Overrides

build()

public AccessQuota build()
Returns
TypeDescription
AccessQuota

buildPartial()

public AccessQuota buildPartial()
Returns
TypeDescription
AccessQuota

clear()

public AccessQuota.Builder clear()
Returns
TypeDescription
AccessQuota.Builder
Overrides

clearConcurrentRequests()

public AccessQuota.Builder clearConcurrentRequests()

Properties can use up to 50 concurrent requests.

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

Returns
TypeDescription
AccessQuota.Builder

clearField(Descriptors.FieldDescriptor field)

public AccessQuota.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AccessQuota.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AccessQuota.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;

Returns
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_day = 1;

Returns
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_hour = 2;

Returns
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5;

Returns
TypeDescription
AccessQuota.Builder

clone()

public AccessQuota.Builder clone()
Returns
TypeDescription
AccessQuota.Builder
Overrides

getConcurrentRequests()

public AccessQuotaStatus getConcurrentRequests()

Properties can use up to 50 concurrent requests.

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

Returns
TypeDescription
AccessQuotaStatus

The concurrentRequests.

getConcurrentRequestsBuilder()

public AccessQuotaStatus.Builder getConcurrentRequestsBuilder()

Properties can use up to 50 concurrent requests.

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

Returns
TypeDescription
AccessQuotaStatus.Builder

getConcurrentRequestsOrBuilder()

public AccessQuotaStatusOrBuilder getConcurrentRequestsOrBuilder()

Properties can use up to 50 concurrent requests.

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

Returns
TypeDescription
AccessQuotaStatusOrBuilder

getDefaultInstanceForType()

public AccessQuota getDefaultInstanceForType()
Returns
TypeDescription
AccessQuota

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
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.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;

Returns
TypeDescription
AccessQuotaStatus.Builder

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
TypeDescription
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
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_day = 1;

Returns
TypeDescription
AccessQuotaStatus.Builder

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

Returns
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_hour = 2;

Returns
TypeDescription
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
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5;

Returns
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5;

Returns
TypeDescription
AccessQuotaStatusOrBuilder

hasConcurrentRequests()

public boolean hasConcurrentRequests()

Properties can use up to 50 concurrent requests.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the tokensPerProjectPerHour field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConcurrentRequests(AccessQuotaStatus value)

public AccessQuota.Builder mergeConcurrentRequests(AccessQuotaStatus value)

Properties can use up to 50 concurrent requests.

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

Parameter
NameDescription
valueAccessQuotaStatus
Returns
TypeDescription
AccessQuota.Builder

mergeFrom(AccessQuota other)

public AccessQuota.Builder mergeFrom(AccessQuota other)
Parameter
NameDescription
otherAccessQuota
Returns
TypeDescription
AccessQuota.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AccessQuota.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessQuota.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AccessQuota.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;

Parameter
NameDescription
valueAccessQuotaStatus
Returns
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_day = 1;

Parameter
NameDescription
valueAccessQuotaStatus
Returns
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_hour = 2;

Parameter
NameDescription
valueAccessQuotaStatus
Returns
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5;

Parameter
NameDescription
valueAccessQuotaStatus
Returns
TypeDescription
AccessQuota.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccessQuota.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AccessQuota.Builder
Overrides

setConcurrentRequests(AccessQuotaStatus value)

public AccessQuota.Builder setConcurrentRequests(AccessQuotaStatus value)

Properties can use up to 50 concurrent requests.

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

Parameter
NameDescription
valueAccessQuotaStatus
Returns
TypeDescription
AccessQuota.Builder

setConcurrentRequests(AccessQuotaStatus.Builder builderForValue)

public AccessQuota.Builder setConcurrentRequests(AccessQuotaStatus.Builder builderForValue)

Properties can use up to 50 concurrent requests.

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

Parameter
NameDescription
builderForValueAccessQuotaStatus.Builder
Returns
TypeDescription
AccessQuota.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AccessQuota.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccessQuota.Builder
Overrides

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

public AccessQuota.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;

Parameter
NameDescription
valueAccessQuotaStatus
Returns
TypeDescription
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.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;

Parameter
NameDescription
builderForValueAccessQuotaStatus.Builder
Returns
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_day = 1;

Parameter
NameDescription
valueAccessQuotaStatus
Returns
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_day = 1;

Parameter
NameDescription
builderForValueAccessQuotaStatus.Builder
Returns
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_hour = 2;

Parameter
NameDescription
valueAccessQuotaStatus
Returns
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_hour = 2;

Parameter
NameDescription
builderForValueAccessQuotaStatus.Builder
Returns
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5;

Parameter
NameDescription
valueAccessQuotaStatus
Returns
TypeDescription
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.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5;

Parameter
NameDescription
builderForValueAccessQuotaStatus.Builder
Returns
TypeDescription
AccessQuota.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AccessQuota.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AccessQuota.Builder
Overrides