github.com/cockroachdb/cockroachdb-parser@v0.23.3-0.20240213214944-911057d40c9a/pkg/sql/lex/encode.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: sql/lex/encode.proto 3 4 package lex 5 6 import ( 7 fmt "fmt" 8 _ "github.com/gogo/protobuf/gogoproto" 9 proto "github.com/gogo/protobuf/proto" 10 math "math" 11 ) 12 13 // Reference imports to suppress errors if they are not otherwise used. 14 var _ = proto.Marshal 15 var _ = fmt.Errorf 16 var _ = math.Inf 17 18 // This is a compile-time assertion to ensure that this generated file 19 // is compatible with the proto package it is being compiled against. 20 // A compilation error at this line likely means your copy of the 21 // proto package needs to be updated. 22 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 23 24 // BytesEncodeFormat is the configuration for bytes to string conversions. 25 type BytesEncodeFormat int32 26 27 const ( 28 // BytesEncodeHex uses the hex format: e'abc\n'::BYTES::STRING -> '\x61626312'. 29 // This is the default, for compatibility with PostgreSQL. 30 BytesEncodeHex BytesEncodeFormat = 0 31 // BytesEncodeEscape uses the escaped format: e'abc\n'::BYTES::STRING -> 'abc\012'. 32 BytesEncodeEscape BytesEncodeFormat = 1 33 // BytesEncodeBase64 uses base64 encoding. 34 BytesEncodeBase64 BytesEncodeFormat = 2 35 ) 36 37 var BytesEncodeFormat_name = map[int32]string{ 38 0: "BytesEncodeHex", 39 1: "BytesEncodeEscape", 40 2: "BytesEncodeBase64", 41 } 42 43 var BytesEncodeFormat_value = map[string]int32{ 44 "BytesEncodeHex": 0, 45 "BytesEncodeEscape": 1, 46 "BytesEncodeBase64": 2, 47 } 48 49 func (BytesEncodeFormat) EnumDescriptor() ([]byte, []int) { 50 return fileDescriptor_3d1d8cf249b1b776, []int{0} 51 } 52 53 func init() { 54 proto.RegisterEnum("cockroach.parser.sql.sessiondatapb.BytesEncodeFormat", BytesEncodeFormat_name, BytesEncodeFormat_value) 55 } 56 57 func init() { proto.RegisterFile("sql/lex/encode.proto", fileDescriptor_3d1d8cf249b1b776) } 58 59 var fileDescriptor_3d1d8cf249b1b776 = []byte{ 60 // 217 bytes of a gzipped FileDescriptorProto 61 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x29, 0x2e, 0xcc, 0xd1, 62 0xcf, 0x49, 0xad, 0xd0, 0x4f, 0xcd, 0x4b, 0xce, 0x4f, 0x49, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 63 0x17, 0x92, 0x4e, 0xce, 0x4f, 0xce, 0x2e, 0xca, 0x4f, 0x4c, 0xce, 0xd0, 0x2b, 0x2e, 0xcc, 0xd1, 64 0x2b, 0x4e, 0x2d, 0x2e, 0xce, 0xcc, 0xcf, 0x4b, 0x49, 0x2c, 0x49, 0x2c, 0x48, 0x92, 0x12, 0x49, 65 0xcf, 0x4f, 0xcf, 0x07, 0xab, 0xd3, 0x07, 0xb1, 0x20, 0x5a, 0xb4, 0xe2, 0xb9, 0x04, 0x9d, 0x2a, 66 0x4b, 0x52, 0x8b, 0x5d, 0xc1, 0xe6, 0xb8, 0xe5, 0x17, 0xe5, 0x26, 0x96, 0x08, 0x09, 0x71, 0xf1, 67 0x21, 0x09, 0x7a, 0xa4, 0x56, 0x08, 0x30, 0x08, 0x89, 0xa2, 0x28, 0x74, 0x2d, 0x4e, 0x4e, 0x2c, 68 0x48, 0x15, 0x60, 0x44, 0x13, 0x76, 0x4a, 0x2c, 0x4e, 0x35, 0x33, 0x11, 0x60, 0x92, 0xe2, 0xe8, 69 0x58, 0x2c, 0xc7, 0xb0, 0x62, 0x89, 0x1c, 0x83, 0x93, 0xdf, 0x89, 0x87, 0x72, 0x0c, 0x27, 0x1e, 70 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0x78, 0xe3, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 71 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x4e, 0x7a, 0x66, 72 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xdc, 0x03, 0x29, 0x49, 0x08, 0xb6, 0x7e, 73 0x41, 0x76, 0xba, 0x3e, 0xd4, 0xc3, 0x49, 0x6c, 0x60, 0x77, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 74 0xff, 0xc3, 0x5c, 0xf2, 0x63, 0x02, 0x01, 0x00, 0x00, 75 } 76