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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QuotaFailure.Violation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public QuotaFailure.Violation build()
buildPartial()
public QuotaFailure.Violation buildPartial()
clear()
public QuotaFailure.Violation.Builder clear()
Overrides
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;
clearField(Descriptors.FieldDescriptor field)
public QuotaFailure.Violation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public QuotaFailure.Violation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public QuotaFailure.Violation.Builder clone()
Overrides
getDefaultInstanceForType()
public QuotaFailure.Violation getDefaultInstanceForType()
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;
Returns |
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;
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
Returns |
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;
Returns |
Type |
Description |
ByteString |
The bytes for subject.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public QuotaFailure.Violation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public QuotaFailure.Violation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(QuotaFailure.Violation other)
public QuotaFailure.Violation.Builder mergeFrom(QuotaFailure.Violation other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QuotaFailure.Violation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
Parameter |
Name |
Description |
value |
String
The description to set.
|
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for description to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public QuotaFailure.Violation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QuotaFailure.Violation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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;
Parameter |
Name |
Description |
value |
String
The subject to set.
|
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for subject to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final QuotaFailure.Violation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides