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
public interface QuotaErrorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QuotaError.Code
getCode()
Error code.int
getCodeValue()
Error code.String
getDescription()
Free-form text that provides details on the cause of the error.com.google.protobuf.ByteString
getDescriptionBytes()
Free-form text that provides details on the cause of the error.com.google.rpc.Status
getStatus()
Contains additional information about the quota error.com.google.rpc.StatusOrBuilder
getStatusOrBuilder()
Contains additional information about the quota error.String
getSubject()
Subject to whom this error applies.com.google.protobuf.ByteString
getSubjectBytes()
Subject to whom this error applies.boolean
hasStatus()
Contains additional information about the quota error.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
com.google.rpc.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
com.google.rpc.StatusOrBuilder getStatusOrBuilder()
Contains additional information about the quota error. If available, `status.code` will be non zero.
.google.rpc.Status status = 4;
-
-