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