diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/github.com/golang/protobuf/ptypes/any/any.pb.go | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip |
Upgrade to 0.12
Diffstat (limited to 'vendor/github.com/golang/protobuf/ptypes/any/any.pb.go')
-rw-r--r-- | vendor/github.com/golang/protobuf/ptypes/any/any.pb.go | 45 |
1 files changed, 27 insertions, 18 deletions
diff --git a/vendor/github.com/golang/protobuf/ptypes/any/any.pb.go b/vendor/github.com/golang/protobuf/ptypes/any/any.pb.go index e3c56d3..78ee523 100644 --- a/vendor/github.com/golang/protobuf/ptypes/any/any.pb.go +++ b/vendor/github.com/golang/protobuf/ptypes/any/any.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/any.proto | 2 | // source: google/protobuf/any.proto |
3 | 3 | ||
4 | package any // import "github.com/golang/protobuf/ptypes/any" | 4 | package any |
5 | 5 | ||
6 | import proto "github.com/golang/protobuf/proto" | 6 | import ( |
7 | import fmt "fmt" | 7 | fmt "fmt" |
8 | import 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. |
11 | var _ = proto.Marshal | 13 | var _ = 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. |
19 | const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package | 21 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
20 | 22 | ||
21 | // `Any` contains an arbitrary serialized protocol buffer message along with a | 23 | // `Any` contains an arbitrary serialized protocol buffer message along with a |
22 | // URL that describes the type of the serialized message. | 24 | // URL that describes the type of the serialized message. |
@@ -99,17 +101,18 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package | |||
99 | // } | 101 | // } |
100 | // | 102 | // |
101 | type Any struct { | 103 | type Any struct { |
102 | // A URL/resource name whose content describes the type of the | 104 | // A URL/resource name that uniquely identifies the type of the serialized |
103 | // serialized protocol buffer message. | 105 | // protocol buffer message. The last segment of the URL's path must represent |
106 | // the fully qualified name of the type (as in | ||
107 | // `path/google.protobuf.Duration`). The name should be in a canonical form | ||
108 | // (e.g., leading "." is not accepted). | ||
104 | // | 109 | // |
105 | // For URLs which use the scheme `http`, `https`, or no scheme, the | 110 | // In practice, teams usually precompile into the binary all types that they |
106 | // following restrictions and interpretations apply: | 111 | // expect it to use in the context of Any. However, for URLs which use the |
112 | // scheme `http`, `https`, or no scheme, one can optionally set up a type | ||
113 | // server that maps type URLs to message definitions as follows: | ||
107 | // | 114 | // |
108 | // * If no scheme is provided, `https` is assumed. | 115 | // * If no scheme is provided, `https` is assumed. |
109 | // * The last segment of the URL's path must represent the fully | ||
110 | // qualified name of the type (as in `path/google.protobuf.Duration`). | ||
111 | // The name should be in a canonical form (e.g., leading "." is | ||
112 | // not accepted). | ||
113 | // * An HTTP GET on the URL must yield a [google.protobuf.Type][] | 116 | // * An HTTP GET on the URL must yield a [google.protobuf.Type][] |
114 | // value in binary format, or produce an error. | 117 | // value in binary format, or produce an error. |
115 | // * Applications are allowed to cache lookup results based on the | 118 | // * Applications are allowed to cache lookup results based on the |
@@ -118,6 +121,10 @@ type Any struct { | |||
118 | // on changes to types. (Use versioned type names to manage | 121 | // on changes to types. (Use versioned type names to manage |
119 | // breaking changes.) | 122 | // breaking changes.) |
120 | // | 123 | // |
124 | // Note: this functionality is not currently available in the official | ||
125 | // protobuf release, and it is not used for type URLs beginning with | ||
126 | // type.googleapis.com. | ||
127 | // | ||
121 | // Schemes other than `http`, `https` (or the empty scheme) might be | 128 | // Schemes other than `http`, `https` (or the empty scheme) might be |
122 | // used with implementation specific semantics. | 129 | // used with implementation specific semantics. |
123 | // | 130 | // |
@@ -133,17 +140,19 @@ func (m *Any) Reset() { *m = Any{} } | |||
133 | func (m *Any) String() string { return proto.CompactTextString(m) } | 140 | func (m *Any) String() string { return proto.CompactTextString(m) } |
134 | func (*Any) ProtoMessage() {} | 141 | func (*Any) ProtoMessage() {} |
135 | func (*Any) Descriptor() ([]byte, []int) { | 142 | func (*Any) Descriptor() ([]byte, []int) { |
136 | return fileDescriptor_any_744b9ca530f228db, []int{0} | 143 | return fileDescriptor_b53526c13ae22eb4, []int{0} |
137 | } | 144 | } |
145 | |||
138 | func (*Any) XXX_WellKnownType() string { return "Any" } | 146 | func (*Any) XXX_WellKnownType() string { return "Any" } |
147 | |||
139 | func (m *Any) XXX_Unmarshal(b []byte) error { | 148 | func (m *Any) XXX_Unmarshal(b []byte) error { |
140 | return xxx_messageInfo_Any.Unmarshal(m, b) | 149 | return xxx_messageInfo_Any.Unmarshal(m, b) |
141 | } | 150 | } |
142 | func (m *Any) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | 151 | func (m *Any) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
143 | return xxx_messageInfo_Any.Marshal(b, m, deterministic) | 152 | return xxx_messageInfo_Any.Marshal(b, m, deterministic) |
144 | } | 153 | } |
145 | func (dst *Any) XXX_Merge(src proto.Message) { | 154 | func (m *Any) XXX_Merge(src proto.Message) { |
146 | xxx_messageInfo_Any.Merge(dst, src) | 155 | xxx_messageInfo_Any.Merge(m, src) |
147 | } | 156 | } |
148 | func (m *Any) XXX_Size() int { | 157 | func (m *Any) XXX_Size() int { |
149 | return xxx_messageInfo_Any.Size(m) | 158 | return xxx_messageInfo_Any.Size(m) |
@@ -172,9 +181,9 @@ func init() { | |||
172 | proto.RegisterType((*Any)(nil), "google.protobuf.Any") | 181 | proto.RegisterType((*Any)(nil), "google.protobuf.Any") |
173 | } | 182 | } |
174 | 183 | ||
175 | func init() { proto.RegisterFile("google/protobuf/any.proto", fileDescriptor_any_744b9ca530f228db) } | 184 | func init() { proto.RegisterFile("google/protobuf/any.proto", fileDescriptor_b53526c13ae22eb4) } |
176 | 185 | ||
177 | var fileDescriptor_any_744b9ca530f228db = []byte{ | 186 | var fileDescriptor_b53526c13ae22eb4 = []byte{ |
178 | // 185 bytes of a gzipped FileDescriptorProto | 187 | // 185 bytes of a gzipped FileDescriptorProto |
179 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0xcf, 0xcf, 0x4f, | 188 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0xcf, 0xcf, 0x4f, |
180 | 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0xcc, 0xab, 0xd4, | 189 | 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0xcc, 0xab, 0xd4, |