Constants - grpc

  • OK int 0
  • Indicates operation is successful.

  • CANCELED int 1
  • Indicates the operation was canceled (typically by the caller).

  • UNKNOWN int 2
  • Indicates unknown error.(e.g. Status value received is unknown)

  • INVALID_ARGUMENT int 3
  • Indicates client specified an invalid argument.

  • DEADLINE_EXCEEDED int 4
  • Indicates operation expired before completion.

  • NOT_FOUND int 5
  • Indicates some requested entity (e.g., file or directory) was not found.

  • ALREADY_EXISTS int 6
  • Indicates the attempt to create an entity failed because one already exists.

  • PERMISSION_DENIED int 7
  • Indicates the caller does not have permission to execute the specified operation.

  • RESOURCE_EXHAUSTED int 8
  • Indicates some resource has been exhausted.

  • FAILED_PRECONDITION int 9
  • Indicates operation was rejected because the system is not in a state required for the operation's execution.

  • ABORTED int 10
  • Indicates the operation was aborted.

  • OUT_OF_RANGE int 11
  • Indicates specified value is out of range.

  • UNIMPLEMENTED int 12
  • Indicates operation is not implemented or not supported/enabled in this service.

  • INTERNAL int 13
  • Indicates internal errors.

  • UNAVAILABLE int 14
  • Indicates the service is currently unavailable.

  • DATA_LOSS int 15
  • Indicates unrecoverable data loss or corruption.

  • UNAUTHENTICATED int 16
  • Indicates the request does not have valid authentication credentials for the operation.

  • KEEPALIVE_AUTO string AUTO
  • Decides to keep the connection alive or not based on the connection header of the client request }

  • KEEPALIVE_ALWAYS string ALWAYS
  • Keeps the connection alive irrespective of the connection header value }

  • KEEPALIVE_NEVER string NEVER
  • Closes the connection irrespective of the connection header value }

  • COMPRESSION_AUTO string AUTO
  • When service behaves as a HTTP gateway inbound request/response accept-encoding option is set as the outbound request/response accept-encoding/content-encoding option.

  • COMPRESSION_ALWAYS string ALWAYS
  • Always set accept-encoding/content-encoding in outbound request/response.

  • COMPRESSION_NEVER string NEVER
  • Never set accept-encoding/content-encoding header in outbound request/response.