github.com/cockroachdb/cockroachdb-parser@v0.23.3-0.20240213214944-911057d40c9a/pkg/util/duration/duration.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: util/duration/duration.proto 3 4 package duration 5 6 import ( 7 fmt "fmt" 8 proto "github.com/gogo/protobuf/proto" 9 math "math" 10 ) 11 12 // Reference imports to suppress errors if they are not otherwise used. 13 var _ = proto.Marshal 14 var _ = fmt.Errorf 15 var _ = math.Inf 16 17 // This is a compile-time assertion to ensure that this generated file 18 // is compatible with the proto package it is being compiled against. 19 // A compilation error at this line likely means your copy of the 20 // proto package needs to be updated. 21 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 22 23 // IntervalStyle matches the PostgreSQL IntervalStyle session parameter. 24 type IntervalStyle int32 25 26 const ( 27 IntervalStyle_POSTGRES IntervalStyle = 0 28 IntervalStyle_ISO_8601 IntervalStyle = 1 29 IntervalStyle_SQL_STANDARD IntervalStyle = 2 30 ) 31 32 var IntervalStyle_name = map[int32]string{ 33 0: "POSTGRES", 34 1: "ISO_8601", 35 2: "SQL_STANDARD", 36 } 37 38 var IntervalStyle_value = map[string]int32{ 39 "POSTGRES": 0, 40 "ISO_8601": 1, 41 "SQL_STANDARD": 2, 42 } 43 44 func (x IntervalStyle) String() string { 45 return proto.EnumName(IntervalStyle_name, int32(x)) 46 } 47 48 func (IntervalStyle) EnumDescriptor() ([]byte, []int) { 49 return fileDescriptor_2a50a97034b582e9, []int{0} 50 } 51 52 func init() { 53 proto.RegisterEnum("cockroach.parser.util.duration.IntervalStyle", IntervalStyle_name, IntervalStyle_value) 54 } 55 56 func init() { proto.RegisterFile("util/duration/duration.proto", fileDescriptor_2a50a97034b582e9) } 57 58 var fileDescriptor_2a50a97034b582e9 = []byte{ 59 // 192 bytes of a gzipped FileDescriptorProto 60 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x29, 0x2d, 0xc9, 0xcc, 61 0xd1, 0x4f, 0x29, 0x2d, 0x4a, 0x2c, 0xc9, 0xcc, 0xcf, 0x83, 0x33, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 62 0xf2, 0x85, 0xc4, 0x93, 0xf3, 0x93, 0xb3, 0x8b, 0xf2, 0x13, 0x93, 0x33, 0xf4, 0x40, 0xea, 0xf4, 63 0x60, 0xd2, 0x5a, 0xb6, 0x5c, 0xbc, 0x9e, 0x79, 0x25, 0xa9, 0x45, 0x65, 0x89, 0x39, 0xc1, 0x25, 64 0x95, 0x39, 0xa9, 0x42, 0x3c, 0x5c, 0x1c, 0x01, 0xfe, 0xc1, 0x21, 0xee, 0x41, 0xae, 0xc1, 0x02, 65 0x0c, 0x20, 0x9e, 0x67, 0xb0, 0x7f, 0xbc, 0x85, 0x99, 0x81, 0xa1, 0x00, 0xa3, 0x90, 0x00, 0x17, 66 0x4f, 0x70, 0xa0, 0x4f, 0x7c, 0x70, 0x88, 0xa3, 0x9f, 0x8b, 0x63, 0x90, 0x8b, 0x00, 0x93, 0x53, 67 0xc8, 0x89, 0x87, 0x72, 0x0c, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0x78, 0xe3, 0x91, 68 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 69 0xb1, 0x1c, 0x43, 0x94, 0x51, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 70 0xdc, 0x11, 0x29, 0x49, 0x08, 0xb6, 0x7e, 0x41, 0x76, 0xba, 0x3e, 0x8a, 0xe3, 0x93, 0xd8, 0xc0, 71 0x8e, 0x36, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x7b, 0x55, 0x4d, 0xae, 0xd4, 0x00, 0x00, 0x00, 72 } 73