public interface QuotaErrorOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCode()
public abstract QuotaError.Code getCode()
Error code.
.google.api.servicecontrol.v1.QuotaError.Code code = 1;
Returns | |
---|---|
Type | Description |
QuotaError.Code |
The code. |
getCodeValue()
public abstract int getCodeValue()
Error code.
.google.api.servicecontrol.v1.QuotaError.Code code = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for code. |
getDescription()
public abstract String getDescription()
Free-form text that provides details on the cause of the error.
string description = 3;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Free-form text that provides details on the cause of the error.
string description = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getStatus()
public abstract Status getStatus()
Contains additional information about the quota error.
If available, status.code
will be non zero.
.google.rpc.Status status = 4;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status |
The status. |
getStatusOrBuilder()
public abstract StatusOrBuilder getStatusOrBuilder()
Contains additional information about the quota error.
If available, status.code
will be non zero.
.google.rpc.Status status = 4;
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getSubject()
public abstract String getSubject()
Subject to whom this error applies. See the specific enum for more details on this field. For example, "clientip:<ip address of client>" or "project:<Google developer project id>".
string subject = 2;
Returns | |
---|---|
Type | Description |
String |
The subject. |
getSubjectBytes()
public abstract ByteString getSubjectBytes()
Subject to whom this error applies. See the specific enum for more details on this field. For example, "clientip:<ip address of client>" or "project:<Google developer project id>".
string subject = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for subject. |
hasStatus()
public abstract boolean hasStatus()
Contains additional information about the quota error.
If available, status.code
will be non zero.
.google.rpc.Status status = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the status field is set. |