Class PropertyQuota

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.data.v1alpha.PropertyQuota
All Implemented Interfaces:
PropertyQuotaOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class PropertyQuota extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Current 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Standard Analytics Properties can send up to 10 concurrent requests; Analytics 360 Properties can use up to 50 concurrent requests.
    Standard Analytics Properties can send up to 10 concurrent requests; Analytics 360 Properties can use up to 50 concurrent requests.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Parser<PropertyQuota>
     
    Analytics Properties can send up to 120 requests with potentially thresholded dimensions per hour.
    Analytics Properties can send up to 120 requests with potentially thresholded dimensions per hour.
    int
     
    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.
    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.
    Standard Analytics Properties can use up to 200,000 tokens per day; Analytics 360 Properties can use 2,000,000 tokens per day.
    Standard Analytics Properties can use up to 200,000 tokens per day; Analytics 360 Properties can use 2,000,000 tokens per day.
    Standard Analytics Properties can use up to 40,000 tokens per hour; Analytics 360 Properties can use 400,000 tokens per hour.
    Standard Analytics Properties can use up to 40,000 tokens per hour; Analytics 360 Properties can use 400,000 tokens per hour.
    Analytics Properties can use up to 35% of their tokens per project per hour.
    Analytics Properties can use up to 35% of their tokens per project per hour.
    boolean
    Standard Analytics Properties can send up to 10 concurrent requests; Analytics 360 Properties can use up to 50 concurrent requests.
    int
     
    boolean
    Analytics Properties can send up to 120 requests with potentially thresholded dimensions per hour.
    boolean
    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.
    boolean
    Standard Analytics Properties can use up to 200,000 tokens per day; Analytics 360 Properties can use 2,000,000 tokens per day.
    boolean
    Standard Analytics Properties can use up to 40,000 tokens per hour; Analytics 360 Properties can use 400,000 tokens per hour.
    boolean
    Analytics Properties can use up to 35% of their tokens per project per hour.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<PropertyQuota>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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:
    • POTENTIALLY_THRESHOLDED_REQUESTS_PER_HOUR_FIELD_NUMBER

      public static final int POTENTIALLY_THRESHOLDED_REQUESTS_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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasTokensPerDay

      public boolean hasTokensPerDay()
       Standard Analytics Properties can use up to 200,000 tokens per day;
       Analytics 360 Properties can use 2,000,000 tokens per day. Most requests
       consume fewer than 10 tokens.
       
      .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;
      Specified by:
      hasTokensPerDay in interface PropertyQuotaOrBuilder
      Returns:
      Whether the tokensPerDay field is set.
    • getTokensPerDay

      public QuotaStatus getTokensPerDay()
       Standard Analytics Properties can use up to 200,000 tokens per day;
       Analytics 360 Properties can use 2,000,000 tokens per day. Most requests
       consume fewer than 10 tokens.
       
      .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;
      Specified by:
      getTokensPerDay in interface PropertyQuotaOrBuilder
      Returns:
      The tokensPerDay.
    • getTokensPerDayOrBuilder

      public QuotaStatusOrBuilder getTokensPerDayOrBuilder()
       Standard Analytics Properties can use up to 200,000 tokens per day;
       Analytics 360 Properties can use 2,000,000 tokens per day. Most requests
       consume fewer than 10 tokens.
       
      .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1;
      Specified by:
      getTokensPerDayOrBuilder in interface PropertyQuotaOrBuilder
    • hasTokensPerHour

      public boolean hasTokensPerHour()
       Standard Analytics Properties can use up to 40,000 tokens per hour;
       Analytics 360 Properties can use 400,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.data.v1alpha.QuotaStatus tokens_per_hour = 2;
      Specified by:
      hasTokensPerHour in interface PropertyQuotaOrBuilder
      Returns:
      Whether the tokensPerHour field is set.
    • getTokensPerHour

      public QuotaStatus getTokensPerHour()
       Standard Analytics Properties can use up to 40,000 tokens per hour;
       Analytics 360 Properties can use 400,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.data.v1alpha.QuotaStatus tokens_per_hour = 2;
      Specified by:
      getTokensPerHour in interface PropertyQuotaOrBuilder
      Returns:
      The tokensPerHour.
    • getTokensPerHourOrBuilder

      public QuotaStatusOrBuilder getTokensPerHourOrBuilder()
       Standard Analytics Properties can use up to 40,000 tokens per hour;
       Analytics 360 Properties can use 400,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.data.v1alpha.QuotaStatus tokens_per_hour = 2;
      Specified by:
      getTokensPerHourOrBuilder in interface PropertyQuotaOrBuilder
    • 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;
      Specified by:
      hasConcurrentRequests in interface PropertyQuotaOrBuilder
      Returns:
      Whether the concurrentRequests field is set.
    • 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;
      Specified by:
      getConcurrentRequests in interface PropertyQuotaOrBuilder
      Returns:
      The concurrentRequests.
    • 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;
      Specified by:
      getConcurrentRequestsOrBuilder in interface PropertyQuotaOrBuilder
    • 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;
      Specified by:
      hasServerErrorsPerProjectPerHour in interface PropertyQuotaOrBuilder
      Returns:
      Whether the serverErrorsPerProjectPerHour field is set.
    • 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;
      Specified by:
      getServerErrorsPerProjectPerHour in interface PropertyQuotaOrBuilder
      Returns:
      The serverErrorsPerProjectPerHour.
    • 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;
      Specified by:
      getServerErrorsPerProjectPerHourOrBuilder in interface PropertyQuotaOrBuilder
    • 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;
      Specified by:
      hasPotentiallyThresholdedRequestsPerHour in interface PropertyQuotaOrBuilder
      Returns:
      Whether the potentiallyThresholdedRequestsPerHour field is set.
    • 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;
      Specified by:
      getPotentiallyThresholdedRequestsPerHour in interface PropertyQuotaOrBuilder
      Returns:
      The potentiallyThresholdedRequestsPerHour.
    • 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;
      Specified by:
      getPotentiallyThresholdedRequestsPerHourOrBuilder in interface PropertyQuotaOrBuilder
    • hasTokensPerProjectPerHour

      public boolean hasTokensPerProjectPerHour()
       Analytics Properties can use up to 35% of their tokens per project per
       hour. This amounts to standard Analytics Properties can use up to 14,000
       tokens per project per hour, and Analytics 360 Properties can use 140,000
       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.data.v1alpha.QuotaStatus tokens_per_project_per_hour = 6;
      Specified by:
      hasTokensPerProjectPerHour in interface PropertyQuotaOrBuilder
      Returns:
      Whether the tokensPerProjectPerHour field is set.
    • getTokensPerProjectPerHour

      public QuotaStatus getTokensPerProjectPerHour()
       Analytics Properties can use up to 35% of their tokens per project per
       hour. This amounts to standard Analytics Properties can use up to 14,000
       tokens per project per hour, and Analytics 360 Properties can use 140,000
       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.data.v1alpha.QuotaStatus tokens_per_project_per_hour = 6;
      Specified by:
      getTokensPerProjectPerHour in interface PropertyQuotaOrBuilder
      Returns:
      The tokensPerProjectPerHour.
    • getTokensPerProjectPerHourOrBuilder

      public QuotaStatusOrBuilder getTokensPerProjectPerHourOrBuilder()
       Analytics Properties can use up to 35% of their tokens per project per
       hour. This amounts to standard Analytics Properties can use up to 14,000
       tokens per project per hour, and Analytics 360 Properties can use 140,000
       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.data.v1alpha.QuotaStatus tokens_per_project_per_hour = 6;
      Specified by:
      getTokensPerProjectPerHourOrBuilder in interface PropertyQuotaOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PropertyQuota parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PropertyQuota parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PropertyQuota parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PropertyQuota parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PropertyQuota parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PropertyQuota parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PropertyQuota parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PropertyQuota parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PropertyQuota parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PropertyQuota parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PropertyQuota parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PropertyQuota parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PropertyQuota.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PropertyQuota.Builder newBuilder()
    • newBuilder

      public static PropertyQuota.Builder newBuilder(PropertyQuota prototype)
    • toBuilder

      public PropertyQuota.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PropertyQuota.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PropertyQuota getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PropertyQuota> parser()
    • getParserForType

      public com.google.protobuf.Parser<PropertyQuota> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PropertyQuota getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder