field_behavior.pb.cc 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /*
  2. * Copyright 2025 Google LLC
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. // Generated by the protocol buffer compiler. DO NOT EDIT!
  17. // source: google/api/field_behavior.proto
  18. #include "google/api/field_behavior.pb.h"
  19. #include <algorithm>
  20. #include "google/protobuf/io/coded_stream.h"
  21. #include "google/protobuf/extension_set.h"
  22. #include "google/protobuf/wire_format_lite.h"
  23. #include "google/protobuf/descriptor.h"
  24. #include "google/protobuf/generated_message_reflection.h"
  25. #include "google/protobuf/reflection_ops.h"
  26. #include "google/protobuf/wire_format.h"
  27. #include "google/protobuf/generated_message_tctable_impl.h"
  28. // @@protoc_insertion_point(includes)
  29. // Must be included last.
  30. #include "google/protobuf/port_def.inc"
  31. PROTOBUF_PRAGMA_INIT_SEG
  32. namespace _pb = ::google::protobuf;
  33. namespace _pbi = ::google::protobuf::internal;
  34. namespace _fl = ::google::protobuf::internal::field_layout;
  35. namespace google {
  36. namespace api {
  37. } // namespace api
  38. } // namespace google
  39. static const ::_pb::EnumDescriptor* file_level_enum_descriptors_google_2fapi_2ffield_5fbehavior_2eproto[1];
  40. static constexpr const ::_pb::ServiceDescriptor**
  41. file_level_service_descriptors_google_2fapi_2ffield_5fbehavior_2eproto = nullptr;
  42. const ::uint32_t TableStruct_google_2fapi_2ffield_5fbehavior_2eproto::offsets[1] = {};
  43. static constexpr ::_pbi::MigrationSchema* schemas = nullptr;
  44. static constexpr ::_pb::Message* const* file_default_instances = nullptr;
  45. const char descriptor_table_protodef_google_2fapi_2ffield_5fbehavior_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  46. "\n\037google/api/field_behavior.proto\022\ngoogl"
  47. "e.api\032 google/protobuf/descriptor.proto*"
  48. "\266\001\n\rFieldBehavior\022\036\n\032FIELD_BEHAVIOR_UNSP"
  49. "ECIFIED\020\000\022\014\n\010OPTIONAL\020\001\022\014\n\010REQUIRED\020\002\022\017\n"
  50. "\013OUTPUT_ONLY\020\003\022\016\n\nINPUT_ONLY\020\004\022\r\n\tIMMUTA"
  51. "BLE\020\005\022\022\n\016UNORDERED_LIST\020\006\022\025\n\021NON_EMPTY_D"
  52. "EFAULT\020\007\022\016\n\nIDENTIFIER\020\010:U\n\016field_behavi"
  53. "or\022\035.google.protobuf.FieldOptions\030\234\010 \003(\016"
  54. "2\031.google.api.FieldBehaviorB\002\020\000Bp\n\016com.g"
  55. "oogle.apiB\022FieldBehaviorProtoP\001ZAgoogle."
  56. "golang.org/genproto/googleapis/api/annot"
  57. "ations;annotations\242\002\004GAPIb\006proto3"
  58. };
  59. static const ::_pbi::DescriptorTable* const descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto_deps[1] =
  60. {
  61. &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
  62. };
  63. static ::absl::once_flag descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto_once;
  64. const ::_pbi::DescriptorTable descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto = {
  65. false,
  66. false,
  67. 473,
  68. descriptor_table_protodef_google_2fapi_2ffield_5fbehavior_2eproto,
  69. "google/api/field_behavior.proto",
  70. &descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto_once,
  71. descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto_deps,
  72. 1,
  73. 0,
  74. schemas,
  75. file_default_instances,
  76. TableStruct_google_2fapi_2ffield_5fbehavior_2eproto::offsets,
  77. nullptr,
  78. file_level_enum_descriptors_google_2fapi_2ffield_5fbehavior_2eproto,
  79. file_level_service_descriptors_google_2fapi_2ffield_5fbehavior_2eproto,
  80. };
  81. // This function exists to be marked as weak.
  82. // It can significantly speed up compilation by breaking up LLVM's SCC
  83. // in the .pb.cc translation units. Large translation units see a
  84. // reduction of more than 35% of walltime for optimized builds. Without
  85. // the weak attribute all the messages in the file, including all the
  86. // vtables and everything they use become part of the same SCC through
  87. // a cycle like:
  88. // GetMetadata -> descriptor table -> default instances ->
  89. // vtables -> GetMetadata
  90. // By adding a weak function here we break the connection from the
  91. // individual vtables back into the descriptor table.
  92. PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto_getter() {
  93. return &descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto;
  94. }
  95. // Force running AddDescriptors() at dynamic initialization time.
  96. PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
  97. static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_google_2fapi_2ffield_5fbehavior_2eproto(&descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto);
  98. namespace google {
  99. namespace api {
  100. const ::google::protobuf::EnumDescriptor* FieldBehavior_descriptor() {
  101. ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fapi_2ffield_5fbehavior_2eproto);
  102. return file_level_enum_descriptors_google_2fapi_2ffield_5fbehavior_2eproto[0];
  103. }
  104. PROTOBUF_CONSTINIT const uint32_t FieldBehavior_internal_data_[] = {
  105. 589824u, 0u, };
  106. bool FieldBehavior_IsValid(int value) {
  107. return 0 <= value && value <= 8;
  108. }
  109. PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,
  110. ::google::protobuf::internal::RepeatedEnumTypeTraits< ::google::api::FieldBehavior, ::google::api::FieldBehavior_IsValid>, 14, false>
  111. field_behavior(kFieldBehaviorFieldNumber, static_cast< ::google::api::FieldBehavior >(0), nullptr);
  112. // @@protoc_insertion_point(namespace_scope)
  113. } // namespace api
  114. } // namespace google
  115. namespace google {
  116. namespace protobuf {
  117. } // namespace protobuf
  118. } // namespace google
  119. // @@protoc_insertion_point(global_scope)
  120. #include "google/protobuf/port_undef.inc"