程序包 com.google.rpc
类 QuotaFailure.Violation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder>
com.google.rpc.QuotaFailure.Violation.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,QuotaFailure.ViolationOrBuilder,Cloneable
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-
方法概要
修饰符和类型方法说明addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)build()clear()A description of how the quota check failed.clearField(com.google.protobuf.Descriptors.FieldDescriptor field)clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)The subject on which the quota check failed.clone()A description of how the quota check failed.com.google.protobuf.ByteStringA description of how the quota check failed.static com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe subject on which the quota check failed.com.google.protobuf.ByteStringThe subject on which the quota check failed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablebooleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)mergeFrom(com.google.protobuf.Message other)mergeFrom(QuotaFailure.Violation other)mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)setDescription(String value)A description of how the quota check failed.setDescriptionBytes(com.google.protobuf.ByteString value)A description of how the quota check failed.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)setSubject(String value)The subject on which the quota check failed.setSubjectBytes(com.google.protobuf.ByteString value)The subject on which the quota check failed.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
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.Violation.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.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.Violation.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder>
-
setField
public QuotaFailure.Violation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder>
-
clearField
public QuotaFailure.Violation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder>
-
clearOneof
public QuotaFailure.Violation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder>
-
setRepeatedField
public QuotaFailure.Violation.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.Violation.Builder>
-
addRepeatedField
public QuotaFailure.Violation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder>
-
mergeFrom
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<QuotaFailure.Violation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder>
-
mergeFrom
public QuotaFailure.Violation.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.Violation.Builder>- 抛出:
IOException
-
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.ViolationOrBuilder- 返回:
- The subject.
-
getSubjectBytes
public 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.ViolationOrBuilder- 返回:
- The bytes for subject.
-
setSubject
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.- 返回:
- This builder for chaining.
-
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;- 返回:
- This builder for chaining.
-
setSubjectBytes
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.- 返回:
- This builder for chaining.
-
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.ViolationOrBuilder- 返回:
- The description.
-
getDescriptionBytes
public 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.ViolationOrBuilder- 返回:
- The bytes for description.
-
setDescription
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.- 返回:
- This builder for chaining.
-
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;- 返回:
- This builder for chaining.
-
setDescriptionBytes
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.- 返回:
- This builder for chaining.
-
setUnknownFields
public final QuotaFailure.Violation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder>
-
mergeUnknownFields
public final QuotaFailure.Violation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder>
-