public static final class QuotaFailure.Builder extends 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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<QuotaFailure.Builder>
public QuotaFailure.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<QuotaFailure.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<QuotaFailure.Builder>
public QuotaFailure getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public QuotaFailure build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public QuotaFailure buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public QuotaFailure.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<QuotaFailure.Builder>
public QuotaFailure.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<QuotaFailure.Builder>
public QuotaFailure.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<QuotaFailure.Builder>
public QuotaFailure.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<QuotaFailure.Builder>
public QuotaFailure.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<QuotaFailure.Builder>
public QuotaFailure.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<QuotaFailure.Builder>
public QuotaFailure.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<QuotaFailure.Builder>
public QuotaFailure.Builder mergeFrom(QuotaFailure other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<QuotaFailure.Builder>
public QuotaFailure.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<QuotaFailure.Builder>
java.io.IOException
public java.util.List<QuotaFailure.Violation> getViolationsList()
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
getViolationsList
in interface QuotaFailureOrBuilder
public int getViolationsCount()
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
getViolationsCount
in interface QuotaFailureOrBuilder
public QuotaFailure.Violation getViolations(int index)
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
getViolations
in interface QuotaFailureOrBuilder
public QuotaFailure.Builder setViolations(int index, QuotaFailure.Violation value)
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
public QuotaFailure.Builder setViolations(int index, QuotaFailure.Violation.Builder builderForValue)
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
public QuotaFailure.Builder addViolations(QuotaFailure.Violation value)
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
public QuotaFailure.Builder addViolations(int index, QuotaFailure.Violation value)
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
public QuotaFailure.Builder addViolations(QuotaFailure.Violation.Builder builderForValue)
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
public QuotaFailure.Builder addViolations(int index, QuotaFailure.Violation.Builder builderForValue)
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
public QuotaFailure.Builder addAllViolations(java.lang.Iterable<? extends QuotaFailure.Violation> values)
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
public QuotaFailure.Builder clearViolations()
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
public QuotaFailure.Builder removeViolations(int index)
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
public QuotaFailure.Violation.Builder getViolationsBuilder(int index)
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
public QuotaFailure.ViolationOrBuilder getViolationsOrBuilder(int index)
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
getViolationsOrBuilder
in interface QuotaFailureOrBuilder
public java.util.List<? extends QuotaFailure.ViolationOrBuilder> getViolationsOrBuilderList()
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
getViolationsOrBuilderList
in interface QuotaFailureOrBuilder
public QuotaFailure.Violation.Builder addViolationsBuilder()
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
public QuotaFailure.Violation.Builder addViolationsBuilder(int index)
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
public java.util.List<QuotaFailure.Violation.Builder> getViolationsBuilderList()
Describes all quota violations.
repeated .google.rpc.QuotaFailure.Violation violations = 1;
public final QuotaFailure.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<QuotaFailure.Builder>
public final QuotaFailure.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<QuotaFailure.Builder>