message

Address

acme.user.v1.Address

Postal or billing address nested on a user.

Fields

FieldNumberTypeCardinalityValidationDescription
line11stringimplicit
string.min_len=1
—
Details
  • JSON name: line1
  • Presence: IMPLICIT
(buf.validate.field) = {
  string: {
    min_len: 1
  }
}
line22stringimplicit——
Details
  • JSON name: line2
  • Presence: IMPLICIT
city3stringimplicit——
Details
  • JSON name: city
  • Presence: IMPLICIT
region4stringimplicit——
Details
  • JSON name: region
  • Presence: IMPLICIT
postal_code5stringimplicit——
Details
  • JSON name: postalCode
  • Presence: IMPLICIT
country_code6stringimplicit
string.min_len=2string.max_len=2
—
Details
  • JSON name: countryCode
  • Presence: IMPLICIT
(buf.validate.field) = {
  string: {
    min_len: 2
    max_len: 2
  }
}

Example JSON

{
  "line1": "string",
  "line2": "string",
  "city": "string",
  "region": "string",
  "postalCode": "string",
  "countryCode": "string"
}

Effective features

  • json_format: ALLOW
    inherited from acme/user/v1/user

Used by

What will be affected if this symbol changes.