public static final class QuotaFailure.Violation.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > QuotaFailure.Violation.BuilderImplements
QuotaFailure.ViolationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QuotaFailure.Violation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
QuotaFailure.Violation.Builder |
build()
public QuotaFailure.Violation build()
Type | Description |
QuotaFailure.Violation |
buildPartial()
public QuotaFailure.Violation buildPartial()
Type | Description |
QuotaFailure.Violation |
clear()
public QuotaFailure.Violation.Builder clear()
Type | Description |
QuotaFailure.Violation.Builder |
clearDescription()
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;
Type | Description |
QuotaFailure.Violation.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public QuotaFailure.Violation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
QuotaFailure.Violation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public QuotaFailure.Violation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
QuotaFailure.Violation.Builder |
clearSubject()
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;
Type | Description |
QuotaFailure.Violation.Builder | This builder for chaining. |
clone()
public QuotaFailure.Violation.Builder clone()
Type | Description |
QuotaFailure.Violation.Builder |
getDefaultInstanceForType()
public QuotaFailure.Violation getDefaultInstanceForType()
Type | Description |
QuotaFailure.Violation |
getDescription()
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;
Type | Description |
String | The description. |
getDescriptionBytes()
public 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;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getSubject()
public 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;
Type | Description |
String | The subject. |
getSubjectBytes()
public 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;
Type | Description |
ByteString | The bytes for subject. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QuotaFailure.Violation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
QuotaFailure.Violation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public QuotaFailure.Violation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
QuotaFailure.Violation.Builder |
mergeFrom(QuotaFailure.Violation other)
public QuotaFailure.Violation.Builder mergeFrom(QuotaFailure.Violation other)
Name | Description |
other | QuotaFailure.Violation |
Type | Description |
QuotaFailure.Violation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QuotaFailure.Violation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
QuotaFailure.Violation.Builder |
setDescription(String value)
public 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;
Name | Description |
value | String The description to set. |
Type | Description |
QuotaFailure.Violation.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public QuotaFailure.Violation.Builder setDescriptionBytes(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;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
QuotaFailure.Violation.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public QuotaFailure.Violation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
QuotaFailure.Violation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QuotaFailure.Violation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
QuotaFailure.Violation.Builder |
setSubject(String value)
public 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;
Name | Description |
value | String The subject to set. |
Type | Description |
QuotaFailure.Violation.Builder | This builder for chaining. |
setSubjectBytes(ByteString value)
public QuotaFailure.Violation.Builder setSubjectBytes(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;
Name | Description |
value | ByteString The bytes for subject to set. |
Type | Description |
QuotaFailure.Violation.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final QuotaFailure.Violation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
QuotaFailure.Violation.Builder |