...

Source file src/github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options/annotations.pb.go

Documentation: github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.1
     4  // 	protoc        (unknown)
     5  // source: protoc-gen-openapiv2/options/annotations.proto
     6  
     7  package options
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	descriptorpb "google.golang.org/protobuf/types/descriptorpb"
    13  	reflect "reflect"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  var file_protoc_gen_openapiv2_options_annotations_proto_extTypes = []protoimpl.ExtensionInfo{
    24  	{
    25  		ExtendedType:  (*descriptorpb.FileOptions)(nil),
    26  		ExtensionType: (*Swagger)(nil),
    27  		Field:         1042,
    28  		Name:          "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger",
    29  		Tag:           "bytes,1042,opt,name=openapiv2_swagger",
    30  		Filename:      "protoc-gen-openapiv2/options/annotations.proto",
    31  	},
    32  	{
    33  		ExtendedType:  (*descriptorpb.MethodOptions)(nil),
    34  		ExtensionType: (*Operation)(nil),
    35  		Field:         1042,
    36  		Name:          "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation",
    37  		Tag:           "bytes,1042,opt,name=openapiv2_operation",
    38  		Filename:      "protoc-gen-openapiv2/options/annotations.proto",
    39  	},
    40  	{
    41  		ExtendedType:  (*descriptorpb.MessageOptions)(nil),
    42  		ExtensionType: (*Schema)(nil),
    43  		Field:         1042,
    44  		Name:          "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema",
    45  		Tag:           "bytes,1042,opt,name=openapiv2_schema",
    46  		Filename:      "protoc-gen-openapiv2/options/annotations.proto",
    47  	},
    48  	{
    49  		ExtendedType:  (*descriptorpb.ServiceOptions)(nil),
    50  		ExtensionType: (*Tag)(nil),
    51  		Field:         1042,
    52  		Name:          "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_tag",
    53  		Tag:           "bytes,1042,opt,name=openapiv2_tag",
    54  		Filename:      "protoc-gen-openapiv2/options/annotations.proto",
    55  	},
    56  	{
    57  		ExtendedType:  (*descriptorpb.FieldOptions)(nil),
    58  		ExtensionType: (*JSONSchema)(nil),
    59  		Field:         1042,
    60  		Name:          "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field",
    61  		Tag:           "bytes,1042,opt,name=openapiv2_field",
    62  		Filename:      "protoc-gen-openapiv2/options/annotations.proto",
    63  	},
    64  }
    65  
    66  // Extension fields to descriptorpb.FileOptions.
    67  var (
    68  	// ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
    69  	//
    70  	// All IDs are the same, as assigned. It is okay that they are the same, as they extend
    71  	// different descriptor messages.
    72  	//
    73  	// optional grpc.gateway.protoc_gen_openapiv2.options.Swagger openapiv2_swagger = 1042;
    74  	E_Openapiv2Swagger = &file_protoc_gen_openapiv2_options_annotations_proto_extTypes[0]
    75  )
    76  
    77  // Extension fields to descriptorpb.MethodOptions.
    78  var (
    79  	// ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
    80  	//
    81  	// All IDs are the same, as assigned. It is okay that they are the same, as they extend
    82  	// different descriptor messages.
    83  	//
    84  	// optional grpc.gateway.protoc_gen_openapiv2.options.Operation openapiv2_operation = 1042;
    85  	E_Openapiv2Operation = &file_protoc_gen_openapiv2_options_annotations_proto_extTypes[1]
    86  )
    87  
    88  // Extension fields to descriptorpb.MessageOptions.
    89  var (
    90  	// ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
    91  	//
    92  	// All IDs are the same, as assigned. It is okay that they are the same, as they extend
    93  	// different descriptor messages.
    94  	//
    95  	// optional grpc.gateway.protoc_gen_openapiv2.options.Schema openapiv2_schema = 1042;
    96  	E_Openapiv2Schema = &file_protoc_gen_openapiv2_options_annotations_proto_extTypes[2]
    97  )
    98  
    99  // Extension fields to descriptorpb.ServiceOptions.
   100  var (
   101  	// ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
   102  	//
   103  	// All IDs are the same, as assigned. It is okay that they are the same, as they extend
   104  	// different descriptor messages.
   105  	//
   106  	// optional grpc.gateway.protoc_gen_openapiv2.options.Tag openapiv2_tag = 1042;
   107  	E_Openapiv2Tag = &file_protoc_gen_openapiv2_options_annotations_proto_extTypes[3]
   108  )
   109  
   110  // Extension fields to descriptorpb.FieldOptions.
   111  var (
   112  	// ID assigned by protobuf-global-extension-registry@google.com for gRPC-Gateway project.
   113  	//
   114  	// All IDs are the same, as assigned. It is okay that they are the same, as they extend
   115  	// different descriptor messages.
   116  	//
   117  	// optional grpc.gateway.protoc_gen_openapiv2.options.JSONSchema openapiv2_field = 1042;
   118  	E_Openapiv2Field = &file_protoc_gen_openapiv2_options_annotations_proto_extTypes[4]
   119  )
   120  
   121  var File_protoc_gen_openapiv2_options_annotations_proto protoreflect.FileDescriptor
   122  
   123  var file_protoc_gen_openapiv2_options_annotations_proto_rawDesc = []byte{
   124  	0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65,
   125  	0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61,
   126  	0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   127  	0x12, 0x29, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70,
   128  	0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70,
   129  	0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x20, 0x67, 0x6f, 0x6f,
   130  	0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73,
   131  	0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x70,
   132  	0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70,
   133  	0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 0x70, 0x65, 0x6e,
   134  	0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x7e, 0x0a, 0x11, 0x6f,
   135  	0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x5f, 0x73, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72,
   136  	0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   137  	0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x92,
   138  	0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74,
   139  	0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f,
   140  	0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
   141  	0x73, 0x2e, 0x53, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x52, 0x10, 0x6f, 0x70, 0x65, 0x6e, 0x61,
   142  	0x70, 0x69, 0x76, 0x32, 0x53, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x3a, 0x86, 0x01, 0x0a, 0x13,
   143  	0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
   144  	0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   145  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69,
   146  	0x6f, 0x6e, 0x73, 0x18, 0x92, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x72, 0x70,
   147  	0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
   148  	0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f,
   149  	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   150  	0x52, 0x12, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x4f, 0x70, 0x65, 0x72, 0x61,
   151  	0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x7e, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
   152  	0x32, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   153  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
   154  	0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x92, 0x08, 0x20, 0x01, 0x28, 0x0b,
   155  	0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e,
   156  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61,
   157  	0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x63, 0x68,
   158  	0x65, 0x6d, 0x61, 0x52, 0x0f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x53, 0x63,
   159  	0x68, 0x65, 0x6d, 0x61, 0x3a, 0x75, 0x0a, 0x0d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
   160  	0x32, 0x5f, 0x74, 0x61, 0x67, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
   161  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f,
   162  	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x92, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e,
   163  	0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f,
   164  	0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
   165  	0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x0c, 0x6f,
   166  	0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x54, 0x61, 0x67, 0x3a, 0x7e, 0x0a, 0x0f, 0x6f,
   167  	0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x1d,
   168  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   169  	0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x92, 0x08,
   170  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65,
   171  	0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f,
   172  	0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   173  	0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x0e, 0x6f, 0x70, 0x65,
   174  	0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x48, 0x5a, 0x46, 0x67,
   175  	0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x65,
   176  	0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61,
   177  	0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d,
   178  	0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70,
   179  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   180  }
   181  
   182  var file_protoc_gen_openapiv2_options_annotations_proto_goTypes = []interface{}{
   183  	(*descriptorpb.FileOptions)(nil),    // 0: google.protobuf.FileOptions
   184  	(*descriptorpb.MethodOptions)(nil),  // 1: google.protobuf.MethodOptions
   185  	(*descriptorpb.MessageOptions)(nil), // 2: google.protobuf.MessageOptions
   186  	(*descriptorpb.ServiceOptions)(nil), // 3: google.protobuf.ServiceOptions
   187  	(*descriptorpb.FieldOptions)(nil),   // 4: google.protobuf.FieldOptions
   188  	(*Swagger)(nil),                     // 5: grpc.gateway.protoc_gen_openapiv2.options.Swagger
   189  	(*Operation)(nil),                   // 6: grpc.gateway.protoc_gen_openapiv2.options.Operation
   190  	(*Schema)(nil),                      // 7: grpc.gateway.protoc_gen_openapiv2.options.Schema
   191  	(*Tag)(nil),                         // 8: grpc.gateway.protoc_gen_openapiv2.options.Tag
   192  	(*JSONSchema)(nil),                  // 9: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema
   193  }
   194  var file_protoc_gen_openapiv2_options_annotations_proto_depIdxs = []int32{
   195  	0,  // 0: grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger:extendee -> google.protobuf.FileOptions
   196  	1,  // 1: grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation:extendee -> google.protobuf.MethodOptions
   197  	2,  // 2: grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema:extendee -> google.protobuf.MessageOptions
   198  	3,  // 3: grpc.gateway.protoc_gen_openapiv2.options.openapiv2_tag:extendee -> google.protobuf.ServiceOptions
   199  	4,  // 4: grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field:extendee -> google.protobuf.FieldOptions
   200  	5,  // 5: grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Swagger
   201  	6,  // 6: grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Operation
   202  	7,  // 7: grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Schema
   203  	8,  // 8: grpc.gateway.protoc_gen_openapiv2.options.openapiv2_tag:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Tag
   204  	9,  // 9: grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field:type_name -> grpc.gateway.protoc_gen_openapiv2.options.JSONSchema
   205  	10, // [10:10] is the sub-list for method output_type
   206  	10, // [10:10] is the sub-list for method input_type
   207  	5,  // [5:10] is the sub-list for extension type_name
   208  	0,  // [0:5] is the sub-list for extension extendee
   209  	0,  // [0:0] is the sub-list for field type_name
   210  }
   211  
   212  func init() { file_protoc_gen_openapiv2_options_annotations_proto_init() }
   213  func file_protoc_gen_openapiv2_options_annotations_proto_init() {
   214  	if File_protoc_gen_openapiv2_options_annotations_proto != nil {
   215  		return
   216  	}
   217  	file_protoc_gen_openapiv2_options_openapiv2_proto_init()
   218  	type x struct{}
   219  	out := protoimpl.TypeBuilder{
   220  		File: protoimpl.DescBuilder{
   221  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   222  			RawDescriptor: file_protoc_gen_openapiv2_options_annotations_proto_rawDesc,
   223  			NumEnums:      0,
   224  			NumMessages:   0,
   225  			NumExtensions: 5,
   226  			NumServices:   0,
   227  		},
   228  		GoTypes:           file_protoc_gen_openapiv2_options_annotations_proto_goTypes,
   229  		DependencyIndexes: file_protoc_gen_openapiv2_options_annotations_proto_depIdxs,
   230  		ExtensionInfos:    file_protoc_gen_openapiv2_options_annotations_proto_extTypes,
   231  	}.Build()
   232  	File_protoc_gen_openapiv2_options_annotations_proto = out.File
   233  	file_protoc_gen_openapiv2_options_annotations_proto_rawDesc = nil
   234  	file_protoc_gen_openapiv2_options_annotations_proto_goTypes = nil
   235  	file_protoc_gen_openapiv2_options_annotations_proto_depIdxs = nil
   236  }
   237  

View as plain text