googleapis/google/rpc
Google APIs 436c44ffb0 fix: upgrade gRPC service registration func
An update to Go gRPC Protobuf generation will change service registration function signatures to use an interface instead of a concrete type in generated .pb.go service files. This change should affect very few client library users. See release notes advisories in https://github.com/googleapis/google-cloud-go/pull/11025.

PiperOrigin-RevId: 820810512
2025-10-17 13:32:24 -07:00
..
context fix: upgrade gRPC service registration func 2025-10-17 13:32:24 -07:00
BUILD.bazel fix: upgrade gRPC service registration func 2025-10-17 13:32:24 -07:00
code.proto chore: start preview directory 2021-12-01 15:08:14 +00:00
error_details.proto chore: start preview directory 2021-12-01 15:08:14 +00:00
README.md chore: update README files 2023-10-11 10:16:30 -07:00
rpc_publish.yaml chore: start preview directory 2021-12-01 15:08:14 +00:00
status.proto chore: start preview directory 2021-12-01 15:08:14 +00:00

RPC (Remote Procedure Call) Types

This package contains protocol buffer types that represent remote procedure call concepts. While gRPC uses these types, we encourage their use in any interested RPC implementation to promote compatibility and consistency.

Key Concepts

  • Code: An enum that represents an error code returned by an RPC. These error codes map to HTTP codes, but are slightly finer-grained. Every gRPC code has exactly one corresponding HTTP code; however, some HTTP codes have more than one corresponding gRPC code.
  • Error details: Any of the types contained in error_details.proto which provide extra details about particular types of failures.
  • Status: Combines a code, message, and error details to represent the success or failure details of an RPC call.