| 1 |
// Copyright 2022 Google LLC. All Rights Reserved. |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.35.1 |
| 18 |
// protoc v4.23.4 |
| 19 |
// source: openapiv3/annotations.proto |
| 20 |
|
| 21 |
package openapi_v3 |
| 22 |
|
| 23 |
import ( |
| 24 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 25 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 26 |
descriptorpb "google.golang.org/protobuf/types/descriptorpb" |
| 27 |
reflect "reflect" |
| 28 |
) |
| 29 |
|
| 30 |
const ( |
| 31 |
// Verify that this generated code is sufficiently up-to-date. |
| 32 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 33 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 35 |
) |
| 36 |
|
| 37 |
var file_openapiv3_annotations_proto_extTypes = []protoimpl.ExtensionInfo{ |
| 38 |
{ |
| 39 |
ExtendedType: (*descriptorpb.FileOptions)(nil), |
| 40 |
ExtensionType: (*Document)(nil), |
| 41 |
Field: 1143, |
| 42 |
Name: "openapi.v3.document", |
| 43 |
Tag: "bytes,1143,opt,name=document", |
| 44 |
Filename: "openapiv3/annotations.proto", |
| 45 |
}, |
| 46 |
{ |
| 47 |
ExtendedType: (*descriptorpb.MethodOptions)(nil), |
| 48 |
ExtensionType: (*Operation)(nil), |
| 49 |
Field: 1143, |
| 50 |
Name: "openapi.v3.operation", |
| 51 |
Tag: "bytes,1143,opt,name=operation", |
| 52 |
Filename: "openapiv3/annotations.proto", |
| 53 |
}, |
| 54 |
{ |
| 55 |
ExtendedType: (*descriptorpb.MessageOptions)(nil), |
| 56 |
ExtensionType: (*Schema)(nil), |
| 57 |
Field: 1143, |
| 58 |
Name: "openapi.v3.schema", |
| 59 |
Tag: "bytes,1143,opt,name=schema", |
| 60 |
Filename: "openapiv3/annotations.proto", |
| 61 |
}, |
| 62 |
{ |
| 63 |
ExtendedType: (*descriptorpb.FieldOptions)(nil), |
| 64 |
ExtensionType: (*Schema)(nil), |
| 65 |
Field: 1143, |
| 66 |
Name: "openapi.v3.property", |
| 67 |
Tag: "bytes,1143,opt,name=property", |
| 68 |
Filename: "openapiv3/annotations.proto", |
| 69 |
}, |
| 70 |
} |
| 71 |
|
| 72 |
// Extension fields to descriptorpb.FileOptions. |
| 73 |
var ( |
| 74 |
// optional openapi.v3.Document document = 1143; |
| 75 |
E_Document = &file_openapiv3_annotations_proto_extTypes[0] |
| 76 |
) |
| 77 |
|
| 78 |
// Extension fields to descriptorpb.MethodOptions. |
| 79 |
var ( |
| 80 |
// optional openapi.v3.Operation operation = 1143; |
| 81 |
E_Operation = &file_openapiv3_annotations_proto_extTypes[1] |
| 82 |
) |
| 83 |
|
| 84 |
// Extension fields to descriptorpb.MessageOptions. |
| 85 |
var ( |
| 86 |
// optional openapi.v3.Schema schema = 1143; |
| 87 |
E_Schema = &file_openapiv3_annotations_proto_extTypes[2] |
| 88 |
) |
| 89 |
|
| 90 |
// Extension fields to descriptorpb.FieldOptions. |
| 91 |
var ( |
| 92 |
// optional openapi.v3.Schema property = 1143; |
| 93 |
E_Property = &file_openapiv3_annotations_proto_extTypes[3] |
| 94 |
) |
| 95 |
|
| 96 |
var File_openapiv3_annotations_proto protoreflect.FileDescriptor |
| 97 |
|
| 98 |
var file_openapiv3_annotations_proto_rawDesc = []byte{ |
| 99 |
0x0a, 0x1b, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x33, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, |
| 100 |
0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x6f, |
| 101 |
0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x33, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 102 |
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, |
| 103 |
0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6f, 0x70, 0x65, |
| 104 |
0x6e, 0x61, 0x70, 0x69, 0x76, 0x33, 0x2f, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x76, 0x33, |
| 105 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x4f, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, |
| 106 |
0x6e, 0x74, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 107 |
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 108 |
0x18, 0xf7, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, |
| 109 |
0x69, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x64, |
| 110 |
0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x3a, 0x54, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, |
| 111 |
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, |
| 112 |
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, |
| 113 |
0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf7, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6f, 0x70, |
| 114 |
0x65, 0x6e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, |
| 115 |
0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x4c, 0x0a, |
| 116 |
0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 117 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| 118 |
0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf7, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 119 |
0x12, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x68, |
| 120 |
0x65, 0x6d, 0x61, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x4e, 0x0a, 0x08, 0x70, |
| 121 |
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 122 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, |
| 123 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf7, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, |
| 124 |
0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, |
| 125 |
0x61, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x42, 0x42, 0x0a, 0x0e, 0x6f, |
| 126 |
0x72, 0x67, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x33, 0x42, 0x10, 0x41, |
| 127 |
0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, |
| 128 |
0x01, 0x5a, 0x16, 0x2e, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x33, 0x3b, 0x6f, |
| 129 |
0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x33, 0xa2, 0x02, 0x03, 0x4f, 0x41, 0x53, 0x62, |
| 130 |
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 131 |
} |
| 132 |
|
| 133 |
var file_openapiv3_annotations_proto_goTypes = []any{ |
| 134 |
(*descriptorpb.FileOptions)(nil), // 0: google.protobuf.FileOptions |
| 135 |
(*descriptorpb.MethodOptions)(nil), // 1: google.protobuf.MethodOptions |
| 136 |
(*descriptorpb.MessageOptions)(nil), // 2: google.protobuf.MessageOptions |
| 137 |
(*descriptorpb.FieldOptions)(nil), // 3: google.protobuf.FieldOptions |
| 138 |
(*Document)(nil), // 4: openapi.v3.Document |
| 139 |
(*Operation)(nil), // 5: openapi.v3.Operation |
| 140 |
(*Schema)(nil), // 6: openapi.v3.Schema |
| 141 |
} |
| 142 |
var file_openapiv3_annotations_proto_depIdxs = []int32{ |
| 143 |
0, // 0: openapi.v3.document:extendee -> google.protobuf.FileOptions |
| 144 |
1, // 1: openapi.v3.operation:extendee -> google.protobuf.MethodOptions |
| 145 |
2, // 2: openapi.v3.schema:extendee -> google.protobuf.MessageOptions |
| 146 |
3, // 3: openapi.v3.property:extendee -> google.protobuf.FieldOptions |
| 147 |
4, // 4: openapi.v3.document:type_name -> openapi.v3.Document |
| 148 |
5, // 5: openapi.v3.operation:type_name -> openapi.v3.Operation |
| 149 |
6, // 6: openapi.v3.schema:type_name -> openapi.v3.Schema |
| 150 |
6, // 7: openapi.v3.property:type_name -> openapi.v3.Schema |
| 151 |
8, // [8:8] is the sub-list for method output_type |
| 152 |
8, // [8:8] is the sub-list for method input_type |
| 153 |
4, // [4:8] is the sub-list for extension type_name |
| 154 |
0, // [0:4] is the sub-list for extension extendee |
| 155 |
0, // [0:0] is the sub-list for field type_name |
| 156 |
} |
| 157 |
|
| 158 |
func init() { file_openapiv3_annotations_proto_init() } |
| 159 |
func file_openapiv3_annotations_proto_init() { |
| 160 |
if File_openapiv3_annotations_proto != nil { |
| 161 |
return |
| 162 |
} |
| 163 |
file_openapiv3_OpenAPIv3_proto_init() |
| 164 |
type x struct{} |
| 165 |
out := protoimpl.TypeBuilder{ |
| 166 |
File: protoimpl.DescBuilder{ |
| 167 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 168 |
RawDescriptor: file_openapiv3_annotations_proto_rawDesc, |
| 169 |
NumEnums: 0, |
| 170 |
NumMessages: 0, |
| 171 |
NumExtensions: 4, |
| 172 |
NumServices: 0, |
| 173 |
}, |
| 174 |
GoTypes: file_openapiv3_annotations_proto_goTypes, |
| 175 |
DependencyIndexes: file_openapiv3_annotations_proto_depIdxs, |
| 176 |
ExtensionInfos: file_openapiv3_annotations_proto_extTypes, |
| 177 |
}.Build() |
| 178 |
File_openapiv3_annotations_proto = out.File |
| 179 |
file_openapiv3_annotations_proto_rawDesc = nil |
| 180 |
file_openapiv3_annotations_proto_goTypes = nil |
| 181 |
file_openapiv3_annotations_proto_depIdxs = nil |
| 182 |
} |