| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
package calendarperiod |
| 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 |
|
| 40 |
|
| 41 |
type CalendarPeriod int32 |
| 42 |
|
| 43 |
const ( |
| 44 |
|
| 45 |
CalendarPeriod_CALENDAR_PERIOD_UNSPECIFIED CalendarPeriod = 0 |
| 46 |
|
| 47 |
CalendarPeriod_DAY CalendarPeriod = 1 |
| 48 |
|
| 49 |
|
| 50 |
CalendarPeriod_WEEK CalendarPeriod = 2 |
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
CalendarPeriod_FORTNIGHT CalendarPeriod = 3 |
| 55 |
|
| 56 |
CalendarPeriod_MONTH CalendarPeriod = 4 |
| 57 |
|
| 58 |
|
| 59 |
CalendarPeriod_QUARTER CalendarPeriod = 5 |
| 60 |
|
| 61 |
CalendarPeriod_HALF CalendarPeriod = 6 |
| 62 |
|
| 63 |
CalendarPeriod_YEAR CalendarPeriod = 7 |
| 64 |
) |
| 65 |
|
| 66 |
|
| 67 |
var ( |
| 68 |
CalendarPeriod_name = map[int32]string{ |
| 69 |
0: "CALENDAR_PERIOD_UNSPECIFIED", |
| 70 |
1: "DAY", |
| 71 |
2: "WEEK", |
| 72 |
3: "FORTNIGHT", |
| 73 |
4: "MONTH", |
| 74 |
5: "QUARTER", |
| 75 |
6: "HALF", |
| 76 |
7: "YEAR", |
| 77 |
} |
| 78 |
CalendarPeriod_value = map[string]int32{ |
| 79 |
"CALENDAR_PERIOD_UNSPECIFIED": 0, |
| 80 |
"DAY": 1, |
| 81 |
"WEEK": 2, |
| 82 |
"FORTNIGHT": 3, |
| 83 |
"MONTH": 4, |
| 84 |
"QUARTER": 5, |
| 85 |
"HALF": 6, |
| 86 |
"YEAR": 7, |
| 87 |
} |
| 88 |
) |
| 89 |
|
| 90 |
func (x CalendarPeriod) Enum() *CalendarPeriod { |
| 91 |
p := new(CalendarPeriod) |
| 92 |
*p = x |
| 93 |
return p |
| 94 |
} |
| 95 |
|
| 96 |
func (x CalendarPeriod) String() string { |
| 97 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 98 |
} |
| 99 |
|
| 100 |
func (CalendarPeriod) Descriptor() protoreflect.EnumDescriptor { |
| 101 |
return file_google_type_calendar_period_proto_enumTypes[0].Descriptor() |
| 102 |
} |
| 103 |
|
| 104 |
func (CalendarPeriod) Type() protoreflect.EnumType { |
| 105 |
return &file_google_type_calendar_period_proto_enumTypes[0] |
| 106 |
} |
| 107 |
|
| 108 |
func (x CalendarPeriod) Number() protoreflect.EnumNumber { |
| 109 |
return protoreflect.EnumNumber(x) |
| 110 |
} |
| 111 |
|
| 112 |
|
| 113 |
func (CalendarPeriod) EnumDescriptor() ([]byte, []int) { |
| 114 |
return file_google_type_calendar_period_proto_rawDescGZIP(), []int{0} |
| 115 |
} |
| 116 |
|
| 117 |
var File_google_type_calendar_period_proto protoreflect.FileDescriptor |
| 118 |
|
| 119 |
var file_google_type_calendar_period_proto_rawDesc = []byte{ |
| 120 |
0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x63, 0x61, |
| 121 |
0x6c, 0x65, 0x6e, 0x64, 0x61, 0x72, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x2e, 0x70, 0x72, |
| 122 |
0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, |
| 123 |
0x2a, 0x7f, 0x0a, 0x0e, 0x43, 0x61, 0x6c, 0x65, 0x6e, 0x64, 0x61, 0x72, 0x50, 0x65, 0x72, 0x69, |
| 124 |
0x6f, 0x64, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x41, 0x4c, 0x45, 0x4e, 0x44, 0x41, 0x52, 0x5f, 0x50, |
| 125 |
0x45, 0x52, 0x49, 0x4f, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, |
| 126 |
0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x41, 0x59, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, |
| 127 |
0x57, 0x45, 0x45, 0x4b, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x46, 0x4f, 0x52, 0x54, 0x4e, 0x49, |
| 128 |
0x47, 0x48, 0x54, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x10, 0x04, |
| 129 |
0x12, 0x0b, 0x0a, 0x07, 0x51, 0x55, 0x41, 0x52, 0x54, 0x45, 0x52, 0x10, 0x05, 0x12, 0x08, 0x0a, |
| 130 |
0x04, 0x48, 0x41, 0x4c, 0x46, 0x10, 0x06, 0x12, 0x08, 0x0a, 0x04, 0x59, 0x45, 0x41, 0x52, 0x10, |
| 131 |
0x07, 0x42, 0x78, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 132 |
0x74, 0x79, 0x70, 0x65, 0x42, 0x13, 0x43, 0x61, 0x6c, 0x65, 0x6e, 0x64, 0x61, 0x72, 0x50, 0x65, |
| 133 |
0x72, 0x69, 0x6f, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x6f, 0x6f, |
| 134 |
0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, |
| 135 |
0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 136 |
0x69, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x63, 0x61, 0x6c, 0x65, 0x6e, 0x64, 0x61, 0x72, |
| 137 |
0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x3b, 0x63, 0x61, 0x6c, 0x65, 0x6e, 0x64, 0x61, 0x72, 0x70, |
| 138 |
0x65, 0x72, 0x69, 0x6f, 0x64, 0xa2, 0x02, 0x03, 0x47, 0x54, 0x50, 0x62, 0x06, 0x70, 0x72, 0x6f, |
| 139 |
0x74, 0x6f, 0x33, |
| 140 |
} |
| 141 |
|
| 142 |
var ( |
| 143 |
file_google_type_calendar_period_proto_rawDescOnce sync.Once |
| 144 |
file_google_type_calendar_period_proto_rawDescData = file_google_type_calendar_period_proto_rawDesc |
| 145 |
) |
| 146 |
|
| 147 |
func file_google_type_calendar_period_proto_rawDescGZIP() []byte { |
| 148 |
file_google_type_calendar_period_proto_rawDescOnce.Do(func() { |
| 149 |
file_google_type_calendar_period_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_type_calendar_period_proto_rawDescData) |
| 150 |
}) |
| 151 |
return file_google_type_calendar_period_proto_rawDescData |
| 152 |
} |
| 153 |
|
| 154 |
var file_google_type_calendar_period_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 155 |
var file_google_type_calendar_period_proto_goTypes = []interface{}{ |
| 156 |
(CalendarPeriod)(0), |
| 157 |
} |
| 158 |
var file_google_type_calendar_period_proto_depIdxs = []int32{ |
| 159 |
0, |
| 160 |
0, |
| 161 |
0, |
| 162 |
0, |
| 163 |
0, |
| 164 |
} |
| 165 |
|
| 166 |
func init() { file_google_type_calendar_period_proto_init() } |
| 167 |
func file_google_type_calendar_period_proto_init() { |
| 168 |
if File_google_type_calendar_period_proto != nil { |
| 169 |
return |
| 170 |
} |
| 171 |
type x struct{} |
| 172 |
out := protoimpl.TypeBuilder{ |
| 173 |
File: protoimpl.DescBuilder{ |
| 174 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 175 |
RawDescriptor: file_google_type_calendar_period_proto_rawDesc, |
| 176 |
NumEnums: 1, |
| 177 |
NumMessages: 0, |
| 178 |
NumExtensions: 0, |
| 179 |
NumServices: 0, |
| 180 |
}, |
| 181 |
GoTypes: file_google_type_calendar_period_proto_goTypes, |
| 182 |
DependencyIndexes: file_google_type_calendar_period_proto_depIdxs, |
| 183 |
EnumInfos: file_google_type_calendar_period_proto_enumTypes, |
| 184 |
}.Build() |
| 185 |
File_google_type_calendar_period_proto = out.File |
| 186 |
file_google_type_calendar_period_proto_rawDesc = nil |
| 187 |
file_google_type_calendar_period_proto_goTypes = nil |
| 188 |
file_google_type_calendar_period_proto_depIdxs = nil |
| 189 |
} |