1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | // source: tensorflow/core/protobuf/transport_options.proto |
3 | |
4 | #ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2ftransport_5foptions_2eproto |
5 | #define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2ftransport_5foptions_2eproto |
6 | |
7 | #include <limits> |
8 | #include <string> |
9 | |
10 | #include <google/protobuf/port_def.inc> |
11 | #if PROTOBUF_VERSION < 3009000 |
12 | #error This file was generated by a newer version of protoc which is |
13 | #error incompatible with your Protocol Buffer headers. Please update |
14 | #error your headers. |
15 | #endif |
16 | #if 3009002 < PROTOBUF_MIN_PROTOC_VERSION |
17 | #error This file was generated by an older version of protoc which is |
18 | #error incompatible with your Protocol Buffer headers. Please |
19 | #error regenerate this file with a newer version of protoc. |
20 | #endif |
21 | |
22 | #include <google/protobuf/port_undef.inc> |
23 | #include <google/protobuf/io/coded_stream.h> |
24 | #include <google/protobuf/arena.h> |
25 | #include <google/protobuf/arenastring.h> |
26 | #include <google/protobuf/generated_message_table_driven.h> |
27 | #include <google/protobuf/generated_message_util.h> |
28 | #include <google/protobuf/inlined_string_field.h> |
29 | #include <google/protobuf/metadata.h> |
30 | #include <google/protobuf/generated_message_reflection.h> |
31 | #include <google/protobuf/message.h> |
32 | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
33 | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
34 | #include <google/protobuf/unknown_field_set.h> |
35 | // @@protoc_insertion_point(includes) |
36 | #include <google/protobuf/port_def.inc> |
37 | #define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprotobuf_2ftransport_5foptions_2eproto |
38 | PROTOBUF_NAMESPACE_OPEN |
39 | namespace internal { |
40 | class AnyMetadata; |
41 | } // namespace internal |
42 | PROTOBUF_NAMESPACE_CLOSE |
43 | |
44 | // Internal implementation detail -- do not use these members. |
45 | struct TableStruct_tensorflow_2fcore_2fprotobuf_2ftransport_5foptions_2eproto { |
46 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] |
47 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
48 | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] |
49 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
50 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] |
51 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
52 | static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; |
53 | static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; |
54 | static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; |
55 | }; |
56 | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fprotobuf_2ftransport_5foptions_2eproto; |
57 | namespace tensorflow { |
58 | class RecvBufRespExtra; |
59 | class ; |
60 | extern RecvBufRespExtraDefaultTypeInternal ; |
61 | } // namespace tensorflow |
62 | PROTOBUF_NAMESPACE_OPEN |
63 | template<> ::tensorflow::RecvBufRespExtra* Arena::CreateMaybeMessage<::tensorflow::RecvBufRespExtra>(Arena*); |
64 | PROTOBUF_NAMESPACE_CLOSE |
65 | namespace tensorflow { |
66 | |
67 | // =================================================================== |
68 | |
69 | class : |
70 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.RecvBufRespExtra) */ { |
71 | public: |
72 | (); |
73 | virtual (); |
74 | |
75 | (const RecvBufRespExtra& from); |
76 | (RecvBufRespExtra&& from) noexcept |
77 | : RecvBufRespExtra() { |
78 | *this = ::std::move(from); |
79 | } |
80 | |
81 | inline RecvBufRespExtra& (const RecvBufRespExtra& from) { |
82 | CopyFrom(from); |
83 | return *this; |
84 | } |
85 | inline RecvBufRespExtra& (RecvBufRespExtra&& from) noexcept { |
86 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
87 | if (this != &from) InternalSwap(&from); |
88 | } else { |
89 | CopyFrom(from); |
90 | } |
91 | return *this; |
92 | } |
93 | |
94 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* () { |
95 | return GetDescriptor(); |
96 | } |
97 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* () { |
98 | return GetMetadataStatic().descriptor; |
99 | } |
100 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* () { |
101 | return GetMetadataStatic().reflection; |
102 | } |
103 | static const RecvBufRespExtra& (); |
104 | |
105 | static void (); // FOR INTERNAL USE ONLY |
106 | static inline const RecvBufRespExtra* () { |
107 | return reinterpret_cast<const RecvBufRespExtra*>( |
108 | &_RecvBufRespExtra_default_instance_); |
109 | } |
110 | static constexpr int = |
111 | 0; |
112 | |
113 | friend void (RecvBufRespExtra& a, RecvBufRespExtra& b) { |
114 | a.Swap(&b); |
115 | } |
116 | inline void (RecvBufRespExtra* other) { |
117 | if (other == this) return; |
118 | InternalSwap(other); |
119 | } |
120 | |
121 | // implements Message ---------------------------------------------- |
122 | |
123 | inline RecvBufRespExtra* () const final { |
124 | return CreateMaybeMessage<RecvBufRespExtra>(nullptr); |
125 | } |
126 | |
127 | RecvBufRespExtra* (::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
128 | return CreateMaybeMessage<RecvBufRespExtra>(arena); |
129 | } |
130 | void (const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
131 | void (const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
132 | void (const RecvBufRespExtra& from); |
133 | void (const RecvBufRespExtra& from); |
134 | PROTOBUF_ATTRIBUTE_REINITIALIZES void () final; |
135 | bool () const final; |
136 | |
137 | size_t () const final; |
138 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
139 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
140 | #else |
141 | bool ( |
142 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
143 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
144 | void ( |
145 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
146 | ::PROTOBUF_NAMESPACE_ID::uint8* ( |
147 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
148 | int () const final { return _cached_size_.Get(); } |
149 | |
150 | private: |
151 | inline void (); |
152 | inline void (); |
153 | void (int size) const final; |
154 | void (RecvBufRespExtra* other); |
155 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
156 | static ::PROTOBUF_NAMESPACE_ID::StringPiece () { |
157 | return "tensorflow.RecvBufRespExtra" ; |
158 | } |
159 | private: |
160 | inline ::PROTOBUF_NAMESPACE_ID::Arena* () const { |
161 | return nullptr; |
162 | } |
163 | inline void* () const { |
164 | return nullptr; |
165 | } |
166 | public: |
167 | |
168 | ::PROTOBUF_NAMESPACE_ID::Metadata () const final; |
169 | private: |
170 | static ::PROTOBUF_NAMESPACE_ID::Metadata () { |
171 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2ftransport_5foptions_2eproto); |
172 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2ftransport_5foptions_2eproto.file_level_metadata[kIndexInFileMessages]; |
173 | } |
174 | |
175 | public: |
176 | |
177 | // nested types ---------------------------------------------------- |
178 | |
179 | // accessors ------------------------------------------------------- |
180 | |
181 | enum : int { |
182 | = 1, |
183 | }; |
184 | // repeated bytes tensor_content = 1; |
185 | int tensor_content_size() const; |
186 | void clear_tensor_content(); |
187 | const std::string& tensor_content(int index) const; |
188 | std::string* mutable_tensor_content(int index); |
189 | void set_tensor_content(int index, const std::string& value); |
190 | void set_tensor_content(int index, std::string&& value); |
191 | void set_tensor_content(int index, const char* value); |
192 | void set_tensor_content(int index, const void* value, size_t size); |
193 | std::string* add_tensor_content(); |
194 | void add_tensor_content(const std::string& value); |
195 | void add_tensor_content(std::string&& value); |
196 | void add_tensor_content(const char* value); |
197 | void add_tensor_content(const void* value, size_t size); |
198 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& tensor_content() const; |
199 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_tensor_content(); |
200 | |
201 | // @@protoc_insertion_point(class_scope:tensorflow.RecvBufRespExtra) |
202 | private: |
203 | class ; |
204 | |
205 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena ; |
206 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> ; |
207 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize ; |
208 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2ftransport_5foptions_2eproto; |
209 | }; |
210 | // =================================================================== |
211 | |
212 | |
213 | // =================================================================== |
214 | |
215 | #ifdef __GNUC__ |
216 | #pragma GCC diagnostic push |
217 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
218 | #endif // __GNUC__ |
219 | // RecvBufRespExtra |
220 | |
221 | // repeated bytes tensor_content = 1; |
222 | inline int RecvBufRespExtra::() const { |
223 | return tensor_content_.size(); |
224 | } |
225 | inline void RecvBufRespExtra::() { |
226 | tensor_content_.Clear(); |
227 | } |
228 | inline const std::string& RecvBufRespExtra::(int index) const { |
229 | // @@protoc_insertion_point(field_get:tensorflow.RecvBufRespExtra.tensor_content) |
230 | return tensor_content_.Get(index); |
231 | } |
232 | inline std::string* RecvBufRespExtra::(int index) { |
233 | // @@protoc_insertion_point(field_mutable:tensorflow.RecvBufRespExtra.tensor_content) |
234 | return tensor_content_.Mutable(index); |
235 | } |
236 | inline void RecvBufRespExtra::(int index, const std::string& value) { |
237 | // @@protoc_insertion_point(field_set:tensorflow.RecvBufRespExtra.tensor_content) |
238 | tensor_content_.Mutable(index)->assign(value); |
239 | } |
240 | inline void RecvBufRespExtra::(int index, std::string&& value) { |
241 | // @@protoc_insertion_point(field_set:tensorflow.RecvBufRespExtra.tensor_content) |
242 | tensor_content_.Mutable(index)->assign(std::move(value)); |
243 | } |
244 | inline void RecvBufRespExtra::(int index, const char* value) { |
245 | GOOGLE_DCHECK(value != nullptr); |
246 | tensor_content_.Mutable(index)->assign(value); |
247 | // @@protoc_insertion_point(field_set_char:tensorflow.RecvBufRespExtra.tensor_content) |
248 | } |
249 | inline void RecvBufRespExtra::(int index, const void* value, size_t size) { |
250 | tensor_content_.Mutable(index)->assign( |
251 | reinterpret_cast<const char*>(value), size); |
252 | // @@protoc_insertion_point(field_set_pointer:tensorflow.RecvBufRespExtra.tensor_content) |
253 | } |
254 | inline std::string* RecvBufRespExtra::() { |
255 | // @@protoc_insertion_point(field_add_mutable:tensorflow.RecvBufRespExtra.tensor_content) |
256 | return tensor_content_.Add(); |
257 | } |
258 | inline void RecvBufRespExtra::(const std::string& value) { |
259 | tensor_content_.Add()->assign(value); |
260 | // @@protoc_insertion_point(field_add:tensorflow.RecvBufRespExtra.tensor_content) |
261 | } |
262 | inline void RecvBufRespExtra::(std::string&& value) { |
263 | tensor_content_.Add(std::move(value)); |
264 | // @@protoc_insertion_point(field_add:tensorflow.RecvBufRespExtra.tensor_content) |
265 | } |
266 | inline void RecvBufRespExtra::(const char* value) { |
267 | GOOGLE_DCHECK(value != nullptr); |
268 | tensor_content_.Add()->assign(value); |
269 | // @@protoc_insertion_point(field_add_char:tensorflow.RecvBufRespExtra.tensor_content) |
270 | } |
271 | inline void RecvBufRespExtra::(const void* value, size_t size) { |
272 | tensor_content_.Add()->assign(reinterpret_cast<const char*>(value), size); |
273 | // @@protoc_insertion_point(field_add_pointer:tensorflow.RecvBufRespExtra.tensor_content) |
274 | } |
275 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
276 | RecvBufRespExtra::() const { |
277 | // @@protoc_insertion_point(field_list:tensorflow.RecvBufRespExtra.tensor_content) |
278 | return tensor_content_; |
279 | } |
280 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
281 | RecvBufRespExtra::() { |
282 | // @@protoc_insertion_point(field_mutable_list:tensorflow.RecvBufRespExtra.tensor_content) |
283 | return &tensor_content_; |
284 | } |
285 | |
286 | #ifdef __GNUC__ |
287 | #pragma GCC diagnostic pop |
288 | #endif // __GNUC__ |
289 | |
290 | // @@protoc_insertion_point(namespace_scope) |
291 | |
292 | } // namespace tensorflow |
293 | |
294 | // @@protoc_insertion_point(global_scope) |
295 | |
296 | #include <google/protobuf/port_undef.inc> |
297 | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2ftransport_5foptions_2eproto |
298 | |