Package com.google.api.servicecontrol.v1
Interface QuotaErrorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QuotaError,QuotaError.Builder
@Generated
public interface QuotaErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()Error code.intError code.Free-form text that provides details on the cause of the error.com.google.protobuf.ByteStringFree-form text that provides details on the cause of the error.Contains additional information about the quota error.Contains additional information about the quota error.Subject to whom this error applies.com.google.protobuf.ByteStringSubject to whom this error applies.booleanContains additional information about the quota error.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCodeValue
int getCodeValue()Error code.
.google.api.servicecontrol.v1.QuotaError.Code code = 1;- Returns:
- The enum numeric value on the wire for code.
-
getCode
QuotaError.Code getCode()Error code.
.google.api.servicecontrol.v1.QuotaError.Code code = 1;- Returns:
- The code.
-
getSubject
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:
- The subject.
-
getSubjectBytes
com.google.protobuf.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:
- The bytes for subject.
-
getDescription
String getDescription()Free-form text that provides details on the cause of the error.
string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Free-form text that provides details on the cause of the error.
string description = 3;- Returns:
- The bytes for description.
-
hasStatus
boolean hasStatus()Contains additional information about the quota error. If available, `status.code` will be non zero.
.google.rpc.Status status = 4;- Returns:
- Whether the status field is set.
-
getStatus
Status getStatus()Contains additional information about the quota error. If available, `status.code` will be non zero.
.google.rpc.Status status = 4;- Returns:
- The status.
-
getStatusOrBuilder
StatusOrBuilder getStatusOrBuilder()Contains additional information about the quota error. If available, `status.code` will be non zero.
.google.rpc.Status status = 4;
-