public static final class QuotaFailure.Violation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder> implements QuotaFailure.ViolationOrBuilder
A message type used to describe a single quota violation. For example, a daily quota or a custom quota that was exceeded.Protobuf type
google.rpc.QuotaFailure.Violation| 限定符和类型 | 方法和说明 |
|---|---|
QuotaFailure.Violation |
build() |
QuotaFailure.Violation |
buildPartial() |
QuotaFailure.Violation.Builder |
clear() |
QuotaFailure.Violation.Builder |
clearDescription()
A description of how the quota check failed.
|
QuotaFailure.Violation.Builder |
clearSubject()
The subject on which the quota check failed.
|
QuotaFailure.Violation |
getDefaultInstanceForType() |
String |
getDescription()
A description of how the quota check failed.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A description of how the quota check failed.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getSubject()
The subject on which the quota check failed.
|
com.google.protobuf.ByteString |
getSubjectBytes()
The subject on which the quota check failed.
|
boolean |
isInitialized() |
QuotaFailure.Violation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QuotaFailure.Violation.Builder |
mergeFrom(com.google.protobuf.Message other) |
QuotaFailure.Violation.Builder |
mergeFrom(QuotaFailure.Violation other) |
QuotaFailure.Violation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
QuotaFailure.Violation.Builder |
setDescription(String value)
A description of how the quota check failed.
|
QuotaFailure.Violation.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
A description of how the quota check failed.
|
QuotaFailure.Violation.Builder |
setSubject(String value)
The subject on which the quota check failed.
|
QuotaFailure.Violation.Builder |
setSubjectBytes(com.google.protobuf.ByteString value)
The subject on which the quota check failed.
|
QuotaFailure.Violation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField, setField, setRepeatedFieldfindInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringmergeDelimitedFrom, mergeDelimitedFrom, mergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public QuotaFailure.Violation.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder>public QuotaFailure.Violation getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic QuotaFailure.Violation build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic QuotaFailure.Violation buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic QuotaFailure.Violation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<QuotaFailure.Violation.Builder>public QuotaFailure.Violation.Builder mergeFrom(QuotaFailure.Violation other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder>public QuotaFailure.Violation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<QuotaFailure.Violation.Builder>IOExceptionpublic String getSubject()
The subject on which the quota check failed. For example, "clientip:<ip address of client>" or "project:<Google developer project id>".
string subject = 1;getSubject 在接口中 QuotaFailure.ViolationOrBuilderpublic com.google.protobuf.ByteString getSubjectBytes()
The subject on which the quota check failed. For example, "clientip:<ip address of client>" or "project:<Google developer project id>".
string subject = 1;getSubjectBytes 在接口中 QuotaFailure.ViolationOrBuilderpublic QuotaFailure.Violation.Builder setSubject(String value)
The subject on which the quota check failed. For example, "clientip:<ip address of client>" or "project:<Google developer project id>".
string subject = 1;value - The subject to set.public QuotaFailure.Violation.Builder clearSubject()
The subject on which the quota check failed. For example, "clientip:<ip address of client>" or "project:<Google developer project id>".
string subject = 1;public QuotaFailure.Violation.Builder setSubjectBytes(com.google.protobuf.ByteString value)
The subject on which the quota check failed. For example, "clientip:<ip address of client>" or "project:<Google developer project id>".
string subject = 1;value - The bytes for subject to set.public String getDescription()
A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console. For example: "Service disabled" or "Daily Limit for read operations exceeded".
string description = 2;getDescription 在接口中 QuotaFailure.ViolationOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console. For example: "Service disabled" or "Daily Limit for read operations exceeded".
string description = 2;getDescriptionBytes 在接口中 QuotaFailure.ViolationOrBuilderpublic QuotaFailure.Violation.Builder setDescription(String value)
A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console. For example: "Service disabled" or "Daily Limit for read operations exceeded".
string description = 2;value - The description to set.public QuotaFailure.Violation.Builder clearDescription()
A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console. For example: "Service disabled" or "Daily Limit for read operations exceeded".
string description = 2;public QuotaFailure.Violation.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console. For example: "Service disabled" or "Daily Limit for read operations exceeded".
string description = 2;value - The bytes for description to set.public final QuotaFailure.Violation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder>public final QuotaFailure.Violation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder>Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.