Class AccessQuota
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.admin.v1alpha.AccessQuota
- All Implemented Interfaces:
AccessQuotaOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AccessQuota
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCurrent state of all quotas for this Analytics property.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanProperties can use up to 50 concurrent requests.Properties can use up to 50 concurrent requests.static AccessQuotastatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<AccessQuota>intProperties and cloud project pairs can have up to 50 server errors per hour.Properties and cloud project pairs can have up to 50 server errors per hour.Properties can use 250,000 tokens per day.Properties can use 250,000 tokens per day.Properties can use 50,000 tokens per hour.Properties can use 50,000 tokens per hour.Properties can use up to 25% of their tokens per project per hour.Properties can use up to 25% of their tokens per project per hour.booleanProperties can use up to 50 concurrent requests.inthashCode()booleanProperties and cloud project pairs can have up to 50 server errors per hour.booleanProperties can use 250,000 tokens per day.booleanProperties can use 50,000 tokens per hour.booleanProperties can use up to 25% of their tokens per project per hour.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic AccessQuota.Builderstatic AccessQuota.BuildernewBuilder(AccessQuota prototype) protected AccessQuota.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AccessQuotaparseDelimitedFrom(InputStream input) static AccessQuotaparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AccessQuotaparseFrom(byte[] data) static AccessQuotaparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AccessQuotaparseFrom(com.google.protobuf.ByteString data) static AccessQuotaparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AccessQuotaparseFrom(com.google.protobuf.CodedInputStream input) static AccessQuotaparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AccessQuotaparseFrom(InputStream input) static AccessQuotaparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AccessQuotaparseFrom(ByteBuffer data) static AccessQuotaparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AccessQuota>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TOKENS_PER_DAY_FIELD_NUMBER
public static final int TOKENS_PER_DAY_FIELD_NUMBER- See Also:
-
TOKENS_PER_HOUR_FIELD_NUMBER
public static final int TOKENS_PER_HOUR_FIELD_NUMBER- See Also:
-
CONCURRENT_REQUESTS_FIELD_NUMBER
public static final int CONCURRENT_REQUESTS_FIELD_NUMBER- See Also:
-
SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER
public static final int SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER- See Also:
-
TOKENS_PER_PROJECT_PER_HOUR_FIELD_NUMBER
public static final int TOKENS_PER_PROJECT_PER_HOUR_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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;- Specified by:
hasTokensPerDayin interfaceAccessQuotaOrBuilder- Returns:
- Whether the tokensPerDay field is set.
-
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;- Specified by:
getTokensPerDayin interfaceAccessQuotaOrBuilder- Returns:
- The tokensPerDay.
-
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;- Specified by:
getTokensPerDayOrBuilderin interfaceAccessQuotaOrBuilder
-
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;- Specified by:
hasTokensPerHourin interfaceAccessQuotaOrBuilder- Returns:
- Whether the tokensPerHour field is set.
-
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;- Specified by:
getTokensPerHourin interfaceAccessQuotaOrBuilder- Returns:
- The tokensPerHour.
-
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;- Specified by:
getTokensPerHourOrBuilderin interfaceAccessQuotaOrBuilder
-
hasConcurrentRequests
public boolean hasConcurrentRequests()Properties can use up to 50 concurrent requests.
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;- Specified by:
hasConcurrentRequestsin interfaceAccessQuotaOrBuilder- Returns:
- Whether the concurrentRequests field is set.
-
getConcurrentRequests
Properties can use up to 50 concurrent requests.
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;- Specified by:
getConcurrentRequestsin interfaceAccessQuotaOrBuilder- Returns:
- The concurrentRequests.
-
getConcurrentRequestsOrBuilder
Properties can use up to 50 concurrent requests.
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;- Specified by:
getConcurrentRequestsOrBuilderin interfaceAccessQuotaOrBuilder
-
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;- Specified by:
hasServerErrorsPerProjectPerHourin interfaceAccessQuotaOrBuilder- Returns:
- Whether the serverErrorsPerProjectPerHour field is set.
-
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;- Specified by:
getServerErrorsPerProjectPerHourin interfaceAccessQuotaOrBuilder- Returns:
- The serverErrorsPerProjectPerHour.
-
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;- Specified by:
getServerErrorsPerProjectPerHourOrBuilderin interfaceAccessQuotaOrBuilder
-
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;- Specified by:
hasTokensPerProjectPerHourin interfaceAccessQuotaOrBuilder- Returns:
- Whether the tokensPerProjectPerHour field is set.
-
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;- Specified by:
getTokensPerProjectPerHourin interfaceAccessQuotaOrBuilder- Returns:
- The tokensPerProjectPerHour.
-
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;- Specified by:
getTokensPerProjectPerHourOrBuilderin interfaceAccessQuotaOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AccessQuota parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessQuota parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessQuota parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessQuota parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessQuota parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessQuota parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AccessQuota parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AccessQuota parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AccessQuota parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AccessQuota.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-