Package com.google.api.servicecontrol.v1
Interface CheckErrorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CheckError,CheckError.Builder
@Generated
public interface CheckErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()The error code.intThe error code.Free-form text providing details on the error cause of the error.com.google.protobuf.ByteStringFree-form text providing details on the error cause of the error.Contains public information about the check error.Contains public information about the check error.Subject to whom this error applies.com.google.protobuf.ByteStringSubject to whom this error applies.booleanContains public information about the check 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()The error code.
.google.api.servicecontrol.v1.CheckError.Code code = 1;- Returns:
- The enum numeric value on the wire for code.
-
getCode
CheckError.Code getCode()The error code.
.google.api.servicecontrol.v1.CheckError.Code code = 1;- Returns:
- The code.
-
getSubject
String getSubject()Subject to whom this error applies. See the specific code enum for more details on this field. For example: - "project:<project-id or project-number>" - "folder:<folder-id>" - "organization:<organization-id>"
string subject = 4;- Returns:
- The subject.
-
getSubjectBytes
com.google.protobuf.ByteString getSubjectBytes()Subject to whom this error applies. See the specific code enum for more details on this field. For example: - "project:<project-id or project-number>" - "folder:<folder-id>" - "organization:<organization-id>"
string subject = 4;- Returns:
- The bytes for subject.
-
getDetail
String getDetail()Free-form text providing details on the error cause of the error.
string detail = 2;- Returns:
- The detail.
-
getDetailBytes
com.google.protobuf.ByteString getDetailBytes()Free-form text providing details on the error cause of the error.
string detail = 2;- Returns:
- The bytes for detail.
-
hasStatus
boolean hasStatus()Contains public information about the check error. If available, `status.code` will be non zero and client can propagate it out as public error.
.google.rpc.Status status = 3;- Returns:
- Whether the status field is set.
-
getStatus
Status getStatus()Contains public information about the check error. If available, `status.code` will be non zero and client can propagate it out as public error.
.google.rpc.Status status = 3;- Returns:
- The status.
-
getStatusOrBuilder
StatusOrBuilder getStatusOrBuilder()Contains public information about the check error. If available, `status.code` will be non zero and client can propagate it out as public error.
.google.rpc.Status status = 3;
-