Interface CheckErrorOrBuilder (1.36.0)

public interface CheckErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCode()

public abstract CheckError.Code getCode()

The error code.

.google.api.servicecontrol.v1.CheckError.Code code = 1;

Returns
TypeDescription
CheckError.Code

The code.

getCodeValue()

public abstract int getCodeValue()

The error code.

.google.api.servicecontrol.v1.CheckError.Code code = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for code.

getDetail()

public abstract String getDetail()

Free-form text providing details on the error cause of the error.

string detail = 2;

Returns
TypeDescription
String

The detail.

getDetailBytes()

public abstract ByteString getDetailBytes()

Free-form text providing details on the error cause of the error.

string detail = 2;

Returns
TypeDescription
ByteString

The bytes for detail.

getStatus()

public abstract 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
TypeDescription
com.google.rpc.Status

The status.

getStatusOrBuilder()

public abstract 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;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getSubject()

public abstract 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
TypeDescription
String

The subject.

getSubjectBytes()

public abstract 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
TypeDescription
ByteString

The bytes for subject.

hasStatus()

public abstract 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
TypeDescription
boolean

Whether the status field is set.