|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: google/type/timeofday.proto
-
- package timeofday // import "google.golang.org/genproto/googleapis/type/timeofday"
-
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
-
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
-
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
- // Represents a time of day. The date and time zone are either not significant
- // or are specified elsewhere. An API may chose to allow leap seconds. Related
- // types are [google.type.Date][google.type.Date] and
- // `google.protobuf.Timestamp`.
- type TimeOfDay struct {
- // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
- // to allow the value "24:00:00" for scenarios like business closing time.
- Hours int32 `protobuf:"varint,1,opt,name=hours,proto3" json:"hours,omitempty"`
- // Minutes of hour of day. Must be from 0 to 59.
- Minutes int32 `protobuf:"varint,2,opt,name=minutes,proto3" json:"minutes,omitempty"`
- // Seconds of minutes of the time. Must normally be from 0 to 59. An API may
- // allow the value 60 if it allows leap-seconds.
- Seconds int32 `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds,omitempty"`
- // Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- Nanos int32 `protobuf:"varint,4,opt,name=nanos,proto3" json:"nanos,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *TimeOfDay) Reset() { *m = TimeOfDay{} }
- func (m *TimeOfDay) String() string { return proto.CompactTextString(m) }
- func (*TimeOfDay) ProtoMessage() {}
- func (*TimeOfDay) Descriptor() ([]byte, []int) {
- return fileDescriptor_timeofday_53fe8e3f23d45dda, []int{0}
- }
- func (m *TimeOfDay) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TimeOfDay.Unmarshal(m, b)
- }
- func (m *TimeOfDay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TimeOfDay.Marshal(b, m, deterministic)
- }
- func (dst *TimeOfDay) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TimeOfDay.Merge(dst, src)
- }
- func (m *TimeOfDay) XXX_Size() int {
- return xxx_messageInfo_TimeOfDay.Size(m)
- }
- func (m *TimeOfDay) XXX_DiscardUnknown() {
- xxx_messageInfo_TimeOfDay.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_TimeOfDay proto.InternalMessageInfo
-
- func (m *TimeOfDay) GetHours() int32 {
- if m != nil {
- return m.Hours
- }
- return 0
- }
-
- func (m *TimeOfDay) GetMinutes() int32 {
- if m != nil {
- return m.Minutes
- }
- return 0
- }
-
- func (m *TimeOfDay) GetSeconds() int32 {
- if m != nil {
- return m.Seconds
- }
- return 0
- }
-
- func (m *TimeOfDay) GetNanos() int32 {
- if m != nil {
- return m.Nanos
- }
- return 0
- }
-
- func init() {
- proto.RegisterType((*TimeOfDay)(nil), "google.type.TimeOfDay")
- }
-
- func init() {
- proto.RegisterFile("google/type/timeofday.proto", fileDescriptor_timeofday_53fe8e3f23d45dda)
- }
-
- var fileDescriptor_timeofday_53fe8e3f23d45dda = []byte{
- // 198 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0xcf, 0xcf, 0x4f,
- 0xcf, 0x49, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0x2f, 0xc9, 0xcc, 0x4d, 0xcd, 0x4f, 0x4b, 0x49,
- 0xac, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x86, 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