1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: tensorflow/core/protobuf/worker.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fworker_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fworker_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3009000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3009002 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_table_driven.h>
27#include <google/protobuf/generated_message_util.h>
28#include <google/protobuf/inlined_string_field.h>
29#include <google/protobuf/metadata.h>
30#include <google/protobuf/generated_message_reflection.h>
31#include <google/protobuf/message.h>
32#include <google/protobuf/repeated_field.h> // IWYU pragma: export
33#include <google/protobuf/extension_set.h> // IWYU pragma: export
34#include <google/protobuf/unknown_field_set.h>
35#include <google/protobuf/any.pb.h>
36#include "tensorflow/core/framework/cost_graph.pb.h"
37#include "tensorflow/core/framework/device_attributes.pb.h"
38#include "tensorflow/core/framework/graph.pb.h"
39#include "tensorflow/core/framework/step_stats.pb.h"
40#include "tensorflow/core/framework/tensor.pb.h"
41#include "tensorflow/core/framework/tensor_shape.pb.h"
42#include "tensorflow/core/framework/types.pb.h"
43#include "tensorflow/core/protobuf/config.pb.h"
44#include "tensorflow/core/protobuf/debug.pb.h"
45#include "tensorflow/core/protobuf/error_codes.pb.h"
46#include "tensorflow/core/protobuf/named_tensor.pb.h"
47#include "tensorflow/core/protobuf/tensorflow_server.pb.h"
48// @@protoc_insertion_point(includes)
49#include <google/protobuf/port_def.inc>
50#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprotobuf_2fworker_2eproto
51PROTOBUF_NAMESPACE_OPEN
52namespace internal {
53class AnyMetadata;
54} // namespace internal
55PROTOBUF_NAMESPACE_CLOSE
56
57// Internal implementation detail -- do not use these members.
58struct TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto {
59 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
62 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[36]
64 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
65 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
66 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
67 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
68};
69extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
70namespace tensorflow {
71class CleanupAllRequest;
72class CleanupAllRequestDefaultTypeInternal;
73extern CleanupAllRequestDefaultTypeInternal _CleanupAllRequest_default_instance_;
74class CleanupAllResponse;
75class CleanupAllResponseDefaultTypeInternal;
76extern CleanupAllResponseDefaultTypeInternal _CleanupAllResponse_default_instance_;
77class CleanupGraphRequest;
78class CleanupGraphRequestDefaultTypeInternal;
79extern CleanupGraphRequestDefaultTypeInternal _CleanupGraphRequest_default_instance_;
80class CleanupGraphResponse;
81class CleanupGraphResponseDefaultTypeInternal;
82extern CleanupGraphResponseDefaultTypeInternal _CleanupGraphResponse_default_instance_;
83class CompleteGroupRequest;
84class CompleteGroupRequestDefaultTypeInternal;
85extern CompleteGroupRequestDefaultTypeInternal _CompleteGroupRequest_default_instance_;
86class CompleteGroupResponse;
87class CompleteGroupResponseDefaultTypeInternal;
88extern CompleteGroupResponseDefaultTypeInternal _CompleteGroupResponse_default_instance_;
89class CompleteInstanceRequest;
90class CompleteInstanceRequestDefaultTypeInternal;
91extern CompleteInstanceRequestDefaultTypeInternal _CompleteInstanceRequest_default_instance_;
92class CompleteInstanceResponse;
93class CompleteInstanceResponseDefaultTypeInternal;
94extern CompleteInstanceResponseDefaultTypeInternal _CompleteInstanceResponse_default_instance_;
95class CreateWorkerSessionRequest;
96class CreateWorkerSessionRequestDefaultTypeInternal;
97extern CreateWorkerSessionRequestDefaultTypeInternal _CreateWorkerSessionRequest_default_instance_;
98class CreateWorkerSessionResponse;
99class CreateWorkerSessionResponseDefaultTypeInternal;
100extern CreateWorkerSessionResponseDefaultTypeInternal _CreateWorkerSessionResponse_default_instance_;
101class DeleteWorkerSessionRequest;
102class DeleteWorkerSessionRequestDefaultTypeInternal;
103extern DeleteWorkerSessionRequestDefaultTypeInternal _DeleteWorkerSessionRequest_default_instance_;
104class DeleteWorkerSessionResponse;
105class DeleteWorkerSessionResponseDefaultTypeInternal;
106extern DeleteWorkerSessionResponseDefaultTypeInternal _DeleteWorkerSessionResponse_default_instance_;
107class DeregisterGraphRequest;
108class DeregisterGraphRequestDefaultTypeInternal;
109extern DeregisterGraphRequestDefaultTypeInternal _DeregisterGraphRequest_default_instance_;
110class DeregisterGraphResponse;
111class DeregisterGraphResponseDefaultTypeInternal;
112extern DeregisterGraphResponseDefaultTypeInternal _DeregisterGraphResponse_default_instance_;
113class ExecutorOpts;
114class ExecutorOptsDefaultTypeInternal;
115extern ExecutorOptsDefaultTypeInternal _ExecutorOpts_default_instance_;
116class GetStatusRequest;
117class GetStatusRequestDefaultTypeInternal;
118extern GetStatusRequestDefaultTypeInternal _GetStatusRequest_default_instance_;
119class GetStatusResponse;
120class GetStatusResponseDefaultTypeInternal;
121extern GetStatusResponseDefaultTypeInternal _GetStatusResponse_default_instance_;
122class GetStepSequenceRequest;
123class GetStepSequenceRequestDefaultTypeInternal;
124extern GetStepSequenceRequestDefaultTypeInternal _GetStepSequenceRequest_default_instance_;
125class GetStepSequenceResponse;
126class GetStepSequenceResponseDefaultTypeInternal;
127extern GetStepSequenceResponseDefaultTypeInternal _GetStepSequenceResponse_default_instance_;
128class LabeledStepStats;
129class LabeledStepStatsDefaultTypeInternal;
130extern LabeledStepStatsDefaultTypeInternal _LabeledStepStats_default_instance_;
131class LoggingRequest;
132class LoggingRequestDefaultTypeInternal;
133extern LoggingRequestDefaultTypeInternal _LoggingRequest_default_instance_;
134class LoggingResponse;
135class LoggingResponseDefaultTypeInternal;
136extern LoggingResponseDefaultTypeInternal _LoggingResponse_default_instance_;
137class MarkRecvFinishedRequest;
138class MarkRecvFinishedRequestDefaultTypeInternal;
139extern MarkRecvFinishedRequestDefaultTypeInternal _MarkRecvFinishedRequest_default_instance_;
140class MarkRecvFinishedResponse;
141class MarkRecvFinishedResponseDefaultTypeInternal;
142extern MarkRecvFinishedResponseDefaultTypeInternal _MarkRecvFinishedResponse_default_instance_;
143class RecvBufRequest;
144class RecvBufRequestDefaultTypeInternal;
145extern RecvBufRequestDefaultTypeInternal _RecvBufRequest_default_instance_;
146class RecvBufResponse;
147class RecvBufResponseDefaultTypeInternal;
148extern RecvBufResponseDefaultTypeInternal _RecvBufResponse_default_instance_;
149class RecvTensorRequest;
150class RecvTensorRequestDefaultTypeInternal;
151extern RecvTensorRequestDefaultTypeInternal _RecvTensorRequest_default_instance_;
152class RecvTensorResponse;
153class RecvTensorResponseDefaultTypeInternal;
154extern RecvTensorResponseDefaultTypeInternal _RecvTensorResponse_default_instance_;
155class RegisterGraphRequest;
156class RegisterGraphRequestDefaultTypeInternal;
157extern RegisterGraphRequestDefaultTypeInternal _RegisterGraphRequest_default_instance_;
158class RegisterGraphResponse;
159class RegisterGraphResponseDefaultTypeInternal;
160extern RegisterGraphResponseDefaultTypeInternal _RegisterGraphResponse_default_instance_;
161class RunGraphRequest;
162class RunGraphRequestDefaultTypeInternal;
163extern RunGraphRequestDefaultTypeInternal _RunGraphRequest_default_instance_;
164class RunGraphResponse;
165class RunGraphResponseDefaultTypeInternal;
166extern RunGraphResponseDefaultTypeInternal _RunGraphResponse_default_instance_;
167class StepSequence;
168class StepSequenceDefaultTypeInternal;
169extern StepSequenceDefaultTypeInternal _StepSequence_default_instance_;
170class TraceOpts;
171class TraceOptsDefaultTypeInternal;
172extern TraceOptsDefaultTypeInternal _TraceOpts_default_instance_;
173class TracingRequest;
174class TracingRequestDefaultTypeInternal;
175extern TracingRequestDefaultTypeInternal _TracingRequest_default_instance_;
176class TracingResponse;
177class TracingResponseDefaultTypeInternal;
178extern TracingResponseDefaultTypeInternal _TracingResponse_default_instance_;
179} // namespace tensorflow
180PROTOBUF_NAMESPACE_OPEN
181template<> ::tensorflow::CleanupAllRequest* Arena::CreateMaybeMessage<::tensorflow::CleanupAllRequest>(Arena*);
182template<> ::tensorflow::CleanupAllResponse* Arena::CreateMaybeMessage<::tensorflow::CleanupAllResponse>(Arena*);
183template<> ::tensorflow::CleanupGraphRequest* Arena::CreateMaybeMessage<::tensorflow::CleanupGraphRequest>(Arena*);
184template<> ::tensorflow::CleanupGraphResponse* Arena::CreateMaybeMessage<::tensorflow::CleanupGraphResponse>(Arena*);
185template<> ::tensorflow::CompleteGroupRequest* Arena::CreateMaybeMessage<::tensorflow::CompleteGroupRequest>(Arena*);
186template<> ::tensorflow::CompleteGroupResponse* Arena::CreateMaybeMessage<::tensorflow::CompleteGroupResponse>(Arena*);
187template<> ::tensorflow::CompleteInstanceRequest* Arena::CreateMaybeMessage<::tensorflow::CompleteInstanceRequest>(Arena*);
188template<> ::tensorflow::CompleteInstanceResponse* Arena::CreateMaybeMessage<::tensorflow::CompleteInstanceResponse>(Arena*);
189template<> ::tensorflow::CreateWorkerSessionRequest* Arena::CreateMaybeMessage<::tensorflow::CreateWorkerSessionRequest>(Arena*);
190template<> ::tensorflow::CreateWorkerSessionResponse* Arena::CreateMaybeMessage<::tensorflow::CreateWorkerSessionResponse>(Arena*);
191template<> ::tensorflow::DeleteWorkerSessionRequest* Arena::CreateMaybeMessage<::tensorflow::DeleteWorkerSessionRequest>(Arena*);
192template<> ::tensorflow::DeleteWorkerSessionResponse* Arena::CreateMaybeMessage<::tensorflow::DeleteWorkerSessionResponse>(Arena*);
193template<> ::tensorflow::DeregisterGraphRequest* Arena::CreateMaybeMessage<::tensorflow::DeregisterGraphRequest>(Arena*);
194template<> ::tensorflow::DeregisterGraphResponse* Arena::CreateMaybeMessage<::tensorflow::DeregisterGraphResponse>(Arena*);
195template<> ::tensorflow::ExecutorOpts* Arena::CreateMaybeMessage<::tensorflow::ExecutorOpts>(Arena*);
196template<> ::tensorflow::GetStatusRequest* Arena::CreateMaybeMessage<::tensorflow::GetStatusRequest>(Arena*);
197template<> ::tensorflow::GetStatusResponse* Arena::CreateMaybeMessage<::tensorflow::GetStatusResponse>(Arena*);
198template<> ::tensorflow::GetStepSequenceRequest* Arena::CreateMaybeMessage<::tensorflow::GetStepSequenceRequest>(Arena*);
199template<> ::tensorflow::GetStepSequenceResponse* Arena::CreateMaybeMessage<::tensorflow::GetStepSequenceResponse>(Arena*);
200template<> ::tensorflow::LabeledStepStats* Arena::CreateMaybeMessage<::tensorflow::LabeledStepStats>(Arena*);
201template<> ::tensorflow::LoggingRequest* Arena::CreateMaybeMessage<::tensorflow::LoggingRequest>(Arena*);
202template<> ::tensorflow::LoggingResponse* Arena::CreateMaybeMessage<::tensorflow::LoggingResponse>(Arena*);
203template<> ::tensorflow::MarkRecvFinishedRequest* Arena::CreateMaybeMessage<::tensorflow::MarkRecvFinishedRequest>(Arena*);
204template<> ::tensorflow::MarkRecvFinishedResponse* Arena::CreateMaybeMessage<::tensorflow::MarkRecvFinishedResponse>(Arena*);
205template<> ::tensorflow::RecvBufRequest* Arena::CreateMaybeMessage<::tensorflow::RecvBufRequest>(Arena*);
206template<> ::tensorflow::RecvBufResponse* Arena::CreateMaybeMessage<::tensorflow::RecvBufResponse>(Arena*);
207template<> ::tensorflow::RecvTensorRequest* Arena::CreateMaybeMessage<::tensorflow::RecvTensorRequest>(Arena*);
208template<> ::tensorflow::RecvTensorResponse* Arena::CreateMaybeMessage<::tensorflow::RecvTensorResponse>(Arena*);
209template<> ::tensorflow::RegisterGraphRequest* Arena::CreateMaybeMessage<::tensorflow::RegisterGraphRequest>(Arena*);
210template<> ::tensorflow::RegisterGraphResponse* Arena::CreateMaybeMessage<::tensorflow::RegisterGraphResponse>(Arena*);
211template<> ::tensorflow::RunGraphRequest* Arena::CreateMaybeMessage<::tensorflow::RunGraphRequest>(Arena*);
212template<> ::tensorflow::RunGraphResponse* Arena::CreateMaybeMessage<::tensorflow::RunGraphResponse>(Arena*);
213template<> ::tensorflow::StepSequence* Arena::CreateMaybeMessage<::tensorflow::StepSequence>(Arena*);
214template<> ::tensorflow::TraceOpts* Arena::CreateMaybeMessage<::tensorflow::TraceOpts>(Arena*);
215template<> ::tensorflow::TracingRequest* Arena::CreateMaybeMessage<::tensorflow::TracingRequest>(Arena*);
216template<> ::tensorflow::TracingResponse* Arena::CreateMaybeMessage<::tensorflow::TracingResponse>(Arena*);
217PROTOBUF_NAMESPACE_CLOSE
218namespace tensorflow {
219
220// ===================================================================
221
222class GetStatusRequest :
223 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.GetStatusRequest) */ {
224 public:
225 GetStatusRequest();
226 virtual ~GetStatusRequest();
227
228 GetStatusRequest(const GetStatusRequest& from);
229 GetStatusRequest(GetStatusRequest&& from) noexcept
230 : GetStatusRequest() {
231 *this = ::std::move(from);
232 }
233
234 inline GetStatusRequest& operator=(const GetStatusRequest& from) {
235 CopyFrom(from);
236 return *this;
237 }
238 inline GetStatusRequest& operator=(GetStatusRequest&& from) noexcept {
239 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
240 if (this != &from) InternalSwap(&from);
241 } else {
242 CopyFrom(from);
243 }
244 return *this;
245 }
246
247 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
248 return GetArenaNoVirtual();
249 }
250 inline void* GetMaybeArenaPointer() const final {
251 return MaybeArenaPtr();
252 }
253 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
254 return GetDescriptor();
255 }
256 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
257 return GetMetadataStatic().descriptor;
258 }
259 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
260 return GetMetadataStatic().reflection;
261 }
262 static const GetStatusRequest& default_instance();
263
264 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
265 static inline const GetStatusRequest* internal_default_instance() {
266 return reinterpret_cast<const GetStatusRequest*>(
267 &_GetStatusRequest_default_instance_);
268 }
269 static constexpr int kIndexInFileMessages =
270 0;
271
272 friend void swap(GetStatusRequest& a, GetStatusRequest& b) {
273 a.Swap(&b);
274 }
275 inline void Swap(GetStatusRequest* other) {
276 if (other == this) return;
277 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
278 InternalSwap(other);
279 } else {
280 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
281 }
282 }
283 void UnsafeArenaSwap(GetStatusRequest* other) {
284 if (other == this) return;
285 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
286 InternalSwap(other);
287 }
288
289 // implements Message ----------------------------------------------
290
291 inline GetStatusRequest* New() const final {
292 return CreateMaybeMessage<GetStatusRequest>(nullptr);
293 }
294
295 GetStatusRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
296 return CreateMaybeMessage<GetStatusRequest>(arena);
297 }
298 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
299 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
300 void CopyFrom(const GetStatusRequest& from);
301 void MergeFrom(const GetStatusRequest& from);
302 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
303 bool IsInitialized() const final;
304
305 size_t ByteSizeLong() const final;
306 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
307 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
308 #else
309 bool MergePartialFromCodedStream(
310 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
311 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
312 void SerializeWithCachedSizes(
313 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
314 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
315 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
316 int GetCachedSize() const final { return _cached_size_.Get(); }
317
318 private:
319 inline void SharedCtor();
320 inline void SharedDtor();
321 void SetCachedSize(int size) const final;
322 void InternalSwap(GetStatusRequest* other);
323 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
324 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
325 return "tensorflow.GetStatusRequest";
326 }
327 protected:
328 explicit GetStatusRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
329 private:
330 static void ArenaDtor(void* object);
331 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
332 private:
333 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
334 return _internal_metadata_.arena();
335 }
336 inline void* MaybeArenaPtr() const {
337 return _internal_metadata_.raw_arena_ptr();
338 }
339 public:
340
341 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
342 private:
343 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
344 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
345 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
346 }
347
348 public:
349
350 // nested types ----------------------------------------------------
351
352 // accessors -------------------------------------------------------
353
354 // @@protoc_insertion_point(class_scope:tensorflow.GetStatusRequest)
355 private:
356 class _Internal;
357
358 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
359 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
360 typedef void InternalArenaConstructable_;
361 typedef void DestructorSkippable_;
362 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
363 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
364};
365// -------------------------------------------------------------------
366
367class GetStatusResponse :
368 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.GetStatusResponse) */ {
369 public:
370 GetStatusResponse();
371 virtual ~GetStatusResponse();
372
373 GetStatusResponse(const GetStatusResponse& from);
374 GetStatusResponse(GetStatusResponse&& from) noexcept
375 : GetStatusResponse() {
376 *this = ::std::move(from);
377 }
378
379 inline GetStatusResponse& operator=(const GetStatusResponse& from) {
380 CopyFrom(from);
381 return *this;
382 }
383 inline GetStatusResponse& operator=(GetStatusResponse&& from) noexcept {
384 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
385 if (this != &from) InternalSwap(&from);
386 } else {
387 CopyFrom(from);
388 }
389 return *this;
390 }
391
392 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
393 return GetArenaNoVirtual();
394 }
395 inline void* GetMaybeArenaPointer() const final {
396 return MaybeArenaPtr();
397 }
398 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
399 return GetDescriptor();
400 }
401 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
402 return GetMetadataStatic().descriptor;
403 }
404 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
405 return GetMetadataStatic().reflection;
406 }
407 static const GetStatusResponse& default_instance();
408
409 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
410 static inline const GetStatusResponse* internal_default_instance() {
411 return reinterpret_cast<const GetStatusResponse*>(
412 &_GetStatusResponse_default_instance_);
413 }
414 static constexpr int kIndexInFileMessages =
415 1;
416
417 friend void swap(GetStatusResponse& a, GetStatusResponse& b) {
418 a.Swap(&b);
419 }
420 inline void Swap(GetStatusResponse* other) {
421 if (other == this) return;
422 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
423 InternalSwap(other);
424 } else {
425 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
426 }
427 }
428 void UnsafeArenaSwap(GetStatusResponse* other) {
429 if (other == this) return;
430 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
431 InternalSwap(other);
432 }
433
434 // implements Message ----------------------------------------------
435
436 inline GetStatusResponse* New() const final {
437 return CreateMaybeMessage<GetStatusResponse>(nullptr);
438 }
439
440 GetStatusResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
441 return CreateMaybeMessage<GetStatusResponse>(arena);
442 }
443 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
444 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
445 void CopyFrom(const GetStatusResponse& from);
446 void MergeFrom(const GetStatusResponse& from);
447 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
448 bool IsInitialized() const final;
449
450 size_t ByteSizeLong() const final;
451 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
452 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
453 #else
454 bool MergePartialFromCodedStream(
455 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
456 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
457 void SerializeWithCachedSizes(
458 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
459 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
460 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
461 int GetCachedSize() const final { return _cached_size_.Get(); }
462
463 private:
464 inline void SharedCtor();
465 inline void SharedDtor();
466 void SetCachedSize(int size) const final;
467 void InternalSwap(GetStatusResponse* other);
468 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
469 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
470 return "tensorflow.GetStatusResponse";
471 }
472 protected:
473 explicit GetStatusResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
474 private:
475 static void ArenaDtor(void* object);
476 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
477 private:
478 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
479 return _internal_metadata_.arena();
480 }
481 inline void* MaybeArenaPtr() const {
482 return _internal_metadata_.raw_arena_ptr();
483 }
484 public:
485
486 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
487 private:
488 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
489 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
490 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
491 }
492
493 public:
494
495 // nested types ----------------------------------------------------
496
497 // accessors -------------------------------------------------------
498
499 enum : int {
500 kDeviceAttributesFieldNumber = 1,
501 };
502 // repeated .tensorflow.DeviceAttributes device_attributes = 1;
503 int device_attributes_size() const;
504 void clear_device_attributes();
505 ::tensorflow::DeviceAttributes* mutable_device_attributes(int index);
506 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >*
507 mutable_device_attributes();
508 const ::tensorflow::DeviceAttributes& device_attributes(int index) const;
509 ::tensorflow::DeviceAttributes* add_device_attributes();
510 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >&
511 device_attributes() const;
512
513 // @@protoc_insertion_point(class_scope:tensorflow.GetStatusResponse)
514 private:
515 class _Internal;
516
517 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
518 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
519 typedef void InternalArenaConstructable_;
520 typedef void DestructorSkippable_;
521 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes > device_attributes_;
522 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
523 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
524};
525// -------------------------------------------------------------------
526
527class CreateWorkerSessionRequest :
528 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CreateWorkerSessionRequest) */ {
529 public:
530 CreateWorkerSessionRequest();
531 virtual ~CreateWorkerSessionRequest();
532
533 CreateWorkerSessionRequest(const CreateWorkerSessionRequest& from);
534 CreateWorkerSessionRequest(CreateWorkerSessionRequest&& from) noexcept
535 : CreateWorkerSessionRequest() {
536 *this = ::std::move(from);
537 }
538
539 inline CreateWorkerSessionRequest& operator=(const CreateWorkerSessionRequest& from) {
540 CopyFrom(from);
541 return *this;
542 }
543 inline CreateWorkerSessionRequest& operator=(CreateWorkerSessionRequest&& from) noexcept {
544 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
545 if (this != &from) InternalSwap(&from);
546 } else {
547 CopyFrom(from);
548 }
549 return *this;
550 }
551
552 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
553 return GetArenaNoVirtual();
554 }
555 inline void* GetMaybeArenaPointer() const final {
556 return MaybeArenaPtr();
557 }
558 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
559 return GetDescriptor();
560 }
561 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
562 return GetMetadataStatic().descriptor;
563 }
564 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
565 return GetMetadataStatic().reflection;
566 }
567 static const CreateWorkerSessionRequest& default_instance();
568
569 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
570 static inline const CreateWorkerSessionRequest* internal_default_instance() {
571 return reinterpret_cast<const CreateWorkerSessionRequest*>(
572 &_CreateWorkerSessionRequest_default_instance_);
573 }
574 static constexpr int kIndexInFileMessages =
575 2;
576
577 friend void swap(CreateWorkerSessionRequest& a, CreateWorkerSessionRequest& b) {
578 a.Swap(&b);
579 }
580 inline void Swap(CreateWorkerSessionRequest* other) {
581 if (other == this) return;
582 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
583 InternalSwap(other);
584 } else {
585 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
586 }
587 }
588 void UnsafeArenaSwap(CreateWorkerSessionRequest* other) {
589 if (other == this) return;
590 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
591 InternalSwap(other);
592 }
593
594 // implements Message ----------------------------------------------
595
596 inline CreateWorkerSessionRequest* New() const final {
597 return CreateMaybeMessage<CreateWorkerSessionRequest>(nullptr);
598 }
599
600 CreateWorkerSessionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
601 return CreateMaybeMessage<CreateWorkerSessionRequest>(arena);
602 }
603 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
604 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
605 void CopyFrom(const CreateWorkerSessionRequest& from);
606 void MergeFrom(const CreateWorkerSessionRequest& from);
607 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
608 bool IsInitialized() const final;
609
610 size_t ByteSizeLong() const final;
611 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
612 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
613 #else
614 bool MergePartialFromCodedStream(
615 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
616 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
617 void SerializeWithCachedSizes(
618 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
619 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
620 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
621 int GetCachedSize() const final { return _cached_size_.Get(); }
622
623 private:
624 inline void SharedCtor();
625 inline void SharedDtor();
626 void SetCachedSize(int size) const final;
627 void InternalSwap(CreateWorkerSessionRequest* other);
628 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
629 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
630 return "tensorflow.CreateWorkerSessionRequest";
631 }
632 protected:
633 explicit CreateWorkerSessionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
634 private:
635 static void ArenaDtor(void* object);
636 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
637 private:
638 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
639 return _internal_metadata_.arena();
640 }
641 inline void* MaybeArenaPtr() const {
642 return _internal_metadata_.raw_arena_ptr();
643 }
644 public:
645
646 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
647 private:
648 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
649 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
650 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
651 }
652
653 public:
654
655 // nested types ----------------------------------------------------
656
657 // accessors -------------------------------------------------------
658
659 enum : int {
660 kClusterDeviceAttributesFieldNumber = 4,
661 kSessionHandleFieldNumber = 1,
662 kMasterTaskFieldNumber = 5,
663 kServerDefFieldNumber = 2,
664 kMasterIncarnationFieldNumber = 6,
665 kIsolateSessionStateFieldNumber = 3,
666 };
667 // repeated .tensorflow.DeviceAttributes cluster_device_attributes = 4;
668 int cluster_device_attributes_size() const;
669 void clear_cluster_device_attributes();
670 ::tensorflow::DeviceAttributes* mutable_cluster_device_attributes(int index);
671 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >*
672 mutable_cluster_device_attributes();
673 const ::tensorflow::DeviceAttributes& cluster_device_attributes(int index) const;
674 ::tensorflow::DeviceAttributes* add_cluster_device_attributes();
675 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >&
676 cluster_device_attributes() const;
677
678 // string session_handle = 1;
679 void clear_session_handle();
680 const std::string& session_handle() const;
681 void set_session_handle(const std::string& value);
682 void set_session_handle(std::string&& value);
683 void set_session_handle(const char* value);
684 void set_session_handle(const char* value, size_t size);
685 std::string* mutable_session_handle();
686 std::string* release_session_handle();
687 void set_allocated_session_handle(std::string* session_handle);
688 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
689 " string fields are deprecated and will be removed in a"
690 " future release.")
691 std::string* unsafe_arena_release_session_handle();
692 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
693 " string fields are deprecated and will be removed in a"
694 " future release.")
695 void unsafe_arena_set_allocated_session_handle(
696 std::string* session_handle);
697
698 // string master_task = 5;
699 void clear_master_task();
700 const std::string& master_task() const;
701 void set_master_task(const std::string& value);
702 void set_master_task(std::string&& value);
703 void set_master_task(const char* value);
704 void set_master_task(const char* value, size_t size);
705 std::string* mutable_master_task();
706 std::string* release_master_task();
707 void set_allocated_master_task(std::string* master_task);
708 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
709 " string fields are deprecated and will be removed in a"
710 " future release.")
711 std::string* unsafe_arena_release_master_task();
712 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
713 " string fields are deprecated and will be removed in a"
714 " future release.")
715 void unsafe_arena_set_allocated_master_task(
716 std::string* master_task);
717
718 // .tensorflow.ServerDef server_def = 2;
719 bool has_server_def() const;
720 void clear_server_def();
721 const ::tensorflow::ServerDef& server_def() const;
722 ::tensorflow::ServerDef* release_server_def();
723 ::tensorflow::ServerDef* mutable_server_def();
724 void set_allocated_server_def(::tensorflow::ServerDef* server_def);
725 void unsafe_arena_set_allocated_server_def(
726 ::tensorflow::ServerDef* server_def);
727 ::tensorflow::ServerDef* unsafe_arena_release_server_def();
728
729 // int64 master_incarnation = 6;
730 void clear_master_incarnation();
731 ::PROTOBUF_NAMESPACE_ID::int64 master_incarnation() const;
732 void set_master_incarnation(::PROTOBUF_NAMESPACE_ID::int64 value);
733
734 // bool isolate_session_state = 3;
735 void clear_isolate_session_state();
736 bool isolate_session_state() const;
737 void set_isolate_session_state(bool value);
738
739 // @@protoc_insertion_point(class_scope:tensorflow.CreateWorkerSessionRequest)
740 private:
741 class _Internal;
742
743 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
744 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
745 typedef void InternalArenaConstructable_;
746 typedef void DestructorSkippable_;
747 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes > cluster_device_attributes_;
748 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_handle_;
749 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr master_task_;
750 ::tensorflow::ServerDef* server_def_;
751 ::PROTOBUF_NAMESPACE_ID::int64 master_incarnation_;
752 bool isolate_session_state_;
753 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
754 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
755};
756// -------------------------------------------------------------------
757
758class CreateWorkerSessionResponse :
759 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CreateWorkerSessionResponse) */ {
760 public:
761 CreateWorkerSessionResponse();
762 virtual ~CreateWorkerSessionResponse();
763
764 CreateWorkerSessionResponse(const CreateWorkerSessionResponse& from);
765 CreateWorkerSessionResponse(CreateWorkerSessionResponse&& from) noexcept
766 : CreateWorkerSessionResponse() {
767 *this = ::std::move(from);
768 }
769
770 inline CreateWorkerSessionResponse& operator=(const CreateWorkerSessionResponse& from) {
771 CopyFrom(from);
772 return *this;
773 }
774 inline CreateWorkerSessionResponse& operator=(CreateWorkerSessionResponse&& from) noexcept {
775 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
776 if (this != &from) InternalSwap(&from);
777 } else {
778 CopyFrom(from);
779 }
780 return *this;
781 }
782
783 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
784 return GetArenaNoVirtual();
785 }
786 inline void* GetMaybeArenaPointer() const final {
787 return MaybeArenaPtr();
788 }
789 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
790 return GetDescriptor();
791 }
792 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
793 return GetMetadataStatic().descriptor;
794 }
795 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
796 return GetMetadataStatic().reflection;
797 }
798 static const CreateWorkerSessionResponse& default_instance();
799
800 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
801 static inline const CreateWorkerSessionResponse* internal_default_instance() {
802 return reinterpret_cast<const CreateWorkerSessionResponse*>(
803 &_CreateWorkerSessionResponse_default_instance_);
804 }
805 static constexpr int kIndexInFileMessages =
806 3;
807
808 friend void swap(CreateWorkerSessionResponse& a, CreateWorkerSessionResponse& b) {
809 a.Swap(&b);
810 }
811 inline void Swap(CreateWorkerSessionResponse* other) {
812 if (other == this) return;
813 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
814 InternalSwap(other);
815 } else {
816 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
817 }
818 }
819 void UnsafeArenaSwap(CreateWorkerSessionResponse* other) {
820 if (other == this) return;
821 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
822 InternalSwap(other);
823 }
824
825 // implements Message ----------------------------------------------
826
827 inline CreateWorkerSessionResponse* New() const final {
828 return CreateMaybeMessage<CreateWorkerSessionResponse>(nullptr);
829 }
830
831 CreateWorkerSessionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
832 return CreateMaybeMessage<CreateWorkerSessionResponse>(arena);
833 }
834 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
835 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
836 void CopyFrom(const CreateWorkerSessionResponse& from);
837 void MergeFrom(const CreateWorkerSessionResponse& from);
838 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
839 bool IsInitialized() const final;
840
841 size_t ByteSizeLong() const final;
842 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
843 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
844 #else
845 bool MergePartialFromCodedStream(
846 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
847 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
848 void SerializeWithCachedSizes(
849 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
850 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
851 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
852 int GetCachedSize() const final { return _cached_size_.Get(); }
853
854 private:
855 inline void SharedCtor();
856 inline void SharedDtor();
857 void SetCachedSize(int size) const final;
858 void InternalSwap(CreateWorkerSessionResponse* other);
859 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
860 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
861 return "tensorflow.CreateWorkerSessionResponse";
862 }
863 protected:
864 explicit CreateWorkerSessionResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
865 private:
866 static void ArenaDtor(void* object);
867 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
868 private:
869 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
870 return _internal_metadata_.arena();
871 }
872 inline void* MaybeArenaPtr() const {
873 return _internal_metadata_.raw_arena_ptr();
874 }
875 public:
876
877 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
878 private:
879 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
880 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
881 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
882 }
883
884 public:
885
886 // nested types ----------------------------------------------------
887
888 // accessors -------------------------------------------------------
889
890 // @@protoc_insertion_point(class_scope:tensorflow.CreateWorkerSessionResponse)
891 private:
892 class _Internal;
893
894 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
895 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
896 typedef void InternalArenaConstructable_;
897 typedef void DestructorSkippable_;
898 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
899 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
900};
901// -------------------------------------------------------------------
902
903class DeleteWorkerSessionRequest :
904 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.DeleteWorkerSessionRequest) */ {
905 public:
906 DeleteWorkerSessionRequest();
907 virtual ~DeleteWorkerSessionRequest();
908
909 DeleteWorkerSessionRequest(const DeleteWorkerSessionRequest& from);
910 DeleteWorkerSessionRequest(DeleteWorkerSessionRequest&& from) noexcept
911 : DeleteWorkerSessionRequest() {
912 *this = ::std::move(from);
913 }
914
915 inline DeleteWorkerSessionRequest& operator=(const DeleteWorkerSessionRequest& from) {
916 CopyFrom(from);
917 return *this;
918 }
919 inline DeleteWorkerSessionRequest& operator=(DeleteWorkerSessionRequest&& from) noexcept {
920 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
921 if (this != &from) InternalSwap(&from);
922 } else {
923 CopyFrom(from);
924 }
925 return *this;
926 }
927
928 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
929 return GetArenaNoVirtual();
930 }
931 inline void* GetMaybeArenaPointer() const final {
932 return MaybeArenaPtr();
933 }
934 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
935 return GetDescriptor();
936 }
937 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
938 return GetMetadataStatic().descriptor;
939 }
940 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
941 return GetMetadataStatic().reflection;
942 }
943 static const DeleteWorkerSessionRequest& default_instance();
944
945 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
946 static inline const DeleteWorkerSessionRequest* internal_default_instance() {
947 return reinterpret_cast<const DeleteWorkerSessionRequest*>(
948 &_DeleteWorkerSessionRequest_default_instance_);
949 }
950 static constexpr int kIndexInFileMessages =
951 4;
952
953 friend void swap(DeleteWorkerSessionRequest& a, DeleteWorkerSessionRequest& b) {
954 a.Swap(&b);
955 }
956 inline void Swap(DeleteWorkerSessionRequest* other) {
957 if (other == this) return;
958 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
959 InternalSwap(other);
960 } else {
961 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
962 }
963 }
964 void UnsafeArenaSwap(DeleteWorkerSessionRequest* other) {
965 if (other == this) return;
966 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
967 InternalSwap(other);
968 }
969
970 // implements Message ----------------------------------------------
971
972 inline DeleteWorkerSessionRequest* New() const final {
973 return CreateMaybeMessage<DeleteWorkerSessionRequest>(nullptr);
974 }
975
976 DeleteWorkerSessionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
977 return CreateMaybeMessage<DeleteWorkerSessionRequest>(arena);
978 }
979 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
980 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
981 void CopyFrom(const DeleteWorkerSessionRequest& from);
982 void MergeFrom(const DeleteWorkerSessionRequest& from);
983 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
984 bool IsInitialized() const final;
985
986 size_t ByteSizeLong() const final;
987 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
988 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
989 #else
990 bool MergePartialFromCodedStream(
991 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
992 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
993 void SerializeWithCachedSizes(
994 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
995 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
996 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
997 int GetCachedSize() const final { return _cached_size_.Get(); }
998
999 private:
1000 inline void SharedCtor();
1001 inline void SharedDtor();
1002 void SetCachedSize(int size) const final;
1003 void InternalSwap(DeleteWorkerSessionRequest* other);
1004 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1005 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1006 return "tensorflow.DeleteWorkerSessionRequest";
1007 }
1008 protected:
1009 explicit DeleteWorkerSessionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1010 private:
1011 static void ArenaDtor(void* object);
1012 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1013 private:
1014 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1015 return _internal_metadata_.arena();
1016 }
1017 inline void* MaybeArenaPtr() const {
1018 return _internal_metadata_.raw_arena_ptr();
1019 }
1020 public:
1021
1022 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1023 private:
1024 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1025 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
1026 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
1027 }
1028
1029 public:
1030
1031 // nested types ----------------------------------------------------
1032
1033 // accessors -------------------------------------------------------
1034
1035 enum : int {
1036 kSessionHandleFieldNumber = 1,
1037 };
1038 // string session_handle = 1;
1039 void clear_session_handle();
1040 const std::string& session_handle() const;
1041 void set_session_handle(const std::string& value);
1042 void set_session_handle(std::string&& value);
1043 void set_session_handle(const char* value);
1044 void set_session_handle(const char* value, size_t size);
1045 std::string* mutable_session_handle();
1046 std::string* release_session_handle();
1047 void set_allocated_session_handle(std::string* session_handle);
1048 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1049 " string fields are deprecated and will be removed in a"
1050 " future release.")
1051 std::string* unsafe_arena_release_session_handle();
1052 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1053 " string fields are deprecated and will be removed in a"
1054 " future release.")
1055 void unsafe_arena_set_allocated_session_handle(
1056 std::string* session_handle);
1057
1058 // @@protoc_insertion_point(class_scope:tensorflow.DeleteWorkerSessionRequest)
1059 private:
1060 class _Internal;
1061
1062 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1063 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1064 typedef void InternalArenaConstructable_;
1065 typedef void DestructorSkippable_;
1066 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_handle_;
1067 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1068 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
1069};
1070// -------------------------------------------------------------------
1071
1072class DeleteWorkerSessionResponse :
1073 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.DeleteWorkerSessionResponse) */ {
1074 public:
1075 DeleteWorkerSessionResponse();
1076 virtual ~DeleteWorkerSessionResponse();
1077
1078 DeleteWorkerSessionResponse(const DeleteWorkerSessionResponse& from);
1079 DeleteWorkerSessionResponse(DeleteWorkerSessionResponse&& from) noexcept
1080 : DeleteWorkerSessionResponse() {
1081 *this = ::std::move(from);
1082 }
1083
1084 inline DeleteWorkerSessionResponse& operator=(const DeleteWorkerSessionResponse& from) {
1085 CopyFrom(from);
1086 return *this;
1087 }
1088 inline DeleteWorkerSessionResponse& operator=(DeleteWorkerSessionResponse&& from) noexcept {
1089 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1090 if (this != &from) InternalSwap(&from);
1091 } else {
1092 CopyFrom(from);
1093 }
1094 return *this;
1095 }
1096
1097 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1098 return GetArenaNoVirtual();
1099 }
1100 inline void* GetMaybeArenaPointer() const final {
1101 return MaybeArenaPtr();
1102 }
1103 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1104 return GetDescriptor();
1105 }
1106 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1107 return GetMetadataStatic().descriptor;
1108 }
1109 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1110 return GetMetadataStatic().reflection;
1111 }
1112 static const DeleteWorkerSessionResponse& default_instance();
1113
1114 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1115 static inline const DeleteWorkerSessionResponse* internal_default_instance() {
1116 return reinterpret_cast<const DeleteWorkerSessionResponse*>(
1117 &_DeleteWorkerSessionResponse_default_instance_);
1118 }
1119 static constexpr int kIndexInFileMessages =
1120 5;
1121
1122 friend void swap(DeleteWorkerSessionResponse& a, DeleteWorkerSessionResponse& b) {
1123 a.Swap(&b);
1124 }
1125 inline void Swap(DeleteWorkerSessionResponse* other) {
1126 if (other == this) return;
1127 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1128 InternalSwap(other);
1129 } else {
1130 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1131 }
1132 }
1133 void UnsafeArenaSwap(DeleteWorkerSessionResponse* other) {
1134 if (other == this) return;
1135 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1136 InternalSwap(other);
1137 }
1138
1139 // implements Message ----------------------------------------------
1140
1141 inline DeleteWorkerSessionResponse* New() const final {
1142 return CreateMaybeMessage<DeleteWorkerSessionResponse>(nullptr);
1143 }
1144
1145 DeleteWorkerSessionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1146 return CreateMaybeMessage<DeleteWorkerSessionResponse>(arena);
1147 }
1148 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1149 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1150 void CopyFrom(const DeleteWorkerSessionResponse& from);
1151 void MergeFrom(const DeleteWorkerSessionResponse& from);
1152 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1153 bool IsInitialized() const final;
1154
1155 size_t ByteSizeLong() const final;
1156 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1157 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1158 #else
1159 bool MergePartialFromCodedStream(
1160 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1161 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1162 void SerializeWithCachedSizes(
1163 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1164 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1165 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1166 int GetCachedSize() const final { return _cached_size_.Get(); }
1167
1168 private:
1169 inline void SharedCtor();
1170 inline void SharedDtor();
1171 void SetCachedSize(int size) const final;
1172 void InternalSwap(DeleteWorkerSessionResponse* other);
1173 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1174 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1175 return "tensorflow.DeleteWorkerSessionResponse";
1176 }
1177 protected:
1178 explicit DeleteWorkerSessionResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1179 private:
1180 static void ArenaDtor(void* object);
1181 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1182 private:
1183 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1184 return _internal_metadata_.arena();
1185 }
1186 inline void* MaybeArenaPtr() const {
1187 return _internal_metadata_.raw_arena_ptr();
1188 }
1189 public:
1190
1191 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1192 private:
1193 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1194 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
1195 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
1196 }
1197
1198 public:
1199
1200 // nested types ----------------------------------------------------
1201
1202 // accessors -------------------------------------------------------
1203
1204 // @@protoc_insertion_point(class_scope:tensorflow.DeleteWorkerSessionResponse)
1205 private:
1206 class _Internal;
1207
1208 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1209 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1210 typedef void InternalArenaConstructable_;
1211 typedef void DestructorSkippable_;
1212 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1213 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
1214};
1215// -------------------------------------------------------------------
1216
1217class RegisterGraphRequest :
1218 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.RegisterGraphRequest) */ {
1219 public:
1220 RegisterGraphRequest();
1221 virtual ~RegisterGraphRequest();
1222
1223 RegisterGraphRequest(const RegisterGraphRequest& from);
1224 RegisterGraphRequest(RegisterGraphRequest&& from) noexcept
1225 : RegisterGraphRequest() {
1226 *this = ::std::move(from);
1227 }
1228
1229 inline RegisterGraphRequest& operator=(const RegisterGraphRequest& from) {
1230 CopyFrom(from);
1231 return *this;
1232 }
1233 inline RegisterGraphRequest& operator=(RegisterGraphRequest&& from) noexcept {
1234 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1235 if (this != &from) InternalSwap(&from);
1236 } else {
1237 CopyFrom(from);
1238 }
1239 return *this;
1240 }
1241
1242 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1243 return GetArenaNoVirtual();
1244 }
1245 inline void* GetMaybeArenaPointer() const final {
1246 return MaybeArenaPtr();
1247 }
1248 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1249 return GetDescriptor();
1250 }
1251 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1252 return GetMetadataStatic().descriptor;
1253 }
1254 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1255 return GetMetadataStatic().reflection;
1256 }
1257 static const RegisterGraphRequest& default_instance();
1258
1259 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1260 static inline const RegisterGraphRequest* internal_default_instance() {
1261 return reinterpret_cast<const RegisterGraphRequest*>(
1262 &_RegisterGraphRequest_default_instance_);
1263 }
1264 static constexpr int kIndexInFileMessages =
1265 6;
1266
1267 friend void swap(RegisterGraphRequest& a, RegisterGraphRequest& b) {
1268 a.Swap(&b);
1269 }
1270 inline void Swap(RegisterGraphRequest* other) {
1271 if (other == this) return;
1272 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1273 InternalSwap(other);
1274 } else {
1275 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1276 }
1277 }
1278 void UnsafeArenaSwap(RegisterGraphRequest* other) {
1279 if (other == this) return;
1280 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1281 InternalSwap(other);
1282 }
1283
1284 // implements Message ----------------------------------------------
1285
1286 inline RegisterGraphRequest* New() const final {
1287 return CreateMaybeMessage<RegisterGraphRequest>(nullptr);
1288 }
1289
1290 RegisterGraphRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1291 return CreateMaybeMessage<RegisterGraphRequest>(arena);
1292 }
1293 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1294 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1295 void CopyFrom(const RegisterGraphRequest& from);
1296 void MergeFrom(const RegisterGraphRequest& from);
1297 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1298 bool IsInitialized() const final;
1299
1300 size_t ByteSizeLong() const final;
1301 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1302 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1303 #else
1304 bool MergePartialFromCodedStream(
1305 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1306 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1307 void SerializeWithCachedSizes(
1308 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1309 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1310 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1311 int GetCachedSize() const final { return _cached_size_.Get(); }
1312
1313 private:
1314 inline void SharedCtor();
1315 inline void SharedDtor();
1316 void SetCachedSize(int size) const final;
1317 void InternalSwap(RegisterGraphRequest* other);
1318 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1319 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1320 return "tensorflow.RegisterGraphRequest";
1321 }
1322 protected:
1323 explicit RegisterGraphRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1324 private:
1325 static void ArenaDtor(void* object);
1326 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1327 private:
1328 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1329 return _internal_metadata_.arena();
1330 }
1331 inline void* MaybeArenaPtr() const {
1332 return _internal_metadata_.raw_arena_ptr();
1333 }
1334 public:
1335
1336 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1337 private:
1338 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1339 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
1340 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
1341 }
1342
1343 public:
1344
1345 // nested types ----------------------------------------------------
1346
1347 // accessors -------------------------------------------------------
1348
1349 enum : int {
1350 kSessionHandleFieldNumber = 1,
1351 kGraphDefFieldNumber = 2,
1352 kGraphOptionsFieldNumber = 4,
1353 kDebugOptionsFieldNumber = 5,
1354 kConfigProtoFieldNumber = 8,
1355 kCollectiveGraphKeyFieldNumber = 7,
1356 kCreateWorkerSessionCalledFieldNumber = 6,
1357 kHasControlFlowFieldNumber = 3,
1358 };
1359 // string session_handle = 1;
1360 void clear_session_handle();
1361 const std::string& session_handle() const;
1362 void set_session_handle(const std::string& value);
1363 void set_session_handle(std::string&& value);
1364 void set_session_handle(const char* value);
1365 void set_session_handle(const char* value, size_t size);
1366 std::string* mutable_session_handle();
1367 std::string* release_session_handle();
1368 void set_allocated_session_handle(std::string* session_handle);
1369 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1370 " string fields are deprecated and will be removed in a"
1371 " future release.")
1372 std::string* unsafe_arena_release_session_handle();
1373 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1374 " string fields are deprecated and will be removed in a"
1375 " future release.")
1376 void unsafe_arena_set_allocated_session_handle(
1377 std::string* session_handle);
1378
1379 // .tensorflow.GraphDef graph_def = 2;
1380 bool has_graph_def() const;
1381 void clear_graph_def();
1382 const ::tensorflow::GraphDef& graph_def() const;
1383 ::tensorflow::GraphDef* release_graph_def();
1384 ::tensorflow::GraphDef* mutable_graph_def();
1385 void set_allocated_graph_def(::tensorflow::GraphDef* graph_def);
1386 void unsafe_arena_set_allocated_graph_def(
1387 ::tensorflow::GraphDef* graph_def);
1388 ::tensorflow::GraphDef* unsafe_arena_release_graph_def();
1389
1390 // .tensorflow.GraphOptions graph_options = 4;
1391 bool has_graph_options() const;
1392 void clear_graph_options();
1393 const ::tensorflow::GraphOptions& graph_options() const;
1394 ::tensorflow::GraphOptions* release_graph_options();
1395 ::tensorflow::GraphOptions* mutable_graph_options();
1396 void set_allocated_graph_options(::tensorflow::GraphOptions* graph_options);
1397 void unsafe_arena_set_allocated_graph_options(
1398 ::tensorflow::GraphOptions* graph_options);
1399 ::tensorflow::GraphOptions* unsafe_arena_release_graph_options();
1400
1401 // .tensorflow.DebugOptions debug_options = 5;
1402 bool has_debug_options() const;
1403 void clear_debug_options();
1404 const ::tensorflow::DebugOptions& debug_options() const;
1405 ::tensorflow::DebugOptions* release_debug_options();
1406 ::tensorflow::DebugOptions* mutable_debug_options();
1407 void set_allocated_debug_options(::tensorflow::DebugOptions* debug_options);
1408 void unsafe_arena_set_allocated_debug_options(
1409 ::tensorflow::DebugOptions* debug_options);
1410 ::tensorflow::DebugOptions* unsafe_arena_release_debug_options();
1411
1412 // .tensorflow.ConfigProto config_proto = 8;
1413 bool has_config_proto() const;
1414 void clear_config_proto();
1415 const ::tensorflow::ConfigProto& config_proto() const;
1416 ::tensorflow::ConfigProto* release_config_proto();
1417 ::tensorflow::ConfigProto* mutable_config_proto();
1418 void set_allocated_config_proto(::tensorflow::ConfigProto* config_proto);
1419 void unsafe_arena_set_allocated_config_proto(
1420 ::tensorflow::ConfigProto* config_proto);
1421 ::tensorflow::ConfigProto* unsafe_arena_release_config_proto();
1422
1423 // int64 collective_graph_key = 7;
1424 void clear_collective_graph_key();
1425 ::PROTOBUF_NAMESPACE_ID::int64 collective_graph_key() const;
1426 void set_collective_graph_key(::PROTOBUF_NAMESPACE_ID::int64 value);
1427
1428 // bool create_worker_session_called = 6;
1429 void clear_create_worker_session_called();
1430 bool create_worker_session_called() const;
1431 void set_create_worker_session_called(bool value);
1432
1433 // bool has_control_flow = 3 [deprecated = true];
1434 PROTOBUF_DEPRECATED void clear_has_control_flow();
1435 PROTOBUF_DEPRECATED bool has_control_flow() const;
1436 PROTOBUF_DEPRECATED void set_has_control_flow(bool value);
1437
1438 // @@protoc_insertion_point(class_scope:tensorflow.RegisterGraphRequest)
1439 private:
1440 class _Internal;
1441
1442 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1443 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1444 typedef void InternalArenaConstructable_;
1445 typedef void DestructorSkippable_;
1446 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_handle_;
1447 ::tensorflow::GraphDef* graph_def_;
1448 ::tensorflow::GraphOptions* graph_options_;
1449 ::tensorflow::DebugOptions* debug_options_;
1450 ::tensorflow::ConfigProto* config_proto_;
1451 ::PROTOBUF_NAMESPACE_ID::int64 collective_graph_key_;
1452 bool create_worker_session_called_;
1453 bool has_control_flow_;
1454 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1455 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
1456};
1457// -------------------------------------------------------------------
1458
1459class RegisterGraphResponse :
1460 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.RegisterGraphResponse) */ {
1461 public:
1462 RegisterGraphResponse();
1463 virtual ~RegisterGraphResponse();
1464
1465 RegisterGraphResponse(const RegisterGraphResponse& from);
1466 RegisterGraphResponse(RegisterGraphResponse&& from) noexcept
1467 : RegisterGraphResponse() {
1468 *this = ::std::move(from);
1469 }
1470
1471 inline RegisterGraphResponse& operator=(const RegisterGraphResponse& from) {
1472 CopyFrom(from);
1473 return *this;
1474 }
1475 inline RegisterGraphResponse& operator=(RegisterGraphResponse&& from) noexcept {
1476 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1477 if (this != &from) InternalSwap(&from);
1478 } else {
1479 CopyFrom(from);
1480 }
1481 return *this;
1482 }
1483
1484 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1485 return GetArenaNoVirtual();
1486 }
1487 inline void* GetMaybeArenaPointer() const final {
1488 return MaybeArenaPtr();
1489 }
1490 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1491 return GetDescriptor();
1492 }
1493 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1494 return GetMetadataStatic().descriptor;
1495 }
1496 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1497 return GetMetadataStatic().reflection;
1498 }
1499 static const RegisterGraphResponse& default_instance();
1500
1501 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1502 static inline const RegisterGraphResponse* internal_default_instance() {
1503 return reinterpret_cast<const RegisterGraphResponse*>(
1504 &_RegisterGraphResponse_default_instance_);
1505 }
1506 static constexpr int kIndexInFileMessages =
1507 7;
1508
1509 friend void swap(RegisterGraphResponse& a, RegisterGraphResponse& b) {
1510 a.Swap(&b);
1511 }
1512 inline void Swap(RegisterGraphResponse* other) {
1513 if (other == this) return;
1514 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1515 InternalSwap(other);
1516 } else {
1517 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1518 }
1519 }
1520 void UnsafeArenaSwap(RegisterGraphResponse* other) {
1521 if (other == this) return;
1522 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1523 InternalSwap(other);
1524 }
1525
1526 // implements Message ----------------------------------------------
1527
1528 inline RegisterGraphResponse* New() const final {
1529 return CreateMaybeMessage<RegisterGraphResponse>(nullptr);
1530 }
1531
1532 RegisterGraphResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1533 return CreateMaybeMessage<RegisterGraphResponse>(arena);
1534 }
1535 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1536 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1537 void CopyFrom(const RegisterGraphResponse& from);
1538 void MergeFrom(const RegisterGraphResponse& from);
1539 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1540 bool IsInitialized() const final;
1541
1542 size_t ByteSizeLong() const final;
1543 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1544 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1545 #else
1546 bool MergePartialFromCodedStream(
1547 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1548 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1549 void SerializeWithCachedSizes(
1550 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1551 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1552 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1553 int GetCachedSize() const final { return _cached_size_.Get(); }
1554
1555 private:
1556 inline void SharedCtor();
1557 inline void SharedDtor();
1558 void SetCachedSize(int size) const final;
1559 void InternalSwap(RegisterGraphResponse* other);
1560 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1561 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1562 return "tensorflow.RegisterGraphResponse";
1563 }
1564 protected:
1565 explicit RegisterGraphResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1566 private:
1567 static void ArenaDtor(void* object);
1568 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1569 private:
1570 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1571 return _internal_metadata_.arena();
1572 }
1573 inline void* MaybeArenaPtr() const {
1574 return _internal_metadata_.raw_arena_ptr();
1575 }
1576 public:
1577
1578 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1579 private:
1580 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1581 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
1582 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
1583 }
1584
1585 public:
1586
1587 // nested types ----------------------------------------------------
1588
1589 // accessors -------------------------------------------------------
1590
1591 enum : int {
1592 kGraphHandleFieldNumber = 1,
1593 };
1594 // string graph_handle = 1;
1595 void clear_graph_handle();
1596 const std::string& graph_handle() const;
1597 void set_graph_handle(const std::string& value);
1598 void set_graph_handle(std::string&& value);
1599 void set_graph_handle(const char* value);
1600 void set_graph_handle(const char* value, size_t size);
1601 std::string* mutable_graph_handle();
1602 std::string* release_graph_handle();
1603 void set_allocated_graph_handle(std::string* graph_handle);
1604 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1605 " string fields are deprecated and will be removed in a"
1606 " future release.")
1607 std::string* unsafe_arena_release_graph_handle();
1608 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1609 " string fields are deprecated and will be removed in a"
1610 " future release.")
1611 void unsafe_arena_set_allocated_graph_handle(
1612 std::string* graph_handle);
1613
1614 // @@protoc_insertion_point(class_scope:tensorflow.RegisterGraphResponse)
1615 private:
1616 class _Internal;
1617
1618 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1619 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1620 typedef void InternalArenaConstructable_;
1621 typedef void DestructorSkippable_;
1622 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr graph_handle_;
1623 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1624 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
1625};
1626// -------------------------------------------------------------------
1627
1628class DeregisterGraphRequest :
1629 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.DeregisterGraphRequest) */ {
1630 public:
1631 DeregisterGraphRequest();
1632 virtual ~DeregisterGraphRequest();
1633
1634 DeregisterGraphRequest(const DeregisterGraphRequest& from);
1635 DeregisterGraphRequest(DeregisterGraphRequest&& from) noexcept
1636 : DeregisterGraphRequest() {
1637 *this = ::std::move(from);
1638 }
1639
1640 inline DeregisterGraphRequest& operator=(const DeregisterGraphRequest& from) {
1641 CopyFrom(from);
1642 return *this;
1643 }
1644 inline DeregisterGraphRequest& operator=(DeregisterGraphRequest&& from) noexcept {
1645 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1646 if (this != &from) InternalSwap(&from);
1647 } else {
1648 CopyFrom(from);
1649 }
1650 return *this;
1651 }
1652
1653 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1654 return GetArenaNoVirtual();
1655 }
1656 inline void* GetMaybeArenaPointer() const final {
1657 return MaybeArenaPtr();
1658 }
1659 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1660 return GetDescriptor();
1661 }
1662 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1663 return GetMetadataStatic().descriptor;
1664 }
1665 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1666 return GetMetadataStatic().reflection;
1667 }
1668 static const DeregisterGraphRequest& default_instance();
1669
1670 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1671 static inline const DeregisterGraphRequest* internal_default_instance() {
1672 return reinterpret_cast<const DeregisterGraphRequest*>(
1673 &_DeregisterGraphRequest_default_instance_);
1674 }
1675 static constexpr int kIndexInFileMessages =
1676 8;
1677
1678 friend void swap(DeregisterGraphRequest& a, DeregisterGraphRequest& b) {
1679 a.Swap(&b);
1680 }
1681 inline void Swap(DeregisterGraphRequest* other) {
1682 if (other == this) return;
1683 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1684 InternalSwap(other);
1685 } else {
1686 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1687 }
1688 }
1689 void UnsafeArenaSwap(DeregisterGraphRequest* other) {
1690 if (other == this) return;
1691 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1692 InternalSwap(other);
1693 }
1694
1695 // implements Message ----------------------------------------------
1696
1697 inline DeregisterGraphRequest* New() const final {
1698 return CreateMaybeMessage<DeregisterGraphRequest>(nullptr);
1699 }
1700
1701 DeregisterGraphRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1702 return CreateMaybeMessage<DeregisterGraphRequest>(arena);
1703 }
1704 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1705 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1706 void CopyFrom(const DeregisterGraphRequest& from);
1707 void MergeFrom(const DeregisterGraphRequest& from);
1708 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1709 bool IsInitialized() const final;
1710
1711 size_t ByteSizeLong() const final;
1712 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1713 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1714 #else
1715 bool MergePartialFromCodedStream(
1716 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1717 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1718 void SerializeWithCachedSizes(
1719 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1720 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1721 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1722 int GetCachedSize() const final { return _cached_size_.Get(); }
1723
1724 private:
1725 inline void SharedCtor();
1726 inline void SharedDtor();
1727 void SetCachedSize(int size) const final;
1728 void InternalSwap(DeregisterGraphRequest* other);
1729 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1730 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1731 return "tensorflow.DeregisterGraphRequest";
1732 }
1733 protected:
1734 explicit DeregisterGraphRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1735 private:
1736 static void ArenaDtor(void* object);
1737 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1738 private:
1739 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1740 return _internal_metadata_.arena();
1741 }
1742 inline void* MaybeArenaPtr() const {
1743 return _internal_metadata_.raw_arena_ptr();
1744 }
1745 public:
1746
1747 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1748 private:
1749 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1750 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
1751 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
1752 }
1753
1754 public:
1755
1756 // nested types ----------------------------------------------------
1757
1758 // accessors -------------------------------------------------------
1759
1760 enum : int {
1761 kGraphHandleFieldNumber = 1,
1762 kSessionHandleFieldNumber = 2,
1763 kCreateWorkerSessionCalledFieldNumber = 3,
1764 };
1765 // string graph_handle = 1;
1766 void clear_graph_handle();
1767 const std::string& graph_handle() const;
1768 void set_graph_handle(const std::string& value);
1769 void set_graph_handle(std::string&& value);
1770 void set_graph_handle(const char* value);
1771 void set_graph_handle(const char* value, size_t size);
1772 std::string* mutable_graph_handle();
1773 std::string* release_graph_handle();
1774 void set_allocated_graph_handle(std::string* graph_handle);
1775 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1776 " string fields are deprecated and will be removed in a"
1777 " future release.")
1778 std::string* unsafe_arena_release_graph_handle();
1779 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1780 " string fields are deprecated and will be removed in a"
1781 " future release.")
1782 void unsafe_arena_set_allocated_graph_handle(
1783 std::string* graph_handle);
1784
1785 // string session_handle = 2;
1786 void clear_session_handle();
1787 const std::string& session_handle() const;
1788 void set_session_handle(const std::string& value);
1789 void set_session_handle(std::string&& value);
1790 void set_session_handle(const char* value);
1791 void set_session_handle(const char* value, size_t size);
1792 std::string* mutable_session_handle();
1793 std::string* release_session_handle();
1794 void set_allocated_session_handle(std::string* session_handle);
1795 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1796 " string fields are deprecated and will be removed in a"
1797 " future release.")
1798 std::string* unsafe_arena_release_session_handle();
1799 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1800 " string fields are deprecated and will be removed in a"
1801 " future release.")
1802 void unsafe_arena_set_allocated_session_handle(
1803 std::string* session_handle);
1804
1805 // bool create_worker_session_called = 3;
1806 void clear_create_worker_session_called();
1807 bool create_worker_session_called() const;
1808 void set_create_worker_session_called(bool value);
1809
1810 // @@protoc_insertion_point(class_scope:tensorflow.DeregisterGraphRequest)
1811 private:
1812 class _Internal;
1813
1814 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1815 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1816 typedef void InternalArenaConstructable_;
1817 typedef void DestructorSkippable_;
1818 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr graph_handle_;
1819 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_handle_;
1820 bool create_worker_session_called_;
1821 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1822 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
1823};
1824// -------------------------------------------------------------------
1825
1826class DeregisterGraphResponse :
1827 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.DeregisterGraphResponse) */ {
1828 public:
1829 DeregisterGraphResponse();
1830 virtual ~DeregisterGraphResponse();
1831
1832 DeregisterGraphResponse(const DeregisterGraphResponse& from);
1833 DeregisterGraphResponse(DeregisterGraphResponse&& from) noexcept
1834 : DeregisterGraphResponse() {
1835 *this = ::std::move(from);
1836 }
1837
1838 inline DeregisterGraphResponse& operator=(const DeregisterGraphResponse& from) {
1839 CopyFrom(from);
1840 return *this;
1841 }
1842 inline DeregisterGraphResponse& operator=(DeregisterGraphResponse&& from) noexcept {
1843 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1844 if (this != &from) InternalSwap(&from);
1845 } else {
1846 CopyFrom(from);
1847 }
1848 return *this;
1849 }
1850
1851 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1852 return GetArenaNoVirtual();
1853 }
1854 inline void* GetMaybeArenaPointer() const final {
1855 return MaybeArenaPtr();
1856 }
1857 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1858 return GetDescriptor();
1859 }
1860 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1861 return GetMetadataStatic().descriptor;
1862 }
1863 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1864 return GetMetadataStatic().reflection;
1865 }
1866 static const DeregisterGraphResponse& default_instance();
1867
1868 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1869 static inline const DeregisterGraphResponse* internal_default_instance() {
1870 return reinterpret_cast<const DeregisterGraphResponse*>(
1871 &_DeregisterGraphResponse_default_instance_);
1872 }
1873 static constexpr int kIndexInFileMessages =
1874 9;
1875
1876 friend void swap(DeregisterGraphResponse& a, DeregisterGraphResponse& b) {
1877 a.Swap(&b);
1878 }
1879 inline void Swap(DeregisterGraphResponse* other) {
1880 if (other == this) return;
1881 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1882 InternalSwap(other);
1883 } else {
1884 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1885 }
1886 }
1887 void UnsafeArenaSwap(DeregisterGraphResponse* other) {
1888 if (other == this) return;
1889 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1890 InternalSwap(other);
1891 }
1892
1893 // implements Message ----------------------------------------------
1894
1895 inline DeregisterGraphResponse* New() const final {
1896 return CreateMaybeMessage<DeregisterGraphResponse>(nullptr);
1897 }
1898
1899 DeregisterGraphResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1900 return CreateMaybeMessage<DeregisterGraphResponse>(arena);
1901 }
1902 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1903 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1904 void CopyFrom(const DeregisterGraphResponse& from);
1905 void MergeFrom(const DeregisterGraphResponse& from);
1906 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1907 bool IsInitialized() const final;
1908
1909 size_t ByteSizeLong() const final;
1910 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1911 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1912 #else
1913 bool MergePartialFromCodedStream(
1914 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1915 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1916 void SerializeWithCachedSizes(
1917 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1918 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1919 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1920 int GetCachedSize() const final { return _cached_size_.Get(); }
1921
1922 private:
1923 inline void SharedCtor();
1924 inline void SharedDtor();
1925 void SetCachedSize(int size) const final;
1926 void InternalSwap(DeregisterGraphResponse* other);
1927 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1928 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1929 return "tensorflow.DeregisterGraphResponse";
1930 }
1931 protected:
1932 explicit DeregisterGraphResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1933 private:
1934 static void ArenaDtor(void* object);
1935 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1936 private:
1937 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1938 return _internal_metadata_.arena();
1939 }
1940 inline void* MaybeArenaPtr() const {
1941 return _internal_metadata_.raw_arena_ptr();
1942 }
1943 public:
1944
1945 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1946 private:
1947 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1948 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
1949 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
1950 }
1951
1952 public:
1953
1954 // nested types ----------------------------------------------------
1955
1956 // accessors -------------------------------------------------------
1957
1958 // @@protoc_insertion_point(class_scope:tensorflow.DeregisterGraphResponse)
1959 private:
1960 class _Internal;
1961
1962 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1963 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1964 typedef void InternalArenaConstructable_;
1965 typedef void DestructorSkippable_;
1966 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1967 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
1968};
1969// -------------------------------------------------------------------
1970
1971class CleanupAllRequest :
1972 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CleanupAllRequest) */ {
1973 public:
1974 CleanupAllRequest();
1975 virtual ~CleanupAllRequest();
1976
1977 CleanupAllRequest(const CleanupAllRequest& from);
1978 CleanupAllRequest(CleanupAllRequest&& from) noexcept
1979 : CleanupAllRequest() {
1980 *this = ::std::move(from);
1981 }
1982
1983 inline CleanupAllRequest& operator=(const CleanupAllRequest& from) {
1984 CopyFrom(from);
1985 return *this;
1986 }
1987 inline CleanupAllRequest& operator=(CleanupAllRequest&& from) noexcept {
1988 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1989 if (this != &from) InternalSwap(&from);
1990 } else {
1991 CopyFrom(from);
1992 }
1993 return *this;
1994 }
1995
1996 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1997 return GetArenaNoVirtual();
1998 }
1999 inline void* GetMaybeArenaPointer() const final {
2000 return MaybeArenaPtr();
2001 }
2002 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2003 return GetDescriptor();
2004 }
2005 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2006 return GetMetadataStatic().descriptor;
2007 }
2008 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2009 return GetMetadataStatic().reflection;
2010 }
2011 static const CleanupAllRequest& default_instance();
2012
2013 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
2014 static inline const CleanupAllRequest* internal_default_instance() {
2015 return reinterpret_cast<const CleanupAllRequest*>(
2016 &_CleanupAllRequest_default_instance_);
2017 }
2018 static constexpr int kIndexInFileMessages =
2019 10;
2020
2021 friend void swap(CleanupAllRequest& a, CleanupAllRequest& b) {
2022 a.Swap(&b);
2023 }
2024 inline void Swap(CleanupAllRequest* other) {
2025 if (other == this) return;
2026 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
2027 InternalSwap(other);
2028 } else {
2029 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2030 }
2031 }
2032 void UnsafeArenaSwap(CleanupAllRequest* other) {
2033 if (other == this) return;
2034 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
2035 InternalSwap(other);
2036 }
2037
2038 // implements Message ----------------------------------------------
2039
2040 inline CleanupAllRequest* New() const final {
2041 return CreateMaybeMessage<CleanupAllRequest>(nullptr);
2042 }
2043
2044 CleanupAllRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2045 return CreateMaybeMessage<CleanupAllRequest>(arena);
2046 }
2047 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2048 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2049 void CopyFrom(const CleanupAllRequest& from);
2050 void MergeFrom(const CleanupAllRequest& from);
2051 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2052 bool IsInitialized() const final;
2053
2054 size_t ByteSizeLong() const final;
2055 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2056 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2057 #else
2058 bool MergePartialFromCodedStream(
2059 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
2060 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2061 void SerializeWithCachedSizes(
2062 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
2063 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
2064 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
2065 int GetCachedSize() const final { return _cached_size_.Get(); }
2066
2067 private:
2068 inline void SharedCtor();
2069 inline void SharedDtor();
2070 void SetCachedSize(int size) const final;
2071 void InternalSwap(CleanupAllRequest* other);
2072 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2073 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2074 return "tensorflow.CleanupAllRequest";
2075 }
2076 protected:
2077 explicit CleanupAllRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2078 private:
2079 static void ArenaDtor(void* object);
2080 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2081 private:
2082 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2083 return _internal_metadata_.arena();
2084 }
2085 inline void* MaybeArenaPtr() const {
2086 return _internal_metadata_.raw_arena_ptr();
2087 }
2088 public:
2089
2090 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2091 private:
2092 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2093 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
2094 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
2095 }
2096
2097 public:
2098
2099 // nested types ----------------------------------------------------
2100
2101 // accessors -------------------------------------------------------
2102
2103 enum : int {
2104 kContainerFieldNumber = 1,
2105 };
2106 // repeated string container = 1;
2107 int container_size() const;
2108 void clear_container();
2109 const std::string& container(int index) const;
2110 std::string* mutable_container(int index);
2111 void set_container(int index, const std::string& value);
2112 void set_container(int index, std::string&& value);
2113 void set_container(int index, const char* value);
2114 void set_container(int index, const char* value, size_t size);
2115 std::string* add_container();
2116 void add_container(const std::string& value);
2117 void add_container(std::string&& value);
2118 void add_container(const char* value);
2119 void add_container(const char* value, size_t size);
2120 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& container() const;
2121 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_container();
2122
2123 // @@protoc_insertion_point(class_scope:tensorflow.CleanupAllRequest)
2124 private:
2125 class _Internal;
2126
2127 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
2128 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2129 typedef void InternalArenaConstructable_;
2130 typedef void DestructorSkippable_;
2131 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> container_;
2132 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2133 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
2134};
2135// -------------------------------------------------------------------
2136
2137class CleanupAllResponse :
2138 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CleanupAllResponse) */ {
2139 public:
2140 CleanupAllResponse();
2141 virtual ~CleanupAllResponse();
2142
2143 CleanupAllResponse(const CleanupAllResponse& from);
2144 CleanupAllResponse(CleanupAllResponse&& from) noexcept
2145 : CleanupAllResponse() {
2146 *this = ::std::move(from);
2147 }
2148
2149 inline CleanupAllResponse& operator=(const CleanupAllResponse& from) {
2150 CopyFrom(from);
2151 return *this;
2152 }
2153 inline CleanupAllResponse& operator=(CleanupAllResponse&& from) noexcept {
2154 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2155 if (this != &from) InternalSwap(&from);
2156 } else {
2157 CopyFrom(from);
2158 }
2159 return *this;
2160 }
2161
2162 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
2163 return GetArenaNoVirtual();
2164 }
2165 inline void* GetMaybeArenaPointer() const final {
2166 return MaybeArenaPtr();
2167 }
2168 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2169 return GetDescriptor();
2170 }
2171 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2172 return GetMetadataStatic().descriptor;
2173 }
2174 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2175 return GetMetadataStatic().reflection;
2176 }
2177 static const CleanupAllResponse& default_instance();
2178
2179 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
2180 static inline const CleanupAllResponse* internal_default_instance() {
2181 return reinterpret_cast<const CleanupAllResponse*>(
2182 &_CleanupAllResponse_default_instance_);
2183 }
2184 static constexpr int kIndexInFileMessages =
2185 11;
2186
2187 friend void swap(CleanupAllResponse& a, CleanupAllResponse& b) {
2188 a.Swap(&b);
2189 }
2190 inline void Swap(CleanupAllResponse* other) {
2191 if (other == this) return;
2192 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
2193 InternalSwap(other);
2194 } else {
2195 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2196 }
2197 }
2198 void UnsafeArenaSwap(CleanupAllResponse* other) {
2199 if (other == this) return;
2200 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
2201 InternalSwap(other);
2202 }
2203
2204 // implements Message ----------------------------------------------
2205
2206 inline CleanupAllResponse* New() const final {
2207 return CreateMaybeMessage<CleanupAllResponse>(nullptr);
2208 }
2209
2210 CleanupAllResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2211 return CreateMaybeMessage<CleanupAllResponse>(arena);
2212 }
2213 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2214 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2215 void CopyFrom(const CleanupAllResponse& from);
2216 void MergeFrom(const CleanupAllResponse& from);
2217 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2218 bool IsInitialized() const final;
2219
2220 size_t ByteSizeLong() const final;
2221 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2222 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2223 #else
2224 bool MergePartialFromCodedStream(
2225 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
2226 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2227 void SerializeWithCachedSizes(
2228 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
2229 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
2230 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
2231 int GetCachedSize() const final { return _cached_size_.Get(); }
2232
2233 private:
2234 inline void SharedCtor();
2235 inline void SharedDtor();
2236 void SetCachedSize(int size) const final;
2237 void InternalSwap(CleanupAllResponse* other);
2238 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2239 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2240 return "tensorflow.CleanupAllResponse";
2241 }
2242 protected:
2243 explicit CleanupAllResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2244 private:
2245 static void ArenaDtor(void* object);
2246 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2247 private:
2248 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2249 return _internal_metadata_.arena();
2250 }
2251 inline void* MaybeArenaPtr() const {
2252 return _internal_metadata_.raw_arena_ptr();
2253 }
2254 public:
2255
2256 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2257 private:
2258 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2259 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
2260 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
2261 }
2262
2263 public:
2264
2265 // nested types ----------------------------------------------------
2266
2267 // accessors -------------------------------------------------------
2268
2269 // @@protoc_insertion_point(class_scope:tensorflow.CleanupAllResponse)
2270 private:
2271 class _Internal;
2272
2273 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
2274 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2275 typedef void InternalArenaConstructable_;
2276 typedef void DestructorSkippable_;
2277 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2278 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
2279};
2280// -------------------------------------------------------------------
2281
2282class ExecutorOpts :
2283 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.ExecutorOpts) */ {
2284 public:
2285 ExecutorOpts();
2286 virtual ~ExecutorOpts();
2287
2288 ExecutorOpts(const ExecutorOpts& from);
2289 ExecutorOpts(ExecutorOpts&& from) noexcept
2290 : ExecutorOpts() {
2291 *this = ::std::move(from);
2292 }
2293
2294 inline ExecutorOpts& operator=(const ExecutorOpts& from) {
2295 CopyFrom(from);
2296 return *this;
2297 }
2298 inline ExecutorOpts& operator=(ExecutorOpts&& from) noexcept {
2299 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2300 if (this != &from) InternalSwap(&from);
2301 } else {
2302 CopyFrom(from);
2303 }
2304 return *this;
2305 }
2306
2307 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
2308 return GetArenaNoVirtual();
2309 }
2310 inline void* GetMaybeArenaPointer() const final {
2311 return MaybeArenaPtr();
2312 }
2313 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2314 return GetDescriptor();
2315 }
2316 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2317 return GetMetadataStatic().descriptor;
2318 }
2319 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2320 return GetMetadataStatic().reflection;
2321 }
2322 static const ExecutorOpts& default_instance();
2323
2324 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
2325 static inline const ExecutorOpts* internal_default_instance() {
2326 return reinterpret_cast<const ExecutorOpts*>(
2327 &_ExecutorOpts_default_instance_);
2328 }
2329 static constexpr int kIndexInFileMessages =
2330 12;
2331
2332 friend void swap(ExecutorOpts& a, ExecutorOpts& b) {
2333 a.Swap(&b);
2334 }
2335 inline void Swap(ExecutorOpts* other) {
2336 if (other == this) return;
2337 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
2338 InternalSwap(other);
2339 } else {
2340 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2341 }
2342 }
2343 void UnsafeArenaSwap(ExecutorOpts* other) {
2344 if (other == this) return;
2345 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
2346 InternalSwap(other);
2347 }
2348
2349 // implements Message ----------------------------------------------
2350
2351 inline ExecutorOpts* New() const final {
2352 return CreateMaybeMessage<ExecutorOpts>(nullptr);
2353 }
2354
2355 ExecutorOpts* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2356 return CreateMaybeMessage<ExecutorOpts>(arena);
2357 }
2358 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2359 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2360 void CopyFrom(const ExecutorOpts& from);
2361 void MergeFrom(const ExecutorOpts& from);
2362 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2363 bool IsInitialized() const final;
2364
2365 size_t ByteSizeLong() const final;
2366 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2367 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2368 #else
2369 bool MergePartialFromCodedStream(
2370 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
2371 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2372 void SerializeWithCachedSizes(
2373 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
2374 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
2375 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
2376 int GetCachedSize() const final { return _cached_size_.Get(); }
2377
2378 private:
2379 inline void SharedCtor();
2380 inline void SharedDtor();
2381 void SetCachedSize(int size) const final;
2382 void InternalSwap(ExecutorOpts* other);
2383 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2384 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2385 return "tensorflow.ExecutorOpts";
2386 }
2387 protected:
2388 explicit ExecutorOpts(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2389 private:
2390 static void ArenaDtor(void* object);
2391 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2392 private:
2393 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2394 return _internal_metadata_.arena();
2395 }
2396 inline void* MaybeArenaPtr() const {
2397 return _internal_metadata_.raw_arena_ptr();
2398 }
2399 public:
2400
2401 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2402 private:
2403 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2404 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
2405 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
2406 }
2407
2408 public:
2409
2410 // nested types ----------------------------------------------------
2411
2412 // accessors -------------------------------------------------------
2413
2414 enum : int {
2415 kRecordCostsFieldNumber = 1,
2416 kRecordTimelineFieldNumber = 3,
2417 kRecordPartitionGraphsFieldNumber = 4,
2418 kReportTensorAllocationsUponOomFieldNumber = 5,
2419 };
2420 // bool record_costs = 1;
2421 void clear_record_costs();
2422 bool record_costs() const;
2423 void set_record_costs(bool value);
2424
2425 // bool record_timeline = 3;
2426 void clear_record_timeline();
2427 bool record_timeline() const;
2428 void set_record_timeline(bool value);
2429
2430 // bool record_partition_graphs = 4;
2431 void clear_record_partition_graphs();
2432 bool record_partition_graphs() const;
2433 void set_record_partition_graphs(bool value);
2434
2435 // bool report_tensor_allocations_upon_oom = 5;
2436 void clear_report_tensor_allocations_upon_oom();
2437 bool report_tensor_allocations_upon_oom() const;
2438 void set_report_tensor_allocations_upon_oom(bool value);
2439
2440 // @@protoc_insertion_point(class_scope:tensorflow.ExecutorOpts)
2441 private:
2442 class _Internal;
2443
2444 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
2445 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2446 typedef void InternalArenaConstructable_;
2447 typedef void DestructorSkippable_;
2448 bool record_costs_;
2449 bool record_timeline_;
2450 bool record_partition_graphs_;
2451 bool report_tensor_allocations_upon_oom_;
2452 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2453 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
2454};
2455// -------------------------------------------------------------------
2456
2457class RunGraphRequest :
2458 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.RunGraphRequest) */ {
2459 public:
2460 RunGraphRequest();
2461 virtual ~RunGraphRequest();
2462
2463 RunGraphRequest(const RunGraphRequest& from);
2464 RunGraphRequest(RunGraphRequest&& from) noexcept
2465 : RunGraphRequest() {
2466 *this = ::std::move(from);
2467 }
2468
2469 inline RunGraphRequest& operator=(const RunGraphRequest& from) {
2470 CopyFrom(from);
2471 return *this;
2472 }
2473 inline RunGraphRequest& operator=(RunGraphRequest&& from) noexcept {
2474 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2475 if (this != &from) InternalSwap(&from);
2476 } else {
2477 CopyFrom(from);
2478 }
2479 return *this;
2480 }
2481
2482 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
2483 return GetArenaNoVirtual();
2484 }
2485 inline void* GetMaybeArenaPointer() const final {
2486 return MaybeArenaPtr();
2487 }
2488 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2489 return GetDescriptor();
2490 }
2491 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2492 return GetMetadataStatic().descriptor;
2493 }
2494 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2495 return GetMetadataStatic().reflection;
2496 }
2497 static const RunGraphRequest& default_instance();
2498
2499 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
2500 static inline const RunGraphRequest* internal_default_instance() {
2501 return reinterpret_cast<const RunGraphRequest*>(
2502 &_RunGraphRequest_default_instance_);
2503 }
2504 static constexpr int kIndexInFileMessages =
2505 13;
2506
2507 friend void swap(RunGraphRequest& a, RunGraphRequest& b) {
2508 a.Swap(&b);
2509 }
2510 inline void Swap(RunGraphRequest* other) {
2511 if (other == this) return;
2512 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
2513 InternalSwap(other);
2514 } else {
2515 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2516 }
2517 }
2518 void UnsafeArenaSwap(RunGraphRequest* other) {
2519 if (other == this) return;
2520 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
2521 InternalSwap(other);
2522 }
2523
2524 // implements Message ----------------------------------------------
2525
2526 inline RunGraphRequest* New() const final {
2527 return CreateMaybeMessage<RunGraphRequest>(nullptr);
2528 }
2529
2530 RunGraphRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2531 return CreateMaybeMessage<RunGraphRequest>(arena);
2532 }
2533 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2534 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2535 void CopyFrom(const RunGraphRequest& from);
2536 void MergeFrom(const RunGraphRequest& from);
2537 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2538 bool IsInitialized() const final;
2539
2540 size_t ByteSizeLong() const final;
2541 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2542 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2543 #else
2544 bool MergePartialFromCodedStream(
2545 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
2546 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2547 void SerializeWithCachedSizes(
2548 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
2549 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
2550 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
2551 int GetCachedSize() const final { return _cached_size_.Get(); }
2552
2553 private:
2554 inline void SharedCtor();
2555 inline void SharedDtor();
2556 void SetCachedSize(int size) const final;
2557 void InternalSwap(RunGraphRequest* other);
2558 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2559 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2560 return "tensorflow.RunGraphRequest";
2561 }
2562 protected:
2563 explicit RunGraphRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2564 private:
2565 static void ArenaDtor(void* object);
2566 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2567 private:
2568 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2569 return _internal_metadata_.arena();
2570 }
2571 inline void* MaybeArenaPtr() const {
2572 return _internal_metadata_.raw_arena_ptr();
2573 }
2574 public:
2575
2576 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2577 private:
2578 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2579 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
2580 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
2581 }
2582
2583 public:
2584
2585 // nested types ----------------------------------------------------
2586
2587 // accessors -------------------------------------------------------
2588
2589 enum : int {
2590 kSendFieldNumber = 3,
2591 kRecvKeyFieldNumber = 4,
2592 kGraphHandleFieldNumber = 1,
2593 kSessionHandleFieldNumber = 8,
2594 kExecOptsFieldNumber = 5,
2595 kStepIdFieldNumber = 2,
2596 kRequestIdFieldNumber = 11,
2597 kCreateWorkerSessionCalledFieldNumber = 10,
2598 kIsPartialFieldNumber = 6,
2599 kIsLastPartialRunFieldNumber = 7,
2600 kStoreErrorsInResponseBodyFieldNumber = 9,
2601 };
2602 // repeated .tensorflow.NamedTensorProto send = 3;
2603 int send_size() const;
2604 void clear_send();
2605 ::tensorflow::NamedTensorProto* mutable_send(int index);
2606 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >*
2607 mutable_send();
2608 const ::tensorflow::NamedTensorProto& send(int index) const;
2609 ::tensorflow::NamedTensorProto* add_send();
2610 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >&
2611 send() const;
2612
2613 // repeated string recv_key = 4;
2614 int recv_key_size() const;
2615 void clear_recv_key();
2616 const std::string& recv_key(int index) const;
2617 std::string* mutable_recv_key(int index);
2618 void set_recv_key(int index, const std::string& value);
2619 void set_recv_key(int index, std::string&& value);
2620 void set_recv_key(int index, const char* value);
2621 void set_recv_key(int index, const char* value, size_t size);
2622 std::string* add_recv_key();
2623 void add_recv_key(const std::string& value);
2624 void add_recv_key(std::string&& value);
2625 void add_recv_key(const char* value);
2626 void add_recv_key(const char* value, size_t size);
2627 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& recv_key() const;
2628 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_recv_key();
2629
2630 // string graph_handle = 1;
2631 void clear_graph_handle();
2632 const std::string& graph_handle() const;
2633 void set_graph_handle(const std::string& value);
2634 void set_graph_handle(std::string&& value);
2635 void set_graph_handle(const char* value);
2636 void set_graph_handle(const char* value, size_t size);
2637 std::string* mutable_graph_handle();
2638 std::string* release_graph_handle();
2639 void set_allocated_graph_handle(std::string* graph_handle);
2640 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2641 " string fields are deprecated and will be removed in a"
2642 " future release.")
2643 std::string* unsafe_arena_release_graph_handle();
2644 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2645 " string fields are deprecated and will be removed in a"
2646 " future release.")
2647 void unsafe_arena_set_allocated_graph_handle(
2648 std::string* graph_handle);
2649
2650 // string session_handle = 8;
2651 void clear_session_handle();
2652 const std::string& session_handle() const;
2653 void set_session_handle(const std::string& value);
2654 void set_session_handle(std::string&& value);
2655 void set_session_handle(const char* value);
2656 void set_session_handle(const char* value, size_t size);
2657 std::string* mutable_session_handle();
2658 std::string* release_session_handle();
2659 void set_allocated_session_handle(std::string* session_handle);
2660 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2661 " string fields are deprecated and will be removed in a"
2662 " future release.")
2663 std::string* unsafe_arena_release_session_handle();
2664 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2665 " string fields are deprecated and will be removed in a"
2666 " future release.")
2667 void unsafe_arena_set_allocated_session_handle(
2668 std::string* session_handle);
2669
2670 // .tensorflow.ExecutorOpts exec_opts = 5;
2671 bool has_exec_opts() const;
2672 void clear_exec_opts();
2673 const ::tensorflow::ExecutorOpts& exec_opts() const;
2674 ::tensorflow::ExecutorOpts* release_exec_opts();
2675 ::tensorflow::ExecutorOpts* mutable_exec_opts();
2676 void set_allocated_exec_opts(::tensorflow::ExecutorOpts* exec_opts);
2677 void unsafe_arena_set_allocated_exec_opts(
2678 ::tensorflow::ExecutorOpts* exec_opts);
2679 ::tensorflow::ExecutorOpts* unsafe_arena_release_exec_opts();
2680
2681 // int64 step_id = 2;
2682 void clear_step_id();
2683 ::PROTOBUF_NAMESPACE_ID::int64 step_id() const;
2684 void set_step_id(::PROTOBUF_NAMESPACE_ID::int64 value);
2685
2686 // int64 request_id = 11;
2687 void clear_request_id();
2688 ::PROTOBUF_NAMESPACE_ID::int64 request_id() const;
2689 void set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value);
2690
2691 // bool create_worker_session_called = 10;
2692 void clear_create_worker_session_called();
2693 bool create_worker_session_called() const;
2694 void set_create_worker_session_called(bool value);
2695
2696 // bool is_partial = 6;
2697 void clear_is_partial();
2698 bool is_partial() const;
2699 void set_is_partial(bool value);
2700
2701 // bool is_last_partial_run = 7;
2702 void clear_is_last_partial_run();
2703 bool is_last_partial_run() const;
2704 void set_is_last_partial_run(bool value);
2705
2706 // bool store_errors_in_response_body = 9;
2707 void clear_store_errors_in_response_body();
2708 bool store_errors_in_response_body() const;
2709 void set_store_errors_in_response_body(bool value);
2710
2711 // @@protoc_insertion_point(class_scope:tensorflow.RunGraphRequest)
2712 private:
2713 class _Internal;
2714
2715 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
2716 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2717 typedef void InternalArenaConstructable_;
2718 typedef void DestructorSkippable_;
2719 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto > send_;
2720 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> recv_key_;
2721 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr graph_handle_;
2722 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_handle_;
2723 ::tensorflow::ExecutorOpts* exec_opts_;
2724 ::PROTOBUF_NAMESPACE_ID::int64 step_id_;
2725 ::PROTOBUF_NAMESPACE_ID::int64 request_id_;
2726 bool create_worker_session_called_;
2727 bool is_partial_;
2728 bool is_last_partial_run_;
2729 bool store_errors_in_response_body_;
2730 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2731 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
2732};
2733// -------------------------------------------------------------------
2734
2735class RunGraphResponse :
2736 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.RunGraphResponse) */ {
2737 public:
2738 RunGraphResponse();
2739 virtual ~RunGraphResponse();
2740
2741 RunGraphResponse(const RunGraphResponse& from);
2742 RunGraphResponse(RunGraphResponse&& from) noexcept
2743 : RunGraphResponse() {
2744 *this = ::std::move(from);
2745 }
2746
2747 inline RunGraphResponse& operator=(const RunGraphResponse& from) {
2748 CopyFrom(from);
2749 return *this;
2750 }
2751 inline RunGraphResponse& operator=(RunGraphResponse&& from) noexcept {
2752 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2753 if (this != &from) InternalSwap(&from);
2754 } else {
2755 CopyFrom(from);
2756 }
2757 return *this;
2758 }
2759
2760 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
2761 return GetArenaNoVirtual();
2762 }
2763 inline void* GetMaybeArenaPointer() const final {
2764 return MaybeArenaPtr();
2765 }
2766 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2767 return GetDescriptor();
2768 }
2769 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2770 return GetMetadataStatic().descriptor;
2771 }
2772 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2773 return GetMetadataStatic().reflection;
2774 }
2775 static const RunGraphResponse& default_instance();
2776
2777 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
2778 static inline const RunGraphResponse* internal_default_instance() {
2779 return reinterpret_cast<const RunGraphResponse*>(
2780 &_RunGraphResponse_default_instance_);
2781 }
2782 static constexpr int kIndexInFileMessages =
2783 14;
2784
2785 friend void swap(RunGraphResponse& a, RunGraphResponse& b) {
2786 a.Swap(&b);
2787 }
2788 inline void Swap(RunGraphResponse* other) {
2789 if (other == this) return;
2790 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
2791 InternalSwap(other);
2792 } else {
2793 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2794 }
2795 }
2796 void UnsafeArenaSwap(RunGraphResponse* other) {
2797 if (other == this) return;
2798 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
2799 InternalSwap(other);
2800 }
2801
2802 // implements Message ----------------------------------------------
2803
2804 inline RunGraphResponse* New() const final {
2805 return CreateMaybeMessage<RunGraphResponse>(nullptr);
2806 }
2807
2808 RunGraphResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2809 return CreateMaybeMessage<RunGraphResponse>(arena);
2810 }
2811 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2812 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2813 void CopyFrom(const RunGraphResponse& from);
2814 void MergeFrom(const RunGraphResponse& from);
2815 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2816 bool IsInitialized() const final;
2817
2818 size_t ByteSizeLong() const final;
2819 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2820 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2821 #else
2822 bool MergePartialFromCodedStream(
2823 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
2824 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2825 void SerializeWithCachedSizes(
2826 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
2827 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
2828 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
2829 int GetCachedSize() const final { return _cached_size_.Get(); }
2830
2831 private:
2832 inline void SharedCtor();
2833 inline void SharedDtor();
2834 void SetCachedSize(int size) const final;
2835 void InternalSwap(RunGraphResponse* other);
2836 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2837 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2838 return "tensorflow.RunGraphResponse";
2839 }
2840 protected:
2841 explicit RunGraphResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2842 private:
2843 static void ArenaDtor(void* object);
2844 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2845 private:
2846 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2847 return _internal_metadata_.arena();
2848 }
2849 inline void* MaybeArenaPtr() const {
2850 return _internal_metadata_.raw_arena_ptr();
2851 }
2852 public:
2853
2854 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2855 private:
2856 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2857 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
2858 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
2859 }
2860
2861 public:
2862
2863 // nested types ----------------------------------------------------
2864
2865 // accessors -------------------------------------------------------
2866
2867 enum : int {
2868 kRecvFieldNumber = 1,
2869 kPartitionGraphFieldNumber = 4,
2870 kStatusErrorMessageFieldNumber = 6,
2871 kStepStatsFieldNumber = 2,
2872 kCostGraphFieldNumber = 3,
2873 kStatusCodeFieldNumber = 5,
2874 };
2875 // repeated .tensorflow.NamedTensorProto recv = 1;
2876 int recv_size() const;
2877 void clear_recv();
2878 ::tensorflow::NamedTensorProto* mutable_recv(int index);
2879 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >*
2880 mutable_recv();
2881 const ::tensorflow::NamedTensorProto& recv(int index) const;
2882 ::tensorflow::NamedTensorProto* add_recv();
2883 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >&
2884 recv() const;
2885
2886 // repeated .tensorflow.GraphDef partition_graph = 4;
2887 int partition_graph_size() const;
2888 void clear_partition_graph();
2889 ::tensorflow::GraphDef* mutable_partition_graph(int index);
2890 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GraphDef >*
2891 mutable_partition_graph();
2892 const ::tensorflow::GraphDef& partition_graph(int index) const;
2893 ::tensorflow::GraphDef* add_partition_graph();
2894 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GraphDef >&
2895 partition_graph() const;
2896
2897 // string status_error_message = 6;
2898 void clear_status_error_message();
2899 const std::string& status_error_message() const;
2900 void set_status_error_message(const std::string& value);
2901 void set_status_error_message(std::string&& value);
2902 void set_status_error_message(const char* value);
2903 void set_status_error_message(const char* value, size_t size);
2904 std::string* mutable_status_error_message();
2905 std::string* release_status_error_message();
2906 void set_allocated_status_error_message(std::string* status_error_message);
2907 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2908 " string fields are deprecated and will be removed in a"
2909 " future release.")
2910 std::string* unsafe_arena_release_status_error_message();
2911 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
2912 " string fields are deprecated and will be removed in a"
2913 " future release.")
2914 void unsafe_arena_set_allocated_status_error_message(
2915 std::string* status_error_message);
2916
2917 // .tensorflow.StepStats step_stats = 2;
2918 bool has_step_stats() const;
2919 void clear_step_stats();
2920 const ::tensorflow::StepStats& step_stats() const;
2921 ::tensorflow::StepStats* release_step_stats();
2922 ::tensorflow::StepStats* mutable_step_stats();
2923 void set_allocated_step_stats(::tensorflow::StepStats* step_stats);
2924 void unsafe_arena_set_allocated_step_stats(
2925 ::tensorflow::StepStats* step_stats);
2926 ::tensorflow::StepStats* unsafe_arena_release_step_stats();
2927
2928 // .tensorflow.CostGraphDef cost_graph = 3;
2929 bool has_cost_graph() const;
2930 void clear_cost_graph();
2931 const ::tensorflow::CostGraphDef& cost_graph() const;
2932 ::tensorflow::CostGraphDef* release_cost_graph();
2933 ::tensorflow::CostGraphDef* mutable_cost_graph();
2934 void set_allocated_cost_graph(::tensorflow::CostGraphDef* cost_graph);
2935 void unsafe_arena_set_allocated_cost_graph(
2936 ::tensorflow::CostGraphDef* cost_graph);
2937 ::tensorflow::CostGraphDef* unsafe_arena_release_cost_graph();
2938
2939 // .tensorflow.error.Code status_code = 5;
2940 void clear_status_code();
2941 ::tensorflow::error::Code status_code() const;
2942 void set_status_code(::tensorflow::error::Code value);
2943
2944 // @@protoc_insertion_point(class_scope:tensorflow.RunGraphResponse)
2945 private:
2946 class _Internal;
2947
2948 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
2949 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2950 typedef void InternalArenaConstructable_;
2951 typedef void DestructorSkippable_;
2952 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto > recv_;
2953 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GraphDef > partition_graph_;
2954 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_error_message_;
2955 ::tensorflow::StepStats* step_stats_;
2956 ::tensorflow::CostGraphDef* cost_graph_;
2957 int status_code_;
2958 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2959 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
2960};
2961// -------------------------------------------------------------------
2962
2963class CleanupGraphRequest :
2964 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CleanupGraphRequest) */ {
2965 public:
2966 CleanupGraphRequest();
2967 virtual ~CleanupGraphRequest();
2968
2969 CleanupGraphRequest(const CleanupGraphRequest& from);
2970 CleanupGraphRequest(CleanupGraphRequest&& from) noexcept
2971 : CleanupGraphRequest() {
2972 *this = ::std::move(from);
2973 }
2974
2975 inline CleanupGraphRequest& operator=(const CleanupGraphRequest& from) {
2976 CopyFrom(from);
2977 return *this;
2978 }
2979 inline CleanupGraphRequest& operator=(CleanupGraphRequest&& from) noexcept {
2980 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2981 if (this != &from) InternalSwap(&from);
2982 } else {
2983 CopyFrom(from);
2984 }
2985 return *this;
2986 }
2987
2988 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
2989 return GetArenaNoVirtual();
2990 }
2991 inline void* GetMaybeArenaPointer() const final {
2992 return MaybeArenaPtr();
2993 }
2994 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2995 return GetDescriptor();
2996 }
2997 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2998 return GetMetadataStatic().descriptor;
2999 }
3000 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3001 return GetMetadataStatic().reflection;
3002 }
3003 static const CleanupGraphRequest& default_instance();
3004
3005 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
3006 static inline const CleanupGraphRequest* internal_default_instance() {
3007 return reinterpret_cast<const CleanupGraphRequest*>(
3008 &_CleanupGraphRequest_default_instance_);
3009 }
3010 static constexpr int kIndexInFileMessages =
3011 15;
3012
3013 friend void swap(CleanupGraphRequest& a, CleanupGraphRequest& b) {
3014 a.Swap(&b);
3015 }
3016 inline void Swap(CleanupGraphRequest* other) {
3017 if (other == this) return;
3018 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
3019 InternalSwap(other);
3020 } else {
3021 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3022 }
3023 }
3024 void UnsafeArenaSwap(CleanupGraphRequest* other) {
3025 if (other == this) return;
3026 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
3027 InternalSwap(other);
3028 }
3029
3030 // implements Message ----------------------------------------------
3031
3032 inline CleanupGraphRequest* New() const final {
3033 return CreateMaybeMessage<CleanupGraphRequest>(nullptr);
3034 }
3035
3036 CleanupGraphRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3037 return CreateMaybeMessage<CleanupGraphRequest>(arena);
3038 }
3039 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3040 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3041 void CopyFrom(const CleanupGraphRequest& from);
3042 void MergeFrom(const CleanupGraphRequest& from);
3043 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3044 bool IsInitialized() const final;
3045
3046 size_t ByteSizeLong() const final;
3047 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3048 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3049 #else
3050 bool MergePartialFromCodedStream(
3051 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
3052 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3053 void SerializeWithCachedSizes(
3054 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
3055 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
3056 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
3057 int GetCachedSize() const final { return _cached_size_.Get(); }
3058
3059 private:
3060 inline void SharedCtor();
3061 inline void SharedDtor();
3062 void SetCachedSize(int size) const final;
3063 void InternalSwap(CleanupGraphRequest* other);
3064 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3065 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3066 return "tensorflow.CleanupGraphRequest";
3067 }
3068 protected:
3069 explicit CleanupGraphRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3070 private:
3071 static void ArenaDtor(void* object);
3072 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3073 private:
3074 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3075 return _internal_metadata_.arena();
3076 }
3077 inline void* MaybeArenaPtr() const {
3078 return _internal_metadata_.raw_arena_ptr();
3079 }
3080 public:
3081
3082 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3083 private:
3084 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
3085 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
3086 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
3087 }
3088
3089 public:
3090
3091 // nested types ----------------------------------------------------
3092
3093 // accessors -------------------------------------------------------
3094
3095 enum : int {
3096 kStepIdFieldNumber = 1,
3097 };
3098 // int64 step_id = 1;
3099 void clear_step_id();
3100 ::PROTOBUF_NAMESPACE_ID::int64 step_id() const;
3101 void set_step_id(::PROTOBUF_NAMESPACE_ID::int64 value);
3102
3103 // @@protoc_insertion_point(class_scope:tensorflow.CleanupGraphRequest)
3104 private:
3105 class _Internal;
3106
3107 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
3108 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3109 typedef void InternalArenaConstructable_;
3110 typedef void DestructorSkippable_;
3111 ::PROTOBUF_NAMESPACE_ID::int64 step_id_;
3112 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3113 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
3114};
3115// -------------------------------------------------------------------
3116
3117class CleanupGraphResponse :
3118 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CleanupGraphResponse) */ {
3119 public:
3120 CleanupGraphResponse();
3121 virtual ~CleanupGraphResponse();
3122
3123 CleanupGraphResponse(const CleanupGraphResponse& from);
3124 CleanupGraphResponse(CleanupGraphResponse&& from) noexcept
3125 : CleanupGraphResponse() {
3126 *this = ::std::move(from);
3127 }
3128
3129 inline CleanupGraphResponse& operator=(const CleanupGraphResponse& from) {
3130 CopyFrom(from);
3131 return *this;
3132 }
3133 inline CleanupGraphResponse& operator=(CleanupGraphResponse&& from) noexcept {
3134 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3135 if (this != &from) InternalSwap(&from);
3136 } else {
3137 CopyFrom(from);
3138 }
3139 return *this;
3140 }
3141
3142 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
3143 return GetArenaNoVirtual();
3144 }
3145 inline void* GetMaybeArenaPointer() const final {
3146 return MaybeArenaPtr();
3147 }
3148 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3149 return GetDescriptor();
3150 }
3151 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3152 return GetMetadataStatic().descriptor;
3153 }
3154 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3155 return GetMetadataStatic().reflection;
3156 }
3157 static const CleanupGraphResponse& default_instance();
3158
3159 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
3160 static inline const CleanupGraphResponse* internal_default_instance() {
3161 return reinterpret_cast<const CleanupGraphResponse*>(
3162 &_CleanupGraphResponse_default_instance_);
3163 }
3164 static constexpr int kIndexInFileMessages =
3165 16;
3166
3167 friend void swap(CleanupGraphResponse& a, CleanupGraphResponse& b) {
3168 a.Swap(&b);
3169 }
3170 inline void Swap(CleanupGraphResponse* other) {
3171 if (other == this) return;
3172 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
3173 InternalSwap(other);
3174 } else {
3175 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3176 }
3177 }
3178 void UnsafeArenaSwap(CleanupGraphResponse* other) {
3179 if (other == this) return;
3180 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
3181 InternalSwap(other);
3182 }
3183
3184 // implements Message ----------------------------------------------
3185
3186 inline CleanupGraphResponse* New() const final {
3187 return CreateMaybeMessage<CleanupGraphResponse>(nullptr);
3188 }
3189
3190 CleanupGraphResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3191 return CreateMaybeMessage<CleanupGraphResponse>(arena);
3192 }
3193 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3194 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3195 void CopyFrom(const CleanupGraphResponse& from);
3196 void MergeFrom(const CleanupGraphResponse& from);
3197 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3198 bool IsInitialized() const final;
3199
3200 size_t ByteSizeLong() const final;
3201 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3202 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3203 #else
3204 bool MergePartialFromCodedStream(
3205 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
3206 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3207 void SerializeWithCachedSizes(
3208 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
3209 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
3210 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
3211 int GetCachedSize() const final { return _cached_size_.Get(); }
3212
3213 private:
3214 inline void SharedCtor();
3215 inline void SharedDtor();
3216 void SetCachedSize(int size) const final;
3217 void InternalSwap(CleanupGraphResponse* other);
3218 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3219 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3220 return "tensorflow.CleanupGraphResponse";
3221 }
3222 protected:
3223 explicit CleanupGraphResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3224 private:
3225 static void ArenaDtor(void* object);
3226 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3227 private:
3228 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3229 return _internal_metadata_.arena();
3230 }
3231 inline void* MaybeArenaPtr() const {
3232 return _internal_metadata_.raw_arena_ptr();
3233 }
3234 public:
3235
3236 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3237 private:
3238 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
3239 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
3240 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
3241 }
3242
3243 public:
3244
3245 // nested types ----------------------------------------------------
3246
3247 // accessors -------------------------------------------------------
3248
3249 // @@protoc_insertion_point(class_scope:tensorflow.CleanupGraphResponse)
3250 private:
3251 class _Internal;
3252
3253 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
3254 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3255 typedef void InternalArenaConstructable_;
3256 typedef void DestructorSkippable_;
3257 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3258 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
3259};
3260// -------------------------------------------------------------------
3261
3262class RecvTensorRequest :
3263 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.RecvTensorRequest) */ {
3264 public:
3265 RecvTensorRequest();
3266 virtual ~RecvTensorRequest();
3267
3268 RecvTensorRequest(const RecvTensorRequest& from);
3269 RecvTensorRequest(RecvTensorRequest&& from) noexcept
3270 : RecvTensorRequest() {
3271 *this = ::std::move(from);
3272 }
3273
3274 inline RecvTensorRequest& operator=(const RecvTensorRequest& from) {
3275 CopyFrom(from);
3276 return *this;
3277 }
3278 inline RecvTensorRequest& operator=(RecvTensorRequest&& from) noexcept {
3279 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3280 if (this != &from) InternalSwap(&from);
3281 } else {
3282 CopyFrom(from);
3283 }
3284 return *this;
3285 }
3286
3287 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
3288 return GetArenaNoVirtual();
3289 }
3290 inline void* GetMaybeArenaPointer() const final {
3291 return MaybeArenaPtr();
3292 }
3293 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3294 return GetDescriptor();
3295 }
3296 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3297 return GetMetadataStatic().descriptor;
3298 }
3299 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3300 return GetMetadataStatic().reflection;
3301 }
3302 static const RecvTensorRequest& default_instance();
3303
3304 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
3305 static inline const RecvTensorRequest* internal_default_instance() {
3306 return reinterpret_cast<const RecvTensorRequest*>(
3307 &_RecvTensorRequest_default_instance_);
3308 }
3309 static constexpr int kIndexInFileMessages =
3310 17;
3311
3312 friend void swap(RecvTensorRequest& a, RecvTensorRequest& b) {
3313 a.Swap(&b);
3314 }
3315 inline void Swap(RecvTensorRequest* other) {
3316 if (other == this) return;
3317 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
3318 InternalSwap(other);
3319 } else {
3320 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3321 }
3322 }
3323 void UnsafeArenaSwap(RecvTensorRequest* other) {
3324 if (other == this) return;
3325 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
3326 InternalSwap(other);
3327 }
3328
3329 // implements Message ----------------------------------------------
3330
3331 inline RecvTensorRequest* New() const final {
3332 return CreateMaybeMessage<RecvTensorRequest>(nullptr);
3333 }
3334
3335 RecvTensorRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3336 return CreateMaybeMessage<RecvTensorRequest>(arena);
3337 }
3338 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3339 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3340 void CopyFrom(const RecvTensorRequest& from);
3341 void MergeFrom(const RecvTensorRequest& from);
3342 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3343 bool IsInitialized() const final;
3344
3345 size_t ByteSizeLong() const final;
3346 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3347 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3348 #else
3349 bool MergePartialFromCodedStream(
3350 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
3351 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3352 void SerializeWithCachedSizes(
3353 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
3354 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
3355 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
3356 int GetCachedSize() const final { return _cached_size_.Get(); }
3357
3358 private:
3359 inline void SharedCtor();
3360 inline void SharedDtor();
3361 void SetCachedSize(int size) const final;
3362 void InternalSwap(RecvTensorRequest* other);
3363 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3364 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3365 return "tensorflow.RecvTensorRequest";
3366 }
3367 protected:
3368 explicit RecvTensorRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3369 private:
3370 static void ArenaDtor(void* object);
3371 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3372 private:
3373 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3374 return _internal_metadata_.arena();
3375 }
3376 inline void* MaybeArenaPtr() const {
3377 return _internal_metadata_.raw_arena_ptr();
3378 }
3379 public:
3380
3381 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3382 private:
3383 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
3384 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
3385 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
3386 }
3387
3388 public:
3389
3390 // nested types ----------------------------------------------------
3391
3392 // accessors -------------------------------------------------------
3393
3394 enum : int {
3395 kRendezvousKeyFieldNumber = 2,
3396 kClientLocalityFieldNumber = 4,
3397 kServerLocalityFieldNumber = 5,
3398 kTransportOptionsFieldNumber = 6,
3399 kStepIdFieldNumber = 1,
3400 kRequestIdFieldNumber = 7,
3401 kDmaOkFieldNumber = 3,
3402 };
3403 // string rendezvous_key = 2;
3404 void clear_rendezvous_key();
3405 const std::string& rendezvous_key() const;
3406 void set_rendezvous_key(const std::string& value);
3407 void set_rendezvous_key(std::string&& value);
3408 void set_rendezvous_key(const char* value);
3409 void set_rendezvous_key(const char* value, size_t size);
3410 std::string* mutable_rendezvous_key();
3411 std::string* release_rendezvous_key();
3412 void set_allocated_rendezvous_key(std::string* rendezvous_key);
3413 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3414 " string fields are deprecated and will be removed in a"
3415 " future release.")
3416 std::string* unsafe_arena_release_rendezvous_key();
3417 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
3418 " string fields are deprecated and will be removed in a"
3419 " future release.")
3420 void unsafe_arena_set_allocated_rendezvous_key(
3421 std::string* rendezvous_key);
3422
3423 // .tensorflow.DeviceLocality client_locality = 4;
3424 bool has_client_locality() const;
3425 void clear_client_locality();
3426 const ::tensorflow::DeviceLocality& client_locality() const;
3427 ::tensorflow::DeviceLocality* release_client_locality();
3428 ::tensorflow::DeviceLocality* mutable_client_locality();
3429 void set_allocated_client_locality(::tensorflow::DeviceLocality* client_locality);
3430 void unsafe_arena_set_allocated_client_locality(
3431 ::tensorflow::DeviceLocality* client_locality);
3432 ::tensorflow::DeviceLocality* unsafe_arena_release_client_locality();
3433
3434 // .tensorflow.DeviceLocality server_locality = 5;
3435 bool has_server_locality() const;
3436 void clear_server_locality();
3437 const ::tensorflow::DeviceLocality& server_locality() const;
3438 ::tensorflow::DeviceLocality* release_server_locality();
3439 ::tensorflow::DeviceLocality* mutable_server_locality();
3440 void set_allocated_server_locality(::tensorflow::DeviceLocality* server_locality);
3441 void unsafe_arena_set_allocated_server_locality(
3442 ::tensorflow::DeviceLocality* server_locality);
3443 ::tensorflow::DeviceLocality* unsafe_arena_release_server_locality();
3444
3445 // .google.protobuf.Any transport_options = 6;
3446 bool has_transport_options() const;
3447 void clear_transport_options();
3448 const PROTOBUF_NAMESPACE_ID::Any& transport_options() const;
3449 PROTOBUF_NAMESPACE_ID::Any* release_transport_options();
3450 PROTOBUF_NAMESPACE_ID::Any* mutable_transport_options();
3451 void set_allocated_transport_options(PROTOBUF_NAMESPACE_ID::Any* transport_options);
3452 void unsafe_arena_set_allocated_transport_options(
3453 PROTOBUF_NAMESPACE_ID::Any* transport_options);
3454 PROTOBUF_NAMESPACE_ID::Any* unsafe_arena_release_transport_options();
3455
3456 // int64 step_id = 1;
3457 void clear_step_id();
3458 ::PROTOBUF_NAMESPACE_ID::int64 step_id() const;
3459 void set_step_id(::PROTOBUF_NAMESPACE_ID::int64 value);
3460
3461 // int64 request_id = 7;
3462 void clear_request_id();
3463 ::PROTOBUF_NAMESPACE_ID::int64 request_id() const;
3464 void set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value);
3465
3466 // bool dma_ok = 3;
3467 void clear_dma_ok();
3468 bool dma_ok() const;
3469 void set_dma_ok(bool value);
3470
3471 // @@protoc_insertion_point(class_scope:tensorflow.RecvTensorRequest)
3472 private:
3473 class _Internal;
3474
3475 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
3476 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3477 typedef void InternalArenaConstructable_;
3478 typedef void DestructorSkippable_;
3479 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rendezvous_key_;
3480 ::tensorflow::DeviceLocality* client_locality_;
3481 ::tensorflow::DeviceLocality* server_locality_;
3482 PROTOBUF_NAMESPACE_ID::Any* transport_options_;
3483 ::PROTOBUF_NAMESPACE_ID::int64 step_id_;
3484 ::PROTOBUF_NAMESPACE_ID::int64 request_id_;
3485 bool dma_ok_;
3486 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3487 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
3488};
3489// -------------------------------------------------------------------
3490
3491class RecvTensorResponse :
3492 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.RecvTensorResponse) */ {
3493 public:
3494 RecvTensorResponse();
3495 virtual ~RecvTensorResponse();
3496
3497 RecvTensorResponse(const RecvTensorResponse& from);
3498 RecvTensorResponse(RecvTensorResponse&& from) noexcept
3499 : RecvTensorResponse() {
3500 *this = ::std::move(from);
3501 }
3502
3503 inline RecvTensorResponse& operator=(const RecvTensorResponse& from) {
3504 CopyFrom(from);
3505 return *this;
3506 }
3507 inline RecvTensorResponse& operator=(RecvTensorResponse&& from) noexcept {
3508 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3509 if (this != &from) InternalSwap(&from);
3510 } else {
3511 CopyFrom(from);
3512 }
3513 return *this;
3514 }
3515
3516 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
3517 return GetArenaNoVirtual();
3518 }
3519 inline void* GetMaybeArenaPointer() const final {
3520 return MaybeArenaPtr();
3521 }
3522 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3523 return GetDescriptor();
3524 }
3525 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3526 return GetMetadataStatic().descriptor;
3527 }
3528 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3529 return GetMetadataStatic().reflection;
3530 }
3531 static const RecvTensorResponse& default_instance();
3532
3533 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
3534 static inline const RecvTensorResponse* internal_default_instance() {
3535 return reinterpret_cast<const RecvTensorResponse*>(
3536 &_RecvTensorResponse_default_instance_);
3537 }
3538 static constexpr int kIndexInFileMessages =
3539 18;
3540
3541 friend void swap(RecvTensorResponse& a, RecvTensorResponse& b) {
3542 a.Swap(&b);
3543 }
3544 inline void Swap(RecvTensorResponse* other) {
3545 if (other == this) return;
3546 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
3547 InternalSwap(other);
3548 } else {
3549 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3550 }
3551 }
3552 void UnsafeArenaSwap(RecvTensorResponse* other) {
3553 if (other == this) return;
3554 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
3555 InternalSwap(other);
3556 }
3557
3558 // implements Message ----------------------------------------------
3559
3560 inline RecvTensorResponse* New() const final {
3561 return CreateMaybeMessage<RecvTensorResponse>(nullptr);
3562 }
3563
3564 RecvTensorResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3565 return CreateMaybeMessage<RecvTensorResponse>(arena);
3566 }
3567 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3568 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3569 void CopyFrom(const RecvTensorResponse& from);
3570 void MergeFrom(const RecvTensorResponse& from);
3571 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3572 bool IsInitialized() const final;
3573
3574 size_t ByteSizeLong() const final;
3575 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3576 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3577 #else
3578 bool MergePartialFromCodedStream(
3579 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
3580 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3581 void SerializeWithCachedSizes(
3582 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
3583 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
3584 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
3585 int GetCachedSize() const final { return _cached_size_.Get(); }
3586
3587 private:
3588 inline void SharedCtor();
3589 inline void SharedDtor();
3590 void SetCachedSize(int size) const final;
3591 void InternalSwap(RecvTensorResponse* other);
3592 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3593 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3594 return "tensorflow.RecvTensorResponse";
3595 }
3596 protected:
3597 explicit RecvTensorResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3598 private:
3599 static void ArenaDtor(void* object);
3600 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3601 private:
3602 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3603 return _internal_metadata_.arena();
3604 }
3605 inline void* MaybeArenaPtr() const {
3606 return _internal_metadata_.raw_arena_ptr();
3607 }
3608 public:
3609
3610 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3611 private:
3612 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
3613 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
3614 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
3615 }
3616
3617 public:
3618
3619 // nested types ----------------------------------------------------
3620
3621 // accessors -------------------------------------------------------
3622
3623 enum : int {
3624 kTensorFieldNumber = 1,
3625 kTransportOptionsFieldNumber = 4,
3626 kSendStartMicrosFieldNumber = 3,
3627 kIsDeadFieldNumber = 2,
3628 kRequireAckFieldNumber = 5,
3629 };
3630 // .tensorflow.TensorProto tensor = 1;
3631 bool has_tensor() const;
3632 void clear_tensor();
3633 const ::tensorflow::TensorProto& tensor() const;
3634 ::tensorflow::TensorProto* release_tensor();
3635 ::tensorflow::TensorProto* mutable_tensor();
3636 void set_allocated_tensor(::tensorflow::TensorProto* tensor);
3637 void unsafe_arena_set_allocated_tensor(
3638 ::tensorflow::TensorProto* tensor);
3639 ::tensorflow::TensorProto* unsafe_arena_release_tensor();
3640
3641 // .google.protobuf.Any transport_options = 4;
3642 bool has_transport_options() const;
3643 void clear_transport_options();
3644 const PROTOBUF_NAMESPACE_ID::Any& transport_options() const;
3645 PROTOBUF_NAMESPACE_ID::Any* release_transport_options();
3646 PROTOBUF_NAMESPACE_ID::Any* mutable_transport_options();
3647 void set_allocated_transport_options(PROTOBUF_NAMESPACE_ID::Any* transport_options);
3648 void unsafe_arena_set_allocated_transport_options(
3649 PROTOBUF_NAMESPACE_ID::Any* transport_options);
3650 PROTOBUF_NAMESPACE_ID::Any* unsafe_arena_release_transport_options();
3651
3652 // int64 send_start_micros = 3;
3653 void clear_send_start_micros();
3654 ::PROTOBUF_NAMESPACE_ID::int64 send_start_micros() const;
3655 void set_send_start_micros(::PROTOBUF_NAMESPACE_ID::int64 value);
3656
3657 // bool is_dead = 2;
3658 void clear_is_dead();
3659 bool is_dead() const;
3660 void set_is_dead(bool value);
3661
3662 // bool require_ack = 5;
3663 void clear_require_ack();
3664 bool require_ack() const;
3665 void set_require_ack(bool value);
3666
3667 // @@protoc_insertion_point(class_scope:tensorflow.RecvTensorResponse)
3668 private:
3669 class _Internal;
3670
3671 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
3672 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3673 typedef void InternalArenaConstructable_;
3674 typedef void DestructorSkippable_;
3675 ::tensorflow::TensorProto* tensor_;
3676 PROTOBUF_NAMESPACE_ID::Any* transport_options_;
3677 ::PROTOBUF_NAMESPACE_ID::int64 send_start_micros_;
3678 bool is_dead_;
3679 bool require_ack_;
3680 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3681 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
3682};
3683// -------------------------------------------------------------------
3684
3685class MarkRecvFinishedRequest :
3686 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.MarkRecvFinishedRequest) */ {
3687 public:
3688 MarkRecvFinishedRequest();
3689 virtual ~MarkRecvFinishedRequest();
3690
3691 MarkRecvFinishedRequest(const MarkRecvFinishedRequest& from);
3692 MarkRecvFinishedRequest(MarkRecvFinishedRequest&& from) noexcept
3693 : MarkRecvFinishedRequest() {
3694 *this = ::std::move(from);
3695 }
3696
3697 inline MarkRecvFinishedRequest& operator=(const MarkRecvFinishedRequest& from) {
3698 CopyFrom(from);
3699 return *this;
3700 }
3701 inline MarkRecvFinishedRequest& operator=(MarkRecvFinishedRequest&& from) noexcept {
3702 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3703 if (this != &from) InternalSwap(&from);
3704 } else {
3705 CopyFrom(from);
3706 }
3707 return *this;
3708 }
3709
3710 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
3711 return GetArenaNoVirtual();
3712 }
3713 inline void* GetMaybeArenaPointer() const final {
3714 return MaybeArenaPtr();
3715 }
3716 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3717 return GetDescriptor();
3718 }
3719 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3720 return GetMetadataStatic().descriptor;
3721 }
3722 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3723 return GetMetadataStatic().reflection;
3724 }
3725 static const MarkRecvFinishedRequest& default_instance();
3726
3727 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
3728 static inline const MarkRecvFinishedRequest* internal_default_instance() {
3729 return reinterpret_cast<const MarkRecvFinishedRequest*>(
3730 &_MarkRecvFinishedRequest_default_instance_);
3731 }
3732 static constexpr int kIndexInFileMessages =
3733 19;
3734
3735 friend void swap(MarkRecvFinishedRequest& a, MarkRecvFinishedRequest& b) {
3736 a.Swap(&b);
3737 }
3738 inline void Swap(MarkRecvFinishedRequest* other) {
3739 if (other == this) return;
3740 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
3741 InternalSwap(other);
3742 } else {
3743 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3744 }
3745 }
3746 void UnsafeArenaSwap(MarkRecvFinishedRequest* other) {
3747 if (other == this) return;
3748 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
3749 InternalSwap(other);
3750 }
3751
3752 // implements Message ----------------------------------------------
3753
3754 inline MarkRecvFinishedRequest* New() const final {
3755 return CreateMaybeMessage<MarkRecvFinishedRequest>(nullptr);
3756 }
3757
3758 MarkRecvFinishedRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3759 return CreateMaybeMessage<MarkRecvFinishedRequest>(arena);
3760 }
3761 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3762 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3763 void CopyFrom(const MarkRecvFinishedRequest& from);
3764 void MergeFrom(const MarkRecvFinishedRequest& from);
3765 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3766 bool IsInitialized() const final;
3767
3768 size_t ByteSizeLong() const final;
3769 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3770 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3771 #else
3772 bool MergePartialFromCodedStream(
3773 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
3774 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3775 void SerializeWithCachedSizes(
3776 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
3777 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
3778 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
3779 int GetCachedSize() const final { return _cached_size_.Get(); }
3780
3781 private:
3782 inline void SharedCtor();
3783 inline void SharedDtor();
3784 void SetCachedSize(int size) const final;
3785 void InternalSwap(MarkRecvFinishedRequest* other);
3786 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3787 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3788 return "tensorflow.MarkRecvFinishedRequest";
3789 }
3790 protected:
3791 explicit MarkRecvFinishedRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3792 private:
3793 static void ArenaDtor(void* object);
3794 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3795 private:
3796 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3797 return _internal_metadata_.arena();
3798 }
3799 inline void* MaybeArenaPtr() const {
3800 return _internal_metadata_.raw_arena_ptr();
3801 }
3802 public:
3803
3804 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3805 private:
3806 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
3807 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
3808 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
3809 }
3810
3811 public:
3812
3813 // nested types ----------------------------------------------------
3814
3815 // accessors -------------------------------------------------------
3816
3817 enum : int {
3818 kRequestIdFieldNumber = 1,
3819 };
3820 // int64 request_id = 1;
3821 void clear_request_id();
3822 ::PROTOBUF_NAMESPACE_ID::int64 request_id() const;
3823 void set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value);
3824
3825 // @@protoc_insertion_point(class_scope:tensorflow.MarkRecvFinishedRequest)
3826 private:
3827 class _Internal;
3828
3829 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
3830 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3831 typedef void InternalArenaConstructable_;
3832 typedef void DestructorSkippable_;
3833 ::PROTOBUF_NAMESPACE_ID::int64 request_id_;
3834 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3835 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
3836};
3837// -------------------------------------------------------------------
3838
3839class MarkRecvFinishedResponse :
3840 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.MarkRecvFinishedResponse) */ {
3841 public:
3842 MarkRecvFinishedResponse();
3843 virtual ~MarkRecvFinishedResponse();
3844
3845 MarkRecvFinishedResponse(const MarkRecvFinishedResponse& from);
3846 MarkRecvFinishedResponse(MarkRecvFinishedResponse&& from) noexcept
3847 : MarkRecvFinishedResponse() {
3848 *this = ::std::move(from);
3849 }
3850
3851 inline MarkRecvFinishedResponse& operator=(const MarkRecvFinishedResponse& from) {
3852 CopyFrom(from);
3853 return *this;
3854 }
3855 inline MarkRecvFinishedResponse& operator=(MarkRecvFinishedResponse&& from) noexcept {
3856 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3857 if (this != &from) InternalSwap(&from);
3858 } else {
3859 CopyFrom(from);
3860 }
3861 return *this;
3862 }
3863
3864 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
3865 return GetArenaNoVirtual();
3866 }
3867 inline void* GetMaybeArenaPointer() const final {
3868 return MaybeArenaPtr();
3869 }
3870 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3871 return GetDescriptor();
3872 }
3873 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3874 return GetMetadataStatic().descriptor;
3875 }
3876 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3877 return GetMetadataStatic().reflection;
3878 }
3879 static const MarkRecvFinishedResponse& default_instance();
3880
3881 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
3882 static inline const MarkRecvFinishedResponse* internal_default_instance() {
3883 return reinterpret_cast<const MarkRecvFinishedResponse*>(
3884 &_MarkRecvFinishedResponse_default_instance_);
3885 }
3886 static constexpr int kIndexInFileMessages =
3887 20;
3888
3889 friend void swap(MarkRecvFinishedResponse& a, MarkRecvFinishedResponse& b) {
3890 a.Swap(&b);
3891 }
3892 inline void Swap(MarkRecvFinishedResponse* other) {
3893 if (other == this) return;
3894 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
3895 InternalSwap(other);
3896 } else {
3897 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3898 }
3899 }
3900 void UnsafeArenaSwap(MarkRecvFinishedResponse* other) {
3901 if (other == this) return;
3902 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
3903 InternalSwap(other);
3904 }
3905
3906 // implements Message ----------------------------------------------
3907
3908 inline MarkRecvFinishedResponse* New() const final {
3909 return CreateMaybeMessage<MarkRecvFinishedResponse>(nullptr);
3910 }
3911
3912 MarkRecvFinishedResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3913 return CreateMaybeMessage<MarkRecvFinishedResponse>(arena);
3914 }
3915 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3916 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
3917 void CopyFrom(const MarkRecvFinishedResponse& from);
3918 void MergeFrom(const MarkRecvFinishedResponse& from);
3919 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3920 bool IsInitialized() const final;
3921
3922 size_t ByteSizeLong() const final;
3923 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3924 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3925 #else
3926 bool MergePartialFromCodedStream(
3927 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
3928 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3929 void SerializeWithCachedSizes(
3930 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
3931 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
3932 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
3933 int GetCachedSize() const final { return _cached_size_.Get(); }
3934
3935 private:
3936 inline void SharedCtor();
3937 inline void SharedDtor();
3938 void SetCachedSize(int size) const final;
3939 void InternalSwap(MarkRecvFinishedResponse* other);
3940 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3941 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3942 return "tensorflow.MarkRecvFinishedResponse";
3943 }
3944 protected:
3945 explicit MarkRecvFinishedResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3946 private:
3947 static void ArenaDtor(void* object);
3948 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3949 private:
3950 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3951 return _internal_metadata_.arena();
3952 }
3953 inline void* MaybeArenaPtr() const {
3954 return _internal_metadata_.raw_arena_ptr();
3955 }
3956 public:
3957
3958 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3959 private:
3960 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
3961 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
3962 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
3963 }
3964
3965 public:
3966
3967 // nested types ----------------------------------------------------
3968
3969 // accessors -------------------------------------------------------
3970
3971 // @@protoc_insertion_point(class_scope:tensorflow.MarkRecvFinishedResponse)
3972 private:
3973 class _Internal;
3974
3975 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
3976 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3977 typedef void InternalArenaConstructable_;
3978 typedef void DestructorSkippable_;
3979 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3980 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
3981};
3982// -------------------------------------------------------------------
3983
3984class LoggingRequest :
3985 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.LoggingRequest) */ {
3986 public:
3987 LoggingRequest();
3988 virtual ~LoggingRequest();
3989
3990 LoggingRequest(const LoggingRequest& from);
3991 LoggingRequest(LoggingRequest&& from) noexcept
3992 : LoggingRequest() {
3993 *this = ::std::move(from);
3994 }
3995
3996 inline LoggingRequest& operator=(const LoggingRequest& from) {
3997 CopyFrom(from);
3998 return *this;
3999 }
4000 inline LoggingRequest& operator=(LoggingRequest&& from) noexcept {
4001 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4002 if (this != &from) InternalSwap(&from);
4003 } else {
4004 CopyFrom(from);
4005 }
4006 return *this;
4007 }
4008
4009 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
4010 return GetArenaNoVirtual();
4011 }
4012 inline void* GetMaybeArenaPointer() const final {
4013 return MaybeArenaPtr();
4014 }
4015 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4016 return GetDescriptor();
4017 }
4018 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4019 return GetMetadataStatic().descriptor;
4020 }
4021 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4022 return GetMetadataStatic().reflection;
4023 }
4024 static const LoggingRequest& default_instance();
4025
4026 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
4027 static inline const LoggingRequest* internal_default_instance() {
4028 return reinterpret_cast<const LoggingRequest*>(
4029 &_LoggingRequest_default_instance_);
4030 }
4031 static constexpr int kIndexInFileMessages =
4032 21;
4033
4034 friend void swap(LoggingRequest& a, LoggingRequest& b) {
4035 a.Swap(&b);
4036 }
4037 inline void Swap(LoggingRequest* other) {
4038 if (other == this) return;
4039 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
4040 InternalSwap(other);
4041 } else {
4042 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4043 }
4044 }
4045 void UnsafeArenaSwap(LoggingRequest* other) {
4046 if (other == this) return;
4047 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
4048 InternalSwap(other);
4049 }
4050
4051 // implements Message ----------------------------------------------
4052
4053 inline LoggingRequest* New() const final {
4054 return CreateMaybeMessage<LoggingRequest>(nullptr);
4055 }
4056
4057 LoggingRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4058 return CreateMaybeMessage<LoggingRequest>(arena);
4059 }
4060 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4061 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4062 void CopyFrom(const LoggingRequest& from);
4063 void MergeFrom(const LoggingRequest& from);
4064 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4065 bool IsInitialized() const final;
4066
4067 size_t ByteSizeLong() const final;
4068 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4069 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4070 #else
4071 bool MergePartialFromCodedStream(
4072 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
4073 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4074 void SerializeWithCachedSizes(
4075 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
4076 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
4077 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
4078 int GetCachedSize() const final { return _cached_size_.Get(); }
4079
4080 private:
4081 inline void SharedCtor();
4082 inline void SharedDtor();
4083 void SetCachedSize(int size) const final;
4084 void InternalSwap(LoggingRequest* other);
4085 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4086 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4087 return "tensorflow.LoggingRequest";
4088 }
4089 protected:
4090 explicit LoggingRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4091 private:
4092 static void ArenaDtor(void* object);
4093 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4094 private:
4095 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4096 return _internal_metadata_.arena();
4097 }
4098 inline void* MaybeArenaPtr() const {
4099 return _internal_metadata_.raw_arena_ptr();
4100 }
4101 public:
4102
4103 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4104 private:
4105 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
4106 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
4107 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
4108 }
4109
4110 public:
4111
4112 // nested types ----------------------------------------------------
4113
4114 // accessors -------------------------------------------------------
4115
4116 enum : int {
4117 kFetchStepIdFieldNumber = 3,
4118 kEnableRpcLoggingFieldNumber = 1,
4119 kDisableRpcLoggingFieldNumber = 4,
4120 kClearFieldNumber = 2,
4121 };
4122 // repeated int64 fetch_step_id = 3;
4123 int fetch_step_id_size() const;
4124 void clear_fetch_step_id();
4125 ::PROTOBUF_NAMESPACE_ID::int64 fetch_step_id(int index) const;
4126 void set_fetch_step_id(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
4127 void add_fetch_step_id(::PROTOBUF_NAMESPACE_ID::int64 value);
4128 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
4129 fetch_step_id() const;
4130 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
4131 mutable_fetch_step_id();
4132
4133 // bool enable_rpc_logging = 1;
4134 void clear_enable_rpc_logging();
4135 bool enable_rpc_logging() const;
4136 void set_enable_rpc_logging(bool value);
4137
4138 // bool disable_rpc_logging = 4;
4139 void clear_disable_rpc_logging();
4140 bool disable_rpc_logging() const;
4141 void set_disable_rpc_logging(bool value);
4142
4143 // bool clear = 2;
4144 void clear_clear();
4145 bool clear() const;
4146 void set_clear(bool value);
4147
4148 // @@protoc_insertion_point(class_scope:tensorflow.LoggingRequest)
4149 private:
4150 class _Internal;
4151
4152 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
4153 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4154 typedef void InternalArenaConstructable_;
4155 typedef void DestructorSkippable_;
4156 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > fetch_step_id_;
4157 mutable std::atomic<int> _fetch_step_id_cached_byte_size_;
4158 bool enable_rpc_logging_;
4159 bool disable_rpc_logging_;
4160 bool clear_;
4161 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4162 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
4163};
4164// -------------------------------------------------------------------
4165
4166class LabeledStepStats :
4167 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.LabeledStepStats) */ {
4168 public:
4169 LabeledStepStats();
4170 virtual ~LabeledStepStats();
4171
4172 LabeledStepStats(const LabeledStepStats& from);
4173 LabeledStepStats(LabeledStepStats&& from) noexcept
4174 : LabeledStepStats() {
4175 *this = ::std::move(from);
4176 }
4177
4178 inline LabeledStepStats& operator=(const LabeledStepStats& from) {
4179 CopyFrom(from);
4180 return *this;
4181 }
4182 inline LabeledStepStats& operator=(LabeledStepStats&& from) noexcept {
4183 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4184 if (this != &from) InternalSwap(&from);
4185 } else {
4186 CopyFrom(from);
4187 }
4188 return *this;
4189 }
4190
4191 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
4192 return GetArenaNoVirtual();
4193 }
4194 inline void* GetMaybeArenaPointer() const final {
4195 return MaybeArenaPtr();
4196 }
4197 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4198 return GetDescriptor();
4199 }
4200 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4201 return GetMetadataStatic().descriptor;
4202 }
4203 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4204 return GetMetadataStatic().reflection;
4205 }
4206 static const LabeledStepStats& default_instance();
4207
4208 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
4209 static inline const LabeledStepStats* internal_default_instance() {
4210 return reinterpret_cast<const LabeledStepStats*>(
4211 &_LabeledStepStats_default_instance_);
4212 }
4213 static constexpr int kIndexInFileMessages =
4214 22;
4215
4216 friend void swap(LabeledStepStats& a, LabeledStepStats& b) {
4217 a.Swap(&b);
4218 }
4219 inline void Swap(LabeledStepStats* other) {
4220 if (other == this) return;
4221 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
4222 InternalSwap(other);
4223 } else {
4224 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4225 }
4226 }
4227 void UnsafeArenaSwap(LabeledStepStats* other) {
4228 if (other == this) return;
4229 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
4230 InternalSwap(other);
4231 }
4232
4233 // implements Message ----------------------------------------------
4234
4235 inline LabeledStepStats* New() const final {
4236 return CreateMaybeMessage<LabeledStepStats>(nullptr);
4237 }
4238
4239 LabeledStepStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4240 return CreateMaybeMessage<LabeledStepStats>(arena);
4241 }
4242 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4243 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4244 void CopyFrom(const LabeledStepStats& from);
4245 void MergeFrom(const LabeledStepStats& from);
4246 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4247 bool IsInitialized() const final;
4248
4249 size_t ByteSizeLong() const final;
4250 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4251 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4252 #else
4253 bool MergePartialFromCodedStream(
4254 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
4255 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4256 void SerializeWithCachedSizes(
4257 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
4258 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
4259 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
4260 int GetCachedSize() const final { return _cached_size_.Get(); }
4261
4262 private:
4263 inline void SharedCtor();
4264 inline void SharedDtor();
4265 void SetCachedSize(int size) const final;
4266 void InternalSwap(LabeledStepStats* other);
4267 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4268 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4269 return "tensorflow.LabeledStepStats";
4270 }
4271 protected:
4272 explicit LabeledStepStats(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4273 private:
4274 static void ArenaDtor(void* object);
4275 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4276 private:
4277 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4278 return _internal_metadata_.arena();
4279 }
4280 inline void* MaybeArenaPtr() const {
4281 return _internal_metadata_.raw_arena_ptr();
4282 }
4283 public:
4284
4285 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4286 private:
4287 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
4288 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
4289 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
4290 }
4291
4292 public:
4293
4294 // nested types ----------------------------------------------------
4295
4296 // accessors -------------------------------------------------------
4297
4298 enum : int {
4299 kStepStatsFieldNumber = 2,
4300 kStepIdFieldNumber = 1,
4301 };
4302 // .tensorflow.StepStats step_stats = 2;
4303 bool has_step_stats() const;
4304 void clear_step_stats();
4305 const ::tensorflow::StepStats& step_stats() const;
4306 ::tensorflow::StepStats* release_step_stats();
4307 ::tensorflow::StepStats* mutable_step_stats();
4308 void set_allocated_step_stats(::tensorflow::StepStats* step_stats);
4309 void unsafe_arena_set_allocated_step_stats(
4310 ::tensorflow::StepStats* step_stats);
4311 ::tensorflow::StepStats* unsafe_arena_release_step_stats();
4312
4313 // int64 step_id = 1;
4314 void clear_step_id();
4315 ::PROTOBUF_NAMESPACE_ID::int64 step_id() const;
4316 void set_step_id(::PROTOBUF_NAMESPACE_ID::int64 value);
4317
4318 // @@protoc_insertion_point(class_scope:tensorflow.LabeledStepStats)
4319 private:
4320 class _Internal;
4321
4322 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
4323 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4324 typedef void InternalArenaConstructable_;
4325 typedef void DestructorSkippable_;
4326 ::tensorflow::StepStats* step_stats_;
4327 ::PROTOBUF_NAMESPACE_ID::int64 step_id_;
4328 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4329 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
4330};
4331// -------------------------------------------------------------------
4332
4333class LoggingResponse :
4334 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.LoggingResponse) */ {
4335 public:
4336 LoggingResponse();
4337 virtual ~LoggingResponse();
4338
4339 LoggingResponse(const LoggingResponse& from);
4340 LoggingResponse(LoggingResponse&& from) noexcept
4341 : LoggingResponse() {
4342 *this = ::std::move(from);
4343 }
4344
4345 inline LoggingResponse& operator=(const LoggingResponse& from) {
4346 CopyFrom(from);
4347 return *this;
4348 }
4349 inline LoggingResponse& operator=(LoggingResponse&& from) noexcept {
4350 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4351 if (this != &from) InternalSwap(&from);
4352 } else {
4353 CopyFrom(from);
4354 }
4355 return *this;
4356 }
4357
4358 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
4359 return GetArenaNoVirtual();
4360 }
4361 inline void* GetMaybeArenaPointer() const final {
4362 return MaybeArenaPtr();
4363 }
4364 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4365 return GetDescriptor();
4366 }
4367 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4368 return GetMetadataStatic().descriptor;
4369 }
4370 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4371 return GetMetadataStatic().reflection;
4372 }
4373 static const LoggingResponse& default_instance();
4374
4375 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
4376 static inline const LoggingResponse* internal_default_instance() {
4377 return reinterpret_cast<const LoggingResponse*>(
4378 &_LoggingResponse_default_instance_);
4379 }
4380 static constexpr int kIndexInFileMessages =
4381 23;
4382
4383 friend void swap(LoggingResponse& a, LoggingResponse& b) {
4384 a.Swap(&b);
4385 }
4386 inline void Swap(LoggingResponse* other) {
4387 if (other == this) return;
4388 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
4389 InternalSwap(other);
4390 } else {
4391 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4392 }
4393 }
4394 void UnsafeArenaSwap(LoggingResponse* other) {
4395 if (other == this) return;
4396 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
4397 InternalSwap(other);
4398 }
4399
4400 // implements Message ----------------------------------------------
4401
4402 inline LoggingResponse* New() const final {
4403 return CreateMaybeMessage<LoggingResponse>(nullptr);
4404 }
4405
4406 LoggingResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4407 return CreateMaybeMessage<LoggingResponse>(arena);
4408 }
4409 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4410 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4411 void CopyFrom(const LoggingResponse& from);
4412 void MergeFrom(const LoggingResponse& from);
4413 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4414 bool IsInitialized() const final;
4415
4416 size_t ByteSizeLong() const final;
4417 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4418 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4419 #else
4420 bool MergePartialFromCodedStream(
4421 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
4422 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4423 void SerializeWithCachedSizes(
4424 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
4425 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
4426 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
4427 int GetCachedSize() const final { return _cached_size_.Get(); }
4428
4429 private:
4430 inline void SharedCtor();
4431 inline void SharedDtor();
4432 void SetCachedSize(int size) const final;
4433 void InternalSwap(LoggingResponse* other);
4434 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4435 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4436 return "tensorflow.LoggingResponse";
4437 }
4438 protected:
4439 explicit LoggingResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4440 private:
4441 static void ArenaDtor(void* object);
4442 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4443 private:
4444 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4445 return _internal_metadata_.arena();
4446 }
4447 inline void* MaybeArenaPtr() const {
4448 return _internal_metadata_.raw_arena_ptr();
4449 }
4450 public:
4451
4452 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4453 private:
4454 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
4455 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
4456 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
4457 }
4458
4459 public:
4460
4461 // nested types ----------------------------------------------------
4462
4463 // accessors -------------------------------------------------------
4464
4465 enum : int {
4466 kStepFieldNumber = 1,
4467 };
4468 // repeated .tensorflow.LabeledStepStats step = 1;
4469 int step_size() const;
4470 void clear_step();
4471 ::tensorflow::LabeledStepStats* mutable_step(int index);
4472 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::LabeledStepStats >*
4473 mutable_step();
4474 const ::tensorflow::LabeledStepStats& step(int index) const;
4475 ::tensorflow::LabeledStepStats* add_step();
4476 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::LabeledStepStats >&
4477 step() const;
4478
4479 // @@protoc_insertion_point(class_scope:tensorflow.LoggingResponse)
4480 private:
4481 class _Internal;
4482
4483 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
4484 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4485 typedef void InternalArenaConstructable_;
4486 typedef void DestructorSkippable_;
4487 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::LabeledStepStats > step_;
4488 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4489 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
4490};
4491// -------------------------------------------------------------------
4492
4493class TraceOpts :
4494 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.TraceOpts) */ {
4495 public:
4496 TraceOpts();
4497 virtual ~TraceOpts();
4498
4499 TraceOpts(const TraceOpts& from);
4500 TraceOpts(TraceOpts&& from) noexcept
4501 : TraceOpts() {
4502 *this = ::std::move(from);
4503 }
4504
4505 inline TraceOpts& operator=(const TraceOpts& from) {
4506 CopyFrom(from);
4507 return *this;
4508 }
4509 inline TraceOpts& operator=(TraceOpts&& from) noexcept {
4510 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4511 if (this != &from) InternalSwap(&from);
4512 } else {
4513 CopyFrom(from);
4514 }
4515 return *this;
4516 }
4517
4518 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
4519 return GetArenaNoVirtual();
4520 }
4521 inline void* GetMaybeArenaPointer() const final {
4522 return MaybeArenaPtr();
4523 }
4524 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4525 return GetDescriptor();
4526 }
4527 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4528 return GetMetadataStatic().descriptor;
4529 }
4530 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4531 return GetMetadataStatic().reflection;
4532 }
4533 static const TraceOpts& default_instance();
4534
4535 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
4536 static inline const TraceOpts* internal_default_instance() {
4537 return reinterpret_cast<const TraceOpts*>(
4538 &_TraceOpts_default_instance_);
4539 }
4540 static constexpr int kIndexInFileMessages =
4541 24;
4542
4543 friend void swap(TraceOpts& a, TraceOpts& b) {
4544 a.Swap(&b);
4545 }
4546 inline void Swap(TraceOpts* other) {
4547 if (other == this) return;
4548 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
4549 InternalSwap(other);
4550 } else {
4551 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4552 }
4553 }
4554 void UnsafeArenaSwap(TraceOpts* other) {
4555 if (other == this) return;
4556 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
4557 InternalSwap(other);
4558 }
4559
4560 // implements Message ----------------------------------------------
4561
4562 inline TraceOpts* New() const final {
4563 return CreateMaybeMessage<TraceOpts>(nullptr);
4564 }
4565
4566 TraceOpts* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4567 return CreateMaybeMessage<TraceOpts>(arena);
4568 }
4569 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4570 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4571 void CopyFrom(const TraceOpts& from);
4572 void MergeFrom(const TraceOpts& from);
4573 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4574 bool IsInitialized() const final;
4575
4576 size_t ByteSizeLong() const final;
4577 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4578 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4579 #else
4580 bool MergePartialFromCodedStream(
4581 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
4582 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4583 void SerializeWithCachedSizes(
4584 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
4585 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
4586 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
4587 int GetCachedSize() const final { return _cached_size_.Get(); }
4588
4589 private:
4590 inline void SharedCtor();
4591 inline void SharedDtor();
4592 void SetCachedSize(int size) const final;
4593 void InternalSwap(TraceOpts* other);
4594 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4595 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4596 return "tensorflow.TraceOpts";
4597 }
4598 protected:
4599 explicit TraceOpts(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4600 private:
4601 static void ArenaDtor(void* object);
4602 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4603 private:
4604 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4605 return _internal_metadata_.arena();
4606 }
4607 inline void* MaybeArenaPtr() const {
4608 return _internal_metadata_.raw_arena_ptr();
4609 }
4610 public:
4611
4612 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4613 private:
4614 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
4615 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
4616 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
4617 }
4618
4619 public:
4620
4621 // nested types ----------------------------------------------------
4622
4623 // accessors -------------------------------------------------------
4624
4625 enum : int {
4626 kDurationFieldNumber = 1,
4627 kUseStepProfilerFieldNumber = 2,
4628 kUseKernelProfilerFieldNumber = 3,
4629 kUseExtendedProfilerFieldNumber = 4,
4630 kUseGpuProfilerFieldNumber = 5,
4631 kUseSampleProfilerFieldNumber = 6,
4632 };
4633 // double duration = 1;
4634 void clear_duration();
4635 double duration() const;
4636 void set_duration(double value);
4637
4638 // bool use_step_profiler = 2;
4639 void clear_use_step_profiler();
4640 bool use_step_profiler() const;
4641 void set_use_step_profiler(bool value);
4642
4643 // bool use_kernel_profiler = 3;
4644 void clear_use_kernel_profiler();
4645 bool use_kernel_profiler() const;
4646 void set_use_kernel_profiler(bool value);
4647
4648 // bool use_extended_profiler = 4;
4649 void clear_use_extended_profiler();
4650 bool use_extended_profiler() const;
4651 void set_use_extended_profiler(bool value);
4652
4653 // bool use_gpu_profiler = 5;
4654 void clear_use_gpu_profiler();
4655 bool use_gpu_profiler() const;
4656 void set_use_gpu_profiler(bool value);
4657
4658 // bool use_sample_profiler = 6;
4659 void clear_use_sample_profiler();
4660 bool use_sample_profiler() const;
4661 void set_use_sample_profiler(bool value);
4662
4663 // @@protoc_insertion_point(class_scope:tensorflow.TraceOpts)
4664 private:
4665 class _Internal;
4666
4667 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
4668 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4669 typedef void InternalArenaConstructable_;
4670 typedef void DestructorSkippable_;
4671 double duration_;
4672 bool use_step_profiler_;
4673 bool use_kernel_profiler_;
4674 bool use_extended_profiler_;
4675 bool use_gpu_profiler_;
4676 bool use_sample_profiler_;
4677 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4678 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
4679};
4680// -------------------------------------------------------------------
4681
4682class TracingRequest :
4683 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.TracingRequest) */ {
4684 public:
4685 TracingRequest();
4686 virtual ~TracingRequest();
4687
4688 TracingRequest(const TracingRequest& from);
4689 TracingRequest(TracingRequest&& from) noexcept
4690 : TracingRequest() {
4691 *this = ::std::move(from);
4692 }
4693
4694 inline TracingRequest& operator=(const TracingRequest& from) {
4695 CopyFrom(from);
4696 return *this;
4697 }
4698 inline TracingRequest& operator=(TracingRequest&& from) noexcept {
4699 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4700 if (this != &from) InternalSwap(&from);
4701 } else {
4702 CopyFrom(from);
4703 }
4704 return *this;
4705 }
4706
4707 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
4708 return GetArenaNoVirtual();
4709 }
4710 inline void* GetMaybeArenaPointer() const final {
4711 return MaybeArenaPtr();
4712 }
4713 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4714 return GetDescriptor();
4715 }
4716 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4717 return GetMetadataStatic().descriptor;
4718 }
4719 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4720 return GetMetadataStatic().reflection;
4721 }
4722 static const TracingRequest& default_instance();
4723
4724 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
4725 static inline const TracingRequest* internal_default_instance() {
4726 return reinterpret_cast<const TracingRequest*>(
4727 &_TracingRequest_default_instance_);
4728 }
4729 static constexpr int kIndexInFileMessages =
4730 25;
4731
4732 friend void swap(TracingRequest& a, TracingRequest& b) {
4733 a.Swap(&b);
4734 }
4735 inline void Swap(TracingRequest* other) {
4736 if (other == this) return;
4737 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
4738 InternalSwap(other);
4739 } else {
4740 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4741 }
4742 }
4743 void UnsafeArenaSwap(TracingRequest* other) {
4744 if (other == this) return;
4745 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
4746 InternalSwap(other);
4747 }
4748
4749 // implements Message ----------------------------------------------
4750
4751 inline TracingRequest* New() const final {
4752 return CreateMaybeMessage<TracingRequest>(nullptr);
4753 }
4754
4755 TracingRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4756 return CreateMaybeMessage<TracingRequest>(arena);
4757 }
4758 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4759 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4760 void CopyFrom(const TracingRequest& from);
4761 void MergeFrom(const TracingRequest& from);
4762 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4763 bool IsInitialized() const final;
4764
4765 size_t ByteSizeLong() const final;
4766 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4767 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4768 #else
4769 bool MergePartialFromCodedStream(
4770 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
4771 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4772 void SerializeWithCachedSizes(
4773 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
4774 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
4775 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
4776 int GetCachedSize() const final { return _cached_size_.Get(); }
4777
4778 private:
4779 inline void SharedCtor();
4780 inline void SharedDtor();
4781 void SetCachedSize(int size) const final;
4782 void InternalSwap(TracingRequest* other);
4783 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4784 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4785 return "tensorflow.TracingRequest";
4786 }
4787 protected:
4788 explicit TracingRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4789 private:
4790 static void ArenaDtor(void* object);
4791 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4792 private:
4793 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4794 return _internal_metadata_.arena();
4795 }
4796 inline void* MaybeArenaPtr() const {
4797 return _internal_metadata_.raw_arena_ptr();
4798 }
4799 public:
4800
4801 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4802 private:
4803 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
4804 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
4805 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
4806 }
4807
4808 public:
4809
4810 // nested types ----------------------------------------------------
4811
4812 // accessors -------------------------------------------------------
4813
4814 enum : int {
4815 kOptionsFieldNumber = 1,
4816 };
4817 // .tensorflow.TraceOpts options = 1;
4818 bool has_options() const;
4819 void clear_options();
4820 const ::tensorflow::TraceOpts& options() const;
4821 ::tensorflow::TraceOpts* release_options();
4822 ::tensorflow::TraceOpts* mutable_options();
4823 void set_allocated_options(::tensorflow::TraceOpts* options);
4824 void unsafe_arena_set_allocated_options(
4825 ::tensorflow::TraceOpts* options);
4826 ::tensorflow::TraceOpts* unsafe_arena_release_options();
4827
4828 // @@protoc_insertion_point(class_scope:tensorflow.TracingRequest)
4829 private:
4830 class _Internal;
4831
4832 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
4833 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4834 typedef void InternalArenaConstructable_;
4835 typedef void DestructorSkippable_;
4836 ::tensorflow::TraceOpts* options_;
4837 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4838 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
4839};
4840// -------------------------------------------------------------------
4841
4842class TracingResponse :
4843 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.TracingResponse) */ {
4844 public:
4845 TracingResponse();
4846 virtual ~TracingResponse();
4847
4848 TracingResponse(const TracingResponse& from);
4849 TracingResponse(TracingResponse&& from) noexcept
4850 : TracingResponse() {
4851 *this = ::std::move(from);
4852 }
4853
4854 inline TracingResponse& operator=(const TracingResponse& from) {
4855 CopyFrom(from);
4856 return *this;
4857 }
4858 inline TracingResponse& operator=(TracingResponse&& from) noexcept {
4859 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4860 if (this != &from) InternalSwap(&from);
4861 } else {
4862 CopyFrom(from);
4863 }
4864 return *this;
4865 }
4866
4867 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
4868 return GetArenaNoVirtual();
4869 }
4870 inline void* GetMaybeArenaPointer() const final {
4871 return MaybeArenaPtr();
4872 }
4873 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4874 return GetDescriptor();
4875 }
4876 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4877 return GetMetadataStatic().descriptor;
4878 }
4879 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4880 return GetMetadataStatic().reflection;
4881 }
4882 static const TracingResponse& default_instance();
4883
4884 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
4885 static inline const TracingResponse* internal_default_instance() {
4886 return reinterpret_cast<const TracingResponse*>(
4887 &_TracingResponse_default_instance_);
4888 }
4889 static constexpr int kIndexInFileMessages =
4890 26;
4891
4892 friend void swap(TracingResponse& a, TracingResponse& b) {
4893 a.Swap(&b);
4894 }
4895 inline void Swap(TracingResponse* other) {
4896 if (other == this) return;
4897 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
4898 InternalSwap(other);
4899 } else {
4900 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4901 }
4902 }
4903 void UnsafeArenaSwap(TracingResponse* other) {
4904 if (other == this) return;
4905 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
4906 InternalSwap(other);
4907 }
4908
4909 // implements Message ----------------------------------------------
4910
4911 inline TracingResponse* New() const final {
4912 return CreateMaybeMessage<TracingResponse>(nullptr);
4913 }
4914
4915 TracingResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4916 return CreateMaybeMessage<TracingResponse>(arena);
4917 }
4918 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4919 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
4920 void CopyFrom(const TracingResponse& from);
4921 void MergeFrom(const TracingResponse& from);
4922 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4923 bool IsInitialized() const final;
4924
4925 size_t ByteSizeLong() const final;
4926 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4927 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4928 #else
4929 bool MergePartialFromCodedStream(
4930 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
4931 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4932 void SerializeWithCachedSizes(
4933 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
4934 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
4935 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
4936 int GetCachedSize() const final { return _cached_size_.Get(); }
4937
4938 private:
4939 inline void SharedCtor();
4940 inline void SharedDtor();
4941 void SetCachedSize(int size) const final;
4942 void InternalSwap(TracingResponse* other);
4943 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4944 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4945 return "tensorflow.TracingResponse";
4946 }
4947 protected:
4948 explicit TracingResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4949 private:
4950 static void ArenaDtor(void* object);
4951 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4952 private:
4953 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4954 return _internal_metadata_.arena();
4955 }
4956 inline void* MaybeArenaPtr() const {
4957 return _internal_metadata_.raw_arena_ptr();
4958 }
4959 public:
4960
4961 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4962 private:
4963 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
4964 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
4965 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
4966 }
4967
4968 public:
4969
4970 // nested types ----------------------------------------------------
4971
4972 // accessors -------------------------------------------------------
4973
4974 // @@protoc_insertion_point(class_scope:tensorflow.TracingResponse)
4975 private:
4976 class _Internal;
4977
4978 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
4979 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4980 typedef void InternalArenaConstructable_;
4981 typedef void DestructorSkippable_;
4982 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4983 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
4984};
4985// -------------------------------------------------------------------
4986
4987class RecvBufRequest :
4988 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.RecvBufRequest) */ {
4989 public:
4990 RecvBufRequest();
4991 virtual ~RecvBufRequest();
4992
4993 RecvBufRequest(const RecvBufRequest& from);
4994 RecvBufRequest(RecvBufRequest&& from) noexcept
4995 : RecvBufRequest() {
4996 *this = ::std::move(from);
4997 }
4998
4999 inline RecvBufRequest& operator=(const RecvBufRequest& from) {
5000 CopyFrom(from);
5001 return *this;
5002 }
5003 inline RecvBufRequest& operator=(RecvBufRequest&& from) noexcept {
5004 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5005 if (this != &from) InternalSwap(&from);
5006 } else {
5007 CopyFrom(from);
5008 }
5009 return *this;
5010 }
5011
5012 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
5013 return GetArenaNoVirtual();
5014 }
5015 inline void* GetMaybeArenaPointer() const final {
5016 return MaybeArenaPtr();
5017 }
5018 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5019 return GetDescriptor();
5020 }
5021 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5022 return GetMetadataStatic().descriptor;
5023 }
5024 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5025 return GetMetadataStatic().reflection;
5026 }
5027 static const RecvBufRequest& default_instance();
5028
5029 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
5030 static inline const RecvBufRequest* internal_default_instance() {
5031 return reinterpret_cast<const RecvBufRequest*>(
5032 &_RecvBufRequest_default_instance_);
5033 }
5034 static constexpr int kIndexInFileMessages =
5035 27;
5036
5037 friend void swap(RecvBufRequest& a, RecvBufRequest& b) {
5038 a.Swap(&b);
5039 }
5040 inline void Swap(RecvBufRequest* other) {
5041 if (other == this) return;
5042 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
5043 InternalSwap(other);
5044 } else {
5045 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5046 }
5047 }
5048 void UnsafeArenaSwap(RecvBufRequest* other) {
5049 if (other == this) return;
5050 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
5051 InternalSwap(other);
5052 }
5053
5054 // implements Message ----------------------------------------------
5055
5056 inline RecvBufRequest* New() const final {
5057 return CreateMaybeMessage<RecvBufRequest>(nullptr);
5058 }
5059
5060 RecvBufRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5061 return CreateMaybeMessage<RecvBufRequest>(arena);
5062 }
5063 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5064 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5065 void CopyFrom(const RecvBufRequest& from);
5066 void MergeFrom(const RecvBufRequest& from);
5067 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5068 bool IsInitialized() const final;
5069
5070 size_t ByteSizeLong() const final;
5071 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5072 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5073 #else
5074 bool MergePartialFromCodedStream(
5075 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
5076 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5077 void SerializeWithCachedSizes(
5078 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
5079 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
5080 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
5081 int GetCachedSize() const final { return _cached_size_.Get(); }
5082
5083 private:
5084 inline void SharedCtor();
5085 inline void SharedDtor();
5086 void SetCachedSize(int size) const final;
5087 void InternalSwap(RecvBufRequest* other);
5088 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5089 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5090 return "tensorflow.RecvBufRequest";
5091 }
5092 protected:
5093 explicit RecvBufRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5094 private:
5095 static void ArenaDtor(void* object);
5096 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5097 private:
5098 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
5099 return _internal_metadata_.arena();
5100 }
5101 inline void* MaybeArenaPtr() const {
5102 return _internal_metadata_.raw_arena_ptr();
5103 }
5104 public:
5105
5106 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5107 private:
5108 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
5109 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
5110 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
5111 }
5112
5113 public:
5114
5115 // nested types ----------------------------------------------------
5116
5117 // accessors -------------------------------------------------------
5118
5119 enum : int {
5120 kBufRendezvousKeyFieldNumber = 2,
5121 kSrcDeviceFieldNumber = 8,
5122 kDstDeviceFieldNumber = 9,
5123 kClientLocalityFieldNumber = 5,
5124 kServerLocalityFieldNumber = 6,
5125 kTransportOptionsFieldNumber = 7,
5126 kStepIdFieldNumber = 1,
5127 kNumBytesFieldNumber = 3,
5128 kBufPtrFieldNumber = 4,
5129 kRequestIdFieldNumber = 10,
5130 kSrcIncarnationFieldNumber = 11,
5131 };
5132 // string buf_rendezvous_key = 2;
5133 void clear_buf_rendezvous_key();
5134 const std::string& buf_rendezvous_key() const;
5135 void set_buf_rendezvous_key(const std::string& value);
5136 void set_buf_rendezvous_key(std::string&& value);
5137 void set_buf_rendezvous_key(const char* value);
5138 void set_buf_rendezvous_key(const char* value, size_t size);
5139 std::string* mutable_buf_rendezvous_key();
5140 std::string* release_buf_rendezvous_key();
5141 void set_allocated_buf_rendezvous_key(std::string* buf_rendezvous_key);
5142 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5143 " string fields are deprecated and will be removed in a"
5144 " future release.")
5145 std::string* unsafe_arena_release_buf_rendezvous_key();
5146 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5147 " string fields are deprecated and will be removed in a"
5148 " future release.")
5149 void unsafe_arena_set_allocated_buf_rendezvous_key(
5150 std::string* buf_rendezvous_key);
5151
5152 // string src_device = 8;
5153 void clear_src_device();
5154 const std::string& src_device() const;
5155 void set_src_device(const std::string& value);
5156 void set_src_device(std::string&& value);
5157 void set_src_device(const char* value);
5158 void set_src_device(const char* value, size_t size);
5159 std::string* mutable_src_device();
5160 std::string* release_src_device();
5161 void set_allocated_src_device(std::string* src_device);
5162 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5163 " string fields are deprecated and will be removed in a"
5164 " future release.")
5165 std::string* unsafe_arena_release_src_device();
5166 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5167 " string fields are deprecated and will be removed in a"
5168 " future release.")
5169 void unsafe_arena_set_allocated_src_device(
5170 std::string* src_device);
5171
5172 // string dst_device = 9;
5173 void clear_dst_device();
5174 const std::string& dst_device() const;
5175 void set_dst_device(const std::string& value);
5176 void set_dst_device(std::string&& value);
5177 void set_dst_device(const char* value);
5178 void set_dst_device(const char* value, size_t size);
5179 std::string* mutable_dst_device();
5180 std::string* release_dst_device();
5181 void set_allocated_dst_device(std::string* dst_device);
5182 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5183 " string fields are deprecated and will be removed in a"
5184 " future release.")
5185 std::string* unsafe_arena_release_dst_device();
5186 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5187 " string fields are deprecated and will be removed in a"
5188 " future release.")
5189 void unsafe_arena_set_allocated_dst_device(
5190 std::string* dst_device);
5191
5192 // .tensorflow.DeviceLocality client_locality = 5;
5193 bool has_client_locality() const;
5194 void clear_client_locality();
5195 const ::tensorflow::DeviceLocality& client_locality() const;
5196 ::tensorflow::DeviceLocality* release_client_locality();
5197 ::tensorflow::DeviceLocality* mutable_client_locality();
5198 void set_allocated_client_locality(::tensorflow::DeviceLocality* client_locality);
5199 void unsafe_arena_set_allocated_client_locality(
5200 ::tensorflow::DeviceLocality* client_locality);
5201 ::tensorflow::DeviceLocality* unsafe_arena_release_client_locality();
5202
5203 // .tensorflow.DeviceLocality server_locality = 6;
5204 bool has_server_locality() const;
5205 void clear_server_locality();
5206 const ::tensorflow::DeviceLocality& server_locality() const;
5207 ::tensorflow::DeviceLocality* release_server_locality();
5208 ::tensorflow::DeviceLocality* mutable_server_locality();
5209 void set_allocated_server_locality(::tensorflow::DeviceLocality* server_locality);
5210 void unsafe_arena_set_allocated_server_locality(
5211 ::tensorflow::DeviceLocality* server_locality);
5212 ::tensorflow::DeviceLocality* unsafe_arena_release_server_locality();
5213
5214 // .google.protobuf.Any transport_options = 7;
5215 bool has_transport_options() const;
5216 void clear_transport_options();
5217 const PROTOBUF_NAMESPACE_ID::Any& transport_options() const;
5218 PROTOBUF_NAMESPACE_ID::Any* release_transport_options();
5219 PROTOBUF_NAMESPACE_ID::Any* mutable_transport_options();
5220 void set_allocated_transport_options(PROTOBUF_NAMESPACE_ID::Any* transport_options);
5221 void unsafe_arena_set_allocated_transport_options(
5222 PROTOBUF_NAMESPACE_ID::Any* transport_options);
5223 PROTOBUF_NAMESPACE_ID::Any* unsafe_arena_release_transport_options();
5224
5225 // int64 step_id = 1;
5226 void clear_step_id();
5227 ::PROTOBUF_NAMESPACE_ID::int64 step_id() const;
5228 void set_step_id(::PROTOBUF_NAMESPACE_ID::int64 value);
5229
5230 // int64 num_bytes = 3;
5231 void clear_num_bytes();
5232 ::PROTOBUF_NAMESPACE_ID::int64 num_bytes() const;
5233 void set_num_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
5234
5235 // fixed64 buf_ptr = 4;
5236 void clear_buf_ptr();
5237 ::PROTOBUF_NAMESPACE_ID::uint64 buf_ptr() const;
5238 void set_buf_ptr(::PROTOBUF_NAMESPACE_ID::uint64 value);
5239
5240 // int64 request_id = 10;
5241 void clear_request_id();
5242 ::PROTOBUF_NAMESPACE_ID::int64 request_id() const;
5243 void set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value);
5244
5245 // uint64 src_incarnation = 11;
5246 void clear_src_incarnation();
5247 ::PROTOBUF_NAMESPACE_ID::uint64 src_incarnation() const;
5248 void set_src_incarnation(::PROTOBUF_NAMESPACE_ID::uint64 value);
5249
5250 // @@protoc_insertion_point(class_scope:tensorflow.RecvBufRequest)
5251 private:
5252 class _Internal;
5253
5254 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
5255 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5256 typedef void InternalArenaConstructable_;
5257 typedef void DestructorSkippable_;
5258 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr buf_rendezvous_key_;
5259 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr src_device_;
5260 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dst_device_;
5261 ::tensorflow::DeviceLocality* client_locality_;
5262 ::tensorflow::DeviceLocality* server_locality_;
5263 PROTOBUF_NAMESPACE_ID::Any* transport_options_;
5264 ::PROTOBUF_NAMESPACE_ID::int64 step_id_;
5265 ::PROTOBUF_NAMESPACE_ID::int64 num_bytes_;
5266 ::PROTOBUF_NAMESPACE_ID::uint64 buf_ptr_;
5267 ::PROTOBUF_NAMESPACE_ID::int64 request_id_;
5268 ::PROTOBUF_NAMESPACE_ID::uint64 src_incarnation_;
5269 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5270 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
5271};
5272// -------------------------------------------------------------------
5273
5274class RecvBufResponse :
5275 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.RecvBufResponse) */ {
5276 public:
5277 RecvBufResponse();
5278 virtual ~RecvBufResponse();
5279
5280 RecvBufResponse(const RecvBufResponse& from);
5281 RecvBufResponse(RecvBufResponse&& from) noexcept
5282 : RecvBufResponse() {
5283 *this = ::std::move(from);
5284 }
5285
5286 inline RecvBufResponse& operator=(const RecvBufResponse& from) {
5287 CopyFrom(from);
5288 return *this;
5289 }
5290 inline RecvBufResponse& operator=(RecvBufResponse&& from) noexcept {
5291 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5292 if (this != &from) InternalSwap(&from);
5293 } else {
5294 CopyFrom(from);
5295 }
5296 return *this;
5297 }
5298
5299 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
5300 return GetArenaNoVirtual();
5301 }
5302 inline void* GetMaybeArenaPointer() const final {
5303 return MaybeArenaPtr();
5304 }
5305 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5306 return GetDescriptor();
5307 }
5308 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5309 return GetMetadataStatic().descriptor;
5310 }
5311 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5312 return GetMetadataStatic().reflection;
5313 }
5314 static const RecvBufResponse& default_instance();
5315
5316 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
5317 static inline const RecvBufResponse* internal_default_instance() {
5318 return reinterpret_cast<const RecvBufResponse*>(
5319 &_RecvBufResponse_default_instance_);
5320 }
5321 static constexpr int kIndexInFileMessages =
5322 28;
5323
5324 friend void swap(RecvBufResponse& a, RecvBufResponse& b) {
5325 a.Swap(&b);
5326 }
5327 inline void Swap(RecvBufResponse* other) {
5328 if (other == this) return;
5329 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
5330 InternalSwap(other);
5331 } else {
5332 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5333 }
5334 }
5335 void UnsafeArenaSwap(RecvBufResponse* other) {
5336 if (other == this) return;
5337 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
5338 InternalSwap(other);
5339 }
5340
5341 // implements Message ----------------------------------------------
5342
5343 inline RecvBufResponse* New() const final {
5344 return CreateMaybeMessage<RecvBufResponse>(nullptr);
5345 }
5346
5347 RecvBufResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5348 return CreateMaybeMessage<RecvBufResponse>(arena);
5349 }
5350 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5351 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5352 void CopyFrom(const RecvBufResponse& from);
5353 void MergeFrom(const RecvBufResponse& from);
5354 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5355 bool IsInitialized() const final;
5356
5357 size_t ByteSizeLong() const final;
5358 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5359 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5360 #else
5361 bool MergePartialFromCodedStream(
5362 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
5363 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5364 void SerializeWithCachedSizes(
5365 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
5366 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
5367 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
5368 int GetCachedSize() const final { return _cached_size_.Get(); }
5369
5370 private:
5371 inline void SharedCtor();
5372 inline void SharedDtor();
5373 void SetCachedSize(int size) const final;
5374 void InternalSwap(RecvBufResponse* other);
5375 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5376 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5377 return "tensorflow.RecvBufResponse";
5378 }
5379 protected:
5380 explicit RecvBufResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5381 private:
5382 static void ArenaDtor(void* object);
5383 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5384 private:
5385 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
5386 return _internal_metadata_.arena();
5387 }
5388 inline void* MaybeArenaPtr() const {
5389 return _internal_metadata_.raw_arena_ptr();
5390 }
5391 public:
5392
5393 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5394 private:
5395 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
5396 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
5397 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
5398 }
5399
5400 public:
5401
5402 // nested types ----------------------------------------------------
5403
5404 // accessors -------------------------------------------------------
5405
5406 enum : int {
5407 kTransportOptionsFieldNumber = 4,
5408 kBufPtrFieldNumber = 1,
5409 kNumBytesFieldNumber = 2,
5410 kSendStartMicrosFieldNumber = 5,
5411 kIsDeadFieldNumber = 3,
5412 kRequireAckFieldNumber = 6,
5413 };
5414 // .google.protobuf.Any transport_options = 4;
5415 bool has_transport_options() const;
5416 void clear_transport_options();
5417 const PROTOBUF_NAMESPACE_ID::Any& transport_options() const;
5418 PROTOBUF_NAMESPACE_ID::Any* release_transport_options();
5419 PROTOBUF_NAMESPACE_ID::Any* mutable_transport_options();
5420 void set_allocated_transport_options(PROTOBUF_NAMESPACE_ID::Any* transport_options);
5421 void unsafe_arena_set_allocated_transport_options(
5422 PROTOBUF_NAMESPACE_ID::Any* transport_options);
5423 PROTOBUF_NAMESPACE_ID::Any* unsafe_arena_release_transport_options();
5424
5425 // fixed64 buf_ptr = 1;
5426 void clear_buf_ptr();
5427 ::PROTOBUF_NAMESPACE_ID::uint64 buf_ptr() const;
5428 void set_buf_ptr(::PROTOBUF_NAMESPACE_ID::uint64 value);
5429
5430 // int64 num_bytes = 2;
5431 void clear_num_bytes();
5432 ::PROTOBUF_NAMESPACE_ID::int64 num_bytes() const;
5433 void set_num_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
5434
5435 // int64 send_start_micros = 5;
5436 void clear_send_start_micros();
5437 ::PROTOBUF_NAMESPACE_ID::int64 send_start_micros() const;
5438 void set_send_start_micros(::PROTOBUF_NAMESPACE_ID::int64 value);
5439
5440 // bool is_dead = 3;
5441 void clear_is_dead();
5442 bool is_dead() const;
5443 void set_is_dead(bool value);
5444
5445 // bool require_ack = 6;
5446 void clear_require_ack();
5447 bool require_ack() const;
5448 void set_require_ack(bool value);
5449
5450 // @@protoc_insertion_point(class_scope:tensorflow.RecvBufResponse)
5451 private:
5452 class _Internal;
5453
5454 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
5455 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5456 typedef void InternalArenaConstructable_;
5457 typedef void DestructorSkippable_;
5458 PROTOBUF_NAMESPACE_ID::Any* transport_options_;
5459 ::PROTOBUF_NAMESPACE_ID::uint64 buf_ptr_;
5460 ::PROTOBUF_NAMESPACE_ID::int64 num_bytes_;
5461 ::PROTOBUF_NAMESPACE_ID::int64 send_start_micros_;
5462 bool is_dead_;
5463 bool require_ack_;
5464 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5465 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
5466};
5467// -------------------------------------------------------------------
5468
5469class CompleteGroupRequest :
5470 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CompleteGroupRequest) */ {
5471 public:
5472 CompleteGroupRequest();
5473 virtual ~CompleteGroupRequest();
5474
5475 CompleteGroupRequest(const CompleteGroupRequest& from);
5476 CompleteGroupRequest(CompleteGroupRequest&& from) noexcept
5477 : CompleteGroupRequest() {
5478 *this = ::std::move(from);
5479 }
5480
5481 inline CompleteGroupRequest& operator=(const CompleteGroupRequest& from) {
5482 CopyFrom(from);
5483 return *this;
5484 }
5485 inline CompleteGroupRequest& operator=(CompleteGroupRequest&& from) noexcept {
5486 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5487 if (this != &from) InternalSwap(&from);
5488 } else {
5489 CopyFrom(from);
5490 }
5491 return *this;
5492 }
5493
5494 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
5495 return GetArenaNoVirtual();
5496 }
5497 inline void* GetMaybeArenaPointer() const final {
5498 return MaybeArenaPtr();
5499 }
5500 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5501 return GetDescriptor();
5502 }
5503 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5504 return GetMetadataStatic().descriptor;
5505 }
5506 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5507 return GetMetadataStatic().reflection;
5508 }
5509 static const CompleteGroupRequest& default_instance();
5510
5511 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
5512 static inline const CompleteGroupRequest* internal_default_instance() {
5513 return reinterpret_cast<const CompleteGroupRequest*>(
5514 &_CompleteGroupRequest_default_instance_);
5515 }
5516 static constexpr int kIndexInFileMessages =
5517 29;
5518
5519 friend void swap(CompleteGroupRequest& a, CompleteGroupRequest& b) {
5520 a.Swap(&b);
5521 }
5522 inline void Swap(CompleteGroupRequest* other) {
5523 if (other == this) return;
5524 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
5525 InternalSwap(other);
5526 } else {
5527 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5528 }
5529 }
5530 void UnsafeArenaSwap(CompleteGroupRequest* other) {
5531 if (other == this) return;
5532 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
5533 InternalSwap(other);
5534 }
5535
5536 // implements Message ----------------------------------------------
5537
5538 inline CompleteGroupRequest* New() const final {
5539 return CreateMaybeMessage<CompleteGroupRequest>(nullptr);
5540 }
5541
5542 CompleteGroupRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5543 return CreateMaybeMessage<CompleteGroupRequest>(arena);
5544 }
5545 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5546 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5547 void CopyFrom(const CompleteGroupRequest& from);
5548 void MergeFrom(const CompleteGroupRequest& from);
5549 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5550 bool IsInitialized() const final;
5551
5552 size_t ByteSizeLong() const final;
5553 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5554 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5555 #else
5556 bool MergePartialFromCodedStream(
5557 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
5558 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5559 void SerializeWithCachedSizes(
5560 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
5561 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
5562 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
5563 int GetCachedSize() const final { return _cached_size_.Get(); }
5564
5565 private:
5566 inline void SharedCtor();
5567 inline void SharedDtor();
5568 void SetCachedSize(int size) const final;
5569 void InternalSwap(CompleteGroupRequest* other);
5570 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5571 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5572 return "tensorflow.CompleteGroupRequest";
5573 }
5574 protected:
5575 explicit CompleteGroupRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5576 private:
5577 static void ArenaDtor(void* object);
5578 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5579 private:
5580 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
5581 return _internal_metadata_.arena();
5582 }
5583 inline void* MaybeArenaPtr() const {
5584 return _internal_metadata_.raw_arena_ptr();
5585 }
5586 public:
5587
5588 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5589 private:
5590 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
5591 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
5592 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
5593 }
5594
5595 public:
5596
5597 // nested types ----------------------------------------------------
5598
5599 // accessors -------------------------------------------------------
5600
5601 enum : int {
5602 kDeviceTypeFieldNumber = 3,
5603 kDeviceAttributesFieldNumber = 6,
5604 kGroupKeyFieldNumber = 1,
5605 kGroupSizeFieldNumber = 2,
5606 kCollectiveTypeFieldNumber = 5,
5607 };
5608 // string device_type = 3;
5609 void clear_device_type();
5610 const std::string& device_type() const;
5611 void set_device_type(const std::string& value);
5612 void set_device_type(std::string&& value);
5613 void set_device_type(const char* value);
5614 void set_device_type(const char* value, size_t size);
5615 std::string* mutable_device_type();
5616 std::string* release_device_type();
5617 void set_allocated_device_type(std::string* device_type);
5618 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5619 " string fields are deprecated and will be removed in a"
5620 " future release.")
5621 std::string* unsafe_arena_release_device_type();
5622 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5623 " string fields are deprecated and will be removed in a"
5624 " future release.")
5625 void unsafe_arena_set_allocated_device_type(
5626 std::string* device_type);
5627
5628 // .tensorflow.DeviceAttributes device_attributes = 6;
5629 bool has_device_attributes() const;
5630 void clear_device_attributes();
5631 const ::tensorflow::DeviceAttributes& device_attributes() const;
5632 ::tensorflow::DeviceAttributes* release_device_attributes();
5633 ::tensorflow::DeviceAttributes* mutable_device_attributes();
5634 void set_allocated_device_attributes(::tensorflow::DeviceAttributes* device_attributes);
5635 void unsafe_arena_set_allocated_device_attributes(
5636 ::tensorflow::DeviceAttributes* device_attributes);
5637 ::tensorflow::DeviceAttributes* unsafe_arena_release_device_attributes();
5638
5639 // int32 group_key = 1;
5640 void clear_group_key();
5641 ::PROTOBUF_NAMESPACE_ID::int32 group_key() const;
5642 void set_group_key(::PROTOBUF_NAMESPACE_ID::int32 value);
5643
5644 // int32 group_size = 2;
5645 void clear_group_size();
5646 ::PROTOBUF_NAMESPACE_ID::int32 group_size() const;
5647 void set_group_size(::PROTOBUF_NAMESPACE_ID::int32 value);
5648
5649 // int32 collective_type = 5;
5650 void clear_collective_type();
5651 ::PROTOBUF_NAMESPACE_ID::int32 collective_type() const;
5652 void set_collective_type(::PROTOBUF_NAMESPACE_ID::int32 value);
5653
5654 // @@protoc_insertion_point(class_scope:tensorflow.CompleteGroupRequest)
5655 private:
5656 class _Internal;
5657
5658 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
5659 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5660 typedef void InternalArenaConstructable_;
5661 typedef void DestructorSkippable_;
5662 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_type_;
5663 ::tensorflow::DeviceAttributes* device_attributes_;
5664 ::PROTOBUF_NAMESPACE_ID::int32 group_key_;
5665 ::PROTOBUF_NAMESPACE_ID::int32 group_size_;
5666 ::PROTOBUF_NAMESPACE_ID::int32 collective_type_;
5667 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5668 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
5669};
5670// -------------------------------------------------------------------
5671
5672class CompleteGroupResponse :
5673 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CompleteGroupResponse) */ {
5674 public:
5675 CompleteGroupResponse();
5676 virtual ~CompleteGroupResponse();
5677
5678 CompleteGroupResponse(const CompleteGroupResponse& from);
5679 CompleteGroupResponse(CompleteGroupResponse&& from) noexcept
5680 : CompleteGroupResponse() {
5681 *this = ::std::move(from);
5682 }
5683
5684 inline CompleteGroupResponse& operator=(const CompleteGroupResponse& from) {
5685 CopyFrom(from);
5686 return *this;
5687 }
5688 inline CompleteGroupResponse& operator=(CompleteGroupResponse&& from) noexcept {
5689 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5690 if (this != &from) InternalSwap(&from);
5691 } else {
5692 CopyFrom(from);
5693 }
5694 return *this;
5695 }
5696
5697 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
5698 return GetArenaNoVirtual();
5699 }
5700 inline void* GetMaybeArenaPointer() const final {
5701 return MaybeArenaPtr();
5702 }
5703 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5704 return GetDescriptor();
5705 }
5706 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5707 return GetMetadataStatic().descriptor;
5708 }
5709 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5710 return GetMetadataStatic().reflection;
5711 }
5712 static const CompleteGroupResponse& default_instance();
5713
5714 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
5715 static inline const CompleteGroupResponse* internal_default_instance() {
5716 return reinterpret_cast<const CompleteGroupResponse*>(
5717 &_CompleteGroupResponse_default_instance_);
5718 }
5719 static constexpr int kIndexInFileMessages =
5720 30;
5721
5722 friend void swap(CompleteGroupResponse& a, CompleteGroupResponse& b) {
5723 a.Swap(&b);
5724 }
5725 inline void Swap(CompleteGroupResponse* other) {
5726 if (other == this) return;
5727 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
5728 InternalSwap(other);
5729 } else {
5730 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5731 }
5732 }
5733 void UnsafeArenaSwap(CompleteGroupResponse* other) {
5734 if (other == this) return;
5735 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
5736 InternalSwap(other);
5737 }
5738
5739 // implements Message ----------------------------------------------
5740
5741 inline CompleteGroupResponse* New() const final {
5742 return CreateMaybeMessage<CompleteGroupResponse>(nullptr);
5743 }
5744
5745 CompleteGroupResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5746 return CreateMaybeMessage<CompleteGroupResponse>(arena);
5747 }
5748 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5749 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5750 void CopyFrom(const CompleteGroupResponse& from);
5751 void MergeFrom(const CompleteGroupResponse& from);
5752 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5753 bool IsInitialized() const final;
5754
5755 size_t ByteSizeLong() const final;
5756 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5757 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5758 #else
5759 bool MergePartialFromCodedStream(
5760 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
5761 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5762 void SerializeWithCachedSizes(
5763 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
5764 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
5765 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
5766 int GetCachedSize() const final { return _cached_size_.Get(); }
5767
5768 private:
5769 inline void SharedCtor();
5770 inline void SharedDtor();
5771 void SetCachedSize(int size) const final;
5772 void InternalSwap(CompleteGroupResponse* other);
5773 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5774 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5775 return "tensorflow.CompleteGroupResponse";
5776 }
5777 protected:
5778 explicit CompleteGroupResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5779 private:
5780 static void ArenaDtor(void* object);
5781 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5782 private:
5783 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
5784 return _internal_metadata_.arena();
5785 }
5786 inline void* MaybeArenaPtr() const {
5787 return _internal_metadata_.raw_arena_ptr();
5788 }
5789 public:
5790
5791 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5792 private:
5793 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
5794 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
5795 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
5796 }
5797
5798 public:
5799
5800 // nested types ----------------------------------------------------
5801
5802 // accessors -------------------------------------------------------
5803
5804 enum : int {
5805 kDeviceAttributesFieldNumber = 8,
5806 kDeviceTypeFieldNumber = 3,
5807 kCommunicatorKeyFieldNumber = 7,
5808 kGroupKeyFieldNumber = 1,
5809 kGroupSizeFieldNumber = 2,
5810 kNumTasksFieldNumber = 4,
5811 };
5812 // repeated .tensorflow.DeviceAttributes device_attributes = 8;
5813 int device_attributes_size() const;
5814 void clear_device_attributes();
5815 ::tensorflow::DeviceAttributes* mutable_device_attributes(int index);
5816 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >*
5817 mutable_device_attributes();
5818 const ::tensorflow::DeviceAttributes& device_attributes(int index) const;
5819 ::tensorflow::DeviceAttributes* add_device_attributes();
5820 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >&
5821 device_attributes() const;
5822
5823 // string device_type = 3;
5824 void clear_device_type();
5825 const std::string& device_type() const;
5826 void set_device_type(const std::string& value);
5827 void set_device_type(std::string&& value);
5828 void set_device_type(const char* value);
5829 void set_device_type(const char* value, size_t size);
5830 std::string* mutable_device_type();
5831 std::string* release_device_type();
5832 void set_allocated_device_type(std::string* device_type);
5833 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5834 " string fields are deprecated and will be removed in a"
5835 " future release.")
5836 std::string* unsafe_arena_release_device_type();
5837 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5838 " string fields are deprecated and will be removed in a"
5839 " future release.")
5840 void unsafe_arena_set_allocated_device_type(
5841 std::string* device_type);
5842
5843 // bytes communicator_key = 7;
5844 void clear_communicator_key();
5845 const std::string& communicator_key() const;
5846 void set_communicator_key(const std::string& value);
5847 void set_communicator_key(std::string&& value);
5848 void set_communicator_key(const char* value);
5849 void set_communicator_key(const void* value, size_t size);
5850 std::string* mutable_communicator_key();
5851 std::string* release_communicator_key();
5852 void set_allocated_communicator_key(std::string* communicator_key);
5853 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5854 " string fields are deprecated and will be removed in a"
5855 " future release.")
5856 std::string* unsafe_arena_release_communicator_key();
5857 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
5858 " string fields are deprecated and will be removed in a"
5859 " future release.")
5860 void unsafe_arena_set_allocated_communicator_key(
5861 std::string* communicator_key);
5862
5863 // int32 group_key = 1;
5864 void clear_group_key();
5865 ::PROTOBUF_NAMESPACE_ID::int32 group_key() const;
5866 void set_group_key(::PROTOBUF_NAMESPACE_ID::int32 value);
5867
5868 // int32 group_size = 2;
5869 void clear_group_size();
5870 ::PROTOBUF_NAMESPACE_ID::int32 group_size() const;
5871 void set_group_size(::PROTOBUF_NAMESPACE_ID::int32 value);
5872
5873 // int32 num_tasks = 4;
5874 void clear_num_tasks();
5875 ::PROTOBUF_NAMESPACE_ID::int32 num_tasks() const;
5876 void set_num_tasks(::PROTOBUF_NAMESPACE_ID::int32 value);
5877
5878 // @@protoc_insertion_point(class_scope:tensorflow.CompleteGroupResponse)
5879 private:
5880 class _Internal;
5881
5882 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
5883 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5884 typedef void InternalArenaConstructable_;
5885 typedef void DestructorSkippable_;
5886 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes > device_attributes_;
5887 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_type_;
5888 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr communicator_key_;
5889 ::PROTOBUF_NAMESPACE_ID::int32 group_key_;
5890 ::PROTOBUF_NAMESPACE_ID::int32 group_size_;
5891 ::PROTOBUF_NAMESPACE_ID::int32 num_tasks_;
5892 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5893 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
5894};
5895// -------------------------------------------------------------------
5896
5897class CompleteInstanceRequest :
5898 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CompleteInstanceRequest) */ {
5899 public:
5900 CompleteInstanceRequest();
5901 virtual ~CompleteInstanceRequest();
5902
5903 CompleteInstanceRequest(const CompleteInstanceRequest& from);
5904 CompleteInstanceRequest(CompleteInstanceRequest&& from) noexcept
5905 : CompleteInstanceRequest() {
5906 *this = ::std::move(from);
5907 }
5908
5909 inline CompleteInstanceRequest& operator=(const CompleteInstanceRequest& from) {
5910 CopyFrom(from);
5911 return *this;
5912 }
5913 inline CompleteInstanceRequest& operator=(CompleteInstanceRequest&& from) noexcept {
5914 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5915 if (this != &from) InternalSwap(&from);
5916 } else {
5917 CopyFrom(from);
5918 }
5919 return *this;
5920 }
5921
5922 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
5923 return GetArenaNoVirtual();
5924 }
5925 inline void* GetMaybeArenaPointer() const final {
5926 return MaybeArenaPtr();
5927 }
5928 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5929 return GetDescriptor();
5930 }
5931 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5932 return GetMetadataStatic().descriptor;
5933 }
5934 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5935 return GetMetadataStatic().reflection;
5936 }
5937 static const CompleteInstanceRequest& default_instance();
5938
5939 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
5940 static inline const CompleteInstanceRequest* internal_default_instance() {
5941 return reinterpret_cast<const CompleteInstanceRequest*>(
5942 &_CompleteInstanceRequest_default_instance_);
5943 }
5944 static constexpr int kIndexInFileMessages =
5945 31;
5946
5947 friend void swap(CompleteInstanceRequest& a, CompleteInstanceRequest& b) {
5948 a.Swap(&b);
5949 }
5950 inline void Swap(CompleteInstanceRequest* other) {
5951 if (other == this) return;
5952 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
5953 InternalSwap(other);
5954 } else {
5955 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5956 }
5957 }
5958 void UnsafeArenaSwap(CompleteInstanceRequest* other) {
5959 if (other == this) return;
5960 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
5961 InternalSwap(other);
5962 }
5963
5964 // implements Message ----------------------------------------------
5965
5966 inline CompleteInstanceRequest* New() const final {
5967 return CreateMaybeMessage<CompleteInstanceRequest>(nullptr);
5968 }
5969
5970 CompleteInstanceRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5971 return CreateMaybeMessage<CompleteInstanceRequest>(arena);
5972 }
5973 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5974 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
5975 void CopyFrom(const CompleteInstanceRequest& from);
5976 void MergeFrom(const CompleteInstanceRequest& from);
5977 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5978 bool IsInitialized() const final;
5979
5980 size_t ByteSizeLong() const final;
5981 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5982 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5983 #else
5984 bool MergePartialFromCodedStream(
5985 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
5986 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5987 void SerializeWithCachedSizes(
5988 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
5989 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
5990 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
5991 int GetCachedSize() const final { return _cached_size_.Get(); }
5992
5993 private:
5994 inline void SharedCtor();
5995 inline void SharedDtor();
5996 void SetCachedSize(int size) const final;
5997 void InternalSwap(CompleteInstanceRequest* other);
5998 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5999 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6000 return "tensorflow.CompleteInstanceRequest";
6001 }
6002 protected:
6003 explicit CompleteInstanceRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6004 private:
6005 static void ArenaDtor(void* object);
6006 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6007 private:
6008 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
6009 return _internal_metadata_.arena();
6010 }
6011 inline void* MaybeArenaPtr() const {
6012 return _internal_metadata_.raw_arena_ptr();
6013 }
6014 public:
6015
6016 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
6017 private:
6018 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
6019 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
6020 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
6021 }
6022
6023 public:
6024
6025 // nested types ----------------------------------------------------
6026
6027 // accessors -------------------------------------------------------
6028
6029 enum : int {
6030 kSubdivOffsetFieldNumber = 9,
6031 kNameFieldNumber = 1,
6032 kDeviceTypeFieldNumber = 8,
6033 kDeviceFieldNumber = 10,
6034 kShapeFieldNumber = 4,
6035 kTypeFieldNumber = 2,
6036 kDataTypeFieldNumber = 3,
6037 kGroupKeyFieldNumber = 5,
6038 kGroupSizeFieldNumber = 6,
6039 kInstanceKeyFieldNumber = 7,
6040 kIsSourceFieldNumber = 11,
6041 };
6042 // repeated int32 subdiv_offset = 9;
6043 int subdiv_offset_size() const;
6044 void clear_subdiv_offset();
6045 ::PROTOBUF_NAMESPACE_ID::int32 subdiv_offset(int index) const;
6046 void set_subdiv_offset(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
6047 void add_subdiv_offset(::PROTOBUF_NAMESPACE_ID::int32 value);
6048 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
6049 subdiv_offset() const;
6050 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
6051 mutable_subdiv_offset();
6052
6053 // string name = 1;
6054 void clear_name();
6055 const std::string& name() const;
6056 void set_name(const std::string& value);
6057 void set_name(std::string&& value);
6058 void set_name(const char* value);
6059 void set_name(const char* value, size_t size);
6060 std::string* mutable_name();
6061 std::string* release_name();
6062 void set_allocated_name(std::string* name);
6063 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
6064 " string fields are deprecated and will be removed in a"
6065 " future release.")
6066 std::string* unsafe_arena_release_name();
6067 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
6068 " string fields are deprecated and will be removed in a"
6069 " future release.")
6070 void unsafe_arena_set_allocated_name(
6071 std::string* name);
6072
6073 // string device_type = 8;
6074 void clear_device_type();
6075 const std::string& device_type() const;
6076 void set_device_type(const std::string& value);
6077 void set_device_type(std::string&& value);
6078 void set_device_type(const char* value);
6079 void set_device_type(const char* value, size_t size);
6080 std::string* mutable_device_type();
6081 std::string* release_device_type();
6082 void set_allocated_device_type(std::string* device_type);
6083 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
6084 " string fields are deprecated and will be removed in a"
6085 " future release.")
6086 std::string* unsafe_arena_release_device_type();
6087 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
6088 " string fields are deprecated and will be removed in a"
6089 " future release.")
6090 void unsafe_arena_set_allocated_device_type(
6091 std::string* device_type);
6092
6093 // string device = 10;
6094 void clear_device();
6095 const std::string& device() const;
6096 void set_device(const std::string& value);
6097 void set_device(std::string&& value);
6098 void set_device(const char* value);
6099 void set_device(const char* value, size_t size);
6100 std::string* mutable_device();
6101 std::string* release_device();
6102 void set_allocated_device(std::string* device);
6103 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
6104 " string fields are deprecated and will be removed in a"
6105 " future release.")
6106 std::string* unsafe_arena_release_device();
6107 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
6108 " string fields are deprecated and will be removed in a"
6109 " future release.")
6110 void unsafe_arena_set_allocated_device(
6111 std::string* device);
6112
6113 // .tensorflow.TensorShapeProto shape = 4;
6114 bool has_shape() const;
6115 void clear_shape();
6116 const ::tensorflow::TensorShapeProto& shape() const;
6117 ::tensorflow::TensorShapeProto* release_shape();
6118 ::tensorflow::TensorShapeProto* mutable_shape();
6119 void set_allocated_shape(::tensorflow::TensorShapeProto* shape);
6120 void unsafe_arena_set_allocated_shape(
6121 ::tensorflow::TensorShapeProto* shape);
6122 ::tensorflow::TensorShapeProto* unsafe_arena_release_shape();
6123
6124 // int32 type = 2;
6125 void clear_type();
6126 ::PROTOBUF_NAMESPACE_ID::int32 type() const;
6127 void set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
6128
6129 // .tensorflow.DataType data_type = 3;
6130 void clear_data_type();
6131 ::tensorflow::DataType data_type() const;
6132 void set_data_type(::tensorflow::DataType value);
6133
6134 // int32 group_key = 5;
6135 void clear_group_key();
6136 ::PROTOBUF_NAMESPACE_ID::int32 group_key() const;
6137 void set_group_key(::PROTOBUF_NAMESPACE_ID::int32 value);
6138
6139 // int32 group_size = 6;
6140 void clear_group_size();
6141 ::PROTOBUF_NAMESPACE_ID::int32 group_size() const;
6142 void set_group_size(::PROTOBUF_NAMESPACE_ID::int32 value);
6143
6144 // int32 instance_key = 7;
6145 void clear_instance_key();
6146 ::PROTOBUF_NAMESPACE_ID::int32 instance_key() const;
6147 void set_instance_key(::PROTOBUF_NAMESPACE_ID::int32 value);
6148
6149 // bool is_source = 11;
6150 void clear_is_source();
6151 bool is_source() const;
6152 void set_is_source(bool value);
6153
6154 // @@protoc_insertion_point(class_scope:tensorflow.CompleteInstanceRequest)
6155 private:
6156 class _Internal;
6157
6158 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
6159 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6160 typedef void InternalArenaConstructable_;
6161 typedef void DestructorSkippable_;
6162 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > subdiv_offset_;
6163 mutable std::atomic<int> _subdiv_offset_cached_byte_size_;
6164 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
6165 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_type_;
6166 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_;
6167 ::tensorflow::TensorShapeProto* shape_;
6168 ::PROTOBUF_NAMESPACE_ID::int32 type_;
6169 int data_type_;
6170 ::PROTOBUF_NAMESPACE_ID::int32 group_key_;
6171 ::PROTOBUF_NAMESPACE_ID::int32 group_size_;
6172 ::PROTOBUF_NAMESPACE_ID::int32 instance_key_;
6173 bool is_source_;
6174 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6175 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
6176};
6177// -------------------------------------------------------------------
6178
6179class CompleteInstanceResponse :
6180 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CompleteInstanceResponse) */ {
6181 public:
6182 CompleteInstanceResponse();
6183 virtual ~CompleteInstanceResponse();
6184
6185 CompleteInstanceResponse(const CompleteInstanceResponse& from);
6186 CompleteInstanceResponse(CompleteInstanceResponse&& from) noexcept
6187 : CompleteInstanceResponse() {
6188 *this = ::std::move(from);
6189 }
6190
6191 inline CompleteInstanceResponse& operator=(const CompleteInstanceResponse& from) {
6192 CopyFrom(from);
6193 return *this;
6194 }
6195 inline CompleteInstanceResponse& operator=(CompleteInstanceResponse&& from) noexcept {
6196 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6197 if (this != &from) InternalSwap(&from);
6198 } else {
6199 CopyFrom(from);
6200 }
6201 return *this;
6202 }
6203
6204 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
6205 return GetArenaNoVirtual();
6206 }
6207 inline void* GetMaybeArenaPointer() const final {
6208 return MaybeArenaPtr();
6209 }
6210 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
6211 return GetDescriptor();
6212 }
6213 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
6214 return GetMetadataStatic().descriptor;
6215 }
6216 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
6217 return GetMetadataStatic().reflection;
6218 }
6219 static const CompleteInstanceResponse& default_instance();
6220
6221 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
6222 static inline const CompleteInstanceResponse* internal_default_instance() {
6223 return reinterpret_cast<const CompleteInstanceResponse*>(
6224 &_CompleteInstanceResponse_default_instance_);
6225 }
6226 static constexpr int kIndexInFileMessages =
6227 32;
6228
6229 friend void swap(CompleteInstanceResponse& a, CompleteInstanceResponse& b) {
6230 a.Swap(&b);
6231 }
6232 inline void Swap(CompleteInstanceResponse* other) {
6233 if (other == this) return;
6234 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
6235 InternalSwap(other);
6236 } else {
6237 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6238 }
6239 }
6240 void UnsafeArenaSwap(CompleteInstanceResponse* other) {
6241 if (other == this) return;
6242 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
6243 InternalSwap(other);
6244 }
6245
6246 // implements Message ----------------------------------------------
6247
6248 inline CompleteInstanceResponse* New() const final {
6249 return CreateMaybeMessage<CompleteInstanceResponse>(nullptr);
6250 }
6251
6252 CompleteInstanceResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6253 return CreateMaybeMessage<CompleteInstanceResponse>(arena);
6254 }
6255 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
6256 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
6257 void CopyFrom(const CompleteInstanceResponse& from);
6258 void MergeFrom(const CompleteInstanceResponse& from);
6259 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6260 bool IsInitialized() const final;
6261
6262 size_t ByteSizeLong() const final;
6263 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6264 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6265 #else
6266 bool MergePartialFromCodedStream(
6267 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
6268 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6269 void SerializeWithCachedSizes(
6270 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
6271 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
6272 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
6273 int GetCachedSize() const final { return _cached_size_.Get(); }
6274
6275 private:
6276 inline void SharedCtor();
6277 inline void SharedDtor();
6278 void SetCachedSize(int size) const final;
6279 void InternalSwap(CompleteInstanceResponse* other);
6280 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6281 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6282 return "tensorflow.CompleteInstanceResponse";
6283 }
6284 protected:
6285 explicit CompleteInstanceResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6286 private:
6287 static void ArenaDtor(void* object);
6288 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6289 private:
6290 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
6291 return _internal_metadata_.arena();
6292 }
6293 inline void* MaybeArenaPtr() const {
6294 return _internal_metadata_.raw_arena_ptr();
6295 }
6296 public:
6297
6298 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
6299 private:
6300 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
6301 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
6302 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
6303 }
6304
6305 public:
6306
6307 // nested types ----------------------------------------------------
6308
6309 // accessors -------------------------------------------------------
6310
6311 enum : int {
6312 kInstanceKeyFieldNumber = 1,
6313 kSourceRankFieldNumber = 2,
6314 };
6315 // int32 instance_key = 1;
6316 void clear_instance_key();
6317 ::PROTOBUF_NAMESPACE_ID::int32 instance_key() const;
6318 void set_instance_key(::PROTOBUF_NAMESPACE_ID::int32 value);
6319
6320 // int32 source_rank = 2;
6321 void clear_source_rank();
6322 ::PROTOBUF_NAMESPACE_ID::int32 source_rank() const;
6323 void set_source_rank(::PROTOBUF_NAMESPACE_ID::int32 value);
6324
6325 // @@protoc_insertion_point(class_scope:tensorflow.CompleteInstanceResponse)
6326 private:
6327 class _Internal;
6328
6329 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
6330 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6331 typedef void InternalArenaConstructable_;
6332 typedef void DestructorSkippable_;
6333 ::PROTOBUF_NAMESPACE_ID::int32 instance_key_;
6334 ::PROTOBUF_NAMESPACE_ID::int32 source_rank_;
6335 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6336 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
6337};
6338// -------------------------------------------------------------------
6339
6340class GetStepSequenceRequest :
6341 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.GetStepSequenceRequest) */ {
6342 public:
6343 GetStepSequenceRequest();
6344 virtual ~GetStepSequenceRequest();
6345
6346 GetStepSequenceRequest(const GetStepSequenceRequest& from);
6347 GetStepSequenceRequest(GetStepSequenceRequest&& from) noexcept
6348 : GetStepSequenceRequest() {
6349 *this = ::std::move(from);
6350 }
6351
6352 inline GetStepSequenceRequest& operator=(const GetStepSequenceRequest& from) {
6353 CopyFrom(from);
6354 return *this;
6355 }
6356 inline GetStepSequenceRequest& operator=(GetStepSequenceRequest&& from) noexcept {
6357 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6358 if (this != &from) InternalSwap(&from);
6359 } else {
6360 CopyFrom(from);
6361 }
6362 return *this;
6363 }
6364
6365 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
6366 return GetArenaNoVirtual();
6367 }
6368 inline void* GetMaybeArenaPointer() const final {
6369 return MaybeArenaPtr();
6370 }
6371 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
6372 return GetDescriptor();
6373 }
6374 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
6375 return GetMetadataStatic().descriptor;
6376 }
6377 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
6378 return GetMetadataStatic().reflection;
6379 }
6380 static const GetStepSequenceRequest& default_instance();
6381
6382 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
6383 static inline const GetStepSequenceRequest* internal_default_instance() {
6384 return reinterpret_cast<const GetStepSequenceRequest*>(
6385 &_GetStepSequenceRequest_default_instance_);
6386 }
6387 static constexpr int kIndexInFileMessages =
6388 33;
6389
6390 friend void swap(GetStepSequenceRequest& a, GetStepSequenceRequest& b) {
6391 a.Swap(&b);
6392 }
6393 inline void Swap(GetStepSequenceRequest* other) {
6394 if (other == this) return;
6395 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
6396 InternalSwap(other);
6397 } else {
6398 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6399 }
6400 }
6401 void UnsafeArenaSwap(GetStepSequenceRequest* other) {
6402 if (other == this) return;
6403 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
6404 InternalSwap(other);
6405 }
6406
6407 // implements Message ----------------------------------------------
6408
6409 inline GetStepSequenceRequest* New() const final {
6410 return CreateMaybeMessage<GetStepSequenceRequest>(nullptr);
6411 }
6412
6413 GetStepSequenceRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6414 return CreateMaybeMessage<GetStepSequenceRequest>(arena);
6415 }
6416 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
6417 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
6418 void CopyFrom(const GetStepSequenceRequest& from);
6419 void MergeFrom(const GetStepSequenceRequest& from);
6420 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6421 bool IsInitialized() const final;
6422
6423 size_t ByteSizeLong() const final;
6424 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6425 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6426 #else
6427 bool MergePartialFromCodedStream(
6428 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
6429 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6430 void SerializeWithCachedSizes(
6431 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
6432 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
6433 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
6434 int GetCachedSize() const final { return _cached_size_.Get(); }
6435
6436 private:
6437 inline void SharedCtor();
6438 inline void SharedDtor();
6439 void SetCachedSize(int size) const final;
6440 void InternalSwap(GetStepSequenceRequest* other);
6441 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6442 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6443 return "tensorflow.GetStepSequenceRequest";
6444 }
6445 protected:
6446 explicit GetStepSequenceRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6447 private:
6448 static void ArenaDtor(void* object);
6449 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6450 private:
6451 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
6452 return _internal_metadata_.arena();
6453 }
6454 inline void* MaybeArenaPtr() const {
6455 return _internal_metadata_.raw_arena_ptr();
6456 }
6457 public:
6458
6459 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
6460 private:
6461 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
6462 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
6463 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
6464 }
6465
6466 public:
6467
6468 // nested types ----------------------------------------------------
6469
6470 // accessors -------------------------------------------------------
6471
6472 enum : int {
6473 kGraphKeyFieldNumber = 1,
6474 };
6475 // repeated int64 graph_key = 1;
6476 int graph_key_size() const;
6477 void clear_graph_key();
6478 ::PROTOBUF_NAMESPACE_ID::int64 graph_key(int index) const;
6479 void set_graph_key(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
6480 void add_graph_key(::PROTOBUF_NAMESPACE_ID::int64 value);
6481 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
6482 graph_key() const;
6483 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
6484 mutable_graph_key();
6485
6486 // @@protoc_insertion_point(class_scope:tensorflow.GetStepSequenceRequest)
6487 private:
6488 class _Internal;
6489
6490 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
6491 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6492 typedef void InternalArenaConstructable_;
6493 typedef void DestructorSkippable_;
6494 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > graph_key_;
6495 mutable std::atomic<int> _graph_key_cached_byte_size_;
6496 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6497 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
6498};
6499// -------------------------------------------------------------------
6500
6501class StepSequence :
6502 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.StepSequence) */ {
6503 public:
6504 StepSequence();
6505 virtual ~StepSequence();
6506
6507 StepSequence(const StepSequence& from);
6508 StepSequence(StepSequence&& from) noexcept
6509 : StepSequence() {
6510 *this = ::std::move(from);
6511 }
6512
6513 inline StepSequence& operator=(const StepSequence& from) {
6514 CopyFrom(from);
6515 return *this;
6516 }
6517 inline StepSequence& operator=(StepSequence&& from) noexcept {
6518 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6519 if (this != &from) InternalSwap(&from);
6520 } else {
6521 CopyFrom(from);
6522 }
6523 return *this;
6524 }
6525
6526 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
6527 return GetArenaNoVirtual();
6528 }
6529 inline void* GetMaybeArenaPointer() const final {
6530 return MaybeArenaPtr();
6531 }
6532 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
6533 return GetDescriptor();
6534 }
6535 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
6536 return GetMetadataStatic().descriptor;
6537 }
6538 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
6539 return GetMetadataStatic().reflection;
6540 }
6541 static const StepSequence& default_instance();
6542
6543 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
6544 static inline const StepSequence* internal_default_instance() {
6545 return reinterpret_cast<const StepSequence*>(
6546 &_StepSequence_default_instance_);
6547 }
6548 static constexpr int kIndexInFileMessages =
6549 34;
6550
6551 friend void swap(StepSequence& a, StepSequence& b) {
6552 a.Swap(&b);
6553 }
6554 inline void Swap(StepSequence* other) {
6555 if (other == this) return;
6556 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
6557 InternalSwap(other);
6558 } else {
6559 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6560 }
6561 }
6562 void UnsafeArenaSwap(StepSequence* other) {
6563 if (other == this) return;
6564 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
6565 InternalSwap(other);
6566 }
6567
6568 // implements Message ----------------------------------------------
6569
6570 inline StepSequence* New() const final {
6571 return CreateMaybeMessage<StepSequence>(nullptr);
6572 }
6573
6574 StepSequence* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6575 return CreateMaybeMessage<StepSequence>(arena);
6576 }
6577 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
6578 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
6579 void CopyFrom(const StepSequence& from);
6580 void MergeFrom(const StepSequence& from);
6581 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6582 bool IsInitialized() const final;
6583
6584 size_t ByteSizeLong() const final;
6585 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6586 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6587 #else
6588 bool MergePartialFromCodedStream(
6589 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
6590 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6591 void SerializeWithCachedSizes(
6592 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
6593 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
6594 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
6595 int GetCachedSize() const final { return _cached_size_.Get(); }
6596
6597 private:
6598 inline void SharedCtor();
6599 inline void SharedDtor();
6600 void SetCachedSize(int size) const final;
6601 void InternalSwap(StepSequence* other);
6602 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6603 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6604 return "tensorflow.StepSequence";
6605 }
6606 protected:
6607 explicit StepSequence(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6608 private:
6609 static void ArenaDtor(void* object);
6610 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6611 private:
6612 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
6613 return _internal_metadata_.arena();
6614 }
6615 inline void* MaybeArenaPtr() const {
6616 return _internal_metadata_.raw_arena_ptr();
6617 }
6618 public:
6619
6620 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
6621 private:
6622 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
6623 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
6624 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
6625 }
6626
6627 public:
6628
6629 // nested types ----------------------------------------------------
6630
6631 // accessors -------------------------------------------------------
6632
6633 enum : int {
6634 kGraphKeyFieldNumber = 1,
6635 kNextStepIdFieldNumber = 2,
6636 };
6637 // int64 graph_key = 1;
6638 void clear_graph_key();
6639 ::PROTOBUF_NAMESPACE_ID::int64 graph_key() const;
6640 void set_graph_key(::PROTOBUF_NAMESPACE_ID::int64 value);
6641
6642 // int64 next_step_id = 2;
6643 void clear_next_step_id();
6644 ::PROTOBUF_NAMESPACE_ID::int64 next_step_id() const;
6645 void set_next_step_id(::PROTOBUF_NAMESPACE_ID::int64 value);
6646
6647 // @@protoc_insertion_point(class_scope:tensorflow.StepSequence)
6648 private:
6649 class _Internal;
6650
6651 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
6652 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6653 typedef void InternalArenaConstructable_;
6654 typedef void DestructorSkippable_;
6655 ::PROTOBUF_NAMESPACE_ID::int64 graph_key_;
6656 ::PROTOBUF_NAMESPACE_ID::int64 next_step_id_;
6657 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6658 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
6659};
6660// -------------------------------------------------------------------
6661
6662class GetStepSequenceResponse :
6663 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.GetStepSequenceResponse) */ {
6664 public:
6665 GetStepSequenceResponse();
6666 virtual ~GetStepSequenceResponse();
6667
6668 GetStepSequenceResponse(const GetStepSequenceResponse& from);
6669 GetStepSequenceResponse(GetStepSequenceResponse&& from) noexcept
6670 : GetStepSequenceResponse() {
6671 *this = ::std::move(from);
6672 }
6673
6674 inline GetStepSequenceResponse& operator=(const GetStepSequenceResponse& from) {
6675 CopyFrom(from);
6676 return *this;
6677 }
6678 inline GetStepSequenceResponse& operator=(GetStepSequenceResponse&& from) noexcept {
6679 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6680 if (this != &from) InternalSwap(&from);
6681 } else {
6682 CopyFrom(from);
6683 }
6684 return *this;
6685 }
6686
6687 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
6688 return GetArenaNoVirtual();
6689 }
6690 inline void* GetMaybeArenaPointer() const final {
6691 return MaybeArenaPtr();
6692 }
6693 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
6694 return GetDescriptor();
6695 }
6696 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
6697 return GetMetadataStatic().descriptor;
6698 }
6699 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
6700 return GetMetadataStatic().reflection;
6701 }
6702 static const GetStepSequenceResponse& default_instance();
6703
6704 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
6705 static inline const GetStepSequenceResponse* internal_default_instance() {
6706 return reinterpret_cast<const GetStepSequenceResponse*>(
6707 &_GetStepSequenceResponse_default_instance_);
6708 }
6709 static constexpr int kIndexInFileMessages =
6710 35;
6711
6712 friend void swap(GetStepSequenceResponse& a, GetStepSequenceResponse& b) {
6713 a.Swap(&b);
6714 }
6715 inline void Swap(GetStepSequenceResponse* other) {
6716 if (other == this) return;
6717 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
6718 InternalSwap(other);
6719 } else {
6720 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6721 }
6722 }
6723 void UnsafeArenaSwap(GetStepSequenceResponse* other) {
6724 if (other == this) return;
6725 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
6726 InternalSwap(other);
6727 }
6728
6729 // implements Message ----------------------------------------------
6730
6731 inline GetStepSequenceResponse* New() const final {
6732 return CreateMaybeMessage<GetStepSequenceResponse>(nullptr);
6733 }
6734
6735 GetStepSequenceResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6736 return CreateMaybeMessage<GetStepSequenceResponse>(arena);
6737 }
6738 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
6739 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
6740 void CopyFrom(const GetStepSequenceResponse& from);
6741 void MergeFrom(const GetStepSequenceResponse& from);
6742 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6743 bool IsInitialized() const final;
6744
6745 size_t ByteSizeLong() const final;
6746 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6747 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6748 #else
6749 bool MergePartialFromCodedStream(
6750 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
6751 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6752 void SerializeWithCachedSizes(
6753 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
6754 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
6755 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
6756 int GetCachedSize() const final { return _cached_size_.Get(); }
6757
6758 private:
6759 inline void SharedCtor();
6760 inline void SharedDtor();
6761 void SetCachedSize(int size) const final;
6762 void InternalSwap(GetStepSequenceResponse* other);
6763 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6764 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6765 return "tensorflow.GetStepSequenceResponse";
6766 }
6767 protected:
6768 explicit GetStepSequenceResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6769 private:
6770 static void ArenaDtor(void* object);
6771 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
6772 private:
6773 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
6774 return _internal_metadata_.arena();
6775 }
6776 inline void* MaybeArenaPtr() const {
6777 return _internal_metadata_.raw_arena_ptr();
6778 }
6779 public:
6780
6781 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
6782 private:
6783 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
6784 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto);
6785 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fworker_2eproto.file_level_metadata[kIndexInFileMessages];
6786 }
6787
6788 public:
6789
6790 // nested types ----------------------------------------------------
6791
6792 // accessors -------------------------------------------------------
6793
6794 enum : int {
6795 kStepSequenceFieldNumber = 1,
6796 };
6797 // repeated .tensorflow.StepSequence step_sequence = 1;
6798 int step_sequence_size() const;
6799 void clear_step_sequence();
6800 ::tensorflow::StepSequence* mutable_step_sequence(int index);
6801 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::StepSequence >*
6802 mutable_step_sequence();
6803 const ::tensorflow::StepSequence& step_sequence(int index) const;
6804 ::tensorflow::StepSequence* add_step_sequence();
6805 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::StepSequence >&
6806 step_sequence() const;
6807
6808 // @@protoc_insertion_point(class_scope:tensorflow.GetStepSequenceResponse)
6809 private:
6810 class _Internal;
6811
6812 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
6813 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6814 typedef void InternalArenaConstructable_;
6815 typedef void DestructorSkippable_;
6816 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::StepSequence > step_sequence_;
6817 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6818 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fworker_2eproto;
6819};
6820// ===================================================================
6821
6822
6823// ===================================================================
6824
6825#ifdef __GNUC__
6826 #pragma GCC diagnostic push
6827 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
6828#endif // __GNUC__
6829// GetStatusRequest
6830
6831// -------------------------------------------------------------------
6832
6833// GetStatusResponse
6834
6835// repeated .tensorflow.DeviceAttributes device_attributes = 1;
6836inline int GetStatusResponse::device_attributes_size() const {
6837 return device_attributes_.size();
6838}
6839inline ::tensorflow::DeviceAttributes* GetStatusResponse::mutable_device_attributes(int index) {
6840 // @@protoc_insertion_point(field_mutable:tensorflow.GetStatusResponse.device_attributes)
6841 return device_attributes_.Mutable(index);
6842}
6843inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >*
6844GetStatusResponse::mutable_device_attributes() {
6845 // @@protoc_insertion_point(field_mutable_list:tensorflow.GetStatusResponse.device_attributes)
6846 return &device_attributes_;
6847}
6848inline const ::tensorflow::DeviceAttributes& GetStatusResponse::device_attributes(int index) const {
6849 // @@protoc_insertion_point(field_get:tensorflow.GetStatusResponse.device_attributes)
6850 return device_attributes_.Get(index);
6851}
6852inline ::tensorflow::DeviceAttributes* GetStatusResponse::add_device_attributes() {
6853 // @@protoc_insertion_point(field_add:tensorflow.GetStatusResponse.device_attributes)
6854 return device_attributes_.Add();
6855}
6856inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >&
6857GetStatusResponse::device_attributes() const {
6858 // @@protoc_insertion_point(field_list:tensorflow.GetStatusResponse.device_attributes)
6859 return device_attributes_;
6860}
6861
6862// -------------------------------------------------------------------
6863
6864// CreateWorkerSessionRequest
6865
6866// string session_handle = 1;
6867inline void CreateWorkerSessionRequest::clear_session_handle() {
6868 session_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
6869}
6870inline const std::string& CreateWorkerSessionRequest::session_handle() const {
6871 // @@protoc_insertion_point(field_get:tensorflow.CreateWorkerSessionRequest.session_handle)
6872 return session_handle_.Get();
6873}
6874inline void CreateWorkerSessionRequest::set_session_handle(const std::string& value) {
6875
6876 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
6877 // @@protoc_insertion_point(field_set:tensorflow.CreateWorkerSessionRequest.session_handle)
6878}
6879inline void CreateWorkerSessionRequest::set_session_handle(std::string&& value) {
6880
6881 session_handle_.Set(
6882 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
6883 // @@protoc_insertion_point(field_set_rvalue:tensorflow.CreateWorkerSessionRequest.session_handle)
6884}
6885inline void CreateWorkerSessionRequest::set_session_handle(const char* value) {
6886 GOOGLE_DCHECK(value != nullptr);
6887
6888 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
6889 GetArenaNoVirtual());
6890 // @@protoc_insertion_point(field_set_char:tensorflow.CreateWorkerSessionRequest.session_handle)
6891}
6892inline void CreateWorkerSessionRequest::set_session_handle(const char* value,
6893 size_t size) {
6894
6895 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
6896 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
6897 // @@protoc_insertion_point(field_set_pointer:tensorflow.CreateWorkerSessionRequest.session_handle)
6898}
6899inline std::string* CreateWorkerSessionRequest::mutable_session_handle() {
6900
6901 // @@protoc_insertion_point(field_mutable:tensorflow.CreateWorkerSessionRequest.session_handle)
6902 return session_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
6903}
6904inline std::string* CreateWorkerSessionRequest::release_session_handle() {
6905 // @@protoc_insertion_point(field_release:tensorflow.CreateWorkerSessionRequest.session_handle)
6906
6907 return session_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
6908}
6909inline void CreateWorkerSessionRequest::set_allocated_session_handle(std::string* session_handle) {
6910 if (session_handle != nullptr) {
6911
6912 } else {
6913
6914 }
6915 session_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_handle,
6916 GetArenaNoVirtual());
6917 // @@protoc_insertion_point(field_set_allocated:tensorflow.CreateWorkerSessionRequest.session_handle)
6918}
6919inline std::string* CreateWorkerSessionRequest::unsafe_arena_release_session_handle() {
6920 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CreateWorkerSessionRequest.session_handle)
6921 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
6922
6923 return session_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
6924 GetArenaNoVirtual());
6925}
6926inline void CreateWorkerSessionRequest::unsafe_arena_set_allocated_session_handle(
6927 std::string* session_handle) {
6928 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
6929 if (session_handle != nullptr) {
6930
6931 } else {
6932
6933 }
6934 session_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
6935 session_handle, GetArenaNoVirtual());
6936 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CreateWorkerSessionRequest.session_handle)
6937}
6938
6939// .tensorflow.ServerDef server_def = 2;
6940inline bool CreateWorkerSessionRequest::has_server_def() const {
6941 return this != internal_default_instance() && server_def_ != nullptr;
6942}
6943inline const ::tensorflow::ServerDef& CreateWorkerSessionRequest::server_def() const {
6944 const ::tensorflow::ServerDef* p = server_def_;
6945 // @@protoc_insertion_point(field_get:tensorflow.CreateWorkerSessionRequest.server_def)
6946 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::ServerDef*>(
6947 &::tensorflow::_ServerDef_default_instance_);
6948}
6949inline ::tensorflow::ServerDef* CreateWorkerSessionRequest::release_server_def() {
6950 // @@protoc_insertion_point(field_release:tensorflow.CreateWorkerSessionRequest.server_def)
6951
6952 ::tensorflow::ServerDef* temp = server_def_;
6953 if (GetArenaNoVirtual() != nullptr) {
6954 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6955 }
6956 server_def_ = nullptr;
6957 return temp;
6958}
6959inline ::tensorflow::ServerDef* CreateWorkerSessionRequest::unsafe_arena_release_server_def() {
6960 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CreateWorkerSessionRequest.server_def)
6961
6962 ::tensorflow::ServerDef* temp = server_def_;
6963 server_def_ = nullptr;
6964 return temp;
6965}
6966inline ::tensorflow::ServerDef* CreateWorkerSessionRequest::mutable_server_def() {
6967
6968 if (server_def_ == nullptr) {
6969 auto* p = CreateMaybeMessage<::tensorflow::ServerDef>(GetArenaNoVirtual());
6970 server_def_ = p;
6971 }
6972 // @@protoc_insertion_point(field_mutable:tensorflow.CreateWorkerSessionRequest.server_def)
6973 return server_def_;
6974}
6975inline void CreateWorkerSessionRequest::set_allocated_server_def(::tensorflow::ServerDef* server_def) {
6976 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
6977 if (message_arena == nullptr) {
6978 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(server_def_);
6979 }
6980 if (server_def) {
6981 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6982 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(server_def)->GetArena();
6983 if (message_arena != submessage_arena) {
6984 server_def = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6985 message_arena, server_def, submessage_arena);
6986 }
6987
6988 } else {
6989
6990 }
6991 server_def_ = server_def;
6992 // @@protoc_insertion_point(field_set_allocated:tensorflow.CreateWorkerSessionRequest.server_def)
6993}
6994
6995// bool isolate_session_state = 3;
6996inline void CreateWorkerSessionRequest::clear_isolate_session_state() {
6997 isolate_session_state_ = false;
6998}
6999inline bool CreateWorkerSessionRequest::isolate_session_state() const {
7000 // @@protoc_insertion_point(field_get:tensorflow.CreateWorkerSessionRequest.isolate_session_state)
7001 return isolate_session_state_;
7002}
7003inline void CreateWorkerSessionRequest::set_isolate_session_state(bool value) {
7004
7005 isolate_session_state_ = value;
7006 // @@protoc_insertion_point(field_set:tensorflow.CreateWorkerSessionRequest.isolate_session_state)
7007}
7008
7009// repeated .tensorflow.DeviceAttributes cluster_device_attributes = 4;
7010inline int CreateWorkerSessionRequest::cluster_device_attributes_size() const {
7011 return cluster_device_attributes_.size();
7012}
7013inline ::tensorflow::DeviceAttributes* CreateWorkerSessionRequest::mutable_cluster_device_attributes(int index) {
7014 // @@protoc_insertion_point(field_mutable:tensorflow.CreateWorkerSessionRequest.cluster_device_attributes)
7015 return cluster_device_attributes_.Mutable(index);
7016}
7017inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >*
7018CreateWorkerSessionRequest::mutable_cluster_device_attributes() {
7019 // @@protoc_insertion_point(field_mutable_list:tensorflow.CreateWorkerSessionRequest.cluster_device_attributes)
7020 return &cluster_device_attributes_;
7021}
7022inline const ::tensorflow::DeviceAttributes& CreateWorkerSessionRequest::cluster_device_attributes(int index) const {
7023 // @@protoc_insertion_point(field_get:tensorflow.CreateWorkerSessionRequest.cluster_device_attributes)
7024 return cluster_device_attributes_.Get(index);
7025}
7026inline ::tensorflow::DeviceAttributes* CreateWorkerSessionRequest::add_cluster_device_attributes() {
7027 // @@protoc_insertion_point(field_add:tensorflow.CreateWorkerSessionRequest.cluster_device_attributes)
7028 return cluster_device_attributes_.Add();
7029}
7030inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >&
7031CreateWorkerSessionRequest::cluster_device_attributes() const {
7032 // @@protoc_insertion_point(field_list:tensorflow.CreateWorkerSessionRequest.cluster_device_attributes)
7033 return cluster_device_attributes_;
7034}
7035
7036// string master_task = 5;
7037inline void CreateWorkerSessionRequest::clear_master_task() {
7038 master_task_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7039}
7040inline const std::string& CreateWorkerSessionRequest::master_task() const {
7041 // @@protoc_insertion_point(field_get:tensorflow.CreateWorkerSessionRequest.master_task)
7042 return master_task_.Get();
7043}
7044inline void CreateWorkerSessionRequest::set_master_task(const std::string& value) {
7045
7046 master_task_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
7047 // @@protoc_insertion_point(field_set:tensorflow.CreateWorkerSessionRequest.master_task)
7048}
7049inline void CreateWorkerSessionRequest::set_master_task(std::string&& value) {
7050
7051 master_task_.Set(
7052 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
7053 // @@protoc_insertion_point(field_set_rvalue:tensorflow.CreateWorkerSessionRequest.master_task)
7054}
7055inline void CreateWorkerSessionRequest::set_master_task(const char* value) {
7056 GOOGLE_DCHECK(value != nullptr);
7057
7058 master_task_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
7059 GetArenaNoVirtual());
7060 // @@protoc_insertion_point(field_set_char:tensorflow.CreateWorkerSessionRequest.master_task)
7061}
7062inline void CreateWorkerSessionRequest::set_master_task(const char* value,
7063 size_t size) {
7064
7065 master_task_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
7066 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
7067 // @@protoc_insertion_point(field_set_pointer:tensorflow.CreateWorkerSessionRequest.master_task)
7068}
7069inline std::string* CreateWorkerSessionRequest::mutable_master_task() {
7070
7071 // @@protoc_insertion_point(field_mutable:tensorflow.CreateWorkerSessionRequest.master_task)
7072 return master_task_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7073}
7074inline std::string* CreateWorkerSessionRequest::release_master_task() {
7075 // @@protoc_insertion_point(field_release:tensorflow.CreateWorkerSessionRequest.master_task)
7076
7077 return master_task_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7078}
7079inline void CreateWorkerSessionRequest::set_allocated_master_task(std::string* master_task) {
7080 if (master_task != nullptr) {
7081
7082 } else {
7083
7084 }
7085 master_task_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), master_task,
7086 GetArenaNoVirtual());
7087 // @@protoc_insertion_point(field_set_allocated:tensorflow.CreateWorkerSessionRequest.master_task)
7088}
7089inline std::string* CreateWorkerSessionRequest::unsafe_arena_release_master_task() {
7090 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CreateWorkerSessionRequest.master_task)
7091 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
7092
7093 return master_task_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7094 GetArenaNoVirtual());
7095}
7096inline void CreateWorkerSessionRequest::unsafe_arena_set_allocated_master_task(
7097 std::string* master_task) {
7098 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
7099 if (master_task != nullptr) {
7100
7101 } else {
7102
7103 }
7104 master_task_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7105 master_task, GetArenaNoVirtual());
7106 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CreateWorkerSessionRequest.master_task)
7107}
7108
7109// int64 master_incarnation = 6;
7110inline void CreateWorkerSessionRequest::clear_master_incarnation() {
7111 master_incarnation_ = PROTOBUF_LONGLONG(0);
7112}
7113inline ::PROTOBUF_NAMESPACE_ID::int64 CreateWorkerSessionRequest::master_incarnation() const {
7114 // @@protoc_insertion_point(field_get:tensorflow.CreateWorkerSessionRequest.master_incarnation)
7115 return master_incarnation_;
7116}
7117inline void CreateWorkerSessionRequest::set_master_incarnation(::PROTOBUF_NAMESPACE_ID::int64 value) {
7118
7119 master_incarnation_ = value;
7120 // @@protoc_insertion_point(field_set:tensorflow.CreateWorkerSessionRequest.master_incarnation)
7121}
7122
7123// -------------------------------------------------------------------
7124
7125// CreateWorkerSessionResponse
7126
7127// -------------------------------------------------------------------
7128
7129// DeleteWorkerSessionRequest
7130
7131// string session_handle = 1;
7132inline void DeleteWorkerSessionRequest::clear_session_handle() {
7133 session_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7134}
7135inline const std::string& DeleteWorkerSessionRequest::session_handle() const {
7136 // @@protoc_insertion_point(field_get:tensorflow.DeleteWorkerSessionRequest.session_handle)
7137 return session_handle_.Get();
7138}
7139inline void DeleteWorkerSessionRequest::set_session_handle(const std::string& value) {
7140
7141 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
7142 // @@protoc_insertion_point(field_set:tensorflow.DeleteWorkerSessionRequest.session_handle)
7143}
7144inline void DeleteWorkerSessionRequest::set_session_handle(std::string&& value) {
7145
7146 session_handle_.Set(
7147 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
7148 // @@protoc_insertion_point(field_set_rvalue:tensorflow.DeleteWorkerSessionRequest.session_handle)
7149}
7150inline void DeleteWorkerSessionRequest::set_session_handle(const char* value) {
7151 GOOGLE_DCHECK(value != nullptr);
7152
7153 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
7154 GetArenaNoVirtual());
7155 // @@protoc_insertion_point(field_set_char:tensorflow.DeleteWorkerSessionRequest.session_handle)
7156}
7157inline void DeleteWorkerSessionRequest::set_session_handle(const char* value,
7158 size_t size) {
7159
7160 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
7161 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
7162 // @@protoc_insertion_point(field_set_pointer:tensorflow.DeleteWorkerSessionRequest.session_handle)
7163}
7164inline std::string* DeleteWorkerSessionRequest::mutable_session_handle() {
7165
7166 // @@protoc_insertion_point(field_mutable:tensorflow.DeleteWorkerSessionRequest.session_handle)
7167 return session_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7168}
7169inline std::string* DeleteWorkerSessionRequest::release_session_handle() {
7170 // @@protoc_insertion_point(field_release:tensorflow.DeleteWorkerSessionRequest.session_handle)
7171
7172 return session_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7173}
7174inline void DeleteWorkerSessionRequest::set_allocated_session_handle(std::string* session_handle) {
7175 if (session_handle != nullptr) {
7176
7177 } else {
7178
7179 }
7180 session_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_handle,
7181 GetArenaNoVirtual());
7182 // @@protoc_insertion_point(field_set_allocated:tensorflow.DeleteWorkerSessionRequest.session_handle)
7183}
7184inline std::string* DeleteWorkerSessionRequest::unsafe_arena_release_session_handle() {
7185 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.DeleteWorkerSessionRequest.session_handle)
7186 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
7187
7188 return session_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7189 GetArenaNoVirtual());
7190}
7191inline void DeleteWorkerSessionRequest::unsafe_arena_set_allocated_session_handle(
7192 std::string* session_handle) {
7193 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
7194 if (session_handle != nullptr) {
7195
7196 } else {
7197
7198 }
7199 session_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7200 session_handle, GetArenaNoVirtual());
7201 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.DeleteWorkerSessionRequest.session_handle)
7202}
7203
7204// -------------------------------------------------------------------
7205
7206// DeleteWorkerSessionResponse
7207
7208// -------------------------------------------------------------------
7209
7210// RegisterGraphRequest
7211
7212// string session_handle = 1;
7213inline void RegisterGraphRequest::clear_session_handle() {
7214 session_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7215}
7216inline const std::string& RegisterGraphRequest::session_handle() const {
7217 // @@protoc_insertion_point(field_get:tensorflow.RegisterGraphRequest.session_handle)
7218 return session_handle_.Get();
7219}
7220inline void RegisterGraphRequest::set_session_handle(const std::string& value) {
7221
7222 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
7223 // @@protoc_insertion_point(field_set:tensorflow.RegisterGraphRequest.session_handle)
7224}
7225inline void RegisterGraphRequest::set_session_handle(std::string&& value) {
7226
7227 session_handle_.Set(
7228 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
7229 // @@protoc_insertion_point(field_set_rvalue:tensorflow.RegisterGraphRequest.session_handle)
7230}
7231inline void RegisterGraphRequest::set_session_handle(const char* value) {
7232 GOOGLE_DCHECK(value != nullptr);
7233
7234 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
7235 GetArenaNoVirtual());
7236 // @@protoc_insertion_point(field_set_char:tensorflow.RegisterGraphRequest.session_handle)
7237}
7238inline void RegisterGraphRequest::set_session_handle(const char* value,
7239 size_t size) {
7240
7241 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
7242 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
7243 // @@protoc_insertion_point(field_set_pointer:tensorflow.RegisterGraphRequest.session_handle)
7244}
7245inline std::string* RegisterGraphRequest::mutable_session_handle() {
7246
7247 // @@protoc_insertion_point(field_mutable:tensorflow.RegisterGraphRequest.session_handle)
7248 return session_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7249}
7250inline std::string* RegisterGraphRequest::release_session_handle() {
7251 // @@protoc_insertion_point(field_release:tensorflow.RegisterGraphRequest.session_handle)
7252
7253 return session_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7254}
7255inline void RegisterGraphRequest::set_allocated_session_handle(std::string* session_handle) {
7256 if (session_handle != nullptr) {
7257
7258 } else {
7259
7260 }
7261 session_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_handle,
7262 GetArenaNoVirtual());
7263 // @@protoc_insertion_point(field_set_allocated:tensorflow.RegisterGraphRequest.session_handle)
7264}
7265inline std::string* RegisterGraphRequest::unsafe_arena_release_session_handle() {
7266 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RegisterGraphRequest.session_handle)
7267 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
7268
7269 return session_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7270 GetArenaNoVirtual());
7271}
7272inline void RegisterGraphRequest::unsafe_arena_set_allocated_session_handle(
7273 std::string* session_handle) {
7274 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
7275 if (session_handle != nullptr) {
7276
7277 } else {
7278
7279 }
7280 session_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7281 session_handle, GetArenaNoVirtual());
7282 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RegisterGraphRequest.session_handle)
7283}
7284
7285// bool create_worker_session_called = 6;
7286inline void RegisterGraphRequest::clear_create_worker_session_called() {
7287 create_worker_session_called_ = false;
7288}
7289inline bool RegisterGraphRequest::create_worker_session_called() const {
7290 // @@protoc_insertion_point(field_get:tensorflow.RegisterGraphRequest.create_worker_session_called)
7291 return create_worker_session_called_;
7292}
7293inline void RegisterGraphRequest::set_create_worker_session_called(bool value) {
7294
7295 create_worker_session_called_ = value;
7296 // @@protoc_insertion_point(field_set:tensorflow.RegisterGraphRequest.create_worker_session_called)
7297}
7298
7299// .tensorflow.GraphDef graph_def = 2;
7300inline bool RegisterGraphRequest::has_graph_def() const {
7301 return this != internal_default_instance() && graph_def_ != nullptr;
7302}
7303inline const ::tensorflow::GraphDef& RegisterGraphRequest::graph_def() const {
7304 const ::tensorflow::GraphDef* p = graph_def_;
7305 // @@protoc_insertion_point(field_get:tensorflow.RegisterGraphRequest.graph_def)
7306 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::GraphDef*>(
7307 &::tensorflow::_GraphDef_default_instance_);
7308}
7309inline ::tensorflow::GraphDef* RegisterGraphRequest::release_graph_def() {
7310 // @@protoc_insertion_point(field_release:tensorflow.RegisterGraphRequest.graph_def)
7311
7312 ::tensorflow::GraphDef* temp = graph_def_;
7313 if (GetArenaNoVirtual() != nullptr) {
7314 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7315 }
7316 graph_def_ = nullptr;
7317 return temp;
7318}
7319inline ::tensorflow::GraphDef* RegisterGraphRequest::unsafe_arena_release_graph_def() {
7320 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RegisterGraphRequest.graph_def)
7321
7322 ::tensorflow::GraphDef* temp = graph_def_;
7323 graph_def_ = nullptr;
7324 return temp;
7325}
7326inline ::tensorflow::GraphDef* RegisterGraphRequest::mutable_graph_def() {
7327
7328 if (graph_def_ == nullptr) {
7329 auto* p = CreateMaybeMessage<::tensorflow::GraphDef>(GetArenaNoVirtual());
7330 graph_def_ = p;
7331 }
7332 // @@protoc_insertion_point(field_mutable:tensorflow.RegisterGraphRequest.graph_def)
7333 return graph_def_;
7334}
7335inline void RegisterGraphRequest::set_allocated_graph_def(::tensorflow::GraphDef* graph_def) {
7336 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
7337 if (message_arena == nullptr) {
7338 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(graph_def_);
7339 }
7340 if (graph_def) {
7341 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7342 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(graph_def)->GetArena();
7343 if (message_arena != submessage_arena) {
7344 graph_def = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7345 message_arena, graph_def, submessage_arena);
7346 }
7347
7348 } else {
7349
7350 }
7351 graph_def_ = graph_def;
7352 // @@protoc_insertion_point(field_set_allocated:tensorflow.RegisterGraphRequest.graph_def)
7353}
7354
7355// bool has_control_flow = 3 [deprecated = true];
7356inline void RegisterGraphRequest::clear_has_control_flow() {
7357 has_control_flow_ = false;
7358}
7359inline bool RegisterGraphRequest::has_control_flow() const {
7360 // @@protoc_insertion_point(field_get:tensorflow.RegisterGraphRequest.has_control_flow)
7361 return has_control_flow_;
7362}
7363inline void RegisterGraphRequest::set_has_control_flow(bool value) {
7364
7365 has_control_flow_ = value;
7366 // @@protoc_insertion_point(field_set:tensorflow.RegisterGraphRequest.has_control_flow)
7367}
7368
7369// .tensorflow.GraphOptions graph_options = 4;
7370inline bool RegisterGraphRequest::has_graph_options() const {
7371 return this != internal_default_instance() && graph_options_ != nullptr;
7372}
7373inline const ::tensorflow::GraphOptions& RegisterGraphRequest::graph_options() const {
7374 const ::tensorflow::GraphOptions* p = graph_options_;
7375 // @@protoc_insertion_point(field_get:tensorflow.RegisterGraphRequest.graph_options)
7376 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::GraphOptions*>(
7377 &::tensorflow::_GraphOptions_default_instance_);
7378}
7379inline ::tensorflow::GraphOptions* RegisterGraphRequest::release_graph_options() {
7380 // @@protoc_insertion_point(field_release:tensorflow.RegisterGraphRequest.graph_options)
7381
7382 ::tensorflow::GraphOptions* temp = graph_options_;
7383 if (GetArenaNoVirtual() != nullptr) {
7384 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7385 }
7386 graph_options_ = nullptr;
7387 return temp;
7388}
7389inline ::tensorflow::GraphOptions* RegisterGraphRequest::unsafe_arena_release_graph_options() {
7390 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RegisterGraphRequest.graph_options)
7391
7392 ::tensorflow::GraphOptions* temp = graph_options_;
7393 graph_options_ = nullptr;
7394 return temp;
7395}
7396inline ::tensorflow::GraphOptions* RegisterGraphRequest::mutable_graph_options() {
7397
7398 if (graph_options_ == nullptr) {
7399 auto* p = CreateMaybeMessage<::tensorflow::GraphOptions>(GetArenaNoVirtual());
7400 graph_options_ = p;
7401 }
7402 // @@protoc_insertion_point(field_mutable:tensorflow.RegisterGraphRequest.graph_options)
7403 return graph_options_;
7404}
7405inline void RegisterGraphRequest::set_allocated_graph_options(::tensorflow::GraphOptions* graph_options) {
7406 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
7407 if (message_arena == nullptr) {
7408 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(graph_options_);
7409 }
7410 if (graph_options) {
7411 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7412 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(graph_options)->GetArena();
7413 if (message_arena != submessage_arena) {
7414 graph_options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7415 message_arena, graph_options, submessage_arena);
7416 }
7417
7418 } else {
7419
7420 }
7421 graph_options_ = graph_options;
7422 // @@protoc_insertion_point(field_set_allocated:tensorflow.RegisterGraphRequest.graph_options)
7423}
7424
7425// .tensorflow.DebugOptions debug_options = 5;
7426inline bool RegisterGraphRequest::has_debug_options() const {
7427 return this != internal_default_instance() && debug_options_ != nullptr;
7428}
7429inline const ::tensorflow::DebugOptions& RegisterGraphRequest::debug_options() const {
7430 const ::tensorflow::DebugOptions* p = debug_options_;
7431 // @@protoc_insertion_point(field_get:tensorflow.RegisterGraphRequest.debug_options)
7432 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::DebugOptions*>(
7433 &::tensorflow::_DebugOptions_default_instance_);
7434}
7435inline ::tensorflow::DebugOptions* RegisterGraphRequest::release_debug_options() {
7436 // @@protoc_insertion_point(field_release:tensorflow.RegisterGraphRequest.debug_options)
7437
7438 ::tensorflow::DebugOptions* temp = debug_options_;
7439 if (GetArenaNoVirtual() != nullptr) {
7440 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7441 }
7442 debug_options_ = nullptr;
7443 return temp;
7444}
7445inline ::tensorflow::DebugOptions* RegisterGraphRequest::unsafe_arena_release_debug_options() {
7446 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RegisterGraphRequest.debug_options)
7447
7448 ::tensorflow::DebugOptions* temp = debug_options_;
7449 debug_options_ = nullptr;
7450 return temp;
7451}
7452inline ::tensorflow::DebugOptions* RegisterGraphRequest::mutable_debug_options() {
7453
7454 if (debug_options_ == nullptr) {
7455 auto* p = CreateMaybeMessage<::tensorflow::DebugOptions>(GetArenaNoVirtual());
7456 debug_options_ = p;
7457 }
7458 // @@protoc_insertion_point(field_mutable:tensorflow.RegisterGraphRequest.debug_options)
7459 return debug_options_;
7460}
7461inline void RegisterGraphRequest::set_allocated_debug_options(::tensorflow::DebugOptions* debug_options) {
7462 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
7463 if (message_arena == nullptr) {
7464 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(debug_options_);
7465 }
7466 if (debug_options) {
7467 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7468 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(debug_options)->GetArena();
7469 if (message_arena != submessage_arena) {
7470 debug_options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7471 message_arena, debug_options, submessage_arena);
7472 }
7473
7474 } else {
7475
7476 }
7477 debug_options_ = debug_options;
7478 // @@protoc_insertion_point(field_set_allocated:tensorflow.RegisterGraphRequest.debug_options)
7479}
7480
7481// int64 collective_graph_key = 7;
7482inline void RegisterGraphRequest::clear_collective_graph_key() {
7483 collective_graph_key_ = PROTOBUF_LONGLONG(0);
7484}
7485inline ::PROTOBUF_NAMESPACE_ID::int64 RegisterGraphRequest::collective_graph_key() const {
7486 // @@protoc_insertion_point(field_get:tensorflow.RegisterGraphRequest.collective_graph_key)
7487 return collective_graph_key_;
7488}
7489inline void RegisterGraphRequest::set_collective_graph_key(::PROTOBUF_NAMESPACE_ID::int64 value) {
7490
7491 collective_graph_key_ = value;
7492 // @@protoc_insertion_point(field_set:tensorflow.RegisterGraphRequest.collective_graph_key)
7493}
7494
7495// .tensorflow.ConfigProto config_proto = 8;
7496inline bool RegisterGraphRequest::has_config_proto() const {
7497 return this != internal_default_instance() && config_proto_ != nullptr;
7498}
7499inline const ::tensorflow::ConfigProto& RegisterGraphRequest::config_proto() const {
7500 const ::tensorflow::ConfigProto* p = config_proto_;
7501 // @@protoc_insertion_point(field_get:tensorflow.RegisterGraphRequest.config_proto)
7502 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::ConfigProto*>(
7503 &::tensorflow::_ConfigProto_default_instance_);
7504}
7505inline ::tensorflow::ConfigProto* RegisterGraphRequest::release_config_proto() {
7506 // @@protoc_insertion_point(field_release:tensorflow.RegisterGraphRequest.config_proto)
7507
7508 ::tensorflow::ConfigProto* temp = config_proto_;
7509 if (GetArenaNoVirtual() != nullptr) {
7510 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7511 }
7512 config_proto_ = nullptr;
7513 return temp;
7514}
7515inline ::tensorflow::ConfigProto* RegisterGraphRequest::unsafe_arena_release_config_proto() {
7516 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RegisterGraphRequest.config_proto)
7517
7518 ::tensorflow::ConfigProto* temp = config_proto_;
7519 config_proto_ = nullptr;
7520 return temp;
7521}
7522inline ::tensorflow::ConfigProto* RegisterGraphRequest::mutable_config_proto() {
7523
7524 if (config_proto_ == nullptr) {
7525 auto* p = CreateMaybeMessage<::tensorflow::ConfigProto>(GetArenaNoVirtual());
7526 config_proto_ = p;
7527 }
7528 // @@protoc_insertion_point(field_mutable:tensorflow.RegisterGraphRequest.config_proto)
7529 return config_proto_;
7530}
7531inline void RegisterGraphRequest::set_allocated_config_proto(::tensorflow::ConfigProto* config_proto) {
7532 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
7533 if (message_arena == nullptr) {
7534 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(config_proto_);
7535 }
7536 if (config_proto) {
7537 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7538 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(config_proto)->GetArena();
7539 if (message_arena != submessage_arena) {
7540 config_proto = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7541 message_arena, config_proto, submessage_arena);
7542 }
7543
7544 } else {
7545
7546 }
7547 config_proto_ = config_proto;
7548 // @@protoc_insertion_point(field_set_allocated:tensorflow.RegisterGraphRequest.config_proto)
7549}
7550
7551// -------------------------------------------------------------------
7552
7553// RegisterGraphResponse
7554
7555// string graph_handle = 1;
7556inline void RegisterGraphResponse::clear_graph_handle() {
7557 graph_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7558}
7559inline const std::string& RegisterGraphResponse::graph_handle() const {
7560 // @@protoc_insertion_point(field_get:tensorflow.RegisterGraphResponse.graph_handle)
7561 return graph_handle_.Get();
7562}
7563inline void RegisterGraphResponse::set_graph_handle(const std::string& value) {
7564
7565 graph_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
7566 // @@protoc_insertion_point(field_set:tensorflow.RegisterGraphResponse.graph_handle)
7567}
7568inline void RegisterGraphResponse::set_graph_handle(std::string&& value) {
7569
7570 graph_handle_.Set(
7571 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
7572 // @@protoc_insertion_point(field_set_rvalue:tensorflow.RegisterGraphResponse.graph_handle)
7573}
7574inline void RegisterGraphResponse::set_graph_handle(const char* value) {
7575 GOOGLE_DCHECK(value != nullptr);
7576
7577 graph_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
7578 GetArenaNoVirtual());
7579 // @@protoc_insertion_point(field_set_char:tensorflow.RegisterGraphResponse.graph_handle)
7580}
7581inline void RegisterGraphResponse::set_graph_handle(const char* value,
7582 size_t size) {
7583
7584 graph_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
7585 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
7586 // @@protoc_insertion_point(field_set_pointer:tensorflow.RegisterGraphResponse.graph_handle)
7587}
7588inline std::string* RegisterGraphResponse::mutable_graph_handle() {
7589
7590 // @@protoc_insertion_point(field_mutable:tensorflow.RegisterGraphResponse.graph_handle)
7591 return graph_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7592}
7593inline std::string* RegisterGraphResponse::release_graph_handle() {
7594 // @@protoc_insertion_point(field_release:tensorflow.RegisterGraphResponse.graph_handle)
7595
7596 return graph_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7597}
7598inline void RegisterGraphResponse::set_allocated_graph_handle(std::string* graph_handle) {
7599 if (graph_handle != nullptr) {
7600
7601 } else {
7602
7603 }
7604 graph_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), graph_handle,
7605 GetArenaNoVirtual());
7606 // @@protoc_insertion_point(field_set_allocated:tensorflow.RegisterGraphResponse.graph_handle)
7607}
7608inline std::string* RegisterGraphResponse::unsafe_arena_release_graph_handle() {
7609 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RegisterGraphResponse.graph_handle)
7610 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
7611
7612 return graph_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7613 GetArenaNoVirtual());
7614}
7615inline void RegisterGraphResponse::unsafe_arena_set_allocated_graph_handle(
7616 std::string* graph_handle) {
7617 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
7618 if (graph_handle != nullptr) {
7619
7620 } else {
7621
7622 }
7623 graph_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7624 graph_handle, GetArenaNoVirtual());
7625 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RegisterGraphResponse.graph_handle)
7626}
7627
7628// -------------------------------------------------------------------
7629
7630// DeregisterGraphRequest
7631
7632// string session_handle = 2;
7633inline void DeregisterGraphRequest::clear_session_handle() {
7634 session_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7635}
7636inline const std::string& DeregisterGraphRequest::session_handle() const {
7637 // @@protoc_insertion_point(field_get:tensorflow.DeregisterGraphRequest.session_handle)
7638 return session_handle_.Get();
7639}
7640inline void DeregisterGraphRequest::set_session_handle(const std::string& value) {
7641
7642 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
7643 // @@protoc_insertion_point(field_set:tensorflow.DeregisterGraphRequest.session_handle)
7644}
7645inline void DeregisterGraphRequest::set_session_handle(std::string&& value) {
7646
7647 session_handle_.Set(
7648 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
7649 // @@protoc_insertion_point(field_set_rvalue:tensorflow.DeregisterGraphRequest.session_handle)
7650}
7651inline void DeregisterGraphRequest::set_session_handle(const char* value) {
7652 GOOGLE_DCHECK(value != nullptr);
7653
7654 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
7655 GetArenaNoVirtual());
7656 // @@protoc_insertion_point(field_set_char:tensorflow.DeregisterGraphRequest.session_handle)
7657}
7658inline void DeregisterGraphRequest::set_session_handle(const char* value,
7659 size_t size) {
7660
7661 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
7662 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
7663 // @@protoc_insertion_point(field_set_pointer:tensorflow.DeregisterGraphRequest.session_handle)
7664}
7665inline std::string* DeregisterGraphRequest::mutable_session_handle() {
7666
7667 // @@protoc_insertion_point(field_mutable:tensorflow.DeregisterGraphRequest.session_handle)
7668 return session_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7669}
7670inline std::string* DeregisterGraphRequest::release_session_handle() {
7671 // @@protoc_insertion_point(field_release:tensorflow.DeregisterGraphRequest.session_handle)
7672
7673 return session_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7674}
7675inline void DeregisterGraphRequest::set_allocated_session_handle(std::string* session_handle) {
7676 if (session_handle != nullptr) {
7677
7678 } else {
7679
7680 }
7681 session_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_handle,
7682 GetArenaNoVirtual());
7683 // @@protoc_insertion_point(field_set_allocated:tensorflow.DeregisterGraphRequest.session_handle)
7684}
7685inline std::string* DeregisterGraphRequest::unsafe_arena_release_session_handle() {
7686 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.DeregisterGraphRequest.session_handle)
7687 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
7688
7689 return session_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7690 GetArenaNoVirtual());
7691}
7692inline void DeregisterGraphRequest::unsafe_arena_set_allocated_session_handle(
7693 std::string* session_handle) {
7694 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
7695 if (session_handle != nullptr) {
7696
7697 } else {
7698
7699 }
7700 session_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7701 session_handle, GetArenaNoVirtual());
7702 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.DeregisterGraphRequest.session_handle)
7703}
7704
7705// bool create_worker_session_called = 3;
7706inline void DeregisterGraphRequest::clear_create_worker_session_called() {
7707 create_worker_session_called_ = false;
7708}
7709inline bool DeregisterGraphRequest::create_worker_session_called() const {
7710 // @@protoc_insertion_point(field_get:tensorflow.DeregisterGraphRequest.create_worker_session_called)
7711 return create_worker_session_called_;
7712}
7713inline void DeregisterGraphRequest::set_create_worker_session_called(bool value) {
7714
7715 create_worker_session_called_ = value;
7716 // @@protoc_insertion_point(field_set:tensorflow.DeregisterGraphRequest.create_worker_session_called)
7717}
7718
7719// string graph_handle = 1;
7720inline void DeregisterGraphRequest::clear_graph_handle() {
7721 graph_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7722}
7723inline const std::string& DeregisterGraphRequest::graph_handle() const {
7724 // @@protoc_insertion_point(field_get:tensorflow.DeregisterGraphRequest.graph_handle)
7725 return graph_handle_.Get();
7726}
7727inline void DeregisterGraphRequest::set_graph_handle(const std::string& value) {
7728
7729 graph_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
7730 // @@protoc_insertion_point(field_set:tensorflow.DeregisterGraphRequest.graph_handle)
7731}
7732inline void DeregisterGraphRequest::set_graph_handle(std::string&& value) {
7733
7734 graph_handle_.Set(
7735 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
7736 // @@protoc_insertion_point(field_set_rvalue:tensorflow.DeregisterGraphRequest.graph_handle)
7737}
7738inline void DeregisterGraphRequest::set_graph_handle(const char* value) {
7739 GOOGLE_DCHECK(value != nullptr);
7740
7741 graph_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
7742 GetArenaNoVirtual());
7743 // @@protoc_insertion_point(field_set_char:tensorflow.DeregisterGraphRequest.graph_handle)
7744}
7745inline void DeregisterGraphRequest::set_graph_handle(const char* value,
7746 size_t size) {
7747
7748 graph_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
7749 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
7750 // @@protoc_insertion_point(field_set_pointer:tensorflow.DeregisterGraphRequest.graph_handle)
7751}
7752inline std::string* DeregisterGraphRequest::mutable_graph_handle() {
7753
7754 // @@protoc_insertion_point(field_mutable:tensorflow.DeregisterGraphRequest.graph_handle)
7755 return graph_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7756}
7757inline std::string* DeregisterGraphRequest::release_graph_handle() {
7758 // @@protoc_insertion_point(field_release:tensorflow.DeregisterGraphRequest.graph_handle)
7759
7760 return graph_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7761}
7762inline void DeregisterGraphRequest::set_allocated_graph_handle(std::string* graph_handle) {
7763 if (graph_handle != nullptr) {
7764
7765 } else {
7766
7767 }
7768 graph_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), graph_handle,
7769 GetArenaNoVirtual());
7770 // @@protoc_insertion_point(field_set_allocated:tensorflow.DeregisterGraphRequest.graph_handle)
7771}
7772inline std::string* DeregisterGraphRequest::unsafe_arena_release_graph_handle() {
7773 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.DeregisterGraphRequest.graph_handle)
7774 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
7775
7776 return graph_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7777 GetArenaNoVirtual());
7778}
7779inline void DeregisterGraphRequest::unsafe_arena_set_allocated_graph_handle(
7780 std::string* graph_handle) {
7781 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
7782 if (graph_handle != nullptr) {
7783
7784 } else {
7785
7786 }
7787 graph_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7788 graph_handle, GetArenaNoVirtual());
7789 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.DeregisterGraphRequest.graph_handle)
7790}
7791
7792// -------------------------------------------------------------------
7793
7794// DeregisterGraphResponse
7795
7796// -------------------------------------------------------------------
7797
7798// CleanupAllRequest
7799
7800// repeated string container = 1;
7801inline int CleanupAllRequest::container_size() const {
7802 return container_.size();
7803}
7804inline void CleanupAllRequest::clear_container() {
7805 container_.Clear();
7806}
7807inline const std::string& CleanupAllRequest::container(int index) const {
7808 // @@protoc_insertion_point(field_get:tensorflow.CleanupAllRequest.container)
7809 return container_.Get(index);
7810}
7811inline std::string* CleanupAllRequest::mutable_container(int index) {
7812 // @@protoc_insertion_point(field_mutable:tensorflow.CleanupAllRequest.container)
7813 return container_.Mutable(index);
7814}
7815inline void CleanupAllRequest::set_container(int index, const std::string& value) {
7816 // @@protoc_insertion_point(field_set:tensorflow.CleanupAllRequest.container)
7817 container_.Mutable(index)->assign(value);
7818}
7819inline void CleanupAllRequest::set_container(int index, std::string&& value) {
7820 // @@protoc_insertion_point(field_set:tensorflow.CleanupAllRequest.container)
7821 container_.Mutable(index)->assign(std::move(value));
7822}
7823inline void CleanupAllRequest::set_container(int index, const char* value) {
7824 GOOGLE_DCHECK(value != nullptr);
7825 container_.Mutable(index)->assign(value);
7826 // @@protoc_insertion_point(field_set_char:tensorflow.CleanupAllRequest.container)
7827}
7828inline void CleanupAllRequest::set_container(int index, const char* value, size_t size) {
7829 container_.Mutable(index)->assign(
7830 reinterpret_cast<const char*>(value), size);
7831 // @@protoc_insertion_point(field_set_pointer:tensorflow.CleanupAllRequest.container)
7832}
7833inline std::string* CleanupAllRequest::add_container() {
7834 // @@protoc_insertion_point(field_add_mutable:tensorflow.CleanupAllRequest.container)
7835 return container_.Add();
7836}
7837inline void CleanupAllRequest::add_container(const std::string& value) {
7838 container_.Add()->assign(value);
7839 // @@protoc_insertion_point(field_add:tensorflow.CleanupAllRequest.container)
7840}
7841inline void CleanupAllRequest::add_container(std::string&& value) {
7842 container_.Add(std::move(value));
7843 // @@protoc_insertion_point(field_add:tensorflow.CleanupAllRequest.container)
7844}
7845inline void CleanupAllRequest::add_container(const char* value) {
7846 GOOGLE_DCHECK(value != nullptr);
7847 container_.Add()->assign(value);
7848 // @@protoc_insertion_point(field_add_char:tensorflow.CleanupAllRequest.container)
7849}
7850inline void CleanupAllRequest::add_container(const char* value, size_t size) {
7851 container_.Add()->assign(reinterpret_cast<const char*>(value), size);
7852 // @@protoc_insertion_point(field_add_pointer:tensorflow.CleanupAllRequest.container)
7853}
7854inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
7855CleanupAllRequest::container() const {
7856 // @@protoc_insertion_point(field_list:tensorflow.CleanupAllRequest.container)
7857 return container_;
7858}
7859inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
7860CleanupAllRequest::mutable_container() {
7861 // @@protoc_insertion_point(field_mutable_list:tensorflow.CleanupAllRequest.container)
7862 return &container_;
7863}
7864
7865// -------------------------------------------------------------------
7866
7867// CleanupAllResponse
7868
7869// -------------------------------------------------------------------
7870
7871// ExecutorOpts
7872
7873// bool record_costs = 1;
7874inline void ExecutorOpts::clear_record_costs() {
7875 record_costs_ = false;
7876}
7877inline bool ExecutorOpts::record_costs() const {
7878 // @@protoc_insertion_point(field_get:tensorflow.ExecutorOpts.record_costs)
7879 return record_costs_;
7880}
7881inline void ExecutorOpts::set_record_costs(bool value) {
7882
7883 record_costs_ = value;
7884 // @@protoc_insertion_point(field_set:tensorflow.ExecutorOpts.record_costs)
7885}
7886
7887// bool record_timeline = 3;
7888inline void ExecutorOpts::clear_record_timeline() {
7889 record_timeline_ = false;
7890}
7891inline bool ExecutorOpts::record_timeline() const {
7892 // @@protoc_insertion_point(field_get:tensorflow.ExecutorOpts.record_timeline)
7893 return record_timeline_;
7894}
7895inline void ExecutorOpts::set_record_timeline(bool value) {
7896
7897 record_timeline_ = value;
7898 // @@protoc_insertion_point(field_set:tensorflow.ExecutorOpts.record_timeline)
7899}
7900
7901// bool record_partition_graphs = 4;
7902inline void ExecutorOpts::clear_record_partition_graphs() {
7903 record_partition_graphs_ = false;
7904}
7905inline bool ExecutorOpts::record_partition_graphs() const {
7906 // @@protoc_insertion_point(field_get:tensorflow.ExecutorOpts.record_partition_graphs)
7907 return record_partition_graphs_;
7908}
7909inline void ExecutorOpts::set_record_partition_graphs(bool value) {
7910
7911 record_partition_graphs_ = value;
7912 // @@protoc_insertion_point(field_set:tensorflow.ExecutorOpts.record_partition_graphs)
7913}
7914
7915// bool report_tensor_allocations_upon_oom = 5;
7916inline void ExecutorOpts::clear_report_tensor_allocations_upon_oom() {
7917 report_tensor_allocations_upon_oom_ = false;
7918}
7919inline bool ExecutorOpts::report_tensor_allocations_upon_oom() const {
7920 // @@protoc_insertion_point(field_get:tensorflow.ExecutorOpts.report_tensor_allocations_upon_oom)
7921 return report_tensor_allocations_upon_oom_;
7922}
7923inline void ExecutorOpts::set_report_tensor_allocations_upon_oom(bool value) {
7924
7925 report_tensor_allocations_upon_oom_ = value;
7926 // @@protoc_insertion_point(field_set:tensorflow.ExecutorOpts.report_tensor_allocations_upon_oom)
7927}
7928
7929// -------------------------------------------------------------------
7930
7931// RunGraphRequest
7932
7933// string session_handle = 8;
7934inline void RunGraphRequest::clear_session_handle() {
7935 session_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7936}
7937inline const std::string& RunGraphRequest::session_handle() const {
7938 // @@protoc_insertion_point(field_get:tensorflow.RunGraphRequest.session_handle)
7939 return session_handle_.Get();
7940}
7941inline void RunGraphRequest::set_session_handle(const std::string& value) {
7942
7943 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
7944 // @@protoc_insertion_point(field_set:tensorflow.RunGraphRequest.session_handle)
7945}
7946inline void RunGraphRequest::set_session_handle(std::string&& value) {
7947
7948 session_handle_.Set(
7949 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
7950 // @@protoc_insertion_point(field_set_rvalue:tensorflow.RunGraphRequest.session_handle)
7951}
7952inline void RunGraphRequest::set_session_handle(const char* value) {
7953 GOOGLE_DCHECK(value != nullptr);
7954
7955 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
7956 GetArenaNoVirtual());
7957 // @@protoc_insertion_point(field_set_char:tensorflow.RunGraphRequest.session_handle)
7958}
7959inline void RunGraphRequest::set_session_handle(const char* value,
7960 size_t size) {
7961
7962 session_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
7963 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
7964 // @@protoc_insertion_point(field_set_pointer:tensorflow.RunGraphRequest.session_handle)
7965}
7966inline std::string* RunGraphRequest::mutable_session_handle() {
7967
7968 // @@protoc_insertion_point(field_mutable:tensorflow.RunGraphRequest.session_handle)
7969 return session_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7970}
7971inline std::string* RunGraphRequest::release_session_handle() {
7972 // @@protoc_insertion_point(field_release:tensorflow.RunGraphRequest.session_handle)
7973
7974 return session_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
7975}
7976inline void RunGraphRequest::set_allocated_session_handle(std::string* session_handle) {
7977 if (session_handle != nullptr) {
7978
7979 } else {
7980
7981 }
7982 session_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_handle,
7983 GetArenaNoVirtual());
7984 // @@protoc_insertion_point(field_set_allocated:tensorflow.RunGraphRequest.session_handle)
7985}
7986inline std::string* RunGraphRequest::unsafe_arena_release_session_handle() {
7987 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RunGraphRequest.session_handle)
7988 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
7989
7990 return session_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
7991 GetArenaNoVirtual());
7992}
7993inline void RunGraphRequest::unsafe_arena_set_allocated_session_handle(
7994 std::string* session_handle) {
7995 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
7996 if (session_handle != nullptr) {
7997
7998 } else {
7999
8000 }
8001 session_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
8002 session_handle, GetArenaNoVirtual());
8003 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RunGraphRequest.session_handle)
8004}
8005
8006// bool create_worker_session_called = 10;
8007inline void RunGraphRequest::clear_create_worker_session_called() {
8008 create_worker_session_called_ = false;
8009}
8010inline bool RunGraphRequest::create_worker_session_called() const {
8011 // @@protoc_insertion_point(field_get:tensorflow.RunGraphRequest.create_worker_session_called)
8012 return create_worker_session_called_;
8013}
8014inline void RunGraphRequest::set_create_worker_session_called(bool value) {
8015
8016 create_worker_session_called_ = value;
8017 // @@protoc_insertion_point(field_set:tensorflow.RunGraphRequest.create_worker_session_called)
8018}
8019
8020// string graph_handle = 1;
8021inline void RunGraphRequest::clear_graph_handle() {
8022 graph_handle_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
8023}
8024inline const std::string& RunGraphRequest::graph_handle() const {
8025 // @@protoc_insertion_point(field_get:tensorflow.RunGraphRequest.graph_handle)
8026 return graph_handle_.Get();
8027}
8028inline void RunGraphRequest::set_graph_handle(const std::string& value) {
8029
8030 graph_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
8031 // @@protoc_insertion_point(field_set:tensorflow.RunGraphRequest.graph_handle)
8032}
8033inline void RunGraphRequest::set_graph_handle(std::string&& value) {
8034
8035 graph_handle_.Set(
8036 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
8037 // @@protoc_insertion_point(field_set_rvalue:tensorflow.RunGraphRequest.graph_handle)
8038}
8039inline void RunGraphRequest::set_graph_handle(const char* value) {
8040 GOOGLE_DCHECK(value != nullptr);
8041
8042 graph_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
8043 GetArenaNoVirtual());
8044 // @@protoc_insertion_point(field_set_char:tensorflow.RunGraphRequest.graph_handle)
8045}
8046inline void RunGraphRequest::set_graph_handle(const char* value,
8047 size_t size) {
8048
8049 graph_handle_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
8050 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
8051 // @@protoc_insertion_point(field_set_pointer:tensorflow.RunGraphRequest.graph_handle)
8052}
8053inline std::string* RunGraphRequest::mutable_graph_handle() {
8054
8055 // @@protoc_insertion_point(field_mutable:tensorflow.RunGraphRequest.graph_handle)
8056 return graph_handle_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
8057}
8058inline std::string* RunGraphRequest::release_graph_handle() {
8059 // @@protoc_insertion_point(field_release:tensorflow.RunGraphRequest.graph_handle)
8060
8061 return graph_handle_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
8062}
8063inline void RunGraphRequest::set_allocated_graph_handle(std::string* graph_handle) {
8064 if (graph_handle != nullptr) {
8065
8066 } else {
8067
8068 }
8069 graph_handle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), graph_handle,
8070 GetArenaNoVirtual());
8071 // @@protoc_insertion_point(field_set_allocated:tensorflow.RunGraphRequest.graph_handle)
8072}
8073inline std::string* RunGraphRequest::unsafe_arena_release_graph_handle() {
8074 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RunGraphRequest.graph_handle)
8075 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
8076
8077 return graph_handle_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
8078 GetArenaNoVirtual());
8079}
8080inline void RunGraphRequest::unsafe_arena_set_allocated_graph_handle(
8081 std::string* graph_handle) {
8082 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
8083 if (graph_handle != nullptr) {
8084
8085 } else {
8086
8087 }
8088 graph_handle_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
8089 graph_handle, GetArenaNoVirtual());
8090 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RunGraphRequest.graph_handle)
8091}
8092
8093// int64 step_id = 2;
8094inline void RunGraphRequest::clear_step_id() {
8095 step_id_ = PROTOBUF_LONGLONG(0);
8096}
8097inline ::PROTOBUF_NAMESPACE_ID::int64 RunGraphRequest::step_id() const {
8098 // @@protoc_insertion_point(field_get:tensorflow.RunGraphRequest.step_id)
8099 return step_id_;
8100}
8101inline void RunGraphRequest::set_step_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
8102
8103 step_id_ = value;
8104 // @@protoc_insertion_point(field_set:tensorflow.RunGraphRequest.step_id)
8105}
8106
8107// .tensorflow.ExecutorOpts exec_opts = 5;
8108inline bool RunGraphRequest::has_exec_opts() const {
8109 return this != internal_default_instance() && exec_opts_ != nullptr;
8110}
8111inline void RunGraphRequest::clear_exec_opts() {
8112 if (GetArenaNoVirtual() == nullptr && exec_opts_ != nullptr) {
8113 delete exec_opts_;
8114 }
8115 exec_opts_ = nullptr;
8116}
8117inline const ::tensorflow::ExecutorOpts& RunGraphRequest::exec_opts() const {
8118 const ::tensorflow::ExecutorOpts* p = exec_opts_;
8119 // @@protoc_insertion_point(field_get:tensorflow.RunGraphRequest.exec_opts)
8120 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::ExecutorOpts*>(
8121 &::tensorflow::_ExecutorOpts_default_instance_);
8122}
8123inline ::tensorflow::ExecutorOpts* RunGraphRequest::release_exec_opts() {
8124 // @@protoc_insertion_point(field_release:tensorflow.RunGraphRequest.exec_opts)
8125
8126 ::tensorflow::ExecutorOpts* temp = exec_opts_;
8127 if (GetArenaNoVirtual() != nullptr) {
8128 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8129 }
8130 exec_opts_ = nullptr;
8131 return temp;
8132}
8133inline ::tensorflow::ExecutorOpts* RunGraphRequest::unsafe_arena_release_exec_opts() {
8134 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RunGraphRequest.exec_opts)
8135
8136 ::tensorflow::ExecutorOpts* temp = exec_opts_;
8137 exec_opts_ = nullptr;
8138 return temp;
8139}
8140inline ::tensorflow::ExecutorOpts* RunGraphRequest::mutable_exec_opts() {
8141
8142 if (exec_opts_ == nullptr) {
8143 auto* p = CreateMaybeMessage<::tensorflow::ExecutorOpts>(GetArenaNoVirtual());
8144 exec_opts_ = p;
8145 }
8146 // @@protoc_insertion_point(field_mutable:tensorflow.RunGraphRequest.exec_opts)
8147 return exec_opts_;
8148}
8149inline void RunGraphRequest::set_allocated_exec_opts(::tensorflow::ExecutorOpts* exec_opts) {
8150 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
8151 if (message_arena == nullptr) {
8152 delete exec_opts_;
8153 }
8154 if (exec_opts) {
8155 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8156 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(exec_opts);
8157 if (message_arena != submessage_arena) {
8158 exec_opts = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8159 message_arena, exec_opts, submessage_arena);
8160 }
8161
8162 } else {
8163
8164 }
8165 exec_opts_ = exec_opts;
8166 // @@protoc_insertion_point(field_set_allocated:tensorflow.RunGraphRequest.exec_opts)
8167}
8168
8169// repeated .tensorflow.NamedTensorProto send = 3;
8170inline int RunGraphRequest::send_size() const {
8171 return send_.size();
8172}
8173inline ::tensorflow::NamedTensorProto* RunGraphRequest::mutable_send(int index) {
8174 // @@protoc_insertion_point(field_mutable:tensorflow.RunGraphRequest.send)
8175 return send_.Mutable(index);
8176}
8177inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >*
8178RunGraphRequest::mutable_send() {
8179 // @@protoc_insertion_point(field_mutable_list:tensorflow.RunGraphRequest.send)
8180 return &send_;
8181}
8182inline const ::tensorflow::NamedTensorProto& RunGraphRequest::send(int index) const {
8183 // @@protoc_insertion_point(field_get:tensorflow.RunGraphRequest.send)
8184 return send_.Get(index);
8185}
8186inline ::tensorflow::NamedTensorProto* RunGraphRequest::add_send() {
8187 // @@protoc_insertion_point(field_add:tensorflow.RunGraphRequest.send)
8188 return send_.Add();
8189}
8190inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >&
8191RunGraphRequest::send() const {
8192 // @@protoc_insertion_point(field_list:tensorflow.RunGraphRequest.send)
8193 return send_;
8194}
8195
8196// repeated string recv_key = 4;
8197inline int RunGraphRequest::recv_key_size() const {
8198 return recv_key_.size();
8199}
8200inline void RunGraphRequest::clear_recv_key() {
8201 recv_key_.Clear();
8202}
8203inline const std::string& RunGraphRequest::recv_key(int index) const {
8204 // @@protoc_insertion_point(field_get:tensorflow.RunGraphRequest.recv_key)
8205 return recv_key_.Get(index);
8206}
8207inline std::string* RunGraphRequest::mutable_recv_key(int index) {
8208 // @@protoc_insertion_point(field_mutable:tensorflow.RunGraphRequest.recv_key)
8209 return recv_key_.Mutable(index);
8210}
8211inline void RunGraphRequest::set_recv_key(int index, const std::string& value) {
8212 // @@protoc_insertion_point(field_set:tensorflow.RunGraphRequest.recv_key)
8213 recv_key_.Mutable(index)->assign(value);
8214}
8215inline void RunGraphRequest::set_recv_key(int index, std::string&& value) {
8216 // @@protoc_insertion_point(field_set:tensorflow.RunGraphRequest.recv_key)
8217 recv_key_.Mutable(index)->assign(std::move(value));
8218}
8219inline void RunGraphRequest::set_recv_key(int index, const char* value) {
8220 GOOGLE_DCHECK(value != nullptr);
8221 recv_key_.Mutable(index)->assign(value);
8222 // @@protoc_insertion_point(field_set_char:tensorflow.RunGraphRequest.recv_key)
8223}
8224inline void RunGraphRequest::set_recv_key(int index, const char* value, size_t size) {
8225 recv_key_.Mutable(index)->assign(
8226 reinterpret_cast<const char*>(value), size);
8227 // @@protoc_insertion_point(field_set_pointer:tensorflow.RunGraphRequest.recv_key)
8228}
8229inline std::string* RunGraphRequest::add_recv_key() {
8230 // @@protoc_insertion_point(field_add_mutable:tensorflow.RunGraphRequest.recv_key)
8231 return recv_key_.Add();
8232}
8233inline void RunGraphRequest::add_recv_key(const std::string& value) {
8234 recv_key_.Add()->assign(value);
8235 // @@protoc_insertion_point(field_add:tensorflow.RunGraphRequest.recv_key)
8236}
8237inline void RunGraphRequest::add_recv_key(std::string&& value) {
8238 recv_key_.Add(std::move(value));
8239 // @@protoc_insertion_point(field_add:tensorflow.RunGraphRequest.recv_key)
8240}
8241inline void RunGraphRequest::add_recv_key(const char* value) {
8242 GOOGLE_DCHECK(value != nullptr);
8243 recv_key_.Add()->assign(value);
8244 // @@protoc_insertion_point(field_add_char:tensorflow.RunGraphRequest.recv_key)
8245}
8246inline void RunGraphRequest::add_recv_key(const char* value, size_t size) {
8247 recv_key_.Add()->assign(reinterpret_cast<const char*>(value), size);
8248 // @@protoc_insertion_point(field_add_pointer:tensorflow.RunGraphRequest.recv_key)
8249}
8250inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
8251RunGraphRequest::recv_key() const {
8252 // @@protoc_insertion_point(field_list:tensorflow.RunGraphRequest.recv_key)
8253 return recv_key_;
8254}
8255inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
8256RunGraphRequest::mutable_recv_key() {
8257 // @@protoc_insertion_point(field_mutable_list:tensorflow.RunGraphRequest.recv_key)
8258 return &recv_key_;
8259}
8260
8261// bool is_partial = 6;
8262inline void RunGraphRequest::clear_is_partial() {
8263 is_partial_ = false;
8264}
8265inline bool RunGraphRequest::is_partial() const {
8266 // @@protoc_insertion_point(field_get:tensorflow.RunGraphRequest.is_partial)
8267 return is_partial_;
8268}
8269inline void RunGraphRequest::set_is_partial(bool value) {
8270
8271 is_partial_ = value;
8272 // @@protoc_insertion_point(field_set:tensorflow.RunGraphRequest.is_partial)
8273}
8274
8275// bool is_last_partial_run = 7;
8276inline void RunGraphRequest::clear_is_last_partial_run() {
8277 is_last_partial_run_ = false;
8278}
8279inline bool RunGraphRequest::is_last_partial_run() const {
8280 // @@protoc_insertion_point(field_get:tensorflow.RunGraphRequest.is_last_partial_run)
8281 return is_last_partial_run_;
8282}
8283inline void RunGraphRequest::set_is_last_partial_run(bool value) {
8284
8285 is_last_partial_run_ = value;
8286 // @@protoc_insertion_point(field_set:tensorflow.RunGraphRequest.is_last_partial_run)
8287}
8288
8289// bool store_errors_in_response_body = 9;
8290inline void RunGraphRequest::clear_store_errors_in_response_body() {
8291 store_errors_in_response_body_ = false;
8292}
8293inline bool RunGraphRequest::store_errors_in_response_body() const {
8294 // @@protoc_insertion_point(field_get:tensorflow.RunGraphRequest.store_errors_in_response_body)
8295 return store_errors_in_response_body_;
8296}
8297inline void RunGraphRequest::set_store_errors_in_response_body(bool value) {
8298
8299 store_errors_in_response_body_ = value;
8300 // @@protoc_insertion_point(field_set:tensorflow.RunGraphRequest.store_errors_in_response_body)
8301}
8302
8303// int64 request_id = 11;
8304inline void RunGraphRequest::clear_request_id() {
8305 request_id_ = PROTOBUF_LONGLONG(0);
8306}
8307inline ::PROTOBUF_NAMESPACE_ID::int64 RunGraphRequest::request_id() const {
8308 // @@protoc_insertion_point(field_get:tensorflow.RunGraphRequest.request_id)
8309 return request_id_;
8310}
8311inline void RunGraphRequest::set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
8312
8313 request_id_ = value;
8314 // @@protoc_insertion_point(field_set:tensorflow.RunGraphRequest.request_id)
8315}
8316
8317// -------------------------------------------------------------------
8318
8319// RunGraphResponse
8320
8321// repeated .tensorflow.NamedTensorProto recv = 1;
8322inline int RunGraphResponse::recv_size() const {
8323 return recv_.size();
8324}
8325inline ::tensorflow::NamedTensorProto* RunGraphResponse::mutable_recv(int index) {
8326 // @@protoc_insertion_point(field_mutable:tensorflow.RunGraphResponse.recv)
8327 return recv_.Mutable(index);
8328}
8329inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >*
8330RunGraphResponse::mutable_recv() {
8331 // @@protoc_insertion_point(field_mutable_list:tensorflow.RunGraphResponse.recv)
8332 return &recv_;
8333}
8334inline const ::tensorflow::NamedTensorProto& RunGraphResponse::recv(int index) const {
8335 // @@protoc_insertion_point(field_get:tensorflow.RunGraphResponse.recv)
8336 return recv_.Get(index);
8337}
8338inline ::tensorflow::NamedTensorProto* RunGraphResponse::add_recv() {
8339 // @@protoc_insertion_point(field_add:tensorflow.RunGraphResponse.recv)
8340 return recv_.Add();
8341}
8342inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NamedTensorProto >&
8343RunGraphResponse::recv() const {
8344 // @@protoc_insertion_point(field_list:tensorflow.RunGraphResponse.recv)
8345 return recv_;
8346}
8347
8348// .tensorflow.StepStats step_stats = 2;
8349inline bool RunGraphResponse::has_step_stats() const {
8350 return this != internal_default_instance() && step_stats_ != nullptr;
8351}
8352inline const ::tensorflow::StepStats& RunGraphResponse::step_stats() const {
8353 const ::tensorflow::StepStats* p = step_stats_;
8354 // @@protoc_insertion_point(field_get:tensorflow.RunGraphResponse.step_stats)
8355 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::StepStats*>(
8356 &::tensorflow::_StepStats_default_instance_);
8357}
8358inline ::tensorflow::StepStats* RunGraphResponse::release_step_stats() {
8359 // @@protoc_insertion_point(field_release:tensorflow.RunGraphResponse.step_stats)
8360
8361 ::tensorflow::StepStats* temp = step_stats_;
8362 if (GetArenaNoVirtual() != nullptr) {
8363 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8364 }
8365 step_stats_ = nullptr;
8366 return temp;
8367}
8368inline ::tensorflow::StepStats* RunGraphResponse::unsafe_arena_release_step_stats() {
8369 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RunGraphResponse.step_stats)
8370
8371 ::tensorflow::StepStats* temp = step_stats_;
8372 step_stats_ = nullptr;
8373 return temp;
8374}
8375inline ::tensorflow::StepStats* RunGraphResponse::mutable_step_stats() {
8376
8377 if (step_stats_ == nullptr) {
8378 auto* p = CreateMaybeMessage<::tensorflow::StepStats>(GetArenaNoVirtual());
8379 step_stats_ = p;
8380 }
8381 // @@protoc_insertion_point(field_mutable:tensorflow.RunGraphResponse.step_stats)
8382 return step_stats_;
8383}
8384inline void RunGraphResponse::set_allocated_step_stats(::tensorflow::StepStats* step_stats) {
8385 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
8386 if (message_arena == nullptr) {
8387 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(step_stats_);
8388 }
8389 if (step_stats) {
8390 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8391 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(step_stats)->GetArena();
8392 if (message_arena != submessage_arena) {
8393 step_stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8394 message_arena, step_stats, submessage_arena);
8395 }
8396
8397 } else {
8398
8399 }
8400 step_stats_ = step_stats;
8401 // @@protoc_insertion_point(field_set_allocated:tensorflow.RunGraphResponse.step_stats)
8402}
8403
8404// .tensorflow.CostGraphDef cost_graph = 3;
8405inline bool RunGraphResponse::has_cost_graph() const {
8406 return this != internal_default_instance() && cost_graph_ != nullptr;
8407}
8408inline const ::tensorflow::CostGraphDef& RunGraphResponse::cost_graph() const {
8409 const ::tensorflow::CostGraphDef* p = cost_graph_;
8410 // @@protoc_insertion_point(field_get:tensorflow.RunGraphResponse.cost_graph)
8411 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::CostGraphDef*>(
8412 &::tensorflow::_CostGraphDef_default_instance_);
8413}
8414inline ::tensorflow::CostGraphDef* RunGraphResponse::release_cost_graph() {
8415 // @@protoc_insertion_point(field_release:tensorflow.RunGraphResponse.cost_graph)
8416
8417 ::tensorflow::CostGraphDef* temp = cost_graph_;
8418 if (GetArenaNoVirtual() != nullptr) {
8419 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8420 }
8421 cost_graph_ = nullptr;
8422 return temp;
8423}
8424inline ::tensorflow::CostGraphDef* RunGraphResponse::unsafe_arena_release_cost_graph() {
8425 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RunGraphResponse.cost_graph)
8426
8427 ::tensorflow::CostGraphDef* temp = cost_graph_;
8428 cost_graph_ = nullptr;
8429 return temp;
8430}
8431inline ::tensorflow::CostGraphDef* RunGraphResponse::mutable_cost_graph() {
8432
8433 if (cost_graph_ == nullptr) {
8434 auto* p = CreateMaybeMessage<::tensorflow::CostGraphDef>(GetArenaNoVirtual());
8435 cost_graph_ = p;
8436 }
8437 // @@protoc_insertion_point(field_mutable:tensorflow.RunGraphResponse.cost_graph)
8438 return cost_graph_;
8439}
8440inline void RunGraphResponse::set_allocated_cost_graph(::tensorflow::CostGraphDef* cost_graph) {
8441 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
8442 if (message_arena == nullptr) {
8443 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(cost_graph_);
8444 }
8445 if (cost_graph) {
8446 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8447 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cost_graph)->GetArena();
8448 if (message_arena != submessage_arena) {
8449 cost_graph = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8450 message_arena, cost_graph, submessage_arena);
8451 }
8452
8453 } else {
8454
8455 }
8456 cost_graph_ = cost_graph;
8457 // @@protoc_insertion_point(field_set_allocated:tensorflow.RunGraphResponse.cost_graph)
8458}
8459
8460// repeated .tensorflow.GraphDef partition_graph = 4;
8461inline int RunGraphResponse::partition_graph_size() const {
8462 return partition_graph_.size();
8463}
8464inline ::tensorflow::GraphDef* RunGraphResponse::mutable_partition_graph(int index) {
8465 // @@protoc_insertion_point(field_mutable:tensorflow.RunGraphResponse.partition_graph)
8466 return partition_graph_.Mutable(index);
8467}
8468inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GraphDef >*
8469RunGraphResponse::mutable_partition_graph() {
8470 // @@protoc_insertion_point(field_mutable_list:tensorflow.RunGraphResponse.partition_graph)
8471 return &partition_graph_;
8472}
8473inline const ::tensorflow::GraphDef& RunGraphResponse::partition_graph(int index) const {
8474 // @@protoc_insertion_point(field_get:tensorflow.RunGraphResponse.partition_graph)
8475 return partition_graph_.Get(index);
8476}
8477inline ::tensorflow::GraphDef* RunGraphResponse::add_partition_graph() {
8478 // @@protoc_insertion_point(field_add:tensorflow.RunGraphResponse.partition_graph)
8479 return partition_graph_.Add();
8480}
8481inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GraphDef >&
8482RunGraphResponse::partition_graph() const {
8483 // @@protoc_insertion_point(field_list:tensorflow.RunGraphResponse.partition_graph)
8484 return partition_graph_;
8485}
8486
8487// .tensorflow.error.Code status_code = 5;
8488inline void RunGraphResponse::clear_status_code() {
8489 status_code_ = 0;
8490}
8491inline ::tensorflow::error::Code RunGraphResponse::status_code() const {
8492 // @@protoc_insertion_point(field_get:tensorflow.RunGraphResponse.status_code)
8493 return static_cast< ::tensorflow::error::Code >(status_code_);
8494}
8495inline void RunGraphResponse::set_status_code(::tensorflow::error::Code value) {
8496
8497 status_code_ = value;
8498 // @@protoc_insertion_point(field_set:tensorflow.RunGraphResponse.status_code)
8499}
8500
8501// string status_error_message = 6;
8502inline void RunGraphResponse::clear_status_error_message() {
8503 status_error_message_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
8504}
8505inline const std::string& RunGraphResponse::status_error_message() const {
8506 // @@protoc_insertion_point(field_get:tensorflow.RunGraphResponse.status_error_message)
8507 return status_error_message_.Get();
8508}
8509inline void RunGraphResponse::set_status_error_message(const std::string& value) {
8510
8511 status_error_message_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
8512 // @@protoc_insertion_point(field_set:tensorflow.RunGraphResponse.status_error_message)
8513}
8514inline void RunGraphResponse::set_status_error_message(std::string&& value) {
8515
8516 status_error_message_.Set(
8517 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
8518 // @@protoc_insertion_point(field_set_rvalue:tensorflow.RunGraphResponse.status_error_message)
8519}
8520inline void RunGraphResponse::set_status_error_message(const char* value) {
8521 GOOGLE_DCHECK(value != nullptr);
8522
8523 status_error_message_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
8524 GetArenaNoVirtual());
8525 // @@protoc_insertion_point(field_set_char:tensorflow.RunGraphResponse.status_error_message)
8526}
8527inline void RunGraphResponse::set_status_error_message(const char* value,
8528 size_t size) {
8529
8530 status_error_message_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
8531 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
8532 // @@protoc_insertion_point(field_set_pointer:tensorflow.RunGraphResponse.status_error_message)
8533}
8534inline std::string* RunGraphResponse::mutable_status_error_message() {
8535
8536 // @@protoc_insertion_point(field_mutable:tensorflow.RunGraphResponse.status_error_message)
8537 return status_error_message_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
8538}
8539inline std::string* RunGraphResponse::release_status_error_message() {
8540 // @@protoc_insertion_point(field_release:tensorflow.RunGraphResponse.status_error_message)
8541
8542 return status_error_message_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
8543}
8544inline void RunGraphResponse::set_allocated_status_error_message(std::string* status_error_message) {
8545 if (status_error_message != nullptr) {
8546
8547 } else {
8548
8549 }
8550 status_error_message_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status_error_message,
8551 GetArenaNoVirtual());
8552 // @@protoc_insertion_point(field_set_allocated:tensorflow.RunGraphResponse.status_error_message)
8553}
8554inline std::string* RunGraphResponse::unsafe_arena_release_status_error_message() {
8555 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RunGraphResponse.status_error_message)
8556 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
8557
8558 return status_error_message_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
8559 GetArenaNoVirtual());
8560}
8561inline void RunGraphResponse::unsafe_arena_set_allocated_status_error_message(
8562 std::string* status_error_message) {
8563 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
8564 if (status_error_message != nullptr) {
8565
8566 } else {
8567
8568 }
8569 status_error_message_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
8570 status_error_message, GetArenaNoVirtual());
8571 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RunGraphResponse.status_error_message)
8572}
8573
8574// -------------------------------------------------------------------
8575
8576// CleanupGraphRequest
8577
8578// int64 step_id = 1;
8579inline void CleanupGraphRequest::clear_step_id() {
8580 step_id_ = PROTOBUF_LONGLONG(0);
8581}
8582inline ::PROTOBUF_NAMESPACE_ID::int64 CleanupGraphRequest::step_id() const {
8583 // @@protoc_insertion_point(field_get:tensorflow.CleanupGraphRequest.step_id)
8584 return step_id_;
8585}
8586inline void CleanupGraphRequest::set_step_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
8587
8588 step_id_ = value;
8589 // @@protoc_insertion_point(field_set:tensorflow.CleanupGraphRequest.step_id)
8590}
8591
8592// -------------------------------------------------------------------
8593
8594// CleanupGraphResponse
8595
8596// -------------------------------------------------------------------
8597
8598// RecvTensorRequest
8599
8600// int64 step_id = 1;
8601inline void RecvTensorRequest::clear_step_id() {
8602 step_id_ = PROTOBUF_LONGLONG(0);
8603}
8604inline ::PROTOBUF_NAMESPACE_ID::int64 RecvTensorRequest::step_id() const {
8605 // @@protoc_insertion_point(field_get:tensorflow.RecvTensorRequest.step_id)
8606 return step_id_;
8607}
8608inline void RecvTensorRequest::set_step_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
8609
8610 step_id_ = value;
8611 // @@protoc_insertion_point(field_set:tensorflow.RecvTensorRequest.step_id)
8612}
8613
8614// string rendezvous_key = 2;
8615inline void RecvTensorRequest::clear_rendezvous_key() {
8616 rendezvous_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
8617}
8618inline const std::string& RecvTensorRequest::rendezvous_key() const {
8619 // @@protoc_insertion_point(field_get:tensorflow.RecvTensorRequest.rendezvous_key)
8620 return rendezvous_key_.Get();
8621}
8622inline void RecvTensorRequest::set_rendezvous_key(const std::string& value) {
8623
8624 rendezvous_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
8625 // @@protoc_insertion_point(field_set:tensorflow.RecvTensorRequest.rendezvous_key)
8626}
8627inline void RecvTensorRequest::set_rendezvous_key(std::string&& value) {
8628
8629 rendezvous_key_.Set(
8630 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
8631 // @@protoc_insertion_point(field_set_rvalue:tensorflow.RecvTensorRequest.rendezvous_key)
8632}
8633inline void RecvTensorRequest::set_rendezvous_key(const char* value) {
8634 GOOGLE_DCHECK(value != nullptr);
8635
8636 rendezvous_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
8637 GetArenaNoVirtual());
8638 // @@protoc_insertion_point(field_set_char:tensorflow.RecvTensorRequest.rendezvous_key)
8639}
8640inline void RecvTensorRequest::set_rendezvous_key(const char* value,
8641 size_t size) {
8642
8643 rendezvous_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
8644 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
8645 // @@protoc_insertion_point(field_set_pointer:tensorflow.RecvTensorRequest.rendezvous_key)
8646}
8647inline std::string* RecvTensorRequest::mutable_rendezvous_key() {
8648
8649 // @@protoc_insertion_point(field_mutable:tensorflow.RecvTensorRequest.rendezvous_key)
8650 return rendezvous_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
8651}
8652inline std::string* RecvTensorRequest::release_rendezvous_key() {
8653 // @@protoc_insertion_point(field_release:tensorflow.RecvTensorRequest.rendezvous_key)
8654
8655 return rendezvous_key_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
8656}
8657inline void RecvTensorRequest::set_allocated_rendezvous_key(std::string* rendezvous_key) {
8658 if (rendezvous_key != nullptr) {
8659
8660 } else {
8661
8662 }
8663 rendezvous_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), rendezvous_key,
8664 GetArenaNoVirtual());
8665 // @@protoc_insertion_point(field_set_allocated:tensorflow.RecvTensorRequest.rendezvous_key)
8666}
8667inline std::string* RecvTensorRequest::unsafe_arena_release_rendezvous_key() {
8668 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RecvTensorRequest.rendezvous_key)
8669 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
8670
8671 return rendezvous_key_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
8672 GetArenaNoVirtual());
8673}
8674inline void RecvTensorRequest::unsafe_arena_set_allocated_rendezvous_key(
8675 std::string* rendezvous_key) {
8676 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
8677 if (rendezvous_key != nullptr) {
8678
8679 } else {
8680
8681 }
8682 rendezvous_key_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
8683 rendezvous_key, GetArenaNoVirtual());
8684 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RecvTensorRequest.rendezvous_key)
8685}
8686
8687// bool dma_ok = 3;
8688inline void RecvTensorRequest::clear_dma_ok() {
8689 dma_ok_ = false;
8690}
8691inline bool RecvTensorRequest::dma_ok() const {
8692 // @@protoc_insertion_point(field_get:tensorflow.RecvTensorRequest.dma_ok)
8693 return dma_ok_;
8694}
8695inline void RecvTensorRequest::set_dma_ok(bool value) {
8696
8697 dma_ok_ = value;
8698 // @@protoc_insertion_point(field_set:tensorflow.RecvTensorRequest.dma_ok)
8699}
8700
8701// .tensorflow.DeviceLocality client_locality = 4;
8702inline bool RecvTensorRequest::has_client_locality() const {
8703 return this != internal_default_instance() && client_locality_ != nullptr;
8704}
8705inline const ::tensorflow::DeviceLocality& RecvTensorRequest::client_locality() const {
8706 const ::tensorflow::DeviceLocality* p = client_locality_;
8707 // @@protoc_insertion_point(field_get:tensorflow.RecvTensorRequest.client_locality)
8708 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::DeviceLocality*>(
8709 &::tensorflow::_DeviceLocality_default_instance_);
8710}
8711inline ::tensorflow::DeviceLocality* RecvTensorRequest::release_client_locality() {
8712 // @@protoc_insertion_point(field_release:tensorflow.RecvTensorRequest.client_locality)
8713
8714 ::tensorflow::DeviceLocality* temp = client_locality_;
8715 if (GetArenaNoVirtual() != nullptr) {
8716 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8717 }
8718 client_locality_ = nullptr;
8719 return temp;
8720}
8721inline ::tensorflow::DeviceLocality* RecvTensorRequest::unsafe_arena_release_client_locality() {
8722 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RecvTensorRequest.client_locality)
8723
8724 ::tensorflow::DeviceLocality* temp = client_locality_;
8725 client_locality_ = nullptr;
8726 return temp;
8727}
8728inline ::tensorflow::DeviceLocality* RecvTensorRequest::mutable_client_locality() {
8729
8730 if (client_locality_ == nullptr) {
8731 auto* p = CreateMaybeMessage<::tensorflow::DeviceLocality>(GetArenaNoVirtual());
8732 client_locality_ = p;
8733 }
8734 // @@protoc_insertion_point(field_mutable:tensorflow.RecvTensorRequest.client_locality)
8735 return client_locality_;
8736}
8737inline void RecvTensorRequest::set_allocated_client_locality(::tensorflow::DeviceLocality* client_locality) {
8738 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
8739 if (message_arena == nullptr) {
8740 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(client_locality_);
8741 }
8742 if (client_locality) {
8743 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8744 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(client_locality)->GetArena();
8745 if (message_arena != submessage_arena) {
8746 client_locality = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8747 message_arena, client_locality, submessage_arena);
8748 }
8749
8750 } else {
8751
8752 }
8753 client_locality_ = client_locality;
8754 // @@protoc_insertion_point(field_set_allocated:tensorflow.RecvTensorRequest.client_locality)
8755}
8756
8757// .tensorflow.DeviceLocality server_locality = 5;
8758inline bool RecvTensorRequest::has_server_locality() const {
8759 return this != internal_default_instance() && server_locality_ != nullptr;
8760}
8761inline const ::tensorflow::DeviceLocality& RecvTensorRequest::server_locality() const {
8762 const ::tensorflow::DeviceLocality* p = server_locality_;
8763 // @@protoc_insertion_point(field_get:tensorflow.RecvTensorRequest.server_locality)
8764 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::DeviceLocality*>(
8765 &::tensorflow::_DeviceLocality_default_instance_);
8766}
8767inline ::tensorflow::DeviceLocality* RecvTensorRequest::release_server_locality() {
8768 // @@protoc_insertion_point(field_release:tensorflow.RecvTensorRequest.server_locality)
8769
8770 ::tensorflow::DeviceLocality* temp = server_locality_;
8771 if (GetArenaNoVirtual() != nullptr) {
8772 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8773 }
8774 server_locality_ = nullptr;
8775 return temp;
8776}
8777inline ::tensorflow::DeviceLocality* RecvTensorRequest::unsafe_arena_release_server_locality() {
8778 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RecvTensorRequest.server_locality)
8779
8780 ::tensorflow::DeviceLocality* temp = server_locality_;
8781 server_locality_ = nullptr;
8782 return temp;
8783}
8784inline ::tensorflow::DeviceLocality* RecvTensorRequest::mutable_server_locality() {
8785
8786 if (server_locality_ == nullptr) {
8787 auto* p = CreateMaybeMessage<::tensorflow::DeviceLocality>(GetArenaNoVirtual());
8788 server_locality_ = p;
8789 }
8790 // @@protoc_insertion_point(field_mutable:tensorflow.RecvTensorRequest.server_locality)
8791 return server_locality_;
8792}
8793inline void RecvTensorRequest::set_allocated_server_locality(::tensorflow::DeviceLocality* server_locality) {
8794 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
8795 if (message_arena == nullptr) {
8796 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(server_locality_);
8797 }
8798 if (server_locality) {
8799 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8800 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(server_locality)->GetArena();
8801 if (message_arena != submessage_arena) {
8802 server_locality = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8803 message_arena, server_locality, submessage_arena);
8804 }
8805
8806 } else {
8807
8808 }
8809 server_locality_ = server_locality;
8810 // @@protoc_insertion_point(field_set_allocated:tensorflow.RecvTensorRequest.server_locality)
8811}
8812
8813// .google.protobuf.Any transport_options = 6;
8814inline bool RecvTensorRequest::has_transport_options() const {
8815 return this != internal_default_instance() && transport_options_ != nullptr;
8816}
8817inline const PROTOBUF_NAMESPACE_ID::Any& RecvTensorRequest::transport_options() const {
8818 const PROTOBUF_NAMESPACE_ID::Any* p = transport_options_;
8819 // @@protoc_insertion_point(field_get:tensorflow.RecvTensorRequest.transport_options)
8820 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::Any*>(
8821 &PROTOBUF_NAMESPACE_ID::_Any_default_instance_);
8822}
8823inline PROTOBUF_NAMESPACE_ID::Any* RecvTensorRequest::release_transport_options() {
8824 // @@protoc_insertion_point(field_release:tensorflow.RecvTensorRequest.transport_options)
8825
8826 PROTOBUF_NAMESPACE_ID::Any* temp = transport_options_;
8827 if (GetArenaNoVirtual() != nullptr) {
8828 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8829 }
8830 transport_options_ = nullptr;
8831 return temp;
8832}
8833inline PROTOBUF_NAMESPACE_ID::Any* RecvTensorRequest::unsafe_arena_release_transport_options() {
8834 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RecvTensorRequest.transport_options)
8835
8836 PROTOBUF_NAMESPACE_ID::Any* temp = transport_options_;
8837 transport_options_ = nullptr;
8838 return temp;
8839}
8840inline PROTOBUF_NAMESPACE_ID::Any* RecvTensorRequest::mutable_transport_options() {
8841
8842 if (transport_options_ == nullptr) {
8843 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Any>(GetArenaNoVirtual());
8844 transport_options_ = p;
8845 }
8846 // @@protoc_insertion_point(field_mutable:tensorflow.RecvTensorRequest.transport_options)
8847 return transport_options_;
8848}
8849inline void RecvTensorRequest::set_allocated_transport_options(PROTOBUF_NAMESPACE_ID::Any* transport_options) {
8850 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
8851 if (message_arena == nullptr) {
8852 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(transport_options_);
8853 }
8854 if (transport_options) {
8855 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
8856 if (message_arena != submessage_arena) {
8857 transport_options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8858 message_arena, transport_options, submessage_arena);
8859 }
8860
8861 } else {
8862
8863 }
8864 transport_options_ = transport_options;
8865 // @@protoc_insertion_point(field_set_allocated:tensorflow.RecvTensorRequest.transport_options)
8866}
8867
8868// int64 request_id = 7;
8869inline void RecvTensorRequest::clear_request_id() {
8870 request_id_ = PROTOBUF_LONGLONG(0);
8871}
8872inline ::PROTOBUF_NAMESPACE_ID::int64 RecvTensorRequest::request_id() const {
8873 // @@protoc_insertion_point(field_get:tensorflow.RecvTensorRequest.request_id)
8874 return request_id_;
8875}
8876inline void RecvTensorRequest::set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
8877
8878 request_id_ = value;
8879 // @@protoc_insertion_point(field_set:tensorflow.RecvTensorRequest.request_id)
8880}
8881
8882// -------------------------------------------------------------------
8883
8884// RecvTensorResponse
8885
8886// .tensorflow.TensorProto tensor = 1;
8887inline bool RecvTensorResponse::has_tensor() const {
8888 return this != internal_default_instance() && tensor_ != nullptr;
8889}
8890inline const ::tensorflow::TensorProto& RecvTensorResponse::tensor() const {
8891 const ::tensorflow::TensorProto* p = tensor_;
8892 // @@protoc_insertion_point(field_get:tensorflow.RecvTensorResponse.tensor)
8893 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::TensorProto*>(
8894 &::tensorflow::_TensorProto_default_instance_);
8895}
8896inline ::tensorflow::TensorProto* RecvTensorResponse::release_tensor() {
8897 // @@protoc_insertion_point(field_release:tensorflow.RecvTensorResponse.tensor)
8898
8899 ::tensorflow::TensorProto* temp = tensor_;
8900 if (GetArenaNoVirtual() != nullptr) {
8901 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8902 }
8903 tensor_ = nullptr;
8904 return temp;
8905}
8906inline ::tensorflow::TensorProto* RecvTensorResponse::unsafe_arena_release_tensor() {
8907 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RecvTensorResponse.tensor)
8908
8909 ::tensorflow::TensorProto* temp = tensor_;
8910 tensor_ = nullptr;
8911 return temp;
8912}
8913inline ::tensorflow::TensorProto* RecvTensorResponse::mutable_tensor() {
8914
8915 if (tensor_ == nullptr) {
8916 auto* p = CreateMaybeMessage<::tensorflow::TensorProto>(GetArenaNoVirtual());
8917 tensor_ = p;
8918 }
8919 // @@protoc_insertion_point(field_mutable:tensorflow.RecvTensorResponse.tensor)
8920 return tensor_;
8921}
8922inline void RecvTensorResponse::set_allocated_tensor(::tensorflow::TensorProto* tensor) {
8923 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
8924 if (message_arena == nullptr) {
8925 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(tensor_);
8926 }
8927 if (tensor) {
8928 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8929 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(tensor)->GetArena();
8930 if (message_arena != submessage_arena) {
8931 tensor = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8932 message_arena, tensor, submessage_arena);
8933 }
8934
8935 } else {
8936
8937 }
8938 tensor_ = tensor;
8939 // @@protoc_insertion_point(field_set_allocated:tensorflow.RecvTensorResponse.tensor)
8940}
8941
8942// bool is_dead = 2;
8943inline void RecvTensorResponse::clear_is_dead() {
8944 is_dead_ = false;
8945}
8946inline bool RecvTensorResponse::is_dead() const {
8947 // @@protoc_insertion_point(field_get:tensorflow.RecvTensorResponse.is_dead)
8948 return is_dead_;
8949}
8950inline void RecvTensorResponse::set_is_dead(bool value) {
8951
8952 is_dead_ = value;
8953 // @@protoc_insertion_point(field_set:tensorflow.RecvTensorResponse.is_dead)
8954}
8955
8956// int64 send_start_micros = 3;
8957inline void RecvTensorResponse::clear_send_start_micros() {
8958 send_start_micros_ = PROTOBUF_LONGLONG(0);
8959}
8960inline ::PROTOBUF_NAMESPACE_ID::int64 RecvTensorResponse::send_start_micros() const {
8961 // @@protoc_insertion_point(field_get:tensorflow.RecvTensorResponse.send_start_micros)
8962 return send_start_micros_;
8963}
8964inline void RecvTensorResponse::set_send_start_micros(::PROTOBUF_NAMESPACE_ID::int64 value) {
8965
8966 send_start_micros_ = value;
8967 // @@protoc_insertion_point(field_set:tensorflow.RecvTensorResponse.send_start_micros)
8968}
8969
8970// .google.protobuf.Any transport_options = 4;
8971inline bool RecvTensorResponse::has_transport_options() const {
8972 return this != internal_default_instance() && transport_options_ != nullptr;
8973}
8974inline const PROTOBUF_NAMESPACE_ID::Any& RecvTensorResponse::transport_options() const {
8975 const PROTOBUF_NAMESPACE_ID::Any* p = transport_options_;
8976 // @@protoc_insertion_point(field_get:tensorflow.RecvTensorResponse.transport_options)
8977 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::Any*>(
8978 &PROTOBUF_NAMESPACE_ID::_Any_default_instance_);
8979}
8980inline PROTOBUF_NAMESPACE_ID::Any* RecvTensorResponse::release_transport_options() {
8981 // @@protoc_insertion_point(field_release:tensorflow.RecvTensorResponse.transport_options)
8982
8983 PROTOBUF_NAMESPACE_ID::Any* temp = transport_options_;
8984 if (GetArenaNoVirtual() != nullptr) {
8985 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8986 }
8987 transport_options_ = nullptr;
8988 return temp;
8989}
8990inline PROTOBUF_NAMESPACE_ID::Any* RecvTensorResponse::unsafe_arena_release_transport_options() {
8991 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RecvTensorResponse.transport_options)
8992
8993 PROTOBUF_NAMESPACE_ID::Any* temp = transport_options_;
8994 transport_options_ = nullptr;
8995 return temp;
8996}
8997inline PROTOBUF_NAMESPACE_ID::Any* RecvTensorResponse::mutable_transport_options() {
8998
8999 if (transport_options_ == nullptr) {
9000 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Any>(GetArenaNoVirtual());
9001 transport_options_ = p;
9002 }
9003 // @@protoc_insertion_point(field_mutable:tensorflow.RecvTensorResponse.transport_options)
9004 return transport_options_;
9005}
9006inline void RecvTensorResponse::set_allocated_transport_options(PROTOBUF_NAMESPACE_ID::Any* transport_options) {
9007 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
9008 if (message_arena == nullptr) {
9009 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(transport_options_);
9010 }
9011 if (transport_options) {
9012 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
9013 if (message_arena != submessage_arena) {
9014 transport_options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
9015 message_arena, transport_options, submessage_arena);
9016 }
9017
9018 } else {
9019
9020 }
9021 transport_options_ = transport_options;
9022 // @@protoc_insertion_point(field_set_allocated:tensorflow.RecvTensorResponse.transport_options)
9023}
9024
9025// bool require_ack = 5;
9026inline void RecvTensorResponse::clear_require_ack() {
9027 require_ack_ = false;
9028}
9029inline bool RecvTensorResponse::require_ack() const {
9030 // @@protoc_insertion_point(field_get:tensorflow.RecvTensorResponse.require_ack)
9031 return require_ack_;
9032}
9033inline void RecvTensorResponse::set_require_ack(bool value) {
9034
9035 require_ack_ = value;
9036 // @@protoc_insertion_point(field_set:tensorflow.RecvTensorResponse.require_ack)
9037}
9038
9039// -------------------------------------------------------------------
9040
9041// MarkRecvFinishedRequest
9042
9043// int64 request_id = 1;
9044inline void MarkRecvFinishedRequest::clear_request_id() {
9045 request_id_ = PROTOBUF_LONGLONG(0);
9046}
9047inline ::PROTOBUF_NAMESPACE_ID::int64 MarkRecvFinishedRequest::request_id() const {
9048 // @@protoc_insertion_point(field_get:tensorflow.MarkRecvFinishedRequest.request_id)
9049 return request_id_;
9050}
9051inline void MarkRecvFinishedRequest::set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
9052
9053 request_id_ = value;
9054 // @@protoc_insertion_point(field_set:tensorflow.MarkRecvFinishedRequest.request_id)
9055}
9056
9057// -------------------------------------------------------------------
9058
9059// MarkRecvFinishedResponse
9060
9061// -------------------------------------------------------------------
9062
9063// LoggingRequest
9064
9065// bool enable_rpc_logging = 1;
9066inline void LoggingRequest::clear_enable_rpc_logging() {
9067 enable_rpc_logging_ = false;
9068}
9069inline bool LoggingRequest::enable_rpc_logging() const {
9070 // @@protoc_insertion_point(field_get:tensorflow.LoggingRequest.enable_rpc_logging)
9071 return enable_rpc_logging_;
9072}
9073inline void LoggingRequest::set_enable_rpc_logging(bool value) {
9074
9075 enable_rpc_logging_ = value;
9076 // @@protoc_insertion_point(field_set:tensorflow.LoggingRequest.enable_rpc_logging)
9077}
9078
9079// bool disable_rpc_logging = 4;
9080inline void LoggingRequest::clear_disable_rpc_logging() {
9081 disable_rpc_logging_ = false;
9082}
9083inline bool LoggingRequest::disable_rpc_logging() const {
9084 // @@protoc_insertion_point(field_get:tensorflow.LoggingRequest.disable_rpc_logging)
9085 return disable_rpc_logging_;
9086}
9087inline void LoggingRequest::set_disable_rpc_logging(bool value) {
9088
9089 disable_rpc_logging_ = value;
9090 // @@protoc_insertion_point(field_set:tensorflow.LoggingRequest.disable_rpc_logging)
9091}
9092
9093// bool clear = 2;
9094inline void LoggingRequest::clear_clear() {
9095 clear_ = false;
9096}
9097inline bool LoggingRequest::clear() const {
9098 // @@protoc_insertion_point(field_get:tensorflow.LoggingRequest.clear)
9099 return clear_;
9100}
9101inline void LoggingRequest::set_clear(bool value) {
9102
9103 clear_ = value;
9104 // @@protoc_insertion_point(field_set:tensorflow.LoggingRequest.clear)
9105}
9106
9107// repeated int64 fetch_step_id = 3;
9108inline int LoggingRequest::fetch_step_id_size() const {
9109 return fetch_step_id_.size();
9110}
9111inline void LoggingRequest::clear_fetch_step_id() {
9112 fetch_step_id_.Clear();
9113}
9114inline ::PROTOBUF_NAMESPACE_ID::int64 LoggingRequest::fetch_step_id(int index) const {
9115 // @@protoc_insertion_point(field_get:tensorflow.LoggingRequest.fetch_step_id)
9116 return fetch_step_id_.Get(index);
9117}
9118inline void LoggingRequest::set_fetch_step_id(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) {
9119 fetch_step_id_.Set(index, value);
9120 // @@protoc_insertion_point(field_set:tensorflow.LoggingRequest.fetch_step_id)
9121}
9122inline void LoggingRequest::add_fetch_step_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
9123 fetch_step_id_.Add(value);
9124 // @@protoc_insertion_point(field_add:tensorflow.LoggingRequest.fetch_step_id)
9125}
9126inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
9127LoggingRequest::fetch_step_id() const {
9128 // @@protoc_insertion_point(field_list:tensorflow.LoggingRequest.fetch_step_id)
9129 return fetch_step_id_;
9130}
9131inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
9132LoggingRequest::mutable_fetch_step_id() {
9133 // @@protoc_insertion_point(field_mutable_list:tensorflow.LoggingRequest.fetch_step_id)
9134 return &fetch_step_id_;
9135}
9136
9137// -------------------------------------------------------------------
9138
9139// LabeledStepStats
9140
9141// int64 step_id = 1;
9142inline void LabeledStepStats::clear_step_id() {
9143 step_id_ = PROTOBUF_LONGLONG(0);
9144}
9145inline ::PROTOBUF_NAMESPACE_ID::int64 LabeledStepStats::step_id() const {
9146 // @@protoc_insertion_point(field_get:tensorflow.LabeledStepStats.step_id)
9147 return step_id_;
9148}
9149inline void LabeledStepStats::set_step_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
9150
9151 step_id_ = value;
9152 // @@protoc_insertion_point(field_set:tensorflow.LabeledStepStats.step_id)
9153}
9154
9155// .tensorflow.StepStats step_stats = 2;
9156inline bool LabeledStepStats::has_step_stats() const {
9157 return this != internal_default_instance() && step_stats_ != nullptr;
9158}
9159inline const ::tensorflow::StepStats& LabeledStepStats::step_stats() const {
9160 const ::tensorflow::StepStats* p = step_stats_;
9161 // @@protoc_insertion_point(field_get:tensorflow.LabeledStepStats.step_stats)
9162 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::StepStats*>(
9163 &::tensorflow::_StepStats_default_instance_);
9164}
9165inline ::tensorflow::StepStats* LabeledStepStats::release_step_stats() {
9166 // @@protoc_insertion_point(field_release:tensorflow.LabeledStepStats.step_stats)
9167
9168 ::tensorflow::StepStats* temp = step_stats_;
9169 if (GetArenaNoVirtual() != nullptr) {
9170 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9171 }
9172 step_stats_ = nullptr;
9173 return temp;
9174}
9175inline ::tensorflow::StepStats* LabeledStepStats::unsafe_arena_release_step_stats() {
9176 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.LabeledStepStats.step_stats)
9177
9178 ::tensorflow::StepStats* temp = step_stats_;
9179 step_stats_ = nullptr;
9180 return temp;
9181}
9182inline ::tensorflow::StepStats* LabeledStepStats::mutable_step_stats() {
9183
9184 if (step_stats_ == nullptr) {
9185 auto* p = CreateMaybeMessage<::tensorflow::StepStats>(GetArenaNoVirtual());
9186 step_stats_ = p;
9187 }
9188 // @@protoc_insertion_point(field_mutable:tensorflow.LabeledStepStats.step_stats)
9189 return step_stats_;
9190}
9191inline void LabeledStepStats::set_allocated_step_stats(::tensorflow::StepStats* step_stats) {
9192 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
9193 if (message_arena == nullptr) {
9194 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(step_stats_);
9195 }
9196 if (step_stats) {
9197 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
9198 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(step_stats)->GetArena();
9199 if (message_arena != submessage_arena) {
9200 step_stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
9201 message_arena, step_stats, submessage_arena);
9202 }
9203
9204 } else {
9205
9206 }
9207 step_stats_ = step_stats;
9208 // @@protoc_insertion_point(field_set_allocated:tensorflow.LabeledStepStats.step_stats)
9209}
9210
9211// -------------------------------------------------------------------
9212
9213// LoggingResponse
9214
9215// repeated .tensorflow.LabeledStepStats step = 1;
9216inline int LoggingResponse::step_size() const {
9217 return step_.size();
9218}
9219inline void LoggingResponse::clear_step() {
9220 step_.Clear();
9221}
9222inline ::tensorflow::LabeledStepStats* LoggingResponse::mutable_step(int index) {
9223 // @@protoc_insertion_point(field_mutable:tensorflow.LoggingResponse.step)
9224 return step_.Mutable(index);
9225}
9226inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::LabeledStepStats >*
9227LoggingResponse::mutable_step() {
9228 // @@protoc_insertion_point(field_mutable_list:tensorflow.LoggingResponse.step)
9229 return &step_;
9230}
9231inline const ::tensorflow::LabeledStepStats& LoggingResponse::step(int index) const {
9232 // @@protoc_insertion_point(field_get:tensorflow.LoggingResponse.step)
9233 return step_.Get(index);
9234}
9235inline ::tensorflow::LabeledStepStats* LoggingResponse::add_step() {
9236 // @@protoc_insertion_point(field_add:tensorflow.LoggingResponse.step)
9237 return step_.Add();
9238}
9239inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::LabeledStepStats >&
9240LoggingResponse::step() const {
9241 // @@protoc_insertion_point(field_list:tensorflow.LoggingResponse.step)
9242 return step_;
9243}
9244
9245// -------------------------------------------------------------------
9246
9247// TraceOpts
9248
9249// double duration = 1;
9250inline void TraceOpts::clear_duration() {
9251 duration_ = 0;
9252}
9253inline double TraceOpts::duration() const {
9254 // @@protoc_insertion_point(field_get:tensorflow.TraceOpts.duration)
9255 return duration_;
9256}
9257inline void TraceOpts::set_duration(double value) {
9258
9259 duration_ = value;
9260 // @@protoc_insertion_point(field_set:tensorflow.TraceOpts.duration)
9261}
9262
9263// bool use_step_profiler = 2;
9264inline void TraceOpts::clear_use_step_profiler() {
9265 use_step_profiler_ = false;
9266}
9267inline bool TraceOpts::use_step_profiler() const {
9268 // @@protoc_insertion_point(field_get:tensorflow.TraceOpts.use_step_profiler)
9269 return use_step_profiler_;
9270}
9271inline void TraceOpts::set_use_step_profiler(bool value) {
9272
9273 use_step_profiler_ = value;
9274 // @@protoc_insertion_point(field_set:tensorflow.TraceOpts.use_step_profiler)
9275}
9276
9277// bool use_kernel_profiler = 3;
9278inline void TraceOpts::clear_use_kernel_profiler() {
9279 use_kernel_profiler_ = false;
9280}
9281inline bool TraceOpts::use_kernel_profiler() const {
9282 // @@protoc_insertion_point(field_get:tensorflow.TraceOpts.use_kernel_profiler)
9283 return use_kernel_profiler_;
9284}
9285inline void TraceOpts::set_use_kernel_profiler(bool value) {
9286
9287 use_kernel_profiler_ = value;
9288 // @@protoc_insertion_point(field_set:tensorflow.TraceOpts.use_kernel_profiler)
9289}
9290
9291// bool use_extended_profiler = 4;
9292inline void TraceOpts::clear_use_extended_profiler() {
9293 use_extended_profiler_ = false;
9294}
9295inline bool TraceOpts::use_extended_profiler() const {
9296 // @@protoc_insertion_point(field_get:tensorflow.TraceOpts.use_extended_profiler)
9297 return use_extended_profiler_;
9298}
9299inline void TraceOpts::set_use_extended_profiler(bool value) {
9300
9301 use_extended_profiler_ = value;
9302 // @@protoc_insertion_point(field_set:tensorflow.TraceOpts.use_extended_profiler)
9303}
9304
9305// bool use_gpu_profiler = 5;
9306inline void TraceOpts::clear_use_gpu_profiler() {
9307 use_gpu_profiler_ = false;
9308}
9309inline bool TraceOpts::use_gpu_profiler() const {
9310 // @@protoc_insertion_point(field_get:tensorflow.TraceOpts.use_gpu_profiler)
9311 return use_gpu_profiler_;
9312}
9313inline void TraceOpts::set_use_gpu_profiler(bool value) {
9314
9315 use_gpu_profiler_ = value;
9316 // @@protoc_insertion_point(field_set:tensorflow.TraceOpts.use_gpu_profiler)
9317}
9318
9319// bool use_sample_profiler = 6;
9320inline void TraceOpts::clear_use_sample_profiler() {
9321 use_sample_profiler_ = false;
9322}
9323inline bool TraceOpts::use_sample_profiler() const {
9324 // @@protoc_insertion_point(field_get:tensorflow.TraceOpts.use_sample_profiler)
9325 return use_sample_profiler_;
9326}
9327inline void TraceOpts::set_use_sample_profiler(bool value) {
9328
9329 use_sample_profiler_ = value;
9330 // @@protoc_insertion_point(field_set:tensorflow.TraceOpts.use_sample_profiler)
9331}
9332
9333// -------------------------------------------------------------------
9334
9335// TracingRequest
9336
9337// .tensorflow.TraceOpts options = 1;
9338inline bool TracingRequest::has_options() const {
9339 return this != internal_default_instance() && options_ != nullptr;
9340}
9341inline void TracingRequest::clear_options() {
9342 if (GetArenaNoVirtual() == nullptr && options_ != nullptr) {
9343 delete options_;
9344 }
9345 options_ = nullptr;
9346}
9347inline const ::tensorflow::TraceOpts& TracingRequest::options() const {
9348 const ::tensorflow::TraceOpts* p = options_;
9349 // @@protoc_insertion_point(field_get:tensorflow.TracingRequest.options)
9350 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::TraceOpts*>(
9351 &::tensorflow::_TraceOpts_default_instance_);
9352}
9353inline ::tensorflow::TraceOpts* TracingRequest::release_options() {
9354 // @@protoc_insertion_point(field_release:tensorflow.TracingRequest.options)
9355
9356 ::tensorflow::TraceOpts* temp = options_;
9357 if (GetArenaNoVirtual() != nullptr) {
9358 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9359 }
9360 options_ = nullptr;
9361 return temp;
9362}
9363inline ::tensorflow::TraceOpts* TracingRequest::unsafe_arena_release_options() {
9364 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.TracingRequest.options)
9365
9366 ::tensorflow::TraceOpts* temp = options_;
9367 options_ = nullptr;
9368 return temp;
9369}
9370inline ::tensorflow::TraceOpts* TracingRequest::mutable_options() {
9371
9372 if (options_ == nullptr) {
9373 auto* p = CreateMaybeMessage<::tensorflow::TraceOpts>(GetArenaNoVirtual());
9374 options_ = p;
9375 }
9376 // @@protoc_insertion_point(field_mutable:tensorflow.TracingRequest.options)
9377 return options_;
9378}
9379inline void TracingRequest::set_allocated_options(::tensorflow::TraceOpts* options) {
9380 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
9381 if (message_arena == nullptr) {
9382 delete options_;
9383 }
9384 if (options) {
9385 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
9386 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(options);
9387 if (message_arena != submessage_arena) {
9388 options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
9389 message_arena, options, submessage_arena);
9390 }
9391
9392 } else {
9393
9394 }
9395 options_ = options;
9396 // @@protoc_insertion_point(field_set_allocated:tensorflow.TracingRequest.options)
9397}
9398
9399// -------------------------------------------------------------------
9400
9401// TracingResponse
9402
9403// -------------------------------------------------------------------
9404
9405// RecvBufRequest
9406
9407// int64 step_id = 1;
9408inline void RecvBufRequest::clear_step_id() {
9409 step_id_ = PROTOBUF_LONGLONG(0);
9410}
9411inline ::PROTOBUF_NAMESPACE_ID::int64 RecvBufRequest::step_id() const {
9412 // @@protoc_insertion_point(field_get:tensorflow.RecvBufRequest.step_id)
9413 return step_id_;
9414}
9415inline void RecvBufRequest::set_step_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
9416
9417 step_id_ = value;
9418 // @@protoc_insertion_point(field_set:tensorflow.RecvBufRequest.step_id)
9419}
9420
9421// string buf_rendezvous_key = 2;
9422inline void RecvBufRequest::clear_buf_rendezvous_key() {
9423 buf_rendezvous_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
9424}
9425inline const std::string& RecvBufRequest::buf_rendezvous_key() const {
9426 // @@protoc_insertion_point(field_get:tensorflow.RecvBufRequest.buf_rendezvous_key)
9427 return buf_rendezvous_key_.Get();
9428}
9429inline void RecvBufRequest::set_buf_rendezvous_key(const std::string& value) {
9430
9431 buf_rendezvous_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
9432 // @@protoc_insertion_point(field_set:tensorflow.RecvBufRequest.buf_rendezvous_key)
9433}
9434inline void RecvBufRequest::set_buf_rendezvous_key(std::string&& value) {
9435
9436 buf_rendezvous_key_.Set(
9437 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
9438 // @@protoc_insertion_point(field_set_rvalue:tensorflow.RecvBufRequest.buf_rendezvous_key)
9439}
9440inline void RecvBufRequest::set_buf_rendezvous_key(const char* value) {
9441 GOOGLE_DCHECK(value != nullptr);
9442
9443 buf_rendezvous_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
9444 GetArenaNoVirtual());
9445 // @@protoc_insertion_point(field_set_char:tensorflow.RecvBufRequest.buf_rendezvous_key)
9446}
9447inline void RecvBufRequest::set_buf_rendezvous_key(const char* value,
9448 size_t size) {
9449
9450 buf_rendezvous_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
9451 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
9452 // @@protoc_insertion_point(field_set_pointer:tensorflow.RecvBufRequest.buf_rendezvous_key)
9453}
9454inline std::string* RecvBufRequest::mutable_buf_rendezvous_key() {
9455
9456 // @@protoc_insertion_point(field_mutable:tensorflow.RecvBufRequest.buf_rendezvous_key)
9457 return buf_rendezvous_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
9458}
9459inline std::string* RecvBufRequest::release_buf_rendezvous_key() {
9460 // @@protoc_insertion_point(field_release:tensorflow.RecvBufRequest.buf_rendezvous_key)
9461
9462 return buf_rendezvous_key_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
9463}
9464inline void RecvBufRequest::set_allocated_buf_rendezvous_key(std::string* buf_rendezvous_key) {
9465 if (buf_rendezvous_key != nullptr) {
9466
9467 } else {
9468
9469 }
9470 buf_rendezvous_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), buf_rendezvous_key,
9471 GetArenaNoVirtual());
9472 // @@protoc_insertion_point(field_set_allocated:tensorflow.RecvBufRequest.buf_rendezvous_key)
9473}
9474inline std::string* RecvBufRequest::unsafe_arena_release_buf_rendezvous_key() {
9475 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RecvBufRequest.buf_rendezvous_key)
9476 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
9477
9478 return buf_rendezvous_key_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
9479 GetArenaNoVirtual());
9480}
9481inline void RecvBufRequest::unsafe_arena_set_allocated_buf_rendezvous_key(
9482 std::string* buf_rendezvous_key) {
9483 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
9484 if (buf_rendezvous_key != nullptr) {
9485
9486 } else {
9487
9488 }
9489 buf_rendezvous_key_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
9490 buf_rendezvous_key, GetArenaNoVirtual());
9491 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RecvBufRequest.buf_rendezvous_key)
9492}
9493
9494// int64 num_bytes = 3;
9495inline void RecvBufRequest::clear_num_bytes() {
9496 num_bytes_ = PROTOBUF_LONGLONG(0);
9497}
9498inline ::PROTOBUF_NAMESPACE_ID::int64 RecvBufRequest::num_bytes() const {
9499 // @@protoc_insertion_point(field_get:tensorflow.RecvBufRequest.num_bytes)
9500 return num_bytes_;
9501}
9502inline void RecvBufRequest::set_num_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
9503
9504 num_bytes_ = value;
9505 // @@protoc_insertion_point(field_set:tensorflow.RecvBufRequest.num_bytes)
9506}
9507
9508// fixed64 buf_ptr = 4;
9509inline void RecvBufRequest::clear_buf_ptr() {
9510 buf_ptr_ = PROTOBUF_ULONGLONG(0);
9511}
9512inline ::PROTOBUF_NAMESPACE_ID::uint64 RecvBufRequest::buf_ptr() const {
9513 // @@protoc_insertion_point(field_get:tensorflow.RecvBufRequest.buf_ptr)
9514 return buf_ptr_;
9515}
9516inline void RecvBufRequest::set_buf_ptr(::PROTOBUF_NAMESPACE_ID::uint64 value) {
9517
9518 buf_ptr_ = value;
9519 // @@protoc_insertion_point(field_set:tensorflow.RecvBufRequest.buf_ptr)
9520}
9521
9522// .tensorflow.DeviceLocality client_locality = 5;
9523inline bool RecvBufRequest::has_client_locality() const {
9524 return this != internal_default_instance() && client_locality_ != nullptr;
9525}
9526inline const ::tensorflow::DeviceLocality& RecvBufRequest::client_locality() const {
9527 const ::tensorflow::DeviceLocality* p = client_locality_;
9528 // @@protoc_insertion_point(field_get:tensorflow.RecvBufRequest.client_locality)
9529 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::DeviceLocality*>(
9530 &::tensorflow::_DeviceLocality_default_instance_);
9531}
9532inline ::tensorflow::DeviceLocality* RecvBufRequest::release_client_locality() {
9533 // @@protoc_insertion_point(field_release:tensorflow.RecvBufRequest.client_locality)
9534
9535 ::tensorflow::DeviceLocality* temp = client_locality_;
9536 if (GetArenaNoVirtual() != nullptr) {
9537 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9538 }
9539 client_locality_ = nullptr;
9540 return temp;
9541}
9542inline ::tensorflow::DeviceLocality* RecvBufRequest::unsafe_arena_release_client_locality() {
9543 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RecvBufRequest.client_locality)
9544
9545 ::tensorflow::DeviceLocality* temp = client_locality_;
9546 client_locality_ = nullptr;
9547 return temp;
9548}
9549inline ::tensorflow::DeviceLocality* RecvBufRequest::mutable_client_locality() {
9550
9551 if (client_locality_ == nullptr) {
9552 auto* p = CreateMaybeMessage<::tensorflow::DeviceLocality>(GetArenaNoVirtual());
9553 client_locality_ = p;
9554 }
9555 // @@protoc_insertion_point(field_mutable:tensorflow.RecvBufRequest.client_locality)
9556 return client_locality_;
9557}
9558inline void RecvBufRequest::set_allocated_client_locality(::tensorflow::DeviceLocality* client_locality) {
9559 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
9560 if (message_arena == nullptr) {
9561 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(client_locality_);
9562 }
9563 if (client_locality) {
9564 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
9565 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(client_locality)->GetArena();
9566 if (message_arena != submessage_arena) {
9567 client_locality = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
9568 message_arena, client_locality, submessage_arena);
9569 }
9570
9571 } else {
9572
9573 }
9574 client_locality_ = client_locality;
9575 // @@protoc_insertion_point(field_set_allocated:tensorflow.RecvBufRequest.client_locality)
9576}
9577
9578// .tensorflow.DeviceLocality server_locality = 6;
9579inline bool RecvBufRequest::has_server_locality() const {
9580 return this != internal_default_instance() && server_locality_ != nullptr;
9581}
9582inline const ::tensorflow::DeviceLocality& RecvBufRequest::server_locality() const {
9583 const ::tensorflow::DeviceLocality* p = server_locality_;
9584 // @@protoc_insertion_point(field_get:tensorflow.RecvBufRequest.server_locality)
9585 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::DeviceLocality*>(
9586 &::tensorflow::_DeviceLocality_default_instance_);
9587}
9588inline ::tensorflow::DeviceLocality* RecvBufRequest::release_server_locality() {
9589 // @@protoc_insertion_point(field_release:tensorflow.RecvBufRequest.server_locality)
9590
9591 ::tensorflow::DeviceLocality* temp = server_locality_;
9592 if (GetArenaNoVirtual() != nullptr) {
9593 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9594 }
9595 server_locality_ = nullptr;
9596 return temp;
9597}
9598inline ::tensorflow::DeviceLocality* RecvBufRequest::unsafe_arena_release_server_locality() {
9599 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RecvBufRequest.server_locality)
9600
9601 ::tensorflow::DeviceLocality* temp = server_locality_;
9602 server_locality_ = nullptr;
9603 return temp;
9604}
9605inline ::tensorflow::DeviceLocality* RecvBufRequest::mutable_server_locality() {
9606
9607 if (server_locality_ == nullptr) {
9608 auto* p = CreateMaybeMessage<::tensorflow::DeviceLocality>(GetArenaNoVirtual());
9609 server_locality_ = p;
9610 }
9611 // @@protoc_insertion_point(field_mutable:tensorflow.RecvBufRequest.server_locality)
9612 return server_locality_;
9613}
9614inline void RecvBufRequest::set_allocated_server_locality(::tensorflow::DeviceLocality* server_locality) {
9615 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
9616 if (message_arena == nullptr) {
9617 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(server_locality_);
9618 }
9619 if (server_locality) {
9620 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
9621 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(server_locality)->GetArena();
9622 if (message_arena != submessage_arena) {
9623 server_locality = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
9624 message_arena, server_locality, submessage_arena);
9625 }
9626
9627 } else {
9628
9629 }
9630 server_locality_ = server_locality;
9631 // @@protoc_insertion_point(field_set_allocated:tensorflow.RecvBufRequest.server_locality)
9632}
9633
9634// .google.protobuf.Any transport_options = 7;
9635inline bool RecvBufRequest::has_transport_options() const {
9636 return this != internal_default_instance() && transport_options_ != nullptr;
9637}
9638inline const PROTOBUF_NAMESPACE_ID::Any& RecvBufRequest::transport_options() const {
9639 const PROTOBUF_NAMESPACE_ID::Any* p = transport_options_;
9640 // @@protoc_insertion_point(field_get:tensorflow.RecvBufRequest.transport_options)
9641 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::Any*>(
9642 &PROTOBUF_NAMESPACE_ID::_Any_default_instance_);
9643}
9644inline PROTOBUF_NAMESPACE_ID::Any* RecvBufRequest::release_transport_options() {
9645 // @@protoc_insertion_point(field_release:tensorflow.RecvBufRequest.transport_options)
9646
9647 PROTOBUF_NAMESPACE_ID::Any* temp = transport_options_;
9648 if (GetArenaNoVirtual() != nullptr) {
9649 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9650 }
9651 transport_options_ = nullptr;
9652 return temp;
9653}
9654inline PROTOBUF_NAMESPACE_ID::Any* RecvBufRequest::unsafe_arena_release_transport_options() {
9655 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RecvBufRequest.transport_options)
9656
9657 PROTOBUF_NAMESPACE_ID::Any* temp = transport_options_;
9658 transport_options_ = nullptr;
9659 return temp;
9660}
9661inline PROTOBUF_NAMESPACE_ID::Any* RecvBufRequest::mutable_transport_options() {
9662
9663 if (transport_options_ == nullptr) {
9664 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Any>(GetArenaNoVirtual());
9665 transport_options_ = p;
9666 }
9667 // @@protoc_insertion_point(field_mutable:tensorflow.RecvBufRequest.transport_options)
9668 return transport_options_;
9669}
9670inline void RecvBufRequest::set_allocated_transport_options(PROTOBUF_NAMESPACE_ID::Any* transport_options) {
9671 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
9672 if (message_arena == nullptr) {
9673 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(transport_options_);
9674 }
9675 if (transport_options) {
9676 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
9677 if (message_arena != submessage_arena) {
9678 transport_options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
9679 message_arena, transport_options, submessage_arena);
9680 }
9681
9682 } else {
9683
9684 }
9685 transport_options_ = transport_options;
9686 // @@protoc_insertion_point(field_set_allocated:tensorflow.RecvBufRequest.transport_options)
9687}
9688
9689// string src_device = 8;
9690inline void RecvBufRequest::clear_src_device() {
9691 src_device_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
9692}
9693inline const std::string& RecvBufRequest::src_device() const {
9694 // @@protoc_insertion_point(field_get:tensorflow.RecvBufRequest.src_device)
9695 return src_device_.Get();
9696}
9697inline void RecvBufRequest::set_src_device(const std::string& value) {
9698
9699 src_device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
9700 // @@protoc_insertion_point(field_set:tensorflow.RecvBufRequest.src_device)
9701}
9702inline void RecvBufRequest::set_src_device(std::string&& value) {
9703
9704 src_device_.Set(
9705 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
9706 // @@protoc_insertion_point(field_set_rvalue:tensorflow.RecvBufRequest.src_device)
9707}
9708inline void RecvBufRequest::set_src_device(const char* value) {
9709 GOOGLE_DCHECK(value != nullptr);
9710
9711 src_device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
9712 GetArenaNoVirtual());
9713 // @@protoc_insertion_point(field_set_char:tensorflow.RecvBufRequest.src_device)
9714}
9715inline void RecvBufRequest::set_src_device(const char* value,
9716 size_t size) {
9717
9718 src_device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
9719 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
9720 // @@protoc_insertion_point(field_set_pointer:tensorflow.RecvBufRequest.src_device)
9721}
9722inline std::string* RecvBufRequest::mutable_src_device() {
9723
9724 // @@protoc_insertion_point(field_mutable:tensorflow.RecvBufRequest.src_device)
9725 return src_device_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
9726}
9727inline std::string* RecvBufRequest::release_src_device() {
9728 // @@protoc_insertion_point(field_release:tensorflow.RecvBufRequest.src_device)
9729
9730 return src_device_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
9731}
9732inline void RecvBufRequest::set_allocated_src_device(std::string* src_device) {
9733 if (src_device != nullptr) {
9734
9735 } else {
9736
9737 }
9738 src_device_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), src_device,
9739 GetArenaNoVirtual());
9740 // @@protoc_insertion_point(field_set_allocated:tensorflow.RecvBufRequest.src_device)
9741}
9742inline std::string* RecvBufRequest::unsafe_arena_release_src_device() {
9743 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RecvBufRequest.src_device)
9744 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
9745
9746 return src_device_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
9747 GetArenaNoVirtual());
9748}
9749inline void RecvBufRequest::unsafe_arena_set_allocated_src_device(
9750 std::string* src_device) {
9751 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
9752 if (src_device != nullptr) {
9753
9754 } else {
9755
9756 }
9757 src_device_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
9758 src_device, GetArenaNoVirtual());
9759 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RecvBufRequest.src_device)
9760}
9761
9762// string dst_device = 9;
9763inline void RecvBufRequest::clear_dst_device() {
9764 dst_device_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
9765}
9766inline const std::string& RecvBufRequest::dst_device() const {
9767 // @@protoc_insertion_point(field_get:tensorflow.RecvBufRequest.dst_device)
9768 return dst_device_.Get();
9769}
9770inline void RecvBufRequest::set_dst_device(const std::string& value) {
9771
9772 dst_device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
9773 // @@protoc_insertion_point(field_set:tensorflow.RecvBufRequest.dst_device)
9774}
9775inline void RecvBufRequest::set_dst_device(std::string&& value) {
9776
9777 dst_device_.Set(
9778 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
9779 // @@protoc_insertion_point(field_set_rvalue:tensorflow.RecvBufRequest.dst_device)
9780}
9781inline void RecvBufRequest::set_dst_device(const char* value) {
9782 GOOGLE_DCHECK(value != nullptr);
9783
9784 dst_device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
9785 GetArenaNoVirtual());
9786 // @@protoc_insertion_point(field_set_char:tensorflow.RecvBufRequest.dst_device)
9787}
9788inline void RecvBufRequest::set_dst_device(const char* value,
9789 size_t size) {
9790
9791 dst_device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
9792 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
9793 // @@protoc_insertion_point(field_set_pointer:tensorflow.RecvBufRequest.dst_device)
9794}
9795inline std::string* RecvBufRequest::mutable_dst_device() {
9796
9797 // @@protoc_insertion_point(field_mutable:tensorflow.RecvBufRequest.dst_device)
9798 return dst_device_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
9799}
9800inline std::string* RecvBufRequest::release_dst_device() {
9801 // @@protoc_insertion_point(field_release:tensorflow.RecvBufRequest.dst_device)
9802
9803 return dst_device_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
9804}
9805inline void RecvBufRequest::set_allocated_dst_device(std::string* dst_device) {
9806 if (dst_device != nullptr) {
9807
9808 } else {
9809
9810 }
9811 dst_device_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), dst_device,
9812 GetArenaNoVirtual());
9813 // @@protoc_insertion_point(field_set_allocated:tensorflow.RecvBufRequest.dst_device)
9814}
9815inline std::string* RecvBufRequest::unsafe_arena_release_dst_device() {
9816 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RecvBufRequest.dst_device)
9817 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
9818
9819 return dst_device_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
9820 GetArenaNoVirtual());
9821}
9822inline void RecvBufRequest::unsafe_arena_set_allocated_dst_device(
9823 std::string* dst_device) {
9824 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
9825 if (dst_device != nullptr) {
9826
9827 } else {
9828
9829 }
9830 dst_device_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
9831 dst_device, GetArenaNoVirtual());
9832 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RecvBufRequest.dst_device)
9833}
9834
9835// int64 request_id = 10;
9836inline void RecvBufRequest::clear_request_id() {
9837 request_id_ = PROTOBUF_LONGLONG(0);
9838}
9839inline ::PROTOBUF_NAMESPACE_ID::int64 RecvBufRequest::request_id() const {
9840 // @@protoc_insertion_point(field_get:tensorflow.RecvBufRequest.request_id)
9841 return request_id_;
9842}
9843inline void RecvBufRequest::set_request_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
9844
9845 request_id_ = value;
9846 // @@protoc_insertion_point(field_set:tensorflow.RecvBufRequest.request_id)
9847}
9848
9849// uint64 src_incarnation = 11;
9850inline void RecvBufRequest::clear_src_incarnation() {
9851 src_incarnation_ = PROTOBUF_ULONGLONG(0);
9852}
9853inline ::PROTOBUF_NAMESPACE_ID::uint64 RecvBufRequest::src_incarnation() const {
9854 // @@protoc_insertion_point(field_get:tensorflow.RecvBufRequest.src_incarnation)
9855 return src_incarnation_;
9856}
9857inline void RecvBufRequest::set_src_incarnation(::PROTOBUF_NAMESPACE_ID::uint64 value) {
9858
9859 src_incarnation_ = value;
9860 // @@protoc_insertion_point(field_set:tensorflow.RecvBufRequest.src_incarnation)
9861}
9862
9863// -------------------------------------------------------------------
9864
9865// RecvBufResponse
9866
9867// fixed64 buf_ptr = 1;
9868inline void RecvBufResponse::clear_buf_ptr() {
9869 buf_ptr_ = PROTOBUF_ULONGLONG(0);
9870}
9871inline ::PROTOBUF_NAMESPACE_ID::uint64 RecvBufResponse::buf_ptr() const {
9872 // @@protoc_insertion_point(field_get:tensorflow.RecvBufResponse.buf_ptr)
9873 return buf_ptr_;
9874}
9875inline void RecvBufResponse::set_buf_ptr(::PROTOBUF_NAMESPACE_ID::uint64 value) {
9876
9877 buf_ptr_ = value;
9878 // @@protoc_insertion_point(field_set:tensorflow.RecvBufResponse.buf_ptr)
9879}
9880
9881// int64 num_bytes = 2;
9882inline void RecvBufResponse::clear_num_bytes() {
9883 num_bytes_ = PROTOBUF_LONGLONG(0);
9884}
9885inline ::PROTOBUF_NAMESPACE_ID::int64 RecvBufResponse::num_bytes() const {
9886 // @@protoc_insertion_point(field_get:tensorflow.RecvBufResponse.num_bytes)
9887 return num_bytes_;
9888}
9889inline void RecvBufResponse::set_num_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
9890
9891 num_bytes_ = value;
9892 // @@protoc_insertion_point(field_set:tensorflow.RecvBufResponse.num_bytes)
9893}
9894
9895// bool is_dead = 3;
9896inline void RecvBufResponse::clear_is_dead() {
9897 is_dead_ = false;
9898}
9899inline bool RecvBufResponse::is_dead() const {
9900 // @@protoc_insertion_point(field_get:tensorflow.RecvBufResponse.is_dead)
9901 return is_dead_;
9902}
9903inline void RecvBufResponse::set_is_dead(bool value) {
9904
9905 is_dead_ = value;
9906 // @@protoc_insertion_point(field_set:tensorflow.RecvBufResponse.is_dead)
9907}
9908
9909// .google.protobuf.Any transport_options = 4;
9910inline bool RecvBufResponse::has_transport_options() const {
9911 return this != internal_default_instance() && transport_options_ != nullptr;
9912}
9913inline const PROTOBUF_NAMESPACE_ID::Any& RecvBufResponse::transport_options() const {
9914 const PROTOBUF_NAMESPACE_ID::Any* p = transport_options_;
9915 // @@protoc_insertion_point(field_get:tensorflow.RecvBufResponse.transport_options)
9916 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::Any*>(
9917 &PROTOBUF_NAMESPACE_ID::_Any_default_instance_);
9918}
9919inline PROTOBUF_NAMESPACE_ID::Any* RecvBufResponse::release_transport_options() {
9920 // @@protoc_insertion_point(field_release:tensorflow.RecvBufResponse.transport_options)
9921
9922 PROTOBUF_NAMESPACE_ID::Any* temp = transport_options_;
9923 if (GetArenaNoVirtual() != nullptr) {
9924 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9925 }
9926 transport_options_ = nullptr;
9927 return temp;
9928}
9929inline PROTOBUF_NAMESPACE_ID::Any* RecvBufResponse::unsafe_arena_release_transport_options() {
9930 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RecvBufResponse.transport_options)
9931
9932 PROTOBUF_NAMESPACE_ID::Any* temp = transport_options_;
9933 transport_options_ = nullptr;
9934 return temp;
9935}
9936inline PROTOBUF_NAMESPACE_ID::Any* RecvBufResponse::mutable_transport_options() {
9937
9938 if (transport_options_ == nullptr) {
9939 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Any>(GetArenaNoVirtual());
9940 transport_options_ = p;
9941 }
9942 // @@protoc_insertion_point(field_mutable:tensorflow.RecvBufResponse.transport_options)
9943 return transport_options_;
9944}
9945inline void RecvBufResponse::set_allocated_transport_options(PROTOBUF_NAMESPACE_ID::Any* transport_options) {
9946 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
9947 if (message_arena == nullptr) {
9948 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(transport_options_);
9949 }
9950 if (transport_options) {
9951 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
9952 if (message_arena != submessage_arena) {
9953 transport_options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
9954 message_arena, transport_options, submessage_arena);
9955 }
9956
9957 } else {
9958
9959 }
9960 transport_options_ = transport_options;
9961 // @@protoc_insertion_point(field_set_allocated:tensorflow.RecvBufResponse.transport_options)
9962}
9963
9964// int64 send_start_micros = 5;
9965inline void RecvBufResponse::clear_send_start_micros() {
9966 send_start_micros_ = PROTOBUF_LONGLONG(0);
9967}
9968inline ::PROTOBUF_NAMESPACE_ID::int64 RecvBufResponse::send_start_micros() const {
9969 // @@protoc_insertion_point(field_get:tensorflow.RecvBufResponse.send_start_micros)
9970 return send_start_micros_;
9971}
9972inline void RecvBufResponse::set_send_start_micros(::PROTOBUF_NAMESPACE_ID::int64 value) {
9973
9974 send_start_micros_ = value;
9975 // @@protoc_insertion_point(field_set:tensorflow.RecvBufResponse.send_start_micros)
9976}
9977
9978// bool require_ack = 6;
9979inline void RecvBufResponse::clear_require_ack() {
9980 require_ack_ = false;
9981}
9982inline bool RecvBufResponse::require_ack() const {
9983 // @@protoc_insertion_point(field_get:tensorflow.RecvBufResponse.require_ack)
9984 return require_ack_;
9985}
9986inline void RecvBufResponse::set_require_ack(bool value) {
9987
9988 require_ack_ = value;
9989 // @@protoc_insertion_point(field_set:tensorflow.RecvBufResponse.require_ack)
9990}
9991
9992// -------------------------------------------------------------------
9993
9994// CompleteGroupRequest
9995
9996// int32 group_key = 1;
9997inline void CompleteGroupRequest::clear_group_key() {
9998 group_key_ = 0;
9999}
10000inline ::PROTOBUF_NAMESPACE_ID::int32 CompleteGroupRequest::group_key() const {
10001 // @@protoc_insertion_point(field_get:tensorflow.CompleteGroupRequest.group_key)
10002 return group_key_;
10003}
10004inline void CompleteGroupRequest::set_group_key(::PROTOBUF_NAMESPACE_ID::int32 value) {
10005
10006 group_key_ = value;
10007 // @@protoc_insertion_point(field_set:tensorflow.CompleteGroupRequest.group_key)
10008}
10009
10010// int32 group_size = 2;
10011inline void CompleteGroupRequest::clear_group_size() {
10012 group_size_ = 0;
10013}
10014inline ::PROTOBUF_NAMESPACE_ID::int32 CompleteGroupRequest::group_size() const {
10015 // @@protoc_insertion_point(field_get:tensorflow.CompleteGroupRequest.group_size)
10016 return group_size_;
10017}
10018inline void CompleteGroupRequest::set_group_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
10019
10020 group_size_ = value;
10021 // @@protoc_insertion_point(field_set:tensorflow.CompleteGroupRequest.group_size)
10022}
10023
10024// string device_type = 3;
10025inline void CompleteGroupRequest::clear_device_type() {
10026 device_type_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10027}
10028inline const std::string& CompleteGroupRequest::device_type() const {
10029 // @@protoc_insertion_point(field_get:tensorflow.CompleteGroupRequest.device_type)
10030 return device_type_.Get();
10031}
10032inline void CompleteGroupRequest::set_device_type(const std::string& value) {
10033
10034 device_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
10035 // @@protoc_insertion_point(field_set:tensorflow.CompleteGroupRequest.device_type)
10036}
10037inline void CompleteGroupRequest::set_device_type(std::string&& value) {
10038
10039 device_type_.Set(
10040 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
10041 // @@protoc_insertion_point(field_set_rvalue:tensorflow.CompleteGroupRequest.device_type)
10042}
10043inline void CompleteGroupRequest::set_device_type(const char* value) {
10044 GOOGLE_DCHECK(value != nullptr);
10045
10046 device_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
10047 GetArenaNoVirtual());
10048 // @@protoc_insertion_point(field_set_char:tensorflow.CompleteGroupRequest.device_type)
10049}
10050inline void CompleteGroupRequest::set_device_type(const char* value,
10051 size_t size) {
10052
10053 device_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
10054 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
10055 // @@protoc_insertion_point(field_set_pointer:tensorflow.CompleteGroupRequest.device_type)
10056}
10057inline std::string* CompleteGroupRequest::mutable_device_type() {
10058
10059 // @@protoc_insertion_point(field_mutable:tensorflow.CompleteGroupRequest.device_type)
10060 return device_type_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10061}
10062inline std::string* CompleteGroupRequest::release_device_type() {
10063 // @@protoc_insertion_point(field_release:tensorflow.CompleteGroupRequest.device_type)
10064
10065 return device_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10066}
10067inline void CompleteGroupRequest::set_allocated_device_type(std::string* device_type) {
10068 if (device_type != nullptr) {
10069
10070 } else {
10071
10072 }
10073 device_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device_type,
10074 GetArenaNoVirtual());
10075 // @@protoc_insertion_point(field_set_allocated:tensorflow.CompleteGroupRequest.device_type)
10076}
10077inline std::string* CompleteGroupRequest::unsafe_arena_release_device_type() {
10078 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CompleteGroupRequest.device_type)
10079 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
10080
10081 return device_type_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10082 GetArenaNoVirtual());
10083}
10084inline void CompleteGroupRequest::unsafe_arena_set_allocated_device_type(
10085 std::string* device_type) {
10086 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
10087 if (device_type != nullptr) {
10088
10089 } else {
10090
10091 }
10092 device_type_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10093 device_type, GetArenaNoVirtual());
10094 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CompleteGroupRequest.device_type)
10095}
10096
10097// int32 collective_type = 5;
10098inline void CompleteGroupRequest::clear_collective_type() {
10099 collective_type_ = 0;
10100}
10101inline ::PROTOBUF_NAMESPACE_ID::int32 CompleteGroupRequest::collective_type() const {
10102 // @@protoc_insertion_point(field_get:tensorflow.CompleteGroupRequest.collective_type)
10103 return collective_type_;
10104}
10105inline void CompleteGroupRequest::set_collective_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
10106
10107 collective_type_ = value;
10108 // @@protoc_insertion_point(field_set:tensorflow.CompleteGroupRequest.collective_type)
10109}
10110
10111// .tensorflow.DeviceAttributes device_attributes = 6;
10112inline bool CompleteGroupRequest::has_device_attributes() const {
10113 return this != internal_default_instance() && device_attributes_ != nullptr;
10114}
10115inline const ::tensorflow::DeviceAttributes& CompleteGroupRequest::device_attributes() const {
10116 const ::tensorflow::DeviceAttributes* p = device_attributes_;
10117 // @@protoc_insertion_point(field_get:tensorflow.CompleteGroupRequest.device_attributes)
10118 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::DeviceAttributes*>(
10119 &::tensorflow::_DeviceAttributes_default_instance_);
10120}
10121inline ::tensorflow::DeviceAttributes* CompleteGroupRequest::release_device_attributes() {
10122 // @@protoc_insertion_point(field_release:tensorflow.CompleteGroupRequest.device_attributes)
10123
10124 ::tensorflow::DeviceAttributes* temp = device_attributes_;
10125 if (GetArenaNoVirtual() != nullptr) {
10126 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
10127 }
10128 device_attributes_ = nullptr;
10129 return temp;
10130}
10131inline ::tensorflow::DeviceAttributes* CompleteGroupRequest::unsafe_arena_release_device_attributes() {
10132 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CompleteGroupRequest.device_attributes)
10133
10134 ::tensorflow::DeviceAttributes* temp = device_attributes_;
10135 device_attributes_ = nullptr;
10136 return temp;
10137}
10138inline ::tensorflow::DeviceAttributes* CompleteGroupRequest::mutable_device_attributes() {
10139
10140 if (device_attributes_ == nullptr) {
10141 auto* p = CreateMaybeMessage<::tensorflow::DeviceAttributes>(GetArenaNoVirtual());
10142 device_attributes_ = p;
10143 }
10144 // @@protoc_insertion_point(field_mutable:tensorflow.CompleteGroupRequest.device_attributes)
10145 return device_attributes_;
10146}
10147inline void CompleteGroupRequest::set_allocated_device_attributes(::tensorflow::DeviceAttributes* device_attributes) {
10148 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
10149 if (message_arena == nullptr) {
10150 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(device_attributes_);
10151 }
10152 if (device_attributes) {
10153 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
10154 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(device_attributes)->GetArena();
10155 if (message_arena != submessage_arena) {
10156 device_attributes = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
10157 message_arena, device_attributes, submessage_arena);
10158 }
10159
10160 } else {
10161
10162 }
10163 device_attributes_ = device_attributes;
10164 // @@protoc_insertion_point(field_set_allocated:tensorflow.CompleteGroupRequest.device_attributes)
10165}
10166
10167// -------------------------------------------------------------------
10168
10169// CompleteGroupResponse
10170
10171// int32 group_key = 1;
10172inline void CompleteGroupResponse::clear_group_key() {
10173 group_key_ = 0;
10174}
10175inline ::PROTOBUF_NAMESPACE_ID::int32 CompleteGroupResponse::group_key() const {
10176 // @@protoc_insertion_point(field_get:tensorflow.CompleteGroupResponse.group_key)
10177 return group_key_;
10178}
10179inline void CompleteGroupResponse::set_group_key(::PROTOBUF_NAMESPACE_ID::int32 value) {
10180
10181 group_key_ = value;
10182 // @@protoc_insertion_point(field_set:tensorflow.CompleteGroupResponse.group_key)
10183}
10184
10185// int32 group_size = 2;
10186inline void CompleteGroupResponse::clear_group_size() {
10187 group_size_ = 0;
10188}
10189inline ::PROTOBUF_NAMESPACE_ID::int32 CompleteGroupResponse::group_size() const {
10190 // @@protoc_insertion_point(field_get:tensorflow.CompleteGroupResponse.group_size)
10191 return group_size_;
10192}
10193inline void CompleteGroupResponse::set_group_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
10194
10195 group_size_ = value;
10196 // @@protoc_insertion_point(field_set:tensorflow.CompleteGroupResponse.group_size)
10197}
10198
10199// string device_type = 3;
10200inline void CompleteGroupResponse::clear_device_type() {
10201 device_type_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10202}
10203inline const std::string& CompleteGroupResponse::device_type() const {
10204 // @@protoc_insertion_point(field_get:tensorflow.CompleteGroupResponse.device_type)
10205 return device_type_.Get();
10206}
10207inline void CompleteGroupResponse::set_device_type(const std::string& value) {
10208
10209 device_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
10210 // @@protoc_insertion_point(field_set:tensorflow.CompleteGroupResponse.device_type)
10211}
10212inline void CompleteGroupResponse::set_device_type(std::string&& value) {
10213
10214 device_type_.Set(
10215 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
10216 // @@protoc_insertion_point(field_set_rvalue:tensorflow.CompleteGroupResponse.device_type)
10217}
10218inline void CompleteGroupResponse::set_device_type(const char* value) {
10219 GOOGLE_DCHECK(value != nullptr);
10220
10221 device_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
10222 GetArenaNoVirtual());
10223 // @@protoc_insertion_point(field_set_char:tensorflow.CompleteGroupResponse.device_type)
10224}
10225inline void CompleteGroupResponse::set_device_type(const char* value,
10226 size_t size) {
10227
10228 device_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
10229 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
10230 // @@protoc_insertion_point(field_set_pointer:tensorflow.CompleteGroupResponse.device_type)
10231}
10232inline std::string* CompleteGroupResponse::mutable_device_type() {
10233
10234 // @@protoc_insertion_point(field_mutable:tensorflow.CompleteGroupResponse.device_type)
10235 return device_type_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10236}
10237inline std::string* CompleteGroupResponse::release_device_type() {
10238 // @@protoc_insertion_point(field_release:tensorflow.CompleteGroupResponse.device_type)
10239
10240 return device_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10241}
10242inline void CompleteGroupResponse::set_allocated_device_type(std::string* device_type) {
10243 if (device_type != nullptr) {
10244
10245 } else {
10246
10247 }
10248 device_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device_type,
10249 GetArenaNoVirtual());
10250 // @@protoc_insertion_point(field_set_allocated:tensorflow.CompleteGroupResponse.device_type)
10251}
10252inline std::string* CompleteGroupResponse::unsafe_arena_release_device_type() {
10253 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CompleteGroupResponse.device_type)
10254 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
10255
10256 return device_type_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10257 GetArenaNoVirtual());
10258}
10259inline void CompleteGroupResponse::unsafe_arena_set_allocated_device_type(
10260 std::string* device_type) {
10261 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
10262 if (device_type != nullptr) {
10263
10264 } else {
10265
10266 }
10267 device_type_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10268 device_type, GetArenaNoVirtual());
10269 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CompleteGroupResponse.device_type)
10270}
10271
10272// int32 num_tasks = 4;
10273inline void CompleteGroupResponse::clear_num_tasks() {
10274 num_tasks_ = 0;
10275}
10276inline ::PROTOBUF_NAMESPACE_ID::int32 CompleteGroupResponse::num_tasks() const {
10277 // @@protoc_insertion_point(field_get:tensorflow.CompleteGroupResponse.num_tasks)
10278 return num_tasks_;
10279}
10280inline void CompleteGroupResponse::set_num_tasks(::PROTOBUF_NAMESPACE_ID::int32 value) {
10281
10282 num_tasks_ = value;
10283 // @@protoc_insertion_point(field_set:tensorflow.CompleteGroupResponse.num_tasks)
10284}
10285
10286// bytes communicator_key = 7;
10287inline void CompleteGroupResponse::clear_communicator_key() {
10288 communicator_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10289}
10290inline const std::string& CompleteGroupResponse::communicator_key() const {
10291 // @@protoc_insertion_point(field_get:tensorflow.CompleteGroupResponse.communicator_key)
10292 return communicator_key_.Get();
10293}
10294inline void CompleteGroupResponse::set_communicator_key(const std::string& value) {
10295
10296 communicator_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
10297 // @@protoc_insertion_point(field_set:tensorflow.CompleteGroupResponse.communicator_key)
10298}
10299inline void CompleteGroupResponse::set_communicator_key(std::string&& value) {
10300
10301 communicator_key_.Set(
10302 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
10303 // @@protoc_insertion_point(field_set_rvalue:tensorflow.CompleteGroupResponse.communicator_key)
10304}
10305inline void CompleteGroupResponse::set_communicator_key(const char* value) {
10306 GOOGLE_DCHECK(value != nullptr);
10307
10308 communicator_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
10309 GetArenaNoVirtual());
10310 // @@protoc_insertion_point(field_set_char:tensorflow.CompleteGroupResponse.communicator_key)
10311}
10312inline void CompleteGroupResponse::set_communicator_key(const void* value,
10313 size_t size) {
10314
10315 communicator_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
10316 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
10317 // @@protoc_insertion_point(field_set_pointer:tensorflow.CompleteGroupResponse.communicator_key)
10318}
10319inline std::string* CompleteGroupResponse::mutable_communicator_key() {
10320
10321 // @@protoc_insertion_point(field_mutable:tensorflow.CompleteGroupResponse.communicator_key)
10322 return communicator_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10323}
10324inline std::string* CompleteGroupResponse::release_communicator_key() {
10325 // @@protoc_insertion_point(field_release:tensorflow.CompleteGroupResponse.communicator_key)
10326
10327 return communicator_key_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10328}
10329inline void CompleteGroupResponse::set_allocated_communicator_key(std::string* communicator_key) {
10330 if (communicator_key != nullptr) {
10331
10332 } else {
10333
10334 }
10335 communicator_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), communicator_key,
10336 GetArenaNoVirtual());
10337 // @@protoc_insertion_point(field_set_allocated:tensorflow.CompleteGroupResponse.communicator_key)
10338}
10339inline std::string* CompleteGroupResponse::unsafe_arena_release_communicator_key() {
10340 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CompleteGroupResponse.communicator_key)
10341 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
10342
10343 return communicator_key_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10344 GetArenaNoVirtual());
10345}
10346inline void CompleteGroupResponse::unsafe_arena_set_allocated_communicator_key(
10347 std::string* communicator_key) {
10348 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
10349 if (communicator_key != nullptr) {
10350
10351 } else {
10352
10353 }
10354 communicator_key_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10355 communicator_key, GetArenaNoVirtual());
10356 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CompleteGroupResponse.communicator_key)
10357}
10358
10359// repeated .tensorflow.DeviceAttributes device_attributes = 8;
10360inline int CompleteGroupResponse::device_attributes_size() const {
10361 return device_attributes_.size();
10362}
10363inline ::tensorflow::DeviceAttributes* CompleteGroupResponse::mutable_device_attributes(int index) {
10364 // @@protoc_insertion_point(field_mutable:tensorflow.CompleteGroupResponse.device_attributes)
10365 return device_attributes_.Mutable(index);
10366}
10367inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >*
10368CompleteGroupResponse::mutable_device_attributes() {
10369 // @@protoc_insertion_point(field_mutable_list:tensorflow.CompleteGroupResponse.device_attributes)
10370 return &device_attributes_;
10371}
10372inline const ::tensorflow::DeviceAttributes& CompleteGroupResponse::device_attributes(int index) const {
10373 // @@protoc_insertion_point(field_get:tensorflow.CompleteGroupResponse.device_attributes)
10374 return device_attributes_.Get(index);
10375}
10376inline ::tensorflow::DeviceAttributes* CompleteGroupResponse::add_device_attributes() {
10377 // @@protoc_insertion_point(field_add:tensorflow.CompleteGroupResponse.device_attributes)
10378 return device_attributes_.Add();
10379}
10380inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceAttributes >&
10381CompleteGroupResponse::device_attributes() const {
10382 // @@protoc_insertion_point(field_list:tensorflow.CompleteGroupResponse.device_attributes)
10383 return device_attributes_;
10384}
10385
10386// -------------------------------------------------------------------
10387
10388// CompleteInstanceRequest
10389
10390// string name = 1;
10391inline void CompleteInstanceRequest::clear_name() {
10392 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10393}
10394inline const std::string& CompleteInstanceRequest::name() const {
10395 // @@protoc_insertion_point(field_get:tensorflow.CompleteInstanceRequest.name)
10396 return name_.Get();
10397}
10398inline void CompleteInstanceRequest::set_name(const std::string& value) {
10399
10400 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
10401 // @@protoc_insertion_point(field_set:tensorflow.CompleteInstanceRequest.name)
10402}
10403inline void CompleteInstanceRequest::set_name(std::string&& value) {
10404
10405 name_.Set(
10406 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
10407 // @@protoc_insertion_point(field_set_rvalue:tensorflow.CompleteInstanceRequest.name)
10408}
10409inline void CompleteInstanceRequest::set_name(const char* value) {
10410 GOOGLE_DCHECK(value != nullptr);
10411
10412 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
10413 GetArenaNoVirtual());
10414 // @@protoc_insertion_point(field_set_char:tensorflow.CompleteInstanceRequest.name)
10415}
10416inline void CompleteInstanceRequest::set_name(const char* value,
10417 size_t size) {
10418
10419 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
10420 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
10421 // @@protoc_insertion_point(field_set_pointer:tensorflow.CompleteInstanceRequest.name)
10422}
10423inline std::string* CompleteInstanceRequest::mutable_name() {
10424
10425 // @@protoc_insertion_point(field_mutable:tensorflow.CompleteInstanceRequest.name)
10426 return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10427}
10428inline std::string* CompleteInstanceRequest::release_name() {
10429 // @@protoc_insertion_point(field_release:tensorflow.CompleteInstanceRequest.name)
10430
10431 return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10432}
10433inline void CompleteInstanceRequest::set_allocated_name(std::string* name) {
10434 if (name != nullptr) {
10435
10436 } else {
10437
10438 }
10439 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
10440 GetArenaNoVirtual());
10441 // @@protoc_insertion_point(field_set_allocated:tensorflow.CompleteInstanceRequest.name)
10442}
10443inline std::string* CompleteInstanceRequest::unsafe_arena_release_name() {
10444 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CompleteInstanceRequest.name)
10445 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
10446
10447 return name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10448 GetArenaNoVirtual());
10449}
10450inline void CompleteInstanceRequest::unsafe_arena_set_allocated_name(
10451 std::string* name) {
10452 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
10453 if (name != nullptr) {
10454
10455 } else {
10456
10457 }
10458 name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10459 name, GetArenaNoVirtual());
10460 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CompleteInstanceRequest.name)
10461}
10462
10463// int32 type = 2;
10464inline void CompleteInstanceRequest::clear_type() {
10465 type_ = 0;
10466}
10467inline ::PROTOBUF_NAMESPACE_ID::int32 CompleteInstanceRequest::type() const {
10468 // @@protoc_insertion_point(field_get:tensorflow.CompleteInstanceRequest.type)
10469 return type_;
10470}
10471inline void CompleteInstanceRequest::set_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
10472
10473 type_ = value;
10474 // @@protoc_insertion_point(field_set:tensorflow.CompleteInstanceRequest.type)
10475}
10476
10477// .tensorflow.DataType data_type = 3;
10478inline void CompleteInstanceRequest::clear_data_type() {
10479 data_type_ = 0;
10480}
10481inline ::tensorflow::DataType CompleteInstanceRequest::data_type() const {
10482 // @@protoc_insertion_point(field_get:tensorflow.CompleteInstanceRequest.data_type)
10483 return static_cast< ::tensorflow::DataType >(data_type_);
10484}
10485inline void CompleteInstanceRequest::set_data_type(::tensorflow::DataType value) {
10486
10487 data_type_ = value;
10488 // @@protoc_insertion_point(field_set:tensorflow.CompleteInstanceRequest.data_type)
10489}
10490
10491// .tensorflow.TensorShapeProto shape = 4;
10492inline bool CompleteInstanceRequest::has_shape() const {
10493 return this != internal_default_instance() && shape_ != nullptr;
10494}
10495inline const ::tensorflow::TensorShapeProto& CompleteInstanceRequest::shape() const {
10496 const ::tensorflow::TensorShapeProto* p = shape_;
10497 // @@protoc_insertion_point(field_get:tensorflow.CompleteInstanceRequest.shape)
10498 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::TensorShapeProto*>(
10499 &::tensorflow::_TensorShapeProto_default_instance_);
10500}
10501inline ::tensorflow::TensorShapeProto* CompleteInstanceRequest::release_shape() {
10502 // @@protoc_insertion_point(field_release:tensorflow.CompleteInstanceRequest.shape)
10503
10504 ::tensorflow::TensorShapeProto* temp = shape_;
10505 if (GetArenaNoVirtual() != nullptr) {
10506 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
10507 }
10508 shape_ = nullptr;
10509 return temp;
10510}
10511inline ::tensorflow::TensorShapeProto* CompleteInstanceRequest::unsafe_arena_release_shape() {
10512 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CompleteInstanceRequest.shape)
10513
10514 ::tensorflow::TensorShapeProto* temp = shape_;
10515 shape_ = nullptr;
10516 return temp;
10517}
10518inline ::tensorflow::TensorShapeProto* CompleteInstanceRequest::mutable_shape() {
10519
10520 if (shape_ == nullptr) {
10521 auto* p = CreateMaybeMessage<::tensorflow::TensorShapeProto>(GetArenaNoVirtual());
10522 shape_ = p;
10523 }
10524 // @@protoc_insertion_point(field_mutable:tensorflow.CompleteInstanceRequest.shape)
10525 return shape_;
10526}
10527inline void CompleteInstanceRequest::set_allocated_shape(::tensorflow::TensorShapeProto* shape) {
10528 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
10529 if (message_arena == nullptr) {
10530 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(shape_);
10531 }
10532 if (shape) {
10533 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
10534 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shape)->GetArena();
10535 if (message_arena != submessage_arena) {
10536 shape = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
10537 message_arena, shape, submessage_arena);
10538 }
10539
10540 } else {
10541
10542 }
10543 shape_ = shape;
10544 // @@protoc_insertion_point(field_set_allocated:tensorflow.CompleteInstanceRequest.shape)
10545}
10546
10547// int32 group_key = 5;
10548inline void CompleteInstanceRequest::clear_group_key() {
10549 group_key_ = 0;
10550}
10551inline ::PROTOBUF_NAMESPACE_ID::int32 CompleteInstanceRequest::group_key() const {
10552 // @@protoc_insertion_point(field_get:tensorflow.CompleteInstanceRequest.group_key)
10553 return group_key_;
10554}
10555inline void CompleteInstanceRequest::set_group_key(::PROTOBUF_NAMESPACE_ID::int32 value) {
10556
10557 group_key_ = value;
10558 // @@protoc_insertion_point(field_set:tensorflow.CompleteInstanceRequest.group_key)
10559}
10560
10561// int32 group_size = 6;
10562inline void CompleteInstanceRequest::clear_group_size() {
10563 group_size_ = 0;
10564}
10565inline ::PROTOBUF_NAMESPACE_ID::int32 CompleteInstanceRequest::group_size() const {
10566 // @@protoc_insertion_point(field_get:tensorflow.CompleteInstanceRequest.group_size)
10567 return group_size_;
10568}
10569inline void CompleteInstanceRequest::set_group_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
10570
10571 group_size_ = value;
10572 // @@protoc_insertion_point(field_set:tensorflow.CompleteInstanceRequest.group_size)
10573}
10574
10575// int32 instance_key = 7;
10576inline void CompleteInstanceRequest::clear_instance_key() {
10577 instance_key_ = 0;
10578}
10579inline ::PROTOBUF_NAMESPACE_ID::int32 CompleteInstanceRequest::instance_key() const {
10580 // @@protoc_insertion_point(field_get:tensorflow.CompleteInstanceRequest.instance_key)
10581 return instance_key_;
10582}
10583inline void CompleteInstanceRequest::set_instance_key(::PROTOBUF_NAMESPACE_ID::int32 value) {
10584
10585 instance_key_ = value;
10586 // @@protoc_insertion_point(field_set:tensorflow.CompleteInstanceRequest.instance_key)
10587}
10588
10589// string device_type = 8;
10590inline void CompleteInstanceRequest::clear_device_type() {
10591 device_type_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10592}
10593inline const std::string& CompleteInstanceRequest::device_type() const {
10594 // @@protoc_insertion_point(field_get:tensorflow.CompleteInstanceRequest.device_type)
10595 return device_type_.Get();
10596}
10597inline void CompleteInstanceRequest::set_device_type(const std::string& value) {
10598
10599 device_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
10600 // @@protoc_insertion_point(field_set:tensorflow.CompleteInstanceRequest.device_type)
10601}
10602inline void CompleteInstanceRequest::set_device_type(std::string&& value) {
10603
10604 device_type_.Set(
10605 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
10606 // @@protoc_insertion_point(field_set_rvalue:tensorflow.CompleteInstanceRequest.device_type)
10607}
10608inline void CompleteInstanceRequest::set_device_type(const char* value) {
10609 GOOGLE_DCHECK(value != nullptr);
10610
10611 device_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
10612 GetArenaNoVirtual());
10613 // @@protoc_insertion_point(field_set_char:tensorflow.CompleteInstanceRequest.device_type)
10614}
10615inline void CompleteInstanceRequest::set_device_type(const char* value,
10616 size_t size) {
10617
10618 device_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
10619 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
10620 // @@protoc_insertion_point(field_set_pointer:tensorflow.CompleteInstanceRequest.device_type)
10621}
10622inline std::string* CompleteInstanceRequest::mutable_device_type() {
10623
10624 // @@protoc_insertion_point(field_mutable:tensorflow.CompleteInstanceRequest.device_type)
10625 return device_type_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10626}
10627inline std::string* CompleteInstanceRequest::release_device_type() {
10628 // @@protoc_insertion_point(field_release:tensorflow.CompleteInstanceRequest.device_type)
10629
10630 return device_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10631}
10632inline void CompleteInstanceRequest::set_allocated_device_type(std::string* device_type) {
10633 if (device_type != nullptr) {
10634
10635 } else {
10636
10637 }
10638 device_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device_type,
10639 GetArenaNoVirtual());
10640 // @@protoc_insertion_point(field_set_allocated:tensorflow.CompleteInstanceRequest.device_type)
10641}
10642inline std::string* CompleteInstanceRequest::unsafe_arena_release_device_type() {
10643 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CompleteInstanceRequest.device_type)
10644 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
10645
10646 return device_type_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10647 GetArenaNoVirtual());
10648}
10649inline void CompleteInstanceRequest::unsafe_arena_set_allocated_device_type(
10650 std::string* device_type) {
10651 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
10652 if (device_type != nullptr) {
10653
10654 } else {
10655
10656 }
10657 device_type_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10658 device_type, GetArenaNoVirtual());
10659 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CompleteInstanceRequest.device_type)
10660}
10661
10662// repeated int32 subdiv_offset = 9;
10663inline int CompleteInstanceRequest::subdiv_offset_size() const {
10664 return subdiv_offset_.size();
10665}
10666inline void CompleteInstanceRequest::clear_subdiv_offset() {
10667 subdiv_offset_.Clear();
10668}
10669inline ::PROTOBUF_NAMESPACE_ID::int32 CompleteInstanceRequest::subdiv_offset(int index) const {
10670 // @@protoc_insertion_point(field_get:tensorflow.CompleteInstanceRequest.subdiv_offset)
10671 return subdiv_offset_.Get(index);
10672}
10673inline void CompleteInstanceRequest::set_subdiv_offset(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
10674 subdiv_offset_.Set(index, value);
10675 // @@protoc_insertion_point(field_set:tensorflow.CompleteInstanceRequest.subdiv_offset)
10676}
10677inline void CompleteInstanceRequest::add_subdiv_offset(::PROTOBUF_NAMESPACE_ID::int32 value) {
10678 subdiv_offset_.Add(value);
10679 // @@protoc_insertion_point(field_add:tensorflow.CompleteInstanceRequest.subdiv_offset)
10680}
10681inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
10682CompleteInstanceRequest::subdiv_offset() const {
10683 // @@protoc_insertion_point(field_list:tensorflow.CompleteInstanceRequest.subdiv_offset)
10684 return subdiv_offset_;
10685}
10686inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
10687CompleteInstanceRequest::mutable_subdiv_offset() {
10688 // @@protoc_insertion_point(field_mutable_list:tensorflow.CompleteInstanceRequest.subdiv_offset)
10689 return &subdiv_offset_;
10690}
10691
10692// string device = 10;
10693inline void CompleteInstanceRequest::clear_device() {
10694 device_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10695}
10696inline const std::string& CompleteInstanceRequest::device() const {
10697 // @@protoc_insertion_point(field_get:tensorflow.CompleteInstanceRequest.device)
10698 return device_.Get();
10699}
10700inline void CompleteInstanceRequest::set_device(const std::string& value) {
10701
10702 device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
10703 // @@protoc_insertion_point(field_set:tensorflow.CompleteInstanceRequest.device)
10704}
10705inline void CompleteInstanceRequest::set_device(std::string&& value) {
10706
10707 device_.Set(
10708 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
10709 // @@protoc_insertion_point(field_set_rvalue:tensorflow.CompleteInstanceRequest.device)
10710}
10711inline void CompleteInstanceRequest::set_device(const char* value) {
10712 GOOGLE_DCHECK(value != nullptr);
10713
10714 device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
10715 GetArenaNoVirtual());
10716 // @@protoc_insertion_point(field_set_char:tensorflow.CompleteInstanceRequest.device)
10717}
10718inline void CompleteInstanceRequest::set_device(const char* value,
10719 size_t size) {
10720
10721 device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
10722 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
10723 // @@protoc_insertion_point(field_set_pointer:tensorflow.CompleteInstanceRequest.device)
10724}
10725inline std::string* CompleteInstanceRequest::mutable_device() {
10726
10727 // @@protoc_insertion_point(field_mutable:tensorflow.CompleteInstanceRequest.device)
10728 return device_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10729}
10730inline std::string* CompleteInstanceRequest::release_device() {
10731 // @@protoc_insertion_point(field_release:tensorflow.CompleteInstanceRequest.device)
10732
10733 return device_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
10734}
10735inline void CompleteInstanceRequest::set_allocated_device(std::string* device) {
10736 if (device != nullptr) {
10737
10738 } else {
10739
10740 }
10741 device_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device,
10742 GetArenaNoVirtual());
10743 // @@protoc_insertion_point(field_set_allocated:tensorflow.CompleteInstanceRequest.device)
10744}
10745inline std::string* CompleteInstanceRequest::unsafe_arena_release_device() {
10746 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CompleteInstanceRequest.device)
10747 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
10748
10749 return device_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10750 GetArenaNoVirtual());
10751}
10752inline void CompleteInstanceRequest::unsafe_arena_set_allocated_device(
10753 std::string* device) {
10754 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
10755 if (device != nullptr) {
10756
10757 } else {
10758
10759 }
10760 device_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
10761 device, GetArenaNoVirtual());
10762 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CompleteInstanceRequest.device)
10763}
10764
10765// bool is_source = 11;
10766inline void CompleteInstanceRequest::clear_is_source() {
10767 is_source_ = false;
10768}
10769inline bool CompleteInstanceRequest::is_source() const {
10770 // @@protoc_insertion_point(field_get:tensorflow.CompleteInstanceRequest.is_source)
10771 return is_source_;
10772}
10773inline void CompleteInstanceRequest::set_is_source(bool value) {
10774
10775 is_source_ = value;
10776 // @@protoc_insertion_point(field_set:tensorflow.CompleteInstanceRequest.is_source)
10777}
10778
10779// -------------------------------------------------------------------
10780
10781// CompleteInstanceResponse
10782
10783// int32 instance_key = 1;
10784inline void CompleteInstanceResponse::clear_instance_key() {
10785 instance_key_ = 0;
10786}
10787inline ::PROTOBUF_NAMESPACE_ID::int32 CompleteInstanceResponse::instance_key() const {
10788 // @@protoc_insertion_point(field_get:tensorflow.CompleteInstanceResponse.instance_key)
10789 return instance_key_;
10790}
10791inline void CompleteInstanceResponse::set_instance_key(::PROTOBUF_NAMESPACE_ID::int32 value) {
10792
10793 instance_key_ = value;
10794 // @@protoc_insertion_point(field_set:tensorflow.CompleteInstanceResponse.instance_key)
10795}
10796
10797// int32 source_rank = 2;
10798inline void CompleteInstanceResponse::clear_source_rank() {
10799 source_rank_ = 0;
10800}
10801inline ::PROTOBUF_NAMESPACE_ID::int32 CompleteInstanceResponse::source_rank() const {
10802 // @@protoc_insertion_point(field_get:tensorflow.CompleteInstanceResponse.source_rank)
10803 return source_rank_;
10804}
10805inline void CompleteInstanceResponse::set_source_rank(::PROTOBUF_NAMESPACE_ID::int32 value) {
10806
10807 source_rank_ = value;
10808 // @@protoc_insertion_point(field_set:tensorflow.CompleteInstanceResponse.source_rank)
10809}
10810
10811// -------------------------------------------------------------------
10812
10813// GetStepSequenceRequest
10814
10815// repeated int64 graph_key = 1;
10816inline int GetStepSequenceRequest::graph_key_size() const {
10817 return graph_key_.size();
10818}
10819inline void GetStepSequenceRequest::clear_graph_key() {
10820 graph_key_.Clear();
10821}
10822inline ::PROTOBUF_NAMESPACE_ID::int64 GetStepSequenceRequest::graph_key(int index) const {
10823 // @@protoc_insertion_point(field_get:tensorflow.GetStepSequenceRequest.graph_key)
10824 return graph_key_.Get(index);
10825}
10826inline void GetStepSequenceRequest::set_graph_key(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) {
10827 graph_key_.Set(index, value);
10828 // @@protoc_insertion_point(field_set:tensorflow.GetStepSequenceRequest.graph_key)
10829}
10830inline void GetStepSequenceRequest::add_graph_key(::PROTOBUF_NAMESPACE_ID::int64 value) {
10831 graph_key_.Add(value);
10832 // @@protoc_insertion_point(field_add:tensorflow.GetStepSequenceRequest.graph_key)
10833}
10834inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
10835GetStepSequenceRequest::graph_key() const {
10836 // @@protoc_insertion_point(field_list:tensorflow.GetStepSequenceRequest.graph_key)
10837 return graph_key_;
10838}
10839inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
10840GetStepSequenceRequest::mutable_graph_key() {
10841 // @@protoc_insertion_point(field_mutable_list:tensorflow.GetStepSequenceRequest.graph_key)
10842 return &graph_key_;
10843}
10844
10845// -------------------------------------------------------------------
10846
10847// StepSequence
10848
10849// int64 graph_key = 1;
10850inline void StepSequence::clear_graph_key() {
10851 graph_key_ = PROTOBUF_LONGLONG(0);
10852}
10853inline ::PROTOBUF_NAMESPACE_ID::int64 StepSequence::graph_key() const {
10854 // @@protoc_insertion_point(field_get:tensorflow.StepSequence.graph_key)
10855 return graph_key_;
10856}
10857inline void StepSequence::set_graph_key(::PROTOBUF_NAMESPACE_ID::int64 value) {
10858
10859 graph_key_ = value;
10860 // @@protoc_insertion_point(field_set:tensorflow.StepSequence.graph_key)
10861}
10862
10863// int64 next_step_id = 2;
10864inline void StepSequence::clear_next_step_id() {
10865 next_step_id_ = PROTOBUF_LONGLONG(0);
10866}
10867inline ::PROTOBUF_NAMESPACE_ID::int64 StepSequence::next_step_id() const {
10868 // @@protoc_insertion_point(field_get:tensorflow.StepSequence.next_step_id)
10869 return next_step_id_;
10870}
10871inline void StepSequence::set_next_step_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
10872
10873 next_step_id_ = value;
10874 // @@protoc_insertion_point(field_set:tensorflow.StepSequence.next_step_id)
10875}
10876
10877// -------------------------------------------------------------------
10878
10879// GetStepSequenceResponse
10880
10881// repeated .tensorflow.StepSequence step_sequence = 1;
10882inline int GetStepSequenceResponse::step_sequence_size() const {
10883 return step_sequence_.size();
10884}
10885inline void GetStepSequenceResponse::clear_step_sequence() {
10886 step_sequence_.Clear();
10887}
10888inline ::tensorflow::StepSequence* GetStepSequenceResponse::mutable_step_sequence(int index) {
10889 // @@protoc_insertion_point(field_mutable:tensorflow.GetStepSequenceResponse.step_sequence)
10890 return step_sequence_.Mutable(index);
10891}
10892inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::StepSequence >*
10893GetStepSequenceResponse::mutable_step_sequence() {
10894 // @@protoc_insertion_point(field_mutable_list:tensorflow.GetStepSequenceResponse.step_sequence)
10895 return &step_sequence_;
10896}
10897inline const ::tensorflow::StepSequence& GetStepSequenceResponse::step_sequence(int index) const {
10898 // @@protoc_insertion_point(field_get:tensorflow.GetStepSequenceResponse.step_sequence)
10899 return step_sequence_.Get(index);
10900}
10901inline ::tensorflow::StepSequence* GetStepSequenceResponse::add_step_sequence() {
10902 // @@protoc_insertion_point(field_add:tensorflow.GetStepSequenceResponse.step_sequence)
10903 return step_sequence_.Add();
10904}
10905inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::StepSequence >&
10906GetStepSequenceResponse::step_sequence() const {
10907 // @@protoc_insertion_point(field_list:tensorflow.GetStepSequenceResponse.step_sequence)
10908 return step_sequence_;
10909}
10910
10911#ifdef __GNUC__
10912 #pragma GCC diagnostic pop
10913#endif // __GNUC__
10914// -------------------------------------------------------------------
10915
10916// -------------------------------------------------------------------
10917
10918// -------------------------------------------------------------------
10919
10920// -------------------------------------------------------------------
10921
10922// -------------------------------------------------------------------
10923
10924// -------------------------------------------------------------------
10925
10926// -------------------------------------------------------------------
10927
10928// -------------------------------------------------------------------
10929
10930// -------------------------------------------------------------------
10931
10932// -------------------------------------------------------------------
10933
10934// -------------------------------------------------------------------
10935
10936// -------------------------------------------------------------------
10937
10938// -------------------------------------------------------------------
10939
10940// -------------------------------------------------------------------
10941
10942// -------------------------------------------------------------------
10943
10944// -------------------------------------------------------------------
10945
10946// -------------------------------------------------------------------
10947
10948// -------------------------------------------------------------------
10949
10950// -------------------------------------------------------------------
10951
10952// -------------------------------------------------------------------
10953
10954// -------------------------------------------------------------------
10955
10956// -------------------------------------------------------------------
10957
10958// -------------------------------------------------------------------
10959
10960// -------------------------------------------------------------------
10961
10962// -------------------------------------------------------------------
10963
10964// -------------------------------------------------------------------
10965
10966// -------------------------------------------------------------------
10967
10968// -------------------------------------------------------------------
10969
10970// -------------------------------------------------------------------
10971
10972// -------------------------------------------------------------------
10973
10974// -------------------------------------------------------------------
10975
10976// -------------------------------------------------------------------
10977
10978// -------------------------------------------------------------------
10979
10980// -------------------------------------------------------------------
10981
10982// -------------------------------------------------------------------
10983
10984
10985// @@protoc_insertion_point(namespace_scope)
10986
10987} // namespace tensorflow
10988
10989// @@protoc_insertion_point(global_scope)
10990
10991#include <google/protobuf/port_undef.inc>
10992#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fworker_2eproto
10993