public final class QuotaFailure extends com.google.protobuf.GeneratedMessageV3 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 RetryInfo and Help types for other details about handling a quota failure.Protobuf type
google.rpc.QuotaFailure| 限定符和类型 | 类和说明 |
|---|---|
static class |
QuotaFailure.Builder
Describes how a quota check failed.
|
static class |
QuotaFailure.Violation
A message type used to describe a single quota violation.
|
static interface |
QuotaFailure.ViolationOrBuilder |
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 限定符和类型 | 字段和说明 |
|---|---|
static int |
VIOLATIONS_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static QuotaFailure |
getDefaultInstance() |
QuotaFailure |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<QuotaFailure> |
getParserForType() |
int |
getSerializedSize() |
QuotaFailure.Violation |
getViolations(int index)
Describes all quota violations.
|
int |
getViolationsCount()
Describes all quota violations.
|
List<QuotaFailure.Violation> |
getViolationsList()
Describes all quota violations.
|
QuotaFailure.ViolationOrBuilder |
getViolationsOrBuilder(int index)
Describes all quota violations.
|
List<? extends QuotaFailure.ViolationOrBuilder> |
getViolationsOrBuilderList()
Describes all quota violations.
|
int |
hashCode() |
boolean |
isInitialized() |
static QuotaFailure.Builder |
newBuilder() |
static QuotaFailure.Builder |
newBuilder(QuotaFailure prototype) |
QuotaFailure.Builder |
newBuilderForType() |
static QuotaFailure |
parseDelimitedFrom(InputStream input) |
static QuotaFailure |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaFailure |
parseFrom(byte[] data) |
static QuotaFailure |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaFailure |
parseFrom(ByteBuffer data) |
static QuotaFailure |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaFailure |
parseFrom(com.google.protobuf.ByteString data) |
static QuotaFailure |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaFailure |
parseFrom(com.google.protobuf.CodedInputStream input) |
static QuotaFailure |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaFailure |
parseFrom(InputStream input) |
static QuotaFailure |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<QuotaFailure> |
parser() |
QuotaFailure.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int VIOLATIONS_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public List<QuotaFailure.Violation> getViolationsList()
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;getViolationsList 在接口中 QuotaFailureOrBuilderpublic List<? extends QuotaFailure.ViolationOrBuilder> getViolationsOrBuilderList()
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;public int getViolationsCount()
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;getViolationsCount 在接口中 QuotaFailureOrBuilderpublic QuotaFailure.Violation getViolations(int index)
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;getViolations 在接口中 QuotaFailureOrBuilderpublic QuotaFailure.ViolationOrBuilder getViolationsOrBuilder(int index)
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;getViolationsOrBuilder 在接口中 QuotaFailureOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static QuotaFailure parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuotaFailure parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuotaFailure parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuotaFailure parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuotaFailure parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuotaFailure parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuotaFailure parseFrom(InputStream input) throws IOException
IOExceptionpublic static QuotaFailure parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QuotaFailure parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static QuotaFailure parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QuotaFailure parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static QuotaFailure parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic QuotaFailure.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static QuotaFailure.Builder newBuilder()
public static QuotaFailure.Builder newBuilder(QuotaFailure prototype)
public QuotaFailure.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static QuotaFailure getDefaultInstance()
public static com.google.protobuf.Parser<QuotaFailure> parser()
public com.google.protobuf.Parser<QuotaFailure> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public QuotaFailure getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.