Debian Codegraph @

googleapis/type/month/month.pb.go

raw
1 // Copyright 2026 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v4.24.4
19 // source: google/type/month.proto
20
21 package month
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 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Represents a month in the Gregorian calendar.
39 type Month int32
40
41 const (
42 // The unspecified month.
43 Month_MONTH_UNSPECIFIED Month = 0
44 // The month of January.
45 Month_JANUARY Month = 1
46 // The month of February.
47 Month_FEBRUARY Month = 2
48 // The month of March.
49 Month_MARCH Month = 3
50 // The month of April.
51 Month_APRIL Month = 4
52 // The month of May.
53 Month_MAY Month = 5
54 // The month of June.
55 Month_JUNE Month = 6
56 // The month of July.
57 Month_JULY Month = 7
58 // The month of August.
59 Month_AUGUST Month = 8
60 // The month of September.
61 Month_SEPTEMBER Month = 9
62 // The month of October.
63 Month_OCTOBER Month = 10
64 // The month of November.
65 Month_NOVEMBER Month = 11
66 // The month of December.
67 Month_DECEMBER Month = 12
68 )
69
70 // Enum value maps for Month.
71 var (
72 Month_name = map[int32]string{
73 0: "MONTH_UNSPECIFIED",
74 1: "JANUARY",
75 2: "FEBRUARY",
76 3: "MARCH",
77 4: "APRIL",
78 5: "MAY",
79 6: "JUNE",
80 7: "JULY",
81 8: "AUGUST",
82 9: "SEPTEMBER",
83 10: "OCTOBER",
84 11: "NOVEMBER",
85 12: "DECEMBER",
86 }
87 Month_value = map[string]int32{
88 "MONTH_UNSPECIFIED": 0,
89 "JANUARY": 1,
90 "FEBRUARY": 2,
91 "MARCH": 3,
92 "APRIL": 4,
93 "MAY": 5,
94 "JUNE": 6,
95 "JULY": 7,
96 "AUGUST": 8,
97 "SEPTEMBER": 9,
98 "OCTOBER": 10,
99 "NOVEMBER": 11,
100 "DECEMBER": 12,
101 }
102 )
103
104 func (x Month) Enum() *Month {
105 p := new(Month)
106 *p = x
107 return p
108 }
109
110 func (x Month) String() string {
111 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
112 }
113
114 func (Month) Descriptor() protoreflect.EnumDescriptor {
115 return file_google_type_month_proto_enumTypes[0].Descriptor()
116 }
117
118 func (Month) Type() protoreflect.EnumType {
119 return &file_google_type_month_proto_enumTypes[0]
120 }
121
122 func (x Month) Number() protoreflect.EnumNumber {
123 return protoreflect.EnumNumber(x)
124 }
125
126 // Deprecated: Use Month.Descriptor instead.
127 func (Month) EnumDescriptor() ([]byte, []int) {
128 return file_google_type_month_proto_rawDescGZIP(), []int{0}
129 }
130
131 var File_google_type_month_proto protoreflect.FileDescriptor
132
133 var file_google_type_month_proto_rawDesc = []byte{
134 0x0a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x6f,
135 0x6e, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
136 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2a, 0xb0, 0x01, 0x0a, 0x05, 0x4d, 0x6f, 0x6e, 0x74, 0x68,
137 0x12, 0x15, 0x0a, 0x11, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
138 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x4a, 0x41, 0x4e, 0x55, 0x41,
139 0x52, 0x59, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x45, 0x42, 0x52, 0x55, 0x41, 0x52, 0x59,
140 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x41, 0x52, 0x43, 0x48, 0x10, 0x03, 0x12, 0x09, 0x0a,
141 0x05, 0x41, 0x50, 0x52, 0x49, 0x4c, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x41, 0x59, 0x10,
142 0x05, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x55, 0x4e, 0x45, 0x10, 0x06, 0x12, 0x08, 0x0a, 0x04, 0x4a,
143 0x55, 0x4c, 0x59, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x55, 0x47, 0x55, 0x53, 0x54, 0x10,
144 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x45, 0x50, 0x54, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x09,
145 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x43, 0x54, 0x4f, 0x42, 0x45, 0x52, 0x10, 0x0a, 0x12, 0x0c, 0x0a,
146 0x08, 0x4e, 0x4f, 0x56, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x0b, 0x12, 0x0c, 0x0a, 0x08, 0x44,
147 0x45, 0x43, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x0c, 0x42, 0x5d, 0x0a, 0x0f, 0x63, 0x6f, 0x6d,
148 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x4d, 0x6f,
149 0x6e, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x6f, 0x6f, 0x67,
150 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
151 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
152 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x3b, 0x6d, 0x6f, 0x6e,
153 0x74, 0x68, 0xa2, 0x02, 0x03, 0x47, 0x54, 0x50, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
154 }
155
156 var (
157 file_google_type_month_proto_rawDescOnce sync.Once
158 file_google_type_month_proto_rawDescData = file_google_type_month_proto_rawDesc
159 )
160
161 func file_google_type_month_proto_rawDescGZIP() []byte {
162 file_google_type_month_proto_rawDescOnce.Do(func() {
163 file_google_type_month_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_type_month_proto_rawDescData)
164 })
165 return file_google_type_month_proto_rawDescData
166 }
167
168 var file_google_type_month_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
169 var file_google_type_month_proto_goTypes = []interface{}{
170 (Month)(0), // 0: google.type.Month
171 }
172 var file_google_type_month_proto_depIdxs = []int32{
173 0, // [0:0] is the sub-list for method output_type
174 0, // [0:0] is the sub-list for method input_type
175 0, // [0:0] is the sub-list for extension type_name
176 0, // [0:0] is the sub-list for extension extendee
177 0, // [0:0] is the sub-list for field type_name
178 }
179
180 func init() { file_google_type_month_proto_init() }
181 func file_google_type_month_proto_init() {
182 if File_google_type_month_proto != nil {
183 return
184 }
185 type x struct{}
186 out := protoimpl.TypeBuilder{
187 File: protoimpl.DescBuilder{
188 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
189 RawDescriptor: file_google_type_month_proto_rawDesc,
190 NumEnums: 1,
191 NumMessages: 0,
192 NumExtensions: 0,
193 NumServices: 0,
194 },
195 GoTypes: file_google_type_month_proto_goTypes,
196 DependencyIndexes: file_google_type_month_proto_depIdxs,
197 EnumInfos: file_google_type_month_proto_enumTypes,
198 }.Build()
199 File_google_type_month_proto = out.File
200 file_google_type_month_proto_rawDesc = nil
201 file_google_type_month_proto_goTypes = nil
202 file_google_type_month_proto_depIdxs = nil
203 }