Interface CheckErrorOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CheckError, CheckError.Builder

    public interface CheckErrorOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      CheckError.Code getCode()
      The error code.
      int getCodeValue()
      The error code.
      String getDetail()
      Free-form text providing details on the error cause of the error.
      com.google.protobuf.ByteString getDetailBytes()
      Free-form text providing details on the error cause of the error.
      com.google.rpc.Status getStatus()
      Contains public information about the check error.
      com.google.rpc.StatusOrBuilder getStatusOrBuilder()
      Contains public information about the check error.
      String getSubject()
      Subject to whom this error applies.
      com.google.protobuf.ByteString getSubjectBytes()
      Subject to whom this error applies.
      boolean hasStatus()
      Contains public information about the check error.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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()
         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

        com.google.rpc.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

        com.google.rpc.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;