mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-14 01:24:04 -08:00
375ad1185c
* *: bump gRPC dependencies This change updates the gRPC dependencies to more recent versions: * github.com/gogo/protobuf => v1.2.0 * github.com/grpc-ecosystem/grpc-gateway => v1.6.3 * google.golang.org/grpc => v1.17.0 In addition scripts/genproto.sh leverages Go modules information instead of hardcoding SHA1 commits. This ensures that the code is generated from the exact same sources. Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Run 'make proto' in CI Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Revert tabs -> spaces change Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Fix 'make proto' step Signed-off-by: Simon Pasquier <spasquie@redhat.com> * 'go get' grpc/protobuf dependencies Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Prepopulate cache with go mod download Signed-off-by: Simon Pasquier <spasquie@redhat.com>
104 lines
5.1 KiB
Go
104 lines
5.1 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: protoc-gen-swagger/options/annotations.proto
|
|
|
|
package options // import "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
var E_Openapiv2Swagger = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.FileOptions)(nil),
|
|
ExtensionType: (*Swagger)(nil),
|
|
Field: 1042,
|
|
Name: "grpc.gateway.protoc_gen_swagger.options.openapiv2_swagger",
|
|
Tag: "bytes,1042,opt,name=openapiv2_swagger,json=openapiv2Swagger",
|
|
Filename: "protoc-gen-swagger/options/annotations.proto",
|
|
}
|
|
|
|
var E_Openapiv2Operation = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.MethodOptions)(nil),
|
|
ExtensionType: (*Operation)(nil),
|
|
Field: 1042,
|
|
Name: "grpc.gateway.protoc_gen_swagger.options.openapiv2_operation",
|
|
Tag: "bytes,1042,opt,name=openapiv2_operation,json=openapiv2Operation",
|
|
Filename: "protoc-gen-swagger/options/annotations.proto",
|
|
}
|
|
|
|
var E_Openapiv2Schema = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.MessageOptions)(nil),
|
|
ExtensionType: (*Schema)(nil),
|
|
Field: 1042,
|
|
Name: "grpc.gateway.protoc_gen_swagger.options.openapiv2_schema",
|
|
Tag: "bytes,1042,opt,name=openapiv2_schema,json=openapiv2Schema",
|
|
Filename: "protoc-gen-swagger/options/annotations.proto",
|
|
}
|
|
|
|
var E_Openapiv2Tag = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.ServiceOptions)(nil),
|
|
ExtensionType: (*Tag)(nil),
|
|
Field: 1042,
|
|
Name: "grpc.gateway.protoc_gen_swagger.options.openapiv2_tag",
|
|
Tag: "bytes,1042,opt,name=openapiv2_tag,json=openapiv2Tag",
|
|
Filename: "protoc-gen-swagger/options/annotations.proto",
|
|
}
|
|
|
|
var E_Openapiv2Field = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.FieldOptions)(nil),
|
|
ExtensionType: (*JSONSchema)(nil),
|
|
Field: 1042,
|
|
Name: "grpc.gateway.protoc_gen_swagger.options.openapiv2_field",
|
|
Tag: "bytes,1042,opt,name=openapiv2_field,json=openapiv2Field",
|
|
Filename: "protoc-gen-swagger/options/annotations.proto",
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterExtension(E_Openapiv2Swagger)
|
|
proto.RegisterExtension(E_Openapiv2Operation)
|
|
proto.RegisterExtension(E_Openapiv2Schema)
|
|
proto.RegisterExtension(E_Openapiv2Tag)
|
|
proto.RegisterExtension(E_Openapiv2Field)
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("protoc-gen-swagger/options/annotations.proto", fileDescriptor_annotations_24d91a1b8877b604)
|
|
}
|
|
|
|
var fileDescriptor_annotations_24d91a1b8877b604 = []byte{
|
|
// 346 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4f, 0x4f, 0xea, 0x40,
|
|
0x14, 0xc5, 0xc3, 0xe6, 0xe5, 0xa5, 0xef, 0xa9, 0x58, 0x37, 0x86, 0xf8, 0x87, 0x9d, 0xc6, 0xc0,
|
|
0x8c, 0x81, 0x5d, 0x77, 0x6a, 0xe2, 0xc2, 0x44, 0x49, 0x0a, 0x2b, 0x37, 0x64, 0x18, 0x2e, 0x97,
|
|
0x49, 0x4a, 0xef, 0x64, 0x66, 0x80, 0x90, 0xb0, 0xf4, 0x13, 0xf8, 0x89, 0x8d, 0xd3, 0xd2, 0x9a,
|
|
0x8a, 0xa6, 0xbb, 0xde, 0xdb, 0x39, 0xe7, 0x77, 0x7a, 0x3a, 0x41, 0x47, 0x1b, 0x72, 0x24, 0xbb,
|
|
0x08, 0x69, 0xd7, 0xae, 0x05, 0x22, 0x18, 0x4e, 0xda, 0x29, 0x4a, 0x2d, 0x17, 0x69, 0x4a, 0x4e,
|
|
0xf8, 0x67, 0xe6, 0x8f, 0x85, 0x57, 0x68, 0xb4, 0x64, 0x28, 0x1c, 0xac, 0xc5, 0x26, 0xdb, 0xc9,
|
|
0x31, 0x42, 0x3a, 0xce, 0xa5, 0x2c, 0x97, 0xb6, 0x6e, 0x7e, 0xb1, 0x25, 0x0d, 0xa9, 0xd0, 0x6a,
|
|
0xd5, 0xcb, 0x0c, 0x5a, 0x6d, 0x24, 0xc2, 0x04, 0xb8, 0x9f, 0x26, 0xcb, 0x19,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