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