Skip to content

AIP-133/AIP-155: request_id not allowed to be required #1618

@loeffel-io

Description

@loeffel-io

Environment details

  • OS: macOS 26.3.1 25D2128
  • Language runtime version: bzlmod @protobuf 31.1
  • Package version: 2.0.0 (but i think should still exists in 2.3.1, untested)

Steps to reproduce

  // A unique identifier for this request
  string request_id = 3 [
    (google.api.field_behavior) = REQUIRED, <------
    (google.api.field_info).format = UUID4
  ];

Hey @noahdietz and @quirogas,

AIP-155 says Request IDs should be optional.
core::0133::request-required-fields disallow to set request_id to REQUIRED.

Is this the expected behavior?

Thanks 🫶

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions