OSDN Git Service

new repo
[bytom/vapor.git] / vendor / google.golang.org / genproto / googleapis / type / timeofday / timeofday.pb.go
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/type/timeofday.proto
3
4 /*
5 Package timeofday is a generated protocol buffer package.
6
7 It is generated from these files:
8         google/type/timeofday.proto
9
10 It has these top-level messages:
11         TimeOfDay
12 */
13 package timeofday
14
15 import proto "github.com/golang/protobuf/proto"
16 import fmt "fmt"
17 import math "math"
18
19 // Reference imports to suppress errors if they are not otherwise used.
20 var _ = proto.Marshal
21 var _ = fmt.Errorf
22 var _ = math.Inf
23
24 // This is a compile-time assertion to ensure that this generated file
25 // is compatible with the proto package it is being compiled against.
26 // A compilation error at this line likely means your copy of the
27 // proto package needs to be updated.
28 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
29
30 // Represents a time of day. The date and time zone are either not significant
31 // or are specified elsewhere. An API may chose to allow leap seconds. Related
32 // types are [google.type.Date][google.type.Date] and `google.protobuf.Timestamp`.
33 type TimeOfDay struct {
34         // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
35         // to allow the value "24:00:00" for scenarios like business closing time.
36         Hours int32 `protobuf:"varint,1,opt,name=hours" json:"hours,omitempty"`
37         // Minutes of hour of day. Must be from 0 to 59.
38         Minutes int32 `protobuf:"varint,2,opt,name=minutes" json:"minutes,omitempty"`
39         // Seconds of minutes of the time. Must normally be from 0 to 59. An API may
40         // allow the value 60 if it allows leap-seconds.
41         Seconds int32 `protobuf:"varint,3,opt,name=seconds" json:"seconds,omitempty"`
42         // Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
43         Nanos int32 `protobuf:"varint,4,opt,name=nanos" json:"nanos,omitempty"`
44 }
45
46 func (m *TimeOfDay) Reset()                    { *m = TimeOfDay{} }
47 func (m *TimeOfDay) String() string            { return proto.CompactTextString(m) }
48 func (*TimeOfDay) ProtoMessage()               {}
49 func (*TimeOfDay) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
50
51 func (m *TimeOfDay) GetHours() int32 {
52         if m != nil {
53                 return m.Hours
54         }
55         return 0
56 }
57
58 func (m *TimeOfDay) GetMinutes() int32 {
59         if m != nil {
60                 return m.Minutes
61         }
62         return 0
63 }
64
65 func (m *TimeOfDay) GetSeconds() int32 {
66         if m != nil {
67                 return m.Seconds
68         }
69         return 0
70 }
71
72 func (m *TimeOfDay) GetNanos() int32 {
73         if m != nil {
74                 return m.Nanos
75         }
76         return 0
77 }
78
79 func init() {
80         proto.RegisterType((*TimeOfDay)(nil), "google.type.TimeOfDay")
81 }
82
83 func init() { proto.RegisterFile("google/type/timeofday.proto", fileDescriptor0) }
84
85 var fileDescriptor0 = []byte{
86         // 198 bytes of a gzipped FileDescriptorProto
87         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0xcf, 0xcf, 0x4f,
88         0xcf, 0x49, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0x2f, 0xc9, 0xcc, 0x4d, 0xcd, 0x4f, 0x4b, 0x49,
89         0xac, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x86, 0x48, 0xea, 0x81, 0x24, 0x95, 0xb2,
90         0xb9, 0x38, 0x43, 0x32, 0x73, 0x53, 0xfd, 0xd3, 0x5c, 0x12, 0x2b, 0x85, 0x44, 0xb8, 0x58, 0x33,
91         0xf2, 0x4b, 0x8b, 0x8a, 0x25, 0x18, 0x15, 0x18, 0x35, 0x58, 0x83, 0x20, 0x1c, 0x21, 0x09, 0x2e,
92         0xf6, 0xdc, 0xcc, 0xbc, 0xd2, 0x92, 0xd4, 0x62, 0x09, 0x26, 0xb0, 0x38, 0x8c, 0x0b, 0x92, 0x29,
93         0x4e, 0x4d, 0xce, 0xcf, 0x4b, 0x29, 0x96, 0x60, 0x86, 0xc8, 0x40, 0xb9, 0x20, 0x93, 0xf2, 0x12,
94         0xf3, 0xf2, 0x8b, 0x25, 0x58, 0x20, 0x26, 0x81, 0x39, 0x4e, 0x99, 0x5c, 0xfc, 0xc9, 0xf9, 0xb9,
95         0x7a, 0x48, 0xf6, 0x3b, 0xf1, 0xc1, 0x6d, 0x0f, 0x00, 0x39, 0x2e, 0x80, 0x31, 0xca, 0x0e, 0x2a,
96         0x9d, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f, 0x9e, 0x9a, 0x07, 0x76,
97         0xba, 0x3e, 0x44, 0x2a, 0xb1, 0x20, 0xb3, 0x18, 0xcd, 0x6b, 0xd6, 0x70, 0xd6, 0x22, 0x26, 0x66,
98         0xf7, 0x90, 0x80, 0x24, 0x36, 0xb0, 0x06, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x47, 0x79,
99         0x6a, 0x06, 0x0a, 0x01, 0x00, 0x00,
100 }