Class PropertyQuota.Builder (0.24.0)

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

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PropertyQuota build()
Returns
TypeDescription
PropertyQuota

buildPartial()

public PropertyQuota buildPartial()
Returns
TypeDescription
PropertyQuota

clear()

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

clearConcurrentRequests()

public PropertyQuota.Builder clearConcurrentRequests()

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
PropertyQuota.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PropertyQuota.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PropertyQuota.Builder
Overrides

clearPotentiallyThresholdedRequestsPerHour()

public PropertyQuota.Builder clearPotentiallyThresholdedRequestsPerHour()

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
PropertyQuota.Builder

clearServerErrorsPerProjectPerHour()

public PropertyQuota.Builder clearServerErrorsPerProjectPerHour()

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
PropertyQuota.Builder

clearTokensPerDay()

public PropertyQuota.Builder clearTokensPerDay()

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
PropertyQuota.Builder

clearTokensPerHour()

public PropertyQuota.Builder clearTokensPerHour()

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
PropertyQuota.Builder

clone()

public PropertyQuota.Builder clone()
Returns
TypeDescription
PropertyQuota.Builder
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.

getConcurrentRequestsBuilder()

public QuotaStatus.Builder getConcurrentRequestsBuilder()

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.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

getPotentiallyThresholdedRequestsPerHourBuilder()

public QuotaStatus.Builder getPotentiallyThresholdedRequestsPerHourBuilder()

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.Builder

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

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.

getServerErrorsPerProjectPerHourBuilder()

public QuotaStatus.Builder getServerErrorsPerProjectPerHourBuilder()

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.Builder

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.

getTokensPerDayBuilder()

public QuotaStatus.Builder getTokensPerDayBuilder()

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.Builder

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.

getTokensPerHourBuilder()

public QuotaStatus.Builder getTokensPerHourBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConcurrentRequests(QuotaStatus value)

public PropertyQuota.Builder mergeConcurrentRequests(QuotaStatus value)

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;

Parameter
NameDescription
valueQuotaStatus
Returns
TypeDescription
PropertyQuota.Builder

mergeFrom(PropertyQuota other)

public PropertyQuota.Builder mergeFrom(PropertyQuota other)
Parameter
NameDescription
otherPropertyQuota
Returns
TypeDescription
PropertyQuota.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PropertyQuota.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PropertyQuota.Builder
Overrides

mergePotentiallyThresholdedRequestsPerHour(QuotaStatus value)

public PropertyQuota.Builder mergePotentiallyThresholdedRequestsPerHour(QuotaStatus value)

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;

Parameter
NameDescription
valueQuotaStatus
Returns
TypeDescription
PropertyQuota.Builder

mergeServerErrorsPerProjectPerHour(QuotaStatus value)

public PropertyQuota.Builder mergeServerErrorsPerProjectPerHour(QuotaStatus value)

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;

Parameter
NameDescription
valueQuotaStatus
Returns
TypeDescription
PropertyQuota.Builder

mergeTokensPerDay(QuotaStatus value)

public PropertyQuota.Builder mergeTokensPerDay(QuotaStatus value)

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;

Parameter
NameDescription
valueQuotaStatus
Returns
TypeDescription
PropertyQuota.Builder

mergeTokensPerHour(QuotaStatus value)

public PropertyQuota.Builder mergeTokensPerHour(QuotaStatus value)

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;

Parameter
NameDescription
valueQuotaStatus
Returns
TypeDescription
PropertyQuota.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConcurrentRequests(QuotaStatus value)

public PropertyQuota.Builder setConcurrentRequests(QuotaStatus value)

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;

Parameter
NameDescription
valueQuotaStatus
Returns
TypeDescription
PropertyQuota.Builder

setConcurrentRequests(QuotaStatus.Builder builderForValue)

public PropertyQuota.Builder setConcurrentRequests(QuotaStatus.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueQuotaStatus.Builder
Returns
TypeDescription
PropertyQuota.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPotentiallyThresholdedRequestsPerHour(QuotaStatus value)

public PropertyQuota.Builder setPotentiallyThresholdedRequestsPerHour(QuotaStatus value)

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;

Parameter
NameDescription
valueQuotaStatus
Returns
TypeDescription
PropertyQuota.Builder

setPotentiallyThresholdedRequestsPerHour(QuotaStatus.Builder builderForValue)

public PropertyQuota.Builder setPotentiallyThresholdedRequestsPerHour(QuotaStatus.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueQuotaStatus.Builder
Returns
TypeDescription
PropertyQuota.Builder

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

public PropertyQuota.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PropertyQuota.Builder
Overrides

setServerErrorsPerProjectPerHour(QuotaStatus value)

public PropertyQuota.Builder setServerErrorsPerProjectPerHour(QuotaStatus value)

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;

Parameter
NameDescription
valueQuotaStatus
Returns
TypeDescription
PropertyQuota.Builder

setServerErrorsPerProjectPerHour(QuotaStatus.Builder builderForValue)

public PropertyQuota.Builder setServerErrorsPerProjectPerHour(QuotaStatus.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueQuotaStatus.Builder
Returns
TypeDescription
PropertyQuota.Builder

setTokensPerDay(QuotaStatus value)

public PropertyQuota.Builder setTokensPerDay(QuotaStatus value)

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;

Parameter
NameDescription
valueQuotaStatus
Returns
TypeDescription
PropertyQuota.Builder

setTokensPerDay(QuotaStatus.Builder builderForValue)

public PropertyQuota.Builder setTokensPerDay(QuotaStatus.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueQuotaStatus.Builder
Returns
TypeDescription
PropertyQuota.Builder

setTokensPerHour(QuotaStatus value)

public PropertyQuota.Builder setTokensPerHour(QuotaStatus value)

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;

Parameter
NameDescription
valueQuotaStatus
Returns
TypeDescription
PropertyQuota.Builder

setTokensPerHour(QuotaStatus.Builder builderForValue)

public PropertyQuota.Builder setTokensPerHour(QuotaStatus.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueQuotaStatus.Builder
Returns
TypeDescription
PropertyQuota.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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