map_entry.go 550 B

1234567891011121314151617
  1. // Copyright 2019 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package genid
  5. import protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  6. // Generic field names and numbers for synthetic map entry messages.
  7. const (
  8. MapEntry_Key_field_name protoreflect.Name = "key"
  9. MapEntry_Value_field_name protoreflect.Name = "value"
  10. MapEntry_Key_field_number protoreflect.FieldNumber = 1
  11. MapEntry_Value_field_number protoreflect.FieldNumber = 2
  12. )