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:
  • 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:
      internalGetFieldAccessorTable in class com.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:
      hasTokensPerDay in interface AccessQuotaOrBuilder
      Returns:
      Whether the tokensPerDay field is set.
    • 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;
      Specified by:
      getTokensPerDay in interface AccessQuotaOrBuilder
      Returns:
      The tokensPerDay.
    • 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;
      Specified by:
      getTokensPerDayOrBuilder in interface AccessQuotaOrBuilder
    • 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:
      hasTokensPerHour in interface AccessQuotaOrBuilder
      Returns:
      Whether the tokensPerHour field is set.
    • 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;
      Specified by:
      getTokensPerHour in interface AccessQuotaOrBuilder
      Returns:
      The tokensPerHour.
    • 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;
      Specified by:
      getTokensPerHourOrBuilder in interface AccessQuotaOrBuilder
    • hasConcurrentRequests

      public boolean hasConcurrentRequests()
       Properties can use up to 50 concurrent requests.
       
      .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
      Specified by:
      hasConcurrentRequests in interface AccessQuotaOrBuilder
      Returns:
      Whether the concurrentRequests field is set.
    • getConcurrentRequests

      public AccessQuotaStatus getConcurrentRequests()
       Properties can use up to 50 concurrent requests.
       
      .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
      Specified by:
      getConcurrentRequests in interface AccessQuotaOrBuilder
      Returns:
      The concurrentRequests.
    • getConcurrentRequestsOrBuilder

      public AccessQuotaStatusOrBuilder getConcurrentRequestsOrBuilder()
       Properties can use up to 50 concurrent requests.
       
      .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
      Specified by:
      getConcurrentRequestsOrBuilder in interface AccessQuotaOrBuilder
    • 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:
      hasServerErrorsPerProjectPerHour in interface AccessQuotaOrBuilder
      Returns:
      Whether the serverErrorsPerProjectPerHour field is set.
    • 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;
      Specified by:
      getServerErrorsPerProjectPerHour in interface AccessQuotaOrBuilder
      Returns:
      The serverErrorsPerProjectPerHour.
    • 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;
      Specified by:
      getServerErrorsPerProjectPerHourOrBuilder in interface AccessQuotaOrBuilder
    • 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:
      hasTokensPerProjectPerHour in interface AccessQuotaOrBuilder
      Returns:
      Whether the tokensPerProjectPerHour field is set.
    • 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;
      Specified by:
      getTokensPerProjectPerHour in interface AccessQuotaOrBuilder
      Returns:
      The tokensPerProjectPerHour.
    • 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;
      Specified by:
      getTokensPerProjectPerHourOrBuilder in interface AccessQuotaOrBuilder
    • 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 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

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

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

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

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

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

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

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

      public static AccessQuota.Builder newBuilder()
    • newBuilder

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

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

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

      public static AccessQuota getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AccessQuota> 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 AccessQuota getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder