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