1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package dayofweek
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type DayOfWeek int32
40
41 const (
42
43 DayOfWeek_DAY_OF_WEEK_UNSPECIFIED DayOfWeek = 0
44
45 DayOfWeek_MONDAY DayOfWeek = 1
46
47 DayOfWeek_TUESDAY DayOfWeek = 2
48
49 DayOfWeek_WEDNESDAY DayOfWeek = 3
50
51 DayOfWeek_THURSDAY DayOfWeek = 4
52
53 DayOfWeek_FRIDAY DayOfWeek = 5
54
55 DayOfWeek_SATURDAY DayOfWeek = 6
56
57 DayOfWeek_SUNDAY DayOfWeek = 7
58 )
59
60
61 var (
62 DayOfWeek_name = map[int32]string{
63 0: "DAY_OF_WEEK_UNSPECIFIED",
64 1: "MONDAY",
65 2: "TUESDAY",
66 3: "WEDNESDAY",
67 4: "THURSDAY",
68 5: "FRIDAY",
69 6: "SATURDAY",
70 7: "SUNDAY",
71 }
72 DayOfWeek_value = map[string]int32{
73 "DAY_OF_WEEK_UNSPECIFIED": 0,
74 "MONDAY": 1,
75 "TUESDAY": 2,
76 "WEDNESDAY": 3,
77 "THURSDAY": 4,
78 "FRIDAY": 5,
79 "SATURDAY": 6,
80 "SUNDAY": 7,
81 }
82 )
83
84 func (x DayOfWeek) Enum() *DayOfWeek {
85 p := new(DayOfWeek)
86 *p = x
87 return p
88 }
89
90 func (x DayOfWeek) String() string {
91 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
92 }
93
94 func (DayOfWeek) Descriptor() protoreflect.EnumDescriptor {
95 return file_google_type_dayofweek_proto_enumTypes[0].Descriptor()
96 }
97
98 func (DayOfWeek) Type() protoreflect.EnumType {
99 return &file_google_type_dayofweek_proto_enumTypes[0]
100 }
101
102 func (x DayOfWeek) Number() protoreflect.EnumNumber {
103 return protoreflect.EnumNumber(x)
104 }
105
106
107 func (DayOfWeek) EnumDescriptor() ([]byte, []int) {
108 return file_google_type_dayofweek_proto_rawDescGZIP(), []int{0}
109 }
110
111 var File_google_type_dayofweek_proto protoreflect.FileDescriptor
112
113 var file_google_type_dayofweek_proto_rawDesc = []byte{
114 0x0a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x64, 0x61,
115 0x79, 0x6f, 0x66, 0x77, 0x65, 0x65, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67,
116 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2a, 0x84, 0x01, 0x0a, 0x09, 0x44,
117 0x61, 0x79, 0x4f, 0x66, 0x57, 0x65, 0x65, 0x6b, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x41, 0x59, 0x5f,
118 0x4f, 0x46, 0x5f, 0x57, 0x45, 0x45, 0x4b, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
119 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x4f, 0x4e, 0x44, 0x41, 0x59, 0x10,
120 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x55, 0x45, 0x53, 0x44, 0x41, 0x59, 0x10, 0x02, 0x12, 0x0d,
121 0x0a, 0x09, 0x57, 0x45, 0x44, 0x4e, 0x45, 0x53, 0x44, 0x41, 0x59, 0x10, 0x03, 0x12, 0x0c, 0x0a,
122 0x08, 0x54, 0x48, 0x55, 0x52, 0x53, 0x44, 0x41, 0x59, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x46,
123 0x52, 0x49, 0x44, 0x41, 0x59, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x41, 0x54, 0x55, 0x52,
124 0x44, 0x41, 0x59, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55, 0x4e, 0x44, 0x41, 0x59, 0x10,
125 0x07, 0x42, 0x69, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
126 0x74, 0x79, 0x70, 0x65, 0x42, 0x0e, 0x44, 0x61, 0x79, 0x4f, 0x66, 0x57, 0x65, 0x65, 0x6b, 0x50,
127 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
128 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
129 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x74, 0x79,
130 0x70, 0x65, 0x2f, 0x64, 0x61, 0x79, 0x6f, 0x66, 0x77, 0x65, 0x65, 0x6b, 0x3b, 0x64, 0x61, 0x79,
131 0x6f, 0x66, 0x77, 0x65, 0x65, 0x6b, 0xa2, 0x02, 0x03, 0x47, 0x54, 0x50, 0x62, 0x06, 0x70, 0x72,
132 0x6f, 0x74, 0x6f, 0x33,
133 }
134
135 var (
136 file_google_type_dayofweek_proto_rawDescOnce sync.Once
137 file_google_type_dayofweek_proto_rawDescData = file_google_type_dayofweek_proto_rawDesc
138 )
139
140 func file_google_type_dayofweek_proto_rawDescGZIP() []byte {
141 file_google_type_dayofweek_proto_rawDescOnce.Do(func() {
142 file_google_type_dayofweek_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_type_dayofweek_proto_rawDescData)
143 })
144 return file_google_type_dayofweek_proto_rawDescData
145 }
146
147 var file_google_type_dayofweek_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
148 var file_google_type_dayofweek_proto_goTypes = []interface{}{
149 (DayOfWeek)(0),
150 }
151 var file_google_type_dayofweek_proto_depIdxs = []int32{
152 0,
153 0,
154 0,
155 0,
156 0,
157 }
158
159 func init() { file_google_type_dayofweek_proto_init() }
160 func file_google_type_dayofweek_proto_init() {
161 if File_google_type_dayofweek_proto != nil {
162 return
163 }
164 type x struct{}
165 out := protoimpl.TypeBuilder{
166 File: protoimpl.DescBuilder{
167 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
168 RawDescriptor: file_google_type_dayofweek_proto_rawDesc,
169 NumEnums: 1,
170 NumMessages: 0,
171 NumExtensions: 0,
172 NumServices: 0,
173 },
174 GoTypes: file_google_type_dayofweek_proto_goTypes,
175 DependencyIndexes: file_google_type_dayofweek_proto_depIdxs,
176 EnumInfos: file_google_type_dayofweek_proto_enumTypes,
177 }.Build()
178 File_google_type_dayofweek_proto = out.File
179 file_google_type_dayofweek_proto_rawDesc = nil
180 file_google_type_dayofweek_proto_goTypes = nil
181 file_google_type_dayofweek_proto_depIdxs = nil
182 }
183
View as plain text