| 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/datetime.proto |
| 20 |
|
| 21 |
package datetime |
| 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 |
durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 30 |
) |
| 31 |
|
| 32 |
const ( |
| 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 |
// Represents civil time (or occasionally physical time). |
| 40 |
// |
| 41 |
// This type can represent a civil time in one of a few possible ways: |
| 42 |
// |
| 43 |
// - When utc_offset is set and time_zone is unset: a civil time on a calendar |
| 44 |
// day with a particular offset from UTC. |
| 45 |
// - When time_zone is set and utc_offset is unset: a civil time on a calendar |
| 46 |
// day in a particular time zone. |
| 47 |
// - When neither time_zone nor utc_offset is set: a civil time on a calendar |
| 48 |
// day in local time. |
| 49 |
// |
| 50 |
// The date is relative to the Proleptic Gregorian Calendar. |
| 51 |
// |
| 52 |
// If year, month, or day are 0, the DateTime is considered not to have a |
| 53 |
// specific year, month, or day respectively. |
| 54 |
// |
| 55 |
// This type may also be used to represent a physical time if all the date and |
| 56 |
// time fields are set and either case of the `time_offset` oneof is set. |
| 57 |
// Consider using `Timestamp` message for physical time instead. If your use |
| 58 |
// case also would like to store the user's timezone, that can be done in |
| 59 |
// another field. |
| 60 |
// |
| 61 |
// This type is more flexible than some applications may want. Make sure to |
| 62 |
// document and validate your application's limitations. |
| 63 |
type DateTime struct { |
| 64 |
state protoimpl.MessageState |
| 65 |
sizeCache protoimpl.SizeCache |
| 66 |
unknownFields protoimpl.UnknownFields |
| 67 |
|
| 68 |
// Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a |
| 69 |
// datetime without a year. |
| 70 |
Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` |
| 71 |
// Optional. Month of year. Must be from 1 to 12, or 0 if specifying a |
| 72 |
// datetime without a month. |
| 73 |
Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` |
| 74 |
// Optional. Day of month. Must be from 1 to 31 and valid for the year and |
| 75 |
// month, or 0 if specifying a datetime without a day. |
| 76 |
Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` |
| 77 |
// Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults |
| 78 |
// to 0 (midnight). An API may choose to allow the value "24:00:00" for |
| 79 |
// scenarios like business closing time. |
| 80 |
Hours int32 `protobuf:"varint,4,opt,name=hours,proto3" json:"hours,omitempty"` |
| 81 |
// Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. |
| 82 |
Minutes int32 `protobuf:"varint,5,opt,name=minutes,proto3" json:"minutes,omitempty"` |
| 83 |
// Optional. Seconds of minutes of the time. Must normally be from 0 to 59, |
| 84 |
// defaults to 0. An API may allow the value 60 if it allows leap-seconds. |
| 85 |
Seconds int32 `protobuf:"varint,6,opt,name=seconds,proto3" json:"seconds,omitempty"` |
| 86 |
// Optional. Fractions of seconds in nanoseconds. Must be from 0 to |
| 87 |
// 999,999,999, defaults to 0. |
| 88 |
Nanos int32 `protobuf:"varint,7,opt,name=nanos,proto3" json:"nanos,omitempty"` |
| 89 |
// Optional. Specifies either the UTC offset or the time zone of the DateTime. |
| 90 |
// Choose carefully between them, considering that time zone data may change |
| 91 |
// in the future (for example, a country modifies their DST start/end dates, |
| 92 |
// and future DateTimes in the affected range had already been stored). |
| 93 |
// If omitted, the DateTime is considered to be in local time. |
| 94 |
// |
| 95 |
// Types that are assignable to TimeOffset: |
| 96 |
// |
| 97 |
// *DateTime_UtcOffset |
| 98 |
// *DateTime_TimeZone |
| 99 |
TimeOffset isDateTime_TimeOffset `protobuf_oneof:"time_offset"` |
| 100 |
} |
| 101 |
|
| 102 |
func (x *DateTime) Reset() { |
| 103 |
*x = DateTime{} |
| 104 |
if protoimpl.UnsafeEnabled { |
| 105 |
mi := &file_google_type_datetime_proto_msgTypes[0] |
| 106 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 107 |
ms.StoreMessageInfo(mi) |
| 108 |
} |
| 109 |
} |
| 110 |
|
| 111 |
func (x *DateTime) String() string { |
| 112 |
return protoimpl.X.MessageStringOf(x) |
| 113 |
} |
| 114 |
|
| 115 |
func (*DateTime) ProtoMessage() {} |
| 116 |
|
| 117 |
func (x *DateTime) ProtoReflect() protoreflect.Message { |
| 118 |
mi := &file_google_type_datetime_proto_msgTypes[0] |
| 119 |
if protoimpl.UnsafeEnabled && x != nil { |
| 120 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 121 |
if ms.LoadMessageInfo() == nil { |
| 122 |
ms.StoreMessageInfo(mi) |
| 123 |
} |
| 124 |
return ms |
| 125 |
} |
| 126 |
return mi.MessageOf(x) |
| 127 |
} |
| 128 |
|
| 129 |
// Deprecated: Use DateTime.ProtoReflect.Descriptor instead. |
| 130 |
func (*DateTime) Descriptor() ([]byte, []int) { |
| 131 |
return file_google_type_datetime_proto_rawDescGZIP(), []int{0} |
| 132 |
} |
| 133 |
|
| 134 |
func (x *DateTime) GetYear() int32 { |
| 135 |
if x != nil { |
| 136 |
return x.Year |
| 137 |
} |
| 138 |
return 0 |
| 139 |
} |
| 140 |
|
| 141 |
func (x *DateTime) GetMonth() int32 { |
| 142 |
if x != nil { |
| 143 |
return x.Month |
| 144 |
} |
| 145 |
return 0 |
| 146 |
} |
| 147 |
|
| 148 |
func (x *DateTime) GetDay() int32 { |
| 149 |
if x != nil { |
| 150 |
return x.Day |
| 151 |
} |
| 152 |
return 0 |
| 153 |
} |
| 154 |
|
| 155 |
func (x *DateTime) GetHours() int32 { |
| 156 |
if x != nil { |
| 157 |
return x.Hours |
| 158 |
} |
| 159 |
return 0 |
| 160 |
} |
| 161 |
|
| 162 |
func (x *DateTime) GetMinutes() int32 { |
| 163 |
if x != nil { |
| 164 |
return x.Minutes |
| 165 |
} |
| 166 |
return 0 |
| 167 |
} |
| 168 |
|
| 169 |
func (x *DateTime) GetSeconds() int32 { |
| 170 |
if x != nil { |
| 171 |
return x.Seconds |
| 172 |
} |
| 173 |
return 0 |
| 174 |
} |
| 175 |
|
| 176 |
func (x *DateTime) GetNanos() int32 { |
| 177 |
if x != nil { |
| 178 |
return x.Nanos |
| 179 |
} |
| 180 |
return 0 |
| 181 |
} |
| 182 |
|
| 183 |
func (m *DateTime) GetTimeOffset() isDateTime_TimeOffset { |
| 184 |
if m != nil { |
| 185 |
return m.TimeOffset |
| 186 |
} |
| 187 |
return nil |
| 188 |
} |
| 189 |
|
| 190 |
func (x *DateTime) GetUtcOffset() *durationpb.Duration { |
| 191 |
if x, ok := x.GetTimeOffset().(*DateTime_UtcOffset); ok { |
| 192 |
return x.UtcOffset |
| 193 |
} |
| 194 |
return nil |
| 195 |
} |
| 196 |
|
| 197 |
func (x *DateTime) GetTimeZone() *TimeZone { |
| 198 |
if x, ok := x.GetTimeOffset().(*DateTime_TimeZone); ok { |
| 199 |
return x.TimeZone |
| 200 |
} |
| 201 |
return nil |
| 202 |
} |
| 203 |
|
| 204 |
type isDateTime_TimeOffset interface { |
| 205 |
isDateTime_TimeOffset() |
| 206 |
} |
| 207 |
|
| 208 |
type DateTime_UtcOffset struct { |
| 209 |
// UTC offset. Must be whole seconds, between -18 hours and +18 hours. |
| 210 |
// For example, a UTC offset of -4:00 would be represented as |
| 211 |
// { seconds: -14400 }. |
| 212 |
UtcOffset *durationpb.Duration `protobuf:"bytes,8,opt,name=utc_offset,json=utcOffset,proto3,oneof"` |
| 213 |
} |
| 214 |
|
| 215 |
type DateTime_TimeZone struct { |
| 216 |
// Time zone. |
| 217 |
TimeZone *TimeZone `protobuf:"bytes,9,opt,name=time_zone,json=timeZone,proto3,oneof"` |
| 218 |
} |
| 219 |
|
| 220 |
func (*DateTime_UtcOffset) isDateTime_TimeOffset() {} |
| 221 |
|
| 222 |
func (*DateTime_TimeZone) isDateTime_TimeOffset() {} |
| 223 |
|
| 224 |
// Represents a time zone from the |
| 225 |
// [IANA Time Zone Database](https://www.iana.org/time-zones). |
| 226 |
type TimeZone struct { |
| 227 |
state protoimpl.MessageState |
| 228 |
sizeCache protoimpl.SizeCache |
| 229 |
unknownFields protoimpl.UnknownFields |
| 230 |
|
| 231 |
// IANA Time Zone Database time zone. For example "America/New_York". |
| 232 |
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 233 |
// Optional. IANA Time Zone Database version number. For example "2019a". |
| 234 |
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` |
| 235 |
} |
| 236 |
|
| 237 |
func (x *TimeZone) Reset() { |
| 238 |
*x = TimeZone{} |
| 239 |
if protoimpl.UnsafeEnabled { |
| 240 |
mi := &file_google_type_datetime_proto_msgTypes[1] |
| 241 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 242 |
ms.StoreMessageInfo(mi) |
| 243 |
} |
| 244 |
} |
| 245 |
|
| 246 |
func (x *TimeZone) String() string { |
| 247 |
return protoimpl.X.MessageStringOf(x) |
| 248 |
} |
| 249 |
|
| 250 |
func (*TimeZone) ProtoMessage() {} |
| 251 |
|
| 252 |
func (x *TimeZone) ProtoReflect() protoreflect.Message { |
| 253 |
mi := &file_google_type_datetime_proto_msgTypes[1] |
| 254 |
if protoimpl.UnsafeEnabled && x != nil { |
| 255 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 256 |
if ms.LoadMessageInfo() == nil { |
| 257 |
ms.StoreMessageInfo(mi) |
| 258 |
} |
| 259 |
return ms |
| 260 |
} |
| 261 |
return mi.MessageOf(x) |
| 262 |
} |
| 263 |
|
| 264 |
// Deprecated: Use TimeZone.ProtoReflect.Descriptor instead. |
| 265 |
func (*TimeZone) Descriptor() ([]byte, []int) { |
| 266 |
return file_google_type_datetime_proto_rawDescGZIP(), []int{1} |
| 267 |
} |
| 268 |
|
| 269 |
func (x *TimeZone) GetId() string { |
| 270 |
if x != nil { |
| 271 |
return x.Id |
| 272 |
} |
| 273 |
return "" |
| 274 |
} |
| 275 |
|
| 276 |
func (x *TimeZone) GetVersion() string { |
| 277 |
if x != nil { |
| 278 |
return x.Version |
| 279 |
} |
| 280 |
return "" |
| 281 |
} |
| 282 |
|
| 283 |
var File_google_type_datetime_proto protoreflect.FileDescriptor |
| 284 |
|
| 285 |
var file_google_type_datetime_proto_rawDesc = []byte{ |
| 286 |
0x0a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x64, 0x61, |
| 287 |
0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67, 0x6f, |
| 288 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 289 |
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, |
| 290 |
0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x02, 0x0a, 0x08, 0x44, 0x61, |
| 291 |
0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x79, 0x65, 0x61, 0x72, 0x18, 0x01, |
| 292 |
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x79, 0x65, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, |
| 293 |
0x6e, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, |
| 294 |
0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, |
| 295 |
0x61, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x6f, 0x75, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, |
| 296 |
0x05, 0x52, 0x05, 0x68, 0x6f, 0x75, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x69, 0x6e, 0x75, |
| 297 |
0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x69, 0x6e, 0x75, 0x74, |
| 298 |
0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, |
| 299 |
0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, |
| 300 |
0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6e, 0x61, 0x6e, |
| 301 |
0x6f, 0x73, 0x12, 0x3a, 0x0a, 0x0a, 0x75, 0x74, 0x63, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, |
| 302 |
0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 303 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, |
| 304 |
0x6e, 0x48, 0x00, 0x52, 0x09, 0x75, 0x74, 0x63, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x34, |
| 305 |
0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, |
| 306 |
0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, |
| 307 |
0x54, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x48, 0x00, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, |
| 308 |
0x5a, 0x6f, 0x6e, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6f, 0x66, 0x66, |
| 309 |
0x73, 0x65, 0x74, 0x22, 0x34, 0x0a, 0x08, 0x54, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, |
| 310 |
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, |
| 311 |
0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| 312 |
0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x66, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, |
| 313 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0d, 0x44, 0x61, |
| 314 |
0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, |
| 315 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, |
| 316 |
0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 317 |
0x61, 0x70, 0x69, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, |
| 318 |
0x6d, 0x65, 0x3b, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0xa2, 0x02, 0x03, 0x47, 0x54, |
| 319 |
0x50, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 320 |
} |
| 321 |
|
| 322 |
var ( |
| 323 |
file_google_type_datetime_proto_rawDescOnce sync.Once |
| 324 |
file_google_type_datetime_proto_rawDescData = file_google_type_datetime_proto_rawDesc |
| 325 |
) |
| 326 |
|
| 327 |
func file_google_type_datetime_proto_rawDescGZIP() []byte { |
| 328 |
file_google_type_datetime_proto_rawDescOnce.Do(func() { |
| 329 |
file_google_type_datetime_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_type_datetime_proto_rawDescData) |
| 330 |
}) |
| 331 |
return file_google_type_datetime_proto_rawDescData |
| 332 |
} |
| 333 |
|
| 334 |
var file_google_type_datetime_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 335 |
var file_google_type_datetime_proto_goTypes = []interface{}{ |
| 336 |
(*DateTime)(nil), // 0: google.type.DateTime |
| 337 |
(*TimeZone)(nil), // 1: google.type.TimeZone |
| 338 |
(*durationpb.Duration)(nil), // 2: google.protobuf.Duration |
| 339 |
} |
| 340 |
var file_google_type_datetime_proto_depIdxs = []int32{ |
| 341 |
2, // 0: google.type.DateTime.utc_offset:type_name -> google.protobuf.Duration |
| 342 |
1, // 1: google.type.DateTime.time_zone:type_name -> google.type.TimeZone |
| 343 |
2, // [2:2] is the sub-list for method output_type |
| 344 |
2, // [2:2] is the sub-list for method input_type |
| 345 |
2, // [2:2] is the sub-list for extension type_name |
| 346 |
2, // [2:2] is the sub-list for extension extendee |
| 347 |
0, // [0:2] is the sub-list for field type_name |
| 348 |
} |
| 349 |
|
| 350 |
func init() { file_google_type_datetime_proto_init() } |
| 351 |
func file_google_type_datetime_proto_init() { |
| 352 |
if File_google_type_datetime_proto != nil { |
| 353 |
return |
| 354 |
} |
| 355 |
if !protoimpl.UnsafeEnabled { |
| 356 |
file_google_type_datetime_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 357 |
switch v := v.(*DateTime); i { |
| 358 |
case 0: |
| 359 |
return &v.state |
| 360 |
case 1: |
| 361 |
return &v.sizeCache |
| 362 |
case 2: |
| 363 |
return &v.unknownFields |
| 364 |
default: |
| 365 |
return nil |
| 366 |
} |
| 367 |
} |
| 368 |
file_google_type_datetime_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 369 |
switch v := v.(*TimeZone); i { |
| 370 |
case 0: |
| 371 |
return &v.state |
| 372 |
case 1: |
| 373 |
return &v.sizeCache |
| 374 |
case 2: |
| 375 |
return &v.unknownFields |
| 376 |
default: |
| 377 |
return nil |
| 378 |
} |
| 379 |
} |
| 380 |
} |
| 381 |
file_google_type_datetime_proto_msgTypes[0].OneofWrappers = []interface{}{ |
| 382 |
(*DateTime_UtcOffset)(nil), |
| 383 |
(*DateTime_TimeZone)(nil), |
| 384 |
} |
| 385 |
type x struct{} |
| 386 |
out := protoimpl.TypeBuilder{ |
| 387 |
File: protoimpl.DescBuilder{ |
| 388 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 389 |
RawDescriptor: file_google_type_datetime_proto_rawDesc, |
| 390 |
NumEnums: 0, |
| 391 |
NumMessages: 2, |
| 392 |
NumExtensions: 0, |
| 393 |
NumServices: 0, |
| 394 |
}, |
| 395 |
GoTypes: file_google_type_datetime_proto_goTypes, |
| 396 |
DependencyIndexes: file_google_type_datetime_proto_depIdxs, |
| 397 |
MessageInfos: file_google_type_datetime_proto_msgTypes, |
| 398 |
}.Build() |
| 399 |
File_google_type_datetime_proto = out.File |
| 400 |
file_google_type_datetime_proto_rawDesc = nil |
| 401 |
file_google_type_datetime_proto_goTypes = nil |
| 402 |
file_google_type_datetime_proto_depIdxs = nil |
| 403 |
} |