1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | // source: tensorflow/core/protobuf/master.proto |
3 | |
4 | #ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto |
5 | #define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fmaster_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 | #include "tensorflow/core/framework/device_attributes.pb.h" |
36 | #include "tensorflow/core/framework/graph.pb.h" |
37 | #include "tensorflow/core/framework/tensor.pb.h" |
38 | #include "tensorflow/core/protobuf/config.pb.h" |
39 | #include "tensorflow/core/protobuf/error_codes.pb.h" |
40 | #include "tensorflow/core/protobuf/named_tensor.pb.h" |
41 | // @@protoc_insertion_point(includes) |
42 | #include <google/protobuf/port_def.inc> |
43 | #define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto |
44 | PROTOBUF_NAMESPACE_OPEN |
45 | namespace internal { |
46 | class AnyMetadata; |
47 | } // namespace internal |
48 | PROTOBUF_NAMESPACE_CLOSE |
49 | |
50 | // Internal implementation detail -- do not use these members. |
51 | struct TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto { |
52 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] |
53 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
54 | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] |
55 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
56 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[20] |
57 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
58 | static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; |
59 | static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; |
60 | static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; |
61 | }; |
62 | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
63 | namespace tensorflow { |
64 | class CloseSessionRequest; |
65 | class CloseSessionRequestDefaultTypeInternal; |
66 | extern CloseSessionRequestDefaultTypeInternal _CloseSessionRequest_default_instance_; |
67 | class CloseSessionResponse; |
68 | class CloseSessionResponseDefaultTypeInternal; |
69 | extern CloseSessionResponseDefaultTypeInternal _CloseSessionResponse_default_instance_; |
70 | class CreateSessionRequest; |
71 | class CreateSessionRequestDefaultTypeInternal; |
72 | extern CreateSessionRequestDefaultTypeInternal _CreateSessionRequest_default_instance_; |
73 | class CreateSessionResponse; |
74 | class CreateSessionResponseDefaultTypeInternal; |
75 | extern CreateSessionResponseDefaultTypeInternal _CreateSessionResponse_default_instance_; |
76 | class ExtendSessionRequest; |
77 | class ExtendSessionRequestDefaultTypeInternal; |
78 | extern ExtendSessionRequestDefaultTypeInternal _ExtendSessionRequest_default_instance_; |
79 | class ExtendSessionResponse; |
80 | class ExtendSessionResponseDefaultTypeInternal; |
81 | extern ExtendSessionResponseDefaultTypeInternal _ExtendSessionResponse_default_instance_; |
82 | class ListDevicesRequest; |
83 | class ListDevicesRequestDefaultTypeInternal; |
84 | extern ListDevicesRequestDefaultTypeInternal _ListDevicesRequest_default_instance_; |
85 | class ListDevicesResponse; |
86 | class ListDevicesResponseDefaultTypeInternal; |
87 | extern ListDevicesResponseDefaultTypeInternal _ListDevicesResponse_default_instance_; |
88 | class MakeCallableRequest; |
89 | class MakeCallableRequestDefaultTypeInternal; |
90 | extern MakeCallableRequestDefaultTypeInternal _MakeCallableRequest_default_instance_; |
91 | class MakeCallableResponse; |
92 | class MakeCallableResponseDefaultTypeInternal; |
93 | extern MakeCallableResponseDefaultTypeInternal _MakeCallableResponse_default_instance_; |
94 | class PartialRunSetupRequest; |
95 | class PartialRunSetupRequestDefaultTypeInternal; |
96 | extern PartialRunSetupRequestDefaultTypeInternal _PartialRunSetupRequest_default_instance_; |
97 | class PartialRunSetupResponse; |
98 | class PartialRunSetupResponseDefaultTypeInternal; |
99 | extern PartialRunSetupResponseDefaultTypeInternal _PartialRunSetupResponse_default_instance_; |
100 | class ReleaseCallableRequest; |
101 | class ReleaseCallableRequestDefaultTypeInternal; |
102 | extern ReleaseCallableRequestDefaultTypeInternal _ReleaseCallableRequest_default_instance_; |
103 | class ReleaseCallableResponse; |
104 | class ReleaseCallableResponseDefaultTypeInternal; |
105 | extern ReleaseCallableResponseDefaultTypeInternal _ReleaseCallableResponse_default_instance_; |
106 | class ResetRequest; |
107 | class ResetRequestDefaultTypeInternal; |
108 | extern ResetRequestDefaultTypeInternal _ResetRequest_default_instance_; |
109 | class ResetResponse; |
110 | class ResetResponseDefaultTypeInternal; |
111 | extern ResetResponseDefaultTypeInternal _ResetResponse_default_instance_; |
112 | class RunCallableRequest; |
113 | class RunCallableRequestDefaultTypeInternal; |
114 | extern RunCallableRequestDefaultTypeInternal _RunCallableRequest_default_instance_; |
115 | class RunCallableResponse; |
116 | class RunCallableResponseDefaultTypeInternal; |
117 | extern RunCallableResponseDefaultTypeInternal _RunCallableResponse_default_instance_; |
118 | class RunStepRequest; |
119 | class RunStepRequestDefaultTypeInternal; |
120 | extern RunStepRequestDefaultTypeInternal _RunStepRequest_default_instance_; |
121 | class RunStepResponse; |
122 | class RunStepResponseDefaultTypeInternal; |
123 | extern RunStepResponseDefaultTypeInternal _RunStepResponse_default_instance_; |
124 | } // namespace tensorflow |
125 | PROTOBUF_NAMESPACE_OPEN |
126 | template<> ::tensorflow::CloseSessionRequest* Arena::CreateMaybeMessage<::tensorflow::CloseSessionRequest>(Arena*); |
127 | template<> ::tensorflow::CloseSessionResponse* Arena::CreateMaybeMessage<::tensorflow::CloseSessionResponse>(Arena*); |
128 | template<> ::tensorflow::CreateSessionRequest* Arena::CreateMaybeMessage<::tensorflow::CreateSessionRequest>(Arena*); |
129 | template<> ::tensorflow::CreateSessionResponse* Arena::CreateMaybeMessage<::tensorflow::CreateSessionResponse>(Arena*); |
130 | template<> ::tensorflow::ExtendSessionRequest* Arena::CreateMaybeMessage<::tensorflow::ExtendSessionRequest>(Arena*); |
131 | template<> ::tensorflow::ExtendSessionResponse* Arena::CreateMaybeMessage<::tensorflow::ExtendSessionResponse>(Arena*); |
132 | template<> ::tensorflow::ListDevicesRequest* Arena::CreateMaybeMessage<::tensorflow::ListDevicesRequest>(Arena*); |
133 | template<> ::tensorflow::ListDevicesResponse* Arena::CreateMaybeMessage<::tensorflow::ListDevicesResponse>(Arena*); |
134 | template<> ::tensorflow::MakeCallableRequest* Arena::CreateMaybeMessage<::tensorflow::MakeCallableRequest>(Arena*); |
135 | template<> ::tensorflow::MakeCallableResponse* Arena::CreateMaybeMessage<::tensorflow::MakeCallableResponse>(Arena*); |
136 | template<> ::tensorflow::PartialRunSetupRequest* Arena::CreateMaybeMessage<::tensorflow::PartialRunSetupRequest>(Arena*); |
137 | template<> ::tensorflow::PartialRunSetupResponse* Arena::CreateMaybeMessage<::tensorflow::PartialRunSetupResponse>(Arena*); |
138 | template<> ::tensorflow::ReleaseCallableRequest* Arena::CreateMaybeMessage<::tensorflow::ReleaseCallableRequest>(Arena*); |
139 | template<> ::tensorflow::ReleaseCallableResponse* Arena::CreateMaybeMessage<::tensorflow::ReleaseCallableResponse>(Arena*); |
140 | template<> ::tensorflow::ResetRequest* Arena::CreateMaybeMessage<::tensorflow::ResetRequest>(Arena*); |
141 | template<> ::tensorflow::ResetResponse* Arena::CreateMaybeMessage<::tensorflow::ResetResponse>(Arena*); |
142 | template<> ::tensorflow::RunCallableRequest* Arena::CreateMaybeMessage<::tensorflow::RunCallableRequest>(Arena*); |
143 | template<> ::tensorflow::RunCallableResponse* Arena::CreateMaybeMessage<::tensorflow::RunCallableResponse>(Arena*); |
144 | template<> ::tensorflow::RunStepRequest* Arena::CreateMaybeMessage<::tensorflow::RunStepRequest>(Arena*); |
145 | template<> ::tensorflow::RunStepResponse* Arena::CreateMaybeMessage<::tensorflow::RunStepResponse>(Arena*); |
146 | PROTOBUF_NAMESPACE_CLOSE |
147 | namespace tensorflow { |
148 | |
149 | // =================================================================== |
150 | |
151 | class CreateSessionRequest : |
152 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CreateSessionRequest) */ { |
153 | public: |
154 | CreateSessionRequest(); |
155 | virtual ~CreateSessionRequest(); |
156 | |
157 | CreateSessionRequest(const CreateSessionRequest& from); |
158 | CreateSessionRequest(CreateSessionRequest&& from) noexcept |
159 | : CreateSessionRequest() { |
160 | *this = ::std::move(from); |
161 | } |
162 | |
163 | inline CreateSessionRequest& operator=(const CreateSessionRequest& from) { |
164 | CopyFrom(from); |
165 | return *this; |
166 | } |
167 | inline CreateSessionRequest& operator=(CreateSessionRequest&& from) noexcept { |
168 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
169 | if (this != &from) InternalSwap(&from); |
170 | } else { |
171 | CopyFrom(from); |
172 | } |
173 | return *this; |
174 | } |
175 | |
176 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
177 | return GetArenaNoVirtual(); |
178 | } |
179 | inline void* GetMaybeArenaPointer() const final { |
180 | return MaybeArenaPtr(); |
181 | } |
182 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
183 | return GetDescriptor(); |
184 | } |
185 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
186 | return GetMetadataStatic().descriptor; |
187 | } |
188 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
189 | return GetMetadataStatic().reflection; |
190 | } |
191 | static const CreateSessionRequest& default_instance(); |
192 | |
193 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
194 | static inline const CreateSessionRequest* internal_default_instance() { |
195 | return reinterpret_cast<const CreateSessionRequest*>( |
196 | &_CreateSessionRequest_default_instance_); |
197 | } |
198 | static constexpr int kIndexInFileMessages = |
199 | 0; |
200 | |
201 | friend void swap(CreateSessionRequest& a, CreateSessionRequest& b) { |
202 | a.Swap(&b); |
203 | } |
204 | inline void Swap(CreateSessionRequest* other) { |
205 | if (other == this) return; |
206 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
207 | InternalSwap(other); |
208 | } else { |
209 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
210 | } |
211 | } |
212 | void UnsafeArenaSwap(CreateSessionRequest* other) { |
213 | if (other == this) return; |
214 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
215 | InternalSwap(other); |
216 | } |
217 | |
218 | // implements Message ---------------------------------------------- |
219 | |
220 | inline CreateSessionRequest* New() const final { |
221 | return CreateMaybeMessage<CreateSessionRequest>(nullptr); |
222 | } |
223 | |
224 | CreateSessionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
225 | return CreateMaybeMessage<CreateSessionRequest>(arena); |
226 | } |
227 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
228 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
229 | void CopyFrom(const CreateSessionRequest& from); |
230 | void MergeFrom(const CreateSessionRequest& from); |
231 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
232 | bool IsInitialized() const final; |
233 | |
234 | size_t ByteSizeLong() const final; |
235 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
236 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
237 | #else |
238 | bool MergePartialFromCodedStream( |
239 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
240 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
241 | void SerializeWithCachedSizes( |
242 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
243 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
244 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
245 | int GetCachedSize() const final { return _cached_size_.Get(); } |
246 | |
247 | private: |
248 | inline void SharedCtor(); |
249 | inline void SharedDtor(); |
250 | void SetCachedSize(int size) const final; |
251 | void InternalSwap(CreateSessionRequest* other); |
252 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
253 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
254 | return "tensorflow.CreateSessionRequest" ; |
255 | } |
256 | protected: |
257 | explicit CreateSessionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
258 | private: |
259 | static void ArenaDtor(void* object); |
260 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
261 | private: |
262 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
263 | return _internal_metadata_.arena(); |
264 | } |
265 | inline void* MaybeArenaPtr() const { |
266 | return _internal_metadata_.raw_arena_ptr(); |
267 | } |
268 | public: |
269 | |
270 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
271 | private: |
272 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
273 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
274 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
275 | } |
276 | |
277 | public: |
278 | |
279 | // nested types ---------------------------------------------------- |
280 | |
281 | // accessors ------------------------------------------------------- |
282 | |
283 | enum : int { |
284 | kTargetFieldNumber = 3, |
285 | kGraphDefFieldNumber = 1, |
286 | kConfigFieldNumber = 2, |
287 | }; |
288 | // string target = 3; |
289 | void clear_target(); |
290 | const std::string& target() const; |
291 | void set_target(const std::string& value); |
292 | void set_target(std::string&& value); |
293 | void set_target(const char* value); |
294 | void set_target(const char* value, size_t size); |
295 | std::string* mutable_target(); |
296 | std::string* release_target(); |
297 | void set_allocated_target(std::string* target); |
298 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
299 | " string fields are deprecated and will be removed in a" |
300 | " future release." ) |
301 | std::string* unsafe_arena_release_target(); |
302 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
303 | " string fields are deprecated and will be removed in a" |
304 | " future release." ) |
305 | void unsafe_arena_set_allocated_target( |
306 | std::string* target); |
307 | |
308 | // .tensorflow.GraphDef graph_def = 1; |
309 | bool has_graph_def() const; |
310 | void clear_graph_def(); |
311 | const ::tensorflow::GraphDef& graph_def() const; |
312 | ::tensorflow::GraphDef* release_graph_def(); |
313 | ::tensorflow::GraphDef* mutable_graph_def(); |
314 | void set_allocated_graph_def(::tensorflow::GraphDef* graph_def); |
315 | void unsafe_arena_set_allocated_graph_def( |
316 | ::tensorflow::GraphDef* graph_def); |
317 | ::tensorflow::GraphDef* unsafe_arena_release_graph_def(); |
318 | |
319 | // .tensorflow.ConfigProto config = 2; |
320 | bool has_config() const; |
321 | void clear_config(); |
322 | const ::tensorflow::ConfigProto& config() const; |
323 | ::tensorflow::ConfigProto* release_config(); |
324 | ::tensorflow::ConfigProto* mutable_config(); |
325 | void set_allocated_config(::tensorflow::ConfigProto* config); |
326 | void unsafe_arena_set_allocated_config( |
327 | ::tensorflow::ConfigProto* config); |
328 | ::tensorflow::ConfigProto* unsafe_arena_release_config(); |
329 | |
330 | // @@protoc_insertion_point(class_scope:tensorflow.CreateSessionRequest) |
331 | private: |
332 | class _Internal; |
333 | |
334 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
335 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
336 | typedef void InternalArenaConstructable_; |
337 | typedef void DestructorSkippable_; |
338 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr target_; |
339 | ::tensorflow::GraphDef* graph_def_; |
340 | ::tensorflow::ConfigProto* config_; |
341 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
342 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
343 | }; |
344 | // ------------------------------------------------------------------- |
345 | |
346 | class CreateSessionResponse : |
347 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CreateSessionResponse) */ { |
348 | public: |
349 | CreateSessionResponse(); |
350 | virtual ~CreateSessionResponse(); |
351 | |
352 | CreateSessionResponse(const CreateSessionResponse& from); |
353 | CreateSessionResponse(CreateSessionResponse&& from) noexcept |
354 | : CreateSessionResponse() { |
355 | *this = ::std::move(from); |
356 | } |
357 | |
358 | inline CreateSessionResponse& operator=(const CreateSessionResponse& from) { |
359 | CopyFrom(from); |
360 | return *this; |
361 | } |
362 | inline CreateSessionResponse& operator=(CreateSessionResponse&& from) noexcept { |
363 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
364 | if (this != &from) InternalSwap(&from); |
365 | } else { |
366 | CopyFrom(from); |
367 | } |
368 | return *this; |
369 | } |
370 | |
371 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
372 | return GetArenaNoVirtual(); |
373 | } |
374 | inline void* GetMaybeArenaPointer() const final { |
375 | return MaybeArenaPtr(); |
376 | } |
377 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
378 | return GetDescriptor(); |
379 | } |
380 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
381 | return GetMetadataStatic().descriptor; |
382 | } |
383 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
384 | return GetMetadataStatic().reflection; |
385 | } |
386 | static const CreateSessionResponse& default_instance(); |
387 | |
388 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
389 | static inline const CreateSessionResponse* internal_default_instance() { |
390 | return reinterpret_cast<const CreateSessionResponse*>( |
391 | &_CreateSessionResponse_default_instance_); |
392 | } |
393 | static constexpr int kIndexInFileMessages = |
394 | 1; |
395 | |
396 | friend void swap(CreateSessionResponse& a, CreateSessionResponse& b) { |
397 | a.Swap(&b); |
398 | } |
399 | inline void Swap(CreateSessionResponse* other) { |
400 | if (other == this) return; |
401 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
402 | InternalSwap(other); |
403 | } else { |
404 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
405 | } |
406 | } |
407 | void UnsafeArenaSwap(CreateSessionResponse* other) { |
408 | if (other == this) return; |
409 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
410 | InternalSwap(other); |
411 | } |
412 | |
413 | // implements Message ---------------------------------------------- |
414 | |
415 | inline CreateSessionResponse* New() const final { |
416 | return CreateMaybeMessage<CreateSessionResponse>(nullptr); |
417 | } |
418 | |
419 | CreateSessionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
420 | return CreateMaybeMessage<CreateSessionResponse>(arena); |
421 | } |
422 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
423 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
424 | void CopyFrom(const CreateSessionResponse& from); |
425 | void MergeFrom(const CreateSessionResponse& from); |
426 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
427 | bool IsInitialized() const final; |
428 | |
429 | size_t ByteSizeLong() const final; |
430 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
431 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
432 | #else |
433 | bool MergePartialFromCodedStream( |
434 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
435 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
436 | void SerializeWithCachedSizes( |
437 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
438 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
439 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
440 | int GetCachedSize() const final { return _cached_size_.Get(); } |
441 | |
442 | private: |
443 | inline void SharedCtor(); |
444 | inline void SharedDtor(); |
445 | void SetCachedSize(int size) const final; |
446 | void InternalSwap(CreateSessionResponse* other); |
447 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
448 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
449 | return "tensorflow.CreateSessionResponse" ; |
450 | } |
451 | protected: |
452 | explicit CreateSessionResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
453 | private: |
454 | static void ArenaDtor(void* object); |
455 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
456 | private: |
457 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
458 | return _internal_metadata_.arena(); |
459 | } |
460 | inline void* MaybeArenaPtr() const { |
461 | return _internal_metadata_.raw_arena_ptr(); |
462 | } |
463 | public: |
464 | |
465 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
466 | private: |
467 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
468 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
469 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
470 | } |
471 | |
472 | public: |
473 | |
474 | // nested types ---------------------------------------------------- |
475 | |
476 | // accessors ------------------------------------------------------- |
477 | |
478 | enum : int { |
479 | kSessionHandleFieldNumber = 1, |
480 | kGraphVersionFieldNumber = 2, |
481 | }; |
482 | // string session_handle = 1; |
483 | void clear_session_handle(); |
484 | const std::string& session_handle() const; |
485 | void set_session_handle(const std::string& value); |
486 | void set_session_handle(std::string&& value); |
487 | void set_session_handle(const char* value); |
488 | void set_session_handle(const char* value, size_t size); |
489 | std::string* mutable_session_handle(); |
490 | std::string* release_session_handle(); |
491 | void set_allocated_session_handle(std::string* session_handle); |
492 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
493 | " string fields are deprecated and will be removed in a" |
494 | " future release." ) |
495 | std::string* unsafe_arena_release_session_handle(); |
496 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
497 | " string fields are deprecated and will be removed in a" |
498 | " future release." ) |
499 | void unsafe_arena_set_allocated_session_handle( |
500 | std::string* session_handle); |
501 | |
502 | // int64 graph_version = 2; |
503 | void clear_graph_version(); |
504 | ::PROTOBUF_NAMESPACE_ID::int64 graph_version() const; |
505 | void set_graph_version(::PROTOBUF_NAMESPACE_ID::int64 value); |
506 | |
507 | // @@protoc_insertion_point(class_scope:tensorflow.CreateSessionResponse) |
508 | private: |
509 | class _Internal; |
510 | |
511 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
512 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
513 | typedef void InternalArenaConstructable_; |
514 | typedef void DestructorSkippable_; |
515 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_handle_; |
516 | ::PROTOBUF_NAMESPACE_ID::int64 graph_version_; |
517 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
518 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
519 | }; |
520 | // ------------------------------------------------------------------- |
521 | |
522 | class ExtendSessionRequest : |
523 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.ExtendSessionRequest) */ { |
524 | public: |
525 | ExtendSessionRequest(); |
526 | virtual ~ExtendSessionRequest(); |
527 | |
528 | ExtendSessionRequest(const ExtendSessionRequest& from); |
529 | ExtendSessionRequest(ExtendSessionRequest&& from) noexcept |
530 | : ExtendSessionRequest() { |
531 | *this = ::std::move(from); |
532 | } |
533 | |
534 | inline ExtendSessionRequest& operator=(const ExtendSessionRequest& from) { |
535 | CopyFrom(from); |
536 | return *this; |
537 | } |
538 | inline ExtendSessionRequest& operator=(ExtendSessionRequest&& from) noexcept { |
539 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
540 | if (this != &from) InternalSwap(&from); |
541 | } else { |
542 | CopyFrom(from); |
543 | } |
544 | return *this; |
545 | } |
546 | |
547 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
548 | return GetArenaNoVirtual(); |
549 | } |
550 | inline void* GetMaybeArenaPointer() const final { |
551 | return MaybeArenaPtr(); |
552 | } |
553 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
554 | return GetDescriptor(); |
555 | } |
556 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
557 | return GetMetadataStatic().descriptor; |
558 | } |
559 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
560 | return GetMetadataStatic().reflection; |
561 | } |
562 | static const ExtendSessionRequest& default_instance(); |
563 | |
564 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
565 | static inline const ExtendSessionRequest* internal_default_instance() { |
566 | return reinterpret_cast<const ExtendSessionRequest*>( |
567 | &_ExtendSessionRequest_default_instance_); |
568 | } |
569 | static constexpr int kIndexInFileMessages = |
570 | 2; |
571 | |
572 | friend void swap(ExtendSessionRequest& a, ExtendSessionRequest& b) { |
573 | a.Swap(&b); |
574 | } |
575 | inline void Swap(ExtendSessionRequest* other) { |
576 | if (other == this) return; |
577 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
578 | InternalSwap(other); |
579 | } else { |
580 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
581 | } |
582 | } |
583 | void UnsafeArenaSwap(ExtendSessionRequest* other) { |
584 | if (other == this) return; |
585 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
586 | InternalSwap(other); |
587 | } |
588 | |
589 | // implements Message ---------------------------------------------- |
590 | |
591 | inline ExtendSessionRequest* New() const final { |
592 | return CreateMaybeMessage<ExtendSessionRequest>(nullptr); |
593 | } |
594 | |
595 | ExtendSessionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
596 | return CreateMaybeMessage<ExtendSessionRequest>(arena); |
597 | } |
598 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
599 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
600 | void CopyFrom(const ExtendSessionRequest& from); |
601 | void MergeFrom(const ExtendSessionRequest& from); |
602 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
603 | bool IsInitialized() const final; |
604 | |
605 | size_t ByteSizeLong() const final; |
606 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
607 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
608 | #else |
609 | bool MergePartialFromCodedStream( |
610 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
611 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
612 | void SerializeWithCachedSizes( |
613 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
614 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
615 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
616 | int GetCachedSize() const final { return _cached_size_.Get(); } |
617 | |
618 | private: |
619 | inline void SharedCtor(); |
620 | inline void SharedDtor(); |
621 | void SetCachedSize(int size) const final; |
622 | void InternalSwap(ExtendSessionRequest* other); |
623 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
624 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
625 | return "tensorflow.ExtendSessionRequest" ; |
626 | } |
627 | protected: |
628 | explicit ExtendSessionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
629 | private: |
630 | static void ArenaDtor(void* object); |
631 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
632 | private: |
633 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
634 | return _internal_metadata_.arena(); |
635 | } |
636 | inline void* MaybeArenaPtr() const { |
637 | return _internal_metadata_.raw_arena_ptr(); |
638 | } |
639 | public: |
640 | |
641 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
642 | private: |
643 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
644 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
645 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
646 | } |
647 | |
648 | public: |
649 | |
650 | // nested types ---------------------------------------------------- |
651 | |
652 | // accessors ------------------------------------------------------- |
653 | |
654 | enum : int { |
655 | kSessionHandleFieldNumber = 1, |
656 | kGraphDefFieldNumber = 2, |
657 | kCurrentGraphVersionFieldNumber = 3, |
658 | }; |
659 | // string session_handle = 1; |
660 | void clear_session_handle(); |
661 | const std::string& session_handle() const; |
662 | void set_session_handle(const std::string& value); |
663 | void set_session_handle(std::string&& value); |
664 | void set_session_handle(const char* value); |
665 | void set_session_handle(const char* value, size_t size); |
666 | std::string* mutable_session_handle(); |
667 | std::string* release_session_handle(); |
668 | void set_allocated_session_handle(std::string* session_handle); |
669 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
670 | " string fields are deprecated and will be removed in a" |
671 | " future release." ) |
672 | std::string* unsafe_arena_release_session_handle(); |
673 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
674 | " string fields are deprecated and will be removed in a" |
675 | " future release." ) |
676 | void unsafe_arena_set_allocated_session_handle( |
677 | std::string* session_handle); |
678 | |
679 | // .tensorflow.GraphDef graph_def = 2; |
680 | bool has_graph_def() const; |
681 | void clear_graph_def(); |
682 | const ::tensorflow::GraphDef& graph_def() const; |
683 | ::tensorflow::GraphDef* release_graph_def(); |
684 | ::tensorflow::GraphDef* mutable_graph_def(); |
685 | void set_allocated_graph_def(::tensorflow::GraphDef* graph_def); |
686 | void unsafe_arena_set_allocated_graph_def( |
687 | ::tensorflow::GraphDef* graph_def); |
688 | ::tensorflow::GraphDef* unsafe_arena_release_graph_def(); |
689 | |
690 | // int64 current_graph_version = 3; |
691 | void clear_current_graph_version(); |
692 | ::PROTOBUF_NAMESPACE_ID::int64 current_graph_version() const; |
693 | void set_current_graph_version(::PROTOBUF_NAMESPACE_ID::int64 value); |
694 | |
695 | // @@protoc_insertion_point(class_scope:tensorflow.ExtendSessionRequest) |
696 | private: |
697 | class _Internal; |
698 | |
699 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
700 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
701 | typedef void InternalArenaConstructable_; |
702 | typedef void DestructorSkippable_; |
703 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_handle_; |
704 | ::tensorflow::GraphDef* graph_def_; |
705 | ::PROTOBUF_NAMESPACE_ID::int64 current_graph_version_; |
706 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
707 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
708 | }; |
709 | // ------------------------------------------------------------------- |
710 | |
711 | class ExtendSessionResponse : |
712 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.ExtendSessionResponse) */ { |
713 | public: |
714 | ExtendSessionResponse(); |
715 | virtual ~ExtendSessionResponse(); |
716 | |
717 | ExtendSessionResponse(const ExtendSessionResponse& from); |
718 | ExtendSessionResponse(ExtendSessionResponse&& from) noexcept |
719 | : ExtendSessionResponse() { |
720 | *this = ::std::move(from); |
721 | } |
722 | |
723 | inline ExtendSessionResponse& operator=(const ExtendSessionResponse& from) { |
724 | CopyFrom(from); |
725 | return *this; |
726 | } |
727 | inline ExtendSessionResponse& operator=(ExtendSessionResponse&& from) noexcept { |
728 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
729 | if (this != &from) InternalSwap(&from); |
730 | } else { |
731 | CopyFrom(from); |
732 | } |
733 | return *this; |
734 | } |
735 | |
736 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
737 | return GetArenaNoVirtual(); |
738 | } |
739 | inline void* GetMaybeArenaPointer() const final { |
740 | return MaybeArenaPtr(); |
741 | } |
742 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
743 | return GetDescriptor(); |
744 | } |
745 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
746 | return GetMetadataStatic().descriptor; |
747 | } |
748 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
749 | return GetMetadataStatic().reflection; |
750 | } |
751 | static const ExtendSessionResponse& default_instance(); |
752 | |
753 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
754 | static inline const ExtendSessionResponse* internal_default_instance() { |
755 | return reinterpret_cast<const ExtendSessionResponse*>( |
756 | &_ExtendSessionResponse_default_instance_); |
757 | } |
758 | static constexpr int kIndexInFileMessages = |
759 | 3; |
760 | |
761 | friend void swap(ExtendSessionResponse& a, ExtendSessionResponse& b) { |
762 | a.Swap(&b); |
763 | } |
764 | inline void Swap(ExtendSessionResponse* other) { |
765 | if (other == this) return; |
766 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
767 | InternalSwap(other); |
768 | } else { |
769 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
770 | } |
771 | } |
772 | void UnsafeArenaSwap(ExtendSessionResponse* other) { |
773 | if (other == this) return; |
774 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
775 | InternalSwap(other); |
776 | } |
777 | |
778 | // implements Message ---------------------------------------------- |
779 | |
780 | inline ExtendSessionResponse* New() const final { |
781 | return CreateMaybeMessage<ExtendSessionResponse>(nullptr); |
782 | } |
783 | |
784 | ExtendSessionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
785 | return CreateMaybeMessage<ExtendSessionResponse>(arena); |
786 | } |
787 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
788 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
789 | void CopyFrom(const ExtendSessionResponse& from); |
790 | void MergeFrom(const ExtendSessionResponse& from); |
791 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
792 | bool IsInitialized() const final; |
793 | |
794 | size_t ByteSizeLong() const final; |
795 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
796 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
797 | #else |
798 | bool MergePartialFromCodedStream( |
799 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
800 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
801 | void SerializeWithCachedSizes( |
802 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
803 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
804 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
805 | int GetCachedSize() const final { return _cached_size_.Get(); } |
806 | |
807 | private: |
808 | inline void SharedCtor(); |
809 | inline void SharedDtor(); |
810 | void SetCachedSize(int size) const final; |
811 | void InternalSwap(ExtendSessionResponse* other); |
812 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
813 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
814 | return "tensorflow.ExtendSessionResponse" ; |
815 | } |
816 | protected: |
817 | explicit ExtendSessionResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
818 | private: |
819 | static void ArenaDtor(void* object); |
820 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
821 | private: |
822 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
823 | return _internal_metadata_.arena(); |
824 | } |
825 | inline void* MaybeArenaPtr() const { |
826 | return _internal_metadata_.raw_arena_ptr(); |
827 | } |
828 | public: |
829 | |
830 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
831 | private: |
832 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
833 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
834 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
835 | } |
836 | |
837 | public: |
838 | |
839 | // nested types ---------------------------------------------------- |
840 | |
841 | // accessors ------------------------------------------------------- |
842 | |
843 | enum : int { |
844 | kNewGraphVersionFieldNumber = 4, |
845 | }; |
846 | // int64 new_graph_version = 4; |
847 | void clear_new_graph_version(); |
848 | ::PROTOBUF_NAMESPACE_ID::int64 new_graph_version() const; |
849 | void set_new_graph_version(::PROTOBUF_NAMESPACE_ID::int64 value); |
850 | |
851 | // @@protoc_insertion_point(class_scope:tensorflow.ExtendSessionResponse) |
852 | private: |
853 | class _Internal; |
854 | |
855 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
856 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
857 | typedef void InternalArenaConstructable_; |
858 | typedef void DestructorSkippable_; |
859 | ::PROTOBUF_NAMESPACE_ID::int64 new_graph_version_; |
860 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
861 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
862 | }; |
863 | // ------------------------------------------------------------------- |
864 | |
865 | class RunStepRequest : |
866 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.RunStepRequest) */ { |
867 | public: |
868 | RunStepRequest(); |
869 | virtual ~RunStepRequest(); |
870 | |
871 | RunStepRequest(const RunStepRequest& from); |
872 | RunStepRequest(RunStepRequest&& from) noexcept |
873 | : RunStepRequest() { |
874 | *this = ::std::move(from); |
875 | } |
876 | |
877 | inline RunStepRequest& operator=(const RunStepRequest& from) { |
878 | CopyFrom(from); |
879 | return *this; |
880 | } |
881 | inline RunStepRequest& operator=(RunStepRequest&& from) noexcept { |
882 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
883 | if (this != &from) InternalSwap(&from); |
884 | } else { |
885 | CopyFrom(from); |
886 | } |
887 | return *this; |
888 | } |
889 | |
890 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
891 | return GetArenaNoVirtual(); |
892 | } |
893 | inline void* GetMaybeArenaPointer() const final { |
894 | return MaybeArenaPtr(); |
895 | } |
896 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
897 | return GetDescriptor(); |
898 | } |
899 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
900 | return GetMetadataStatic().descriptor; |
901 | } |
902 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
903 | return GetMetadataStatic().reflection; |
904 | } |
905 | static const RunStepRequest& default_instance(); |
906 | |
907 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
908 | static inline const RunStepRequest* internal_default_instance() { |
909 | return reinterpret_cast<const RunStepRequest*>( |
910 | &_RunStepRequest_default_instance_); |
911 | } |
912 | static constexpr int kIndexInFileMessages = |
913 | 4; |
914 | |
915 | friend void swap(RunStepRequest& a, RunStepRequest& b) { |
916 | a.Swap(&b); |
917 | } |
918 | inline void Swap(RunStepRequest* other) { |
919 | if (other == this) return; |
920 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
921 | InternalSwap(other); |
922 | } else { |
923 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
924 | } |
925 | } |
926 | void UnsafeArenaSwap(RunStepRequest* other) { |
927 | if (other == this) return; |
928 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
929 | InternalSwap(other); |
930 | } |
931 | |
932 | // implements Message ---------------------------------------------- |
933 | |
934 | inline RunStepRequest* New() const final { |
935 | return CreateMaybeMessage<RunStepRequest>(nullptr); |
936 | } |
937 | |
938 | RunStepRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
939 | return CreateMaybeMessage<RunStepRequest>(arena); |
940 | } |
941 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
942 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
943 | void CopyFrom(const RunStepRequest& from); |
944 | void MergeFrom(const RunStepRequest& from); |
945 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
946 | bool IsInitialized() const final; |
947 | |
948 | size_t ByteSizeLong() const final; |
949 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
950 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
951 | #else |
952 | bool MergePartialFromCodedStream( |
953 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
954 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
955 | void SerializeWithCachedSizes( |
956 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
957 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
958 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
959 | int GetCachedSize() const final { return _cached_size_.Get(); } |
960 | |
961 | private: |
962 | inline void SharedCtor(); |
963 | inline void SharedDtor(); |
964 | void SetCachedSize(int size) const final; |
965 | void InternalSwap(RunStepRequest* other); |
966 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
967 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
968 | return "tensorflow.RunStepRequest" ; |
969 | } |
970 | protected: |
971 | explicit RunStepRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
972 | private: |
973 | static void ArenaDtor(void* object); |
974 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
975 | private: |
976 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
977 | return _internal_metadata_.arena(); |
978 | } |
979 | inline void* MaybeArenaPtr() const { |
980 | return _internal_metadata_.raw_arena_ptr(); |
981 | } |
982 | public: |
983 | |
984 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
985 | private: |
986 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
987 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
988 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
989 | } |
990 | |
991 | public: |
992 | |
993 | // nested types ---------------------------------------------------- |
994 | |
995 | // accessors ------------------------------------------------------- |
996 | |
997 | enum : int { |
998 | kFeedFieldNumber = 2, |
999 | kFetchFieldNumber = 3, |
1000 | kTargetFieldNumber = 4, |
1001 | kSessionHandleFieldNumber = 1, |
1002 | kPartialRunHandleFieldNumber = 6, |
1003 | kOptionsFieldNumber = 5, |
1004 | kRequestIdFieldNumber = 8, |
1005 | kStoreErrorsInResponseBodyFieldNumber = 7, |
1006 | }; |
1007 | // repeated .tensorflow.NamedTensorProto feed = 2; |
1008 | int feed_size() const; |
1009 | void clear_feed(); |
1010 | ::tensorflow::NamedTensorProto* mutable_feed(int index); |
1011 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >* |
1012 | mutable_feed(); |
1013 | const ::tensorflow::NamedTensorProto& feed(int index) const; |
1014 | ::tensorflow::NamedTensorProto* add_feed(); |
1015 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >& |
1016 | feed() const; |
1017 | |
1018 | // repeated string fetch = 3; |
1019 | int fetch_size() const; |
1020 | void clear_fetch(); |
1021 | const std::string& fetch(int index) const; |
1022 | std::string* mutable_fetch(int index); |
1023 | void set_fetch(int index, const std::string& value); |
1024 | void set_fetch(int index, std::string&& value); |
1025 | void set_fetch(int index, const char* value); |
1026 | void set_fetch(int index, const char* value, size_t size); |
1027 | std::string* add_fetch(); |
1028 | void add_fetch(const std::string& value); |
1029 | void add_fetch(std::string&& value); |
1030 | void add_fetch(const char* value); |
1031 | void add_fetch(const char* value, size_t size); |
1032 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& fetch() const; |
1033 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_fetch(); |
1034 | |
1035 | // repeated string target = 4; |
1036 | int target_size() const; |
1037 | void clear_target(); |
1038 | const std::string& target(int index) const; |
1039 | std::string* mutable_target(int index); |
1040 | void set_target(int index, const std::string& value); |
1041 | void set_target(int index, std::string&& value); |
1042 | void set_target(int index, const char* value); |
1043 | void set_target(int index, const char* value, size_t size); |
1044 | std::string* add_target(); |
1045 | void add_target(const std::string& value); |
1046 | void add_target(std::string&& value); |
1047 | void add_target(const char* value); |
1048 | void add_target(const char* value, size_t size); |
1049 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& target() const; |
1050 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_target(); |
1051 | |
1052 | // string session_handle = 1; |
1053 | void clear_session_handle(); |
1054 | const std::string& session_handle() const; |
1055 | void set_session_handle(const std::string& value); |
1056 | void set_session_handle(std::string&& value); |
1057 | void set_session_handle(const char* value); |
1058 | void set_session_handle(const char* value, size_t size); |
1059 | std::string* mutable_session_handle(); |
1060 | std::string* release_session_handle(); |
1061 | void set_allocated_session_handle(std::string* session_handle); |
1062 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1063 | " string fields are deprecated and will be removed in a" |
1064 | " future release." ) |
1065 | std::string* unsafe_arena_release_session_handle(); |
1066 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1067 | " string fields are deprecated and will be removed in a" |
1068 | " future release." ) |
1069 | void unsafe_arena_set_allocated_session_handle( |
1070 | std::string* session_handle); |
1071 | |
1072 | // string partial_run_handle = 6; |
1073 | void clear_partial_run_handle(); |
1074 | const std::string& partial_run_handle() const; |
1075 | void set_partial_run_handle(const std::string& value); |
1076 | void set_partial_run_handle(std::string&& value); |
1077 | void set_partial_run_handle(const char* value); |
1078 | void set_partial_run_handle(const char* value, size_t size); |
1079 | std::string* mutable_partial_run_handle(); |
1080 | std::string* release_partial_run_handle(); |
1081 | void set_allocated_partial_run_handle(std::string* partial_run_handle); |
1082 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1083 | " string fields are deprecated and will be removed in a" |
1084 | " future release." ) |
1085 | std::string* unsafe_arena_release_partial_run_handle(); |
1086 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1087 | " string fields are deprecated and will be removed in a" |
1088 | " future release." ) |
1089 | void unsafe_arena_set_allocated_partial_run_handle( |
1090 | std::string* partial_run_handle); |
1091 | |
1092 | // .tensorflow.RunOptions options = 5; |
1093 | bool has_options() const; |
1094 | void clear_options(); |
1095 | const ::tensorflow::RunOptions& options() const; |
1096 | ::tensorflow::RunOptions* release_options(); |
1097 | ::tensorflow::RunOptions* mutable_options(); |
1098 | void set_allocated_options(::tensorflow::RunOptions* options); |
1099 | void unsafe_arena_set_allocated_options( |
1100 | ::tensorflow::RunOptions* options); |
1101 | ::tensorflow::RunOptions* unsafe_arena_release_options(); |
1102 | |
1103 | // int64 request_id = 8; |
1104 | void clear_request_id(); |
1105 | ::PROTOBUF_NAMESPACE_ID::int64 request_id() const; |
1106 | void set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value); |
1107 | |
1108 | // bool store_errors_in_response_body = 7; |
1109 | void clear_store_errors_in_response_body(); |
1110 | bool store_errors_in_response_body() const; |
1111 | void set_store_errors_in_response_body(bool value); |
1112 | |
1113 | // @@protoc_insertion_point(class_scope:tensorflow.RunStepRequest) |
1114 | private: |
1115 | class _Internal; |
1116 | |
1117 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1118 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1119 | typedef void InternalArenaConstructable_; |
1120 | typedef void DestructorSkippable_; |
1121 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto > feed_; |
1122 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> fetch_; |
1123 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> target_; |
1124 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_handle_; |
1125 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr partial_run_handle_; |
1126 | ::tensorflow::RunOptions* options_; |
1127 | ::PROTOBUF_NAMESPACE_ID::int64 request_id_; |
1128 | bool store_errors_in_response_body_; |
1129 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1130 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
1131 | }; |
1132 | // ------------------------------------------------------------------- |
1133 | |
1134 | class RunStepResponse : |
1135 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.RunStepResponse) */ { |
1136 | public: |
1137 | RunStepResponse(); |
1138 | virtual ~RunStepResponse(); |
1139 | |
1140 | RunStepResponse(const RunStepResponse& from); |
1141 | RunStepResponse(RunStepResponse&& from) noexcept |
1142 | : RunStepResponse() { |
1143 | *this = ::std::move(from); |
1144 | } |
1145 | |
1146 | inline RunStepResponse& operator=(const RunStepResponse& from) { |
1147 | CopyFrom(from); |
1148 | return *this; |
1149 | } |
1150 | inline RunStepResponse& operator=(RunStepResponse&& from) noexcept { |
1151 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1152 | if (this != &from) InternalSwap(&from); |
1153 | } else { |
1154 | CopyFrom(from); |
1155 | } |
1156 | return *this; |
1157 | } |
1158 | |
1159 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
1160 | return GetArenaNoVirtual(); |
1161 | } |
1162 | inline void* GetMaybeArenaPointer() const final { |
1163 | return MaybeArenaPtr(); |
1164 | } |
1165 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1166 | return GetDescriptor(); |
1167 | } |
1168 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1169 | return GetMetadataStatic().descriptor; |
1170 | } |
1171 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1172 | return GetMetadataStatic().reflection; |
1173 | } |
1174 | static const RunStepResponse& default_instance(); |
1175 | |
1176 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1177 | static inline const RunStepResponse* internal_default_instance() { |
1178 | return reinterpret_cast<const RunStepResponse*>( |
1179 | &_RunStepResponse_default_instance_); |
1180 | } |
1181 | static constexpr int kIndexInFileMessages = |
1182 | 5; |
1183 | |
1184 | friend void swap(RunStepResponse& a, RunStepResponse& b) { |
1185 | a.Swap(&b); |
1186 | } |
1187 | inline void Swap(RunStepResponse* other) { |
1188 | if (other == this) return; |
1189 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
1190 | InternalSwap(other); |
1191 | } else { |
1192 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1193 | } |
1194 | } |
1195 | void UnsafeArenaSwap(RunStepResponse* other) { |
1196 | if (other == this) return; |
1197 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
1198 | InternalSwap(other); |
1199 | } |
1200 | |
1201 | // implements Message ---------------------------------------------- |
1202 | |
1203 | inline RunStepResponse* New() const final { |
1204 | return CreateMaybeMessage<RunStepResponse>(nullptr); |
1205 | } |
1206 | |
1207 | RunStepResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
1208 | return CreateMaybeMessage<RunStepResponse>(arena); |
1209 | } |
1210 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1211 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1212 | void CopyFrom(const RunStepResponse& from); |
1213 | void MergeFrom(const RunStepResponse& from); |
1214 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1215 | bool IsInitialized() const final; |
1216 | |
1217 | size_t ByteSizeLong() const final; |
1218 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1219 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1220 | #else |
1221 | bool MergePartialFromCodedStream( |
1222 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
1223 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1224 | void SerializeWithCachedSizes( |
1225 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
1226 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
1227 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
1228 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1229 | |
1230 | private: |
1231 | inline void SharedCtor(); |
1232 | inline void SharedDtor(); |
1233 | void SetCachedSize(int size) const final; |
1234 | void InternalSwap(RunStepResponse* other); |
1235 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1236 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1237 | return "tensorflow.RunStepResponse" ; |
1238 | } |
1239 | protected: |
1240 | explicit RunStepResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1241 | private: |
1242 | static void ArenaDtor(void* object); |
1243 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1244 | private: |
1245 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
1246 | return _internal_metadata_.arena(); |
1247 | } |
1248 | inline void* MaybeArenaPtr() const { |
1249 | return _internal_metadata_.raw_arena_ptr(); |
1250 | } |
1251 | public: |
1252 | |
1253 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1254 | private: |
1255 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1256 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
1257 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
1258 | } |
1259 | |
1260 | public: |
1261 | |
1262 | // nested types ---------------------------------------------------- |
1263 | |
1264 | // accessors ------------------------------------------------------- |
1265 | |
1266 | enum : int { |
1267 | kTensorFieldNumber = 1, |
1268 | kStatusErrorMessageFieldNumber = 4, |
1269 | kMetadataFieldNumber = 2, |
1270 | kStatusCodeFieldNumber = 3, |
1271 | }; |
1272 | // repeated .tensorflow.NamedTensorProto tensor = 1; |
1273 | int tensor_size() const; |
1274 | void clear_tensor(); |
1275 | ::tensorflow::NamedTensorProto* mutable_tensor(int index); |
1276 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >* |
1277 | mutable_tensor(); |
1278 | const ::tensorflow::NamedTensorProto& tensor(int index) const; |
1279 | ::tensorflow::NamedTensorProto* add_tensor(); |
1280 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >& |
1281 | tensor() const; |
1282 | |
1283 | // string status_error_message = 4; |
1284 | void clear_status_error_message(); |
1285 | const std::string& status_error_message() const; |
1286 | void set_status_error_message(const std::string& value); |
1287 | void set_status_error_message(std::string&& value); |
1288 | void set_status_error_message(const char* value); |
1289 | void set_status_error_message(const char* value, size_t size); |
1290 | std::string* mutable_status_error_message(); |
1291 | std::string* release_status_error_message(); |
1292 | void set_allocated_status_error_message(std::string* status_error_message); |
1293 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1294 | " string fields are deprecated and will be removed in a" |
1295 | " future release." ) |
1296 | std::string* unsafe_arena_release_status_error_message(); |
1297 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1298 | " string fields are deprecated and will be removed in a" |
1299 | " future release." ) |
1300 | void unsafe_arena_set_allocated_status_error_message( |
1301 | std::string* status_error_message); |
1302 | |
1303 | // .tensorflow.RunMetadata metadata = 2; |
1304 | bool has_metadata() const; |
1305 | void clear_metadata(); |
1306 | const ::tensorflow::RunMetadata& metadata() const; |
1307 | ::tensorflow::RunMetadata* release_metadata(); |
1308 | ::tensorflow::RunMetadata* mutable_metadata(); |
1309 | void set_allocated_metadata(::tensorflow::RunMetadata* metadata); |
1310 | void unsafe_arena_set_allocated_metadata( |
1311 | ::tensorflow::RunMetadata* metadata); |
1312 | ::tensorflow::RunMetadata* unsafe_arena_release_metadata(); |
1313 | |
1314 | // .tensorflow.error.Code status_code = 3; |
1315 | void clear_status_code(); |
1316 | ::tensorflow::error::Code status_code() const; |
1317 | void set_status_code(::tensorflow::error::Code value); |
1318 | |
1319 | // @@protoc_insertion_point(class_scope:tensorflow.RunStepResponse) |
1320 | private: |
1321 | class _Internal; |
1322 | |
1323 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1324 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1325 | typedef void InternalArenaConstructable_; |
1326 | typedef void DestructorSkippable_; |
1327 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto > tensor_; |
1328 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_error_message_; |
1329 | ::tensorflow::RunMetadata* metadata_; |
1330 | int status_code_; |
1331 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1332 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
1333 | }; |
1334 | // ------------------------------------------------------------------- |
1335 | |
1336 | class PartialRunSetupRequest : |
1337 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.PartialRunSetupRequest) */ { |
1338 | public: |
1339 | PartialRunSetupRequest(); |
1340 | virtual ~PartialRunSetupRequest(); |
1341 | |
1342 | PartialRunSetupRequest(const PartialRunSetupRequest& from); |
1343 | PartialRunSetupRequest(PartialRunSetupRequest&& from) noexcept |
1344 | : PartialRunSetupRequest() { |
1345 | *this = ::std::move(from); |
1346 | } |
1347 | |
1348 | inline PartialRunSetupRequest& operator=(const PartialRunSetupRequest& from) { |
1349 | CopyFrom(from); |
1350 | return *this; |
1351 | } |
1352 | inline PartialRunSetupRequest& operator=(PartialRunSetupRequest&& from) noexcept { |
1353 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1354 | if (this != &from) InternalSwap(&from); |
1355 | } else { |
1356 | CopyFrom(from); |
1357 | } |
1358 | return *this; |
1359 | } |
1360 | |
1361 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
1362 | return GetArenaNoVirtual(); |
1363 | } |
1364 | inline void* GetMaybeArenaPointer() const final { |
1365 | return MaybeArenaPtr(); |
1366 | } |
1367 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1368 | return GetDescriptor(); |
1369 | } |
1370 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1371 | return GetMetadataStatic().descriptor; |
1372 | } |
1373 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1374 | return GetMetadataStatic().reflection; |
1375 | } |
1376 | static const PartialRunSetupRequest& default_instance(); |
1377 | |
1378 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1379 | static inline const PartialRunSetupRequest* internal_default_instance() { |
1380 | return reinterpret_cast<const PartialRunSetupRequest*>( |
1381 | &_PartialRunSetupRequest_default_instance_); |
1382 | } |
1383 | static constexpr int kIndexInFileMessages = |
1384 | 6; |
1385 | |
1386 | friend void swap(PartialRunSetupRequest& a, PartialRunSetupRequest& b) { |
1387 | a.Swap(&b); |
1388 | } |
1389 | inline void Swap(PartialRunSetupRequest* other) { |
1390 | if (other == this) return; |
1391 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
1392 | InternalSwap(other); |
1393 | } else { |
1394 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1395 | } |
1396 | } |
1397 | void UnsafeArenaSwap(PartialRunSetupRequest* other) { |
1398 | if (other == this) return; |
1399 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
1400 | InternalSwap(other); |
1401 | } |
1402 | |
1403 | // implements Message ---------------------------------------------- |
1404 | |
1405 | inline PartialRunSetupRequest* New() const final { |
1406 | return CreateMaybeMessage<PartialRunSetupRequest>(nullptr); |
1407 | } |
1408 | |
1409 | PartialRunSetupRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
1410 | return CreateMaybeMessage<PartialRunSetupRequest>(arena); |
1411 | } |
1412 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1413 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1414 | void CopyFrom(const PartialRunSetupRequest& from); |
1415 | void MergeFrom(const PartialRunSetupRequest& from); |
1416 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1417 | bool IsInitialized() const final; |
1418 | |
1419 | size_t ByteSizeLong() const final; |
1420 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1421 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1422 | #else |
1423 | bool MergePartialFromCodedStream( |
1424 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
1425 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1426 | void SerializeWithCachedSizes( |
1427 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
1428 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
1429 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
1430 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1431 | |
1432 | private: |
1433 | inline void SharedCtor(); |
1434 | inline void SharedDtor(); |
1435 | void SetCachedSize(int size) const final; |
1436 | void InternalSwap(PartialRunSetupRequest* other); |
1437 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1438 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1439 | return "tensorflow.PartialRunSetupRequest" ; |
1440 | } |
1441 | protected: |
1442 | explicit PartialRunSetupRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1443 | private: |
1444 | static void ArenaDtor(void* object); |
1445 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1446 | private: |
1447 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
1448 | return _internal_metadata_.arena(); |
1449 | } |
1450 | inline void* MaybeArenaPtr() const { |
1451 | return _internal_metadata_.raw_arena_ptr(); |
1452 | } |
1453 | public: |
1454 | |
1455 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1456 | private: |
1457 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1458 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
1459 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
1460 | } |
1461 | |
1462 | public: |
1463 | |
1464 | // nested types ---------------------------------------------------- |
1465 | |
1466 | // accessors ------------------------------------------------------- |
1467 | |
1468 | enum : int { |
1469 | kFeedFieldNumber = 2, |
1470 | kFetchFieldNumber = 3, |
1471 | kTargetFieldNumber = 4, |
1472 | kSessionHandleFieldNumber = 1, |
1473 | kRequestIdFieldNumber = 5, |
1474 | }; |
1475 | // repeated string feed = 2; |
1476 | int feed_size() const; |
1477 | void clear_feed(); |
1478 | const std::string& feed(int index) const; |
1479 | std::string* mutable_feed(int index); |
1480 | void set_feed(int index, const std::string& value); |
1481 | void set_feed(int index, std::string&& value); |
1482 | void set_feed(int index, const char* value); |
1483 | void set_feed(int index, const char* value, size_t size); |
1484 | std::string* add_feed(); |
1485 | void add_feed(const std::string& value); |
1486 | void add_feed(std::string&& value); |
1487 | void add_feed(const char* value); |
1488 | void add_feed(const char* value, size_t size); |
1489 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& feed() const; |
1490 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_feed(); |
1491 | |
1492 | // repeated string fetch = 3; |
1493 | int fetch_size() const; |
1494 | void clear_fetch(); |
1495 | const std::string& fetch(int index) const; |
1496 | std::string* mutable_fetch(int index); |
1497 | void set_fetch(int index, const std::string& value); |
1498 | void set_fetch(int index, std::string&& value); |
1499 | void set_fetch(int index, const char* value); |
1500 | void set_fetch(int index, const char* value, size_t size); |
1501 | std::string* add_fetch(); |
1502 | void add_fetch(const std::string& value); |
1503 | void add_fetch(std::string&& value); |
1504 | void add_fetch(const char* value); |
1505 | void add_fetch(const char* value, size_t size); |
1506 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& fetch() const; |
1507 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_fetch(); |
1508 | |
1509 | // repeated string target = 4; |
1510 | int target_size() const; |
1511 | void clear_target(); |
1512 | const std::string& target(int index) const; |
1513 | std::string* mutable_target(int index); |
1514 | void set_target(int index, const std::string& value); |
1515 | void set_target(int index, std::string&& value); |
1516 | void set_target(int index, const char* value); |
1517 | void set_target(int index, const char* value, size_t size); |
1518 | std::string* add_target(); |
1519 | void add_target(const std::string& value); |
1520 | void add_target(std::string&& value); |
1521 | void add_target(const char* value); |
1522 | void add_target(const char* value, size_t size); |
1523 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& target() const; |
1524 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_target(); |
1525 | |
1526 | // string session_handle = 1; |
1527 | void clear_session_handle(); |
1528 | const std::string& session_handle() const; |
1529 | void set_session_handle(const std::string& value); |
1530 | void set_session_handle(std::string&& value); |
1531 | void set_session_handle(const char* value); |
1532 | void set_session_handle(const char* value, size_t size); |
1533 | std::string* mutable_session_handle(); |
1534 | std::string* release_session_handle(); |
1535 | void set_allocated_session_handle(std::string* session_handle); |
1536 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1537 | " string fields are deprecated and will be removed in a" |
1538 | " future release." ) |
1539 | std::string* unsafe_arena_release_session_handle(); |
1540 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1541 | " string fields are deprecated and will be removed in a" |
1542 | " future release." ) |
1543 | void unsafe_arena_set_allocated_session_handle( |
1544 | std::string* session_handle); |
1545 | |
1546 | // int64 request_id = 5; |
1547 | void clear_request_id(); |
1548 | ::PROTOBUF_NAMESPACE_ID::int64 request_id() const; |
1549 | void set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value); |
1550 | |
1551 | // @@protoc_insertion_point(class_scope:tensorflow.PartialRunSetupRequest) |
1552 | private: |
1553 | class _Internal; |
1554 | |
1555 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1556 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1557 | typedef void InternalArenaConstructable_; |
1558 | typedef void DestructorSkippable_; |
1559 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> feed_; |
1560 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> fetch_; |
1561 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> target_; |
1562 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_handle_; |
1563 | ::PROTOBUF_NAMESPACE_ID::int64 request_id_; |
1564 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1565 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
1566 | }; |
1567 | // ------------------------------------------------------------------- |
1568 | |
1569 | class PartialRunSetupResponse : |
1570 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.PartialRunSetupResponse) */ { |
1571 | public: |
1572 | PartialRunSetupResponse(); |
1573 | virtual ~PartialRunSetupResponse(); |
1574 | |
1575 | PartialRunSetupResponse(const PartialRunSetupResponse& from); |
1576 | PartialRunSetupResponse(PartialRunSetupResponse&& from) noexcept |
1577 | : PartialRunSetupResponse() { |
1578 | *this = ::std::move(from); |
1579 | } |
1580 | |
1581 | inline PartialRunSetupResponse& operator=(const PartialRunSetupResponse& from) { |
1582 | CopyFrom(from); |
1583 | return *this; |
1584 | } |
1585 | inline PartialRunSetupResponse& operator=(PartialRunSetupResponse&& from) noexcept { |
1586 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1587 | if (this != &from) InternalSwap(&from); |
1588 | } else { |
1589 | CopyFrom(from); |
1590 | } |
1591 | return *this; |
1592 | } |
1593 | |
1594 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
1595 | return GetArenaNoVirtual(); |
1596 | } |
1597 | inline void* GetMaybeArenaPointer() const final { |
1598 | return MaybeArenaPtr(); |
1599 | } |
1600 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1601 | return GetDescriptor(); |
1602 | } |
1603 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1604 | return GetMetadataStatic().descriptor; |
1605 | } |
1606 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1607 | return GetMetadataStatic().reflection; |
1608 | } |
1609 | static const PartialRunSetupResponse& default_instance(); |
1610 | |
1611 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1612 | static inline const PartialRunSetupResponse* internal_default_instance() { |
1613 | return reinterpret_cast<const PartialRunSetupResponse*>( |
1614 | &_PartialRunSetupResponse_default_instance_); |
1615 | } |
1616 | static constexpr int kIndexInFileMessages = |
1617 | 7; |
1618 | |
1619 | friend void swap(PartialRunSetupResponse& a, PartialRunSetupResponse& b) { |
1620 | a.Swap(&b); |
1621 | } |
1622 | inline void Swap(PartialRunSetupResponse* other) { |
1623 | if (other == this) return; |
1624 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
1625 | InternalSwap(other); |
1626 | } else { |
1627 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1628 | } |
1629 | } |
1630 | void UnsafeArenaSwap(PartialRunSetupResponse* other) { |
1631 | if (other == this) return; |
1632 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
1633 | InternalSwap(other); |
1634 | } |
1635 | |
1636 | // implements Message ---------------------------------------------- |
1637 | |
1638 | inline PartialRunSetupResponse* New() const final { |
1639 | return CreateMaybeMessage<PartialRunSetupResponse>(nullptr); |
1640 | } |
1641 | |
1642 | PartialRunSetupResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
1643 | return CreateMaybeMessage<PartialRunSetupResponse>(arena); |
1644 | } |
1645 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1646 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1647 | void CopyFrom(const PartialRunSetupResponse& from); |
1648 | void MergeFrom(const PartialRunSetupResponse& from); |
1649 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1650 | bool IsInitialized() const final; |
1651 | |
1652 | size_t ByteSizeLong() const final; |
1653 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1654 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1655 | #else |
1656 | bool MergePartialFromCodedStream( |
1657 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
1658 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1659 | void SerializeWithCachedSizes( |
1660 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
1661 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
1662 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
1663 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1664 | |
1665 | private: |
1666 | inline void SharedCtor(); |
1667 | inline void SharedDtor(); |
1668 | void SetCachedSize(int size) const final; |
1669 | void InternalSwap(PartialRunSetupResponse* other); |
1670 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1671 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1672 | return "tensorflow.PartialRunSetupResponse" ; |
1673 | } |
1674 | protected: |
1675 | explicit PartialRunSetupResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1676 | private: |
1677 | static void ArenaDtor(void* object); |
1678 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1679 | private: |
1680 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
1681 | return _internal_metadata_.arena(); |
1682 | } |
1683 | inline void* MaybeArenaPtr() const { |
1684 | return _internal_metadata_.raw_arena_ptr(); |
1685 | } |
1686 | public: |
1687 | |
1688 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1689 | private: |
1690 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1691 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
1692 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
1693 | } |
1694 | |
1695 | public: |
1696 | |
1697 | // nested types ---------------------------------------------------- |
1698 | |
1699 | // accessors ------------------------------------------------------- |
1700 | |
1701 | enum : int { |
1702 | kPartialRunHandleFieldNumber = 1, |
1703 | }; |
1704 | // string partial_run_handle = 1; |
1705 | void clear_partial_run_handle(); |
1706 | const std::string& partial_run_handle() const; |
1707 | void set_partial_run_handle(const std::string& value); |
1708 | void set_partial_run_handle(std::string&& value); |
1709 | void set_partial_run_handle(const char* value); |
1710 | void set_partial_run_handle(const char* value, size_t size); |
1711 | std::string* mutable_partial_run_handle(); |
1712 | std::string* release_partial_run_handle(); |
1713 | void set_allocated_partial_run_handle(std::string* partial_run_handle); |
1714 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1715 | " string fields are deprecated and will be removed in a" |
1716 | " future release." ) |
1717 | std::string* unsafe_arena_release_partial_run_handle(); |
1718 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1719 | " string fields are deprecated and will be removed in a" |
1720 | " future release." ) |
1721 | void unsafe_arena_set_allocated_partial_run_handle( |
1722 | std::string* partial_run_handle); |
1723 | |
1724 | // @@protoc_insertion_point(class_scope:tensorflow.PartialRunSetupResponse) |
1725 | private: |
1726 | class _Internal; |
1727 | |
1728 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1729 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1730 | typedef void InternalArenaConstructable_; |
1731 | typedef void DestructorSkippable_; |
1732 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr partial_run_handle_; |
1733 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1734 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
1735 | }; |
1736 | // ------------------------------------------------------------------- |
1737 | |
1738 | class CloseSessionRequest : |
1739 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CloseSessionRequest) */ { |
1740 | public: |
1741 | CloseSessionRequest(); |
1742 | virtual ~CloseSessionRequest(); |
1743 | |
1744 | CloseSessionRequest(const CloseSessionRequest& from); |
1745 | CloseSessionRequest(CloseSessionRequest&& from) noexcept |
1746 | : CloseSessionRequest() { |
1747 | *this = ::std::move(from); |
1748 | } |
1749 | |
1750 | inline CloseSessionRequest& operator=(const CloseSessionRequest& from) { |
1751 | CopyFrom(from); |
1752 | return *this; |
1753 | } |
1754 | inline CloseSessionRequest& operator=(CloseSessionRequest&& from) noexcept { |
1755 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1756 | if (this != &from) InternalSwap(&from); |
1757 | } else { |
1758 | CopyFrom(from); |
1759 | } |
1760 | return *this; |
1761 | } |
1762 | |
1763 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
1764 | return GetArenaNoVirtual(); |
1765 | } |
1766 | inline void* GetMaybeArenaPointer() const final { |
1767 | return MaybeArenaPtr(); |
1768 | } |
1769 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1770 | return GetDescriptor(); |
1771 | } |
1772 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1773 | return GetMetadataStatic().descriptor; |
1774 | } |
1775 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1776 | return GetMetadataStatic().reflection; |
1777 | } |
1778 | static const CloseSessionRequest& default_instance(); |
1779 | |
1780 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1781 | static inline const CloseSessionRequest* internal_default_instance() { |
1782 | return reinterpret_cast<const CloseSessionRequest*>( |
1783 | &_CloseSessionRequest_default_instance_); |
1784 | } |
1785 | static constexpr int kIndexInFileMessages = |
1786 | 8; |
1787 | |
1788 | friend void swap(CloseSessionRequest& a, CloseSessionRequest& b) { |
1789 | a.Swap(&b); |
1790 | } |
1791 | inline void Swap(CloseSessionRequest* other) { |
1792 | if (other == this) return; |
1793 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
1794 | InternalSwap(other); |
1795 | } else { |
1796 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1797 | } |
1798 | } |
1799 | void UnsafeArenaSwap(CloseSessionRequest* other) { |
1800 | if (other == this) return; |
1801 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
1802 | InternalSwap(other); |
1803 | } |
1804 | |
1805 | // implements Message ---------------------------------------------- |
1806 | |
1807 | inline CloseSessionRequest* New() const final { |
1808 | return CreateMaybeMessage<CloseSessionRequest>(nullptr); |
1809 | } |
1810 | |
1811 | CloseSessionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
1812 | return CreateMaybeMessage<CloseSessionRequest>(arena); |
1813 | } |
1814 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1815 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1816 | void CopyFrom(const CloseSessionRequest& from); |
1817 | void MergeFrom(const CloseSessionRequest& from); |
1818 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1819 | bool IsInitialized() const final; |
1820 | |
1821 | size_t ByteSizeLong() const final; |
1822 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1823 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1824 | #else |
1825 | bool MergePartialFromCodedStream( |
1826 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
1827 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1828 | void SerializeWithCachedSizes( |
1829 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
1830 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
1831 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
1832 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1833 | |
1834 | private: |
1835 | inline void SharedCtor(); |
1836 | inline void SharedDtor(); |
1837 | void SetCachedSize(int size) const final; |
1838 | void InternalSwap(CloseSessionRequest* other); |
1839 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1840 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1841 | return "tensorflow.CloseSessionRequest" ; |
1842 | } |
1843 | protected: |
1844 | explicit CloseSessionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1845 | private: |
1846 | static void ArenaDtor(void* object); |
1847 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1848 | private: |
1849 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
1850 | return _internal_metadata_.arena(); |
1851 | } |
1852 | inline void* MaybeArenaPtr() const { |
1853 | return _internal_metadata_.raw_arena_ptr(); |
1854 | } |
1855 | public: |
1856 | |
1857 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1858 | private: |
1859 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1860 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
1861 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
1862 | } |
1863 | |
1864 | public: |
1865 | |
1866 | // nested types ---------------------------------------------------- |
1867 | |
1868 | // accessors ------------------------------------------------------- |
1869 | |
1870 | enum : int { |
1871 | kSessionHandleFieldNumber = 1, |
1872 | }; |
1873 | // string session_handle = 1; |
1874 | void clear_session_handle(); |
1875 | const std::string& session_handle() const; |
1876 | void set_session_handle(const std::string& value); |
1877 | void set_session_handle(std::string&& value); |
1878 | void set_session_handle(const char* value); |
1879 | void set_session_handle(const char* value, size_t size); |
1880 | std::string* mutable_session_handle(); |
1881 | std::string* release_session_handle(); |
1882 | void set_allocated_session_handle(std::string* session_handle); |
1883 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1884 | " string fields are deprecated and will be removed in a" |
1885 | " future release." ) |
1886 | std::string* unsafe_arena_release_session_handle(); |
1887 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1888 | " string fields are deprecated and will be removed in a" |
1889 | " future release." ) |
1890 | void unsafe_arena_set_allocated_session_handle( |
1891 | std::string* session_handle); |
1892 | |
1893 | // @@protoc_insertion_point(class_scope:tensorflow.CloseSessionRequest) |
1894 | private: |
1895 | class _Internal; |
1896 | |
1897 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1898 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1899 | typedef void InternalArenaConstructable_; |
1900 | typedef void DestructorSkippable_; |
1901 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_handle_; |
1902 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1903 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
1904 | }; |
1905 | // ------------------------------------------------------------------- |
1906 | |
1907 | class CloseSessionResponse : |
1908 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CloseSessionResponse) */ { |
1909 | public: |
1910 | CloseSessionResponse(); |
1911 | virtual ~CloseSessionResponse(); |
1912 | |
1913 | CloseSessionResponse(const CloseSessionResponse& from); |
1914 | CloseSessionResponse(CloseSessionResponse&& from) noexcept |
1915 | : CloseSessionResponse() { |
1916 | *this = ::std::move(from); |
1917 | } |
1918 | |
1919 | inline CloseSessionResponse& operator=(const CloseSessionResponse& from) { |
1920 | CopyFrom(from); |
1921 | return *this; |
1922 | } |
1923 | inline CloseSessionResponse& operator=(CloseSessionResponse&& from) noexcept { |
1924 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1925 | if (this != &from) InternalSwap(&from); |
1926 | } else { |
1927 | CopyFrom(from); |
1928 | } |
1929 | return *this; |
1930 | } |
1931 | |
1932 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
1933 | return GetArenaNoVirtual(); |
1934 | } |
1935 | inline void* GetMaybeArenaPointer() const final { |
1936 | return MaybeArenaPtr(); |
1937 | } |
1938 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1939 | return GetDescriptor(); |
1940 | } |
1941 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1942 | return GetMetadataStatic().descriptor; |
1943 | } |
1944 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1945 | return GetMetadataStatic().reflection; |
1946 | } |
1947 | static const CloseSessionResponse& default_instance(); |
1948 | |
1949 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1950 | static inline const CloseSessionResponse* internal_default_instance() { |
1951 | return reinterpret_cast<const CloseSessionResponse*>( |
1952 | &_CloseSessionResponse_default_instance_); |
1953 | } |
1954 | static constexpr int kIndexInFileMessages = |
1955 | 9; |
1956 | |
1957 | friend void swap(CloseSessionResponse& a, CloseSessionResponse& b) { |
1958 | a.Swap(&b); |
1959 | } |
1960 | inline void Swap(CloseSessionResponse* other) { |
1961 | if (other == this) return; |
1962 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
1963 | InternalSwap(other); |
1964 | } else { |
1965 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1966 | } |
1967 | } |
1968 | void UnsafeArenaSwap(CloseSessionResponse* other) { |
1969 | if (other == this) return; |
1970 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
1971 | InternalSwap(other); |
1972 | } |
1973 | |
1974 | // implements Message ---------------------------------------------- |
1975 | |
1976 | inline CloseSessionResponse* New() const final { |
1977 | return CreateMaybeMessage<CloseSessionResponse>(nullptr); |
1978 | } |
1979 | |
1980 | CloseSessionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
1981 | return CreateMaybeMessage<CloseSessionResponse>(arena); |
1982 | } |
1983 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1984 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1985 | void CopyFrom(const CloseSessionResponse& from); |
1986 | void MergeFrom(const CloseSessionResponse& from); |
1987 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1988 | bool IsInitialized() const final; |
1989 | |
1990 | size_t ByteSizeLong() const final; |
1991 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1992 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1993 | #else |
1994 | bool MergePartialFromCodedStream( |
1995 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
1996 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1997 | void SerializeWithCachedSizes( |
1998 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
1999 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
2000 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
2001 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2002 | |
2003 | private: |
2004 | inline void SharedCtor(); |
2005 | inline void SharedDtor(); |
2006 | void SetCachedSize(int size) const final; |
2007 | void InternalSwap(CloseSessionResponse* other); |
2008 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2009 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2010 | return "tensorflow.CloseSessionResponse" ; |
2011 | } |
2012 | protected: |
2013 | explicit CloseSessionResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2014 | private: |
2015 | static void ArenaDtor(void* object); |
2016 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2017 | private: |
2018 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
2019 | return _internal_metadata_.arena(); |
2020 | } |
2021 | inline void* MaybeArenaPtr() const { |
2022 | return _internal_metadata_.raw_arena_ptr(); |
2023 | } |
2024 | public: |
2025 | |
2026 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2027 | private: |
2028 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
2029 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
2030 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
2031 | } |
2032 | |
2033 | public: |
2034 | |
2035 | // nested types ---------------------------------------------------- |
2036 | |
2037 | // accessors ------------------------------------------------------- |
2038 | |
2039 | // @@protoc_insertion_point(class_scope:tensorflow.CloseSessionResponse) |
2040 | private: |
2041 | class _Internal; |
2042 | |
2043 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
2044 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2045 | typedef void InternalArenaConstructable_; |
2046 | typedef void DestructorSkippable_; |
2047 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2048 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
2049 | }; |
2050 | // ------------------------------------------------------------------- |
2051 | |
2052 | class ResetRequest : |
2053 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.ResetRequest) */ { |
2054 | public: |
2055 | ResetRequest(); |
2056 | virtual ~ResetRequest(); |
2057 | |
2058 | ResetRequest(const ResetRequest& from); |
2059 | ResetRequest(ResetRequest&& from) noexcept |
2060 | : ResetRequest() { |
2061 | *this = ::std::move(from); |
2062 | } |
2063 | |
2064 | inline ResetRequest& operator=(const ResetRequest& from) { |
2065 | CopyFrom(from); |
2066 | return *this; |
2067 | } |
2068 | inline ResetRequest& operator=(ResetRequest&& from) noexcept { |
2069 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2070 | if (this != &from) InternalSwap(&from); |
2071 | } else { |
2072 | CopyFrom(from); |
2073 | } |
2074 | return *this; |
2075 | } |
2076 | |
2077 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
2078 | return GetArenaNoVirtual(); |
2079 | } |
2080 | inline void* GetMaybeArenaPointer() const final { |
2081 | return MaybeArenaPtr(); |
2082 | } |
2083 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2084 | return GetDescriptor(); |
2085 | } |
2086 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2087 | return GetMetadataStatic().descriptor; |
2088 | } |
2089 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2090 | return GetMetadataStatic().reflection; |
2091 | } |
2092 | static const ResetRequest& default_instance(); |
2093 | |
2094 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2095 | static inline const ResetRequest* internal_default_instance() { |
2096 | return reinterpret_cast<const ResetRequest*>( |
2097 | &_ResetRequest_default_instance_); |
2098 | } |
2099 | static constexpr int kIndexInFileMessages = |
2100 | 10; |
2101 | |
2102 | friend void swap(ResetRequest& a, ResetRequest& b) { |
2103 | a.Swap(&b); |
2104 | } |
2105 | inline void Swap(ResetRequest* other) { |
2106 | if (other == this) return; |
2107 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
2108 | InternalSwap(other); |
2109 | } else { |
2110 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2111 | } |
2112 | } |
2113 | void UnsafeArenaSwap(ResetRequest* other) { |
2114 | if (other == this) return; |
2115 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
2116 | InternalSwap(other); |
2117 | } |
2118 | |
2119 | // implements Message ---------------------------------------------- |
2120 | |
2121 | inline ResetRequest* New() const final { |
2122 | return CreateMaybeMessage<ResetRequest>(nullptr); |
2123 | } |
2124 | |
2125 | ResetRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
2126 | return CreateMaybeMessage<ResetRequest>(arena); |
2127 | } |
2128 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2129 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2130 | void CopyFrom(const ResetRequest& from); |
2131 | void MergeFrom(const ResetRequest& from); |
2132 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2133 | bool IsInitialized() const final; |
2134 | |
2135 | size_t ByteSizeLong() const final; |
2136 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
2137 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2138 | #else |
2139 | bool MergePartialFromCodedStream( |
2140 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
2141 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
2142 | void SerializeWithCachedSizes( |
2143 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
2144 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
2145 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
2146 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2147 | |
2148 | private: |
2149 | inline void SharedCtor(); |
2150 | inline void SharedDtor(); |
2151 | void SetCachedSize(int size) const final; |
2152 | void InternalSwap(ResetRequest* other); |
2153 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2154 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2155 | return "tensorflow.ResetRequest" ; |
2156 | } |
2157 | protected: |
2158 | explicit ResetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2159 | private: |
2160 | static void ArenaDtor(void* object); |
2161 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2162 | private: |
2163 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
2164 | return _internal_metadata_.arena(); |
2165 | } |
2166 | inline void* MaybeArenaPtr() const { |
2167 | return _internal_metadata_.raw_arena_ptr(); |
2168 | } |
2169 | public: |
2170 | |
2171 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2172 | private: |
2173 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
2174 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
2175 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
2176 | } |
2177 | |
2178 | public: |
2179 | |
2180 | // nested types ---------------------------------------------------- |
2181 | |
2182 | // accessors ------------------------------------------------------- |
2183 | |
2184 | enum : int { |
2185 | kContainerFieldNumber = 1, |
2186 | kDeviceFiltersFieldNumber = 2, |
2187 | }; |
2188 | // repeated string container = 1; |
2189 | int container_size() const; |
2190 | void clear_container(); |
2191 | const std::string& container(int index) const; |
2192 | std::string* mutable_container(int index); |
2193 | void set_container(int index, const std::string& value); |
2194 | void set_container(int index, std::string&& value); |
2195 | void set_container(int index, const char* value); |
2196 | void set_container(int index, const char* value, size_t size); |
2197 | std::string* add_container(); |
2198 | void add_container(const std::string& value); |
2199 | void add_container(std::string&& value); |
2200 | void add_container(const char* value); |
2201 | void add_container(const char* value, size_t size); |
2202 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& container() const; |
2203 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_container(); |
2204 | |
2205 | // repeated string device_filters = 2; |
2206 | int device_filters_size() const; |
2207 | void clear_device_filters(); |
2208 | const std::string& device_filters(int index) const; |
2209 | std::string* mutable_device_filters(int index); |
2210 | void set_device_filters(int index, const std::string& value); |
2211 | void set_device_filters(int index, std::string&& value); |
2212 | void set_device_filters(int index, const char* value); |
2213 | void set_device_filters(int index, const char* value, size_t size); |
2214 | std::string* add_device_filters(); |
2215 | void add_device_filters(const std::string& value); |
2216 | void add_device_filters(std::string&& value); |
2217 | void add_device_filters(const char* value); |
2218 | void add_device_filters(const char* value, size_t size); |
2219 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& device_filters() const; |
2220 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_device_filters(); |
2221 | |
2222 | // @@protoc_insertion_point(class_scope:tensorflow.ResetRequest) |
2223 | private: |
2224 | class _Internal; |
2225 | |
2226 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
2227 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2228 | typedef void InternalArenaConstructable_; |
2229 | typedef void DestructorSkippable_; |
2230 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> container_; |
2231 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> device_filters_; |
2232 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2233 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
2234 | }; |
2235 | // ------------------------------------------------------------------- |
2236 | |
2237 | class ResetResponse : |
2238 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.ResetResponse) */ { |
2239 | public: |
2240 | ResetResponse(); |
2241 | virtual ~ResetResponse(); |
2242 | |
2243 | ResetResponse(const ResetResponse& from); |
2244 | ResetResponse(ResetResponse&& from) noexcept |
2245 | : ResetResponse() { |
2246 | *this = ::std::move(from); |
2247 | } |
2248 | |
2249 | inline ResetResponse& operator=(const ResetResponse& from) { |
2250 | CopyFrom(from); |
2251 | return *this; |
2252 | } |
2253 | inline ResetResponse& operator=(ResetResponse&& from) noexcept { |
2254 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2255 | if (this != &from) InternalSwap(&from); |
2256 | } else { |
2257 | CopyFrom(from); |
2258 | } |
2259 | return *this; |
2260 | } |
2261 | |
2262 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
2263 | return GetArenaNoVirtual(); |
2264 | } |
2265 | inline void* GetMaybeArenaPointer() const final { |
2266 | return MaybeArenaPtr(); |
2267 | } |
2268 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2269 | return GetDescriptor(); |
2270 | } |
2271 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2272 | return GetMetadataStatic().descriptor; |
2273 | } |
2274 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2275 | return GetMetadataStatic().reflection; |
2276 | } |
2277 | static const ResetResponse& default_instance(); |
2278 | |
2279 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2280 | static inline const ResetResponse* internal_default_instance() { |
2281 | return reinterpret_cast<const ResetResponse*>( |
2282 | &_ResetResponse_default_instance_); |
2283 | } |
2284 | static constexpr int kIndexInFileMessages = |
2285 | 11; |
2286 | |
2287 | friend void swap(ResetResponse& a, ResetResponse& b) { |
2288 | a.Swap(&b); |
2289 | } |
2290 | inline void Swap(ResetResponse* other) { |
2291 | if (other == this) return; |
2292 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
2293 | InternalSwap(other); |
2294 | } else { |
2295 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2296 | } |
2297 | } |
2298 | void UnsafeArenaSwap(ResetResponse* other) { |
2299 | if (other == this) return; |
2300 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
2301 | InternalSwap(other); |
2302 | } |
2303 | |
2304 | // implements Message ---------------------------------------------- |
2305 | |
2306 | inline ResetResponse* New() const final { |
2307 | return CreateMaybeMessage<ResetResponse>(nullptr); |
2308 | } |
2309 | |
2310 | ResetResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
2311 | return CreateMaybeMessage<ResetResponse>(arena); |
2312 | } |
2313 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2314 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2315 | void CopyFrom(const ResetResponse& from); |
2316 | void MergeFrom(const ResetResponse& from); |
2317 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2318 | bool IsInitialized() const final; |
2319 | |
2320 | size_t ByteSizeLong() const final; |
2321 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
2322 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2323 | #else |
2324 | bool MergePartialFromCodedStream( |
2325 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
2326 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
2327 | void SerializeWithCachedSizes( |
2328 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
2329 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
2330 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
2331 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2332 | |
2333 | private: |
2334 | inline void SharedCtor(); |
2335 | inline void SharedDtor(); |
2336 | void SetCachedSize(int size) const final; |
2337 | void InternalSwap(ResetResponse* other); |
2338 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2339 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2340 | return "tensorflow.ResetResponse" ; |
2341 | } |
2342 | protected: |
2343 | explicit ResetResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2344 | private: |
2345 | static void ArenaDtor(void* object); |
2346 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2347 | private: |
2348 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
2349 | return _internal_metadata_.arena(); |
2350 | } |
2351 | inline void* MaybeArenaPtr() const { |
2352 | return _internal_metadata_.raw_arena_ptr(); |
2353 | } |
2354 | public: |
2355 | |
2356 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2357 | private: |
2358 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
2359 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
2360 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
2361 | } |
2362 | |
2363 | public: |
2364 | |
2365 | // nested types ---------------------------------------------------- |
2366 | |
2367 | // accessors ------------------------------------------------------- |
2368 | |
2369 | // @@protoc_insertion_point(class_scope:tensorflow.ResetResponse) |
2370 | private: |
2371 | class _Internal; |
2372 | |
2373 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
2374 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2375 | typedef void InternalArenaConstructable_; |
2376 | typedef void DestructorSkippable_; |
2377 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2378 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
2379 | }; |
2380 | // ------------------------------------------------------------------- |
2381 | |
2382 | class ListDevicesRequest : |
2383 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.ListDevicesRequest) */ { |
2384 | public: |
2385 | ListDevicesRequest(); |
2386 | virtual ~ListDevicesRequest(); |
2387 | |
2388 | ListDevicesRequest(const ListDevicesRequest& from); |
2389 | ListDevicesRequest(ListDevicesRequest&& from) noexcept |
2390 | : ListDevicesRequest() { |
2391 | *this = ::std::move(from); |
2392 | } |
2393 | |
2394 | inline ListDevicesRequest& operator=(const ListDevicesRequest& from) { |
2395 | CopyFrom(from); |
2396 | return *this; |
2397 | } |
2398 | inline ListDevicesRequest& operator=(ListDevicesRequest&& from) noexcept { |
2399 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2400 | if (this != &from) InternalSwap(&from); |
2401 | } else { |
2402 | CopyFrom(from); |
2403 | } |
2404 | return *this; |
2405 | } |
2406 | |
2407 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
2408 | return GetArenaNoVirtual(); |
2409 | } |
2410 | inline void* GetMaybeArenaPointer() const final { |
2411 | return MaybeArenaPtr(); |
2412 | } |
2413 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2414 | return GetDescriptor(); |
2415 | } |
2416 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2417 | return GetMetadataStatic().descriptor; |
2418 | } |
2419 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2420 | return GetMetadataStatic().reflection; |
2421 | } |
2422 | static const ListDevicesRequest& default_instance(); |
2423 | |
2424 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2425 | static inline const ListDevicesRequest* internal_default_instance() { |
2426 | return reinterpret_cast<const ListDevicesRequest*>( |
2427 | &_ListDevicesRequest_default_instance_); |
2428 | } |
2429 | static constexpr int kIndexInFileMessages = |
2430 | 12; |
2431 | |
2432 | friend void swap(ListDevicesRequest& a, ListDevicesRequest& b) { |
2433 | a.Swap(&b); |
2434 | } |
2435 | inline void Swap(ListDevicesRequest* other) { |
2436 | if (other == this) return; |
2437 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
2438 | InternalSwap(other); |
2439 | } else { |
2440 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2441 | } |
2442 | } |
2443 | void UnsafeArenaSwap(ListDevicesRequest* other) { |
2444 | if (other == this) return; |
2445 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
2446 | InternalSwap(other); |
2447 | } |
2448 | |
2449 | // implements Message ---------------------------------------------- |
2450 | |
2451 | inline ListDevicesRequest* New() const final { |
2452 | return CreateMaybeMessage<ListDevicesRequest>(nullptr); |
2453 | } |
2454 | |
2455 | ListDevicesRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
2456 | return CreateMaybeMessage<ListDevicesRequest>(arena); |
2457 | } |
2458 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2459 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2460 | void CopyFrom(const ListDevicesRequest& from); |
2461 | void MergeFrom(const ListDevicesRequest& from); |
2462 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2463 | bool IsInitialized() const final; |
2464 | |
2465 | size_t ByteSizeLong() const final; |
2466 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
2467 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2468 | #else |
2469 | bool MergePartialFromCodedStream( |
2470 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
2471 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
2472 | void SerializeWithCachedSizes( |
2473 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
2474 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
2475 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
2476 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2477 | |
2478 | private: |
2479 | inline void SharedCtor(); |
2480 | inline void SharedDtor(); |
2481 | void SetCachedSize(int size) const final; |
2482 | void InternalSwap(ListDevicesRequest* other); |
2483 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2484 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2485 | return "tensorflow.ListDevicesRequest" ; |
2486 | } |
2487 | protected: |
2488 | explicit ListDevicesRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2489 | private: |
2490 | static void ArenaDtor(void* object); |
2491 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2492 | private: |
2493 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
2494 | return _internal_metadata_.arena(); |
2495 | } |
2496 | inline void* MaybeArenaPtr() const { |
2497 | return _internal_metadata_.raw_arena_ptr(); |
2498 | } |
2499 | public: |
2500 | |
2501 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2502 | private: |
2503 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
2504 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
2505 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
2506 | } |
2507 | |
2508 | public: |
2509 | |
2510 | // nested types ---------------------------------------------------- |
2511 | |
2512 | // accessors ------------------------------------------------------- |
2513 | |
2514 | enum : int { |
2515 | kSessionHandleFieldNumber = 1, |
2516 | }; |
2517 | // string session_handle = 1; |
2518 | void clear_session_handle(); |
2519 | const std::string& session_handle() const; |
2520 | void set_session_handle(const std::string& value); |
2521 | void set_session_handle(std::string&& value); |
2522 | void set_session_handle(const char* value); |
2523 | void set_session_handle(const char* value, size_t size); |
2524 | std::string* mutable_session_handle(); |
2525 | std::string* release_session_handle(); |
2526 | void set_allocated_session_handle(std::string* session_handle); |
2527 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
2528 | " string fields are deprecated and will be removed in a" |
2529 | " future release." ) |
2530 | std::string* unsafe_arena_release_session_handle(); |
2531 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
2532 | " string fields are deprecated and will be removed in a" |
2533 | " future release." ) |
2534 | void unsafe_arena_set_allocated_session_handle( |
2535 | std::string* session_handle); |
2536 | |
2537 | // @@protoc_insertion_point(class_scope:tensorflow.ListDevicesRequest) |
2538 | private: |
2539 | class _Internal; |
2540 | |
2541 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
2542 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2543 | typedef void InternalArenaConstructable_; |
2544 | typedef void DestructorSkippable_; |
2545 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_handle_; |
2546 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2547 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
2548 | }; |
2549 | // ------------------------------------------------------------------- |
2550 | |
2551 | class ListDevicesResponse : |
2552 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.ListDevicesResponse) */ { |
2553 | public: |
2554 | ListDevicesResponse(); |
2555 | virtual ~ListDevicesResponse(); |
2556 | |
2557 | ListDevicesResponse(const ListDevicesResponse& from); |
2558 | ListDevicesResponse(ListDevicesResponse&& from) noexcept |
2559 | : ListDevicesResponse() { |
2560 | *this = ::std::move(from); |
2561 | } |
2562 | |
2563 | inline ListDevicesResponse& operator=(const ListDevicesResponse& from) { |
2564 | CopyFrom(from); |
2565 | return *this; |
2566 | } |
2567 | inline ListDevicesResponse& operator=(ListDevicesResponse&& from) noexcept { |
2568 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2569 | if (this != &from) InternalSwap(&from); |
2570 | } else { |
2571 | CopyFrom(from); |
2572 | } |
2573 | return *this; |
2574 | } |
2575 | |
2576 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
2577 | return GetArenaNoVirtual(); |
2578 | } |
2579 | inline void* GetMaybeArenaPointer() const final { |
2580 | return MaybeArenaPtr(); |
2581 | } |
2582 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2583 | return GetDescriptor(); |
2584 | } |
2585 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2586 | return GetMetadataStatic().descriptor; |
2587 | } |
2588 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2589 | return GetMetadataStatic().reflection; |
2590 | } |
2591 | static const ListDevicesResponse& default_instance(); |
2592 | |
2593 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2594 | static inline const ListDevicesResponse* internal_default_instance() { |
2595 | return reinterpret_cast<const ListDevicesResponse*>( |
2596 | &_ListDevicesResponse_default_instance_); |
2597 | } |
2598 | static constexpr int kIndexInFileMessages = |
2599 | 13; |
2600 | |
2601 | friend void swap(ListDevicesResponse& a, ListDevicesResponse& b) { |
2602 | a.Swap(&b); |
2603 | } |
2604 | inline void Swap(ListDevicesResponse* other) { |
2605 | if (other == this) return; |
2606 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
2607 | InternalSwap(other); |
2608 | } else { |
2609 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2610 | } |
2611 | } |
2612 | void UnsafeArenaSwap(ListDevicesResponse* other) { |
2613 | if (other == this) return; |
2614 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
2615 | InternalSwap(other); |
2616 | } |
2617 | |
2618 | // implements Message ---------------------------------------------- |
2619 | |
2620 | inline ListDevicesResponse* New() const final { |
2621 | return CreateMaybeMessage<ListDevicesResponse>(nullptr); |
2622 | } |
2623 | |
2624 | ListDevicesResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
2625 | return CreateMaybeMessage<ListDevicesResponse>(arena); |
2626 | } |
2627 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2628 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2629 | void CopyFrom(const ListDevicesResponse& from); |
2630 | void MergeFrom(const ListDevicesResponse& from); |
2631 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2632 | bool IsInitialized() const final; |
2633 | |
2634 | size_t ByteSizeLong() const final; |
2635 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
2636 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2637 | #else |
2638 | bool MergePartialFromCodedStream( |
2639 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
2640 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
2641 | void SerializeWithCachedSizes( |
2642 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
2643 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
2644 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
2645 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2646 | |
2647 | private: |
2648 | inline void SharedCtor(); |
2649 | inline void SharedDtor(); |
2650 | void SetCachedSize(int size) const final; |
2651 | void InternalSwap(ListDevicesResponse* other); |
2652 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2653 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2654 | return "tensorflow.ListDevicesResponse" ; |
2655 | } |
2656 | protected: |
2657 | explicit ListDevicesResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2658 | private: |
2659 | static void ArenaDtor(void* object); |
2660 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2661 | private: |
2662 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
2663 | return _internal_metadata_.arena(); |
2664 | } |
2665 | inline void* MaybeArenaPtr() const { |
2666 | return _internal_metadata_.raw_arena_ptr(); |
2667 | } |
2668 | public: |
2669 | |
2670 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2671 | private: |
2672 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
2673 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
2674 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
2675 | } |
2676 | |
2677 | public: |
2678 | |
2679 | // nested types ---------------------------------------------------- |
2680 | |
2681 | // accessors ------------------------------------------------------- |
2682 | |
2683 | enum : int { |
2684 | kLocalDeviceFieldNumber = 1, |
2685 | kRemoteDeviceFieldNumber = 2, |
2686 | }; |
2687 | // repeated .tensorflow.DeviceAttributes local_device = 1; |
2688 | int local_device_size() const; |
2689 | void clear_local_device(); |
2690 | ::tensorflow::DeviceAttributes* mutable_local_device(int index); |
2691 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >* |
2692 | mutable_local_device(); |
2693 | const ::tensorflow::DeviceAttributes& local_device(int index) const; |
2694 | ::tensorflow::DeviceAttributes* add_local_device(); |
2695 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >& |
2696 | local_device() const; |
2697 | |
2698 | // repeated .tensorflow.DeviceAttributes remote_device = 2; |
2699 | int remote_device_size() const; |
2700 | void clear_remote_device(); |
2701 | ::tensorflow::DeviceAttributes* mutable_remote_device(int index); |
2702 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >* |
2703 | mutable_remote_device(); |
2704 | const ::tensorflow::DeviceAttributes& remote_device(int index) const; |
2705 | ::tensorflow::DeviceAttributes* add_remote_device(); |
2706 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >& |
2707 | remote_device() const; |
2708 | |
2709 | // @@protoc_insertion_point(class_scope:tensorflow.ListDevicesResponse) |
2710 | private: |
2711 | class _Internal; |
2712 | |
2713 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
2714 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2715 | typedef void InternalArenaConstructable_; |
2716 | typedef void DestructorSkippable_; |
2717 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes > local_device_; |
2718 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes > remote_device_; |
2719 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2720 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
2721 | }; |
2722 | // ------------------------------------------------------------------- |
2723 | |
2724 | class MakeCallableRequest : |
2725 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.MakeCallableRequest) */ { |
2726 | public: |
2727 | MakeCallableRequest(); |
2728 | virtual ~MakeCallableRequest(); |
2729 | |
2730 | MakeCallableRequest(const MakeCallableRequest& from); |
2731 | MakeCallableRequest(MakeCallableRequest&& from) noexcept |
2732 | : MakeCallableRequest() { |
2733 | *this = ::std::move(from); |
2734 | } |
2735 | |
2736 | inline MakeCallableRequest& operator=(const MakeCallableRequest& from) { |
2737 | CopyFrom(from); |
2738 | return *this; |
2739 | } |
2740 | inline MakeCallableRequest& operator=(MakeCallableRequest&& from) noexcept { |
2741 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2742 | if (this != &from) InternalSwap(&from); |
2743 | } else { |
2744 | CopyFrom(from); |
2745 | } |
2746 | return *this; |
2747 | } |
2748 | |
2749 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
2750 | return GetArenaNoVirtual(); |
2751 | } |
2752 | inline void* GetMaybeArenaPointer() const final { |
2753 | return MaybeArenaPtr(); |
2754 | } |
2755 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2756 | return GetDescriptor(); |
2757 | } |
2758 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2759 | return GetMetadataStatic().descriptor; |
2760 | } |
2761 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2762 | return GetMetadataStatic().reflection; |
2763 | } |
2764 | static const MakeCallableRequest& default_instance(); |
2765 | |
2766 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2767 | static inline const MakeCallableRequest* internal_default_instance() { |
2768 | return reinterpret_cast<const MakeCallableRequest*>( |
2769 | &_MakeCallableRequest_default_instance_); |
2770 | } |
2771 | static constexpr int kIndexInFileMessages = |
2772 | 14; |
2773 | |
2774 | friend void swap(MakeCallableRequest& a, MakeCallableRequest& b) { |
2775 | a.Swap(&b); |
2776 | } |
2777 | inline void Swap(MakeCallableRequest* other) { |
2778 | if (other == this) return; |
2779 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
2780 | InternalSwap(other); |
2781 | } else { |
2782 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2783 | } |
2784 | } |
2785 | void UnsafeArenaSwap(MakeCallableRequest* other) { |
2786 | if (other == this) return; |
2787 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
2788 | InternalSwap(other); |
2789 | } |
2790 | |
2791 | // implements Message ---------------------------------------------- |
2792 | |
2793 | inline MakeCallableRequest* New() const final { |
2794 | return CreateMaybeMessage<MakeCallableRequest>(nullptr); |
2795 | } |
2796 | |
2797 | MakeCallableRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
2798 | return CreateMaybeMessage<MakeCallableRequest>(arena); |
2799 | } |
2800 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2801 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2802 | void CopyFrom(const MakeCallableRequest& from); |
2803 | void MergeFrom(const MakeCallableRequest& from); |
2804 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2805 | bool IsInitialized() const final; |
2806 | |
2807 | size_t ByteSizeLong() const final; |
2808 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
2809 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2810 | #else |
2811 | bool MergePartialFromCodedStream( |
2812 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
2813 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
2814 | void SerializeWithCachedSizes( |
2815 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
2816 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
2817 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
2818 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2819 | |
2820 | private: |
2821 | inline void SharedCtor(); |
2822 | inline void SharedDtor(); |
2823 | void SetCachedSize(int size) const final; |
2824 | void InternalSwap(MakeCallableRequest* other); |
2825 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2826 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2827 | return "tensorflow.MakeCallableRequest" ; |
2828 | } |
2829 | protected: |
2830 | explicit MakeCallableRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2831 | private: |
2832 | static void ArenaDtor(void* object); |
2833 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
2834 | private: |
2835 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
2836 | return _internal_metadata_.arena(); |
2837 | } |
2838 | inline void* MaybeArenaPtr() const { |
2839 | return _internal_metadata_.raw_arena_ptr(); |
2840 | } |
2841 | public: |
2842 | |
2843 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2844 | private: |
2845 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
2846 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
2847 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
2848 | } |
2849 | |
2850 | public: |
2851 | |
2852 | // nested types ---------------------------------------------------- |
2853 | |
2854 | // accessors ------------------------------------------------------- |
2855 | |
2856 | enum : int { |
2857 | kSessionHandleFieldNumber = 1, |
2858 | kOptionsFieldNumber = 2, |
2859 | kRequestIdFieldNumber = 3, |
2860 | }; |
2861 | // string session_handle = 1; |
2862 | void clear_session_handle(); |
2863 | const std::string& session_handle() const; |
2864 | void set_session_handle(const std::string& value); |
2865 | void set_session_handle(std::string&& value); |
2866 | void set_session_handle(const char* value); |
2867 | void set_session_handle(const char* value, size_t size); |
2868 | std::string* mutable_session_handle(); |
2869 | std::string* release_session_handle(); |
2870 | void set_allocated_session_handle(std::string* session_handle); |
2871 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
2872 | " string fields are deprecated and will be removed in a" |
2873 | " future release." ) |
2874 | std::string* unsafe_arena_release_session_handle(); |
2875 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
2876 | " string fields are deprecated and will be removed in a" |
2877 | " future release." ) |
2878 | void unsafe_arena_set_allocated_session_handle( |
2879 | std::string* session_handle); |
2880 | |
2881 | // .tensorflow.CallableOptions options = 2; |
2882 | bool has_options() const; |
2883 | void clear_options(); |
2884 | const ::tensorflow::CallableOptions& options() const; |
2885 | ::tensorflow::CallableOptions* release_options(); |
2886 | ::tensorflow::CallableOptions* mutable_options(); |
2887 | void set_allocated_options(::tensorflow::CallableOptions* options); |
2888 | void unsafe_arena_set_allocated_options( |
2889 | ::tensorflow::CallableOptions* options); |
2890 | ::tensorflow::CallableOptions* unsafe_arena_release_options(); |
2891 | |
2892 | // int64 request_id = 3; |
2893 | void clear_request_id(); |
2894 | ::PROTOBUF_NAMESPACE_ID::int64 request_id() const; |
2895 | void set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value); |
2896 | |
2897 | // @@protoc_insertion_point(class_scope:tensorflow.MakeCallableRequest) |
2898 | private: |
2899 | class _Internal; |
2900 | |
2901 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
2902 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2903 | typedef void InternalArenaConstructable_; |
2904 | typedef void DestructorSkippable_; |
2905 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_handle_; |
2906 | ::tensorflow::CallableOptions* options_; |
2907 | ::PROTOBUF_NAMESPACE_ID::int64 request_id_; |
2908 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2909 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
2910 | }; |
2911 | // ------------------------------------------------------------------- |
2912 | |
2913 | class MakeCallableResponse : |
2914 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.MakeCallableResponse) */ { |
2915 | public: |
2916 | MakeCallableResponse(); |
2917 | virtual ~MakeCallableResponse(); |
2918 | |
2919 | MakeCallableResponse(const MakeCallableResponse& from); |
2920 | MakeCallableResponse(MakeCallableResponse&& from) noexcept |
2921 | : MakeCallableResponse() { |
2922 | *this = ::std::move(from); |
2923 | } |
2924 | |
2925 | inline MakeCallableResponse& operator=(const MakeCallableResponse& from) { |
2926 | CopyFrom(from); |
2927 | return *this; |
2928 | } |
2929 | inline MakeCallableResponse& operator=(MakeCallableResponse&& from) noexcept { |
2930 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2931 | if (this != &from) InternalSwap(&from); |
2932 | } else { |
2933 | CopyFrom(from); |
2934 | } |
2935 | return *this; |
2936 | } |
2937 | |
2938 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
2939 | return GetArenaNoVirtual(); |
2940 | } |
2941 | inline void* GetMaybeArenaPointer() const final { |
2942 | return MaybeArenaPtr(); |
2943 | } |
2944 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2945 | return GetDescriptor(); |
2946 | } |
2947 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2948 | return GetMetadataStatic().descriptor; |
2949 | } |
2950 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2951 | return GetMetadataStatic().reflection; |
2952 | } |
2953 | static const MakeCallableResponse& default_instance(); |
2954 | |
2955 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2956 | static inline const MakeCallableResponse* internal_default_instance() { |
2957 | return reinterpret_cast<const MakeCallableResponse*>( |
2958 | &_MakeCallableResponse_default_instance_); |
2959 | } |
2960 | static constexpr int kIndexInFileMessages = |
2961 | 15; |
2962 | |
2963 | friend void swap(MakeCallableResponse& a, MakeCallableResponse& b) { |
2964 | a.Swap(&b); |
2965 | } |
2966 | inline void Swap(MakeCallableResponse* other) { |
2967 | if (other == this) return; |
2968 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
2969 | InternalSwap(other); |
2970 | } else { |
2971 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2972 | } |
2973 | } |
2974 | void UnsafeArenaSwap(MakeCallableResponse* other) { |
2975 | if (other == this) return; |
2976 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
2977 | InternalSwap(other); |
2978 | } |
2979 | |
2980 | // implements Message ---------------------------------------------- |
2981 | |
2982 | inline MakeCallableResponse* New() const final { |
2983 | return CreateMaybeMessage<MakeCallableResponse>(nullptr); |
2984 | } |
2985 | |
2986 | MakeCallableResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
2987 | return CreateMaybeMessage<MakeCallableResponse>(arena); |
2988 | } |
2989 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2990 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2991 | void CopyFrom(const MakeCallableResponse& from); |
2992 | void MergeFrom(const MakeCallableResponse& from); |
2993 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2994 | bool IsInitialized() const final; |
2995 | |
2996 | size_t ByteSizeLong() const final; |
2997 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
2998 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2999 | #else |
3000 | bool MergePartialFromCodedStream( |
3001 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
3002 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
3003 | void SerializeWithCachedSizes( |
3004 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
3005 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
3006 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
3007 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3008 | |
3009 | private: |
3010 | inline void SharedCtor(); |
3011 | inline void SharedDtor(); |
3012 | void SetCachedSize(int size) const final; |
3013 | void InternalSwap(MakeCallableResponse* other); |
3014 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3015 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3016 | return "tensorflow.MakeCallableResponse" ; |
3017 | } |
3018 | protected: |
3019 | explicit MakeCallableResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3020 | private: |
3021 | static void ArenaDtor(void* object); |
3022 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3023 | private: |
3024 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
3025 | return _internal_metadata_.arena(); |
3026 | } |
3027 | inline void* MaybeArenaPtr() const { |
3028 | return _internal_metadata_.raw_arena_ptr(); |
3029 | } |
3030 | public: |
3031 | |
3032 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3033 | private: |
3034 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
3035 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
3036 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
3037 | } |
3038 | |
3039 | public: |
3040 | |
3041 | // nested types ---------------------------------------------------- |
3042 | |
3043 | // accessors ------------------------------------------------------- |
3044 | |
3045 | enum : int { |
3046 | kHandleFieldNumber = 1, |
3047 | }; |
3048 | // int64 handle = 1; |
3049 | void clear_handle(); |
3050 | ::PROTOBUF_NAMESPACE_ID::int64 handle() const; |
3051 | void set_handle(::PROTOBUF_NAMESPACE_ID::int64 value); |
3052 | |
3053 | // @@protoc_insertion_point(class_scope:tensorflow.MakeCallableResponse) |
3054 | private: |
3055 | class _Internal; |
3056 | |
3057 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
3058 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3059 | typedef void InternalArenaConstructable_; |
3060 | typedef void DestructorSkippable_; |
3061 | ::PROTOBUF_NAMESPACE_ID::int64 handle_; |
3062 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3063 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
3064 | }; |
3065 | // ------------------------------------------------------------------- |
3066 | |
3067 | class RunCallableRequest : |
3068 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.RunCallableRequest) */ { |
3069 | public: |
3070 | RunCallableRequest(); |
3071 | virtual ~RunCallableRequest(); |
3072 | |
3073 | RunCallableRequest(const RunCallableRequest& from); |
3074 | RunCallableRequest(RunCallableRequest&& from) noexcept |
3075 | : RunCallableRequest() { |
3076 | *this = ::std::move(from); |
3077 | } |
3078 | |
3079 | inline RunCallableRequest& operator=(const RunCallableRequest& from) { |
3080 | CopyFrom(from); |
3081 | return *this; |
3082 | } |
3083 | inline RunCallableRequest& operator=(RunCallableRequest&& from) noexcept { |
3084 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3085 | if (this != &from) InternalSwap(&from); |
3086 | } else { |
3087 | CopyFrom(from); |
3088 | } |
3089 | return *this; |
3090 | } |
3091 | |
3092 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
3093 | return GetArenaNoVirtual(); |
3094 | } |
3095 | inline void* GetMaybeArenaPointer() const final { |
3096 | return MaybeArenaPtr(); |
3097 | } |
3098 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3099 | return GetDescriptor(); |
3100 | } |
3101 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3102 | return GetMetadataStatic().descriptor; |
3103 | } |
3104 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3105 | return GetMetadataStatic().reflection; |
3106 | } |
3107 | static const RunCallableRequest& default_instance(); |
3108 | |
3109 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3110 | static inline const RunCallableRequest* internal_default_instance() { |
3111 | return reinterpret_cast<const RunCallableRequest*>( |
3112 | &_RunCallableRequest_default_instance_); |
3113 | } |
3114 | static constexpr int kIndexInFileMessages = |
3115 | 16; |
3116 | |
3117 | friend void swap(RunCallableRequest& a, RunCallableRequest& b) { |
3118 | a.Swap(&b); |
3119 | } |
3120 | inline void Swap(RunCallableRequest* other) { |
3121 | if (other == this) return; |
3122 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
3123 | InternalSwap(other); |
3124 | } else { |
3125 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3126 | } |
3127 | } |
3128 | void UnsafeArenaSwap(RunCallableRequest* other) { |
3129 | if (other == this) return; |
3130 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
3131 | InternalSwap(other); |
3132 | } |
3133 | |
3134 | // implements Message ---------------------------------------------- |
3135 | |
3136 | inline RunCallableRequest* New() const final { |
3137 | return CreateMaybeMessage<RunCallableRequest>(nullptr); |
3138 | } |
3139 | |
3140 | RunCallableRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
3141 | return CreateMaybeMessage<RunCallableRequest>(arena); |
3142 | } |
3143 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3144 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3145 | void CopyFrom(const RunCallableRequest& from); |
3146 | void MergeFrom(const RunCallableRequest& from); |
3147 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3148 | bool IsInitialized() const final; |
3149 | |
3150 | size_t ByteSizeLong() const final; |
3151 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
3152 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3153 | #else |
3154 | bool MergePartialFromCodedStream( |
3155 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
3156 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
3157 | void SerializeWithCachedSizes( |
3158 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
3159 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
3160 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
3161 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3162 | |
3163 | private: |
3164 | inline void SharedCtor(); |
3165 | inline void SharedDtor(); |
3166 | void SetCachedSize(int size) const final; |
3167 | void InternalSwap(RunCallableRequest* other); |
3168 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3169 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3170 | return "tensorflow.RunCallableRequest" ; |
3171 | } |
3172 | protected: |
3173 | explicit RunCallableRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3174 | private: |
3175 | static void ArenaDtor(void* object); |
3176 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3177 | private: |
3178 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
3179 | return _internal_metadata_.arena(); |
3180 | } |
3181 | inline void* MaybeArenaPtr() const { |
3182 | return _internal_metadata_.raw_arena_ptr(); |
3183 | } |
3184 | public: |
3185 | |
3186 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3187 | private: |
3188 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
3189 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
3190 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
3191 | } |
3192 | |
3193 | public: |
3194 | |
3195 | // nested types ---------------------------------------------------- |
3196 | |
3197 | // accessors ------------------------------------------------------- |
3198 | |
3199 | enum : int { |
3200 | kFeedFieldNumber = 3, |
3201 | kSessionHandleFieldNumber = 1, |
3202 | kHandleFieldNumber = 2, |
3203 | kRequestIdFieldNumber = 4, |
3204 | }; |
3205 | // repeated .tensorflow.TensorProto feed = 3; |
3206 | int feed_size() const; |
3207 | void clear_feed(); |
3208 | ::tensorflow::TensorProto* mutable_feed(int index); |
3209 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >* |
3210 | mutable_feed(); |
3211 | const ::tensorflow::TensorProto& feed(int index) const; |
3212 | ::tensorflow::TensorProto* add_feed(); |
3213 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >& |
3214 | feed() const; |
3215 | |
3216 | // string session_handle = 1; |
3217 | void clear_session_handle(); |
3218 | const std::string& session_handle() const; |
3219 | void set_session_handle(const std::string& value); |
3220 | void set_session_handle(std::string&& value); |
3221 | void set_session_handle(const char* value); |
3222 | void set_session_handle(const char* value, size_t size); |
3223 | std::string* mutable_session_handle(); |
3224 | std::string* release_session_handle(); |
3225 | void set_allocated_session_handle(std::string* session_handle); |
3226 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
3227 | " string fields are deprecated and will be removed in a" |
3228 | " future release." ) |
3229 | std::string* unsafe_arena_release_session_handle(); |
3230 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
3231 | " string fields are deprecated and will be removed in a" |
3232 | " future release." ) |
3233 | void unsafe_arena_set_allocated_session_handle( |
3234 | std::string* session_handle); |
3235 | |
3236 | // int64 handle = 2; |
3237 | void clear_handle(); |
3238 | ::PROTOBUF_NAMESPACE_ID::int64 handle() const; |
3239 | void set_handle(::PROTOBUF_NAMESPACE_ID::int64 value); |
3240 | |
3241 | // int64 request_id = 4; |
3242 | void clear_request_id(); |
3243 | ::PROTOBUF_NAMESPACE_ID::int64 request_id() const; |
3244 | void set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value); |
3245 | |
3246 | // @@protoc_insertion_point(class_scope:tensorflow.RunCallableRequest) |
3247 | private: |
3248 | class _Internal; |
3249 | |
3250 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
3251 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3252 | typedef void InternalArenaConstructable_; |
3253 | typedef void DestructorSkippable_; |
3254 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto > feed_; |
3255 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_handle_; |
3256 | ::PROTOBUF_NAMESPACE_ID::int64 handle_; |
3257 | ::PROTOBUF_NAMESPACE_ID::int64 request_id_; |
3258 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3259 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
3260 | }; |
3261 | // ------------------------------------------------------------------- |
3262 | |
3263 | class RunCallableResponse : |
3264 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.RunCallableResponse) */ { |
3265 | public: |
3266 | RunCallableResponse(); |
3267 | virtual ~RunCallableResponse(); |
3268 | |
3269 | RunCallableResponse(const RunCallableResponse& from); |
3270 | RunCallableResponse(RunCallableResponse&& from) noexcept |
3271 | : RunCallableResponse() { |
3272 | *this = ::std::move(from); |
3273 | } |
3274 | |
3275 | inline RunCallableResponse& operator=(const RunCallableResponse& from) { |
3276 | CopyFrom(from); |
3277 | return *this; |
3278 | } |
3279 | inline RunCallableResponse& operator=(RunCallableResponse&& from) noexcept { |
3280 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3281 | if (this != &from) InternalSwap(&from); |
3282 | } else { |
3283 | CopyFrom(from); |
3284 | } |
3285 | return *this; |
3286 | } |
3287 | |
3288 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
3289 | return GetArenaNoVirtual(); |
3290 | } |
3291 | inline void* GetMaybeArenaPointer() const final { |
3292 | return MaybeArenaPtr(); |
3293 | } |
3294 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3295 | return GetDescriptor(); |
3296 | } |
3297 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3298 | return GetMetadataStatic().descriptor; |
3299 | } |
3300 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3301 | return GetMetadataStatic().reflection; |
3302 | } |
3303 | static const RunCallableResponse& default_instance(); |
3304 | |
3305 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3306 | static inline const RunCallableResponse* internal_default_instance() { |
3307 | return reinterpret_cast<const RunCallableResponse*>( |
3308 | &_RunCallableResponse_default_instance_); |
3309 | } |
3310 | static constexpr int kIndexInFileMessages = |
3311 | 17; |
3312 | |
3313 | friend void swap(RunCallableResponse& a, RunCallableResponse& b) { |
3314 | a.Swap(&b); |
3315 | } |
3316 | inline void Swap(RunCallableResponse* other) { |
3317 | if (other == this) return; |
3318 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
3319 | InternalSwap(other); |
3320 | } else { |
3321 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3322 | } |
3323 | } |
3324 | void UnsafeArenaSwap(RunCallableResponse* other) { |
3325 | if (other == this) return; |
3326 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
3327 | InternalSwap(other); |
3328 | } |
3329 | |
3330 | // implements Message ---------------------------------------------- |
3331 | |
3332 | inline RunCallableResponse* New() const final { |
3333 | return CreateMaybeMessage<RunCallableResponse>(nullptr); |
3334 | } |
3335 | |
3336 | RunCallableResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
3337 | return CreateMaybeMessage<RunCallableResponse>(arena); |
3338 | } |
3339 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3340 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3341 | void CopyFrom(const RunCallableResponse& from); |
3342 | void MergeFrom(const RunCallableResponse& from); |
3343 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3344 | bool IsInitialized() const final; |
3345 | |
3346 | size_t ByteSizeLong() const final; |
3347 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
3348 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3349 | #else |
3350 | bool MergePartialFromCodedStream( |
3351 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
3352 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
3353 | void SerializeWithCachedSizes( |
3354 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
3355 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
3356 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
3357 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3358 | |
3359 | private: |
3360 | inline void SharedCtor(); |
3361 | inline void SharedDtor(); |
3362 | void SetCachedSize(int size) const final; |
3363 | void InternalSwap(RunCallableResponse* other); |
3364 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3365 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3366 | return "tensorflow.RunCallableResponse" ; |
3367 | } |
3368 | protected: |
3369 | explicit RunCallableResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3370 | private: |
3371 | static void ArenaDtor(void* object); |
3372 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3373 | private: |
3374 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
3375 | return _internal_metadata_.arena(); |
3376 | } |
3377 | inline void* MaybeArenaPtr() const { |
3378 | return _internal_metadata_.raw_arena_ptr(); |
3379 | } |
3380 | public: |
3381 | |
3382 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3383 | private: |
3384 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
3385 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
3386 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
3387 | } |
3388 | |
3389 | public: |
3390 | |
3391 | // nested types ---------------------------------------------------- |
3392 | |
3393 | // accessors ------------------------------------------------------- |
3394 | |
3395 | enum : int { |
3396 | kFetchFieldNumber = 1, |
3397 | kMetadataFieldNumber = 2, |
3398 | }; |
3399 | // repeated .tensorflow.TensorProto fetch = 1; |
3400 | int fetch_size() const; |
3401 | void clear_fetch(); |
3402 | ::tensorflow::TensorProto* mutable_fetch(int index); |
3403 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >* |
3404 | mutable_fetch(); |
3405 | const ::tensorflow::TensorProto& fetch(int index) const; |
3406 | ::tensorflow::TensorProto* add_fetch(); |
3407 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >& |
3408 | fetch() const; |
3409 | |
3410 | // .tensorflow.RunMetadata metadata = 2; |
3411 | bool has_metadata() const; |
3412 | void clear_metadata(); |
3413 | const ::tensorflow::RunMetadata& metadata() const; |
3414 | ::tensorflow::RunMetadata* release_metadata(); |
3415 | ::tensorflow::RunMetadata* mutable_metadata(); |
3416 | void set_allocated_metadata(::tensorflow::RunMetadata* metadata); |
3417 | void unsafe_arena_set_allocated_metadata( |
3418 | ::tensorflow::RunMetadata* metadata); |
3419 | ::tensorflow::RunMetadata* unsafe_arena_release_metadata(); |
3420 | |
3421 | // @@protoc_insertion_point(class_scope:tensorflow.RunCallableResponse) |
3422 | private: |
3423 | class _Internal; |
3424 | |
3425 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
3426 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3427 | typedef void InternalArenaConstructable_; |
3428 | typedef void DestructorSkippable_; |
3429 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto > fetch_; |
3430 | ::tensorflow::RunMetadata* metadata_; |
3431 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3432 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
3433 | }; |
3434 | // ------------------------------------------------------------------- |
3435 | |
3436 | class ReleaseCallableRequest : |
3437 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.ReleaseCallableRequest) */ { |
3438 | public: |
3439 | ReleaseCallableRequest(); |
3440 | virtual ~ReleaseCallableRequest(); |
3441 | |
3442 | ReleaseCallableRequest(const ReleaseCallableRequest& from); |
3443 | ReleaseCallableRequest(ReleaseCallableRequest&& from) noexcept |
3444 | : ReleaseCallableRequest() { |
3445 | *this = ::std::move(from); |
3446 | } |
3447 | |
3448 | inline ReleaseCallableRequest& operator=(const ReleaseCallableRequest& from) { |
3449 | CopyFrom(from); |
3450 | return *this; |
3451 | } |
3452 | inline ReleaseCallableRequest& operator=(ReleaseCallableRequest&& from) noexcept { |
3453 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3454 | if (this != &from) InternalSwap(&from); |
3455 | } else { |
3456 | CopyFrom(from); |
3457 | } |
3458 | return *this; |
3459 | } |
3460 | |
3461 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
3462 | return GetArenaNoVirtual(); |
3463 | } |
3464 | inline void* GetMaybeArenaPointer() const final { |
3465 | return MaybeArenaPtr(); |
3466 | } |
3467 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3468 | return GetDescriptor(); |
3469 | } |
3470 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3471 | return GetMetadataStatic().descriptor; |
3472 | } |
3473 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3474 | return GetMetadataStatic().reflection; |
3475 | } |
3476 | static const ReleaseCallableRequest& default_instance(); |
3477 | |
3478 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3479 | static inline const ReleaseCallableRequest* internal_default_instance() { |
3480 | return reinterpret_cast<const ReleaseCallableRequest*>( |
3481 | &_ReleaseCallableRequest_default_instance_); |
3482 | } |
3483 | static constexpr int kIndexInFileMessages = |
3484 | 18; |
3485 | |
3486 | friend void swap(ReleaseCallableRequest& a, ReleaseCallableRequest& b) { |
3487 | a.Swap(&b); |
3488 | } |
3489 | inline void Swap(ReleaseCallableRequest* other) { |
3490 | if (other == this) return; |
3491 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
3492 | InternalSwap(other); |
3493 | } else { |
3494 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3495 | } |
3496 | } |
3497 | void UnsafeArenaSwap(ReleaseCallableRequest* other) { |
3498 | if (other == this) return; |
3499 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
3500 | InternalSwap(other); |
3501 | } |
3502 | |
3503 | // implements Message ---------------------------------------------- |
3504 | |
3505 | inline ReleaseCallableRequest* New() const final { |
3506 | return CreateMaybeMessage<ReleaseCallableRequest>(nullptr); |
3507 | } |
3508 | |
3509 | ReleaseCallableRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
3510 | return CreateMaybeMessage<ReleaseCallableRequest>(arena); |
3511 | } |
3512 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3513 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3514 | void CopyFrom(const ReleaseCallableRequest& from); |
3515 | void MergeFrom(const ReleaseCallableRequest& from); |
3516 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3517 | bool IsInitialized() const final; |
3518 | |
3519 | size_t ByteSizeLong() const final; |
3520 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
3521 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3522 | #else |
3523 | bool MergePartialFromCodedStream( |
3524 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
3525 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
3526 | void SerializeWithCachedSizes( |
3527 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
3528 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
3529 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
3530 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3531 | |
3532 | private: |
3533 | inline void SharedCtor(); |
3534 | inline void SharedDtor(); |
3535 | void SetCachedSize(int size) const final; |
3536 | void InternalSwap(ReleaseCallableRequest* other); |
3537 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3538 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3539 | return "tensorflow.ReleaseCallableRequest" ; |
3540 | } |
3541 | protected: |
3542 | explicit ReleaseCallableRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3543 | private: |
3544 | static void ArenaDtor(void* object); |
3545 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3546 | private: |
3547 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
3548 | return _internal_metadata_.arena(); |
3549 | } |
3550 | inline void* MaybeArenaPtr() const { |
3551 | return _internal_metadata_.raw_arena_ptr(); |
3552 | } |
3553 | public: |
3554 | |
3555 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3556 | private: |
3557 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
3558 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
3559 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
3560 | } |
3561 | |
3562 | public: |
3563 | |
3564 | // nested types ---------------------------------------------------- |
3565 | |
3566 | // accessors ------------------------------------------------------- |
3567 | |
3568 | enum : int { |
3569 | kSessionHandleFieldNumber = 1, |
3570 | kHandleFieldNumber = 2, |
3571 | }; |
3572 | // string session_handle = 1; |
3573 | void clear_session_handle(); |
3574 | const std::string& session_handle() const; |
3575 | void set_session_handle(const std::string& value); |
3576 | void set_session_handle(std::string&& value); |
3577 | void set_session_handle(const char* value); |
3578 | void set_session_handle(const char* value, size_t size); |
3579 | std::string* mutable_session_handle(); |
3580 | std::string* release_session_handle(); |
3581 | void set_allocated_session_handle(std::string* session_handle); |
3582 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
3583 | " string fields are deprecated and will be removed in a" |
3584 | " future release." ) |
3585 | std::string* unsafe_arena_release_session_handle(); |
3586 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
3587 | " string fields are deprecated and will be removed in a" |
3588 | " future release." ) |
3589 | void unsafe_arena_set_allocated_session_handle( |
3590 | std::string* session_handle); |
3591 | |
3592 | // int64 handle = 2; |
3593 | void clear_handle(); |
3594 | ::PROTOBUF_NAMESPACE_ID::int64 handle() const; |
3595 | void set_handle(::PROTOBUF_NAMESPACE_ID::int64 value); |
3596 | |
3597 | // @@protoc_insertion_point(class_scope:tensorflow.ReleaseCallableRequest) |
3598 | private: |
3599 | class _Internal; |
3600 | |
3601 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
3602 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3603 | typedef void InternalArenaConstructable_; |
3604 | typedef void DestructorSkippable_; |
3605 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_handle_; |
3606 | ::PROTOBUF_NAMESPACE_ID::int64 handle_; |
3607 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3608 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
3609 | }; |
3610 | // ------------------------------------------------------------------- |
3611 | |
3612 | class ReleaseCallableResponse : |
3613 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.ReleaseCallableResponse) */ { |
3614 | public: |
3615 | ReleaseCallableResponse(); |
3616 | virtual ~ReleaseCallableResponse(); |
3617 | |
3618 | ReleaseCallableResponse(const ReleaseCallableResponse& from); |
3619 | ReleaseCallableResponse(ReleaseCallableResponse&& from) noexcept |
3620 | : ReleaseCallableResponse() { |
3621 | *this = ::std::move(from); |
3622 | } |
3623 | |
3624 | inline ReleaseCallableResponse& operator=(const ReleaseCallableResponse& from) { |
3625 | CopyFrom(from); |
3626 | return *this; |
3627 | } |
3628 | inline ReleaseCallableResponse& operator=(ReleaseCallableResponse&& from) noexcept { |
3629 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3630 | if (this != &from) InternalSwap(&from); |
3631 | } else { |
3632 | CopyFrom(from); |
3633 | } |
3634 | return *this; |
3635 | } |
3636 | |
3637 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
3638 | return GetArenaNoVirtual(); |
3639 | } |
3640 | inline void* GetMaybeArenaPointer() const final { |
3641 | return MaybeArenaPtr(); |
3642 | } |
3643 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3644 | return GetDescriptor(); |
3645 | } |
3646 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3647 | return GetMetadataStatic().descriptor; |
3648 | } |
3649 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3650 | return GetMetadataStatic().reflection; |
3651 | } |
3652 | static const ReleaseCallableResponse& default_instance(); |
3653 | |
3654 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3655 | static inline const ReleaseCallableResponse* internal_default_instance() { |
3656 | return reinterpret_cast<const ReleaseCallableResponse*>( |
3657 | &_ReleaseCallableResponse_default_instance_); |
3658 | } |
3659 | static constexpr int kIndexInFileMessages = |
3660 | 19; |
3661 | |
3662 | friend void swap(ReleaseCallableResponse& a, ReleaseCallableResponse& b) { |
3663 | a.Swap(&b); |
3664 | } |
3665 | inline void Swap(ReleaseCallableResponse* other) { |
3666 | if (other == this) return; |
3667 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
3668 | InternalSwap(other); |
3669 | } else { |
3670 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3671 | } |
3672 | } |
3673 | void UnsafeArenaSwap(ReleaseCallableResponse* other) { |
3674 | if (other == this) return; |
3675 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
3676 | InternalSwap(other); |
3677 | } |
3678 | |
3679 | // implements Message ---------------------------------------------- |
3680 | |
3681 | inline ReleaseCallableResponse* New() const final { |
3682 | return CreateMaybeMessage<ReleaseCallableResponse>(nullptr); |
3683 | } |
3684 | |
3685 | ReleaseCallableResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
3686 | return CreateMaybeMessage<ReleaseCallableResponse>(arena); |
3687 | } |
3688 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3689 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3690 | void CopyFrom(const ReleaseCallableResponse& from); |
3691 | void MergeFrom(const ReleaseCallableResponse& from); |
3692 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3693 | bool IsInitialized() const final; |
3694 | |
3695 | size_t ByteSizeLong() const final; |
3696 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
3697 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3698 | #else |
3699 | bool MergePartialFromCodedStream( |
3700 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
3701 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
3702 | void SerializeWithCachedSizes( |
3703 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
3704 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
3705 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
3706 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3707 | |
3708 | private: |
3709 | inline void SharedCtor(); |
3710 | inline void SharedDtor(); |
3711 | void SetCachedSize(int size) const final; |
3712 | void InternalSwap(ReleaseCallableResponse* other); |
3713 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3714 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3715 | return "tensorflow.ReleaseCallableResponse" ; |
3716 | } |
3717 | protected: |
3718 | explicit ReleaseCallableResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3719 | private: |
3720 | static void ArenaDtor(void* object); |
3721 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
3722 | private: |
3723 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
3724 | return _internal_metadata_.arena(); |
3725 | } |
3726 | inline void* MaybeArenaPtr() const { |
3727 | return _internal_metadata_.raw_arena_ptr(); |
3728 | } |
3729 | public: |
3730 | |
3731 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3732 | private: |
3733 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
3734 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto); |
3735 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto.file_level_metadata[kIndexInFileMessages]; |
3736 | } |
3737 | |
3738 | public: |
3739 | |
3740 | // nested types ---------------------------------------------------- |
3741 | |
3742 | // accessors ------------------------------------------------------- |
3743 | |
3744 | // @@protoc_insertion_point(class_scope:tensorflow.ReleaseCallableResponse) |
3745 | private: |
3746 | class _Internal; |
3747 | |
3748 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
3749 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3750 | typedef void InternalArenaConstructable_; |
3751 | typedef void DestructorSkippable_; |
3752 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3753 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto; |
3754 | }; |
3755 | // =================================================================== |
3756 | |
3757 | |
3758 | // =================================================================== |
3759 | |
3760 | #ifdef __GNUC__ |
3761 | #pragma GCC diagnostic push |
3762 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
3763 | #endif // __GNUC__ |
3764 | // CreateSessionRequest |
3765 | |
3766 | // .tensorflow.GraphDef graph_def = 1; |
3767 | inline bool CreateSessionRequest::has_graph_def() const { |
3768 | return this != internal_default_instance() && graph_def_ != nullptr; |
3769 | } |
3770 | inline const ::tensorflow::GraphDef& CreateSessionRequest::graph_def() const { |
3771 | const ::tensorflow::GraphDef* p = graph_def_; |
3772 | // @@protoc_insertion_point(field_get:tensorflow.CreateSessionRequest.graph_def) |
3773 | return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::GraphDef*>( |
3774 | &::tensorflow::_GraphDef_default_instance_); |
3775 | } |
3776 | inline ::tensorflow::GraphDef* CreateSessionRequest::release_graph_def() { |
3777 | // @@protoc_insertion_point(field_release:tensorflow.CreateSessionRequest.graph_def) |
3778 | |
3779 | ::tensorflow::GraphDef* temp = graph_def_; |
3780 | if (GetArenaNoVirtual() != nullptr) { |
3781 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
3782 | } |
3783 | graph_def_ = nullptr; |
3784 | return temp; |
3785 | } |
3786 | inline ::tensorflow::GraphDef* CreateSessionRequest::unsafe_arena_release_graph_def() { |
3787 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CreateSessionRequest.graph_def) |
3788 | |
3789 | ::tensorflow::GraphDef* temp = graph_def_; |
3790 | graph_def_ = nullptr; |
3791 | return temp; |
3792 | } |
3793 | inline ::tensorflow::GraphDef* CreateSessionRequest::mutable_graph_def() { |
3794 | |
3795 | if (graph_def_ == nullptr) { |
3796 | auto* p = CreateMaybeMessage<::tensorflow::GraphDef>(GetArenaNoVirtual()); |
3797 | graph_def_ = p; |
3798 | } |
3799 | // @@protoc_insertion_point(field_mutable:tensorflow.CreateSessionRequest.graph_def) |
3800 | return graph_def_; |
3801 | } |
3802 | inline void CreateSessionRequest::set_allocated_graph_def(::tensorflow::GraphDef* graph_def) { |
3803 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
3804 | if (message_arena == nullptr) { |
3805 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(graph_def_); |
3806 | } |
3807 | if (graph_def) { |
3808 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
3809 | reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(graph_def)->GetArena(); |
3810 | if (message_arena != submessage_arena) { |
3811 | graph_def = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
3812 | message_arena, graph_def, submessage_arena); |
3813 | } |
3814 | |
3815 | } else { |
3816 | |
3817 | } |
3818 | graph_def_ = graph_def; |
3819 | // @@protoc_insertion_point(field_set_allocated:tensorflow.CreateSessionRequest.graph_def) |
3820 | } |
3821 | |
3822 | // .tensorflow.ConfigProto config = 2; |
3823 | inline bool CreateSessionRequest::has_config() const { |
3824 | return this != internal_default_instance() && config_ != nullptr; |
3825 | } |
3826 | inline const ::tensorflow::ConfigProto& CreateSessionRequest::config() const { |
3827 | const ::tensorflow::ConfigProto* p = config_; |
3828 | // @@protoc_insertion_point(field_get:tensorflow.CreateSessionRequest.config) |
3829 | return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::ConfigProto*>( |
3830 | &::tensorflow::_ConfigProto_default_instance_); |
3831 | } |
3832 | inline ::tensorflow::ConfigProto* CreateSessionRequest::release_config() { |
3833 | // @@protoc_insertion_point(field_release:tensorflow.CreateSessionRequest.config) |
3834 | |
3835 | ::tensorflow::ConfigProto* temp = config_; |
3836 | if (GetArenaNoVirtual() != nullptr) { |
3837 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
3838 | } |
3839 | config_ = nullptr; |
3840 | return temp; |
3841 | } |
3842 | inline ::tensorflow::ConfigProto* CreateSessionRequest::unsafe_arena_release_config() { |
3843 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CreateSessionRequest.config) |
3844 | |
3845 | ::tensorflow::ConfigProto* temp = config_; |
3846 | config_ = nullptr; |
3847 | return temp; |
3848 | } |
3849 | inline ::tensorflow::ConfigProto* CreateSessionRequest::mutable_config() { |
3850 | |
3851 | if (config_ == nullptr) { |
3852 | auto* p = CreateMaybeMessage<::tensorflow::ConfigProto>(GetArenaNoVirtual()); |
3853 | config_ = p; |
3854 | } |
3855 | // @@protoc_insertion_point(field_mutable:tensorflow.CreateSessionRequest.config) |
3856 | return config_; |
3857 | } |
3858 | inline void CreateSessionRequest::set_allocated_config(::tensorflow::ConfigProto* config) { |
3859 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
3860 | if (message_arena == nullptr) { |
3861 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(config_); |
3862 | } |
3863 | if (config) { |
3864 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
3865 | reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(config)->GetArena(); |
3866 | if (message_arena != submessage_arena) { |
3867 | config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
3868 | message_arena, config, submessage_arena); |
3869 | } |
3870 | |
3871 | } else { |
3872 | |
3873 | } |
3874 | config_ = config; |
3875 | // @@protoc_insertion_point(field_set_allocated:tensorflow.CreateSessionRequest.config) |
3876 | } |
3877 | |
3878 | // string target = 3; |
3879 | inline void CreateSessionRequest::clear_target() { |
3880 | target_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
3881 | } |
3882 | inline const std::string& CreateSessionRequest::target() const { |
3883 | // @@protoc_insertion_point(field_get:tensorflow.CreateSessionRequest.target) |
3884 | return target_.Get(); |
3885 | } |
3886 | inline void CreateSessionRequest::set_target(const std::string& value) { |
3887 | |
3888 | target_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
3889 | // @@protoc_insertion_point(field_set:tensorflow.CreateSessionRequest.target) |
3890 | } |
3891 | inline void CreateSessionRequest::set_target(std::string&& value) { |
3892 | |
3893 | target_.Set( |
3894 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
3895 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.CreateSessionRequest.target) |
3896 | } |
3897 | inline void CreateSessionRequest::set_target(const char* value) { |
3898 | GOOGLE_DCHECK(value != nullptr); |
3899 | |
3900 | target_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
3901 | GetArenaNoVirtual()); |
3902 | // @@protoc_insertion_point(field_set_char:tensorflow.CreateSessionRequest.target) |
3903 | } |
3904 | inline void CreateSessionRequest::set_target(const char* value, |
3905 | size_t size) { |
3906 | |
3907 | target_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
3908 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
3909 | // @@protoc_insertion_point(field_set_pointer:tensorflow.CreateSessionRequest.target) |
3910 | } |
3911 | inline std::string* CreateSessionRequest::mutable_target() { |
3912 | |
3913 | // @@protoc_insertion_point(field_mutable:tensorflow.CreateSessionRequest.target) |
3914 | return target_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
3915 | } |
3916 | inline std::string* CreateSessionRequest::release_target() { |
3917 | // @@protoc_insertion_point(field_release:tensorflow.CreateSessionRequest.target) |
3918 | |
3919 | return target_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
3920 | } |
3921 | inline void CreateSessionRequest::set_allocated_target(std::string* target) { |
3922 | if (target != nullptr) { |
3923 | |
3924 | } else { |
3925 | |
3926 | } |
3927 | target_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), target, |
3928 | GetArenaNoVirtual()); |
3929 | // @@protoc_insertion_point(field_set_allocated:tensorflow.CreateSessionRequest.target) |
3930 | } |
3931 | inline std::string* CreateSessionRequest::unsafe_arena_release_target() { |
3932 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CreateSessionRequest.target) |
3933 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
3934 | |
3935 | return target_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
3936 | GetArenaNoVirtual()); |
3937 | } |
3938 | inline void CreateSessionRequest::unsafe_arena_set_allocated_target( |
3939 | std::string* target) { |
3940 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
3941 | if (target != nullptr) { |
3942 | |
3943 | } else { |
3944 | |
3945 | } |
3946 | target_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
3947 | target, GetArenaNoVirtual()); |
3948 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CreateSessionRequest.target) |
3949 | } |
3950 | |
3951 | // ------------------------------------------------------------------- |
3952 | |
3953 | // CreateSessionResponse |
3954 | |
3955 | // string session_handle = 1; |
3956 | inline void CreateSessionResponse::clear_session_handle() { |
3957 | session_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
3958 | } |
3959 | inline const std::string& CreateSessionResponse::session_handle() const { |
3960 | // @@protoc_insertion_point(field_get:tensorflow.CreateSessionResponse.session_handle) |
3961 | return session_handle_.Get(); |
3962 | } |
3963 | inline void CreateSessionResponse::set_session_handle(const std::string& value) { |
3964 | |
3965 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
3966 | // @@protoc_insertion_point(field_set:tensorflow.CreateSessionResponse.session_handle) |
3967 | } |
3968 | inline void CreateSessionResponse::set_session_handle(std::string&& value) { |
3969 | |
3970 | session_handle_.Set( |
3971 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
3972 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.CreateSessionResponse.session_handle) |
3973 | } |
3974 | inline void CreateSessionResponse::set_session_handle(const char* value) { |
3975 | GOOGLE_DCHECK(value != nullptr); |
3976 | |
3977 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
3978 | GetArenaNoVirtual()); |
3979 | // @@protoc_insertion_point(field_set_char:tensorflow.CreateSessionResponse.session_handle) |
3980 | } |
3981 | inline void CreateSessionResponse::set_session_handle(const char* value, |
3982 | size_t size) { |
3983 | |
3984 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
3985 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
3986 | // @@protoc_insertion_point(field_set_pointer:tensorflow.CreateSessionResponse.session_handle) |
3987 | } |
3988 | inline std::string* CreateSessionResponse::mutable_session_handle() { |
3989 | |
3990 | // @@protoc_insertion_point(field_mutable:tensorflow.CreateSessionResponse.session_handle) |
3991 | return session_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
3992 | } |
3993 | inline std::string* CreateSessionResponse::release_session_handle() { |
3994 | // @@protoc_insertion_point(field_release:tensorflow.CreateSessionResponse.session_handle) |
3995 | |
3996 | return session_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
3997 | } |
3998 | inline void CreateSessionResponse::set_allocated_session_handle(std::string* session_handle) { |
3999 | if (session_handle != nullptr) { |
4000 | |
4001 | } else { |
4002 | |
4003 | } |
4004 | session_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_handle, |
4005 | GetArenaNoVirtual()); |
4006 | // @@protoc_insertion_point(field_set_allocated:tensorflow.CreateSessionResponse.session_handle) |
4007 | } |
4008 | inline std::string* CreateSessionResponse::unsafe_arena_release_session_handle() { |
4009 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CreateSessionResponse.session_handle) |
4010 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
4011 | |
4012 | return session_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
4013 | GetArenaNoVirtual()); |
4014 | } |
4015 | inline void CreateSessionResponse::unsafe_arena_set_allocated_session_handle( |
4016 | std::string* session_handle) { |
4017 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
4018 | if (session_handle != nullptr) { |
4019 | |
4020 | } else { |
4021 | |
4022 | } |
4023 | session_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
4024 | session_handle, GetArenaNoVirtual()); |
4025 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CreateSessionResponse.session_handle) |
4026 | } |
4027 | |
4028 | // int64 graph_version = 2; |
4029 | inline void CreateSessionResponse::clear_graph_version() { |
4030 | graph_version_ = PROTOBUF_LONGLONG(0); |
4031 | } |
4032 | inline ::PROTOBUF_NAMESPACE_ID::int64 CreateSessionResponse::graph_version() const { |
4033 | // @@protoc_insertion_point(field_get:tensorflow.CreateSessionResponse.graph_version) |
4034 | return graph_version_; |
4035 | } |
4036 | inline void CreateSessionResponse::set_graph_version(::PROTOBUF_NAMESPACE_ID::int64 value) { |
4037 | |
4038 | graph_version_ = value; |
4039 | // @@protoc_insertion_point(field_set:tensorflow.CreateSessionResponse.graph_version) |
4040 | } |
4041 | |
4042 | // ------------------------------------------------------------------- |
4043 | |
4044 | // ExtendSessionRequest |
4045 | |
4046 | // string session_handle = 1; |
4047 | inline void ExtendSessionRequest::clear_session_handle() { |
4048 | session_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4049 | } |
4050 | inline const std::string& ExtendSessionRequest::session_handle() const { |
4051 | // @@protoc_insertion_point(field_get:tensorflow.ExtendSessionRequest.session_handle) |
4052 | return session_handle_.Get(); |
4053 | } |
4054 | inline void ExtendSessionRequest::set_session_handle(const std::string& value) { |
4055 | |
4056 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
4057 | // @@protoc_insertion_point(field_set:tensorflow.ExtendSessionRequest.session_handle) |
4058 | } |
4059 | inline void ExtendSessionRequest::set_session_handle(std::string&& value) { |
4060 | |
4061 | session_handle_.Set( |
4062 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
4063 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.ExtendSessionRequest.session_handle) |
4064 | } |
4065 | inline void ExtendSessionRequest::set_session_handle(const char* value) { |
4066 | GOOGLE_DCHECK(value != nullptr); |
4067 | |
4068 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
4069 | GetArenaNoVirtual()); |
4070 | // @@protoc_insertion_point(field_set_char:tensorflow.ExtendSessionRequest.session_handle) |
4071 | } |
4072 | inline void ExtendSessionRequest::set_session_handle(const char* value, |
4073 | size_t size) { |
4074 | |
4075 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
4076 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
4077 | // @@protoc_insertion_point(field_set_pointer:tensorflow.ExtendSessionRequest.session_handle) |
4078 | } |
4079 | inline std::string* ExtendSessionRequest::mutable_session_handle() { |
4080 | |
4081 | // @@protoc_insertion_point(field_mutable:tensorflow.ExtendSessionRequest.session_handle) |
4082 | return session_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4083 | } |
4084 | inline std::string* ExtendSessionRequest::release_session_handle() { |
4085 | // @@protoc_insertion_point(field_release:tensorflow.ExtendSessionRequest.session_handle) |
4086 | |
4087 | return session_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4088 | } |
4089 | inline void ExtendSessionRequest::set_allocated_session_handle(std::string* session_handle) { |
4090 | if (session_handle != nullptr) { |
4091 | |
4092 | } else { |
4093 | |
4094 | } |
4095 | session_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_handle, |
4096 | GetArenaNoVirtual()); |
4097 | // @@protoc_insertion_point(field_set_allocated:tensorflow.ExtendSessionRequest.session_handle) |
4098 | } |
4099 | inline std::string* ExtendSessionRequest::unsafe_arena_release_session_handle() { |
4100 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.ExtendSessionRequest.session_handle) |
4101 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
4102 | |
4103 | return session_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
4104 | GetArenaNoVirtual()); |
4105 | } |
4106 | inline void ExtendSessionRequest::unsafe_arena_set_allocated_session_handle( |
4107 | std::string* session_handle) { |
4108 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
4109 | if (session_handle != nullptr) { |
4110 | |
4111 | } else { |
4112 | |
4113 | } |
4114 | session_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
4115 | session_handle, GetArenaNoVirtual()); |
4116 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.ExtendSessionRequest.session_handle) |
4117 | } |
4118 | |
4119 | // .tensorflow.GraphDef graph_def = 2; |
4120 | inline bool ExtendSessionRequest::has_graph_def() const { |
4121 | return this != internal_default_instance() && graph_def_ != nullptr; |
4122 | } |
4123 | inline const ::tensorflow::GraphDef& ExtendSessionRequest::graph_def() const { |
4124 | const ::tensorflow::GraphDef* p = graph_def_; |
4125 | // @@protoc_insertion_point(field_get:tensorflow.ExtendSessionRequest.graph_def) |
4126 | return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::GraphDef*>( |
4127 | &::tensorflow::_GraphDef_default_instance_); |
4128 | } |
4129 | inline ::tensorflow::GraphDef* ExtendSessionRequest::release_graph_def() { |
4130 | // @@protoc_insertion_point(field_release:tensorflow.ExtendSessionRequest.graph_def) |
4131 | |
4132 | ::tensorflow::GraphDef* temp = graph_def_; |
4133 | if (GetArenaNoVirtual() != nullptr) { |
4134 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
4135 | } |
4136 | graph_def_ = nullptr; |
4137 | return temp; |
4138 | } |
4139 | inline ::tensorflow::GraphDef* ExtendSessionRequest::unsafe_arena_release_graph_def() { |
4140 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.ExtendSessionRequest.graph_def) |
4141 | |
4142 | ::tensorflow::GraphDef* temp = graph_def_; |
4143 | graph_def_ = nullptr; |
4144 | return temp; |
4145 | } |
4146 | inline ::tensorflow::GraphDef* ExtendSessionRequest::mutable_graph_def() { |
4147 | |
4148 | if (graph_def_ == nullptr) { |
4149 | auto* p = CreateMaybeMessage<::tensorflow::GraphDef>(GetArenaNoVirtual()); |
4150 | graph_def_ = p; |
4151 | } |
4152 | // @@protoc_insertion_point(field_mutable:tensorflow.ExtendSessionRequest.graph_def) |
4153 | return graph_def_; |
4154 | } |
4155 | inline void ExtendSessionRequest::set_allocated_graph_def(::tensorflow::GraphDef* graph_def) { |
4156 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
4157 | if (message_arena == nullptr) { |
4158 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(graph_def_); |
4159 | } |
4160 | if (graph_def) { |
4161 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
4162 | reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(graph_def)->GetArena(); |
4163 | if (message_arena != submessage_arena) { |
4164 | graph_def = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
4165 | message_arena, graph_def, submessage_arena); |
4166 | } |
4167 | |
4168 | } else { |
4169 | |
4170 | } |
4171 | graph_def_ = graph_def; |
4172 | // @@protoc_insertion_point(field_set_allocated:tensorflow.ExtendSessionRequest.graph_def) |
4173 | } |
4174 | |
4175 | // int64 current_graph_version = 3; |
4176 | inline void ExtendSessionRequest::clear_current_graph_version() { |
4177 | current_graph_version_ = PROTOBUF_LONGLONG(0); |
4178 | } |
4179 | inline ::PROTOBUF_NAMESPACE_ID::int64 ExtendSessionRequest::current_graph_version() const { |
4180 | // @@protoc_insertion_point(field_get:tensorflow.ExtendSessionRequest.current_graph_version) |
4181 | return current_graph_version_; |
4182 | } |
4183 | inline void ExtendSessionRequest::set_current_graph_version(::PROTOBUF_NAMESPACE_ID::int64 value) { |
4184 | |
4185 | current_graph_version_ = value; |
4186 | // @@protoc_insertion_point(field_set:tensorflow.ExtendSessionRequest.current_graph_version) |
4187 | } |
4188 | |
4189 | // ------------------------------------------------------------------- |
4190 | |
4191 | // ExtendSessionResponse |
4192 | |
4193 | // int64 new_graph_version = 4; |
4194 | inline void ExtendSessionResponse::clear_new_graph_version() { |
4195 | new_graph_version_ = PROTOBUF_LONGLONG(0); |
4196 | } |
4197 | inline ::PROTOBUF_NAMESPACE_ID::int64 ExtendSessionResponse::new_graph_version() const { |
4198 | // @@protoc_insertion_point(field_get:tensorflow.ExtendSessionResponse.new_graph_version) |
4199 | return new_graph_version_; |
4200 | } |
4201 | inline void ExtendSessionResponse::set_new_graph_version(::PROTOBUF_NAMESPACE_ID::int64 value) { |
4202 | |
4203 | new_graph_version_ = value; |
4204 | // @@protoc_insertion_point(field_set:tensorflow.ExtendSessionResponse.new_graph_version) |
4205 | } |
4206 | |
4207 | // ------------------------------------------------------------------- |
4208 | |
4209 | // RunStepRequest |
4210 | |
4211 | // string session_handle = 1; |
4212 | inline void RunStepRequest::clear_session_handle() { |
4213 | session_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4214 | } |
4215 | inline const std::string& RunStepRequest::session_handle() const { |
4216 | // @@protoc_insertion_point(field_get:tensorflow.RunStepRequest.session_handle) |
4217 | return session_handle_.Get(); |
4218 | } |
4219 | inline void RunStepRequest::set_session_handle(const std::string& value) { |
4220 | |
4221 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
4222 | // @@protoc_insertion_point(field_set:tensorflow.RunStepRequest.session_handle) |
4223 | } |
4224 | inline void RunStepRequest::set_session_handle(std::string&& value) { |
4225 | |
4226 | session_handle_.Set( |
4227 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
4228 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.RunStepRequest.session_handle) |
4229 | } |
4230 | inline void RunStepRequest::set_session_handle(const char* value) { |
4231 | GOOGLE_DCHECK(value != nullptr); |
4232 | |
4233 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
4234 | GetArenaNoVirtual()); |
4235 | // @@protoc_insertion_point(field_set_char:tensorflow.RunStepRequest.session_handle) |
4236 | } |
4237 | inline void RunStepRequest::set_session_handle(const char* value, |
4238 | size_t size) { |
4239 | |
4240 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
4241 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
4242 | // @@protoc_insertion_point(field_set_pointer:tensorflow.RunStepRequest.session_handle) |
4243 | } |
4244 | inline std::string* RunStepRequest::mutable_session_handle() { |
4245 | |
4246 | // @@protoc_insertion_point(field_mutable:tensorflow.RunStepRequest.session_handle) |
4247 | return session_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4248 | } |
4249 | inline std::string* RunStepRequest::release_session_handle() { |
4250 | // @@protoc_insertion_point(field_release:tensorflow.RunStepRequest.session_handle) |
4251 | |
4252 | return session_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4253 | } |
4254 | inline void RunStepRequest::set_allocated_session_handle(std::string* session_handle) { |
4255 | if (session_handle != nullptr) { |
4256 | |
4257 | } else { |
4258 | |
4259 | } |
4260 | session_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_handle, |
4261 | GetArenaNoVirtual()); |
4262 | // @@protoc_insertion_point(field_set_allocated:tensorflow.RunStepRequest.session_handle) |
4263 | } |
4264 | inline std::string* RunStepRequest::unsafe_arena_release_session_handle() { |
4265 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RunStepRequest.session_handle) |
4266 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
4267 | |
4268 | return session_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
4269 | GetArenaNoVirtual()); |
4270 | } |
4271 | inline void RunStepRequest::unsafe_arena_set_allocated_session_handle( |
4272 | std::string* session_handle) { |
4273 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
4274 | if (session_handle != nullptr) { |
4275 | |
4276 | } else { |
4277 | |
4278 | } |
4279 | session_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
4280 | session_handle, GetArenaNoVirtual()); |
4281 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RunStepRequest.session_handle) |
4282 | } |
4283 | |
4284 | // repeated .tensorflow.NamedTensorProto feed = 2; |
4285 | inline int RunStepRequest::feed_size() const { |
4286 | return feed_.size(); |
4287 | } |
4288 | inline ::tensorflow::NamedTensorProto* RunStepRequest::mutable_feed(int index) { |
4289 | // @@protoc_insertion_point(field_mutable:tensorflow.RunStepRequest.feed) |
4290 | return feed_.Mutable(index); |
4291 | } |
4292 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >* |
4293 | RunStepRequest::mutable_feed() { |
4294 | // @@protoc_insertion_point(field_mutable_list:tensorflow.RunStepRequest.feed) |
4295 | return &feed_; |
4296 | } |
4297 | inline const ::tensorflow::NamedTensorProto& RunStepRequest::feed(int index) const { |
4298 | // @@protoc_insertion_point(field_get:tensorflow.RunStepRequest.feed) |
4299 | return feed_.Get(index); |
4300 | } |
4301 | inline ::tensorflow::NamedTensorProto* RunStepRequest::add_feed() { |
4302 | // @@protoc_insertion_point(field_add:tensorflow.RunStepRequest.feed) |
4303 | return feed_.Add(); |
4304 | } |
4305 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >& |
4306 | RunStepRequest::feed() const { |
4307 | // @@protoc_insertion_point(field_list:tensorflow.RunStepRequest.feed) |
4308 | return feed_; |
4309 | } |
4310 | |
4311 | // repeated string fetch = 3; |
4312 | inline int RunStepRequest::fetch_size() const { |
4313 | return fetch_.size(); |
4314 | } |
4315 | inline void RunStepRequest::clear_fetch() { |
4316 | fetch_.Clear(); |
4317 | } |
4318 | inline const std::string& RunStepRequest::fetch(int index) const { |
4319 | // @@protoc_insertion_point(field_get:tensorflow.RunStepRequest.fetch) |
4320 | return fetch_.Get(index); |
4321 | } |
4322 | inline std::string* RunStepRequest::mutable_fetch(int index) { |
4323 | // @@protoc_insertion_point(field_mutable:tensorflow.RunStepRequest.fetch) |
4324 | return fetch_.Mutable(index); |
4325 | } |
4326 | inline void RunStepRequest::set_fetch(int index, const std::string& value) { |
4327 | // @@protoc_insertion_point(field_set:tensorflow.RunStepRequest.fetch) |
4328 | fetch_.Mutable(index)->assign(value); |
4329 | } |
4330 | inline void RunStepRequest::set_fetch(int index, std::string&& value) { |
4331 | // @@protoc_insertion_point(field_set:tensorflow.RunStepRequest.fetch) |
4332 | fetch_.Mutable(index)->assign(std::move(value)); |
4333 | } |
4334 | inline void RunStepRequest::set_fetch(int index, const char* value) { |
4335 | GOOGLE_DCHECK(value != nullptr); |
4336 | fetch_.Mutable(index)->assign(value); |
4337 | // @@protoc_insertion_point(field_set_char:tensorflow.RunStepRequest.fetch) |
4338 | } |
4339 | inline void RunStepRequest::set_fetch(int index, const char* value, size_t size) { |
4340 | fetch_.Mutable(index)->assign( |
4341 | reinterpret_cast<const char*>(value), size); |
4342 | // @@protoc_insertion_point(field_set_pointer:tensorflow.RunStepRequest.fetch) |
4343 | } |
4344 | inline std::string* RunStepRequest::add_fetch() { |
4345 | // @@protoc_insertion_point(field_add_mutable:tensorflow.RunStepRequest.fetch) |
4346 | return fetch_.Add(); |
4347 | } |
4348 | inline void RunStepRequest::add_fetch(const std::string& value) { |
4349 | fetch_.Add()->assign(value); |
4350 | // @@protoc_insertion_point(field_add:tensorflow.RunStepRequest.fetch) |
4351 | } |
4352 | inline void RunStepRequest::add_fetch(std::string&& value) { |
4353 | fetch_.Add(std::move(value)); |
4354 | // @@protoc_insertion_point(field_add:tensorflow.RunStepRequest.fetch) |
4355 | } |
4356 | inline void RunStepRequest::add_fetch(const char* value) { |
4357 | GOOGLE_DCHECK(value != nullptr); |
4358 | fetch_.Add()->assign(value); |
4359 | // @@protoc_insertion_point(field_add_char:tensorflow.RunStepRequest.fetch) |
4360 | } |
4361 | inline void RunStepRequest::add_fetch(const char* value, size_t size) { |
4362 | fetch_.Add()->assign(reinterpret_cast<const char*>(value), size); |
4363 | // @@protoc_insertion_point(field_add_pointer:tensorflow.RunStepRequest.fetch) |
4364 | } |
4365 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
4366 | RunStepRequest::fetch() const { |
4367 | // @@protoc_insertion_point(field_list:tensorflow.RunStepRequest.fetch) |
4368 | return fetch_; |
4369 | } |
4370 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
4371 | RunStepRequest::mutable_fetch() { |
4372 | // @@protoc_insertion_point(field_mutable_list:tensorflow.RunStepRequest.fetch) |
4373 | return &fetch_; |
4374 | } |
4375 | |
4376 | // repeated string target = 4; |
4377 | inline int RunStepRequest::target_size() const { |
4378 | return target_.size(); |
4379 | } |
4380 | inline void RunStepRequest::clear_target() { |
4381 | target_.Clear(); |
4382 | } |
4383 | inline const std::string& RunStepRequest::target(int index) const { |
4384 | // @@protoc_insertion_point(field_get:tensorflow.RunStepRequest.target) |
4385 | return target_.Get(index); |
4386 | } |
4387 | inline std::string* RunStepRequest::mutable_target(int index) { |
4388 | // @@protoc_insertion_point(field_mutable:tensorflow.RunStepRequest.target) |
4389 | return target_.Mutable(index); |
4390 | } |
4391 | inline void RunStepRequest::set_target(int index, const std::string& value) { |
4392 | // @@protoc_insertion_point(field_set:tensorflow.RunStepRequest.target) |
4393 | target_.Mutable(index)->assign(value); |
4394 | } |
4395 | inline void RunStepRequest::set_target(int index, std::string&& value) { |
4396 | // @@protoc_insertion_point(field_set:tensorflow.RunStepRequest.target) |
4397 | target_.Mutable(index)->assign(std::move(value)); |
4398 | } |
4399 | inline void RunStepRequest::set_target(int index, const char* value) { |
4400 | GOOGLE_DCHECK(value != nullptr); |
4401 | target_.Mutable(index)->assign(value); |
4402 | // @@protoc_insertion_point(field_set_char:tensorflow.RunStepRequest.target) |
4403 | } |
4404 | inline void RunStepRequest::set_target(int index, const char* value, size_t size) { |
4405 | target_.Mutable(index)->assign( |
4406 | reinterpret_cast<const char*>(value), size); |
4407 | // @@protoc_insertion_point(field_set_pointer:tensorflow.RunStepRequest.target) |
4408 | } |
4409 | inline std::string* RunStepRequest::add_target() { |
4410 | // @@protoc_insertion_point(field_add_mutable:tensorflow.RunStepRequest.target) |
4411 | return target_.Add(); |
4412 | } |
4413 | inline void RunStepRequest::add_target(const std::string& value) { |
4414 | target_.Add()->assign(value); |
4415 | // @@protoc_insertion_point(field_add:tensorflow.RunStepRequest.target) |
4416 | } |
4417 | inline void RunStepRequest::add_target(std::string&& value) { |
4418 | target_.Add(std::move(value)); |
4419 | // @@protoc_insertion_point(field_add:tensorflow.RunStepRequest.target) |
4420 | } |
4421 | inline void RunStepRequest::add_target(const char* value) { |
4422 | GOOGLE_DCHECK(value != nullptr); |
4423 | target_.Add()->assign(value); |
4424 | // @@protoc_insertion_point(field_add_char:tensorflow.RunStepRequest.target) |
4425 | } |
4426 | inline void RunStepRequest::add_target(const char* value, size_t size) { |
4427 | target_.Add()->assign(reinterpret_cast<const char*>(value), size); |
4428 | // @@protoc_insertion_point(field_add_pointer:tensorflow.RunStepRequest.target) |
4429 | } |
4430 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
4431 | RunStepRequest::target() const { |
4432 | // @@protoc_insertion_point(field_list:tensorflow.RunStepRequest.target) |
4433 | return target_; |
4434 | } |
4435 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
4436 | RunStepRequest::mutable_target() { |
4437 | // @@protoc_insertion_point(field_mutable_list:tensorflow.RunStepRequest.target) |
4438 | return &target_; |
4439 | } |
4440 | |
4441 | // .tensorflow.RunOptions options = 5; |
4442 | inline bool RunStepRequest::has_options() const { |
4443 | return this != internal_default_instance() && options_ != nullptr; |
4444 | } |
4445 | inline const ::tensorflow::RunOptions& RunStepRequest::options() const { |
4446 | const ::tensorflow::RunOptions* p = options_; |
4447 | // @@protoc_insertion_point(field_get:tensorflow.RunStepRequest.options) |
4448 | return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::RunOptions*>( |
4449 | &::tensorflow::_RunOptions_default_instance_); |
4450 | } |
4451 | inline ::tensorflow::RunOptions* RunStepRequest::release_options() { |
4452 | // @@protoc_insertion_point(field_release:tensorflow.RunStepRequest.options) |
4453 | |
4454 | ::tensorflow::RunOptions* temp = options_; |
4455 | if (GetArenaNoVirtual() != nullptr) { |
4456 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
4457 | } |
4458 | options_ = nullptr; |
4459 | return temp; |
4460 | } |
4461 | inline ::tensorflow::RunOptions* RunStepRequest::unsafe_arena_release_options() { |
4462 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RunStepRequest.options) |
4463 | |
4464 | ::tensorflow::RunOptions* temp = options_; |
4465 | options_ = nullptr; |
4466 | return temp; |
4467 | } |
4468 | inline ::tensorflow::RunOptions* RunStepRequest::mutable_options() { |
4469 | |
4470 | if (options_ == nullptr) { |
4471 | auto* p = CreateMaybeMessage<::tensorflow::RunOptions>(GetArenaNoVirtual()); |
4472 | options_ = p; |
4473 | } |
4474 | // @@protoc_insertion_point(field_mutable:tensorflow.RunStepRequest.options) |
4475 | return options_; |
4476 | } |
4477 | inline void RunStepRequest::set_allocated_options(::tensorflow::RunOptions* options) { |
4478 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
4479 | if (message_arena == nullptr) { |
4480 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_); |
4481 | } |
4482 | if (options) { |
4483 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
4484 | reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options)->GetArena(); |
4485 | if (message_arena != submessage_arena) { |
4486 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
4487 | message_arena, options, submessage_arena); |
4488 | } |
4489 | |
4490 | } else { |
4491 | |
4492 | } |
4493 | options_ = options; |
4494 | // @@protoc_insertion_point(field_set_allocated:tensorflow.RunStepRequest.options) |
4495 | } |
4496 | |
4497 | // string partial_run_handle = 6; |
4498 | inline void RunStepRequest::clear_partial_run_handle() { |
4499 | partial_run_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4500 | } |
4501 | inline const std::string& RunStepRequest::partial_run_handle() const { |
4502 | // @@protoc_insertion_point(field_get:tensorflow.RunStepRequest.partial_run_handle) |
4503 | return partial_run_handle_.Get(); |
4504 | } |
4505 | inline void RunStepRequest::set_partial_run_handle(const std::string& value) { |
4506 | |
4507 | partial_run_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
4508 | // @@protoc_insertion_point(field_set:tensorflow.RunStepRequest.partial_run_handle) |
4509 | } |
4510 | inline void RunStepRequest::set_partial_run_handle(std::string&& value) { |
4511 | |
4512 | partial_run_handle_.Set( |
4513 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
4514 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.RunStepRequest.partial_run_handle) |
4515 | } |
4516 | inline void RunStepRequest::set_partial_run_handle(const char* value) { |
4517 | GOOGLE_DCHECK(value != nullptr); |
4518 | |
4519 | partial_run_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
4520 | GetArenaNoVirtual()); |
4521 | // @@protoc_insertion_point(field_set_char:tensorflow.RunStepRequest.partial_run_handle) |
4522 | } |
4523 | inline void RunStepRequest::set_partial_run_handle(const char* value, |
4524 | size_t size) { |
4525 | |
4526 | partial_run_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
4527 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
4528 | // @@protoc_insertion_point(field_set_pointer:tensorflow.RunStepRequest.partial_run_handle) |
4529 | } |
4530 | inline std::string* RunStepRequest::mutable_partial_run_handle() { |
4531 | |
4532 | // @@protoc_insertion_point(field_mutable:tensorflow.RunStepRequest.partial_run_handle) |
4533 | return partial_run_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4534 | } |
4535 | inline std::string* RunStepRequest::release_partial_run_handle() { |
4536 | // @@protoc_insertion_point(field_release:tensorflow.RunStepRequest.partial_run_handle) |
4537 | |
4538 | return partial_run_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4539 | } |
4540 | inline void RunStepRequest::set_allocated_partial_run_handle(std::string* partial_run_handle) { |
4541 | if (partial_run_handle != nullptr) { |
4542 | |
4543 | } else { |
4544 | |
4545 | } |
4546 | partial_run_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), partial_run_handle, |
4547 | GetArenaNoVirtual()); |
4548 | // @@protoc_insertion_point(field_set_allocated:tensorflow.RunStepRequest.partial_run_handle) |
4549 | } |
4550 | inline std::string* RunStepRequest::unsafe_arena_release_partial_run_handle() { |
4551 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RunStepRequest.partial_run_handle) |
4552 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
4553 | |
4554 | return partial_run_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
4555 | GetArenaNoVirtual()); |
4556 | } |
4557 | inline void RunStepRequest::unsafe_arena_set_allocated_partial_run_handle( |
4558 | std::string* partial_run_handle) { |
4559 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
4560 | if (partial_run_handle != nullptr) { |
4561 | |
4562 | } else { |
4563 | |
4564 | } |
4565 | partial_run_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
4566 | partial_run_handle, GetArenaNoVirtual()); |
4567 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RunStepRequest.partial_run_handle) |
4568 | } |
4569 | |
4570 | // bool store_errors_in_response_body = 7; |
4571 | inline void RunStepRequest::clear_store_errors_in_response_body() { |
4572 | store_errors_in_response_body_ = false; |
4573 | } |
4574 | inline bool RunStepRequest::store_errors_in_response_body() const { |
4575 | // @@protoc_insertion_point(field_get:tensorflow.RunStepRequest.store_errors_in_response_body) |
4576 | return store_errors_in_response_body_; |
4577 | } |
4578 | inline void RunStepRequest::set_store_errors_in_response_body(bool value) { |
4579 | |
4580 | store_errors_in_response_body_ = value; |
4581 | // @@protoc_insertion_point(field_set:tensorflow.RunStepRequest.store_errors_in_response_body) |
4582 | } |
4583 | |
4584 | // int64 request_id = 8; |
4585 | inline void RunStepRequest::clear_request_id() { |
4586 | request_id_ = PROTOBUF_LONGLONG(0); |
4587 | } |
4588 | inline ::PROTOBUF_NAMESPACE_ID::int64 RunStepRequest::request_id() const { |
4589 | // @@protoc_insertion_point(field_get:tensorflow.RunStepRequest.request_id) |
4590 | return request_id_; |
4591 | } |
4592 | inline void RunStepRequest::set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value) { |
4593 | |
4594 | request_id_ = value; |
4595 | // @@protoc_insertion_point(field_set:tensorflow.RunStepRequest.request_id) |
4596 | } |
4597 | |
4598 | // ------------------------------------------------------------------- |
4599 | |
4600 | // RunStepResponse |
4601 | |
4602 | // repeated .tensorflow.NamedTensorProto tensor = 1; |
4603 | inline int RunStepResponse::tensor_size() const { |
4604 | return tensor_.size(); |
4605 | } |
4606 | inline ::tensorflow::NamedTensorProto* RunStepResponse::mutable_tensor(int index) { |
4607 | // @@protoc_insertion_point(field_mutable:tensorflow.RunStepResponse.tensor) |
4608 | return tensor_.Mutable(index); |
4609 | } |
4610 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >* |
4611 | RunStepResponse::mutable_tensor() { |
4612 | // @@protoc_insertion_point(field_mutable_list:tensorflow.RunStepResponse.tensor) |
4613 | return &tensor_; |
4614 | } |
4615 | inline const ::tensorflow::NamedTensorProto& RunStepResponse::tensor(int index) const { |
4616 | // @@protoc_insertion_point(field_get:tensorflow.RunStepResponse.tensor) |
4617 | return tensor_.Get(index); |
4618 | } |
4619 | inline ::tensorflow::NamedTensorProto* RunStepResponse::add_tensor() { |
4620 | // @@protoc_insertion_point(field_add:tensorflow.RunStepResponse.tensor) |
4621 | return tensor_.Add(); |
4622 | } |
4623 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >& |
4624 | RunStepResponse::tensor() const { |
4625 | // @@protoc_insertion_point(field_list:tensorflow.RunStepResponse.tensor) |
4626 | return tensor_; |
4627 | } |
4628 | |
4629 | // .tensorflow.RunMetadata metadata = 2; |
4630 | inline bool RunStepResponse::has_metadata() const { |
4631 | return this != internal_default_instance() && metadata_ != nullptr; |
4632 | } |
4633 | inline const ::tensorflow::RunMetadata& RunStepResponse::metadata() const { |
4634 | const ::tensorflow::RunMetadata* p = metadata_; |
4635 | // @@protoc_insertion_point(field_get:tensorflow.RunStepResponse.metadata) |
4636 | return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::RunMetadata*>( |
4637 | &::tensorflow::_RunMetadata_default_instance_); |
4638 | } |
4639 | inline ::tensorflow::RunMetadata* RunStepResponse::release_metadata() { |
4640 | // @@protoc_insertion_point(field_release:tensorflow.RunStepResponse.metadata) |
4641 | |
4642 | ::tensorflow::RunMetadata* temp = metadata_; |
4643 | if (GetArenaNoVirtual() != nullptr) { |
4644 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
4645 | } |
4646 | metadata_ = nullptr; |
4647 | return temp; |
4648 | } |
4649 | inline ::tensorflow::RunMetadata* RunStepResponse::unsafe_arena_release_metadata() { |
4650 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RunStepResponse.metadata) |
4651 | |
4652 | ::tensorflow::RunMetadata* temp = metadata_; |
4653 | metadata_ = nullptr; |
4654 | return temp; |
4655 | } |
4656 | inline ::tensorflow::RunMetadata* RunStepResponse::mutable_metadata() { |
4657 | |
4658 | if (metadata_ == nullptr) { |
4659 | auto* p = CreateMaybeMessage<::tensorflow::RunMetadata>(GetArenaNoVirtual()); |
4660 | metadata_ = p; |
4661 | } |
4662 | // @@protoc_insertion_point(field_mutable:tensorflow.RunStepResponse.metadata) |
4663 | return metadata_; |
4664 | } |
4665 | inline void RunStepResponse::set_allocated_metadata(::tensorflow::RunMetadata* metadata) { |
4666 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
4667 | if (message_arena == nullptr) { |
4668 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(metadata_); |
4669 | } |
4670 | if (metadata) { |
4671 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
4672 | reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(metadata)->GetArena(); |
4673 | if (message_arena != submessage_arena) { |
4674 | metadata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
4675 | message_arena, metadata, submessage_arena); |
4676 | } |
4677 | |
4678 | } else { |
4679 | |
4680 | } |
4681 | metadata_ = metadata; |
4682 | // @@protoc_insertion_point(field_set_allocated:tensorflow.RunStepResponse.metadata) |
4683 | } |
4684 | |
4685 | // .tensorflow.error.Code status_code = 3; |
4686 | inline void RunStepResponse::clear_status_code() { |
4687 | status_code_ = 0; |
4688 | } |
4689 | inline ::tensorflow::error::Code RunStepResponse::status_code() const { |
4690 | // @@protoc_insertion_point(field_get:tensorflow.RunStepResponse.status_code) |
4691 | return static_cast< ::tensorflow::error::Code >(status_code_); |
4692 | } |
4693 | inline void RunStepResponse::set_status_code(::tensorflow::error::Code value) { |
4694 | |
4695 | status_code_ = value; |
4696 | // @@protoc_insertion_point(field_set:tensorflow.RunStepResponse.status_code) |
4697 | } |
4698 | |
4699 | // string status_error_message = 4; |
4700 | inline void RunStepResponse::clear_status_error_message() { |
4701 | status_error_message_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4702 | } |
4703 | inline const std::string& RunStepResponse::status_error_message() const { |
4704 | // @@protoc_insertion_point(field_get:tensorflow.RunStepResponse.status_error_message) |
4705 | return status_error_message_.Get(); |
4706 | } |
4707 | inline void RunStepResponse::set_status_error_message(const std::string& value) { |
4708 | |
4709 | status_error_message_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
4710 | // @@protoc_insertion_point(field_set:tensorflow.RunStepResponse.status_error_message) |
4711 | } |
4712 | inline void RunStepResponse::set_status_error_message(std::string&& value) { |
4713 | |
4714 | status_error_message_.Set( |
4715 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
4716 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.RunStepResponse.status_error_message) |
4717 | } |
4718 | inline void RunStepResponse::set_status_error_message(const char* value) { |
4719 | GOOGLE_DCHECK(value != nullptr); |
4720 | |
4721 | status_error_message_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
4722 | GetArenaNoVirtual()); |
4723 | // @@protoc_insertion_point(field_set_char:tensorflow.RunStepResponse.status_error_message) |
4724 | } |
4725 | inline void RunStepResponse::set_status_error_message(const char* value, |
4726 | size_t size) { |
4727 | |
4728 | status_error_message_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
4729 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
4730 | // @@protoc_insertion_point(field_set_pointer:tensorflow.RunStepResponse.status_error_message) |
4731 | } |
4732 | inline std::string* RunStepResponse::mutable_status_error_message() { |
4733 | |
4734 | // @@protoc_insertion_point(field_mutable:tensorflow.RunStepResponse.status_error_message) |
4735 | return status_error_message_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4736 | } |
4737 | inline std::string* RunStepResponse::release_status_error_message() { |
4738 | // @@protoc_insertion_point(field_release:tensorflow.RunStepResponse.status_error_message) |
4739 | |
4740 | return status_error_message_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4741 | } |
4742 | inline void RunStepResponse::set_allocated_status_error_message(std::string* status_error_message) { |
4743 | if (status_error_message != nullptr) { |
4744 | |
4745 | } else { |
4746 | |
4747 | } |
4748 | status_error_message_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status_error_message, |
4749 | GetArenaNoVirtual()); |
4750 | // @@protoc_insertion_point(field_set_allocated:tensorflow.RunStepResponse.status_error_message) |
4751 | } |
4752 | inline std::string* RunStepResponse::unsafe_arena_release_status_error_message() { |
4753 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RunStepResponse.status_error_message) |
4754 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
4755 | |
4756 | return status_error_message_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
4757 | GetArenaNoVirtual()); |
4758 | } |
4759 | inline void RunStepResponse::unsafe_arena_set_allocated_status_error_message( |
4760 | std::string* status_error_message) { |
4761 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
4762 | if (status_error_message != nullptr) { |
4763 | |
4764 | } else { |
4765 | |
4766 | } |
4767 | status_error_message_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
4768 | status_error_message, GetArenaNoVirtual()); |
4769 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RunStepResponse.status_error_message) |
4770 | } |
4771 | |
4772 | // ------------------------------------------------------------------- |
4773 | |
4774 | // PartialRunSetupRequest |
4775 | |
4776 | // string session_handle = 1; |
4777 | inline void PartialRunSetupRequest::clear_session_handle() { |
4778 | session_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4779 | } |
4780 | inline const std::string& PartialRunSetupRequest::session_handle() const { |
4781 | // @@protoc_insertion_point(field_get:tensorflow.PartialRunSetupRequest.session_handle) |
4782 | return session_handle_.Get(); |
4783 | } |
4784 | inline void PartialRunSetupRequest::set_session_handle(const std::string& value) { |
4785 | |
4786 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
4787 | // @@protoc_insertion_point(field_set:tensorflow.PartialRunSetupRequest.session_handle) |
4788 | } |
4789 | inline void PartialRunSetupRequest::set_session_handle(std::string&& value) { |
4790 | |
4791 | session_handle_.Set( |
4792 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
4793 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.PartialRunSetupRequest.session_handle) |
4794 | } |
4795 | inline void PartialRunSetupRequest::set_session_handle(const char* value) { |
4796 | GOOGLE_DCHECK(value != nullptr); |
4797 | |
4798 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
4799 | GetArenaNoVirtual()); |
4800 | // @@protoc_insertion_point(field_set_char:tensorflow.PartialRunSetupRequest.session_handle) |
4801 | } |
4802 | inline void PartialRunSetupRequest::set_session_handle(const char* value, |
4803 | size_t size) { |
4804 | |
4805 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
4806 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
4807 | // @@protoc_insertion_point(field_set_pointer:tensorflow.PartialRunSetupRequest.session_handle) |
4808 | } |
4809 | inline std::string* PartialRunSetupRequest::mutable_session_handle() { |
4810 | |
4811 | // @@protoc_insertion_point(field_mutable:tensorflow.PartialRunSetupRequest.session_handle) |
4812 | return session_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4813 | } |
4814 | inline std::string* PartialRunSetupRequest::release_session_handle() { |
4815 | // @@protoc_insertion_point(field_release:tensorflow.PartialRunSetupRequest.session_handle) |
4816 | |
4817 | return session_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
4818 | } |
4819 | inline void PartialRunSetupRequest::set_allocated_session_handle(std::string* session_handle) { |
4820 | if (session_handle != nullptr) { |
4821 | |
4822 | } else { |
4823 | |
4824 | } |
4825 | session_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_handle, |
4826 | GetArenaNoVirtual()); |
4827 | // @@protoc_insertion_point(field_set_allocated:tensorflow.PartialRunSetupRequest.session_handle) |
4828 | } |
4829 | inline std::string* PartialRunSetupRequest::unsafe_arena_release_session_handle() { |
4830 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.PartialRunSetupRequest.session_handle) |
4831 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
4832 | |
4833 | return session_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
4834 | GetArenaNoVirtual()); |
4835 | } |
4836 | inline void PartialRunSetupRequest::unsafe_arena_set_allocated_session_handle( |
4837 | std::string* session_handle) { |
4838 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
4839 | if (session_handle != nullptr) { |
4840 | |
4841 | } else { |
4842 | |
4843 | } |
4844 | session_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
4845 | session_handle, GetArenaNoVirtual()); |
4846 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.PartialRunSetupRequest.session_handle) |
4847 | } |
4848 | |
4849 | // repeated string feed = 2; |
4850 | inline int PartialRunSetupRequest::feed_size() const { |
4851 | return feed_.size(); |
4852 | } |
4853 | inline void PartialRunSetupRequest::clear_feed() { |
4854 | feed_.Clear(); |
4855 | } |
4856 | inline const std::string& PartialRunSetupRequest::feed(int index) const { |
4857 | // @@protoc_insertion_point(field_get:tensorflow.PartialRunSetupRequest.feed) |
4858 | return feed_.Get(index); |
4859 | } |
4860 | inline std::string* PartialRunSetupRequest::mutable_feed(int index) { |
4861 | // @@protoc_insertion_point(field_mutable:tensorflow.PartialRunSetupRequest.feed) |
4862 | return feed_.Mutable(index); |
4863 | } |
4864 | inline void PartialRunSetupRequest::set_feed(int index, const std::string& value) { |
4865 | // @@protoc_insertion_point(field_set:tensorflow.PartialRunSetupRequest.feed) |
4866 | feed_.Mutable(index)->assign(value); |
4867 | } |
4868 | inline void PartialRunSetupRequest::set_feed(int index, std::string&& value) { |
4869 | // @@protoc_insertion_point(field_set:tensorflow.PartialRunSetupRequest.feed) |
4870 | feed_.Mutable(index)->assign(std::move(value)); |
4871 | } |
4872 | inline void PartialRunSetupRequest::set_feed(int index, const char* value) { |
4873 | GOOGLE_DCHECK(value != nullptr); |
4874 | feed_.Mutable(index)->assign(value); |
4875 | // @@protoc_insertion_point(field_set_char:tensorflow.PartialRunSetupRequest.feed) |
4876 | } |
4877 | inline void PartialRunSetupRequest::set_feed(int index, const char* value, size_t size) { |
4878 | feed_.Mutable(index)->assign( |
4879 | reinterpret_cast<const char*>(value), size); |
4880 | // @@protoc_insertion_point(field_set_pointer:tensorflow.PartialRunSetupRequest.feed) |
4881 | } |
4882 | inline std::string* PartialRunSetupRequest::add_feed() { |
4883 | // @@protoc_insertion_point(field_add_mutable:tensorflow.PartialRunSetupRequest.feed) |
4884 | return feed_.Add(); |
4885 | } |
4886 | inline void PartialRunSetupRequest::add_feed(const std::string& value) { |
4887 | feed_.Add()->assign(value); |
4888 | // @@protoc_insertion_point(field_add:tensorflow.PartialRunSetupRequest.feed) |
4889 | } |
4890 | inline void PartialRunSetupRequest::add_feed(std::string&& value) { |
4891 | feed_.Add(std::move(value)); |
4892 | // @@protoc_insertion_point(field_add:tensorflow.PartialRunSetupRequest.feed) |
4893 | } |
4894 | inline void PartialRunSetupRequest::add_feed(const char* value) { |
4895 | GOOGLE_DCHECK(value != nullptr); |
4896 | feed_.Add()->assign(value); |
4897 | // @@protoc_insertion_point(field_add_char:tensorflow.PartialRunSetupRequest.feed) |
4898 | } |
4899 | inline void PartialRunSetupRequest::add_feed(const char* value, size_t size) { |
4900 | feed_.Add()->assign(reinterpret_cast<const char*>(value), size); |
4901 | // @@protoc_insertion_point(field_add_pointer:tensorflow.PartialRunSetupRequest.feed) |
4902 | } |
4903 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
4904 | PartialRunSetupRequest::feed() const { |
4905 | // @@protoc_insertion_point(field_list:tensorflow.PartialRunSetupRequest.feed) |
4906 | return feed_; |
4907 | } |
4908 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
4909 | PartialRunSetupRequest::mutable_feed() { |
4910 | // @@protoc_insertion_point(field_mutable_list:tensorflow.PartialRunSetupRequest.feed) |
4911 | return &feed_; |
4912 | } |
4913 | |
4914 | // repeated string fetch = 3; |
4915 | inline int PartialRunSetupRequest::fetch_size() const { |
4916 | return fetch_.size(); |
4917 | } |
4918 | inline void PartialRunSetupRequest::clear_fetch() { |
4919 | fetch_.Clear(); |
4920 | } |
4921 | inline const std::string& PartialRunSetupRequest::fetch(int index) const { |
4922 | // @@protoc_insertion_point(field_get:tensorflow.PartialRunSetupRequest.fetch) |
4923 | return fetch_.Get(index); |
4924 | } |
4925 | inline std::string* PartialRunSetupRequest::mutable_fetch(int index) { |
4926 | // @@protoc_insertion_point(field_mutable:tensorflow.PartialRunSetupRequest.fetch) |
4927 | return fetch_.Mutable(index); |
4928 | } |
4929 | inline void PartialRunSetupRequest::set_fetch(int index, const std::string& value) { |
4930 | // @@protoc_insertion_point(field_set:tensorflow.PartialRunSetupRequest.fetch) |
4931 | fetch_.Mutable(index)->assign(value); |
4932 | } |
4933 | inline void PartialRunSetupRequest::set_fetch(int index, std::string&& value) { |
4934 | // @@protoc_insertion_point(field_set:tensorflow.PartialRunSetupRequest.fetch) |
4935 | fetch_.Mutable(index)->assign(std::move(value)); |
4936 | } |
4937 | inline void PartialRunSetupRequest::set_fetch(int index, const char* value) { |
4938 | GOOGLE_DCHECK(value != nullptr); |
4939 | fetch_.Mutable(index)->assign(value); |
4940 | // @@protoc_insertion_point(field_set_char:tensorflow.PartialRunSetupRequest.fetch) |
4941 | } |
4942 | inline void PartialRunSetupRequest::set_fetch(int index, const char* value, size_t size) { |
4943 | fetch_.Mutable(index)->assign( |
4944 | reinterpret_cast<const char*>(value), size); |
4945 | // @@protoc_insertion_point(field_set_pointer:tensorflow.PartialRunSetupRequest.fetch) |
4946 | } |
4947 | inline std::string* PartialRunSetupRequest::add_fetch() { |
4948 | // @@protoc_insertion_point(field_add_mutable:tensorflow.PartialRunSetupRequest.fetch) |
4949 | return fetch_.Add(); |
4950 | } |
4951 | inline void PartialRunSetupRequest::add_fetch(const std::string& value) { |
4952 | fetch_.Add()->assign(value); |
4953 | // @@protoc_insertion_point(field_add:tensorflow.PartialRunSetupRequest.fetch) |
4954 | } |
4955 | inline void PartialRunSetupRequest::add_fetch(std::string&& value) { |
4956 | fetch_.Add(std::move(value)); |
4957 | // @@protoc_insertion_point(field_add:tensorflow.PartialRunSetupRequest.fetch) |
4958 | } |
4959 | inline void PartialRunSetupRequest::add_fetch(const char* value) { |
4960 | GOOGLE_DCHECK(value != nullptr); |
4961 | fetch_.Add()->assign(value); |
4962 | // @@protoc_insertion_point(field_add_char:tensorflow.PartialRunSetupRequest.fetch) |
4963 | } |
4964 | inline void PartialRunSetupRequest::add_fetch(const char* value, size_t size) { |
4965 | fetch_.Add()->assign(reinterpret_cast<const char*>(value), size); |
4966 | // @@protoc_insertion_point(field_add_pointer:tensorflow.PartialRunSetupRequest.fetch) |
4967 | } |
4968 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
4969 | PartialRunSetupRequest::fetch() const { |
4970 | // @@protoc_insertion_point(field_list:tensorflow.PartialRunSetupRequest.fetch) |
4971 | return fetch_; |
4972 | } |
4973 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
4974 | PartialRunSetupRequest::mutable_fetch() { |
4975 | // @@protoc_insertion_point(field_mutable_list:tensorflow.PartialRunSetupRequest.fetch) |
4976 | return &fetch_; |
4977 | } |
4978 | |
4979 | // repeated string target = 4; |
4980 | inline int PartialRunSetupRequest::target_size() const { |
4981 | return target_.size(); |
4982 | } |
4983 | inline void PartialRunSetupRequest::clear_target() { |
4984 | target_.Clear(); |
4985 | } |
4986 | inline const std::string& PartialRunSetupRequest::target(int index) const { |
4987 | // @@protoc_insertion_point(field_get:tensorflow.PartialRunSetupRequest.target) |
4988 | return target_.Get(index); |
4989 | } |
4990 | inline std::string* PartialRunSetupRequest::mutable_target(int index) { |
4991 | // @@protoc_insertion_point(field_mutable:tensorflow.PartialRunSetupRequest.target) |
4992 | return target_.Mutable(index); |
4993 | } |
4994 | inline void PartialRunSetupRequest::set_target(int index, const std::string& value) { |
4995 | // @@protoc_insertion_point(field_set:tensorflow.PartialRunSetupRequest.target) |
4996 | target_.Mutable(index)->assign(value); |
4997 | } |
4998 | inline void PartialRunSetupRequest::set_target(int index, std::string&& value) { |
4999 | // @@protoc_insertion_point(field_set:tensorflow.PartialRunSetupRequest.target) |
5000 | target_.Mutable(index)->assign(std::move(value)); |
5001 | } |
5002 | inline void PartialRunSetupRequest::set_target(int index, const char* value) { |
5003 | GOOGLE_DCHECK(value != nullptr); |
5004 | target_.Mutable(index)->assign(value); |
5005 | // @@protoc_insertion_point(field_set_char:tensorflow.PartialRunSetupRequest.target) |
5006 | } |
5007 | inline void PartialRunSetupRequest::set_target(int index, const char* value, size_t size) { |
5008 | target_.Mutable(index)->assign( |
5009 | reinterpret_cast<const char*>(value), size); |
5010 | // @@protoc_insertion_point(field_set_pointer:tensorflow.PartialRunSetupRequest.target) |
5011 | } |
5012 | inline std::string* PartialRunSetupRequest::add_target() { |
5013 | // @@protoc_insertion_point(field_add_mutable:tensorflow.PartialRunSetupRequest.target) |
5014 | return target_.Add(); |
5015 | } |
5016 | inline void PartialRunSetupRequest::add_target(const std::string& value) { |
5017 | target_.Add()->assign(value); |
5018 | // @@protoc_insertion_point(field_add:tensorflow.PartialRunSetupRequest.target) |
5019 | } |
5020 | inline void PartialRunSetupRequest::add_target(std::string&& value) { |
5021 | target_.Add(std::move(value)); |
5022 | // @@protoc_insertion_point(field_add:tensorflow.PartialRunSetupRequest.target) |
5023 | } |
5024 | inline void PartialRunSetupRequest::add_target(const char* value) { |
5025 | GOOGLE_DCHECK(value != nullptr); |
5026 | target_.Add()->assign(value); |
5027 | // @@protoc_insertion_point(field_add_char:tensorflow.PartialRunSetupRequest.target) |
5028 | } |
5029 | inline void PartialRunSetupRequest::add_target(const char* value, size_t size) { |
5030 | target_.Add()->assign(reinterpret_cast<const char*>(value), size); |
5031 | // @@protoc_insertion_point(field_add_pointer:tensorflow.PartialRunSetupRequest.target) |
5032 | } |
5033 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
5034 | PartialRunSetupRequest::target() const { |
5035 | // @@protoc_insertion_point(field_list:tensorflow.PartialRunSetupRequest.target) |
5036 | return target_; |
5037 | } |
5038 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
5039 | PartialRunSetupRequest::mutable_target() { |
5040 | // @@protoc_insertion_point(field_mutable_list:tensorflow.PartialRunSetupRequest.target) |
5041 | return &target_; |
5042 | } |
5043 | |
5044 | // int64 request_id = 5; |
5045 | inline void PartialRunSetupRequest::clear_request_id() { |
5046 | request_id_ = PROTOBUF_LONGLONG(0); |
5047 | } |
5048 | inline ::PROTOBUF_NAMESPACE_ID::int64 PartialRunSetupRequest::request_id() const { |
5049 | // @@protoc_insertion_point(field_get:tensorflow.PartialRunSetupRequest.request_id) |
5050 | return request_id_; |
5051 | } |
5052 | inline void PartialRunSetupRequest::set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value) { |
5053 | |
5054 | request_id_ = value; |
5055 | // @@protoc_insertion_point(field_set:tensorflow.PartialRunSetupRequest.request_id) |
5056 | } |
5057 | |
5058 | // ------------------------------------------------------------------- |
5059 | |
5060 | // PartialRunSetupResponse |
5061 | |
5062 | // string partial_run_handle = 1; |
5063 | inline void PartialRunSetupResponse::clear_partial_run_handle() { |
5064 | partial_run_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5065 | } |
5066 | inline const std::string& PartialRunSetupResponse::partial_run_handle() const { |
5067 | // @@protoc_insertion_point(field_get:tensorflow.PartialRunSetupResponse.partial_run_handle) |
5068 | return partial_run_handle_.Get(); |
5069 | } |
5070 | inline void PartialRunSetupResponse::set_partial_run_handle(const std::string& value) { |
5071 | |
5072 | partial_run_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
5073 | // @@protoc_insertion_point(field_set:tensorflow.PartialRunSetupResponse.partial_run_handle) |
5074 | } |
5075 | inline void PartialRunSetupResponse::set_partial_run_handle(std::string&& value) { |
5076 | |
5077 | partial_run_handle_.Set( |
5078 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
5079 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.PartialRunSetupResponse.partial_run_handle) |
5080 | } |
5081 | inline void PartialRunSetupResponse::set_partial_run_handle(const char* value) { |
5082 | GOOGLE_DCHECK(value != nullptr); |
5083 | |
5084 | partial_run_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
5085 | GetArenaNoVirtual()); |
5086 | // @@protoc_insertion_point(field_set_char:tensorflow.PartialRunSetupResponse.partial_run_handle) |
5087 | } |
5088 | inline void PartialRunSetupResponse::set_partial_run_handle(const char* value, |
5089 | size_t size) { |
5090 | |
5091 | partial_run_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
5092 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
5093 | // @@protoc_insertion_point(field_set_pointer:tensorflow.PartialRunSetupResponse.partial_run_handle) |
5094 | } |
5095 | inline std::string* PartialRunSetupResponse::mutable_partial_run_handle() { |
5096 | |
5097 | // @@protoc_insertion_point(field_mutable:tensorflow.PartialRunSetupResponse.partial_run_handle) |
5098 | return partial_run_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5099 | } |
5100 | inline std::string* PartialRunSetupResponse::release_partial_run_handle() { |
5101 | // @@protoc_insertion_point(field_release:tensorflow.PartialRunSetupResponse.partial_run_handle) |
5102 | |
5103 | return partial_run_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5104 | } |
5105 | inline void PartialRunSetupResponse::set_allocated_partial_run_handle(std::string* partial_run_handle) { |
5106 | if (partial_run_handle != nullptr) { |
5107 | |
5108 | } else { |
5109 | |
5110 | } |
5111 | partial_run_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), partial_run_handle, |
5112 | GetArenaNoVirtual()); |
5113 | // @@protoc_insertion_point(field_set_allocated:tensorflow.PartialRunSetupResponse.partial_run_handle) |
5114 | } |
5115 | inline std::string* PartialRunSetupResponse::unsafe_arena_release_partial_run_handle() { |
5116 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.PartialRunSetupResponse.partial_run_handle) |
5117 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
5118 | |
5119 | return partial_run_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5120 | GetArenaNoVirtual()); |
5121 | } |
5122 | inline void PartialRunSetupResponse::unsafe_arena_set_allocated_partial_run_handle( |
5123 | std::string* partial_run_handle) { |
5124 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
5125 | if (partial_run_handle != nullptr) { |
5126 | |
5127 | } else { |
5128 | |
5129 | } |
5130 | partial_run_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5131 | partial_run_handle, GetArenaNoVirtual()); |
5132 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.PartialRunSetupResponse.partial_run_handle) |
5133 | } |
5134 | |
5135 | // ------------------------------------------------------------------- |
5136 | |
5137 | // CloseSessionRequest |
5138 | |
5139 | // string session_handle = 1; |
5140 | inline void CloseSessionRequest::clear_session_handle() { |
5141 | session_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5142 | } |
5143 | inline const std::string& CloseSessionRequest::session_handle() const { |
5144 | // @@protoc_insertion_point(field_get:tensorflow.CloseSessionRequest.session_handle) |
5145 | return session_handle_.Get(); |
5146 | } |
5147 | inline void CloseSessionRequest::set_session_handle(const std::string& value) { |
5148 | |
5149 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
5150 | // @@protoc_insertion_point(field_set:tensorflow.CloseSessionRequest.session_handle) |
5151 | } |
5152 | inline void CloseSessionRequest::set_session_handle(std::string&& value) { |
5153 | |
5154 | session_handle_.Set( |
5155 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
5156 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.CloseSessionRequest.session_handle) |
5157 | } |
5158 | inline void CloseSessionRequest::set_session_handle(const char* value) { |
5159 | GOOGLE_DCHECK(value != nullptr); |
5160 | |
5161 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
5162 | GetArenaNoVirtual()); |
5163 | // @@protoc_insertion_point(field_set_char:tensorflow.CloseSessionRequest.session_handle) |
5164 | } |
5165 | inline void CloseSessionRequest::set_session_handle(const char* value, |
5166 | size_t size) { |
5167 | |
5168 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
5169 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
5170 | // @@protoc_insertion_point(field_set_pointer:tensorflow.CloseSessionRequest.session_handle) |
5171 | } |
5172 | inline std::string* CloseSessionRequest::mutable_session_handle() { |
5173 | |
5174 | // @@protoc_insertion_point(field_mutable:tensorflow.CloseSessionRequest.session_handle) |
5175 | return session_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5176 | } |
5177 | inline std::string* CloseSessionRequest::release_session_handle() { |
5178 | // @@protoc_insertion_point(field_release:tensorflow.CloseSessionRequest.session_handle) |
5179 | |
5180 | return session_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5181 | } |
5182 | inline void CloseSessionRequest::set_allocated_session_handle(std::string* session_handle) { |
5183 | if (session_handle != nullptr) { |
5184 | |
5185 | } else { |
5186 | |
5187 | } |
5188 | session_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_handle, |
5189 | GetArenaNoVirtual()); |
5190 | // @@protoc_insertion_point(field_set_allocated:tensorflow.CloseSessionRequest.session_handle) |
5191 | } |
5192 | inline std::string* CloseSessionRequest::unsafe_arena_release_session_handle() { |
5193 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CloseSessionRequest.session_handle) |
5194 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
5195 | |
5196 | return session_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5197 | GetArenaNoVirtual()); |
5198 | } |
5199 | inline void CloseSessionRequest::unsafe_arena_set_allocated_session_handle( |
5200 | std::string* session_handle) { |
5201 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
5202 | if (session_handle != nullptr) { |
5203 | |
5204 | } else { |
5205 | |
5206 | } |
5207 | session_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5208 | session_handle, GetArenaNoVirtual()); |
5209 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CloseSessionRequest.session_handle) |
5210 | } |
5211 | |
5212 | // ------------------------------------------------------------------- |
5213 | |
5214 | // CloseSessionResponse |
5215 | |
5216 | // ------------------------------------------------------------------- |
5217 | |
5218 | // ResetRequest |
5219 | |
5220 | // repeated string container = 1; |
5221 | inline int ResetRequest::container_size() const { |
5222 | return container_.size(); |
5223 | } |
5224 | inline void ResetRequest::clear_container() { |
5225 | container_.Clear(); |
5226 | } |
5227 | inline const std::string& ResetRequest::container(int index) const { |
5228 | // @@protoc_insertion_point(field_get:tensorflow.ResetRequest.container) |
5229 | return container_.Get(index); |
5230 | } |
5231 | inline std::string* ResetRequest::mutable_container(int index) { |
5232 | // @@protoc_insertion_point(field_mutable:tensorflow.ResetRequest.container) |
5233 | return container_.Mutable(index); |
5234 | } |
5235 | inline void ResetRequest::set_container(int index, const std::string& value) { |
5236 | // @@protoc_insertion_point(field_set:tensorflow.ResetRequest.container) |
5237 | container_.Mutable(index)->assign(value); |
5238 | } |
5239 | inline void ResetRequest::set_container(int index, std::string&& value) { |
5240 | // @@protoc_insertion_point(field_set:tensorflow.ResetRequest.container) |
5241 | container_.Mutable(index)->assign(std::move(value)); |
5242 | } |
5243 | inline void ResetRequest::set_container(int index, const char* value) { |
5244 | GOOGLE_DCHECK(value != nullptr); |
5245 | container_.Mutable(index)->assign(value); |
5246 | // @@protoc_insertion_point(field_set_char:tensorflow.ResetRequest.container) |
5247 | } |
5248 | inline void ResetRequest::set_container(int index, const char* value, size_t size) { |
5249 | container_.Mutable(index)->assign( |
5250 | reinterpret_cast<const char*>(value), size); |
5251 | // @@protoc_insertion_point(field_set_pointer:tensorflow.ResetRequest.container) |
5252 | } |
5253 | inline std::string* ResetRequest::add_container() { |
5254 | // @@protoc_insertion_point(field_add_mutable:tensorflow.ResetRequest.container) |
5255 | return container_.Add(); |
5256 | } |
5257 | inline void ResetRequest::add_container(const std::string& value) { |
5258 | container_.Add()->assign(value); |
5259 | // @@protoc_insertion_point(field_add:tensorflow.ResetRequest.container) |
5260 | } |
5261 | inline void ResetRequest::add_container(std::string&& value) { |
5262 | container_.Add(std::move(value)); |
5263 | // @@protoc_insertion_point(field_add:tensorflow.ResetRequest.container) |
5264 | } |
5265 | inline void ResetRequest::add_container(const char* value) { |
5266 | GOOGLE_DCHECK(value != nullptr); |
5267 | container_.Add()->assign(value); |
5268 | // @@protoc_insertion_point(field_add_char:tensorflow.ResetRequest.container) |
5269 | } |
5270 | inline void ResetRequest::add_container(const char* value, size_t size) { |
5271 | container_.Add()->assign(reinterpret_cast<const char*>(value), size); |
5272 | // @@protoc_insertion_point(field_add_pointer:tensorflow.ResetRequest.container) |
5273 | } |
5274 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
5275 | ResetRequest::container() const { |
5276 | // @@protoc_insertion_point(field_list:tensorflow.ResetRequest.container) |
5277 | return container_; |
5278 | } |
5279 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
5280 | ResetRequest::mutable_container() { |
5281 | // @@protoc_insertion_point(field_mutable_list:tensorflow.ResetRequest.container) |
5282 | return &container_; |
5283 | } |
5284 | |
5285 | // repeated string device_filters = 2; |
5286 | inline int ResetRequest::device_filters_size() const { |
5287 | return device_filters_.size(); |
5288 | } |
5289 | inline void ResetRequest::clear_device_filters() { |
5290 | device_filters_.Clear(); |
5291 | } |
5292 | inline const std::string& ResetRequest::device_filters(int index) const { |
5293 | // @@protoc_insertion_point(field_get:tensorflow.ResetRequest.device_filters) |
5294 | return device_filters_.Get(index); |
5295 | } |
5296 | inline std::string* ResetRequest::mutable_device_filters(int index) { |
5297 | // @@protoc_insertion_point(field_mutable:tensorflow.ResetRequest.device_filters) |
5298 | return device_filters_.Mutable(index); |
5299 | } |
5300 | inline void ResetRequest::set_device_filters(int index, const std::string& value) { |
5301 | // @@protoc_insertion_point(field_set:tensorflow.ResetRequest.device_filters) |
5302 | device_filters_.Mutable(index)->assign(value); |
5303 | } |
5304 | inline void ResetRequest::set_device_filters(int index, std::string&& value) { |
5305 | // @@protoc_insertion_point(field_set:tensorflow.ResetRequest.device_filters) |
5306 | device_filters_.Mutable(index)->assign(std::move(value)); |
5307 | } |
5308 | inline void ResetRequest::set_device_filters(int index, const char* value) { |
5309 | GOOGLE_DCHECK(value != nullptr); |
5310 | device_filters_.Mutable(index)->assign(value); |
5311 | // @@protoc_insertion_point(field_set_char:tensorflow.ResetRequest.device_filters) |
5312 | } |
5313 | inline void ResetRequest::set_device_filters(int index, const char* value, size_t size) { |
5314 | device_filters_.Mutable(index)->assign( |
5315 | reinterpret_cast<const char*>(value), size); |
5316 | // @@protoc_insertion_point(field_set_pointer:tensorflow.ResetRequest.device_filters) |
5317 | } |
5318 | inline std::string* ResetRequest::add_device_filters() { |
5319 | // @@protoc_insertion_point(field_add_mutable:tensorflow.ResetRequest.device_filters) |
5320 | return device_filters_.Add(); |
5321 | } |
5322 | inline void ResetRequest::add_device_filters(const std::string& value) { |
5323 | device_filters_.Add()->assign(value); |
5324 | // @@protoc_insertion_point(field_add:tensorflow.ResetRequest.device_filters) |
5325 | } |
5326 | inline void ResetRequest::add_device_filters(std::string&& value) { |
5327 | device_filters_.Add(std::move(value)); |
5328 | // @@protoc_insertion_point(field_add:tensorflow.ResetRequest.device_filters) |
5329 | } |
5330 | inline void ResetRequest::add_device_filters(const char* value) { |
5331 | GOOGLE_DCHECK(value != nullptr); |
5332 | device_filters_.Add()->assign(value); |
5333 | // @@protoc_insertion_point(field_add_char:tensorflow.ResetRequest.device_filters) |
5334 | } |
5335 | inline void ResetRequest::add_device_filters(const char* value, size_t size) { |
5336 | device_filters_.Add()->assign(reinterpret_cast<const char*>(value), size); |
5337 | // @@protoc_insertion_point(field_add_pointer:tensorflow.ResetRequest.device_filters) |
5338 | } |
5339 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
5340 | ResetRequest::device_filters() const { |
5341 | // @@protoc_insertion_point(field_list:tensorflow.ResetRequest.device_filters) |
5342 | return device_filters_; |
5343 | } |
5344 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
5345 | ResetRequest::mutable_device_filters() { |
5346 | // @@protoc_insertion_point(field_mutable_list:tensorflow.ResetRequest.device_filters) |
5347 | return &device_filters_; |
5348 | } |
5349 | |
5350 | // ------------------------------------------------------------------- |
5351 | |
5352 | // ResetResponse |
5353 | |
5354 | // ------------------------------------------------------------------- |
5355 | |
5356 | // ListDevicesRequest |
5357 | |
5358 | // string session_handle = 1; |
5359 | inline void ListDevicesRequest::clear_session_handle() { |
5360 | session_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5361 | } |
5362 | inline const std::string& ListDevicesRequest::session_handle() const { |
5363 | // @@protoc_insertion_point(field_get:tensorflow.ListDevicesRequest.session_handle) |
5364 | return session_handle_.Get(); |
5365 | } |
5366 | inline void ListDevicesRequest::set_session_handle(const std::string& value) { |
5367 | |
5368 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
5369 | // @@protoc_insertion_point(field_set:tensorflow.ListDevicesRequest.session_handle) |
5370 | } |
5371 | inline void ListDevicesRequest::set_session_handle(std::string&& value) { |
5372 | |
5373 | session_handle_.Set( |
5374 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
5375 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.ListDevicesRequest.session_handle) |
5376 | } |
5377 | inline void ListDevicesRequest::set_session_handle(const char* value) { |
5378 | GOOGLE_DCHECK(value != nullptr); |
5379 | |
5380 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
5381 | GetArenaNoVirtual()); |
5382 | // @@protoc_insertion_point(field_set_char:tensorflow.ListDevicesRequest.session_handle) |
5383 | } |
5384 | inline void ListDevicesRequest::set_session_handle(const char* value, |
5385 | size_t size) { |
5386 | |
5387 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
5388 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
5389 | // @@protoc_insertion_point(field_set_pointer:tensorflow.ListDevicesRequest.session_handle) |
5390 | } |
5391 | inline std::string* ListDevicesRequest::mutable_session_handle() { |
5392 | |
5393 | // @@protoc_insertion_point(field_mutable:tensorflow.ListDevicesRequest.session_handle) |
5394 | return session_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5395 | } |
5396 | inline std::string* ListDevicesRequest::release_session_handle() { |
5397 | // @@protoc_insertion_point(field_release:tensorflow.ListDevicesRequest.session_handle) |
5398 | |
5399 | return session_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5400 | } |
5401 | inline void ListDevicesRequest::set_allocated_session_handle(std::string* session_handle) { |
5402 | if (session_handle != nullptr) { |
5403 | |
5404 | } else { |
5405 | |
5406 | } |
5407 | session_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_handle, |
5408 | GetArenaNoVirtual()); |
5409 | // @@protoc_insertion_point(field_set_allocated:tensorflow.ListDevicesRequest.session_handle) |
5410 | } |
5411 | inline std::string* ListDevicesRequest::unsafe_arena_release_session_handle() { |
5412 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.ListDevicesRequest.session_handle) |
5413 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
5414 | |
5415 | return session_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5416 | GetArenaNoVirtual()); |
5417 | } |
5418 | inline void ListDevicesRequest::unsafe_arena_set_allocated_session_handle( |
5419 | std::string* session_handle) { |
5420 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
5421 | if (session_handle != nullptr) { |
5422 | |
5423 | } else { |
5424 | |
5425 | } |
5426 | session_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5427 | session_handle, GetArenaNoVirtual()); |
5428 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.ListDevicesRequest.session_handle) |
5429 | } |
5430 | |
5431 | // ------------------------------------------------------------------- |
5432 | |
5433 | // ListDevicesResponse |
5434 | |
5435 | // repeated .tensorflow.DeviceAttributes local_device = 1; |
5436 | inline int ListDevicesResponse::local_device_size() const { |
5437 | return local_device_.size(); |
5438 | } |
5439 | inline ::tensorflow::DeviceAttributes* ListDevicesResponse::mutable_local_device(int index) { |
5440 | // @@protoc_insertion_point(field_mutable:tensorflow.ListDevicesResponse.local_device) |
5441 | return local_device_.Mutable(index); |
5442 | } |
5443 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >* |
5444 | ListDevicesResponse::mutable_local_device() { |
5445 | // @@protoc_insertion_point(field_mutable_list:tensorflow.ListDevicesResponse.local_device) |
5446 | return &local_device_; |
5447 | } |
5448 | inline const ::tensorflow::DeviceAttributes& ListDevicesResponse::local_device(int index) const { |
5449 | // @@protoc_insertion_point(field_get:tensorflow.ListDevicesResponse.local_device) |
5450 | return local_device_.Get(index); |
5451 | } |
5452 | inline ::tensorflow::DeviceAttributes* ListDevicesResponse::add_local_device() { |
5453 | // @@protoc_insertion_point(field_add:tensorflow.ListDevicesResponse.local_device) |
5454 | return local_device_.Add(); |
5455 | } |
5456 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >& |
5457 | ListDevicesResponse::local_device() const { |
5458 | // @@protoc_insertion_point(field_list:tensorflow.ListDevicesResponse.local_device) |
5459 | return local_device_; |
5460 | } |
5461 | |
5462 | // repeated .tensorflow.DeviceAttributes remote_device = 2; |
5463 | inline int ListDevicesResponse::remote_device_size() const { |
5464 | return remote_device_.size(); |
5465 | } |
5466 | inline ::tensorflow::DeviceAttributes* ListDevicesResponse::mutable_remote_device(int index) { |
5467 | // @@protoc_insertion_point(field_mutable:tensorflow.ListDevicesResponse.remote_device) |
5468 | return remote_device_.Mutable(index); |
5469 | } |
5470 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >* |
5471 | ListDevicesResponse::mutable_remote_device() { |
5472 | // @@protoc_insertion_point(field_mutable_list:tensorflow.ListDevicesResponse.remote_device) |
5473 | return &remote_device_; |
5474 | } |
5475 | inline const ::tensorflow::DeviceAttributes& ListDevicesResponse::remote_device(int index) const { |
5476 | // @@protoc_insertion_point(field_get:tensorflow.ListDevicesResponse.remote_device) |
5477 | return remote_device_.Get(index); |
5478 | } |
5479 | inline ::tensorflow::DeviceAttributes* ListDevicesResponse::add_remote_device() { |
5480 | // @@protoc_insertion_point(field_add:tensorflow.ListDevicesResponse.remote_device) |
5481 | return remote_device_.Add(); |
5482 | } |
5483 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >& |
5484 | ListDevicesResponse::remote_device() const { |
5485 | // @@protoc_insertion_point(field_list:tensorflow.ListDevicesResponse.remote_device) |
5486 | return remote_device_; |
5487 | } |
5488 | |
5489 | // ------------------------------------------------------------------- |
5490 | |
5491 | // MakeCallableRequest |
5492 | |
5493 | // string session_handle = 1; |
5494 | inline void MakeCallableRequest::clear_session_handle() { |
5495 | session_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5496 | } |
5497 | inline const std::string& MakeCallableRequest::session_handle() const { |
5498 | // @@protoc_insertion_point(field_get:tensorflow.MakeCallableRequest.session_handle) |
5499 | return session_handle_.Get(); |
5500 | } |
5501 | inline void MakeCallableRequest::set_session_handle(const std::string& value) { |
5502 | |
5503 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
5504 | // @@protoc_insertion_point(field_set:tensorflow.MakeCallableRequest.session_handle) |
5505 | } |
5506 | inline void MakeCallableRequest::set_session_handle(std::string&& value) { |
5507 | |
5508 | session_handle_.Set( |
5509 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
5510 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.MakeCallableRequest.session_handle) |
5511 | } |
5512 | inline void MakeCallableRequest::set_session_handle(const char* value) { |
5513 | GOOGLE_DCHECK(value != nullptr); |
5514 | |
5515 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
5516 | GetArenaNoVirtual()); |
5517 | // @@protoc_insertion_point(field_set_char:tensorflow.MakeCallableRequest.session_handle) |
5518 | } |
5519 | inline void MakeCallableRequest::set_session_handle(const char* value, |
5520 | size_t size) { |
5521 | |
5522 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
5523 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
5524 | // @@protoc_insertion_point(field_set_pointer:tensorflow.MakeCallableRequest.session_handle) |
5525 | } |
5526 | inline std::string* MakeCallableRequest::mutable_session_handle() { |
5527 | |
5528 | // @@protoc_insertion_point(field_mutable:tensorflow.MakeCallableRequest.session_handle) |
5529 | return session_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5530 | } |
5531 | inline std::string* MakeCallableRequest::release_session_handle() { |
5532 | // @@protoc_insertion_point(field_release:tensorflow.MakeCallableRequest.session_handle) |
5533 | |
5534 | return session_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5535 | } |
5536 | inline void MakeCallableRequest::set_allocated_session_handle(std::string* session_handle) { |
5537 | if (session_handle != nullptr) { |
5538 | |
5539 | } else { |
5540 | |
5541 | } |
5542 | session_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_handle, |
5543 | GetArenaNoVirtual()); |
5544 | // @@protoc_insertion_point(field_set_allocated:tensorflow.MakeCallableRequest.session_handle) |
5545 | } |
5546 | inline std::string* MakeCallableRequest::unsafe_arena_release_session_handle() { |
5547 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.MakeCallableRequest.session_handle) |
5548 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
5549 | |
5550 | return session_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5551 | GetArenaNoVirtual()); |
5552 | } |
5553 | inline void MakeCallableRequest::unsafe_arena_set_allocated_session_handle( |
5554 | std::string* session_handle) { |
5555 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
5556 | if (session_handle != nullptr) { |
5557 | |
5558 | } else { |
5559 | |
5560 | } |
5561 | session_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5562 | session_handle, GetArenaNoVirtual()); |
5563 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.MakeCallableRequest.session_handle) |
5564 | } |
5565 | |
5566 | // .tensorflow.CallableOptions options = 2; |
5567 | inline bool MakeCallableRequest::has_options() const { |
5568 | return this != internal_default_instance() && options_ != nullptr; |
5569 | } |
5570 | inline const ::tensorflow::CallableOptions& MakeCallableRequest::options() const { |
5571 | const ::tensorflow::CallableOptions* p = options_; |
5572 | // @@protoc_insertion_point(field_get:tensorflow.MakeCallableRequest.options) |
5573 | return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::CallableOptions*>( |
5574 | &::tensorflow::_CallableOptions_default_instance_); |
5575 | } |
5576 | inline ::tensorflow::CallableOptions* MakeCallableRequest::release_options() { |
5577 | // @@protoc_insertion_point(field_release:tensorflow.MakeCallableRequest.options) |
5578 | |
5579 | ::tensorflow::CallableOptions* temp = options_; |
5580 | if (GetArenaNoVirtual() != nullptr) { |
5581 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
5582 | } |
5583 | options_ = nullptr; |
5584 | return temp; |
5585 | } |
5586 | inline ::tensorflow::CallableOptions* MakeCallableRequest::unsafe_arena_release_options() { |
5587 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.MakeCallableRequest.options) |
5588 | |
5589 | ::tensorflow::CallableOptions* temp = options_; |
5590 | options_ = nullptr; |
5591 | return temp; |
5592 | } |
5593 | inline ::tensorflow::CallableOptions* MakeCallableRequest::mutable_options() { |
5594 | |
5595 | if (options_ == nullptr) { |
5596 | auto* p = CreateMaybeMessage<::tensorflow::CallableOptions>(GetArenaNoVirtual()); |
5597 | options_ = p; |
5598 | } |
5599 | // @@protoc_insertion_point(field_mutable:tensorflow.MakeCallableRequest.options) |
5600 | return options_; |
5601 | } |
5602 | inline void MakeCallableRequest::set_allocated_options(::tensorflow::CallableOptions* options) { |
5603 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
5604 | if (message_arena == nullptr) { |
5605 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_); |
5606 | } |
5607 | if (options) { |
5608 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
5609 | reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options)->GetArena(); |
5610 | if (message_arena != submessage_arena) { |
5611 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
5612 | message_arena, options, submessage_arena); |
5613 | } |
5614 | |
5615 | } else { |
5616 | |
5617 | } |
5618 | options_ = options; |
5619 | // @@protoc_insertion_point(field_set_allocated:tensorflow.MakeCallableRequest.options) |
5620 | } |
5621 | |
5622 | // int64 request_id = 3; |
5623 | inline void MakeCallableRequest::clear_request_id() { |
5624 | request_id_ = PROTOBUF_LONGLONG(0); |
5625 | } |
5626 | inline ::PROTOBUF_NAMESPACE_ID::int64 MakeCallableRequest::request_id() const { |
5627 | // @@protoc_insertion_point(field_get:tensorflow.MakeCallableRequest.request_id) |
5628 | return request_id_; |
5629 | } |
5630 | inline void MakeCallableRequest::set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value) { |
5631 | |
5632 | request_id_ = value; |
5633 | // @@protoc_insertion_point(field_set:tensorflow.MakeCallableRequest.request_id) |
5634 | } |
5635 | |
5636 | // ------------------------------------------------------------------- |
5637 | |
5638 | // MakeCallableResponse |
5639 | |
5640 | // int64 handle = 1; |
5641 | inline void MakeCallableResponse::clear_handle() { |
5642 | handle_ = PROTOBUF_LONGLONG(0); |
5643 | } |
5644 | inline ::PROTOBUF_NAMESPACE_ID::int64 MakeCallableResponse::handle() const { |
5645 | // @@protoc_insertion_point(field_get:tensorflow.MakeCallableResponse.handle) |
5646 | return handle_; |
5647 | } |
5648 | inline void MakeCallableResponse::set_handle(::PROTOBUF_NAMESPACE_ID::int64 value) { |
5649 | |
5650 | handle_ = value; |
5651 | // @@protoc_insertion_point(field_set:tensorflow.MakeCallableResponse.handle) |
5652 | } |
5653 | |
5654 | // ------------------------------------------------------------------- |
5655 | |
5656 | // RunCallableRequest |
5657 | |
5658 | // string session_handle = 1; |
5659 | inline void RunCallableRequest::clear_session_handle() { |
5660 | session_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5661 | } |
5662 | inline const std::string& RunCallableRequest::session_handle() const { |
5663 | // @@protoc_insertion_point(field_get:tensorflow.RunCallableRequest.session_handle) |
5664 | return session_handle_.Get(); |
5665 | } |
5666 | inline void RunCallableRequest::set_session_handle(const std::string& value) { |
5667 | |
5668 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
5669 | // @@protoc_insertion_point(field_set:tensorflow.RunCallableRequest.session_handle) |
5670 | } |
5671 | inline void RunCallableRequest::set_session_handle(std::string&& value) { |
5672 | |
5673 | session_handle_.Set( |
5674 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
5675 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.RunCallableRequest.session_handle) |
5676 | } |
5677 | inline void RunCallableRequest::set_session_handle(const char* value) { |
5678 | GOOGLE_DCHECK(value != nullptr); |
5679 | |
5680 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
5681 | GetArenaNoVirtual()); |
5682 | // @@protoc_insertion_point(field_set_char:tensorflow.RunCallableRequest.session_handle) |
5683 | } |
5684 | inline void RunCallableRequest::set_session_handle(const char* value, |
5685 | size_t size) { |
5686 | |
5687 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
5688 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
5689 | // @@protoc_insertion_point(field_set_pointer:tensorflow.RunCallableRequest.session_handle) |
5690 | } |
5691 | inline std::string* RunCallableRequest::mutable_session_handle() { |
5692 | |
5693 | // @@protoc_insertion_point(field_mutable:tensorflow.RunCallableRequest.session_handle) |
5694 | return session_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5695 | } |
5696 | inline std::string* RunCallableRequest::release_session_handle() { |
5697 | // @@protoc_insertion_point(field_release:tensorflow.RunCallableRequest.session_handle) |
5698 | |
5699 | return session_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5700 | } |
5701 | inline void RunCallableRequest::set_allocated_session_handle(std::string* session_handle) { |
5702 | if (session_handle != nullptr) { |
5703 | |
5704 | } else { |
5705 | |
5706 | } |
5707 | session_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_handle, |
5708 | GetArenaNoVirtual()); |
5709 | // @@protoc_insertion_point(field_set_allocated:tensorflow.RunCallableRequest.session_handle) |
5710 | } |
5711 | inline std::string* RunCallableRequest::unsafe_arena_release_session_handle() { |
5712 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RunCallableRequest.session_handle) |
5713 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
5714 | |
5715 | return session_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5716 | GetArenaNoVirtual()); |
5717 | } |
5718 | inline void RunCallableRequest::unsafe_arena_set_allocated_session_handle( |
5719 | std::string* session_handle) { |
5720 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
5721 | if (session_handle != nullptr) { |
5722 | |
5723 | } else { |
5724 | |
5725 | } |
5726 | session_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5727 | session_handle, GetArenaNoVirtual()); |
5728 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RunCallableRequest.session_handle) |
5729 | } |
5730 | |
5731 | // int64 handle = 2; |
5732 | inline void RunCallableRequest::clear_handle() { |
5733 | handle_ = PROTOBUF_LONGLONG(0); |
5734 | } |
5735 | inline ::PROTOBUF_NAMESPACE_ID::int64 RunCallableRequest::handle() const { |
5736 | // @@protoc_insertion_point(field_get:tensorflow.RunCallableRequest.handle) |
5737 | return handle_; |
5738 | } |
5739 | inline void RunCallableRequest::set_handle(::PROTOBUF_NAMESPACE_ID::int64 value) { |
5740 | |
5741 | handle_ = value; |
5742 | // @@protoc_insertion_point(field_set:tensorflow.RunCallableRequest.handle) |
5743 | } |
5744 | |
5745 | // repeated .tensorflow.TensorProto feed = 3; |
5746 | inline int RunCallableRequest::feed_size() const { |
5747 | return feed_.size(); |
5748 | } |
5749 | inline ::tensorflow::TensorProto* RunCallableRequest::mutable_feed(int index) { |
5750 | // @@protoc_insertion_point(field_mutable:tensorflow.RunCallableRequest.feed) |
5751 | return feed_.Mutable(index); |
5752 | } |
5753 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >* |
5754 | RunCallableRequest::mutable_feed() { |
5755 | // @@protoc_insertion_point(field_mutable_list:tensorflow.RunCallableRequest.feed) |
5756 | return &feed_; |
5757 | } |
5758 | inline const ::tensorflow::TensorProto& RunCallableRequest::feed(int index) const { |
5759 | // @@protoc_insertion_point(field_get:tensorflow.RunCallableRequest.feed) |
5760 | return feed_.Get(index); |
5761 | } |
5762 | inline ::tensorflow::TensorProto* RunCallableRequest::add_feed() { |
5763 | // @@protoc_insertion_point(field_add:tensorflow.RunCallableRequest.feed) |
5764 | return feed_.Add(); |
5765 | } |
5766 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >& |
5767 | RunCallableRequest::feed() const { |
5768 | // @@protoc_insertion_point(field_list:tensorflow.RunCallableRequest.feed) |
5769 | return feed_; |
5770 | } |
5771 | |
5772 | // int64 request_id = 4; |
5773 | inline void RunCallableRequest::clear_request_id() { |
5774 | request_id_ = PROTOBUF_LONGLONG(0); |
5775 | } |
5776 | inline ::PROTOBUF_NAMESPACE_ID::int64 RunCallableRequest::request_id() const { |
5777 | // @@protoc_insertion_point(field_get:tensorflow.RunCallableRequest.request_id) |
5778 | return request_id_; |
5779 | } |
5780 | inline void RunCallableRequest::set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value) { |
5781 | |
5782 | request_id_ = value; |
5783 | // @@protoc_insertion_point(field_set:tensorflow.RunCallableRequest.request_id) |
5784 | } |
5785 | |
5786 | // ------------------------------------------------------------------- |
5787 | |
5788 | // RunCallableResponse |
5789 | |
5790 | // repeated .tensorflow.TensorProto fetch = 1; |
5791 | inline int RunCallableResponse::fetch_size() const { |
5792 | return fetch_.size(); |
5793 | } |
5794 | inline ::tensorflow::TensorProto* RunCallableResponse::mutable_fetch(int index) { |
5795 | // @@protoc_insertion_point(field_mutable:tensorflow.RunCallableResponse.fetch) |
5796 | return fetch_.Mutable(index); |
5797 | } |
5798 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >* |
5799 | RunCallableResponse::mutable_fetch() { |
5800 | // @@protoc_insertion_point(field_mutable_list:tensorflow.RunCallableResponse.fetch) |
5801 | return &fetch_; |
5802 | } |
5803 | inline const ::tensorflow::TensorProto& RunCallableResponse::fetch(int index) const { |
5804 | // @@protoc_insertion_point(field_get:tensorflow.RunCallableResponse.fetch) |
5805 | return fetch_.Get(index); |
5806 | } |
5807 | inline ::tensorflow::TensorProto* RunCallableResponse::add_fetch() { |
5808 | // @@protoc_insertion_point(field_add:tensorflow.RunCallableResponse.fetch) |
5809 | return fetch_.Add(); |
5810 | } |
5811 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >& |
5812 | RunCallableResponse::fetch() const { |
5813 | // @@protoc_insertion_point(field_list:tensorflow.RunCallableResponse.fetch) |
5814 | return fetch_; |
5815 | } |
5816 | |
5817 | // .tensorflow.RunMetadata metadata = 2; |
5818 | inline bool RunCallableResponse::has_metadata() const { |
5819 | return this != internal_default_instance() && metadata_ != nullptr; |
5820 | } |
5821 | inline const ::tensorflow::RunMetadata& RunCallableResponse::metadata() const { |
5822 | const ::tensorflow::RunMetadata* p = metadata_; |
5823 | // @@protoc_insertion_point(field_get:tensorflow.RunCallableResponse.metadata) |
5824 | return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::RunMetadata*>( |
5825 | &::tensorflow::_RunMetadata_default_instance_); |
5826 | } |
5827 | inline ::tensorflow::RunMetadata* RunCallableResponse::release_metadata() { |
5828 | // @@protoc_insertion_point(field_release:tensorflow.RunCallableResponse.metadata) |
5829 | |
5830 | ::tensorflow::RunMetadata* temp = metadata_; |
5831 | if (GetArenaNoVirtual() != nullptr) { |
5832 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
5833 | } |
5834 | metadata_ = nullptr; |
5835 | return temp; |
5836 | } |
5837 | inline ::tensorflow::RunMetadata* RunCallableResponse::unsafe_arena_release_metadata() { |
5838 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RunCallableResponse.metadata) |
5839 | |
5840 | ::tensorflow::RunMetadata* temp = metadata_; |
5841 | metadata_ = nullptr; |
5842 | return temp; |
5843 | } |
5844 | inline ::tensorflow::RunMetadata* RunCallableResponse::mutable_metadata() { |
5845 | |
5846 | if (metadata_ == nullptr) { |
5847 | auto* p = CreateMaybeMessage<::tensorflow::RunMetadata>(GetArenaNoVirtual()); |
5848 | metadata_ = p; |
5849 | } |
5850 | // @@protoc_insertion_point(field_mutable:tensorflow.RunCallableResponse.metadata) |
5851 | return metadata_; |
5852 | } |
5853 | inline void RunCallableResponse::set_allocated_metadata(::tensorflow::RunMetadata* metadata) { |
5854 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
5855 | if (message_arena == nullptr) { |
5856 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(metadata_); |
5857 | } |
5858 | if (metadata) { |
5859 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
5860 | reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(metadata)->GetArena(); |
5861 | if (message_arena != submessage_arena) { |
5862 | metadata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
5863 | message_arena, metadata, submessage_arena); |
5864 | } |
5865 | |
5866 | } else { |
5867 | |
5868 | } |
5869 | metadata_ = metadata; |
5870 | // @@protoc_insertion_point(field_set_allocated:tensorflow.RunCallableResponse.metadata) |
5871 | } |
5872 | |
5873 | // ------------------------------------------------------------------- |
5874 | |
5875 | // ReleaseCallableRequest |
5876 | |
5877 | // string session_handle = 1; |
5878 | inline void ReleaseCallableRequest::clear_session_handle() { |
5879 | session_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5880 | } |
5881 | inline const std::string& ReleaseCallableRequest::session_handle() const { |
5882 | // @@protoc_insertion_point(field_get:tensorflow.ReleaseCallableRequest.session_handle) |
5883 | return session_handle_.Get(); |
5884 | } |
5885 | inline void ReleaseCallableRequest::set_session_handle(const std::string& value) { |
5886 | |
5887 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
5888 | // @@protoc_insertion_point(field_set:tensorflow.ReleaseCallableRequest.session_handle) |
5889 | } |
5890 | inline void ReleaseCallableRequest::set_session_handle(std::string&& value) { |
5891 | |
5892 | session_handle_.Set( |
5893 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
5894 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.ReleaseCallableRequest.session_handle) |
5895 | } |
5896 | inline void ReleaseCallableRequest::set_session_handle(const char* value) { |
5897 | GOOGLE_DCHECK(value != nullptr); |
5898 | |
5899 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
5900 | GetArenaNoVirtual()); |
5901 | // @@protoc_insertion_point(field_set_char:tensorflow.ReleaseCallableRequest.session_handle) |
5902 | } |
5903 | inline void ReleaseCallableRequest::set_session_handle(const char* value, |
5904 | size_t size) { |
5905 | |
5906 | session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
5907 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
5908 | // @@protoc_insertion_point(field_set_pointer:tensorflow.ReleaseCallableRequest.session_handle) |
5909 | } |
5910 | inline std::string* ReleaseCallableRequest::mutable_session_handle() { |
5911 | |
5912 | // @@protoc_insertion_point(field_mutable:tensorflow.ReleaseCallableRequest.session_handle) |
5913 | return session_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5914 | } |
5915 | inline std::string* ReleaseCallableRequest::release_session_handle() { |
5916 | // @@protoc_insertion_point(field_release:tensorflow.ReleaseCallableRequest.session_handle) |
5917 | |
5918 | return session_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
5919 | } |
5920 | inline void ReleaseCallableRequest::set_allocated_session_handle(std::string* session_handle) { |
5921 | if (session_handle != nullptr) { |
5922 | |
5923 | } else { |
5924 | |
5925 | } |
5926 | session_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_handle, |
5927 | GetArenaNoVirtual()); |
5928 | // @@protoc_insertion_point(field_set_allocated:tensorflow.ReleaseCallableRequest.session_handle) |
5929 | } |
5930 | inline std::string* ReleaseCallableRequest::unsafe_arena_release_session_handle() { |
5931 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.ReleaseCallableRequest.session_handle) |
5932 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
5933 | |
5934 | return session_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5935 | GetArenaNoVirtual()); |
5936 | } |
5937 | inline void ReleaseCallableRequest::unsafe_arena_set_allocated_session_handle( |
5938 | std::string* session_handle) { |
5939 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
5940 | if (session_handle != nullptr) { |
5941 | |
5942 | } else { |
5943 | |
5944 | } |
5945 | session_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5946 | session_handle, GetArenaNoVirtual()); |
5947 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.ReleaseCallableRequest.session_handle) |
5948 | } |
5949 | |
5950 | // int64 handle = 2; |
5951 | inline void ReleaseCallableRequest::clear_handle() { |
5952 | handle_ = PROTOBUF_LONGLONG(0); |
5953 | } |
5954 | inline ::PROTOBUF_NAMESPACE_ID::int64 ReleaseCallableRequest::handle() const { |
5955 | // @@protoc_insertion_point(field_get:tensorflow.ReleaseCallableRequest.handle) |
5956 | return handle_; |
5957 | } |
5958 | inline void ReleaseCallableRequest::set_handle(::PROTOBUF_NAMESPACE_ID::int64 value) { |
5959 | |
5960 | handle_ = value; |
5961 | // @@protoc_insertion_point(field_set:tensorflow.ReleaseCallableRequest.handle) |
5962 | } |
5963 | |
5964 | // ------------------------------------------------------------------- |
5965 | |
5966 | // ReleaseCallableResponse |
5967 | |
5968 | #ifdef __GNUC__ |
5969 | #pragma GCC diagnostic pop |
5970 | #endif // __GNUC__ |
5971 | // ------------------------------------------------------------------- |
5972 | |
5973 | // ------------------------------------------------------------------- |
5974 | |
5975 | // ------------------------------------------------------------------- |
5976 | |
5977 | // ------------------------------------------------------------------- |
5978 | |
5979 | // ------------------------------------------------------------------- |
5980 | |
5981 | // ------------------------------------------------------------------- |
5982 | |
5983 | // ------------------------------------------------------------------- |
5984 | |
5985 | // ------------------------------------------------------------------- |
5986 | |
5987 | // ------------------------------------------------------------------- |
5988 | |
5989 | // ------------------------------------------------------------------- |
5990 | |
5991 | // ------------------------------------------------------------------- |
5992 | |
5993 | // ------------------------------------------------------------------- |
5994 | |
5995 | // ------------------------------------------------------------------- |
5996 | |
5997 | // ------------------------------------------------------------------- |
5998 | |
5999 | // ------------------------------------------------------------------- |
6000 | |
6001 | // ------------------------------------------------------------------- |
6002 | |
6003 | // ------------------------------------------------------------------- |
6004 | |
6005 | // ------------------------------------------------------------------- |
6006 | |
6007 | // ------------------------------------------------------------------- |
6008 | |
6009 | |
6010 | // @@protoc_insertion_point(namespace_scope) |
6011 | |
6012 | } // namespace tensorflow |
6013 | |
6014 | // @@protoc_insertion_point(global_scope) |
6015 | |
6016 | #include <google/protobuf/port_undef.inc> |
6017 | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fmaster_2eproto |
6018 | |