程序包 com.google.rpc

类 QuotaFailure.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Builder>
com.google.rpc.QuotaFailure.Builder
所有已实现的接口:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, QuotaFailureOrBuilder, Cloneable
封闭类:
QuotaFailure

public static final class QuotaFailure.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Builder> implements QuotaFailureOrBuilder
 Describes how a quota check failed.
 For example if a daily limit was exceeded for the calling project,
 a service could respond with a QuotaFailure detail containing the project
 id and the description of the quota limit that was exceeded.  If the
 calling project hasn't enabled the service in the developer console, then
 a service could respond with the project id and set `service_disabled`
 to true.
 Also see RetryDetail and Help types for other details about handling a
 quota failure.
 
Protobuf type google.rpc.QuotaFailure
  • 方法详细资料

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      指定者:
      internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Builder>
    • clear

      public QuotaFailure.Builder clear()
      指定者:
      clear 在接口中 com.google.protobuf.Message.Builder
      指定者:
      clear 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      clear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      指定者:
      getDescriptorForType 在接口中 com.google.protobuf.Message.Builder
      指定者:
      getDescriptorForType 在接口中 com.google.protobuf.MessageOrBuilder
      覆盖:
      getDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Builder>
    • getDefaultInstanceForType

      public QuotaFailure getDefaultInstanceForType()
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder
    • build

      public QuotaFailure build()
      指定者:
      build 在接口中 com.google.protobuf.Message.Builder
      指定者:
      build 在接口中 com.google.protobuf.MessageLite.Builder
    • buildPartial

      public QuotaFailure buildPartial()
      指定者:
      buildPartial 在接口中 com.google.protobuf.Message.Builder
      指定者:
      buildPartial 在接口中 com.google.protobuf.MessageLite.Builder
    • clone

      public QuotaFailure.Builder clone()
      指定者:
      clone 在接口中 com.google.protobuf.Message.Builder
      指定者:
      clone 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      clone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Builder>
    • setField

      public QuotaFailure.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      指定者:
      setField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Builder>
    • clearField

      public QuotaFailure.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      指定者:
      clearField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      clearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Builder>
    • clearOneof

      public QuotaFailure.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      指定者:
      clearOneof 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      clearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Builder>
    • setRepeatedField

      public QuotaFailure.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      指定者:
      setRepeatedField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Builder>
    • addRepeatedField

      public QuotaFailure.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      指定者:
      addRepeatedField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      addRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Builder>
    • mergeFrom

      public QuotaFailure.Builder mergeFrom(com.google.protobuf.Message other)
      指定者:
      mergeFrom 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<QuotaFailure.Builder>
    • mergeFrom

      public QuotaFailure.Builder mergeFrom(QuotaFailure other)
    • isInitialized

      public final boolean isInitialized()
      指定者:
      isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
      覆盖:
      isInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Builder>
    • mergeFrom

      public QuotaFailure.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      指定者:
      mergeFrom 在接口中 com.google.protobuf.Message.Builder
      指定者:
      mergeFrom 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<QuotaFailure.Builder>
      抛出:
      IOException
    • getViolationsList

      public List<QuotaFailure.Violation> getViolationsList()
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
      指定者:
      getViolationsList 在接口中 QuotaFailureOrBuilder
    • getViolationsCount

      public int getViolationsCount()
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
      指定者:
      getViolationsCount 在接口中 QuotaFailureOrBuilder
    • getViolations

      public QuotaFailure.Violation getViolations(int index)
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
      指定者:
      getViolations 在接口中 QuotaFailureOrBuilder
    • setViolations

      public QuotaFailure.Builder setViolations(int index, QuotaFailure.Violation value)
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
    • setViolations

      public QuotaFailure.Builder setViolations(int index, QuotaFailure.Violation.Builder builderForValue)
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
    • addViolations

      public QuotaFailure.Builder addViolations(QuotaFailure.Violation value)
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
    • addViolations

      public QuotaFailure.Builder addViolations(int index, QuotaFailure.Violation value)
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
    • addViolations

      public QuotaFailure.Builder addViolations(QuotaFailure.Violation.Builder builderForValue)
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
    • addViolations

      public QuotaFailure.Builder addViolations(int index, QuotaFailure.Violation.Builder builderForValue)
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
    • addAllViolations

      public QuotaFailure.Builder addAllViolations(Iterable<? extends QuotaFailure.Violation> values)
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
    • clearViolations

      public QuotaFailure.Builder clearViolations()
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
    • removeViolations

      public QuotaFailure.Builder removeViolations(int index)
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
    • getViolationsBuilder

      public QuotaFailure.Violation.Builder getViolationsBuilder(int index)
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
    • getViolationsOrBuilder

      public QuotaFailure.ViolationOrBuilder getViolationsOrBuilder(int index)
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
      指定者:
      getViolationsOrBuilder 在接口中 QuotaFailureOrBuilder
    • getViolationsOrBuilderList

      public List<? extends QuotaFailure.ViolationOrBuilder> getViolationsOrBuilderList()
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
      指定者:
      getViolationsOrBuilderList 在接口中 QuotaFailureOrBuilder
    • addViolationsBuilder

      public QuotaFailure.Violation.Builder addViolationsBuilder()
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
    • addViolationsBuilder

      public QuotaFailure.Violation.Builder addViolationsBuilder(int index)
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
    • getViolationsBuilderList

      public List<QuotaFailure.Violation.Builder> getViolationsBuilderList()
       Describes all quota violations.
       
      repeated .google.rpc.QuotaFailure.Violation violations = 1;
    • setUnknownFields

      public final QuotaFailure.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      指定者:
      setUnknownFields 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Builder>
    • mergeUnknownFields

      public final QuotaFailure.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      指定者:
      mergeUnknownFields 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      mergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Builder>