1// Copyright 2020 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.25.0 18// protoc v3.13.0 19// source: google/type/month.proto 20 21package month 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30) 31 32const ( 33 // Verify that this generated code is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 35 // Verify that runtime/protoimpl is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 37) 38 39// This is a compile-time assertion that a sufficiently up-to-date version 40// of the legacy proto package is being used. 41const _ = proto.ProtoPackageIsVersion4 42 43// Represents a month in the Gregorian calendar. 44type Month int32 45 46const ( 47 // The unspecifed month. 48 Month_MONTH_UNSPECIFIED Month = 0 49 // The month of January. 50 Month_JANUARY Month = 1 51 // The month of February. 52 Month_FEBRUARY Month = 2 53 // The month of March. 54 Month_MARCH Month = 3 55 // The month of April. 56 Month_APRIL Month = 4 57 // The month of May. 58 Month_MAY Month = 5 59 // The month of June. 60 Month_JUNE Month = 6 61 // The month of July. 62 Month_JULY Month = 7 63 // The month of August. 64 Month_AUGUST Month = 8 65 // The month of September. 66 Month_SEPTEMBER Month = 9 67 // The month of October. 68 Month_OCTOBER Month = 10 69 // The month of November. 70 Month_NOVEMBER Month = 11 71 // The month of December. 72 Month_DECEMBER Month = 12 73) 74 75// Enum value maps for Month. 76var ( 77 Month_name = map[int32]string{ 78 0: "MONTH_UNSPECIFIED", 79 1: "JANUARY", 80 2: "FEBRUARY", 81 3: "MARCH", 82 4: "APRIL", 83 5: "MAY", 84 6: "JUNE", 85 7: "JULY", 86 8: "AUGUST", 87 9: "SEPTEMBER", 88 10: "OCTOBER", 89 11: "NOVEMBER", 90 12: "DECEMBER", 91 } 92 Month_value = map[string]int32{ 93 "MONTH_UNSPECIFIED": 0, 94 "JANUARY": 1, 95 "FEBRUARY": 2, 96 "MARCH": 3, 97 "APRIL": 4, 98 "MAY": 5, 99 "JUNE": 6, 100 "JULY": 7, 101 "AUGUST": 8, 102 "SEPTEMBER": 9, 103 "OCTOBER": 10, 104 "NOVEMBER": 11, 105 "DECEMBER": 12, 106 } 107) 108 109func (x Month) Enum() *Month { 110 p := new(Month) 111 *p = x 112 return p 113} 114 115func (x Month) String() string { 116 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 117} 118 119func (Month) Descriptor() protoreflect.EnumDescriptor { 120 return file_google_type_month_proto_enumTypes[0].Descriptor() 121} 122 123func (Month) Type() protoreflect.EnumType { 124 return &file_google_type_month_proto_enumTypes[0] 125} 126 127func (x Month) Number() protoreflect.EnumNumber { 128 return protoreflect.EnumNumber(x) 129} 130 131// Deprecated: Use Month.Descriptor instead. 132func (Month) EnumDescriptor() ([]byte, []int) { 133 return file_google_type_month_proto_rawDescGZIP(), []int{0} 134} 135 136var File_google_type_month_proto protoreflect.FileDescriptor 137 138var file_google_type_month_proto_rawDesc = []byte{ 139 0x0a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x6f, 140 0x6e, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 141 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2a, 0xb0, 0x01, 0x0a, 0x05, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 142 0x12, 0x15, 0x0a, 0x11, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 143 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x4a, 0x41, 0x4e, 0x55, 0x41, 144 0x52, 0x59, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x45, 0x42, 0x52, 0x55, 0x41, 0x52, 0x59, 145 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x41, 0x52, 0x43, 0x48, 0x10, 0x03, 0x12, 0x09, 0x0a, 146 0x05, 0x41, 0x50, 0x52, 0x49, 0x4c, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x41, 0x59, 0x10, 147 0x05, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x55, 0x4e, 0x45, 0x10, 0x06, 0x12, 0x08, 0x0a, 0x04, 0x4a, 148 0x55, 0x4c, 0x59, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x55, 0x47, 0x55, 0x53, 0x54, 0x10, 149 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x45, 0x50, 0x54, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x09, 150 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x43, 0x54, 0x4f, 0x42, 0x45, 0x52, 0x10, 0x0a, 0x12, 0x0c, 0x0a, 151 0x08, 0x4e, 0x4f, 0x56, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x0b, 0x12, 0x0c, 0x0a, 0x08, 0x44, 152 0x45, 0x43, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x0c, 0x42, 0x5d, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 153 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x4d, 0x6f, 154 0x6e, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 155 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 156 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 157 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x3b, 0x6d, 0x6f, 0x6e, 158 0x74, 0x68, 0xa2, 0x02, 0x03, 0x47, 0x54, 0x50, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 159} 160 161var ( 162 file_google_type_month_proto_rawDescOnce sync.Once 163 file_google_type_month_proto_rawDescData = file_google_type_month_proto_rawDesc 164) 165 166func file_google_type_month_proto_rawDescGZIP() []byte { 167 file_google_type_month_proto_rawDescOnce.Do(func() { 168 file_google_type_month_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_type_month_proto_rawDescData) 169 }) 170 return file_google_type_month_proto_rawDescData 171} 172 173var file_google_type_month_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 174var file_google_type_month_proto_goTypes = []interface{}{ 175 (Month)(0), // 0: google.type.Month 176} 177var file_google_type_month_proto_depIdxs = []int32{ 178 0, // [0:0] is the sub-list for method output_type 179 0, // [0:0] is the sub-list for method input_type 180 0, // [0:0] is the sub-list for extension type_name 181 0, // [0:0] is the sub-list for extension extendee 182 0, // [0:0] is the sub-list for field type_name 183} 184 185func init() { file_google_type_month_proto_init() } 186func file_google_type_month_proto_init() { 187 if File_google_type_month_proto != nil { 188 return 189 } 190 type x struct{} 191 out := protoimpl.TypeBuilder{ 192 File: protoimpl.DescBuilder{ 193 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 194 RawDescriptor: file_google_type_month_proto_rawDesc, 195 NumEnums: 1, 196 NumMessages: 0, 197 NumExtensions: 0, 198 NumServices: 0, 199 }, 200 GoTypes: file_google_type_month_proto_goTypes, 201 DependencyIndexes: file_google_type_month_proto_depIdxs, 202 EnumInfos: file_google_type_month_proto_enumTypes, 203 }.Build() 204 File_google_type_month_proto = out.File 205 file_google_type_month_proto_rawDesc = nil 206 file_google_type_month_proto_goTypes = nil 207 file_google_type_month_proto_depIdxs = nil 208} 209