aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go')
-rw-r--r--vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go34
1 files changed, 19 insertions, 15 deletions
diff --git a/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go b/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go
index 8e76ae9..31cd846 100644
--- a/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go
+++ b/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go
@@ -1,11 +1,13 @@
1// Code generated by protoc-gen-go. DO NOT EDIT. 1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/protobuf/timestamp.proto 2// source: google/protobuf/timestamp.proto
3 3
4package timestamp // import "github.com/golang/protobuf/ptypes/timestamp" 4package timestamp
5 5
6import proto "github.com/golang/protobuf/proto" 6import (
7import fmt "fmt" 7 fmt "fmt"
8import math "math" 8 proto "github.com/golang/protobuf/proto"
9 math "math"
10)
9 11
10// Reference imports to suppress errors if they are not otherwise used. 12// Reference imports to suppress errors if they are not otherwise used.
11var _ = proto.Marshal 13var _ = proto.Marshal
@@ -16,7 +18,7 @@ var _ = math.Inf
16// is compatible with the proto package it is being compiled against. 18// is compatible with the proto package it is being compiled against.
17// A compilation error at this line likely means your copy of the 19// A compilation error at this line likely means your copy of the
18// proto package needs to be updated. 20// proto package needs to be updated.
19const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 21const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
20 22
21// A Timestamp represents a point in time independent of any time zone 23// A Timestamp represents a point in time independent of any time zone
22// or calendar, represented as seconds and fractions of seconds at 24// or calendar, represented as seconds and fractions of seconds at
@@ -81,7 +83,9 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
81// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional 83// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
82// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), 84// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
83// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone 85// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
84// is required, though only UTC (as indicated by "Z") is presently supported. 86// is required. A proto3 JSON serializer should always use UTC (as indicated by
87// "Z") when printing the Timestamp type and a proto3 JSON parser should be
88// able to accept both UTC and other timezones (as indicated by an offset).
85// 89//
86// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 90// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
87// 01:30 UTC on January 15, 2017. 91// 01:30 UTC on January 15, 2017.
@@ -92,8 +96,8 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
92// to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) 96// to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
93// with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one 97// with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
94// can use the Joda Time's [`ISODateTimeFormat.dateTime()`]( 98// can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
95// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--) 99// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
96// to obtain a formatter capable of generating timestamps in this format. 100// ) to obtain a formatter capable of generating timestamps in this format.
97// 101//
98// 102//
99type Timestamp struct { 103type Timestamp struct {
@@ -115,17 +119,19 @@ func (m *Timestamp) Reset() { *m = Timestamp{} }
115func (m *Timestamp) String() string { return proto.CompactTextString(m) } 119func (m *Timestamp) String() string { return proto.CompactTextString(m) }
116func (*Timestamp) ProtoMessage() {} 120func (*Timestamp) ProtoMessage() {}
117func (*Timestamp) Descriptor() ([]byte, []int) { 121func (*Timestamp) Descriptor() ([]byte, []int) {
118 return fileDescriptor_timestamp_b826e8e5fba671a8, []int{0} 122 return fileDescriptor_292007bbfe81227e, []int{0}
119} 123}
124
120func (*Timestamp) XXX_WellKnownType() string { return "Timestamp" } 125func (*Timestamp) XXX_WellKnownType() string { return "Timestamp" }
126
121func (m *Timestamp) XXX_Unmarshal(b []byte) error { 127func (m *Timestamp) XXX_Unmarshal(b []byte) error {
122 return xxx_messageInfo_Timestamp.Unmarshal(m, b) 128 return xxx_messageInfo_Timestamp.Unmarshal(m, b)
123} 129}
124func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 130func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
125 return xxx_messageInfo_Timestamp.Marshal(b, m, deterministic) 131 return xxx_messageInfo_Timestamp.Marshal(b, m, deterministic)
126} 132}
127func (dst *Timestamp) XXX_Merge(src proto.Message) { 133func (m *Timestamp) XXX_Merge(src proto.Message) {
128 xxx_messageInfo_Timestamp.Merge(dst, src) 134 xxx_messageInfo_Timestamp.Merge(m, src)
129} 135}
130func (m *Timestamp) XXX_Size() int { 136func (m *Timestamp) XXX_Size() int {
131 return xxx_messageInfo_Timestamp.Size(m) 137 return xxx_messageInfo_Timestamp.Size(m)
@@ -154,11 +160,9 @@ func init() {
154 proto.RegisterType((*Timestamp)(nil), "google.protobuf.Timestamp") 160 proto.RegisterType((*Timestamp)(nil), "google.protobuf.Timestamp")
155} 161}
156 162
157func init() { 163func init() { proto.RegisterFile("google/protobuf/timestamp.proto", fileDescriptor_292007bbfe81227e) }
158 proto.RegisterFile("google/protobuf/timestamp.proto", fileDescriptor_timestamp_b826e8e5fba671a8)
159}
160 164
161var fileDescriptor_timestamp_b826e8e5fba671a8 = []byte{ 165var fileDescriptor_292007bbfe81227e = []byte{
162 // 191 bytes of a gzipped FileDescriptorProto 166 // 191 bytes of a gzipped FileDescriptorProto
163 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcf, 0xcf, 0x4f, 167 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcf, 0xcf, 0x4f,
164 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xc9, 0xcc, 0x4d, 168 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xc9, 0xcc, 0x4d,