/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/master/catalog_entity_info.pb.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: yb/master/catalog_entity_info.proto |
3 | | |
4 | | #ifndef PROTOBUF_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto__INCLUDED |
5 | | #define PROTOBUF_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto__INCLUDED |
6 | | |
7 | | #include <string> |
8 | | |
9 | | #include <google/protobuf/stubs/common.h> |
10 | | |
11 | | #if GOOGLE_PROTOBUF_VERSION < 3005000 |
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 3005001 < GOOGLE_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/io/coded_stream.h> |
23 | | #include <google/protobuf/arena.h> |
24 | | #include <google/protobuf/arenastring.h> |
25 | | #include <google/protobuf/generated_message_table_driven.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/metadata.h> |
28 | | #include <google/protobuf/message.h> |
29 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
30 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
31 | | #include <google/protobuf/map.h> // IWYU pragma: export |
32 | | #include <google/protobuf/map_entry.h> |
33 | | #include <google/protobuf/map_field_inl.h> |
34 | | #include <google/protobuf/generated_enum_reflection.h> |
35 | | #include <google/protobuf/unknown_field_set.h> |
36 | | #include "yb/cdc/cdc_consumer.pb.h" |
37 | | #include "yb/common/common.pb.h" |
38 | | #include "yb/common/common_net.pb.h" |
39 | | #include "yb/common/common_types.pb.h" |
40 | | #include "yb/consensus/metadata.pb.h" |
41 | | #include "yb/master/master_types.pb.h" |
42 | | // @@protoc_insertion_point(includes) |
43 | | |
44 | | namespace protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto { |
45 | | // Internal implementation detail -- do not use these members. |
46 | | struct TableStruct { |
47 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
48 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
49 | | static const ::google::protobuf::internal::ParseTable schema[30]; |
50 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
51 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
52 | | static const ::google::protobuf::uint32 offsets[]; |
53 | | }; |
54 | | void AddDescriptors(); |
55 | | void InitDefaultsPlacementBlockPBImpl(); |
56 | | void InitDefaultsPlacementBlockPB(); |
57 | | void InitDefaultsPlacementInfoPBImpl(); |
58 | | void InitDefaultsPlacementInfoPB(); |
59 | | void InitDefaultsReplicationInfoPBImpl(); |
60 | | void InitDefaultsReplicationInfoPB(); |
61 | | void InitDefaultsBackfillJobPB_BackfillStateEntry_DoNotUseImpl(); |
62 | | void InitDefaultsBackfillJobPB_BackfillStateEntry_DoNotUse(); |
63 | | void InitDefaultsBackfillJobPBImpl(); |
64 | | void InitDefaultsBackfillJobPB(); |
65 | | void InitDefaultsSysTablesEntryPBImpl(); |
66 | | void InitDefaultsSysTablesEntryPB(); |
67 | | void InitDefaultsSysTabletsEntryPB_BackfilledUntilEntry_DoNotUseImpl(); |
68 | | void InitDefaultsSysTabletsEntryPB_BackfilledUntilEntry_DoNotUse(); |
69 | | void InitDefaultsSysTabletsEntryPBImpl(); |
70 | | void InitDefaultsSysTabletsEntryPB(); |
71 | | void InitDefaultsSysNamespaceEntryPBImpl(); |
72 | | void InitDefaultsSysNamespaceEntryPB(); |
73 | | void InitDefaultsSysUDTypeEntryPBImpl(); |
74 | | void InitDefaultsSysUDTypeEntryPB(); |
75 | | void InitDefaultsBlacklistPBImpl(); |
76 | | void InitDefaultsBlacklistPB(); |
77 | | void InitDefaultsEncryptionInfoPBImpl(); |
78 | | void InitDefaultsEncryptionInfoPB(); |
79 | | void InitDefaultsSysClusterConfigEntryPBImpl(); |
80 | | void InitDefaultsSysClusterConfigEntryPB(); |
81 | | void InitDefaultsSysRedisConfigEntryPBImpl(); |
82 | | void InitDefaultsSysRedisConfigEntryPB(); |
83 | | void InitDefaultsResourcePermissionsPBImpl(); |
84 | | void InitDefaultsResourcePermissionsPB(); |
85 | | void InitDefaultsSysRoleEntryPBImpl(); |
86 | | void InitDefaultsSysRoleEntryPB(); |
87 | | void InitDefaultsSysSecurityConfigEntryPBImpl(); |
88 | | void InitDefaultsSysSecurityConfigEntryPB(); |
89 | | void InitDefaultsSysYSQLCatalogConfigEntryPBImpl(); |
90 | | void InitDefaultsSysYSQLCatalogConfigEntryPB(); |
91 | | void InitDefaultsSysTransactionTablesConfigEntryPBImpl(); |
92 | | void InitDefaultsSysTransactionTablesConfigEntryPB(); |
93 | | void InitDefaultsSysConfigEntryPBImpl(); |
94 | | void InitDefaultsSysConfigEntryPB(); |
95 | | void InitDefaultsSysRowEntryImpl(); |
96 | | void InitDefaultsSysRowEntry(); |
97 | | void InitDefaultsSysRowEntriesImpl(); |
98 | | void InitDefaultsSysRowEntries(); |
99 | | void InitDefaultsDdlLogEntryPBImpl(); |
100 | | void InitDefaultsDdlLogEntryPB(); |
101 | | void InitDefaultsCDCStreamOptionsPBImpl(); |
102 | | void InitDefaultsCDCStreamOptionsPB(); |
103 | | void InitDefaultsSysCDCStreamEntryPBImpl(); |
104 | | void InitDefaultsSysCDCStreamEntryPB(); |
105 | | void InitDefaultsSysSnapshotEntryPB_TabletSnapshotPBImpl(); |
106 | | void InitDefaultsSysSnapshotEntryPB_TabletSnapshotPB(); |
107 | | void InitDefaultsSysSnapshotEntryPBImpl(); |
108 | | void InitDefaultsSysSnapshotEntryPB(); |
109 | | void InitDefaultsSysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUseImpl(); |
110 | | void InitDefaultsSysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse(); |
111 | | void InitDefaultsSysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUseImpl(); |
112 | | void InitDefaultsSysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse(); |
113 | | void InitDefaultsSysUniverseReplicationEntryPBImpl(); |
114 | | void InitDefaultsSysUniverseReplicationEntryPB(); |
115 | 26.8k | inline void InitDefaults() { |
116 | 26.8k | InitDefaultsPlacementBlockPB(); |
117 | 26.8k | InitDefaultsPlacementInfoPB(); |
118 | 26.8k | InitDefaultsReplicationInfoPB(); |
119 | 26.8k | InitDefaultsBackfillJobPB_BackfillStateEntry_DoNotUse(); |
120 | 26.8k | InitDefaultsBackfillJobPB(); |
121 | 26.8k | InitDefaultsSysTablesEntryPB(); |
122 | 26.8k | InitDefaultsSysTabletsEntryPB_BackfilledUntilEntry_DoNotUse(); |
123 | 26.8k | InitDefaultsSysTabletsEntryPB(); |
124 | 26.8k | InitDefaultsSysNamespaceEntryPB(); |
125 | 26.8k | InitDefaultsSysUDTypeEntryPB(); |
126 | 26.8k | InitDefaultsBlacklistPB(); |
127 | 26.8k | InitDefaultsEncryptionInfoPB(); |
128 | 26.8k | InitDefaultsSysClusterConfigEntryPB(); |
129 | 26.8k | InitDefaultsSysRedisConfigEntryPB(); |
130 | 26.8k | InitDefaultsResourcePermissionsPB(); |
131 | 26.8k | InitDefaultsSysRoleEntryPB(); |
132 | 26.8k | InitDefaultsSysSecurityConfigEntryPB(); |
133 | 26.8k | InitDefaultsSysYSQLCatalogConfigEntryPB(); |
134 | 26.8k | InitDefaultsSysTransactionTablesConfigEntryPB(); |
135 | 26.8k | InitDefaultsSysConfigEntryPB(); |
136 | 26.8k | InitDefaultsSysRowEntry(); |
137 | 26.8k | InitDefaultsSysRowEntries(); |
138 | 26.8k | InitDefaultsDdlLogEntryPB(); |
139 | 26.8k | InitDefaultsCDCStreamOptionsPB(); |
140 | 26.8k | InitDefaultsSysCDCStreamEntryPB(); |
141 | 26.8k | InitDefaultsSysSnapshotEntryPB_TabletSnapshotPB(); |
142 | 26.8k | InitDefaultsSysSnapshotEntryPB(); |
143 | 26.8k | InitDefaultsSysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse(); |
144 | 26.8k | InitDefaultsSysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse(); |
145 | 26.8k | InitDefaultsSysUniverseReplicationEntryPB(); |
146 | 26.8k | } |
147 | | } // namespace protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto |
148 | | namespace yb { |
149 | | namespace master { |
150 | | class BackfillJobPB; |
151 | | class BackfillJobPBDefaultTypeInternal; |
152 | | extern BackfillJobPBDefaultTypeInternal _BackfillJobPB_default_instance_; |
153 | | class BackfillJobPB_BackfillStateEntry_DoNotUse; |
154 | | class BackfillJobPB_BackfillStateEntry_DoNotUseDefaultTypeInternal; |
155 | | extern BackfillJobPB_BackfillStateEntry_DoNotUseDefaultTypeInternal _BackfillJobPB_BackfillStateEntry_DoNotUse_default_instance_; |
156 | | class BlacklistPB; |
157 | | class BlacklistPBDefaultTypeInternal; |
158 | | extern BlacklistPBDefaultTypeInternal _BlacklistPB_default_instance_; |
159 | | class CDCStreamOptionsPB; |
160 | | class CDCStreamOptionsPBDefaultTypeInternal; |
161 | | extern CDCStreamOptionsPBDefaultTypeInternal _CDCStreamOptionsPB_default_instance_; |
162 | | class DdlLogEntryPB; |
163 | | class DdlLogEntryPBDefaultTypeInternal; |
164 | | extern DdlLogEntryPBDefaultTypeInternal _DdlLogEntryPB_default_instance_; |
165 | | class EncryptionInfoPB; |
166 | | class EncryptionInfoPBDefaultTypeInternal; |
167 | | extern EncryptionInfoPBDefaultTypeInternal _EncryptionInfoPB_default_instance_; |
168 | | class PlacementBlockPB; |
169 | | class PlacementBlockPBDefaultTypeInternal; |
170 | | extern PlacementBlockPBDefaultTypeInternal _PlacementBlockPB_default_instance_; |
171 | | class PlacementInfoPB; |
172 | | class PlacementInfoPBDefaultTypeInternal; |
173 | | extern PlacementInfoPBDefaultTypeInternal _PlacementInfoPB_default_instance_; |
174 | | class ReplicationInfoPB; |
175 | | class ReplicationInfoPBDefaultTypeInternal; |
176 | | extern ReplicationInfoPBDefaultTypeInternal _ReplicationInfoPB_default_instance_; |
177 | | class ResourcePermissionsPB; |
178 | | class ResourcePermissionsPBDefaultTypeInternal; |
179 | | extern ResourcePermissionsPBDefaultTypeInternal _ResourcePermissionsPB_default_instance_; |
180 | | class SysCDCStreamEntryPB; |
181 | | class SysCDCStreamEntryPBDefaultTypeInternal; |
182 | | extern SysCDCStreamEntryPBDefaultTypeInternal _SysCDCStreamEntryPB_default_instance_; |
183 | | class SysClusterConfigEntryPB; |
184 | | class SysClusterConfigEntryPBDefaultTypeInternal; |
185 | | extern SysClusterConfigEntryPBDefaultTypeInternal _SysClusterConfigEntryPB_default_instance_; |
186 | | class SysConfigEntryPB; |
187 | | class SysConfigEntryPBDefaultTypeInternal; |
188 | | extern SysConfigEntryPBDefaultTypeInternal _SysConfigEntryPB_default_instance_; |
189 | | class SysNamespaceEntryPB; |
190 | | class SysNamespaceEntryPBDefaultTypeInternal; |
191 | | extern SysNamespaceEntryPBDefaultTypeInternal _SysNamespaceEntryPB_default_instance_; |
192 | | class SysRedisConfigEntryPB; |
193 | | class SysRedisConfigEntryPBDefaultTypeInternal; |
194 | | extern SysRedisConfigEntryPBDefaultTypeInternal _SysRedisConfigEntryPB_default_instance_; |
195 | | class SysRoleEntryPB; |
196 | | class SysRoleEntryPBDefaultTypeInternal; |
197 | | extern SysRoleEntryPBDefaultTypeInternal _SysRoleEntryPB_default_instance_; |
198 | | class SysRowEntries; |
199 | | class SysRowEntriesDefaultTypeInternal; |
200 | | extern SysRowEntriesDefaultTypeInternal _SysRowEntries_default_instance_; |
201 | | class SysRowEntry; |
202 | | class SysRowEntryDefaultTypeInternal; |
203 | | extern SysRowEntryDefaultTypeInternal _SysRowEntry_default_instance_; |
204 | | class SysSecurityConfigEntryPB; |
205 | | class SysSecurityConfigEntryPBDefaultTypeInternal; |
206 | | extern SysSecurityConfigEntryPBDefaultTypeInternal _SysSecurityConfigEntryPB_default_instance_; |
207 | | class SysSnapshotEntryPB; |
208 | | class SysSnapshotEntryPBDefaultTypeInternal; |
209 | | extern SysSnapshotEntryPBDefaultTypeInternal _SysSnapshotEntryPB_default_instance_; |
210 | | class SysSnapshotEntryPB_TabletSnapshotPB; |
211 | | class SysSnapshotEntryPB_TabletSnapshotPBDefaultTypeInternal; |
212 | | extern SysSnapshotEntryPB_TabletSnapshotPBDefaultTypeInternal _SysSnapshotEntryPB_TabletSnapshotPB_default_instance_; |
213 | | class SysTablesEntryPB; |
214 | | class SysTablesEntryPBDefaultTypeInternal; |
215 | | extern SysTablesEntryPBDefaultTypeInternal _SysTablesEntryPB_default_instance_; |
216 | | class SysTabletsEntryPB; |
217 | | class SysTabletsEntryPBDefaultTypeInternal; |
218 | | extern SysTabletsEntryPBDefaultTypeInternal _SysTabletsEntryPB_default_instance_; |
219 | | class SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse; |
220 | | class SysTabletsEntryPB_BackfilledUntilEntry_DoNotUseDefaultTypeInternal; |
221 | | extern SysTabletsEntryPB_BackfilledUntilEntry_DoNotUseDefaultTypeInternal _SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse_default_instance_; |
222 | | class SysTransactionTablesConfigEntryPB; |
223 | | class SysTransactionTablesConfigEntryPBDefaultTypeInternal; |
224 | | extern SysTransactionTablesConfigEntryPBDefaultTypeInternal _SysTransactionTablesConfigEntryPB_default_instance_; |
225 | | class SysUDTypeEntryPB; |
226 | | class SysUDTypeEntryPBDefaultTypeInternal; |
227 | | extern SysUDTypeEntryPBDefaultTypeInternal _SysUDTypeEntryPB_default_instance_; |
228 | | class SysUniverseReplicationEntryPB; |
229 | | class SysUniverseReplicationEntryPBDefaultTypeInternal; |
230 | | extern SysUniverseReplicationEntryPBDefaultTypeInternal _SysUniverseReplicationEntryPB_default_instance_; |
231 | | class SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse; |
232 | | class SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUseDefaultTypeInternal; |
233 | | extern SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUseDefaultTypeInternal _SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse_default_instance_; |
234 | | class SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse; |
235 | | class SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUseDefaultTypeInternal; |
236 | | extern SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUseDefaultTypeInternal _SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse_default_instance_; |
237 | | class SysYSQLCatalogConfigEntryPB; |
238 | | class SysYSQLCatalogConfigEntryPBDefaultTypeInternal; |
239 | | extern SysYSQLCatalogConfigEntryPBDefaultTypeInternal _SysYSQLCatalogConfigEntryPB_default_instance_; |
240 | | } // namespace master |
241 | | } // namespace yb |
242 | | namespace yb { |
243 | | namespace master { |
244 | | |
245 | | enum BackfillJobPB_State { |
246 | | BackfillJobPB_State_IN_PROGRESS = 0, |
247 | | BackfillJobPB_State_FAILED = 1, |
248 | | BackfillJobPB_State_SUCCESS = 2 |
249 | | }; |
250 | | bool BackfillJobPB_State_IsValid(int value); |
251 | | const BackfillJobPB_State BackfillJobPB_State_State_MIN = BackfillJobPB_State_IN_PROGRESS; |
252 | | const BackfillJobPB_State BackfillJobPB_State_State_MAX = BackfillJobPB_State_SUCCESS; |
253 | | const int BackfillJobPB_State_State_ARRAYSIZE = BackfillJobPB_State_State_MAX + 1; |
254 | | |
255 | | const ::google::protobuf::EnumDescriptor* BackfillJobPB_State_descriptor(); |
256 | 3 | inline const ::std::string& BackfillJobPB_State_Name(BackfillJobPB_State value) { |
257 | 3 | return ::google::protobuf::internal::NameOfEnum( |
258 | 3 | BackfillJobPB_State_descriptor(), value); |
259 | 3 | } |
260 | | inline bool BackfillJobPB_State_Parse( |
261 | 0 | const ::std::string& name, BackfillJobPB_State* value) { |
262 | 0 | return ::google::protobuf::internal::ParseNamedEnum<BackfillJobPB_State>( |
263 | 0 | BackfillJobPB_State_descriptor(), name, value); |
264 | 0 | } |
265 | | enum SysTablesEntryPB_State { |
266 | | SysTablesEntryPB_State_UNKNOWN = 0, |
267 | | SysTablesEntryPB_State_PREPARING = 1, |
268 | | SysTablesEntryPB_State_RUNNING = 2, |
269 | | SysTablesEntryPB_State_ALTERING = 3, |
270 | | SysTablesEntryPB_State_DELETING = 4, |
271 | | SysTablesEntryPB_State_DELETED = 5 |
272 | | }; |
273 | | bool SysTablesEntryPB_State_IsValid(int value); |
274 | | const SysTablesEntryPB_State SysTablesEntryPB_State_State_MIN = SysTablesEntryPB_State_UNKNOWN; |
275 | | const SysTablesEntryPB_State SysTablesEntryPB_State_State_MAX = SysTablesEntryPB_State_DELETED; |
276 | | const int SysTablesEntryPB_State_State_ARRAYSIZE = SysTablesEntryPB_State_State_MAX + 1; |
277 | | |
278 | | const ::google::protobuf::EnumDescriptor* SysTablesEntryPB_State_descriptor(); |
279 | 451k | inline const ::std::string& SysTablesEntryPB_State_Name(SysTablesEntryPB_State value) { |
280 | 451k | return ::google::protobuf::internal::NameOfEnum( |
281 | 451k | SysTablesEntryPB_State_descriptor(), value); |
282 | 451k | } |
283 | | inline bool SysTablesEntryPB_State_Parse( |
284 | 0 | const ::std::string& name, SysTablesEntryPB_State* value) { |
285 | 0 | return ::google::protobuf::internal::ParseNamedEnum<SysTablesEntryPB_State>( |
286 | 0 | SysTablesEntryPB_State_descriptor(), name, value); |
287 | 0 | } |
288 | | enum SysTablesEntryPB_HideState { |
289 | | SysTablesEntryPB_HideState_VISIBLE = 0, |
290 | | SysTablesEntryPB_HideState_HIDING = 1, |
291 | | SysTablesEntryPB_HideState_HIDDEN = 2 |
292 | | }; |
293 | | bool SysTablesEntryPB_HideState_IsValid(int value); |
294 | | const SysTablesEntryPB_HideState SysTablesEntryPB_HideState_HideState_MIN = SysTablesEntryPB_HideState_VISIBLE; |
295 | | const SysTablesEntryPB_HideState SysTablesEntryPB_HideState_HideState_MAX = SysTablesEntryPB_HideState_HIDDEN; |
296 | | const int SysTablesEntryPB_HideState_HideState_ARRAYSIZE = SysTablesEntryPB_HideState_HideState_MAX + 1; |
297 | | |
298 | | const ::google::protobuf::EnumDescriptor* SysTablesEntryPB_HideState_descriptor(); |
299 | 0 | inline const ::std::string& SysTablesEntryPB_HideState_Name(SysTablesEntryPB_HideState value) { |
300 | 0 | return ::google::protobuf::internal::NameOfEnum( |
301 | 0 | SysTablesEntryPB_HideState_descriptor(), value); |
302 | 0 | } |
303 | | inline bool SysTablesEntryPB_HideState_Parse( |
304 | 0 | const ::std::string& name, SysTablesEntryPB_HideState* value) { |
305 | 0 | return ::google::protobuf::internal::ParseNamedEnum<SysTablesEntryPB_HideState>( |
306 | 0 | SysTablesEntryPB_HideState_descriptor(), name, value); |
307 | 0 | } |
308 | | enum SysTabletsEntryPB_State { |
309 | | SysTabletsEntryPB_State_UNKNOWN = 999, |
310 | | SysTabletsEntryPB_State_PREPARING = 0, |
311 | | SysTabletsEntryPB_State_CREATING = 1, |
312 | | SysTabletsEntryPB_State_RUNNING = 2, |
313 | | SysTabletsEntryPB_State_REPLACED = 3, |
314 | | SysTabletsEntryPB_State_DELETED = 4 |
315 | | }; |
316 | | bool SysTabletsEntryPB_State_IsValid(int value); |
317 | | const SysTabletsEntryPB_State SysTabletsEntryPB_State_State_MIN = SysTabletsEntryPB_State_PREPARING; |
318 | | const SysTabletsEntryPB_State SysTabletsEntryPB_State_State_MAX = SysTabletsEntryPB_State_UNKNOWN; |
319 | | const int SysTabletsEntryPB_State_State_ARRAYSIZE = SysTabletsEntryPB_State_State_MAX + 1; |
320 | | |
321 | | const ::google::protobuf::EnumDescriptor* SysTabletsEntryPB_State_descriptor(); |
322 | 67 | inline const ::std::string& SysTabletsEntryPB_State_Name(SysTabletsEntryPB_State value) { |
323 | 67 | return ::google::protobuf::internal::NameOfEnum( |
324 | 67 | SysTabletsEntryPB_State_descriptor(), value); |
325 | 67 | } |
326 | | inline bool SysTabletsEntryPB_State_Parse( |
327 | 0 | const ::std::string& name, SysTabletsEntryPB_State* value) { |
328 | 0 | return ::google::protobuf::internal::ParseNamedEnum<SysTabletsEntryPB_State>( |
329 | 0 | SysTabletsEntryPB_State_descriptor(), name, value); |
330 | 0 | } |
331 | | enum SysNamespaceEntryPB_State { |
332 | | SysNamespaceEntryPB_State_UNKNOWN = 0, |
333 | | SysNamespaceEntryPB_State_PREPARING = 1, |
334 | | SysNamespaceEntryPB_State_FAILED = 2, |
335 | | SysNamespaceEntryPB_State_RUNNING = 3, |
336 | | SysNamespaceEntryPB_State_DELETING = 4, |
337 | | SysNamespaceEntryPB_State_DELETED = 5 |
338 | | }; |
339 | | bool SysNamespaceEntryPB_State_IsValid(int value); |
340 | | const SysNamespaceEntryPB_State SysNamespaceEntryPB_State_State_MIN = SysNamespaceEntryPB_State_UNKNOWN; |
341 | | const SysNamespaceEntryPB_State SysNamespaceEntryPB_State_State_MAX = SysNamespaceEntryPB_State_DELETED; |
342 | | const int SysNamespaceEntryPB_State_State_ARRAYSIZE = SysNamespaceEntryPB_State_State_MAX + 1; |
343 | | |
344 | | const ::google::protobuf::EnumDescriptor* SysNamespaceEntryPB_State_descriptor(); |
345 | 6 | inline const ::std::string& SysNamespaceEntryPB_State_Name(SysNamespaceEntryPB_State value) { |
346 | 6 | return ::google::protobuf::internal::NameOfEnum( |
347 | 6 | SysNamespaceEntryPB_State_descriptor(), value); |
348 | 6 | } |
349 | | inline bool SysNamespaceEntryPB_State_Parse( |
350 | 0 | const ::std::string& name, SysNamespaceEntryPB_State* value) { |
351 | 0 | return ::google::protobuf::internal::ParseNamedEnum<SysNamespaceEntryPB_State>( |
352 | 0 | SysNamespaceEntryPB_State_descriptor(), name, value); |
353 | 0 | } |
354 | | enum SysCDCStreamEntryPB_State { |
355 | | SysCDCStreamEntryPB_State_INITIATED = 3, |
356 | | SysCDCStreamEntryPB_State_ACTIVE = 0, |
357 | | SysCDCStreamEntryPB_State_DELETING = 1, |
358 | | SysCDCStreamEntryPB_State_DELETED = 2 |
359 | | }; |
360 | | bool SysCDCStreamEntryPB_State_IsValid(int value); |
361 | | const SysCDCStreamEntryPB_State SysCDCStreamEntryPB_State_State_MIN = SysCDCStreamEntryPB_State_ACTIVE; |
362 | | const SysCDCStreamEntryPB_State SysCDCStreamEntryPB_State_State_MAX = SysCDCStreamEntryPB_State_INITIATED; |
363 | | const int SysCDCStreamEntryPB_State_State_ARRAYSIZE = SysCDCStreamEntryPB_State_State_MAX + 1; |
364 | | |
365 | | const ::google::protobuf::EnumDescriptor* SysCDCStreamEntryPB_State_descriptor(); |
366 | 1 | inline const ::std::string& SysCDCStreamEntryPB_State_Name(SysCDCStreamEntryPB_State value) { |
367 | 1 | return ::google::protobuf::internal::NameOfEnum( |
368 | 1 | SysCDCStreamEntryPB_State_descriptor(), value); |
369 | 1 | } |
370 | | inline bool SysCDCStreamEntryPB_State_Parse( |
371 | 0 | const ::std::string& name, SysCDCStreamEntryPB_State* value) { |
372 | 0 | return ::google::protobuf::internal::ParseNamedEnum<SysCDCStreamEntryPB_State>( |
373 | 0 | SysCDCStreamEntryPB_State_descriptor(), name, value); |
374 | 0 | } |
375 | | enum SysSnapshotEntryPB_State { |
376 | | SysSnapshotEntryPB_State_UNKNOWN = 0, |
377 | | SysSnapshotEntryPB_State_CREATING = 1, |
378 | | SysSnapshotEntryPB_State_COMPLETE = 2, |
379 | | SysSnapshotEntryPB_State_DELETING = 3, |
380 | | SysSnapshotEntryPB_State_DELETED = 4, |
381 | | SysSnapshotEntryPB_State_FAILED = 5, |
382 | | SysSnapshotEntryPB_State_CANCELLED = 6, |
383 | | SysSnapshotEntryPB_State_RESTORING = 7, |
384 | | SysSnapshotEntryPB_State_RESTORED = 8 |
385 | | }; |
386 | | bool SysSnapshotEntryPB_State_IsValid(int value); |
387 | | const SysSnapshotEntryPB_State SysSnapshotEntryPB_State_State_MIN = SysSnapshotEntryPB_State_UNKNOWN; |
388 | | const SysSnapshotEntryPB_State SysSnapshotEntryPB_State_State_MAX = SysSnapshotEntryPB_State_RESTORED; |
389 | | const int SysSnapshotEntryPB_State_State_ARRAYSIZE = SysSnapshotEntryPB_State_State_MAX + 1; |
390 | | |
391 | | const ::google::protobuf::EnumDescriptor* SysSnapshotEntryPB_State_descriptor(); |
392 | 50 | inline const ::std::string& SysSnapshotEntryPB_State_Name(SysSnapshotEntryPB_State value) { |
393 | 50 | return ::google::protobuf::internal::NameOfEnum( |
394 | 50 | SysSnapshotEntryPB_State_descriptor(), value); |
395 | 50 | } |
396 | | inline bool SysSnapshotEntryPB_State_Parse( |
397 | | const ::std::string& name, SysSnapshotEntryPB_State* value) { |
398 | | return ::google::protobuf::internal::ParseNamedEnum<SysSnapshotEntryPB_State>( |
399 | | SysSnapshotEntryPB_State_descriptor(), name, value); |
400 | | } |
401 | | enum SysUniverseReplicationEntryPB_State { |
402 | | SysUniverseReplicationEntryPB_State_INITIALIZING = 0, |
403 | | SysUniverseReplicationEntryPB_State_VALIDATED = 1, |
404 | | SysUniverseReplicationEntryPB_State_ACTIVE = 2, |
405 | | SysUniverseReplicationEntryPB_State_FAILED = 3, |
406 | | SysUniverseReplicationEntryPB_State_DISABLED = 6, |
407 | | SysUniverseReplicationEntryPB_State_DELETED = 4, |
408 | | SysUniverseReplicationEntryPB_State_DELETED_ERROR = 5 |
409 | | }; |
410 | | bool SysUniverseReplicationEntryPB_State_IsValid(int value); |
411 | | const SysUniverseReplicationEntryPB_State SysUniverseReplicationEntryPB_State_State_MIN = SysUniverseReplicationEntryPB_State_INITIALIZING; |
412 | | const SysUniverseReplicationEntryPB_State SysUniverseReplicationEntryPB_State_State_MAX = SysUniverseReplicationEntryPB_State_DISABLED; |
413 | | const int SysUniverseReplicationEntryPB_State_State_ARRAYSIZE = SysUniverseReplicationEntryPB_State_State_MAX + 1; |
414 | | |
415 | | const ::google::protobuf::EnumDescriptor* SysUniverseReplicationEntryPB_State_descriptor(); |
416 | 0 | inline const ::std::string& SysUniverseReplicationEntryPB_State_Name(SysUniverseReplicationEntryPB_State value) { |
417 | 0 | return ::google::protobuf::internal::NameOfEnum( |
418 | 0 | SysUniverseReplicationEntryPB_State_descriptor(), value); |
419 | 0 | } |
420 | | inline bool SysUniverseReplicationEntryPB_State_Parse( |
421 | 0 | const ::std::string& name, SysUniverseReplicationEntryPB_State* value) { |
422 | 0 | return ::google::protobuf::internal::ParseNamedEnum<SysUniverseReplicationEntryPB_State>( |
423 | 0 | SysUniverseReplicationEntryPB_State_descriptor(), name, value); |
424 | 0 | } |
425 | | // =================================================================== |
426 | | |
427 | | class PlacementBlockPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.PlacementBlockPB) */ { |
428 | | public: |
429 | | PlacementBlockPB(); |
430 | | virtual ~PlacementBlockPB(); |
431 | | |
432 | | PlacementBlockPB(const PlacementBlockPB& from); |
433 | | |
434 | 0 | inline PlacementBlockPB& operator=(const PlacementBlockPB& from) { |
435 | 0 | CopyFrom(from); |
436 | 0 | return *this; |
437 | 0 | } |
438 | | #if LANG_CXX11 |
439 | | PlacementBlockPB(PlacementBlockPB&& from) noexcept |
440 | 0 | : PlacementBlockPB() { |
441 | 0 | *this = ::std::move(from); |
442 | 0 | } |
443 | | |
444 | 0 | inline PlacementBlockPB& operator=(PlacementBlockPB&& from) noexcept { |
445 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
446 | 0 | if (this != &from) InternalSwap(&from); |
447 | 0 | } else { |
448 | 0 | CopyFrom(from); |
449 | 0 | } |
450 | 0 | return *this; |
451 | 0 | } |
452 | | #endif |
453 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
454 | 0 | return _internal_metadata_.unknown_fields(); |
455 | 0 | } |
456 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
457 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
458 | 0 | } |
459 | | |
460 | | static const ::google::protobuf::Descriptor* descriptor(); |
461 | | static const PlacementBlockPB& default_instance(); |
462 | | |
463 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
464 | 2.55M | static inline const PlacementBlockPB* internal_default_instance() { |
465 | 2.55M | return reinterpret_cast<const PlacementBlockPB*>( |
466 | 2.55M | &_PlacementBlockPB_default_instance_); |
467 | 2.55M | } |
468 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
469 | | 0; |
470 | | |
471 | | void Swap(PlacementBlockPB* other); |
472 | 0 | friend void swap(PlacementBlockPB& a, PlacementBlockPB& b) { |
473 | 0 | a.Swap(&b); |
474 | 0 | } |
475 | | |
476 | | // implements Message ---------------------------------------------- |
477 | | |
478 | 0 | inline PlacementBlockPB* New() const PROTOBUF_FINAL { return New(NULL); } |
479 | | |
480 | | PlacementBlockPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
481 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
482 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
483 | | void CopyFrom(const PlacementBlockPB& from); |
484 | | void MergeFrom(const PlacementBlockPB& from); |
485 | | void Clear() PROTOBUF_FINAL; |
486 | | bool IsInitialized() const PROTOBUF_FINAL; |
487 | | |
488 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
489 | | bool MergePartialFromCodedStream( |
490 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
491 | | void SerializeWithCachedSizes( |
492 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
493 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
494 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
495 | 277 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
496 | | private: |
497 | | void SharedCtor(); |
498 | | void SharedDtor(); |
499 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
500 | | void InternalSwap(PlacementBlockPB* other); |
501 | | private: |
502 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
503 | 0 | return NULL; |
504 | 0 | } |
505 | 0 | inline void* MaybeArenaPtr() const { |
506 | 0 | return NULL; |
507 | 0 | } |
508 | | public: |
509 | | |
510 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
511 | | |
512 | | // nested types ---------------------------------------------------- |
513 | | |
514 | | // accessors ------------------------------------------------------- |
515 | | |
516 | | // optional .yb.CloudInfoPB cloud_info = 1; |
517 | | bool has_cloud_info() const; |
518 | | void clear_cloud_info(); |
519 | | static const int kCloudInfoFieldNumber = 1; |
520 | | const ::yb::CloudInfoPB& cloud_info() const; |
521 | | ::yb::CloudInfoPB* release_cloud_info(); |
522 | | ::yb::CloudInfoPB* mutable_cloud_info(); |
523 | | void set_allocated_cloud_info(::yb::CloudInfoPB* cloud_info); |
524 | | |
525 | | // optional int32 min_num_replicas = 2; |
526 | | bool has_min_num_replicas() const; |
527 | | void clear_min_num_replicas(); |
528 | | static const int kMinNumReplicasFieldNumber = 2; |
529 | | ::google::protobuf::int32 min_num_replicas() const; |
530 | | void set_min_num_replicas(::google::protobuf::int32 value); |
531 | | |
532 | | // @@protoc_insertion_point(class_scope:yb.master.PlacementBlockPB) |
533 | | private: |
534 | | void set_has_cloud_info(); |
535 | | void clear_has_cloud_info(); |
536 | | void set_has_min_num_replicas(); |
537 | | void clear_has_min_num_replicas(); |
538 | | |
539 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
540 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
541 | | mutable int _cached_size_; |
542 | | ::yb::CloudInfoPB* cloud_info_; |
543 | | ::google::protobuf::int32 min_num_replicas_; |
544 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
545 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsPlacementBlockPBImpl(); |
546 | | }; |
547 | | // ------------------------------------------------------------------- |
548 | | |
549 | | class PlacementInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.PlacementInfoPB) */ { |
550 | | public: |
551 | | PlacementInfoPB(); |
552 | | virtual ~PlacementInfoPB(); |
553 | | |
554 | | PlacementInfoPB(const PlacementInfoPB& from); |
555 | | |
556 | 0 | inline PlacementInfoPB& operator=(const PlacementInfoPB& from) { |
557 | 0 | CopyFrom(from); |
558 | 0 | return *this; |
559 | 0 | } |
560 | | #if LANG_CXX11 |
561 | | PlacementInfoPB(PlacementInfoPB&& from) noexcept |
562 | 0 | : PlacementInfoPB() { |
563 | 0 | *this = ::std::move(from); |
564 | 0 | } |
565 | | |
566 | 891k | inline PlacementInfoPB& operator=(PlacementInfoPB&& from) noexcept { |
567 | 891k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
568 | 891k | if (this != &from) InternalSwap(&from); |
569 | 891k | } else { |
570 | 0 | CopyFrom(from); |
571 | 0 | } |
572 | 891k | return *this; |
573 | 891k | } |
574 | | #endif |
575 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
576 | 0 | return _internal_metadata_.unknown_fields(); |
577 | 0 | } |
578 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
579 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
580 | 0 | } |
581 | | |
582 | | static const ::google::protobuf::Descriptor* descriptor(); |
583 | | static const PlacementInfoPB& default_instance(); |
584 | | |
585 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
586 | 2.41M | static inline const PlacementInfoPB* internal_default_instance() { |
587 | 2.41M | return reinterpret_cast<const PlacementInfoPB*>( |
588 | 2.41M | &_PlacementInfoPB_default_instance_); |
589 | 2.41M | } |
590 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
591 | | 1; |
592 | | |
593 | | void Swap(PlacementInfoPB* other); |
594 | 0 | friend void swap(PlacementInfoPB& a, PlacementInfoPB& b) { |
595 | 0 | a.Swap(&b); |
596 | 0 | } |
597 | | |
598 | | // implements Message ---------------------------------------------- |
599 | | |
600 | 0 | inline PlacementInfoPB* New() const PROTOBUF_FINAL { return New(NULL); } |
601 | | |
602 | | PlacementInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
603 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
604 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
605 | | void CopyFrom(const PlacementInfoPB& from); |
606 | | void MergeFrom(const PlacementInfoPB& from); |
607 | | void Clear() PROTOBUF_FINAL; |
608 | | bool IsInitialized() const PROTOBUF_FINAL; |
609 | | |
610 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
611 | | bool MergePartialFromCodedStream( |
612 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
613 | | void SerializeWithCachedSizes( |
614 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
615 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
616 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
617 | 416 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
618 | | private: |
619 | | void SharedCtor(); |
620 | | void SharedDtor(); |
621 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
622 | | void InternalSwap(PlacementInfoPB* other); |
623 | | private: |
624 | 1.78M | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
625 | 1.78M | return NULL; |
626 | 1.78M | } |
627 | 0 | inline void* MaybeArenaPtr() const { |
628 | 0 | return NULL; |
629 | 0 | } |
630 | | public: |
631 | | |
632 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
633 | | |
634 | | // nested types ---------------------------------------------------- |
635 | | |
636 | | // accessors ------------------------------------------------------- |
637 | | |
638 | | // repeated .yb.master.PlacementBlockPB placement_blocks = 2; |
639 | | int placement_blocks_size() const; |
640 | | void clear_placement_blocks(); |
641 | | static const int kPlacementBlocksFieldNumber = 2; |
642 | | const ::yb::master::PlacementBlockPB& placement_blocks(int index) const; |
643 | | ::yb::master::PlacementBlockPB* mutable_placement_blocks(int index); |
644 | | ::yb::master::PlacementBlockPB* add_placement_blocks(); |
645 | | ::google::protobuf::RepeatedPtrField< ::yb::master::PlacementBlockPB >* |
646 | | mutable_placement_blocks(); |
647 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::PlacementBlockPB >& |
648 | | placement_blocks() const; |
649 | | |
650 | | // optional bytes placement_uuid = 3; |
651 | | bool has_placement_uuid() const; |
652 | | void clear_placement_uuid(); |
653 | | static const int kPlacementUuidFieldNumber = 3; |
654 | | const ::std::string& placement_uuid() const; |
655 | | void set_placement_uuid(const ::std::string& value); |
656 | | #if LANG_CXX11 |
657 | | void set_placement_uuid(::std::string&& value); |
658 | | #endif |
659 | | void set_placement_uuid(const char* value); |
660 | | void set_placement_uuid(const void* value, size_t size); |
661 | | ::std::string* mutable_placement_uuid(); |
662 | | ::std::string* release_placement_uuid(); |
663 | | void set_allocated_placement_uuid(::std::string* placement_uuid); |
664 | | |
665 | | // optional int32 num_replicas = 1; |
666 | | bool has_num_replicas() const; |
667 | | void clear_num_replicas(); |
668 | | static const int kNumReplicasFieldNumber = 1; |
669 | | ::google::protobuf::int32 num_replicas() const; |
670 | | void set_num_replicas(::google::protobuf::int32 value); |
671 | | |
672 | | // @@protoc_insertion_point(class_scope:yb.master.PlacementInfoPB) |
673 | | private: |
674 | | void set_has_num_replicas(); |
675 | | void clear_has_num_replicas(); |
676 | | void set_has_placement_uuid(); |
677 | | void clear_has_placement_uuid(); |
678 | | |
679 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
680 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
681 | | mutable int _cached_size_; |
682 | | ::google::protobuf::RepeatedPtrField< ::yb::master::PlacementBlockPB > placement_blocks_; |
683 | | ::google::protobuf::internal::ArenaStringPtr placement_uuid_; |
684 | | ::google::protobuf::int32 num_replicas_; |
685 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
686 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsPlacementInfoPBImpl(); |
687 | | }; |
688 | | // ------------------------------------------------------------------- |
689 | | |
690 | | class ReplicationInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ReplicationInfoPB) */ { |
691 | | public: |
692 | | ReplicationInfoPB(); |
693 | | virtual ~ReplicationInfoPB(); |
694 | | |
695 | | ReplicationInfoPB(const ReplicationInfoPB& from); |
696 | | |
697 | 154k | inline ReplicationInfoPB& operator=(const ReplicationInfoPB& from) { |
698 | 154k | CopyFrom(from); |
699 | 154k | return *this; |
700 | 154k | } |
701 | | #if LANG_CXX11 |
702 | | ReplicationInfoPB(ReplicationInfoPB&& from) noexcept |
703 | 955k | : ReplicationInfoPB() { |
704 | 955k | *this = ::std::move(from); |
705 | 955k | } Unexecuted instantiation: yb::master::ReplicationInfoPB::ReplicationInfoPB(yb::master::ReplicationInfoPB&&) yb::master::ReplicationInfoPB::ReplicationInfoPB(yb::master::ReplicationInfoPB&&) Line | Count | Source | 703 | 955k | : ReplicationInfoPB() { | 704 | 955k | *this = ::std::move(from); | 705 | 955k | } |
|
706 | | |
707 | 955k | inline ReplicationInfoPB& operator=(ReplicationInfoPB&& from) noexcept { |
708 | 955k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
709 | 955k | if (this != &from) InternalSwap(&from); |
710 | 955k | } else { |
711 | 0 | CopyFrom(from); |
712 | 0 | } |
713 | 955k | return *this; |
714 | 955k | } |
715 | | #endif |
716 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
717 | 0 | return _internal_metadata_.unknown_fields(); |
718 | 0 | } |
719 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
720 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
721 | 0 | } |
722 | | |
723 | | static const ::google::protobuf::Descriptor* descriptor(); |
724 | | static const ReplicationInfoPB& default_instance(); |
725 | | |
726 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
727 | 4.42M | static inline const ReplicationInfoPB* internal_default_instance() { |
728 | 4.42M | return reinterpret_cast<const ReplicationInfoPB*>( |
729 | 4.42M | &_ReplicationInfoPB_default_instance_); |
730 | 4.42M | } |
731 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
732 | | 2; |
733 | | |
734 | | void Swap(ReplicationInfoPB* other); |
735 | 0 | friend void swap(ReplicationInfoPB& a, ReplicationInfoPB& b) { |
736 | 0 | a.Swap(&b); |
737 | 0 | } |
738 | | |
739 | | // implements Message ---------------------------------------------- |
740 | | |
741 | 0 | inline ReplicationInfoPB* New() const PROTOBUF_FINAL { return New(NULL); } |
742 | | |
743 | | ReplicationInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
744 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
745 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
746 | | void CopyFrom(const ReplicationInfoPB& from); |
747 | | void MergeFrom(const ReplicationInfoPB& from); |
748 | | void Clear() PROTOBUF_FINAL; |
749 | | bool IsInitialized() const PROTOBUF_FINAL; |
750 | | |
751 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
752 | | bool MergePartialFromCodedStream( |
753 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
754 | | void SerializeWithCachedSizes( |
755 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
756 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
757 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
758 | 425 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
759 | | private: |
760 | | void SharedCtor(); |
761 | | void SharedDtor(); |
762 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
763 | | void InternalSwap(ReplicationInfoPB* other); |
764 | | private: |
765 | 1.91M | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
766 | 1.91M | return NULL; |
767 | 1.91M | } |
768 | 0 | inline void* MaybeArenaPtr() const { |
769 | 0 | return NULL; |
770 | 0 | } |
771 | | public: |
772 | | |
773 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
774 | | |
775 | | // nested types ---------------------------------------------------- |
776 | | |
777 | | // accessors ------------------------------------------------------- |
778 | | |
779 | | // repeated .yb.master.PlacementInfoPB read_replicas = 2; |
780 | | int read_replicas_size() const; |
781 | | void clear_read_replicas(); |
782 | | static const int kReadReplicasFieldNumber = 2; |
783 | | const ::yb::master::PlacementInfoPB& read_replicas(int index) const; |
784 | | ::yb::master::PlacementInfoPB* mutable_read_replicas(int index); |
785 | | ::yb::master::PlacementInfoPB* add_read_replicas(); |
786 | | ::google::protobuf::RepeatedPtrField< ::yb::master::PlacementInfoPB >* |
787 | | mutable_read_replicas(); |
788 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::PlacementInfoPB >& |
789 | | read_replicas() const; |
790 | | |
791 | | // repeated .yb.CloudInfoPB affinitized_leaders = 3; |
792 | | int affinitized_leaders_size() const; |
793 | | void clear_affinitized_leaders(); |
794 | | static const int kAffinitizedLeadersFieldNumber = 3; |
795 | | const ::yb::CloudInfoPB& affinitized_leaders(int index) const; |
796 | | ::yb::CloudInfoPB* mutable_affinitized_leaders(int index); |
797 | | ::yb::CloudInfoPB* add_affinitized_leaders(); |
798 | | ::google::protobuf::RepeatedPtrField< ::yb::CloudInfoPB >* |
799 | | mutable_affinitized_leaders(); |
800 | | const ::google::protobuf::RepeatedPtrField< ::yb::CloudInfoPB >& |
801 | | affinitized_leaders() const; |
802 | | |
803 | | // optional .yb.master.PlacementInfoPB live_replicas = 1; |
804 | | bool has_live_replicas() const; |
805 | | void clear_live_replicas(); |
806 | | static const int kLiveReplicasFieldNumber = 1; |
807 | | const ::yb::master::PlacementInfoPB& live_replicas() const; |
808 | | ::yb::master::PlacementInfoPB* release_live_replicas(); |
809 | | ::yb::master::PlacementInfoPB* mutable_live_replicas(); |
810 | | void set_allocated_live_replicas(::yb::master::PlacementInfoPB* live_replicas); |
811 | | |
812 | | // @@protoc_insertion_point(class_scope:yb.master.ReplicationInfoPB) |
813 | | private: |
814 | | void set_has_live_replicas(); |
815 | | void clear_has_live_replicas(); |
816 | | |
817 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
818 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
819 | | mutable int _cached_size_; |
820 | | ::google::protobuf::RepeatedPtrField< ::yb::master::PlacementInfoPB > read_replicas_; |
821 | | ::google::protobuf::RepeatedPtrField< ::yb::CloudInfoPB > affinitized_leaders_; |
822 | | ::yb::master::PlacementInfoPB* live_replicas_; |
823 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
824 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsReplicationInfoPBImpl(); |
825 | | }; |
826 | | // ------------------------------------------------------------------- |
827 | | |
828 | | class BackfillJobPB_BackfillStateEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<BackfillJobPB_BackfillStateEntry_DoNotUse, |
829 | | ::std::string, ::yb::master::BackfillJobPB_State, |
830 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
831 | | ::google::protobuf::internal::WireFormatLite::TYPE_ENUM, |
832 | | 0 > { |
833 | | public: |
834 | | typedef ::google::protobuf::internal::MapEntry<BackfillJobPB_BackfillStateEntry_DoNotUse, |
835 | | ::std::string, ::yb::master::BackfillJobPB_State, |
836 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
837 | | ::google::protobuf::internal::WireFormatLite::TYPE_ENUM, |
838 | | 0 > SuperType; |
839 | | BackfillJobPB_BackfillStateEntry_DoNotUse(); |
840 | | BackfillJobPB_BackfillStateEntry_DoNotUse(::google::protobuf::Arena* arena); |
841 | | void MergeFrom(const BackfillJobPB_BackfillStateEntry_DoNotUse& other); |
842 | 33.6k | static const BackfillJobPB_BackfillStateEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const BackfillJobPB_BackfillStateEntry_DoNotUse*>(&_BackfillJobPB_BackfillStateEntry_DoNotUse_default_instance_); } |
843 | | void MergeFrom(const ::google::protobuf::Message& other) PROTOBUF_FINAL; |
844 | | ::google::protobuf::Metadata GetMetadata() const; |
845 | | }; |
846 | | |
847 | | // ------------------------------------------------------------------- |
848 | | |
849 | | class BackfillJobPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.BackfillJobPB) */ { |
850 | | public: |
851 | | BackfillJobPB(); |
852 | | virtual ~BackfillJobPB(); |
853 | | |
854 | | BackfillJobPB(const BackfillJobPB& from); |
855 | | |
856 | 0 | inline BackfillJobPB& operator=(const BackfillJobPB& from) { |
857 | 0 | CopyFrom(from); |
858 | 0 | return *this; |
859 | 0 | } |
860 | | #if LANG_CXX11 |
861 | | BackfillJobPB(BackfillJobPB&& from) noexcept |
862 | 0 | : BackfillJobPB() { |
863 | 0 | *this = ::std::move(from); |
864 | 0 | } |
865 | | |
866 | | inline BackfillJobPB& operator=(BackfillJobPB&& from) noexcept { |
867 | | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
868 | | if (this != &from) InternalSwap(&from); |
869 | | } else { |
870 | | CopyFrom(from); |
871 | | } |
872 | | return *this; |
873 | | } |
874 | | #endif |
875 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
876 | 0 | return _internal_metadata_.unknown_fields(); |
877 | 0 | } |
878 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
879 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
880 | 0 | } |
881 | | |
882 | | static const ::google::protobuf::Descriptor* descriptor(); |
883 | | static const BackfillJobPB& default_instance(); |
884 | | |
885 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
886 | 37.4k | static inline const BackfillJobPB* internal_default_instance() { |
887 | 37.4k | return reinterpret_cast<const BackfillJobPB*>( |
888 | 37.4k | &_BackfillJobPB_default_instance_); |
889 | 37.4k | } |
890 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
891 | | 4; |
892 | | |
893 | | void Swap(BackfillJobPB* other); |
894 | 0 | friend void swap(BackfillJobPB& a, BackfillJobPB& b) { |
895 | 0 | a.Swap(&b); |
896 | 0 | } |
897 | | |
898 | | // implements Message ---------------------------------------------- |
899 | | |
900 | 0 | inline BackfillJobPB* New() const PROTOBUF_FINAL { return New(NULL); } |
901 | | |
902 | | BackfillJobPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
903 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
904 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
905 | | void CopyFrom(const BackfillJobPB& from); |
906 | | void MergeFrom(const BackfillJobPB& from); |
907 | | void Clear() PROTOBUF_FINAL; |
908 | | bool IsInitialized() const PROTOBUF_FINAL; |
909 | | |
910 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
911 | | bool MergePartialFromCodedStream( |
912 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
913 | | void SerializeWithCachedSizes( |
914 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
915 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
916 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
917 | 5.83k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
918 | | private: |
919 | | void SharedCtor(); |
920 | | void SharedDtor(); |
921 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
922 | | void InternalSwap(BackfillJobPB* other); |
923 | | private: |
924 | | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
925 | | return NULL; |
926 | | } |
927 | 0 | inline void* MaybeArenaPtr() const { |
928 | 0 | return NULL; |
929 | 0 | } |
930 | | public: |
931 | | |
932 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
933 | | |
934 | | // nested types ---------------------------------------------------- |
935 | | |
936 | | |
937 | | typedef BackfillJobPB_State State; |
938 | | static const State IN_PROGRESS = |
939 | | BackfillJobPB_State_IN_PROGRESS; |
940 | | static const State FAILED = |
941 | | BackfillJobPB_State_FAILED; |
942 | | static const State SUCCESS = |
943 | | BackfillJobPB_State_SUCCESS; |
944 | 0 | static inline bool State_IsValid(int value) { |
945 | 0 | return BackfillJobPB_State_IsValid(value); |
946 | 0 | } |
947 | | static const State State_MIN = |
948 | | BackfillJobPB_State_State_MIN; |
949 | | static const State State_MAX = |
950 | | BackfillJobPB_State_State_MAX; |
951 | | static const int State_ARRAYSIZE = |
952 | | BackfillJobPB_State_State_ARRAYSIZE; |
953 | | static inline const ::google::protobuf::EnumDescriptor* |
954 | 0 | State_descriptor() { |
955 | 0 | return BackfillJobPB_State_descriptor(); |
956 | 0 | } |
957 | 0 | static inline const ::std::string& State_Name(State value) { |
958 | 0 | return BackfillJobPB_State_Name(value); |
959 | 0 | } |
960 | | static inline bool State_Parse(const ::std::string& name, |
961 | 0 | State* value) { |
962 | 0 | return BackfillJobPB_State_Parse(name, value); |
963 | 0 | } |
964 | | |
965 | | // accessors ------------------------------------------------------- |
966 | | |
967 | | // repeated .yb.IndexInfoPB indexes = 1; |
968 | | int indexes_size() const; |
969 | | void clear_indexes(); |
970 | | static const int kIndexesFieldNumber = 1; |
971 | | const ::yb::IndexInfoPB& indexes(int index) const; |
972 | | ::yb::IndexInfoPB* mutable_indexes(int index); |
973 | | ::yb::IndexInfoPB* add_indexes(); |
974 | | ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >* |
975 | | mutable_indexes(); |
976 | | const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >& |
977 | | indexes() const; |
978 | | |
979 | | // map<string, .yb.master.BackfillJobPB.State> backfill_state = 2; |
980 | | int backfill_state_size() const; |
981 | | void clear_backfill_state(); |
982 | | static const int kBackfillStateFieldNumber = 2; |
983 | | const ::google::protobuf::Map< ::std::string, ::yb::master::BackfillJobPB_State >& |
984 | | backfill_state() const; |
985 | | ::google::protobuf::Map< ::std::string, ::yb::master::BackfillJobPB_State >* |
986 | | mutable_backfill_state(); |
987 | | |
988 | | // optional uint64 backfilling_timestamp = 3; |
989 | | bool has_backfilling_timestamp() const; |
990 | | void clear_backfilling_timestamp(); |
991 | | static const int kBackfillingTimestampFieldNumber = 3; |
992 | | ::google::protobuf::uint64 backfilling_timestamp() const; |
993 | | void set_backfilling_timestamp(::google::protobuf::uint64 value); |
994 | | |
995 | | // optional uint64 num_rows_processed = 4 [default = 0]; |
996 | | bool has_num_rows_processed() const; |
997 | | void clear_num_rows_processed(); |
998 | | static const int kNumRowsProcessedFieldNumber = 4; |
999 | | ::google::protobuf::uint64 num_rows_processed() const; |
1000 | | void set_num_rows_processed(::google::protobuf::uint64 value); |
1001 | | |
1002 | | // @@protoc_insertion_point(class_scope:yb.master.BackfillJobPB) |
1003 | | private: |
1004 | | void set_has_num_rows_processed(); |
1005 | | void clear_has_num_rows_processed(); |
1006 | | void set_has_backfilling_timestamp(); |
1007 | | void clear_has_backfilling_timestamp(); |
1008 | | |
1009 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1010 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1011 | | mutable int _cached_size_; |
1012 | | ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB > indexes_; |
1013 | | ::google::protobuf::internal::MapField< |
1014 | | BackfillJobPB_BackfillStateEntry_DoNotUse, |
1015 | | ::std::string, ::yb::master::BackfillJobPB_State, |
1016 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
1017 | | ::google::protobuf::internal::WireFormatLite::TYPE_ENUM, |
1018 | | 0 > backfill_state_; |
1019 | | ::google::protobuf::uint64 backfilling_timestamp_; |
1020 | | ::google::protobuf::uint64 num_rows_processed_; |
1021 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
1022 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsBackfillJobPBImpl(); |
1023 | | }; |
1024 | | // ------------------------------------------------------------------- |
1025 | | |
1026 | | class SysTablesEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysTablesEntryPB) */ { |
1027 | | public: |
1028 | | SysTablesEntryPB(); |
1029 | | virtual ~SysTablesEntryPB(); |
1030 | | |
1031 | | SysTablesEntryPB(const SysTablesEntryPB& from); |
1032 | | |
1033 | 0 | inline SysTablesEntryPB& operator=(const SysTablesEntryPB& from) { |
1034 | 0 | CopyFrom(from); |
1035 | 0 | return *this; |
1036 | 0 | } |
1037 | | #if LANG_CXX11 |
1038 | | SysTablesEntryPB(SysTablesEntryPB&& from) noexcept |
1039 | 586k | : SysTablesEntryPB() { |
1040 | 586k | *this = ::std::move(from); |
1041 | 586k | } Unexecuted instantiation: yb::master::SysTablesEntryPB::SysTablesEntryPB(yb::master::SysTablesEntryPB&&) yb::master::SysTablesEntryPB::SysTablesEntryPB(yb::master::SysTablesEntryPB&&) Line | Count | Source | 1039 | 586k | : SysTablesEntryPB() { | 1040 | 586k | *this = ::std::move(from); | 1041 | 586k | } |
|
1042 | | |
1043 | 1.70M | inline SysTablesEntryPB& operator=(SysTablesEntryPB&& from) noexcept { |
1044 | 1.70M | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1045 | 1.70M | if (this != &from1.70M ) InternalSwap(&from); |
1046 | 1.70M | } else { |
1047 | 2 | CopyFrom(from); |
1048 | 2 | } |
1049 | 1.70M | return *this; |
1050 | 1.70M | } |
1051 | | #endif |
1052 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1053 | 0 | return _internal_metadata_.unknown_fields(); |
1054 | 0 | } |
1055 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1056 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1057 | 0 | } |
1058 | | |
1059 | | static const ::google::protobuf::Descriptor* descriptor(); |
1060 | | static const SysTablesEntryPB& default_instance(); |
1061 | | |
1062 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1063 | 18.8M | static inline const SysTablesEntryPB* internal_default_instance() { |
1064 | 18.8M | return reinterpret_cast<const SysTablesEntryPB*>( |
1065 | 18.8M | &_SysTablesEntryPB_default_instance_); |
1066 | 18.8M | } |
1067 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1068 | | 5; |
1069 | | |
1070 | | void Swap(SysTablesEntryPB* other); |
1071 | 0 | friend void swap(SysTablesEntryPB& a, SysTablesEntryPB& b) { |
1072 | 0 | a.Swap(&b); |
1073 | 0 | } |
1074 | | |
1075 | | // implements Message ---------------------------------------------- |
1076 | | |
1077 | 0 | inline SysTablesEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1078 | | |
1079 | | SysTablesEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1080 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1081 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1082 | | void CopyFrom(const SysTablesEntryPB& from); |
1083 | | void MergeFrom(const SysTablesEntryPB& from); |
1084 | | void Clear() PROTOBUF_FINAL; |
1085 | | bool IsInitialized() const PROTOBUF_FINAL; |
1086 | | |
1087 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1088 | | bool MergePartialFromCodedStream( |
1089 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1090 | | void SerializeWithCachedSizes( |
1091 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1092 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1093 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1094 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1095 | | private: |
1096 | | void SharedCtor(); |
1097 | | void SharedDtor(); |
1098 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1099 | | void InternalSwap(SysTablesEntryPB* other); |
1100 | | private: |
1101 | 3.41M | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1102 | 3.41M | return NULL; |
1103 | 3.41M | } |
1104 | 0 | inline void* MaybeArenaPtr() const { |
1105 | 0 | return NULL; |
1106 | 0 | } |
1107 | | public: |
1108 | | |
1109 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1110 | | |
1111 | | // nested types ---------------------------------------------------- |
1112 | | |
1113 | | typedef SysTablesEntryPB_State State; |
1114 | | static const State UNKNOWN = |
1115 | | SysTablesEntryPB_State_UNKNOWN; |
1116 | | static const State PREPARING = |
1117 | | SysTablesEntryPB_State_PREPARING; |
1118 | | static const State RUNNING = |
1119 | | SysTablesEntryPB_State_RUNNING; |
1120 | | static const State ALTERING = |
1121 | | SysTablesEntryPB_State_ALTERING; |
1122 | | static const State DELETING = |
1123 | | SysTablesEntryPB_State_DELETING; |
1124 | | static const State DELETED = |
1125 | | SysTablesEntryPB_State_DELETED; |
1126 | 0 | static inline bool State_IsValid(int value) { |
1127 | 0 | return SysTablesEntryPB_State_IsValid(value); |
1128 | 0 | } |
1129 | | static const State State_MIN = |
1130 | | SysTablesEntryPB_State_State_MIN; |
1131 | | static const State State_MAX = |
1132 | | SysTablesEntryPB_State_State_MAX; |
1133 | | static const int State_ARRAYSIZE = |
1134 | | SysTablesEntryPB_State_State_ARRAYSIZE; |
1135 | | static inline const ::google::protobuf::EnumDescriptor* |
1136 | 0 | State_descriptor() { |
1137 | 0 | return SysTablesEntryPB_State_descriptor(); |
1138 | 0 | } |
1139 | 451k | static inline const ::std::string& State_Name(State value) { |
1140 | 451k | return SysTablesEntryPB_State_Name(value); |
1141 | 451k | } |
1142 | | static inline bool State_Parse(const ::std::string& name, |
1143 | 0 | State* value) { |
1144 | 0 | return SysTablesEntryPB_State_Parse(name, value); |
1145 | 0 | } |
1146 | | |
1147 | | typedef SysTablesEntryPB_HideState HideState; |
1148 | | static const HideState VISIBLE = |
1149 | | SysTablesEntryPB_HideState_VISIBLE; |
1150 | | static const HideState HIDING = |
1151 | | SysTablesEntryPB_HideState_HIDING; |
1152 | | static const HideState HIDDEN = |
1153 | | SysTablesEntryPB_HideState_HIDDEN; |
1154 | 0 | static inline bool HideState_IsValid(int value) { |
1155 | 0 | return SysTablesEntryPB_HideState_IsValid(value); |
1156 | 0 | } |
1157 | | static const HideState HideState_MIN = |
1158 | | SysTablesEntryPB_HideState_HideState_MIN; |
1159 | | static const HideState HideState_MAX = |
1160 | | SysTablesEntryPB_HideState_HideState_MAX; |
1161 | | static const int HideState_ARRAYSIZE = |
1162 | | SysTablesEntryPB_HideState_HideState_ARRAYSIZE; |
1163 | | static inline const ::google::protobuf::EnumDescriptor* |
1164 | 0 | HideState_descriptor() { |
1165 | 0 | return SysTablesEntryPB_HideState_descriptor(); |
1166 | 0 | } |
1167 | 0 | static inline const ::std::string& HideState_Name(HideState value) { |
1168 | 0 | return SysTablesEntryPB_HideState_Name(value); |
1169 | 0 | } |
1170 | | static inline bool HideState_Parse(const ::std::string& name, |
1171 | 0 | HideState* value) { |
1172 | 0 | return SysTablesEntryPB_HideState_Parse(name, value); |
1173 | 0 | } |
1174 | | |
1175 | | // accessors ------------------------------------------------------- |
1176 | | |
1177 | | // repeated .yb.IndexInfoPB indexes = 12; |
1178 | | int indexes_size() const; |
1179 | | void clear_indexes(); |
1180 | | static const int kIndexesFieldNumber = 12; |
1181 | | const ::yb::IndexInfoPB& indexes(int index) const; |
1182 | | ::yb::IndexInfoPB* mutable_indexes(int index); |
1183 | | ::yb::IndexInfoPB* add_indexes(); |
1184 | | ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >* |
1185 | | mutable_indexes(); |
1186 | | const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >& |
1187 | | indexes() const; |
1188 | | |
1189 | | // repeated .yb.IndexInfoPB fully_applied_indexes = 26; |
1190 | | int fully_applied_indexes_size() const; |
1191 | | void clear_fully_applied_indexes(); |
1192 | | static const int kFullyAppliedIndexesFieldNumber = 26; |
1193 | | const ::yb::IndexInfoPB& fully_applied_indexes(int index) const; |
1194 | | ::yb::IndexInfoPB* mutable_fully_applied_indexes(int index); |
1195 | | ::yb::IndexInfoPB* add_fully_applied_indexes(); |
1196 | | ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >* |
1197 | | mutable_fully_applied_indexes(); |
1198 | | const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >& |
1199 | | fully_applied_indexes() const; |
1200 | | |
1201 | | // repeated .yb.master.BackfillJobPB backfill_jobs = 32; |
1202 | | int backfill_jobs_size() const; |
1203 | | void clear_backfill_jobs(); |
1204 | | static const int kBackfillJobsFieldNumber = 32; |
1205 | | const ::yb::master::BackfillJobPB& backfill_jobs(int index) const; |
1206 | | ::yb::master::BackfillJobPB* mutable_backfill_jobs(int index); |
1207 | | ::yb::master::BackfillJobPB* add_backfill_jobs(); |
1208 | | ::google::protobuf::RepeatedPtrField< ::yb::master::BackfillJobPB >* |
1209 | | mutable_backfill_jobs(); |
1210 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::BackfillJobPB >& |
1211 | | backfill_jobs() const; |
1212 | | |
1213 | | // required bytes name = 1; |
1214 | | bool has_name() const; |
1215 | | void clear_name(); |
1216 | | static const int kNameFieldNumber = 1; |
1217 | | const ::std::string& name() const; |
1218 | | void set_name(const ::std::string& value); |
1219 | | #if LANG_CXX11 |
1220 | | void set_name(::std::string&& value); |
1221 | | #endif |
1222 | | void set_name(const char* value); |
1223 | | void set_name(const void* value, size_t size); |
1224 | | ::std::string* mutable_name(); |
1225 | | ::std::string* release_name(); |
1226 | | void set_allocated_name(::std::string* name); |
1227 | | |
1228 | | // optional bytes state_msg = 7; |
1229 | | bool has_state_msg() const; |
1230 | | void clear_state_msg(); |
1231 | | static const int kStateMsgFieldNumber = 7; |
1232 | | const ::std::string& state_msg() const; |
1233 | | void set_state_msg(const ::std::string& value); |
1234 | | #if LANG_CXX11 |
1235 | | void set_state_msg(::std::string&& value); |
1236 | | #endif |
1237 | | void set_state_msg(const char* value); |
1238 | | void set_state_msg(const void* value, size_t size); |
1239 | | ::std::string* mutable_state_msg(); |
1240 | | ::std::string* release_state_msg(); |
1241 | | void set_allocated_state_msg(::std::string* state_msg); |
1242 | | |
1243 | | // optional bytes namespace_id = 11; |
1244 | | bool has_namespace_id() const; |
1245 | | void clear_namespace_id(); |
1246 | | static const int kNamespaceIdFieldNumber = 11; |
1247 | | const ::std::string& namespace_id() const; |
1248 | | void set_namespace_id(const ::std::string& value); |
1249 | | #if LANG_CXX11 |
1250 | | void set_namespace_id(::std::string&& value); |
1251 | | #endif |
1252 | | void set_namespace_id(const char* value); |
1253 | | void set_namespace_id(const void* value, size_t size); |
1254 | | ::std::string* mutable_namespace_id(); |
1255 | | ::std::string* release_namespace_id(); |
1256 | | void set_allocated_namespace_id(::std::string* namespace_id); |
1257 | | |
1258 | | // optional bytes indexed_table_id = 13; |
1259 | | bool has_indexed_table_id() const; |
1260 | | void clear_indexed_table_id(); |
1261 | | static const int kIndexedTableIdFieldNumber = 13; |
1262 | | const ::std::string& indexed_table_id() const; |
1263 | | void set_indexed_table_id(const ::std::string& value); |
1264 | | #if LANG_CXX11 |
1265 | | void set_indexed_table_id(::std::string&& value); |
1266 | | #endif |
1267 | | void set_indexed_table_id(const char* value); |
1268 | | void set_indexed_table_id(const void* value, size_t size); |
1269 | | ::std::string* mutable_indexed_table_id(); |
1270 | | ::std::string* release_indexed_table_id(); |
1271 | | void set_allocated_indexed_table_id(::std::string* indexed_table_id); |
1272 | | |
1273 | | // optional bytes namespace_name = 30; |
1274 | | bool has_namespace_name() const; |
1275 | | void clear_namespace_name(); |
1276 | | static const int kNamespaceNameFieldNumber = 30; |
1277 | | const ::std::string& namespace_name() const; |
1278 | | void set_namespace_name(const ::std::string& value); |
1279 | | #if LANG_CXX11 |
1280 | | void set_namespace_name(::std::string&& value); |
1281 | | #endif |
1282 | | void set_namespace_name(const char* value); |
1283 | | void set_namespace_name(const void* value, size_t size); |
1284 | | ::std::string* mutable_namespace_name(); |
1285 | | ::std::string* release_namespace_name(); |
1286 | | void set_allocated_namespace_name(::std::string* namespace_name); |
1287 | | |
1288 | | // optional bytes transaction_table_tablespace_id = 34; |
1289 | | bool has_transaction_table_tablespace_id() const; |
1290 | | void clear_transaction_table_tablespace_id(); |
1291 | | static const int kTransactionTableTablespaceIdFieldNumber = 34; |
1292 | | const ::std::string& transaction_table_tablespace_id() const; |
1293 | | void set_transaction_table_tablespace_id(const ::std::string& value); |
1294 | | #if LANG_CXX11 |
1295 | | void set_transaction_table_tablespace_id(::std::string&& value); |
1296 | | #endif |
1297 | | void set_transaction_table_tablespace_id(const char* value); |
1298 | | void set_transaction_table_tablespace_id(const void* value, size_t size); |
1299 | | ::std::string* mutable_transaction_table_tablespace_id(); |
1300 | | ::std::string* release_transaction_table_tablespace_id(); |
1301 | | void set_allocated_transaction_table_tablespace_id(::std::string* transaction_table_tablespace_id); |
1302 | | |
1303 | | // required .yb.SchemaPB schema = 3; |
1304 | | bool has_schema() const; |
1305 | | void clear_schema(); |
1306 | | static const int kSchemaFieldNumber = 3; |
1307 | | const ::yb::SchemaPB& schema() const; |
1308 | | ::yb::SchemaPB* release_schema(); |
1309 | | ::yb::SchemaPB* mutable_schema(); |
1310 | | void set_allocated_schema(::yb::SchemaPB* schema); |
1311 | | |
1312 | | // optional .yb.SchemaPB fully_applied_schema = 4; |
1313 | | bool has_fully_applied_schema() const; |
1314 | | void clear_fully_applied_schema(); |
1315 | | static const int kFullyAppliedSchemaFieldNumber = 4; |
1316 | | const ::yb::SchemaPB& fully_applied_schema() const; |
1317 | | ::yb::SchemaPB* release_fully_applied_schema(); |
1318 | | ::yb::SchemaPB* mutable_fully_applied_schema(); |
1319 | | void set_allocated_fully_applied_schema(::yb::SchemaPB* fully_applied_schema); |
1320 | | |
1321 | | // optional .yb.master.ReplicationInfoPB replication_info = 5; |
1322 | | bool has_replication_info() const; |
1323 | | void clear_replication_info(); |
1324 | | static const int kReplicationInfoFieldNumber = 5; |
1325 | | const ::yb::master::ReplicationInfoPB& replication_info() const; |
1326 | | ::yb::master::ReplicationInfoPB* release_replication_info(); |
1327 | | ::yb::master::ReplicationInfoPB* mutable_replication_info(); |
1328 | | void set_allocated_replication_info(::yb::master::ReplicationInfoPB* replication_info); |
1329 | | |
1330 | | // optional .yb.PartitionSchemaPB partition_schema = 9; |
1331 | | bool has_partition_schema() const; |
1332 | | void clear_partition_schema(); |
1333 | | static const int kPartitionSchemaFieldNumber = 9; |
1334 | | const ::yb::PartitionSchemaPB& partition_schema() const; |
1335 | | ::yb::PartitionSchemaPB* release_partition_schema(); |
1336 | | ::yb::PartitionSchemaPB* mutable_partition_schema(); |
1337 | | void set_allocated_partition_schema(::yb::PartitionSchemaPB* partition_schema); |
1338 | | |
1339 | | // optional .yb.IndexInfoPB index_info = 22; |
1340 | | bool has_index_info() const; |
1341 | | void clear_index_info(); |
1342 | | static const int kIndexInfoFieldNumber = 22; |
1343 | | const ::yb::IndexInfoPB& index_info() const; |
1344 | | ::yb::IndexInfoPB* release_index_info(); |
1345 | | ::yb::IndexInfoPB* mutable_index_info(); |
1346 | | void set_allocated_index_info(::yb::IndexInfoPB* index_info); |
1347 | | |
1348 | | // optional .yb.IndexInfoPB fully_applied_index_info = 27; |
1349 | | bool has_fully_applied_index_info() const; |
1350 | | void clear_fully_applied_index_info(); |
1351 | | static const int kFullyAppliedIndexInfoFieldNumber = 27; |
1352 | | const ::yb::IndexInfoPB& fully_applied_index_info() const; |
1353 | | ::yb::IndexInfoPB* release_fully_applied_index_info(); |
1354 | | ::yb::IndexInfoPB* mutable_fully_applied_index_info(); |
1355 | | void set_allocated_fully_applied_index_info(::yb::IndexInfoPB* fully_applied_index_info); |
1356 | | |
1357 | | // optional .yb.TransactionMetadataPB transaction = 29; |
1358 | | bool has_transaction() const; |
1359 | | void clear_transaction(); |
1360 | | static const int kTransactionFieldNumber = 29; |
1361 | | const ::yb::TransactionMetadataPB& transaction() const; |
1362 | | ::yb::TransactionMetadataPB* release_transaction(); |
1363 | | ::yb::TransactionMetadataPB* mutable_transaction(); |
1364 | | void set_allocated_transaction(::yb::TransactionMetadataPB* transaction); |
1365 | | |
1366 | | // required uint32 version = 2; |
1367 | | bool has_version() const; |
1368 | | void clear_version(); |
1369 | | static const int kVersionFieldNumber = 2; |
1370 | | ::google::protobuf::uint32 version() const; |
1371 | | void set_version(::google::protobuf::uint32 value); |
1372 | | |
1373 | | // optional .yb.master.SysTablesEntryPB.State state = 6 [default = UNKNOWN]; |
1374 | | bool has_state() const; |
1375 | | void clear_state(); |
1376 | | static const int kStateFieldNumber = 6; |
1377 | | ::yb::master::SysTablesEntryPB_State state() const; |
1378 | | void set_state(::yb::master::SysTablesEntryPB_State value); |
1379 | | |
1380 | | // optional int32 next_column_id = 8; |
1381 | | bool has_next_column_id() const; |
1382 | | void clear_next_column_id(); |
1383 | | static const int kNextColumnIdFieldNumber = 8; |
1384 | | ::google::protobuf::int32 next_column_id() const; |
1385 | | void set_next_column_id(::google::protobuf::int32 value); |
1386 | | |
1387 | | // optional bool is_local_index = 14 [default = false]; |
1388 | | bool has_is_local_index() const; |
1389 | | void clear_is_local_index(); |
1390 | | static const int kIsLocalIndexFieldNumber = 14; |
1391 | | bool is_local_index() const; |
1392 | | void set_is_local_index(bool value); |
1393 | | |
1394 | | // optional bool is_unique_index = 15 [default = false]; |
1395 | | bool has_is_unique_index() const; |
1396 | | void clear_is_unique_index(); |
1397 | | static const int kIsUniqueIndexFieldNumber = 15; |
1398 | | bool is_unique_index() const; |
1399 | | void set_is_unique_index(bool value); |
1400 | | |
1401 | | // optional bool is_pg_shared_table = 16 [default = false]; |
1402 | | bool has_is_pg_shared_table() const; |
1403 | | void clear_is_pg_shared_table(); |
1404 | | static const int kIsPgSharedTableFieldNumber = 16; |
1405 | | bool is_pg_shared_table() const; |
1406 | | void set_is_pg_shared_table(bool value); |
1407 | | |
1408 | | // optional bool colocated = 25 [default = false]; |
1409 | | bool has_colocated() const; |
1410 | | void clear_colocated(); |
1411 | | static const int kColocatedFieldNumber = 25; |
1412 | | bool colocated() const; |
1413 | | void set_colocated(bool value); |
1414 | | |
1415 | | // optional uint32 fully_applied_schema_version = 23; |
1416 | | bool has_fully_applied_schema_version() const; |
1417 | | void clear_fully_applied_schema_version(); |
1418 | | static const int kFullyAppliedSchemaVersionFieldNumber = 23; |
1419 | | ::google::protobuf::uint32 fully_applied_schema_version() const; |
1420 | | void set_fully_applied_schema_version(::google::protobuf::uint32 value); |
1421 | | |
1422 | | // optional uint32 wal_retention_secs = 24; |
1423 | | bool has_wal_retention_secs() const; |
1424 | | void clear_wal_retention_secs(); |
1425 | | static const int kWalRetentionSecsFieldNumber = 24; |
1426 | | ::google::protobuf::uint32 wal_retention_secs() const; |
1427 | | void set_wal_retention_secs(::google::protobuf::uint32 value); |
1428 | | |
1429 | | // optional uint32 partition_list_version = 28; |
1430 | | bool has_partition_list_version() const; |
1431 | | void clear_partition_list_version(); |
1432 | | static const int kPartitionListVersionFieldNumber = 28; |
1433 | | ::google::protobuf::uint32 partition_list_version() const; |
1434 | | void set_partition_list_version(::google::protobuf::uint32 value); |
1435 | | |
1436 | | // optional bool updates_only_index_permissions = 31 [default = false]; |
1437 | | bool has_updates_only_index_permissions() const; |
1438 | | void clear_updates_only_index_permissions(); |
1439 | | static const int kUpdatesOnlyIndexPermissionsFieldNumber = 31; |
1440 | | bool updates_only_index_permissions() const; |
1441 | | void set_updates_only_index_permissions(bool value); |
1442 | | |
1443 | | // optional .yb.master.SysTablesEntryPB.HideState hide_state = 33; |
1444 | | bool has_hide_state() const; |
1445 | | void clear_hide_state(); |
1446 | | static const int kHideStateFieldNumber = 33; |
1447 | | ::yb::master::SysTablesEntryPB_HideState hide_state() const; |
1448 | | void set_hide_state(::yb::master::SysTablesEntryPB_HideState value); |
1449 | | |
1450 | | // optional .yb.TableType table_type = 10 [default = DEFAULT_TABLE_TYPE]; |
1451 | | bool has_table_type() const; |
1452 | | void clear_table_type(); |
1453 | | static const int kTableTypeFieldNumber = 10; |
1454 | | ::yb::TableType table_type() const; |
1455 | | void set_table_type(::yb::TableType value); |
1456 | | |
1457 | | // @@protoc_insertion_point(class_scope:yb.master.SysTablesEntryPB) |
1458 | | private: |
1459 | | void set_has_name(); |
1460 | | void clear_has_name(); |
1461 | | void set_has_table_type(); |
1462 | | void clear_has_table_type(); |
1463 | | void set_has_namespace_id(); |
1464 | | void clear_has_namespace_id(); |
1465 | | void set_has_namespace_name(); |
1466 | | void clear_has_namespace_name(); |
1467 | | void set_has_version(); |
1468 | | void clear_has_version(); |
1469 | | void set_has_schema(); |
1470 | | void clear_has_schema(); |
1471 | | void set_has_fully_applied_schema(); |
1472 | | void clear_has_fully_applied_schema(); |
1473 | | void set_has_partition_schema(); |
1474 | | void clear_has_partition_schema(); |
1475 | | void set_has_partition_list_version(); |
1476 | | void clear_has_partition_list_version(); |
1477 | | void set_has_next_column_id(); |
1478 | | void clear_has_next_column_id(); |
1479 | | void set_has_replication_info(); |
1480 | | void clear_has_replication_info(); |
1481 | | void set_has_state(); |
1482 | | void clear_has_state(); |
1483 | | void set_has_state_msg(); |
1484 | | void clear_has_state_msg(); |
1485 | | void set_has_indexed_table_id(); |
1486 | | void clear_has_indexed_table_id(); |
1487 | | void set_has_is_local_index(); |
1488 | | void clear_has_is_local_index(); |
1489 | | void set_has_is_unique_index(); |
1490 | | void clear_has_is_unique_index(); |
1491 | | void set_has_index_info(); |
1492 | | void clear_has_index_info(); |
1493 | | void set_has_is_pg_shared_table(); |
1494 | | void clear_has_is_pg_shared_table(); |
1495 | | void set_has_wal_retention_secs(); |
1496 | | void clear_has_wal_retention_secs(); |
1497 | | void set_has_colocated(); |
1498 | | void clear_has_colocated(); |
1499 | | void set_has_fully_applied_schema_version(); |
1500 | | void clear_has_fully_applied_schema_version(); |
1501 | | void set_has_fully_applied_index_info(); |
1502 | | void clear_has_fully_applied_index_info(); |
1503 | | void set_has_transaction(); |
1504 | | void clear_has_transaction(); |
1505 | | void set_has_updates_only_index_permissions(); |
1506 | | void clear_has_updates_only_index_permissions(); |
1507 | | void set_has_hide_state(); |
1508 | | void clear_has_hide_state(); |
1509 | | void set_has_transaction_table_tablespace_id(); |
1510 | | void clear_has_transaction_table_tablespace_id(); |
1511 | | |
1512 | | // helper for ByteSizeLong() |
1513 | | size_t RequiredFieldsByteSizeFallback() const; |
1514 | | |
1515 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1516 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1517 | | mutable int _cached_size_; |
1518 | | ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB > indexes_; |
1519 | | ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB > fully_applied_indexes_; |
1520 | | ::google::protobuf::RepeatedPtrField< ::yb::master::BackfillJobPB > backfill_jobs_; |
1521 | | ::google::protobuf::internal::ArenaStringPtr name_; |
1522 | | ::google::protobuf::internal::ArenaStringPtr state_msg_; |
1523 | | ::google::protobuf::internal::ArenaStringPtr namespace_id_; |
1524 | | ::google::protobuf::internal::ArenaStringPtr indexed_table_id_; |
1525 | | ::google::protobuf::internal::ArenaStringPtr namespace_name_; |
1526 | | ::google::protobuf::internal::ArenaStringPtr transaction_table_tablespace_id_; |
1527 | | ::yb::SchemaPB* schema_; |
1528 | | ::yb::SchemaPB* fully_applied_schema_; |
1529 | | ::yb::master::ReplicationInfoPB* replication_info_; |
1530 | | ::yb::PartitionSchemaPB* partition_schema_; |
1531 | | ::yb::IndexInfoPB* index_info_; |
1532 | | ::yb::IndexInfoPB* fully_applied_index_info_; |
1533 | | ::yb::TransactionMetadataPB* transaction_; |
1534 | | ::google::protobuf::uint32 version_; |
1535 | | int state_; |
1536 | | ::google::protobuf::int32 next_column_id_; |
1537 | | bool is_local_index_; |
1538 | | bool is_unique_index_; |
1539 | | bool is_pg_shared_table_; |
1540 | | bool colocated_; |
1541 | | ::google::protobuf::uint32 fully_applied_schema_version_; |
1542 | | ::google::protobuf::uint32 wal_retention_secs_; |
1543 | | ::google::protobuf::uint32 partition_list_version_; |
1544 | | bool updates_only_index_permissions_; |
1545 | | int hide_state_; |
1546 | | int table_type_; |
1547 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
1548 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysTablesEntryPBImpl(); |
1549 | | }; |
1550 | | // ------------------------------------------------------------------- |
1551 | | |
1552 | | class SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse, |
1553 | | ::std::string, ::std::string, |
1554 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
1555 | | ::google::protobuf::internal::WireFormatLite::TYPE_BYTES, |
1556 | | 0 > { |
1557 | | public: |
1558 | | typedef ::google::protobuf::internal::MapEntry<SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse, |
1559 | | ::std::string, ::std::string, |
1560 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
1561 | | ::google::protobuf::internal::WireFormatLite::TYPE_BYTES, |
1562 | | 0 > SuperType; |
1563 | | SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse(); |
1564 | | SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse(::google::protobuf::Arena* arena); |
1565 | | void MergeFrom(const SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse& other); |
1566 | 573k | static const SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse*>(&_SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse_default_instance_); } |
1567 | | void MergeFrom(const ::google::protobuf::Message& other) PROTOBUF_FINAL; |
1568 | | ::google::protobuf::Metadata GetMetadata() const; |
1569 | | }; |
1570 | | |
1571 | | // ------------------------------------------------------------------- |
1572 | | |
1573 | | class SysTabletsEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysTabletsEntryPB) */ { |
1574 | | public: |
1575 | | SysTabletsEntryPB(); |
1576 | | virtual ~SysTabletsEntryPB(); |
1577 | | |
1578 | | SysTabletsEntryPB(const SysTabletsEntryPB& from); |
1579 | | |
1580 | 0 | inline SysTabletsEntryPB& operator=(const SysTabletsEntryPB& from) { |
1581 | 0 | CopyFrom(from); |
1582 | 0 | return *this; |
1583 | 0 | } |
1584 | | #if LANG_CXX11 |
1585 | | SysTabletsEntryPB(SysTabletsEntryPB&& from) noexcept |
1586 | 690k | : SysTabletsEntryPB() { |
1587 | 690k | *this = ::std::move(from); |
1588 | 690k | } Unexecuted instantiation: yb::master::SysTabletsEntryPB::SysTabletsEntryPB(yb::master::SysTabletsEntryPB&&) yb::master::SysTabletsEntryPB::SysTabletsEntryPB(yb::master::SysTabletsEntryPB&&) Line | Count | Source | 1586 | 690k | : SysTabletsEntryPB() { | 1587 | 690k | *this = ::std::move(from); | 1588 | 690k | } |
|
1589 | | |
1590 | 2.06M | inline SysTabletsEntryPB& operator=(SysTabletsEntryPB&& from) noexcept { |
1591 | 2.06M | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()2.06M ) { |
1592 | 2.06M | if (this != &from2.06M ) InternalSwap(&from); |
1593 | 18.4E | } else { |
1594 | 18.4E | CopyFrom(from); |
1595 | 18.4E | } |
1596 | 2.06M | return *this; |
1597 | 2.06M | } |
1598 | | #endif |
1599 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1600 | 0 | return _internal_metadata_.unknown_fields(); |
1601 | 0 | } |
1602 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1603 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1604 | 0 | } |
1605 | | |
1606 | | static const ::google::protobuf::Descriptor* descriptor(); |
1607 | | static const SysTabletsEntryPB& default_instance(); |
1608 | | |
1609 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1610 | 3.63M | static inline const SysTabletsEntryPB* internal_default_instance() { |
1611 | 3.63M | return reinterpret_cast<const SysTabletsEntryPB*>( |
1612 | 3.63M | &_SysTabletsEntryPB_default_instance_); |
1613 | 3.63M | } |
1614 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1615 | | 7; |
1616 | | |
1617 | | void Swap(SysTabletsEntryPB* other); |
1618 | 0 | friend void swap(SysTabletsEntryPB& a, SysTabletsEntryPB& b) { |
1619 | 0 | a.Swap(&b); |
1620 | 0 | } |
1621 | | |
1622 | | // implements Message ---------------------------------------------- |
1623 | | |
1624 | 0 | inline SysTabletsEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1625 | | |
1626 | | SysTabletsEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1627 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1628 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1629 | | void CopyFrom(const SysTabletsEntryPB& from); |
1630 | | void MergeFrom(const SysTabletsEntryPB& from); |
1631 | | void Clear() PROTOBUF_FINAL; |
1632 | | bool IsInitialized() const PROTOBUF_FINAL; |
1633 | | |
1634 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1635 | | bool MergePartialFromCodedStream( |
1636 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1637 | | void SerializeWithCachedSizes( |
1638 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1639 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1640 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1641 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1642 | | private: |
1643 | | void SharedCtor(); |
1644 | | void SharedDtor(); |
1645 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1646 | | void InternalSwap(SysTabletsEntryPB* other); |
1647 | | private: |
1648 | 4.13M | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1649 | 4.13M | return NULL; |
1650 | 4.13M | } |
1651 | 0 | inline void* MaybeArenaPtr() const { |
1652 | 0 | return NULL; |
1653 | 0 | } |
1654 | | public: |
1655 | | |
1656 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1657 | | |
1658 | | // nested types ---------------------------------------------------- |
1659 | | |
1660 | | |
1661 | | typedef SysTabletsEntryPB_State State; |
1662 | | static const State UNKNOWN = |
1663 | | SysTabletsEntryPB_State_UNKNOWN; |
1664 | | static const State PREPARING = |
1665 | | SysTabletsEntryPB_State_PREPARING; |
1666 | | static const State CREATING = |
1667 | | SysTabletsEntryPB_State_CREATING; |
1668 | | static const State RUNNING = |
1669 | | SysTabletsEntryPB_State_RUNNING; |
1670 | | static const State REPLACED = |
1671 | | SysTabletsEntryPB_State_REPLACED; |
1672 | | static const State DELETED = |
1673 | | SysTabletsEntryPB_State_DELETED; |
1674 | 0 | static inline bool State_IsValid(int value) { |
1675 | 0 | return SysTabletsEntryPB_State_IsValid(value); |
1676 | 0 | } |
1677 | | static const State State_MIN = |
1678 | | SysTabletsEntryPB_State_State_MIN; |
1679 | | static const State State_MAX = |
1680 | | SysTabletsEntryPB_State_State_MAX; |
1681 | | static const int State_ARRAYSIZE = |
1682 | | SysTabletsEntryPB_State_State_ARRAYSIZE; |
1683 | | static inline const ::google::protobuf::EnumDescriptor* |
1684 | 0 | State_descriptor() { |
1685 | 0 | return SysTabletsEntryPB_State_descriptor(); |
1686 | 0 | } |
1687 | 40 | static inline const ::std::string& State_Name(State value) { |
1688 | 40 | return SysTabletsEntryPB_State_Name(value); |
1689 | 40 | } |
1690 | | static inline bool State_Parse(const ::std::string& name, |
1691 | 0 | State* value) { |
1692 | 0 | return SysTabletsEntryPB_State_Parse(name, value); |
1693 | 0 | } |
1694 | | |
1695 | | // accessors ------------------------------------------------------- |
1696 | | |
1697 | | // repeated bytes table_ids = 8; |
1698 | | int table_ids_size() const; |
1699 | | void clear_table_ids(); |
1700 | | static const int kTableIdsFieldNumber = 8; |
1701 | | const ::std::string& table_ids(int index) const; |
1702 | | ::std::string* mutable_table_ids(int index); |
1703 | | void set_table_ids(int index, const ::std::string& value); |
1704 | | #if LANG_CXX11 |
1705 | | void set_table_ids(int index, ::std::string&& value); |
1706 | | #endif |
1707 | | void set_table_ids(int index, const char* value); |
1708 | | void set_table_ids(int index, const void* value, size_t size); |
1709 | | ::std::string* add_table_ids(); |
1710 | | void add_table_ids(const ::std::string& value); |
1711 | | #if LANG_CXX11 |
1712 | | void add_table_ids(::std::string&& value); |
1713 | | #endif |
1714 | | void add_table_ids(const char* value); |
1715 | | void add_table_ids(const void* value, size_t size); |
1716 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& table_ids() const; |
1717 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_table_ids(); |
1718 | | |
1719 | | // map<string, bytes> backfilled_until = 12; |
1720 | | int backfilled_until_size() const; |
1721 | | void clear_backfilled_until(); |
1722 | | static const int kBackfilledUntilFieldNumber = 12; |
1723 | | const ::google::protobuf::Map< ::std::string, ::std::string >& |
1724 | | backfilled_until() const; |
1725 | | ::google::protobuf::Map< ::std::string, ::std::string >* |
1726 | | mutable_backfilled_until(); |
1727 | | |
1728 | | // repeated bytes split_tablet_ids = 14; |
1729 | | int split_tablet_ids_size() const; |
1730 | | void clear_split_tablet_ids(); |
1731 | | static const int kSplitTabletIdsFieldNumber = 14; |
1732 | | const ::std::string& split_tablet_ids(int index) const; |
1733 | | ::std::string* mutable_split_tablet_ids(int index); |
1734 | | void set_split_tablet_ids(int index, const ::std::string& value); |
1735 | | #if LANG_CXX11 |
1736 | | void set_split_tablet_ids(int index, ::std::string&& value); |
1737 | | #endif |
1738 | | void set_split_tablet_ids(int index, const char* value); |
1739 | | void set_split_tablet_ids(int index, const void* value, size_t size); |
1740 | | ::std::string* add_split_tablet_ids(); |
1741 | | void add_split_tablet_ids(const ::std::string& value); |
1742 | | #if LANG_CXX11 |
1743 | | void add_split_tablet_ids(::std::string&& value); |
1744 | | #endif |
1745 | | void add_split_tablet_ids(const char* value); |
1746 | | void add_split_tablet_ids(const void* value, size_t size); |
1747 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& split_tablet_ids() const; |
1748 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_split_tablet_ids(); |
1749 | | |
1750 | | // repeated bytes retained_by_snapshot_schedules = 17; |
1751 | | int retained_by_snapshot_schedules_size() const; |
1752 | | void clear_retained_by_snapshot_schedules(); |
1753 | | static const int kRetainedBySnapshotSchedulesFieldNumber = 17; |
1754 | | const ::std::string& retained_by_snapshot_schedules(int index) const; |
1755 | | ::std::string* mutable_retained_by_snapshot_schedules(int index); |
1756 | | void set_retained_by_snapshot_schedules(int index, const ::std::string& value); |
1757 | | #if LANG_CXX11 |
1758 | | void set_retained_by_snapshot_schedules(int index, ::std::string&& value); |
1759 | | #endif |
1760 | | void set_retained_by_snapshot_schedules(int index, const char* value); |
1761 | | void set_retained_by_snapshot_schedules(int index, const void* value, size_t size); |
1762 | | ::std::string* add_retained_by_snapshot_schedules(); |
1763 | | void add_retained_by_snapshot_schedules(const ::std::string& value); |
1764 | | #if LANG_CXX11 |
1765 | | void add_retained_by_snapshot_schedules(::std::string&& value); |
1766 | | #endif |
1767 | | void add_retained_by_snapshot_schedules(const char* value); |
1768 | | void add_retained_by_snapshot_schedules(const void* value, size_t size); |
1769 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& retained_by_snapshot_schedules() const; |
1770 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_retained_by_snapshot_schedules(); |
1771 | | |
1772 | | // optional bytes OBSOLETE_start_key = 1; |
1773 | | bool has_obsolete_start_key() const; |
1774 | | void clear_obsolete_start_key(); |
1775 | | static const int kOBSOLETEStartKeyFieldNumber = 1; |
1776 | | const ::std::string& obsolete_start_key() const; |
1777 | | void set_obsolete_start_key(const ::std::string& value); |
1778 | | #if LANG_CXX11 |
1779 | | void set_obsolete_start_key(::std::string&& value); |
1780 | | #endif |
1781 | | void set_obsolete_start_key(const char* value); |
1782 | | void set_obsolete_start_key(const void* value, size_t size); |
1783 | | ::std::string* mutable_obsolete_start_key(); |
1784 | | ::std::string* release_obsolete_start_key(); |
1785 | | void set_allocated_obsolete_start_key(::std::string* obsolete_start_key); |
1786 | | |
1787 | | // optional bytes OBSOLETE_end_key = 2; |
1788 | | bool has_obsolete_end_key() const; |
1789 | | void clear_obsolete_end_key(); |
1790 | | static const int kOBSOLETEEndKeyFieldNumber = 2; |
1791 | | const ::std::string& obsolete_end_key() const; |
1792 | | void set_obsolete_end_key(const ::std::string& value); |
1793 | | #if LANG_CXX11 |
1794 | | void set_obsolete_end_key(::std::string&& value); |
1795 | | #endif |
1796 | | void set_obsolete_end_key(const char* value); |
1797 | | void set_obsolete_end_key(const void* value, size_t size); |
1798 | | ::std::string* mutable_obsolete_end_key(); |
1799 | | ::std::string* release_obsolete_end_key(); |
1800 | | void set_allocated_obsolete_end_key(::std::string* obsolete_end_key); |
1801 | | |
1802 | | // optional bytes state_msg = 5; |
1803 | | bool has_state_msg() const; |
1804 | | void clear_state_msg(); |
1805 | | static const int kStateMsgFieldNumber = 5; |
1806 | | const ::std::string& state_msg() const; |
1807 | | void set_state_msg(const ::std::string& value); |
1808 | | #if LANG_CXX11 |
1809 | | void set_state_msg(::std::string&& value); |
1810 | | #endif |
1811 | | void set_state_msg(const char* value); |
1812 | | void set_state_msg(const void* value, size_t size); |
1813 | | ::std::string* mutable_state_msg(); |
1814 | | ::std::string* release_state_msg(); |
1815 | | void set_allocated_state_msg(::std::string* state_msg); |
1816 | | |
1817 | | // required bytes table_id = 6; |
1818 | | bool has_table_id() const; |
1819 | | void clear_table_id(); |
1820 | | static const int kTableIdFieldNumber = 6; |
1821 | | const ::std::string& table_id() const; |
1822 | | void set_table_id(const ::std::string& value); |
1823 | | #if LANG_CXX11 |
1824 | | void set_table_id(::std::string&& value); |
1825 | | #endif |
1826 | | void set_table_id(const char* value); |
1827 | | void set_table_id(const void* value, size_t size); |
1828 | | ::std::string* mutable_table_id(); |
1829 | | ::std::string* release_table_id(); |
1830 | | void set_allocated_table_id(::std::string* table_id); |
1831 | | |
1832 | | // optional bytes DEPRECATED_backfilled_until = 10; |
1833 | | bool has_deprecated_backfilled_until() const; |
1834 | | void clear_deprecated_backfilled_until(); |
1835 | | static const int kDEPRECATEDBackfilledUntilFieldNumber = 10; |
1836 | | const ::std::string& deprecated_backfilled_until() const; |
1837 | | void set_deprecated_backfilled_until(const ::std::string& value); |
1838 | | #if LANG_CXX11 |
1839 | | void set_deprecated_backfilled_until(::std::string&& value); |
1840 | | #endif |
1841 | | void set_deprecated_backfilled_until(const char* value); |
1842 | | void set_deprecated_backfilled_until(const void* value, size_t size); |
1843 | | ::std::string* mutable_deprecated_backfilled_until(); |
1844 | | ::std::string* release_deprecated_backfilled_until(); |
1845 | | void set_allocated_deprecated_backfilled_until(::std::string* deprecated_backfilled_until); |
1846 | | |
1847 | | // optional bytes split_parent_tablet_id = 13; |
1848 | | bool has_split_parent_tablet_id() const; |
1849 | | void clear_split_parent_tablet_id(); |
1850 | | static const int kSplitParentTabletIdFieldNumber = 13; |
1851 | | const ::std::string& split_parent_tablet_id() const; |
1852 | | void set_split_parent_tablet_id(const ::std::string& value); |
1853 | | #if LANG_CXX11 |
1854 | | void set_split_parent_tablet_id(::std::string&& value); |
1855 | | #endif |
1856 | | void set_split_parent_tablet_id(const char* value); |
1857 | | void set_split_parent_tablet_id(const void* value, size_t size); |
1858 | | ::std::string* mutable_split_parent_tablet_id(); |
1859 | | ::std::string* release_split_parent_tablet_id(); |
1860 | | void set_allocated_split_parent_tablet_id(::std::string* split_parent_tablet_id); |
1861 | | |
1862 | | // optional .yb.consensus.ConsensusStatePB committed_consensus_state = 3; |
1863 | | bool has_committed_consensus_state() const; |
1864 | | void clear_committed_consensus_state(); |
1865 | | static const int kCommittedConsensusStateFieldNumber = 3; |
1866 | | const ::yb::consensus::ConsensusStatePB& committed_consensus_state() const; |
1867 | | ::yb::consensus::ConsensusStatePB* release_committed_consensus_state(); |
1868 | | ::yb::consensus::ConsensusStatePB* mutable_committed_consensus_state(); |
1869 | | void set_allocated_committed_consensus_state(::yb::consensus::ConsensusStatePB* committed_consensus_state); |
1870 | | |
1871 | | // optional .yb.PartitionPB partition = 7; |
1872 | | bool has_partition() const; |
1873 | | void clear_partition(); |
1874 | | static const int kPartitionFieldNumber = 7; |
1875 | | const ::yb::PartitionPB& partition() const; |
1876 | | ::yb::PartitionPB* release_partition(); |
1877 | | ::yb::PartitionPB* mutable_partition(); |
1878 | | void set_allocated_partition(::yb::PartitionPB* partition); |
1879 | | |
1880 | | // optional uint64 split_depth = 11; |
1881 | | bool has_split_depth() const; |
1882 | | void clear_split_depth(); |
1883 | | static const int kSplitDepthFieldNumber = 11; |
1884 | | ::google::protobuf::uint64 split_depth() const; |
1885 | | void set_split_depth(::google::protobuf::uint64 value); |
1886 | | |
1887 | | // optional fixed64 hide_hybrid_time = 16; |
1888 | | bool has_hide_hybrid_time() const; |
1889 | | void clear_hide_hybrid_time(); |
1890 | | static const int kHideHybridTimeFieldNumber = 16; |
1891 | | ::google::protobuf::uint64 hide_hybrid_time() const; |
1892 | | void set_hide_hybrid_time(::google::protobuf::uint64 value); |
1893 | | |
1894 | | // optional bool colocated = 9 [default = false]; |
1895 | | bool has_colocated() const; |
1896 | | void clear_colocated(); |
1897 | | static const int kColocatedFieldNumber = 9; |
1898 | | bool colocated() const; |
1899 | | void set_colocated(bool value); |
1900 | | |
1901 | | // optional .yb.master.SysTabletsEntryPB.State state = 4 [default = UNKNOWN]; |
1902 | | bool has_state() const; |
1903 | | void clear_state(); |
1904 | | static const int kStateFieldNumber = 4; |
1905 | | ::yb::master::SysTabletsEntryPB_State state() const; |
1906 | | void set_state(::yb::master::SysTabletsEntryPB_State value); |
1907 | | |
1908 | | // @@protoc_insertion_point(class_scope:yb.master.SysTabletsEntryPB) |
1909 | | private: |
1910 | | void set_has_obsolete_start_key(); |
1911 | | void clear_has_obsolete_start_key(); |
1912 | | void set_has_obsolete_end_key(); |
1913 | | void clear_has_obsolete_end_key(); |
1914 | | void set_has_partition(); |
1915 | | void clear_has_partition(); |
1916 | | void set_has_committed_consensus_state(); |
1917 | | void clear_has_committed_consensus_state(); |
1918 | | void set_has_state(); |
1919 | | void clear_has_state(); |
1920 | | void set_has_state_msg(); |
1921 | | void clear_has_state_msg(); |
1922 | | void set_has_table_id(); |
1923 | | void clear_has_table_id(); |
1924 | | void set_has_colocated(); |
1925 | | void clear_has_colocated(); |
1926 | | void set_has_deprecated_backfilled_until(); |
1927 | | void clear_has_deprecated_backfilled_until(); |
1928 | | void set_has_split_depth(); |
1929 | | void clear_has_split_depth(); |
1930 | | void set_has_split_parent_tablet_id(); |
1931 | | void clear_has_split_parent_tablet_id(); |
1932 | | void set_has_hide_hybrid_time(); |
1933 | | void clear_has_hide_hybrid_time(); |
1934 | | |
1935 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1936 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1937 | | mutable int _cached_size_; |
1938 | | ::google::protobuf::RepeatedPtrField< ::std::string> table_ids_; |
1939 | | ::google::protobuf::internal::MapField< |
1940 | | SysTabletsEntryPB_BackfilledUntilEntry_DoNotUse, |
1941 | | ::std::string, ::std::string, |
1942 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
1943 | | ::google::protobuf::internal::WireFormatLite::TYPE_BYTES, |
1944 | | 0 > backfilled_until_; |
1945 | | ::google::protobuf::RepeatedPtrField< ::std::string> split_tablet_ids_; |
1946 | | ::google::protobuf::RepeatedPtrField< ::std::string> retained_by_snapshot_schedules_; |
1947 | | ::google::protobuf::internal::ArenaStringPtr obsolete_start_key_; |
1948 | | ::google::protobuf::internal::ArenaStringPtr obsolete_end_key_; |
1949 | | ::google::protobuf::internal::ArenaStringPtr state_msg_; |
1950 | | ::google::protobuf::internal::ArenaStringPtr table_id_; |
1951 | | ::google::protobuf::internal::ArenaStringPtr deprecated_backfilled_until_; |
1952 | | ::google::protobuf::internal::ArenaStringPtr split_parent_tablet_id_; |
1953 | | ::yb::consensus::ConsensusStatePB* committed_consensus_state_; |
1954 | | ::yb::PartitionPB* partition_; |
1955 | | ::google::protobuf::uint64 split_depth_; |
1956 | | ::google::protobuf::uint64 hide_hybrid_time_; |
1957 | | bool colocated_; |
1958 | | int state_; |
1959 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
1960 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysTabletsEntryPBImpl(); |
1961 | | }; |
1962 | | // ------------------------------------------------------------------- |
1963 | | |
1964 | | class SysNamespaceEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysNamespaceEntryPB) */ { |
1965 | | public: |
1966 | | SysNamespaceEntryPB(); |
1967 | | virtual ~SysNamespaceEntryPB(); |
1968 | | |
1969 | | SysNamespaceEntryPB(const SysNamespaceEntryPB& from); |
1970 | | |
1971 | 0 | inline SysNamespaceEntryPB& operator=(const SysNamespaceEntryPB& from) { |
1972 | 0 | CopyFrom(from); |
1973 | 0 | return *this; |
1974 | 0 | } |
1975 | | #if LANG_CXX11 |
1976 | | SysNamespaceEntryPB(SysNamespaceEntryPB&& from) noexcept |
1977 | 21.2k | : SysNamespaceEntryPB() { |
1978 | 21.2k | *this = ::std::move(from); |
1979 | 21.2k | } Unexecuted instantiation: yb::master::SysNamespaceEntryPB::SysNamespaceEntryPB(yb::master::SysNamespaceEntryPB&&) yb::master::SysNamespaceEntryPB::SysNamespaceEntryPB(yb::master::SysNamespaceEntryPB&&) Line | Count | Source | 1977 | 21.2k | : SysNamespaceEntryPB() { | 1978 | 21.2k | *this = ::std::move(from); | 1979 | 21.2k | } |
|
1980 | | |
1981 | 69.3k | inline SysNamespaceEntryPB& operator=(SysNamespaceEntryPB&& from) noexcept { |
1982 | 69.3k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1983 | 69.3k | if (this != &from) InternalSwap(&from); |
1984 | 69.3k | } else { |
1985 | 0 | CopyFrom(from); |
1986 | 0 | } |
1987 | 69.3k | return *this; |
1988 | 69.3k | } |
1989 | | #endif |
1990 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1991 | 0 | return _internal_metadata_.unknown_fields(); |
1992 | 0 | } |
1993 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1994 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1995 | 0 | } |
1996 | | |
1997 | | static const ::google::protobuf::Descriptor* descriptor(); |
1998 | | static const SysNamespaceEntryPB& default_instance(); |
1999 | | |
2000 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2001 | 137k | static inline const SysNamespaceEntryPB* internal_default_instance() { |
2002 | 137k | return reinterpret_cast<const SysNamespaceEntryPB*>( |
2003 | 137k | &_SysNamespaceEntryPB_default_instance_); |
2004 | 137k | } |
2005 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2006 | | 8; |
2007 | | |
2008 | | void Swap(SysNamespaceEntryPB* other); |
2009 | 0 | friend void swap(SysNamespaceEntryPB& a, SysNamespaceEntryPB& b) { |
2010 | 0 | a.Swap(&b); |
2011 | 0 | } |
2012 | | |
2013 | | // implements Message ---------------------------------------------- |
2014 | | |
2015 | 0 | inline SysNamespaceEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2016 | | |
2017 | | SysNamespaceEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2018 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2019 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2020 | | void CopyFrom(const SysNamespaceEntryPB& from); |
2021 | | void MergeFrom(const SysNamespaceEntryPB& from); |
2022 | | void Clear() PROTOBUF_FINAL; |
2023 | | bool IsInitialized() const PROTOBUF_FINAL; |
2024 | | |
2025 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2026 | | bool MergePartialFromCodedStream( |
2027 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2028 | | void SerializeWithCachedSizes( |
2029 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2030 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2031 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2032 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2033 | | private: |
2034 | | void SharedCtor(); |
2035 | | void SharedDtor(); |
2036 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2037 | | void InternalSwap(SysNamespaceEntryPB* other); |
2038 | | private: |
2039 | 138k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2040 | 138k | return NULL; |
2041 | 138k | } |
2042 | 0 | inline void* MaybeArenaPtr() const { |
2043 | 0 | return NULL; |
2044 | 0 | } |
2045 | | public: |
2046 | | |
2047 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2048 | | |
2049 | | // nested types ---------------------------------------------------- |
2050 | | |
2051 | | typedef SysNamespaceEntryPB_State State; |
2052 | | static const State UNKNOWN = |
2053 | | SysNamespaceEntryPB_State_UNKNOWN; |
2054 | | static const State PREPARING = |
2055 | | SysNamespaceEntryPB_State_PREPARING; |
2056 | | static const State FAILED = |
2057 | | SysNamespaceEntryPB_State_FAILED; |
2058 | | static const State RUNNING = |
2059 | | SysNamespaceEntryPB_State_RUNNING; |
2060 | | static const State DELETING = |
2061 | | SysNamespaceEntryPB_State_DELETING; |
2062 | | static const State DELETED = |
2063 | | SysNamespaceEntryPB_State_DELETED; |
2064 | 0 | static inline bool State_IsValid(int value) { |
2065 | 0 | return SysNamespaceEntryPB_State_IsValid(value); |
2066 | 0 | } |
2067 | | static const State State_MIN = |
2068 | | SysNamespaceEntryPB_State_State_MIN; |
2069 | | static const State State_MAX = |
2070 | | SysNamespaceEntryPB_State_State_MAX; |
2071 | | static const int State_ARRAYSIZE = |
2072 | | SysNamespaceEntryPB_State_State_ARRAYSIZE; |
2073 | | static inline const ::google::protobuf::EnumDescriptor* |
2074 | 0 | State_descriptor() { |
2075 | 0 | return SysNamespaceEntryPB_State_descriptor(); |
2076 | 0 | } |
2077 | 3 | static inline const ::std::string& State_Name(State value) { |
2078 | 3 | return SysNamespaceEntryPB_State_Name(value); |
2079 | 3 | } |
2080 | | static inline bool State_Parse(const ::std::string& name, |
2081 | 0 | State* value) { |
2082 | 0 | return SysNamespaceEntryPB_State_Parse(name, value); |
2083 | 0 | } |
2084 | | |
2085 | | // accessors ------------------------------------------------------- |
2086 | | |
2087 | | // optional bytes name = 1; |
2088 | | bool has_name() const; |
2089 | | void clear_name(); |
2090 | | static const int kNameFieldNumber = 1; |
2091 | | const ::std::string& name() const; |
2092 | | void set_name(const ::std::string& value); |
2093 | | #if LANG_CXX11 |
2094 | | void set_name(::std::string&& value); |
2095 | | #endif |
2096 | | void set_name(const char* value); |
2097 | | void set_name(const void* value, size_t size); |
2098 | | ::std::string* mutable_name(); |
2099 | | ::std::string* release_name(); |
2100 | | void set_allocated_name(::std::string* name); |
2101 | | |
2102 | | // optional .yb.TransactionMetadataPB transaction = 6; |
2103 | | bool has_transaction() const; |
2104 | | void clear_transaction(); |
2105 | | static const int kTransactionFieldNumber = 6; |
2106 | | const ::yb::TransactionMetadataPB& transaction() const; |
2107 | | ::yb::TransactionMetadataPB* release_transaction(); |
2108 | | ::yb::TransactionMetadataPB* mutable_transaction(); |
2109 | | void set_allocated_transaction(::yb::TransactionMetadataPB* transaction); |
2110 | | |
2111 | | // optional uint32 next_pg_oid = 3; |
2112 | | bool has_next_pg_oid() const; |
2113 | | void clear_next_pg_oid(); |
2114 | | static const int kNextPgOidFieldNumber = 3; |
2115 | | ::google::protobuf::uint32 next_pg_oid() const; |
2116 | | void set_next_pg_oid(::google::protobuf::uint32 value); |
2117 | | |
2118 | | // optional bool colocated = 4 [default = false]; |
2119 | | bool has_colocated() const; |
2120 | | void clear_colocated(); |
2121 | | static const int kColocatedFieldNumber = 4; |
2122 | | bool colocated() const; |
2123 | | void set_colocated(bool value); |
2124 | | |
2125 | | // optional .yb.master.SysNamespaceEntryPB.State state = 5 [default = UNKNOWN]; |
2126 | | bool has_state() const; |
2127 | | void clear_state(); |
2128 | | static const int kStateFieldNumber = 5; |
2129 | | ::yb::master::SysNamespaceEntryPB_State state() const; |
2130 | | void set_state(::yb::master::SysNamespaceEntryPB_State value); |
2131 | | |
2132 | | // optional .yb.YQLDatabase database_type = 2 [default = YQL_DATABASE_CQL]; |
2133 | | bool has_database_type() const; |
2134 | | void clear_database_type(); |
2135 | | static const int kDatabaseTypeFieldNumber = 2; |
2136 | | ::yb::YQLDatabase database_type() const; |
2137 | | void set_database_type(::yb::YQLDatabase value); |
2138 | | |
2139 | | // @@protoc_insertion_point(class_scope:yb.master.SysNamespaceEntryPB) |
2140 | | private: |
2141 | | void set_has_name(); |
2142 | | void clear_has_name(); |
2143 | | void set_has_database_type(); |
2144 | | void clear_has_database_type(); |
2145 | | void set_has_next_pg_oid(); |
2146 | | void clear_has_next_pg_oid(); |
2147 | | void set_has_colocated(); |
2148 | | void clear_has_colocated(); |
2149 | | void set_has_transaction(); |
2150 | | void clear_has_transaction(); |
2151 | | void set_has_state(); |
2152 | | void clear_has_state(); |
2153 | | |
2154 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2155 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2156 | | mutable int _cached_size_; |
2157 | | ::google::protobuf::internal::ArenaStringPtr name_; |
2158 | | ::yb::TransactionMetadataPB* transaction_; |
2159 | | ::google::protobuf::uint32 next_pg_oid_; |
2160 | | bool colocated_; |
2161 | | int state_; |
2162 | | int database_type_; |
2163 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
2164 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysNamespaceEntryPBImpl(); |
2165 | | }; |
2166 | | // ------------------------------------------------------------------- |
2167 | | |
2168 | | class SysUDTypeEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysUDTypeEntryPB) */ { |
2169 | | public: |
2170 | | SysUDTypeEntryPB(); |
2171 | | virtual ~SysUDTypeEntryPB(); |
2172 | | |
2173 | | SysUDTypeEntryPB(const SysUDTypeEntryPB& from); |
2174 | | |
2175 | 0 | inline SysUDTypeEntryPB& operator=(const SysUDTypeEntryPB& from) { |
2176 | 0 | CopyFrom(from); |
2177 | 0 | return *this; |
2178 | 0 | } |
2179 | | #if LANG_CXX11 |
2180 | | SysUDTypeEntryPB(SysUDTypeEntryPB&& from) noexcept |
2181 | 94 | : SysUDTypeEntryPB() { |
2182 | 94 | *this = ::std::move(from); |
2183 | 94 | } Unexecuted instantiation: yb::master::SysUDTypeEntryPB::SysUDTypeEntryPB(yb::master::SysUDTypeEntryPB&&) yb::master::SysUDTypeEntryPB::SysUDTypeEntryPB(yb::master::SysUDTypeEntryPB&&) Line | Count | Source | 2181 | 94 | : SysUDTypeEntryPB() { | 2182 | 94 | *this = ::std::move(from); | 2183 | 94 | } |
|
2184 | | |
2185 | 282 | inline SysUDTypeEntryPB& operator=(SysUDTypeEntryPB&& from) noexcept { |
2186 | 282 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2187 | 282 | if (this != &from) InternalSwap(&from); |
2188 | 282 | } else { |
2189 | 0 | CopyFrom(from); |
2190 | 0 | } |
2191 | 282 | return *this; |
2192 | 282 | } |
2193 | | #endif |
2194 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2195 | 0 | return _internal_metadata_.unknown_fields(); |
2196 | 0 | } |
2197 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2198 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2199 | 0 | } |
2200 | | |
2201 | | static const ::google::protobuf::Descriptor* descriptor(); |
2202 | | static const SysUDTypeEntryPB& default_instance(); |
2203 | | |
2204 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2205 | 27.0k | static inline const SysUDTypeEntryPB* internal_default_instance() { |
2206 | 27.0k | return reinterpret_cast<const SysUDTypeEntryPB*>( |
2207 | 27.0k | &_SysUDTypeEntryPB_default_instance_); |
2208 | 27.0k | } |
2209 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2210 | | 9; |
2211 | | |
2212 | | void Swap(SysUDTypeEntryPB* other); |
2213 | 0 | friend void swap(SysUDTypeEntryPB& a, SysUDTypeEntryPB& b) { |
2214 | 0 | a.Swap(&b); |
2215 | 0 | } |
2216 | | |
2217 | | // implements Message ---------------------------------------------- |
2218 | | |
2219 | 0 | inline SysUDTypeEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2220 | | |
2221 | | SysUDTypeEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2222 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2223 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2224 | | void CopyFrom(const SysUDTypeEntryPB& from); |
2225 | | void MergeFrom(const SysUDTypeEntryPB& from); |
2226 | | void Clear() PROTOBUF_FINAL; |
2227 | | bool IsInitialized() const PROTOBUF_FINAL; |
2228 | | |
2229 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2230 | | bool MergePartialFromCodedStream( |
2231 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2232 | | void SerializeWithCachedSizes( |
2233 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2234 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2235 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2236 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2237 | | private: |
2238 | | void SharedCtor(); |
2239 | | void SharedDtor(); |
2240 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2241 | | void InternalSwap(SysUDTypeEntryPB* other); |
2242 | | private: |
2243 | 564 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2244 | 564 | return NULL; |
2245 | 564 | } |
2246 | 0 | inline void* MaybeArenaPtr() const { |
2247 | 0 | return NULL; |
2248 | 0 | } |
2249 | | public: |
2250 | | |
2251 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2252 | | |
2253 | | // nested types ---------------------------------------------------- |
2254 | | |
2255 | | // accessors ------------------------------------------------------- |
2256 | | |
2257 | | // repeated string field_names = 3; |
2258 | | int field_names_size() const; |
2259 | | void clear_field_names(); |
2260 | | static const int kFieldNamesFieldNumber = 3; |
2261 | | const ::std::string& field_names(int index) const; |
2262 | | ::std::string* mutable_field_names(int index); |
2263 | | void set_field_names(int index, const ::std::string& value); |
2264 | | #if LANG_CXX11 |
2265 | | void set_field_names(int index, ::std::string&& value); |
2266 | | #endif |
2267 | | void set_field_names(int index, const char* value); |
2268 | | void set_field_names(int index, const char* value, size_t size); |
2269 | | ::std::string* add_field_names(); |
2270 | | void add_field_names(const ::std::string& value); |
2271 | | #if LANG_CXX11 |
2272 | | void add_field_names(::std::string&& value); |
2273 | | #endif |
2274 | | void add_field_names(const char* value); |
2275 | | void add_field_names(const char* value, size_t size); |
2276 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& field_names() const; |
2277 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_field_names(); |
2278 | | |
2279 | | // repeated .yb.QLTypePB field_types = 4; |
2280 | | int field_types_size() const; |
2281 | | void clear_field_types(); |
2282 | | static const int kFieldTypesFieldNumber = 4; |
2283 | | const ::yb::QLTypePB& field_types(int index) const; |
2284 | | ::yb::QLTypePB* mutable_field_types(int index); |
2285 | | ::yb::QLTypePB* add_field_types(); |
2286 | | ::google::protobuf::RepeatedPtrField< ::yb::QLTypePB >* |
2287 | | mutable_field_types(); |
2288 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLTypePB >& |
2289 | | field_types() const; |
2290 | | |
2291 | | // optional string namespace_id = 1; |
2292 | | bool has_namespace_id() const; |
2293 | | void clear_namespace_id(); |
2294 | | static const int kNamespaceIdFieldNumber = 1; |
2295 | | const ::std::string& namespace_id() const; |
2296 | | void set_namespace_id(const ::std::string& value); |
2297 | | #if LANG_CXX11 |
2298 | | void set_namespace_id(::std::string&& value); |
2299 | | #endif |
2300 | | void set_namespace_id(const char* value); |
2301 | | void set_namespace_id(const char* value, size_t size); |
2302 | | ::std::string* mutable_namespace_id(); |
2303 | | ::std::string* release_namespace_id(); |
2304 | | void set_allocated_namespace_id(::std::string* namespace_id); |
2305 | | |
2306 | | // optional string name = 2; |
2307 | | bool has_name() const; |
2308 | | void clear_name(); |
2309 | | static const int kNameFieldNumber = 2; |
2310 | | const ::std::string& name() const; |
2311 | | void set_name(const ::std::string& value); |
2312 | | #if LANG_CXX11 |
2313 | | void set_name(::std::string&& value); |
2314 | | #endif |
2315 | | void set_name(const char* value); |
2316 | | void set_name(const char* value, size_t size); |
2317 | | ::std::string* mutable_name(); |
2318 | | ::std::string* release_name(); |
2319 | | void set_allocated_name(::std::string* name); |
2320 | | |
2321 | | // @@protoc_insertion_point(class_scope:yb.master.SysUDTypeEntryPB) |
2322 | | private: |
2323 | | void set_has_namespace_id(); |
2324 | | void clear_has_namespace_id(); |
2325 | | void set_has_name(); |
2326 | | void clear_has_name(); |
2327 | | |
2328 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2329 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2330 | | mutable int _cached_size_; |
2331 | | ::google::protobuf::RepeatedPtrField< ::std::string> field_names_; |
2332 | | ::google::protobuf::RepeatedPtrField< ::yb::QLTypePB > field_types_; |
2333 | | ::google::protobuf::internal::ArenaStringPtr namespace_id_; |
2334 | | ::google::protobuf::internal::ArenaStringPtr name_; |
2335 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
2336 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysUDTypeEntryPBImpl(); |
2337 | | }; |
2338 | | // ------------------------------------------------------------------- |
2339 | | |
2340 | | class BlacklistPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.BlacklistPB) */ { |
2341 | | public: |
2342 | | BlacklistPB(); |
2343 | | virtual ~BlacklistPB(); |
2344 | | |
2345 | | BlacklistPB(const BlacklistPB& from); |
2346 | | |
2347 | 1.78M | inline BlacklistPB& operator=(const BlacklistPB& from) { |
2348 | 1.78M | CopyFrom(from); |
2349 | 1.78M | return *this; |
2350 | 1.78M | } |
2351 | | #if LANG_CXX11 |
2352 | | BlacklistPB(BlacklistPB&& from) noexcept |
2353 | 0 | : BlacklistPB() { |
2354 | 0 | *this = ::std::move(from); |
2355 | 0 | } |
2356 | | |
2357 | 0 | inline BlacklistPB& operator=(BlacklistPB&& from) noexcept { |
2358 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2359 | 0 | if (this != &from) InternalSwap(&from); |
2360 | 0 | } else { |
2361 | 0 | CopyFrom(from); |
2362 | 0 | } |
2363 | 0 | return *this; |
2364 | 0 | } |
2365 | | #endif |
2366 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2367 | 0 | return _internal_metadata_.unknown_fields(); |
2368 | 0 | } |
2369 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2370 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2371 | 0 | } |
2372 | | |
2373 | | static const ::google::protobuf::Descriptor* descriptor(); |
2374 | | static const BlacklistPB& default_instance(); |
2375 | | |
2376 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2377 | 1.90M | static inline const BlacklistPB* internal_default_instance() { |
2378 | 1.90M | return reinterpret_cast<const BlacklistPB*>( |
2379 | 1.90M | &_BlacklistPB_default_instance_); |
2380 | 1.90M | } |
2381 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2382 | | 10; |
2383 | | |
2384 | | void Swap(BlacklistPB* other); |
2385 | 0 | friend void swap(BlacklistPB& a, BlacklistPB& b) { |
2386 | 0 | a.Swap(&b); |
2387 | 0 | } |
2388 | | |
2389 | | // implements Message ---------------------------------------------- |
2390 | | |
2391 | 0 | inline BlacklistPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2392 | | |
2393 | | BlacklistPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2394 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2395 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2396 | | void CopyFrom(const BlacklistPB& from); |
2397 | | void MergeFrom(const BlacklistPB& from); |
2398 | | void Clear() PROTOBUF_FINAL; |
2399 | | bool IsInitialized() const PROTOBUF_FINAL; |
2400 | | |
2401 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2402 | | bool MergePartialFromCodedStream( |
2403 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2404 | | void SerializeWithCachedSizes( |
2405 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2406 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2407 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2408 | 133 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2409 | | private: |
2410 | | void SharedCtor(); |
2411 | | void SharedDtor(); |
2412 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2413 | | void InternalSwap(BlacklistPB* other); |
2414 | | private: |
2415 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2416 | 0 | return NULL; |
2417 | 0 | } |
2418 | 0 | inline void* MaybeArenaPtr() const { |
2419 | 0 | return NULL; |
2420 | 0 | } |
2421 | | public: |
2422 | | |
2423 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2424 | | |
2425 | | // nested types ---------------------------------------------------- |
2426 | | |
2427 | | // accessors ------------------------------------------------------- |
2428 | | |
2429 | | // repeated .yb.HostPortPB hosts = 1; |
2430 | | int hosts_size() const; |
2431 | | void clear_hosts(); |
2432 | | static const int kHostsFieldNumber = 1; |
2433 | | const ::yb::HostPortPB& hosts(int index) const; |
2434 | | ::yb::HostPortPB* mutable_hosts(int index); |
2435 | | ::yb::HostPortPB* add_hosts(); |
2436 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
2437 | | mutable_hosts(); |
2438 | | const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
2439 | | hosts() const; |
2440 | | |
2441 | | // optional int32 initial_replica_load = 2; |
2442 | | bool has_initial_replica_load() const; |
2443 | | void clear_initial_replica_load(); |
2444 | | static const int kInitialReplicaLoadFieldNumber = 2; |
2445 | | ::google::protobuf::int32 initial_replica_load() const; |
2446 | | void set_initial_replica_load(::google::protobuf::int32 value); |
2447 | | |
2448 | | // optional int32 initial_leader_load = 3; |
2449 | | bool has_initial_leader_load() const; |
2450 | | void clear_initial_leader_load(); |
2451 | | static const int kInitialLeaderLoadFieldNumber = 3; |
2452 | | ::google::protobuf::int32 initial_leader_load() const; |
2453 | | void set_initial_leader_load(::google::protobuf::int32 value); |
2454 | | |
2455 | | // @@protoc_insertion_point(class_scope:yb.master.BlacklistPB) |
2456 | | private: |
2457 | | void set_has_initial_replica_load(); |
2458 | | void clear_has_initial_replica_load(); |
2459 | | void set_has_initial_leader_load(); |
2460 | | void clear_has_initial_leader_load(); |
2461 | | |
2462 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2463 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2464 | | mutable int _cached_size_; |
2465 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > hosts_; |
2466 | | ::google::protobuf::int32 initial_replica_load_; |
2467 | | ::google::protobuf::int32 initial_leader_load_; |
2468 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
2469 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsBlacklistPBImpl(); |
2470 | | }; |
2471 | | // ------------------------------------------------------------------- |
2472 | | |
2473 | | class EncryptionInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.EncryptionInfoPB) */ { |
2474 | | public: |
2475 | | EncryptionInfoPB(); |
2476 | | virtual ~EncryptionInfoPB(); |
2477 | | |
2478 | | EncryptionInfoPB(const EncryptionInfoPB& from); |
2479 | | |
2480 | 0 | inline EncryptionInfoPB& operator=(const EncryptionInfoPB& from) { |
2481 | 0 | CopyFrom(from); |
2482 | 0 | return *this; |
2483 | 0 | } |
2484 | | #if LANG_CXX11 |
2485 | | EncryptionInfoPB(EncryptionInfoPB&& from) noexcept |
2486 | 0 | : EncryptionInfoPB() { |
2487 | 0 | *this = ::std::move(from); |
2488 | 0 | } |
2489 | | |
2490 | 0 | inline EncryptionInfoPB& operator=(EncryptionInfoPB&& from) noexcept { |
2491 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2492 | 0 | if (this != &from) InternalSwap(&from); |
2493 | 0 | } else { |
2494 | 0 | CopyFrom(from); |
2495 | 0 | } |
2496 | 0 | return *this; |
2497 | 0 | } |
2498 | | #endif |
2499 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2500 | 0 | return _internal_metadata_.unknown_fields(); |
2501 | 0 | } |
2502 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2503 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2504 | 0 | } |
2505 | | |
2506 | | static const ::google::protobuf::Descriptor* descriptor(); |
2507 | | static const EncryptionInfoPB& default_instance(); |
2508 | | |
2509 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2510 | 247k | static inline const EncryptionInfoPB* internal_default_instance() { |
2511 | 247k | return reinterpret_cast<const EncryptionInfoPB*>( |
2512 | 247k | &_EncryptionInfoPB_default_instance_); |
2513 | 247k | } |
2514 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2515 | | 11; |
2516 | | |
2517 | | void Swap(EncryptionInfoPB* other); |
2518 | 0 | friend void swap(EncryptionInfoPB& a, EncryptionInfoPB& b) { |
2519 | 0 | a.Swap(&b); |
2520 | 0 | } |
2521 | | |
2522 | | // implements Message ---------------------------------------------- |
2523 | | |
2524 | 0 | inline EncryptionInfoPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2525 | | |
2526 | | EncryptionInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2527 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2528 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2529 | | void CopyFrom(const EncryptionInfoPB& from); |
2530 | | void MergeFrom(const EncryptionInfoPB& from); |
2531 | | void Clear() PROTOBUF_FINAL; |
2532 | | bool IsInitialized() const PROTOBUF_FINAL; |
2533 | | |
2534 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2535 | | bool MergePartialFromCodedStream( |
2536 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2537 | | void SerializeWithCachedSizes( |
2538 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2539 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2540 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2541 | 17 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2542 | | private: |
2543 | | void SharedCtor(); |
2544 | | void SharedDtor(); |
2545 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2546 | | void InternalSwap(EncryptionInfoPB* other); |
2547 | | private: |
2548 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2549 | 0 | return NULL; |
2550 | 0 | } |
2551 | 0 | inline void* MaybeArenaPtr() const { |
2552 | 0 | return NULL; |
2553 | 0 | } |
2554 | | public: |
2555 | | |
2556 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2557 | | |
2558 | | // nested types ---------------------------------------------------- |
2559 | | |
2560 | | // accessors ------------------------------------------------------- |
2561 | | |
2562 | | // optional bytes universe_key_registry_encoded = 2; |
2563 | | bool has_universe_key_registry_encoded() const; |
2564 | | void clear_universe_key_registry_encoded(); |
2565 | | static const int kUniverseKeyRegistryEncodedFieldNumber = 2; |
2566 | | const ::std::string& universe_key_registry_encoded() const; |
2567 | | void set_universe_key_registry_encoded(const ::std::string& value); |
2568 | | #if LANG_CXX11 |
2569 | | void set_universe_key_registry_encoded(::std::string&& value); |
2570 | | #endif |
2571 | | void set_universe_key_registry_encoded(const char* value); |
2572 | | void set_universe_key_registry_encoded(const void* value, size_t size); |
2573 | | ::std::string* mutable_universe_key_registry_encoded(); |
2574 | | ::std::string* release_universe_key_registry_encoded(); |
2575 | | void set_allocated_universe_key_registry_encoded(::std::string* universe_key_registry_encoded); |
2576 | | |
2577 | | // optional string key_path = 3; |
2578 | | bool has_key_path() const; |
2579 | | void clear_key_path(); |
2580 | | static const int kKeyPathFieldNumber = 3; |
2581 | | const ::std::string& key_path() const; |
2582 | | void set_key_path(const ::std::string& value); |
2583 | | #if LANG_CXX11 |
2584 | | void set_key_path(::std::string&& value); |
2585 | | #endif |
2586 | | void set_key_path(const char* value); |
2587 | | void set_key_path(const char* value, size_t size); |
2588 | | ::std::string* mutable_key_path(); |
2589 | | ::std::string* release_key_path(); |
2590 | | void set_allocated_key_path(::std::string* key_path); |
2591 | | |
2592 | | // optional string latest_version_id = 4; |
2593 | | bool has_latest_version_id() const; |
2594 | | void clear_latest_version_id(); |
2595 | | static const int kLatestVersionIdFieldNumber = 4; |
2596 | | const ::std::string& latest_version_id() const; |
2597 | | void set_latest_version_id(const ::std::string& value); |
2598 | | #if LANG_CXX11 |
2599 | | void set_latest_version_id(::std::string&& value); |
2600 | | #endif |
2601 | | void set_latest_version_id(const char* value); |
2602 | | void set_latest_version_id(const char* value, size_t size); |
2603 | | ::std::string* mutable_latest_version_id(); |
2604 | | ::std::string* release_latest_version_id(); |
2605 | | void set_allocated_latest_version_id(::std::string* latest_version_id); |
2606 | | |
2607 | | // optional bool encryption_enabled = 1; |
2608 | | bool has_encryption_enabled() const; |
2609 | | void clear_encryption_enabled(); |
2610 | | static const int kEncryptionEnabledFieldNumber = 1; |
2611 | | bool encryption_enabled() const; |
2612 | | void set_encryption_enabled(bool value); |
2613 | | |
2614 | | // optional bool key_in_memory = 5; |
2615 | | bool has_key_in_memory() const; |
2616 | | void clear_key_in_memory(); |
2617 | | static const int kKeyInMemoryFieldNumber = 5; |
2618 | | bool key_in_memory() const; |
2619 | | void set_key_in_memory(bool value); |
2620 | | |
2621 | | // @@protoc_insertion_point(class_scope:yb.master.EncryptionInfoPB) |
2622 | | private: |
2623 | | void set_has_encryption_enabled(); |
2624 | | void clear_has_encryption_enabled(); |
2625 | | void set_has_universe_key_registry_encoded(); |
2626 | | void clear_has_universe_key_registry_encoded(); |
2627 | | void set_has_key_path(); |
2628 | | void clear_has_key_path(); |
2629 | | void set_has_latest_version_id(); |
2630 | | void clear_has_latest_version_id(); |
2631 | | void set_has_key_in_memory(); |
2632 | | void clear_has_key_in_memory(); |
2633 | | |
2634 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2635 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2636 | | mutable int _cached_size_; |
2637 | | ::google::protobuf::internal::ArenaStringPtr universe_key_registry_encoded_; |
2638 | | ::google::protobuf::internal::ArenaStringPtr key_path_; |
2639 | | ::google::protobuf::internal::ArenaStringPtr latest_version_id_; |
2640 | | bool encryption_enabled_; |
2641 | | bool key_in_memory_; |
2642 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
2643 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsEncryptionInfoPBImpl(); |
2644 | | }; |
2645 | | // ------------------------------------------------------------------- |
2646 | | |
2647 | | class SysClusterConfigEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysClusterConfigEntryPB) */ { |
2648 | | public: |
2649 | | SysClusterConfigEntryPB(); |
2650 | | virtual ~SysClusterConfigEntryPB(); |
2651 | | |
2652 | | SysClusterConfigEntryPB(const SysClusterConfigEntryPB& from); |
2653 | | |
2654 | 7.14M | inline SysClusterConfigEntryPB& operator=(const SysClusterConfigEntryPB& from) { |
2655 | 7.14M | CopyFrom(from); |
2656 | 7.14M | return *this; |
2657 | 7.14M | } |
2658 | | #if LANG_CXX11 |
2659 | | SysClusterConfigEntryPB(SysClusterConfigEntryPB&& from) noexcept |
2660 | 3.94k | : SysClusterConfigEntryPB() { |
2661 | 3.94k | *this = ::std::move(from); |
2662 | 3.94k | } Unexecuted instantiation: yb::master::SysClusterConfigEntryPB::SysClusterConfigEntryPB(yb::master::SysClusterConfigEntryPB&&) yb::master::SysClusterConfigEntryPB::SysClusterConfigEntryPB(yb::master::SysClusterConfigEntryPB&&) Line | Count | Source | 2660 | 3.94k | : SysClusterConfigEntryPB() { | 2661 | 3.94k | *this = ::std::move(from); | 2662 | 3.94k | } |
|
2663 | | |
2664 | 14.7k | inline SysClusterConfigEntryPB& operator=(SysClusterConfigEntryPB&& from) noexcept { |
2665 | 14.7k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2666 | 14.7k | if (this != &from) InternalSwap(&from); |
2667 | 14.7k | } else { |
2668 | 0 | CopyFrom(from); |
2669 | 0 | } |
2670 | 14.7k | return *this; |
2671 | 14.7k | } |
2672 | | #endif |
2673 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2674 | 0 | return _internal_metadata_.unknown_fields(); |
2675 | 0 | } |
2676 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2677 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2678 | 0 | } |
2679 | | |
2680 | | static const ::google::protobuf::Descriptor* descriptor(); |
2681 | | static const SysClusterConfigEntryPB& default_instance(); |
2682 | | |
2683 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2684 | 43.0M | static inline const SysClusterConfigEntryPB* internal_default_instance() { |
2685 | 43.0M | return reinterpret_cast<const SysClusterConfigEntryPB*>( |
2686 | 43.0M | &_SysClusterConfigEntryPB_default_instance_); |
2687 | 43.0M | } |
2688 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2689 | | 12; |
2690 | | |
2691 | | void Swap(SysClusterConfigEntryPB* other); |
2692 | 0 | friend void swap(SysClusterConfigEntryPB& a, SysClusterConfigEntryPB& b) { |
2693 | 0 | a.Swap(&b); |
2694 | 0 | } |
2695 | | |
2696 | | // implements Message ---------------------------------------------- |
2697 | | |
2698 | 0 | inline SysClusterConfigEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2699 | | |
2700 | | SysClusterConfigEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2701 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2702 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2703 | | void CopyFrom(const SysClusterConfigEntryPB& from); |
2704 | | void MergeFrom(const SysClusterConfigEntryPB& from); |
2705 | | void Clear() PROTOBUF_FINAL; |
2706 | | bool IsInitialized() const PROTOBUF_FINAL; |
2707 | | |
2708 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2709 | | bool MergePartialFromCodedStream( |
2710 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2711 | | void SerializeWithCachedSizes( |
2712 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2713 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2714 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2715 | 372 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2716 | | private: |
2717 | | void SharedCtor(); |
2718 | | void SharedDtor(); |
2719 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2720 | | void InternalSwap(SysClusterConfigEntryPB* other); |
2721 | | private: |
2722 | 29.4k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2723 | 29.4k | return NULL; |
2724 | 29.4k | } |
2725 | 0 | inline void* MaybeArenaPtr() const { |
2726 | 0 | return NULL; |
2727 | 0 | } |
2728 | | public: |
2729 | | |
2730 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2731 | | |
2732 | | // nested types ---------------------------------------------------- |
2733 | | |
2734 | | // accessors ------------------------------------------------------- |
2735 | | |
2736 | | // optional string cluster_uuid = 4; |
2737 | | bool has_cluster_uuid() const; |
2738 | | void clear_cluster_uuid(); |
2739 | | static const int kClusterUuidFieldNumber = 4; |
2740 | | const ::std::string& cluster_uuid() const; |
2741 | | void set_cluster_uuid(const ::std::string& value); |
2742 | | #if LANG_CXX11 |
2743 | | void set_cluster_uuid(::std::string&& value); |
2744 | | #endif |
2745 | | void set_cluster_uuid(const char* value); |
2746 | | void set_cluster_uuid(const char* value, size_t size); |
2747 | | ::std::string* mutable_cluster_uuid(); |
2748 | | ::std::string* release_cluster_uuid(); |
2749 | | void set_allocated_cluster_uuid(::std::string* cluster_uuid); |
2750 | | |
2751 | | // optional .yb.master.ReplicationInfoPB replication_info = 2; |
2752 | | bool has_replication_info() const; |
2753 | | void clear_replication_info(); |
2754 | | static const int kReplicationInfoFieldNumber = 2; |
2755 | | const ::yb::master::ReplicationInfoPB& replication_info() const; |
2756 | | ::yb::master::ReplicationInfoPB* release_replication_info(); |
2757 | | ::yb::master::ReplicationInfoPB* mutable_replication_info(); |
2758 | | void set_allocated_replication_info(::yb::master::ReplicationInfoPB* replication_info); |
2759 | | |
2760 | | // optional .yb.master.BlacklistPB server_blacklist = 3; |
2761 | | bool has_server_blacklist() const; |
2762 | | void clear_server_blacklist(); |
2763 | | static const int kServerBlacklistFieldNumber = 3; |
2764 | | const ::yb::master::BlacklistPB& server_blacklist() const; |
2765 | | ::yb::master::BlacklistPB* release_server_blacklist(); |
2766 | | ::yb::master::BlacklistPB* mutable_server_blacklist(); |
2767 | | void set_allocated_server_blacklist(::yb::master::BlacklistPB* server_blacklist); |
2768 | | |
2769 | | // optional .yb.master.EncryptionInfoPB encryption_info = 5; |
2770 | | bool has_encryption_info() const; |
2771 | | void clear_encryption_info(); |
2772 | | static const int kEncryptionInfoFieldNumber = 5; |
2773 | | const ::yb::master::EncryptionInfoPB& encryption_info() const; |
2774 | | ::yb::master::EncryptionInfoPB* release_encryption_info(); |
2775 | | ::yb::master::EncryptionInfoPB* mutable_encryption_info(); |
2776 | | void set_allocated_encryption_info(::yb::master::EncryptionInfoPB* encryption_info); |
2777 | | |
2778 | | // optional .yb.cdc.ConsumerRegistryPB consumer_registry = 6; |
2779 | | bool has_consumer_registry() const; |
2780 | | void clear_consumer_registry(); |
2781 | | static const int kConsumerRegistryFieldNumber = 6; |
2782 | | const ::yb::cdc::ConsumerRegistryPB& consumer_registry() const; |
2783 | | ::yb::cdc::ConsumerRegistryPB* release_consumer_registry(); |
2784 | | ::yb::cdc::ConsumerRegistryPB* mutable_consumer_registry(); |
2785 | | void set_allocated_consumer_registry(::yb::cdc::ConsumerRegistryPB* consumer_registry); |
2786 | | |
2787 | | // optional .yb.master.BlacklistPB leader_blacklist = 7; |
2788 | | bool has_leader_blacklist() const; |
2789 | | void clear_leader_blacklist(); |
2790 | | static const int kLeaderBlacklistFieldNumber = 7; |
2791 | | const ::yb::master::BlacklistPB& leader_blacklist() const; |
2792 | | ::yb::master::BlacklistPB* release_leader_blacklist(); |
2793 | | ::yb::master::BlacklistPB* mutable_leader_blacklist(); |
2794 | | void set_allocated_leader_blacklist(::yb::master::BlacklistPB* leader_blacklist); |
2795 | | |
2796 | | // optional int32 version = 1; |
2797 | | bool has_version() const; |
2798 | | void clear_version(); |
2799 | | static const int kVersionFieldNumber = 1; |
2800 | | ::google::protobuf::int32 version() const; |
2801 | | void set_version(::google::protobuf::int32 value); |
2802 | | |
2803 | | // @@protoc_insertion_point(class_scope:yb.master.SysClusterConfigEntryPB) |
2804 | | private: |
2805 | | void set_has_version(); |
2806 | | void clear_has_version(); |
2807 | | void set_has_cluster_uuid(); |
2808 | | void clear_has_cluster_uuid(); |
2809 | | void set_has_replication_info(); |
2810 | | void clear_has_replication_info(); |
2811 | | void set_has_server_blacklist(); |
2812 | | void clear_has_server_blacklist(); |
2813 | | void set_has_leader_blacklist(); |
2814 | | void clear_has_leader_blacklist(); |
2815 | | void set_has_encryption_info(); |
2816 | | void clear_has_encryption_info(); |
2817 | | void set_has_consumer_registry(); |
2818 | | void clear_has_consumer_registry(); |
2819 | | |
2820 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2821 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2822 | | mutable int _cached_size_; |
2823 | | ::google::protobuf::internal::ArenaStringPtr cluster_uuid_; |
2824 | | ::yb::master::ReplicationInfoPB* replication_info_; |
2825 | | ::yb::master::BlacklistPB* server_blacklist_; |
2826 | | ::yb::master::EncryptionInfoPB* encryption_info_; |
2827 | | ::yb::cdc::ConsumerRegistryPB* consumer_registry_; |
2828 | | ::yb::master::BlacklistPB* leader_blacklist_; |
2829 | | ::google::protobuf::int32 version_; |
2830 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
2831 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysClusterConfigEntryPBImpl(); |
2832 | | }; |
2833 | | // ------------------------------------------------------------------- |
2834 | | |
2835 | | class SysRedisConfigEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysRedisConfigEntryPB) */ { |
2836 | | public: |
2837 | | SysRedisConfigEntryPB(); |
2838 | | virtual ~SysRedisConfigEntryPB(); |
2839 | | |
2840 | | SysRedisConfigEntryPB(const SysRedisConfigEntryPB& from); |
2841 | | |
2842 | 0 | inline SysRedisConfigEntryPB& operator=(const SysRedisConfigEntryPB& from) { |
2843 | 0 | CopyFrom(from); |
2844 | 0 | return *this; |
2845 | 0 | } |
2846 | | #if LANG_CXX11 |
2847 | | SysRedisConfigEntryPB(SysRedisConfigEntryPB&& from) noexcept |
2848 | 190 | : SysRedisConfigEntryPB() { |
2849 | 190 | *this = ::std::move(from); |
2850 | 190 | } Unexecuted instantiation: yb::master::SysRedisConfigEntryPB::SysRedisConfigEntryPB(yb::master::SysRedisConfigEntryPB&&) yb::master::SysRedisConfigEntryPB::SysRedisConfigEntryPB(yb::master::SysRedisConfigEntryPB&&) Line | Count | Source | 2848 | 190 | : SysRedisConfigEntryPB() { | 2849 | 190 | *this = ::std::move(from); | 2850 | 190 | } |
|
2851 | | |
2852 | 754 | inline SysRedisConfigEntryPB& operator=(SysRedisConfigEntryPB&& from) noexcept { |
2853 | 754 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2854 | 754 | if (this != &from) InternalSwap(&from); |
2855 | 754 | } else { |
2856 | 0 | CopyFrom(from); |
2857 | 0 | } |
2858 | 754 | return *this; |
2859 | 754 | } |
2860 | | #endif |
2861 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2862 | 0 | return _internal_metadata_.unknown_fields(); |
2863 | 0 | } |
2864 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2865 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2866 | 0 | } |
2867 | | |
2868 | | static const ::google::protobuf::Descriptor* descriptor(); |
2869 | | static const SysRedisConfigEntryPB& default_instance(); |
2870 | | |
2871 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2872 | 27.4k | static inline const SysRedisConfigEntryPB* internal_default_instance() { |
2873 | 27.4k | return reinterpret_cast<const SysRedisConfigEntryPB*>( |
2874 | 27.4k | &_SysRedisConfigEntryPB_default_instance_); |
2875 | 27.4k | } |
2876 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2877 | | 13; |
2878 | | |
2879 | | void Swap(SysRedisConfigEntryPB* other); |
2880 | 0 | friend void swap(SysRedisConfigEntryPB& a, SysRedisConfigEntryPB& b) { |
2881 | 0 | a.Swap(&b); |
2882 | 0 | } |
2883 | | |
2884 | | // implements Message ---------------------------------------------- |
2885 | | |
2886 | 0 | inline SysRedisConfigEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2887 | | |
2888 | | SysRedisConfigEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2889 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2890 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2891 | | void CopyFrom(const SysRedisConfigEntryPB& from); |
2892 | | void MergeFrom(const SysRedisConfigEntryPB& from); |
2893 | | void Clear() PROTOBUF_FINAL; |
2894 | | bool IsInitialized() const PROTOBUF_FINAL; |
2895 | | |
2896 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2897 | | bool MergePartialFromCodedStream( |
2898 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2899 | | void SerializeWithCachedSizes( |
2900 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2901 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2902 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2903 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2904 | | private: |
2905 | | void SharedCtor(); |
2906 | | void SharedDtor(); |
2907 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2908 | | void InternalSwap(SysRedisConfigEntryPB* other); |
2909 | | private: |
2910 | 1.50k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2911 | 1.50k | return NULL; |
2912 | 1.50k | } |
2913 | 0 | inline void* MaybeArenaPtr() const { |
2914 | 0 | return NULL; |
2915 | 0 | } |
2916 | | public: |
2917 | | |
2918 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2919 | | |
2920 | | // nested types ---------------------------------------------------- |
2921 | | |
2922 | | // accessors ------------------------------------------------------- |
2923 | | |
2924 | | // repeated bytes args = 2; |
2925 | | int args_size() const; |
2926 | | void clear_args(); |
2927 | | static const int kArgsFieldNumber = 2; |
2928 | | const ::std::string& args(int index) const; |
2929 | | ::std::string* mutable_args(int index); |
2930 | | void set_args(int index, const ::std::string& value); |
2931 | | #if LANG_CXX11 |
2932 | | void set_args(int index, ::std::string&& value); |
2933 | | #endif |
2934 | | void set_args(int index, const char* value); |
2935 | | void set_args(int index, const void* value, size_t size); |
2936 | | ::std::string* add_args(); |
2937 | | void add_args(const ::std::string& value); |
2938 | | #if LANG_CXX11 |
2939 | | void add_args(::std::string&& value); |
2940 | | #endif |
2941 | | void add_args(const char* value); |
2942 | | void add_args(const void* value, size_t size); |
2943 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& args() const; |
2944 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_args(); |
2945 | | |
2946 | | // optional string key = 1; |
2947 | | bool has_key() const; |
2948 | | void clear_key(); |
2949 | | static const int kKeyFieldNumber = 1; |
2950 | | const ::std::string& key() const; |
2951 | | void set_key(const ::std::string& value); |
2952 | | #if LANG_CXX11 |
2953 | | void set_key(::std::string&& value); |
2954 | | #endif |
2955 | | void set_key(const char* value); |
2956 | | void set_key(const char* value, size_t size); |
2957 | | ::std::string* mutable_key(); |
2958 | | ::std::string* release_key(); |
2959 | | void set_allocated_key(::std::string* key); |
2960 | | |
2961 | | // @@protoc_insertion_point(class_scope:yb.master.SysRedisConfigEntryPB) |
2962 | | private: |
2963 | | void set_has_key(); |
2964 | | void clear_has_key(); |
2965 | | |
2966 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2967 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2968 | | mutable int _cached_size_; |
2969 | | ::google::protobuf::RepeatedPtrField< ::std::string> args_; |
2970 | | ::google::protobuf::internal::ArenaStringPtr key_; |
2971 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
2972 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRedisConfigEntryPBImpl(); |
2973 | | }; |
2974 | | // ------------------------------------------------------------------- |
2975 | | |
2976 | | class ResourcePermissionsPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ResourcePermissionsPB) */ { |
2977 | | public: |
2978 | | ResourcePermissionsPB(); |
2979 | | virtual ~ResourcePermissionsPB(); |
2980 | | |
2981 | | ResourcePermissionsPB(const ResourcePermissionsPB& from); |
2982 | | |
2983 | 0 | inline ResourcePermissionsPB& operator=(const ResourcePermissionsPB& from) { |
2984 | 0 | CopyFrom(from); |
2985 | 0 | return *this; |
2986 | 0 | } |
2987 | | #if LANG_CXX11 |
2988 | | ResourcePermissionsPB(ResourcePermissionsPB&& from) noexcept |
2989 | 0 | : ResourcePermissionsPB() { |
2990 | 0 | *this = ::std::move(from); |
2991 | 0 | } |
2992 | | |
2993 | 0 | inline ResourcePermissionsPB& operator=(ResourcePermissionsPB&& from) noexcept { |
2994 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2995 | 0 | if (this != &from) InternalSwap(&from); |
2996 | 0 | } else { |
2997 | 0 | CopyFrom(from); |
2998 | 0 | } |
2999 | 0 | return *this; |
3000 | 0 | } |
3001 | | #endif |
3002 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3003 | 0 | return _internal_metadata_.unknown_fields(); |
3004 | 0 | } |
3005 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3006 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3007 | 0 | } |
3008 | | |
3009 | | static const ::google::protobuf::Descriptor* descriptor(); |
3010 | | static const ResourcePermissionsPB& default_instance(); |
3011 | | |
3012 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3013 | 38.5k | static inline const ResourcePermissionsPB* internal_default_instance() { |
3014 | 38.5k | return reinterpret_cast<const ResourcePermissionsPB*>( |
3015 | 38.5k | &_ResourcePermissionsPB_default_instance_); |
3016 | 38.5k | } |
3017 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3018 | | 14; |
3019 | | |
3020 | | void Swap(ResourcePermissionsPB* other); |
3021 | 0 | friend void swap(ResourcePermissionsPB& a, ResourcePermissionsPB& b) { |
3022 | 0 | a.Swap(&b); |
3023 | 0 | } |
3024 | | |
3025 | | // implements Message ---------------------------------------------- |
3026 | | |
3027 | 0 | inline ResourcePermissionsPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3028 | | |
3029 | | ResourcePermissionsPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3030 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3031 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3032 | | void CopyFrom(const ResourcePermissionsPB& from); |
3033 | | void MergeFrom(const ResourcePermissionsPB& from); |
3034 | | void Clear() PROTOBUF_FINAL; |
3035 | | bool IsInitialized() const PROTOBUF_FINAL; |
3036 | | |
3037 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3038 | | bool MergePartialFromCodedStream( |
3039 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3040 | | void SerializeWithCachedSizes( |
3041 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3042 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3043 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3044 | 5.79k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3045 | | private: |
3046 | | void SharedCtor(); |
3047 | | void SharedDtor(); |
3048 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3049 | | void InternalSwap(ResourcePermissionsPB* other); |
3050 | | private: |
3051 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3052 | 0 | return NULL; |
3053 | 0 | } |
3054 | 0 | inline void* MaybeArenaPtr() const { |
3055 | 0 | return NULL; |
3056 | 0 | } |
3057 | | public: |
3058 | | |
3059 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3060 | | |
3061 | | // nested types ---------------------------------------------------- |
3062 | | |
3063 | | // accessors ------------------------------------------------------- |
3064 | | |
3065 | | // repeated .yb.PermissionType permissions = 13; |
3066 | | int permissions_size() const; |
3067 | | void clear_permissions(); |
3068 | | static const int kPermissionsFieldNumber = 13; |
3069 | | ::yb::PermissionType permissions(int index) const; |
3070 | | void set_permissions(int index, ::yb::PermissionType value); |
3071 | | void add_permissions(::yb::PermissionType value); |
3072 | | const ::google::protobuf::RepeatedField<int>& permissions() const; |
3073 | | ::google::protobuf::RepeatedField<int>* mutable_permissions(); |
3074 | | |
3075 | | // optional string resource_name = 1; |
3076 | | bool has_resource_name() const; |
3077 | | void clear_resource_name(); |
3078 | | static const int kResourceNameFieldNumber = 1; |
3079 | | const ::std::string& resource_name() const; |
3080 | | void set_resource_name(const ::std::string& value); |
3081 | | #if LANG_CXX11 |
3082 | | void set_resource_name(::std::string&& value); |
3083 | | #endif |
3084 | | void set_resource_name(const char* value); |
3085 | | void set_resource_name(const char* value, size_t size); |
3086 | | ::std::string* mutable_resource_name(); |
3087 | | ::std::string* release_resource_name(); |
3088 | | void set_allocated_resource_name(::std::string* resource_name); |
3089 | | |
3090 | | // optional string canonical_resource = 11; |
3091 | | bool has_canonical_resource() const; |
3092 | | void clear_canonical_resource(); |
3093 | | static const int kCanonicalResourceFieldNumber = 11; |
3094 | | const ::std::string& canonical_resource() const; |
3095 | | void set_canonical_resource(const ::std::string& value); |
3096 | | #if LANG_CXX11 |
3097 | | void set_canonical_resource(::std::string&& value); |
3098 | | #endif |
3099 | | void set_canonical_resource(const char* value); |
3100 | | void set_canonical_resource(const char* value, size_t size); |
3101 | | ::std::string* mutable_canonical_resource(); |
3102 | | ::std::string* release_canonical_resource(); |
3103 | | void set_allocated_canonical_resource(::std::string* canonical_resource); |
3104 | | |
3105 | | // optional string namespace_name = 12; |
3106 | | bool has_namespace_name() const; |
3107 | | void clear_namespace_name(); |
3108 | | static const int kNamespaceNameFieldNumber = 12; |
3109 | | const ::std::string& namespace_name() const; |
3110 | | void set_namespace_name(const ::std::string& value); |
3111 | | #if LANG_CXX11 |
3112 | | void set_namespace_name(::std::string&& value); |
3113 | | #endif |
3114 | | void set_namespace_name(const char* value); |
3115 | | void set_namespace_name(const char* value, size_t size); |
3116 | | ::std::string* mutable_namespace_name(); |
3117 | | ::std::string* release_namespace_name(); |
3118 | | void set_allocated_namespace_name(::std::string* namespace_name); |
3119 | | |
3120 | | // optional .yb.ResourceType resource_type = 2; |
3121 | | bool has_resource_type() const; |
3122 | | void clear_resource_type(); |
3123 | | static const int kResourceTypeFieldNumber = 2; |
3124 | | ::yb::ResourceType resource_type() const; |
3125 | | void set_resource_type(::yb::ResourceType value); |
3126 | | |
3127 | | // @@protoc_insertion_point(class_scope:yb.master.ResourcePermissionsPB) |
3128 | | private: |
3129 | | void set_has_resource_name(); |
3130 | | void clear_has_resource_name(); |
3131 | | void set_has_canonical_resource(); |
3132 | | void clear_has_canonical_resource(); |
3133 | | void set_has_namespace_name(); |
3134 | | void clear_has_namespace_name(); |
3135 | | void set_has_resource_type(); |
3136 | | void clear_has_resource_type(); |
3137 | | |
3138 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3139 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3140 | | mutable int _cached_size_; |
3141 | | ::google::protobuf::RepeatedField<int> permissions_; |
3142 | | ::google::protobuf::internal::ArenaStringPtr resource_name_; |
3143 | | ::google::protobuf::internal::ArenaStringPtr canonical_resource_; |
3144 | | ::google::protobuf::internal::ArenaStringPtr namespace_name_; |
3145 | | int resource_type_; |
3146 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
3147 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsResourcePermissionsPBImpl(); |
3148 | | }; |
3149 | | // ------------------------------------------------------------------- |
3150 | | |
3151 | | class SysRoleEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysRoleEntryPB) */ { |
3152 | | public: |
3153 | | SysRoleEntryPB(); |
3154 | | virtual ~SysRoleEntryPB(); |
3155 | | |
3156 | | SysRoleEntryPB(const SysRoleEntryPB& from); |
3157 | | |
3158 | 0 | inline SysRoleEntryPB& operator=(const SysRoleEntryPB& from) { |
3159 | 0 | CopyFrom(from); |
3160 | 0 | return *this; |
3161 | 0 | } |
3162 | | #if LANG_CXX11 |
3163 | | SysRoleEntryPB(SysRoleEntryPB&& from) noexcept |
3164 | 9.27k | : SysRoleEntryPB() { |
3165 | 9.27k | *this = ::std::move(from); |
3166 | 9.27k | } Unexecuted instantiation: yb::master::SysRoleEntryPB::SysRoleEntryPB(yb::master::SysRoleEntryPB&&) yb::master::SysRoleEntryPB::SysRoleEntryPB(yb::master::SysRoleEntryPB&&) Line | Count | Source | 3164 | 9.27k | : SysRoleEntryPB() { | 3165 | 9.27k | *this = ::std::move(from); | 3166 | 9.27k | } |
|
3167 | | |
3168 | 30.7k | inline SysRoleEntryPB& operator=(SysRoleEntryPB&& from) noexcept { |
3169 | 30.7k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3170 | 30.7k | if (this != &from) InternalSwap(&from); |
3171 | 30.7k | } else { |
3172 | 0 | CopyFrom(from); |
3173 | 0 | } |
3174 | 30.7k | return *this; |
3175 | 30.7k | } |
3176 | | #endif |
3177 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3178 | 0 | return _internal_metadata_.unknown_fields(); |
3179 | 0 | } |
3180 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3181 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3182 | 0 | } |
3183 | | |
3184 | | static const ::google::protobuf::Descriptor* descriptor(); |
3185 | | static const SysRoleEntryPB& default_instance(); |
3186 | | |
3187 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3188 | 43.6k | static inline const SysRoleEntryPB* internal_default_instance() { |
3189 | 43.6k | return reinterpret_cast<const SysRoleEntryPB*>( |
3190 | 43.6k | &_SysRoleEntryPB_default_instance_); |
3191 | 43.6k | } |
3192 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3193 | | 15; |
3194 | | |
3195 | | void Swap(SysRoleEntryPB* other); |
3196 | 0 | friend void swap(SysRoleEntryPB& a, SysRoleEntryPB& b) { |
3197 | 0 | a.Swap(&b); |
3198 | 0 | } |
3199 | | |
3200 | | // implements Message ---------------------------------------------- |
3201 | | |
3202 | 0 | inline SysRoleEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3203 | | |
3204 | | SysRoleEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3205 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3206 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3207 | | void CopyFrom(const SysRoleEntryPB& from); |
3208 | | void MergeFrom(const SysRoleEntryPB& from); |
3209 | | void Clear() PROTOBUF_FINAL; |
3210 | | bool IsInitialized() const PROTOBUF_FINAL; |
3211 | | |
3212 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3213 | | bool MergePartialFromCodedStream( |
3214 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3215 | | void SerializeWithCachedSizes( |
3216 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3217 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3218 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3219 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3220 | | private: |
3221 | | void SharedCtor(); |
3222 | | void SharedDtor(); |
3223 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3224 | | void InternalSwap(SysRoleEntryPB* other); |
3225 | | private: |
3226 | 61.4k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3227 | 61.4k | return NULL; |
3228 | 61.4k | } |
3229 | 0 | inline void* MaybeArenaPtr() const { |
3230 | 0 | return NULL; |
3231 | 0 | } |
3232 | | public: |
3233 | | |
3234 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3235 | | |
3236 | | // nested types ---------------------------------------------------- |
3237 | | |
3238 | | // accessors ------------------------------------------------------- |
3239 | | |
3240 | | // repeated bytes member_of = 4; |
3241 | | int member_of_size() const; |
3242 | | void clear_member_of(); |
3243 | | static const int kMemberOfFieldNumber = 4; |
3244 | | const ::std::string& member_of(int index) const; |
3245 | | ::std::string* mutable_member_of(int index); |
3246 | | void set_member_of(int index, const ::std::string& value); |
3247 | | #if LANG_CXX11 |
3248 | | void set_member_of(int index, ::std::string&& value); |
3249 | | #endif |
3250 | | void set_member_of(int index, const char* value); |
3251 | | void set_member_of(int index, const void* value, size_t size); |
3252 | | ::std::string* add_member_of(); |
3253 | | void add_member_of(const ::std::string& value); |
3254 | | #if LANG_CXX11 |
3255 | | void add_member_of(::std::string&& value); |
3256 | | #endif |
3257 | | void add_member_of(const char* value); |
3258 | | void add_member_of(const void* value, size_t size); |
3259 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& member_of() const; |
3260 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_member_of(); |
3261 | | |
3262 | | // repeated .yb.master.ResourcePermissionsPB resources = 7; |
3263 | | int resources_size() const; |
3264 | | void clear_resources(); |
3265 | | static const int kResourcesFieldNumber = 7; |
3266 | | const ::yb::master::ResourcePermissionsPB& resources(int index) const; |
3267 | | ::yb::master::ResourcePermissionsPB* mutable_resources(int index); |
3268 | | ::yb::master::ResourcePermissionsPB* add_resources(); |
3269 | | ::google::protobuf::RepeatedPtrField< ::yb::master::ResourcePermissionsPB >* |
3270 | | mutable_resources(); |
3271 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::ResourcePermissionsPB >& |
3272 | | resources() const; |
3273 | | |
3274 | | // optional bytes role = 1; |
3275 | | bool has_role() const; |
3276 | | void clear_role(); |
3277 | | static const int kRoleFieldNumber = 1; |
3278 | | const ::std::string& role() const; |
3279 | | void set_role(const ::std::string& value); |
3280 | | #if LANG_CXX11 |
3281 | | void set_role(::std::string&& value); |
3282 | | #endif |
3283 | | void set_role(const char* value); |
3284 | | void set_role(const void* value, size_t size); |
3285 | | ::std::string* mutable_role(); |
3286 | | ::std::string* release_role(); |
3287 | | void set_allocated_role(::std::string* role); |
3288 | | |
3289 | | // optional bytes salted_hash = 5; |
3290 | | bool has_salted_hash() const; |
3291 | | void clear_salted_hash(); |
3292 | | static const int kSaltedHashFieldNumber = 5; |
3293 | | const ::std::string& salted_hash() const; |
3294 | | void set_salted_hash(const ::std::string& value); |
3295 | | #if LANG_CXX11 |
3296 | | void set_salted_hash(::std::string&& value); |
3297 | | #endif |
3298 | | void set_salted_hash(const char* value); |
3299 | | void set_salted_hash(const void* value, size_t size); |
3300 | | ::std::string* mutable_salted_hash(); |
3301 | | ::std::string* release_salted_hash(); |
3302 | | void set_allocated_salted_hash(::std::string* salted_hash); |
3303 | | |
3304 | | // optional bool can_login = 2; |
3305 | | bool has_can_login() const; |
3306 | | void clear_can_login(); |
3307 | | static const int kCanLoginFieldNumber = 2; |
3308 | | bool can_login() const; |
3309 | | void set_can_login(bool value); |
3310 | | |
3311 | | // optional bool is_superuser = 3; |
3312 | | bool has_is_superuser() const; |
3313 | | void clear_is_superuser(); |
3314 | | static const int kIsSuperuserFieldNumber = 3; |
3315 | | bool is_superuser() const; |
3316 | | void set_is_superuser(bool value); |
3317 | | |
3318 | | // @@protoc_insertion_point(class_scope:yb.master.SysRoleEntryPB) |
3319 | | private: |
3320 | | void set_has_role(); |
3321 | | void clear_has_role(); |
3322 | | void set_has_can_login(); |
3323 | | void clear_has_can_login(); |
3324 | | void set_has_is_superuser(); |
3325 | | void clear_has_is_superuser(); |
3326 | | void set_has_salted_hash(); |
3327 | | void clear_has_salted_hash(); |
3328 | | |
3329 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3330 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3331 | | mutable int _cached_size_; |
3332 | | ::google::protobuf::RepeatedPtrField< ::std::string> member_of_; |
3333 | | ::google::protobuf::RepeatedPtrField< ::yb::master::ResourcePermissionsPB > resources_; |
3334 | | ::google::protobuf::internal::ArenaStringPtr role_; |
3335 | | ::google::protobuf::internal::ArenaStringPtr salted_hash_; |
3336 | | bool can_login_; |
3337 | | bool is_superuser_; |
3338 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
3339 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRoleEntryPBImpl(); |
3340 | | }; |
3341 | | // ------------------------------------------------------------------- |
3342 | | |
3343 | | class SysSecurityConfigEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysSecurityConfigEntryPB) */ { |
3344 | | public: |
3345 | | SysSecurityConfigEntryPB(); |
3346 | | virtual ~SysSecurityConfigEntryPB(); |
3347 | | |
3348 | | SysSecurityConfigEntryPB(const SysSecurityConfigEntryPB& from); |
3349 | | |
3350 | 0 | inline SysSecurityConfigEntryPB& operator=(const SysSecurityConfigEntryPB& from) { |
3351 | 0 | CopyFrom(from); |
3352 | 0 | return *this; |
3353 | 0 | } |
3354 | | #if LANG_CXX11 |
3355 | | SysSecurityConfigEntryPB(SysSecurityConfigEntryPB&& from) noexcept |
3356 | 0 | : SysSecurityConfigEntryPB() { |
3357 | 0 | *this = ::std::move(from); |
3358 | 0 | } |
3359 | | |
3360 | 2.90k | inline SysSecurityConfigEntryPB& operator=(SysSecurityConfigEntryPB&& from) noexcept { |
3361 | 2.90k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3362 | 2.90k | if (this != &from) InternalSwap(&from); |
3363 | 2.90k | } else { |
3364 | 0 | CopyFrom(from); |
3365 | 0 | } |
3366 | 2.90k | return *this; |
3367 | 2.90k | } |
3368 | | #endif |
3369 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3370 | 0 | return _internal_metadata_.unknown_fields(); |
3371 | 0 | } |
3372 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3373 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3374 | 0 | } |
3375 | | |
3376 | | static const ::google::protobuf::Descriptor* descriptor(); |
3377 | | static const SysSecurityConfigEntryPB& default_instance(); |
3378 | | |
3379 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3380 | 67.2k | static inline const SysSecurityConfigEntryPB* internal_default_instance() { |
3381 | 67.2k | return reinterpret_cast<const SysSecurityConfigEntryPB*>( |
3382 | 67.2k | &_SysSecurityConfigEntryPB_default_instance_); |
3383 | 67.2k | } |
3384 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3385 | | 16; |
3386 | | |
3387 | | void Swap(SysSecurityConfigEntryPB* other); |
3388 | 0 | friend void swap(SysSecurityConfigEntryPB& a, SysSecurityConfigEntryPB& b) { |
3389 | 0 | a.Swap(&b); |
3390 | 0 | } |
3391 | | |
3392 | | // implements Message ---------------------------------------------- |
3393 | | |
3394 | 0 | inline SysSecurityConfigEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3395 | | |
3396 | | SysSecurityConfigEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3397 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3398 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3399 | | void CopyFrom(const SysSecurityConfigEntryPB& from); |
3400 | | void MergeFrom(const SysSecurityConfigEntryPB& from); |
3401 | | void Clear() PROTOBUF_FINAL; |
3402 | | bool IsInitialized() const PROTOBUF_FINAL; |
3403 | | |
3404 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3405 | | bool MergePartialFromCodedStream( |
3406 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3407 | | void SerializeWithCachedSizes( |
3408 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3409 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3410 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3411 | 8.93k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3412 | | private: |
3413 | | void SharedCtor(); |
3414 | | void SharedDtor(); |
3415 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3416 | | void InternalSwap(SysSecurityConfigEntryPB* other); |
3417 | | private: |
3418 | 5.81k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3419 | 5.81k | return NULL; |
3420 | 5.81k | } |
3421 | 0 | inline void* MaybeArenaPtr() const { |
3422 | 0 | return NULL; |
3423 | 0 | } |
3424 | | public: |
3425 | | |
3426 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3427 | | |
3428 | | // nested types ---------------------------------------------------- |
3429 | | |
3430 | | // accessors ------------------------------------------------------- |
3431 | | |
3432 | | // optional uint64 roles_version = 1; |
3433 | | bool has_roles_version() const; |
3434 | | void clear_roles_version(); |
3435 | | static const int kRolesVersionFieldNumber = 1; |
3436 | | ::google::protobuf::uint64 roles_version() const; |
3437 | | void set_roles_version(::google::protobuf::uint64 value); |
3438 | | |
3439 | | // @@protoc_insertion_point(class_scope:yb.master.SysSecurityConfigEntryPB) |
3440 | | private: |
3441 | | void set_has_roles_version(); |
3442 | | void clear_has_roles_version(); |
3443 | | |
3444 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3445 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3446 | | mutable int _cached_size_; |
3447 | | ::google::protobuf::uint64 roles_version_; |
3448 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
3449 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysSecurityConfigEntryPBImpl(); |
3450 | | }; |
3451 | | // ------------------------------------------------------------------- |
3452 | | |
3453 | | class SysYSQLCatalogConfigEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysYSQLCatalogConfigEntryPB) */ { |
3454 | | public: |
3455 | | SysYSQLCatalogConfigEntryPB(); |
3456 | | virtual ~SysYSQLCatalogConfigEntryPB(); |
3457 | | |
3458 | | SysYSQLCatalogConfigEntryPB(const SysYSQLCatalogConfigEntryPB& from); |
3459 | | |
3460 | 0 | inline SysYSQLCatalogConfigEntryPB& operator=(const SysYSQLCatalogConfigEntryPB& from) { |
3461 | 0 | CopyFrom(from); |
3462 | 0 | return *this; |
3463 | 0 | } |
3464 | | #if LANG_CXX11 |
3465 | | SysYSQLCatalogConfigEntryPB(SysYSQLCatalogConfigEntryPB&& from) noexcept |
3466 | 0 | : SysYSQLCatalogConfigEntryPB() { |
3467 | 0 | *this = ::std::move(from); |
3468 | 0 | } |
3469 | | |
3470 | 2.90k | inline SysYSQLCatalogConfigEntryPB& operator=(SysYSQLCatalogConfigEntryPB&& from) noexcept { |
3471 | 2.90k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3472 | 2.90k | if (this != &from) InternalSwap(&from); |
3473 | 2.90k | } else { |
3474 | 0 | CopyFrom(from); |
3475 | 0 | } |
3476 | 2.90k | return *this; |
3477 | 2.90k | } |
3478 | | #endif |
3479 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3480 | 0 | return _internal_metadata_.unknown_fields(); |
3481 | 0 | } |
3482 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3483 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3484 | 0 | } |
3485 | | |
3486 | | static const ::google::protobuf::Descriptor* descriptor(); |
3487 | | static const SysYSQLCatalogConfigEntryPB& default_instance(); |
3488 | | |
3489 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3490 | 64.9k | static inline const SysYSQLCatalogConfigEntryPB* internal_default_instance() { |
3491 | 64.9k | return reinterpret_cast<const SysYSQLCatalogConfigEntryPB*>( |
3492 | 64.9k | &_SysYSQLCatalogConfigEntryPB_default_instance_); |
3493 | 64.9k | } |
3494 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3495 | | 17; |
3496 | | |
3497 | | void Swap(SysYSQLCatalogConfigEntryPB* other); |
3498 | 0 | friend void swap(SysYSQLCatalogConfigEntryPB& a, SysYSQLCatalogConfigEntryPB& b) { |
3499 | 0 | a.Swap(&b); |
3500 | 0 | } |
3501 | | |
3502 | | // implements Message ---------------------------------------------- |
3503 | | |
3504 | 0 | inline SysYSQLCatalogConfigEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3505 | | |
3506 | | SysYSQLCatalogConfigEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3507 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3508 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3509 | | void CopyFrom(const SysYSQLCatalogConfigEntryPB& from); |
3510 | | void MergeFrom(const SysYSQLCatalogConfigEntryPB& from); |
3511 | | void Clear() PROTOBUF_FINAL; |
3512 | | bool IsInitialized() const PROTOBUF_FINAL; |
3513 | | |
3514 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3515 | | bool MergePartialFromCodedStream( |
3516 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3517 | | void SerializeWithCachedSizes( |
3518 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3519 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3520 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3521 | 6.57k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3522 | | private: |
3523 | | void SharedCtor(); |
3524 | | void SharedDtor(); |
3525 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3526 | | void InternalSwap(SysYSQLCatalogConfigEntryPB* other); |
3527 | | private: |
3528 | 5.81k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3529 | 5.81k | return NULL; |
3530 | 5.81k | } |
3531 | 0 | inline void* MaybeArenaPtr() const { |
3532 | 0 | return NULL; |
3533 | 0 | } |
3534 | | public: |
3535 | | |
3536 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3537 | | |
3538 | | // nested types ---------------------------------------------------- |
3539 | | |
3540 | | // accessors ------------------------------------------------------- |
3541 | | |
3542 | | // optional string initdb_error = 5; |
3543 | | bool has_initdb_error() const; |
3544 | | void clear_initdb_error(); |
3545 | | static const int kInitdbErrorFieldNumber = 5; |
3546 | | const ::std::string& initdb_error() const; |
3547 | | void set_initdb_error(const ::std::string& value); |
3548 | | #if LANG_CXX11 |
3549 | | void set_initdb_error(::std::string&& value); |
3550 | | #endif |
3551 | | void set_initdb_error(const char* value); |
3552 | | void set_initdb_error(const char* value, size_t size); |
3553 | | ::std::string* mutable_initdb_error(); |
3554 | | ::std::string* release_initdb_error(); |
3555 | | void set_allocated_initdb_error(::std::string* initdb_error); |
3556 | | |
3557 | | // optional uint64 version = 1; |
3558 | | bool has_version() const; |
3559 | | void clear_version(); |
3560 | | static const int kVersionFieldNumber = 1; |
3561 | | ::google::protobuf::uint64 version() const; |
3562 | | void set_version(::google::protobuf::uint64 value); |
3563 | | |
3564 | | // optional bool initdb_done = 2; |
3565 | | bool has_initdb_done() const; |
3566 | | void clear_initdb_done(); |
3567 | | static const int kInitdbDoneFieldNumber = 2; |
3568 | | bool initdb_done() const; |
3569 | | void set_initdb_done(bool value); |
3570 | | |
3571 | | // optional bool transactional_sys_catalog_enabled = 6; |
3572 | | bool has_transactional_sys_catalog_enabled() const; |
3573 | | void clear_transactional_sys_catalog_enabled(); |
3574 | | static const int kTransactionalSysCatalogEnabledFieldNumber = 6; |
3575 | | bool transactional_sys_catalog_enabled() const; |
3576 | | void set_transactional_sys_catalog_enabled(bool value); |
3577 | | |
3578 | | // @@protoc_insertion_point(class_scope:yb.master.SysYSQLCatalogConfigEntryPB) |
3579 | | private: |
3580 | | void set_has_version(); |
3581 | | void clear_has_version(); |
3582 | | void set_has_initdb_done(); |
3583 | | void clear_has_initdb_done(); |
3584 | | void set_has_initdb_error(); |
3585 | | void clear_has_initdb_error(); |
3586 | | void set_has_transactional_sys_catalog_enabled(); |
3587 | | void clear_has_transactional_sys_catalog_enabled(); |
3588 | | |
3589 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3590 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3591 | | mutable int _cached_size_; |
3592 | | ::google::protobuf::internal::ArenaStringPtr initdb_error_; |
3593 | | ::google::protobuf::uint64 version_; |
3594 | | bool initdb_done_; |
3595 | | bool transactional_sys_catalog_enabled_; |
3596 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
3597 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysYSQLCatalogConfigEntryPBImpl(); |
3598 | | }; |
3599 | | // ------------------------------------------------------------------- |
3600 | | |
3601 | | class SysTransactionTablesConfigEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysTransactionTablesConfigEntryPB) */ { |
3602 | | public: |
3603 | | SysTransactionTablesConfigEntryPB(); |
3604 | | virtual ~SysTransactionTablesConfigEntryPB(); |
3605 | | |
3606 | | SysTransactionTablesConfigEntryPB(const SysTransactionTablesConfigEntryPB& from); |
3607 | | |
3608 | 0 | inline SysTransactionTablesConfigEntryPB& operator=(const SysTransactionTablesConfigEntryPB& from) { |
3609 | 0 | CopyFrom(from); |
3610 | 0 | return *this; |
3611 | 0 | } |
3612 | | #if LANG_CXX11 |
3613 | | SysTransactionTablesConfigEntryPB(SysTransactionTablesConfigEntryPB&& from) noexcept |
3614 | 0 | : SysTransactionTablesConfigEntryPB() { |
3615 | 0 | *this = ::std::move(from); |
3616 | 0 | } |
3617 | | |
3618 | 2.91k | inline SysTransactionTablesConfigEntryPB& operator=(SysTransactionTablesConfigEntryPB&& from) noexcept { |
3619 | 2.91k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3620 | 2.91k | if (this != &from) InternalSwap(&from); |
3621 | 2.91k | } else { |
3622 | 0 | CopyFrom(from); |
3623 | 0 | } |
3624 | 2.91k | return *this; |
3625 | 2.91k | } |
3626 | | #endif |
3627 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3628 | 0 | return _internal_metadata_.unknown_fields(); |
3629 | 0 | } |
3630 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3631 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3632 | 0 | } |
3633 | | |
3634 | | static const ::google::protobuf::Descriptor* descriptor(); |
3635 | | static const SysTransactionTablesConfigEntryPB& default_instance(); |
3636 | | |
3637 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3638 | 62.3k | static inline const SysTransactionTablesConfigEntryPB* internal_default_instance() { |
3639 | 62.3k | return reinterpret_cast<const SysTransactionTablesConfigEntryPB*>( |
3640 | 62.3k | &_SysTransactionTablesConfigEntryPB_default_instance_); |
3641 | 62.3k | } |
3642 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3643 | | 18; |
3644 | | |
3645 | | void Swap(SysTransactionTablesConfigEntryPB* other); |
3646 | 0 | friend void swap(SysTransactionTablesConfigEntryPB& a, SysTransactionTablesConfigEntryPB& b) { |
3647 | 0 | a.Swap(&b); |
3648 | 0 | } |
3649 | | |
3650 | | // implements Message ---------------------------------------------- |
3651 | | |
3652 | 0 | inline SysTransactionTablesConfigEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3653 | | |
3654 | | SysTransactionTablesConfigEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3655 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3656 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3657 | | void CopyFrom(const SysTransactionTablesConfigEntryPB& from); |
3658 | | void MergeFrom(const SysTransactionTablesConfigEntryPB& from); |
3659 | | void Clear() PROTOBUF_FINAL; |
3660 | | bool IsInitialized() const PROTOBUF_FINAL; |
3661 | | |
3662 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3663 | | bool MergePartialFromCodedStream( |
3664 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3665 | | void SerializeWithCachedSizes( |
3666 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3667 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3668 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3669 | 4.00k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3670 | | private: |
3671 | | void SharedCtor(); |
3672 | | void SharedDtor(); |
3673 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3674 | | void InternalSwap(SysTransactionTablesConfigEntryPB* other); |
3675 | | private: |
3676 | 5.82k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3677 | 5.82k | return NULL; |
3678 | 5.82k | } |
3679 | 0 | inline void* MaybeArenaPtr() const { |
3680 | 0 | return NULL; |
3681 | 0 | } |
3682 | | public: |
3683 | | |
3684 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3685 | | |
3686 | | // nested types ---------------------------------------------------- |
3687 | | |
3688 | | // accessors ------------------------------------------------------- |
3689 | | |
3690 | | // optional uint64 version = 1; |
3691 | | bool has_version() const; |
3692 | | void clear_version(); |
3693 | | static const int kVersionFieldNumber = 1; |
3694 | | ::google::protobuf::uint64 version() const; |
3695 | | void set_version(::google::protobuf::uint64 value); |
3696 | | |
3697 | | // @@protoc_insertion_point(class_scope:yb.master.SysTransactionTablesConfigEntryPB) |
3698 | | private: |
3699 | | void set_has_version(); |
3700 | | void clear_has_version(); |
3701 | | |
3702 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3703 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3704 | | mutable int _cached_size_; |
3705 | | ::google::protobuf::uint64 version_; |
3706 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
3707 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysTransactionTablesConfigEntryPBImpl(); |
3708 | | }; |
3709 | | // ------------------------------------------------------------------- |
3710 | | |
3711 | | class SysConfigEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysConfigEntryPB) */ { |
3712 | | public: |
3713 | | SysConfigEntryPB(); |
3714 | | virtual ~SysConfigEntryPB(); |
3715 | | |
3716 | | SysConfigEntryPB(const SysConfigEntryPB& from); |
3717 | | |
3718 | 0 | inline SysConfigEntryPB& operator=(const SysConfigEntryPB& from) { |
3719 | 0 | CopyFrom(from); |
3720 | 0 | return *this; |
3721 | 0 | } |
3722 | | #if LANG_CXX11 |
3723 | | SysConfigEntryPB(SysConfigEntryPB&& from) noexcept |
3724 | 22.0k | : SysConfigEntryPB() { |
3725 | 22.0k | *this = ::std::move(from); |
3726 | 22.0k | } Unexecuted instantiation: yb::master::SysConfigEntryPB::SysConfigEntryPB(yb::master::SysConfigEntryPB&&) yb::master::SysConfigEntryPB::SysConfigEntryPB(yb::master::SysConfigEntryPB&&) Line | Count | Source | 3724 | 22.0k | : SysConfigEntryPB() { | 3725 | 22.0k | *this = ::std::move(from); | 3726 | 22.0k | } |
|
3727 | | |
3728 | 66.1k | inline SysConfigEntryPB& operator=(SysConfigEntryPB&& from) noexcept { |
3729 | 66.1k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3730 | 66.1k | if (this != &from) InternalSwap(&from); |
3731 | 66.1k | } else { |
3732 | 0 | CopyFrom(from); |
3733 | 0 | } |
3734 | 66.1k | return *this; |
3735 | 66.1k | } |
3736 | | #endif |
3737 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3738 | 0 | return _internal_metadata_.unknown_fields(); |
3739 | 0 | } |
3740 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3741 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3742 | 0 | } |
3743 | | |
3744 | | static const ::google::protobuf::Descriptor* descriptor(); |
3745 | | static const SysConfigEntryPB& default_instance(); |
3746 | | |
3747 | | enum ConfigCase { |
3748 | | kSecurityConfig = 1, |
3749 | | kYsqlCatalogConfig = 2, |
3750 | | kTransactionTablesConfig = 3, |
3751 | | CONFIG_NOT_SET = 0, |
3752 | | }; |
3753 | | |
3754 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3755 | 62.7k | static inline const SysConfigEntryPB* internal_default_instance() { |
3756 | 62.7k | return reinterpret_cast<const SysConfigEntryPB*>( |
3757 | 62.7k | &_SysConfigEntryPB_default_instance_); |
3758 | 62.7k | } |
3759 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3760 | | 19; |
3761 | | |
3762 | | void Swap(SysConfigEntryPB* other); |
3763 | 0 | friend void swap(SysConfigEntryPB& a, SysConfigEntryPB& b) { |
3764 | 0 | a.Swap(&b); |
3765 | 0 | } |
3766 | | |
3767 | | // implements Message ---------------------------------------------- |
3768 | | |
3769 | 0 | inline SysConfigEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3770 | | |
3771 | | SysConfigEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3772 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3773 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3774 | | void CopyFrom(const SysConfigEntryPB& from); |
3775 | | void MergeFrom(const SysConfigEntryPB& from); |
3776 | | void Clear() PROTOBUF_FINAL; |
3777 | | bool IsInitialized() const PROTOBUF_FINAL; |
3778 | | |
3779 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3780 | | bool MergePartialFromCodedStream( |
3781 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3782 | | void SerializeWithCachedSizes( |
3783 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3784 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3785 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3786 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3787 | | private: |
3788 | | void SharedCtor(); |
3789 | | void SharedDtor(); |
3790 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3791 | | void InternalSwap(SysConfigEntryPB* other); |
3792 | | private: |
3793 | 132k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3794 | 132k | return NULL; |
3795 | 132k | } |
3796 | 0 | inline void* MaybeArenaPtr() const { |
3797 | 0 | return NULL; |
3798 | 0 | } |
3799 | | public: |
3800 | | |
3801 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3802 | | |
3803 | | // nested types ---------------------------------------------------- |
3804 | | |
3805 | | // accessors ------------------------------------------------------- |
3806 | | |
3807 | | // optional .yb.master.SysSecurityConfigEntryPB security_config = 1; |
3808 | | bool has_security_config() const; |
3809 | | void clear_security_config(); |
3810 | | static const int kSecurityConfigFieldNumber = 1; |
3811 | | const ::yb::master::SysSecurityConfigEntryPB& security_config() const; |
3812 | | ::yb::master::SysSecurityConfigEntryPB* release_security_config(); |
3813 | | ::yb::master::SysSecurityConfigEntryPB* mutable_security_config(); |
3814 | | void set_allocated_security_config(::yb::master::SysSecurityConfigEntryPB* security_config); |
3815 | | |
3816 | | // optional .yb.master.SysYSQLCatalogConfigEntryPB ysql_catalog_config = 2; |
3817 | | bool has_ysql_catalog_config() const; |
3818 | | void clear_ysql_catalog_config(); |
3819 | | static const int kYsqlCatalogConfigFieldNumber = 2; |
3820 | | const ::yb::master::SysYSQLCatalogConfigEntryPB& ysql_catalog_config() const; |
3821 | | ::yb::master::SysYSQLCatalogConfigEntryPB* release_ysql_catalog_config(); |
3822 | | ::yb::master::SysYSQLCatalogConfigEntryPB* mutable_ysql_catalog_config(); |
3823 | | void set_allocated_ysql_catalog_config(::yb::master::SysYSQLCatalogConfigEntryPB* ysql_catalog_config); |
3824 | | |
3825 | | // optional .yb.master.SysTransactionTablesConfigEntryPB transaction_tables_config = 3; |
3826 | | bool has_transaction_tables_config() const; |
3827 | | void clear_transaction_tables_config(); |
3828 | | static const int kTransactionTablesConfigFieldNumber = 3; |
3829 | | const ::yb::master::SysTransactionTablesConfigEntryPB& transaction_tables_config() const; |
3830 | | ::yb::master::SysTransactionTablesConfigEntryPB* release_transaction_tables_config(); |
3831 | | ::yb::master::SysTransactionTablesConfigEntryPB* mutable_transaction_tables_config(); |
3832 | | void set_allocated_transaction_tables_config(::yb::master::SysTransactionTablesConfigEntryPB* transaction_tables_config); |
3833 | | |
3834 | | ConfigCase config_case() const; |
3835 | | // @@protoc_insertion_point(class_scope:yb.master.SysConfigEntryPB) |
3836 | | private: |
3837 | | void set_has_security_config(); |
3838 | | void set_has_ysql_catalog_config(); |
3839 | | void set_has_transaction_tables_config(); |
3840 | | |
3841 | | inline bool has_config() const; |
3842 | | void clear_config(); |
3843 | | inline void clear_has_config(); |
3844 | | |
3845 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3846 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3847 | | mutable int _cached_size_; |
3848 | | union ConfigUnion { |
3849 | 84.7k | ConfigUnion() {} |
3850 | | ::yb::master::SysSecurityConfigEntryPB* security_config_; |
3851 | | ::yb::master::SysYSQLCatalogConfigEntryPB* ysql_catalog_config_; |
3852 | | ::yb::master::SysTransactionTablesConfigEntryPB* transaction_tables_config_; |
3853 | | } config_; |
3854 | | ::google::protobuf::uint32 _oneof_case_[1]; |
3855 | | |
3856 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
3857 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysConfigEntryPBImpl(); |
3858 | | }; |
3859 | | // ------------------------------------------------------------------- |
3860 | | |
3861 | | class SysRowEntry : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysRowEntry) */ { |
3862 | | public: |
3863 | | SysRowEntry(); |
3864 | | virtual ~SysRowEntry(); |
3865 | | |
3866 | | SysRowEntry(const SysRowEntry& from); |
3867 | | |
3868 | 0 | inline SysRowEntry& operator=(const SysRowEntry& from) { |
3869 | 0 | CopyFrom(from); |
3870 | 0 | return *this; |
3871 | 0 | } |
3872 | | #if LANG_CXX11 |
3873 | | SysRowEntry(SysRowEntry&& from) noexcept |
3874 | 0 | : SysRowEntry() { |
3875 | 0 | *this = ::std::move(from); |
3876 | 0 | } |
3877 | | |
3878 | 0 | inline SysRowEntry& operator=(SysRowEntry&& from) noexcept { |
3879 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3880 | 0 | if (this != &from) InternalSwap(&from); |
3881 | 0 | } else { |
3882 | 0 | CopyFrom(from); |
3883 | 0 | } |
3884 | 0 | return *this; |
3885 | 0 | } |
3886 | | #endif |
3887 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3888 | 0 | return _internal_metadata_.unknown_fields(); |
3889 | 0 | } |
3890 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3891 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3892 | 0 | } |
3893 | | |
3894 | | static const ::google::protobuf::Descriptor* descriptor(); |
3895 | | static const SysRowEntry& default_instance(); |
3896 | | |
3897 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3898 | 54.9k | static inline const SysRowEntry* internal_default_instance() { |
3899 | 54.9k | return reinterpret_cast<const SysRowEntry*>( |
3900 | 54.9k | &_SysRowEntry_default_instance_); |
3901 | 54.9k | } |
3902 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3903 | | 20; |
3904 | | |
3905 | | void Swap(SysRowEntry* other); |
3906 | 0 | friend void swap(SysRowEntry& a, SysRowEntry& b) { |
3907 | 0 | a.Swap(&b); |
3908 | 0 | } |
3909 | | |
3910 | | // implements Message ---------------------------------------------- |
3911 | | |
3912 | 0 | inline SysRowEntry* New() const PROTOBUF_FINAL { return New(NULL); } |
3913 | | |
3914 | | SysRowEntry* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3915 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3916 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3917 | | void CopyFrom(const SysRowEntry& from); |
3918 | | void MergeFrom(const SysRowEntry& from); |
3919 | | void Clear() PROTOBUF_FINAL; |
3920 | | bool IsInitialized() const PROTOBUF_FINAL; |
3921 | | |
3922 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3923 | | bool MergePartialFromCodedStream( |
3924 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3925 | | void SerializeWithCachedSizes( |
3926 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3927 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3928 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3929 | 332 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3930 | | private: |
3931 | | void SharedCtor(); |
3932 | | void SharedDtor(); |
3933 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3934 | | void InternalSwap(SysRowEntry* other); |
3935 | | private: |
3936 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3937 | 0 | return NULL; |
3938 | 0 | } |
3939 | 0 | inline void* MaybeArenaPtr() const { |
3940 | 0 | return NULL; |
3941 | 0 | } |
3942 | | public: |
3943 | | |
3944 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3945 | | |
3946 | | // nested types ---------------------------------------------------- |
3947 | | |
3948 | | // accessors ------------------------------------------------------- |
3949 | | |
3950 | | // optional string id = 2; |
3951 | | bool has_id() const; |
3952 | | void clear_id(); |
3953 | | static const int kIdFieldNumber = 2; |
3954 | | const ::std::string& id() const; |
3955 | | void set_id(const ::std::string& value); |
3956 | | #if LANG_CXX11 |
3957 | | void set_id(::std::string&& value); |
3958 | | #endif |
3959 | | void set_id(const char* value); |
3960 | | void set_id(const char* value, size_t size); |
3961 | | ::std::string* mutable_id(); |
3962 | | ::std::string* release_id(); |
3963 | | void set_allocated_id(::std::string* id); |
3964 | | |
3965 | | // optional bytes data = 3; |
3966 | | bool has_data() const; |
3967 | | void clear_data(); |
3968 | | static const int kDataFieldNumber = 3; |
3969 | | const ::std::string& data() const; |
3970 | | void set_data(const ::std::string& value); |
3971 | | #if LANG_CXX11 |
3972 | | void set_data(::std::string&& value); |
3973 | | #endif |
3974 | | void set_data(const char* value); |
3975 | | void set_data(const void* value, size_t size); |
3976 | | ::std::string* mutable_data(); |
3977 | | ::std::string* release_data(); |
3978 | | void set_allocated_data(::std::string* data); |
3979 | | |
3980 | | // optional .yb.master.SysRowEntryType type = 1; |
3981 | | bool has_type() const; |
3982 | | void clear_type(); |
3983 | | static const int kTypeFieldNumber = 1; |
3984 | | ::yb::master::SysRowEntryType type() const; |
3985 | | void set_type(::yb::master::SysRowEntryType value); |
3986 | | |
3987 | | // @@protoc_insertion_point(class_scope:yb.master.SysRowEntry) |
3988 | | private: |
3989 | | void set_has_type(); |
3990 | | void clear_has_type(); |
3991 | | void set_has_id(); |
3992 | | void clear_has_id(); |
3993 | | void set_has_data(); |
3994 | | void clear_has_data(); |
3995 | | |
3996 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3997 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3998 | | mutable int _cached_size_; |
3999 | | ::google::protobuf::internal::ArenaStringPtr id_; |
4000 | | ::google::protobuf::internal::ArenaStringPtr data_; |
4001 | | int type_; |
4002 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
4003 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRowEntryImpl(); |
4004 | | }; |
4005 | | // ------------------------------------------------------------------- |
4006 | | |
4007 | | class SysRowEntries : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysRowEntries) */ { |
4008 | | public: |
4009 | | SysRowEntries(); |
4010 | | virtual ~SysRowEntries(); |
4011 | | |
4012 | | SysRowEntries(const SysRowEntries& from); |
4013 | | |
4014 | 0 | inline SysRowEntries& operator=(const SysRowEntries& from) { |
4015 | 0 | CopyFrom(from); |
4016 | 0 | return *this; |
4017 | 0 | } |
4018 | | #if LANG_CXX11 |
4019 | | SysRowEntries(SysRowEntries&& from) noexcept |
4020 | 63 | : SysRowEntries() { |
4021 | 63 | *this = ::std::move(from); |
4022 | 63 | } Unexecuted instantiation: yb::master::SysRowEntries::SysRowEntries(yb::master::SysRowEntries&&) yb::master::SysRowEntries::SysRowEntries(yb::master::SysRowEntries&&) Line | Count | Source | 4020 | 63 | : SysRowEntries() { | 4021 | 63 | *this = ::std::move(from); | 4022 | 63 | } |
|
4023 | | |
4024 | 63 | inline SysRowEntries& operator=(SysRowEntries&& from) noexcept { |
4025 | 63 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4026 | 63 | if (this != &from) InternalSwap(&from); |
4027 | 63 | } else { |
4028 | 0 | CopyFrom(from); |
4029 | 0 | } |
4030 | 63 | return *this; |
4031 | 63 | } |
4032 | | #endif |
4033 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4034 | 0 | return _internal_metadata_.unknown_fields(); |
4035 | 0 | } |
4036 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4037 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4038 | 0 | } |
4039 | | |
4040 | | static const ::google::protobuf::Descriptor* descriptor(); |
4041 | | static const SysRowEntries& default_instance(); |
4042 | | |
4043 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4044 | 27.1k | static inline const SysRowEntries* internal_default_instance() { |
4045 | 27.1k | return reinterpret_cast<const SysRowEntries*>( |
4046 | 27.1k | &_SysRowEntries_default_instance_); |
4047 | 27.1k | } |
4048 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4049 | | 21; |
4050 | | |
4051 | | void Swap(SysRowEntries* other); |
4052 | 0 | friend void swap(SysRowEntries& a, SysRowEntries& b) { |
4053 | 0 | a.Swap(&b); |
4054 | 0 | } |
4055 | | |
4056 | | // implements Message ---------------------------------------------- |
4057 | | |
4058 | 0 | inline SysRowEntries* New() const PROTOBUF_FINAL { return New(NULL); } |
4059 | | |
4060 | | SysRowEntries* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4061 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4062 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4063 | | void CopyFrom(const SysRowEntries& from); |
4064 | | void MergeFrom(const SysRowEntries& from); |
4065 | | void Clear() PROTOBUF_FINAL; |
4066 | | bool IsInitialized() const PROTOBUF_FINAL; |
4067 | | |
4068 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4069 | | bool MergePartialFromCodedStream( |
4070 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4071 | | void SerializeWithCachedSizes( |
4072 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4073 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4074 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4075 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4076 | | private: |
4077 | | void SharedCtor(); |
4078 | | void SharedDtor(); |
4079 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4080 | | void InternalSwap(SysRowEntries* other); |
4081 | | private: |
4082 | 126 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4083 | 126 | return NULL; |
4084 | 126 | } |
4085 | 0 | inline void* MaybeArenaPtr() const { |
4086 | 0 | return NULL; |
4087 | 0 | } |
4088 | | public: |
4089 | | |
4090 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4091 | | |
4092 | | // nested types ---------------------------------------------------- |
4093 | | |
4094 | | // accessors ------------------------------------------------------- |
4095 | | |
4096 | | // repeated .yb.master.SysRowEntry entries = 1; |
4097 | | int entries_size() const; |
4098 | | void clear_entries(); |
4099 | | static const int kEntriesFieldNumber = 1; |
4100 | | const ::yb::master::SysRowEntry& entries(int index) const; |
4101 | | ::yb::master::SysRowEntry* mutable_entries(int index); |
4102 | | ::yb::master::SysRowEntry* add_entries(); |
4103 | | ::google::protobuf::RepeatedPtrField< ::yb::master::SysRowEntry >* |
4104 | | mutable_entries(); |
4105 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::SysRowEntry >& |
4106 | | entries() const; |
4107 | | |
4108 | | // @@protoc_insertion_point(class_scope:yb.master.SysRowEntries) |
4109 | | private: |
4110 | | |
4111 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4112 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4113 | | mutable int _cached_size_; |
4114 | | ::google::protobuf::RepeatedPtrField< ::yb::master::SysRowEntry > entries_; |
4115 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
4116 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysRowEntriesImpl(); |
4117 | | }; |
4118 | | // ------------------------------------------------------------------- |
4119 | | |
4120 | | class DdlLogEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.DdlLogEntryPB) */ { |
4121 | | public: |
4122 | | DdlLogEntryPB(); |
4123 | | virtual ~DdlLogEntryPB(); |
4124 | | |
4125 | | DdlLogEntryPB(const DdlLogEntryPB& from); |
4126 | | |
4127 | 0 | inline DdlLogEntryPB& operator=(const DdlLogEntryPB& from) { |
4128 | 0 | CopyFrom(from); |
4129 | 0 | return *this; |
4130 | 0 | } |
4131 | | #if LANG_CXX11 |
4132 | | DdlLogEntryPB(DdlLogEntryPB&& from) noexcept |
4133 | 40 | : DdlLogEntryPB() { |
4134 | 40 | *this = ::std::move(from); |
4135 | 40 | } Unexecuted instantiation: yb::master::DdlLogEntryPB::DdlLogEntryPB(yb::master::DdlLogEntryPB&&) yb::master::DdlLogEntryPB::DdlLogEntryPB(yb::master::DdlLogEntryPB&&) Line | Count | Source | 4133 | 40 | : DdlLogEntryPB() { | 4134 | 40 | *this = ::std::move(from); | 4135 | 40 | } |
|
4136 | | |
4137 | 1.15k | inline DdlLogEntryPB& operator=(DdlLogEntryPB&& from) noexcept { |
4138 | 1.15k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4139 | 1.15k | if (this != &from) InternalSwap(&from); |
4140 | 1.15k | } else { |
4141 | 0 | CopyFrom(from); |
4142 | 0 | } |
4143 | 1.15k | return *this; |
4144 | 1.15k | } |
4145 | | #endif |
4146 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4147 | 0 | return _internal_metadata_.unknown_fields(); |
4148 | 0 | } |
4149 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4150 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4151 | 0 | } |
4152 | | |
4153 | | static const ::google::protobuf::Descriptor* descriptor(); |
4154 | | static const DdlLogEntryPB& default_instance(); |
4155 | | |
4156 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4157 | 35.7k | static inline const DdlLogEntryPB* internal_default_instance() { |
4158 | 35.7k | return reinterpret_cast<const DdlLogEntryPB*>( |
4159 | 35.7k | &_DdlLogEntryPB_default_instance_); |
4160 | 35.7k | } |
4161 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4162 | | 22; |
4163 | | |
4164 | | void Swap(DdlLogEntryPB* other); |
4165 | 0 | friend void swap(DdlLogEntryPB& a, DdlLogEntryPB& b) { |
4166 | 0 | a.Swap(&b); |
4167 | 0 | } |
4168 | | |
4169 | | // implements Message ---------------------------------------------- |
4170 | | |
4171 | 0 | inline DdlLogEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4172 | | |
4173 | | DdlLogEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4174 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4175 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4176 | | void CopyFrom(const DdlLogEntryPB& from); |
4177 | | void MergeFrom(const DdlLogEntryPB& from); |
4178 | | void Clear() PROTOBUF_FINAL; |
4179 | | bool IsInitialized() const PROTOBUF_FINAL; |
4180 | | |
4181 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4182 | | bool MergePartialFromCodedStream( |
4183 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4184 | | void SerializeWithCachedSizes( |
4185 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4186 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4187 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4188 | 3 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4189 | | private: |
4190 | | void SharedCtor(); |
4191 | | void SharedDtor(); |
4192 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4193 | | void InternalSwap(DdlLogEntryPB* other); |
4194 | | private: |
4195 | 2.31k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4196 | 2.31k | return NULL; |
4197 | 2.31k | } |
4198 | 0 | inline void* MaybeArenaPtr() const { |
4199 | 0 | return NULL; |
4200 | 0 | } |
4201 | | public: |
4202 | | |
4203 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4204 | | |
4205 | | // nested types ---------------------------------------------------- |
4206 | | |
4207 | | // accessors ------------------------------------------------------- |
4208 | | |
4209 | | // optional string namespace_name = 2; |
4210 | | bool has_namespace_name() const; |
4211 | | void clear_namespace_name(); |
4212 | | static const int kNamespaceNameFieldNumber = 2; |
4213 | | const ::std::string& namespace_name() const; |
4214 | | void set_namespace_name(const ::std::string& value); |
4215 | | #if LANG_CXX11 |
4216 | | void set_namespace_name(::std::string&& value); |
4217 | | #endif |
4218 | | void set_namespace_name(const char* value); |
4219 | | void set_namespace_name(const char* value, size_t size); |
4220 | | ::std::string* mutable_namespace_name(); |
4221 | | ::std::string* release_namespace_name(); |
4222 | | void set_allocated_namespace_name(::std::string* namespace_name); |
4223 | | |
4224 | | // optional string namespace_id = 3; |
4225 | | bool has_namespace_id() const; |
4226 | | void clear_namespace_id(); |
4227 | | static const int kNamespaceIdFieldNumber = 3; |
4228 | | const ::std::string& namespace_id() const; |
4229 | | void set_namespace_id(const ::std::string& value); |
4230 | | #if LANG_CXX11 |
4231 | | void set_namespace_id(::std::string&& value); |
4232 | | #endif |
4233 | | void set_namespace_id(const char* value); |
4234 | | void set_namespace_id(const char* value, size_t size); |
4235 | | ::std::string* mutable_namespace_id(); |
4236 | | ::std::string* release_namespace_id(); |
4237 | | void set_allocated_namespace_id(::std::string* namespace_id); |
4238 | | |
4239 | | // optional string table_name = 4; |
4240 | | bool has_table_name() const; |
4241 | | void clear_table_name(); |
4242 | | static const int kTableNameFieldNumber = 4; |
4243 | | const ::std::string& table_name() const; |
4244 | | void set_table_name(const ::std::string& value); |
4245 | | #if LANG_CXX11 |
4246 | | void set_table_name(::std::string&& value); |
4247 | | #endif |
4248 | | void set_table_name(const char* value); |
4249 | | void set_table_name(const char* value, size_t size); |
4250 | | ::std::string* mutable_table_name(); |
4251 | | ::std::string* release_table_name(); |
4252 | | void set_allocated_table_name(::std::string* table_name); |
4253 | | |
4254 | | // optional string table_id = 5; |
4255 | | bool has_table_id() const; |
4256 | | void clear_table_id(); |
4257 | | static const int kTableIdFieldNumber = 5; |
4258 | | const ::std::string& table_id() const; |
4259 | | void set_table_id(const ::std::string& value); |
4260 | | #if LANG_CXX11 |
4261 | | void set_table_id(::std::string&& value); |
4262 | | #endif |
4263 | | void set_table_id(const char* value); |
4264 | | void set_table_id(const char* value, size_t size); |
4265 | | ::std::string* mutable_table_id(); |
4266 | | ::std::string* release_table_id(); |
4267 | | void set_allocated_table_id(::std::string* table_id); |
4268 | | |
4269 | | // optional string action = 6; |
4270 | | bool has_action() const; |
4271 | | void clear_action(); |
4272 | | static const int kActionFieldNumber = 6; |
4273 | | const ::std::string& action() const; |
4274 | | void set_action(const ::std::string& value); |
4275 | | #if LANG_CXX11 |
4276 | | void set_action(::std::string&& value); |
4277 | | #endif |
4278 | | void set_action(const char* value); |
4279 | | void set_action(const char* value, size_t size); |
4280 | | ::std::string* mutable_action(); |
4281 | | ::std::string* release_action(); |
4282 | | void set_allocated_action(::std::string* action); |
4283 | | |
4284 | | // optional fixed64 time = 7; |
4285 | | bool has_time() const; |
4286 | | void clear_time(); |
4287 | | static const int kTimeFieldNumber = 7; |
4288 | | ::google::protobuf::uint64 time() const; |
4289 | | void set_time(::google::protobuf::uint64 value); |
4290 | | |
4291 | | // optional .yb.TableType table_type = 1; |
4292 | | bool has_table_type() const; |
4293 | | void clear_table_type(); |
4294 | | static const int kTableTypeFieldNumber = 1; |
4295 | | ::yb::TableType table_type() const; |
4296 | | void set_table_type(::yb::TableType value); |
4297 | | |
4298 | | // @@protoc_insertion_point(class_scope:yb.master.DdlLogEntryPB) |
4299 | | private: |
4300 | | void set_has_table_type(); |
4301 | | void clear_has_table_type(); |
4302 | | void set_has_namespace_name(); |
4303 | | void clear_has_namespace_name(); |
4304 | | void set_has_namespace_id(); |
4305 | | void clear_has_namespace_id(); |
4306 | | void set_has_table_name(); |
4307 | | void clear_has_table_name(); |
4308 | | void set_has_table_id(); |
4309 | | void clear_has_table_id(); |
4310 | | void set_has_action(); |
4311 | | void clear_has_action(); |
4312 | | void set_has_time(); |
4313 | | void clear_has_time(); |
4314 | | |
4315 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4316 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4317 | | mutable int _cached_size_; |
4318 | | ::google::protobuf::internal::ArenaStringPtr namespace_name_; |
4319 | | ::google::protobuf::internal::ArenaStringPtr namespace_id_; |
4320 | | ::google::protobuf::internal::ArenaStringPtr table_name_; |
4321 | | ::google::protobuf::internal::ArenaStringPtr table_id_; |
4322 | | ::google::protobuf::internal::ArenaStringPtr action_; |
4323 | | ::google::protobuf::uint64 time_; |
4324 | | int table_type_; |
4325 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
4326 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsDdlLogEntryPBImpl(); |
4327 | | }; |
4328 | | // ------------------------------------------------------------------- |
4329 | | |
4330 | | class CDCStreamOptionsPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.CDCStreamOptionsPB) */ { |
4331 | | public: |
4332 | | CDCStreamOptionsPB(); |
4333 | | virtual ~CDCStreamOptionsPB(); |
4334 | | |
4335 | | CDCStreamOptionsPB(const CDCStreamOptionsPB& from); |
4336 | | |
4337 | 0 | inline CDCStreamOptionsPB& operator=(const CDCStreamOptionsPB& from) { |
4338 | 0 | CopyFrom(from); |
4339 | 0 | return *this; |
4340 | 0 | } |
4341 | | #if LANG_CXX11 |
4342 | | CDCStreamOptionsPB(CDCStreamOptionsPB&& from) noexcept |
4343 | 0 | : CDCStreamOptionsPB() { |
4344 | 0 | *this = ::std::move(from); |
4345 | 0 | } |
4346 | | |
4347 | 0 | inline CDCStreamOptionsPB& operator=(CDCStreamOptionsPB&& from) noexcept { |
4348 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4349 | 0 | if (this != &from) InternalSwap(&from); |
4350 | 0 | } else { |
4351 | 0 | CopyFrom(from); |
4352 | 0 | } |
4353 | 0 | return *this; |
4354 | 0 | } |
4355 | | #endif |
4356 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4357 | 0 | return _internal_metadata_.unknown_fields(); |
4358 | 0 | } |
4359 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4360 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4361 | 0 | } |
4362 | | |
4363 | | static const ::google::protobuf::Descriptor* descriptor(); |
4364 | | static const CDCStreamOptionsPB& default_instance(); |
4365 | | |
4366 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4367 | 99.5k | static inline const CDCStreamOptionsPB* internal_default_instance() { |
4368 | 99.5k | return reinterpret_cast<const CDCStreamOptionsPB*>( |
4369 | 99.5k | &_CDCStreamOptionsPB_default_instance_); |
4370 | 99.5k | } |
4371 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4372 | | 23; |
4373 | | |
4374 | | void Swap(CDCStreamOptionsPB* other); |
4375 | 0 | friend void swap(CDCStreamOptionsPB& a, CDCStreamOptionsPB& b) { |
4376 | 0 | a.Swap(&b); |
4377 | 0 | } |
4378 | | |
4379 | | // implements Message ---------------------------------------------- |
4380 | | |
4381 | 0 | inline CDCStreamOptionsPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4382 | | |
4383 | | CDCStreamOptionsPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4384 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4385 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4386 | | void CopyFrom(const CDCStreamOptionsPB& from); |
4387 | | void MergeFrom(const CDCStreamOptionsPB& from); |
4388 | | void Clear() PROTOBUF_FINAL; |
4389 | | bool IsInitialized() const PROTOBUF_FINAL; |
4390 | | |
4391 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4392 | | bool MergePartialFromCodedStream( |
4393 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4394 | | void SerializeWithCachedSizes( |
4395 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4396 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4397 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4398 | 50.0k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4399 | | private: |
4400 | | void SharedCtor(); |
4401 | | void SharedDtor(); |
4402 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4403 | | void InternalSwap(CDCStreamOptionsPB* other); |
4404 | | private: |
4405 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4406 | 0 | return NULL; |
4407 | 0 | } |
4408 | 0 | inline void* MaybeArenaPtr() const { |
4409 | 0 | return NULL; |
4410 | 0 | } |
4411 | | public: |
4412 | | |
4413 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4414 | | |
4415 | | // nested types ---------------------------------------------------- |
4416 | | |
4417 | | // accessors ------------------------------------------------------- |
4418 | | |
4419 | | // optional string key = 1; |
4420 | | bool has_key() const; |
4421 | | void clear_key(); |
4422 | | static const int kKeyFieldNumber = 1; |
4423 | | const ::std::string& key() const; |
4424 | | void set_key(const ::std::string& value); |
4425 | | #if LANG_CXX11 |
4426 | | void set_key(::std::string&& value); |
4427 | | #endif |
4428 | | void set_key(const char* value); |
4429 | | void set_key(const char* value, size_t size); |
4430 | | ::std::string* mutable_key(); |
4431 | | ::std::string* release_key(); |
4432 | | void set_allocated_key(::std::string* key); |
4433 | | |
4434 | | // optional bytes value = 2; |
4435 | | bool has_value() const; |
4436 | | void clear_value(); |
4437 | | static const int kValueFieldNumber = 2; |
4438 | | const ::std::string& value() const; |
4439 | | void set_value(const ::std::string& value); |
4440 | | #if LANG_CXX11 |
4441 | | void set_value(::std::string&& value); |
4442 | | #endif |
4443 | | void set_value(const char* value); |
4444 | | void set_value(const void* value, size_t size); |
4445 | | ::std::string* mutable_value(); |
4446 | | ::std::string* release_value(); |
4447 | | void set_allocated_value(::std::string* value); |
4448 | | |
4449 | | // @@protoc_insertion_point(class_scope:yb.master.CDCStreamOptionsPB) |
4450 | | private: |
4451 | | void set_has_key(); |
4452 | | void clear_has_key(); |
4453 | | void set_has_value(); |
4454 | | void clear_has_value(); |
4455 | | |
4456 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4457 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4458 | | mutable int _cached_size_; |
4459 | | ::google::protobuf::internal::ArenaStringPtr key_; |
4460 | | ::google::protobuf::internal::ArenaStringPtr value_; |
4461 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
4462 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsCDCStreamOptionsPBImpl(); |
4463 | | }; |
4464 | | // ------------------------------------------------------------------- |
4465 | | |
4466 | | class SysCDCStreamEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysCDCStreamEntryPB) */ { |
4467 | | public: |
4468 | | SysCDCStreamEntryPB(); |
4469 | | virtual ~SysCDCStreamEntryPB(); |
4470 | | |
4471 | | SysCDCStreamEntryPB(const SysCDCStreamEntryPB& from); |
4472 | | |
4473 | 0 | inline SysCDCStreamEntryPB& operator=(const SysCDCStreamEntryPB& from) { |
4474 | 0 | CopyFrom(from); |
4475 | 0 | return *this; |
4476 | 0 | } |
4477 | | #if LANG_CXX11 |
4478 | | SysCDCStreamEntryPB(SysCDCStreamEntryPB&& from) noexcept |
4479 | 5.62k | : SysCDCStreamEntryPB() { |
4480 | 5.62k | *this = ::std::move(from); |
4481 | 5.62k | } Unexecuted instantiation: yb::master::SysCDCStreamEntryPB::SysCDCStreamEntryPB(yb::master::SysCDCStreamEntryPB&&) yb::master::SysCDCStreamEntryPB::SysCDCStreamEntryPB(yb::master::SysCDCStreamEntryPB&&) Line | Count | Source | 4479 | 5.62k | : SysCDCStreamEntryPB() { | 4480 | 5.62k | *this = ::std::move(from); | 4481 | 5.62k | } |
|
4482 | | |
4483 | 16.8k | inline SysCDCStreamEntryPB& operator=(SysCDCStreamEntryPB&& from) noexcept { |
4484 | 16.8k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4485 | 16.8k | if (this != &from) InternalSwap(&from); |
4486 | 16.8k | } else { |
4487 | 0 | CopyFrom(from); |
4488 | 0 | } |
4489 | 16.8k | return *this; |
4490 | 16.8k | } |
4491 | | #endif |
4492 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4493 | 0 | return _internal_metadata_.unknown_fields(); |
4494 | 0 | } |
4495 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4496 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4497 | 0 | } |
4498 | | |
4499 | | static const ::google::protobuf::Descriptor* descriptor(); |
4500 | | static const SysCDCStreamEntryPB& default_instance(); |
4501 | | |
4502 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4503 | 59.6k | static inline const SysCDCStreamEntryPB* internal_default_instance() { |
4504 | 59.6k | return reinterpret_cast<const SysCDCStreamEntryPB*>( |
4505 | 59.6k | &_SysCDCStreamEntryPB_default_instance_); |
4506 | 59.6k | } |
4507 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4508 | | 24; |
4509 | | |
4510 | | void Swap(SysCDCStreamEntryPB* other); |
4511 | 0 | friend void swap(SysCDCStreamEntryPB& a, SysCDCStreamEntryPB& b) { |
4512 | 0 | a.Swap(&b); |
4513 | 0 | } |
4514 | | |
4515 | | // implements Message ---------------------------------------------- |
4516 | | |
4517 | 0 | inline SysCDCStreamEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4518 | | |
4519 | | SysCDCStreamEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4520 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4521 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4522 | | void CopyFrom(const SysCDCStreamEntryPB& from); |
4523 | | void MergeFrom(const SysCDCStreamEntryPB& from); |
4524 | | void Clear() PROTOBUF_FINAL; |
4525 | | bool IsInitialized() const PROTOBUF_FINAL; |
4526 | | |
4527 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4528 | | bool MergePartialFromCodedStream( |
4529 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4530 | | void SerializeWithCachedSizes( |
4531 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4532 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4533 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4534 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4535 | | private: |
4536 | | void SharedCtor(); |
4537 | | void SharedDtor(); |
4538 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4539 | | void InternalSwap(SysCDCStreamEntryPB* other); |
4540 | | private: |
4541 | 33.7k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4542 | 33.7k | return NULL; |
4543 | 33.7k | } |
4544 | 0 | inline void* MaybeArenaPtr() const { |
4545 | 0 | return NULL; |
4546 | 0 | } |
4547 | | public: |
4548 | | |
4549 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4550 | | |
4551 | | // nested types ---------------------------------------------------- |
4552 | | |
4553 | | typedef SysCDCStreamEntryPB_State State; |
4554 | | static const State INITIATED = |
4555 | | SysCDCStreamEntryPB_State_INITIATED; |
4556 | | static const State ACTIVE = |
4557 | | SysCDCStreamEntryPB_State_ACTIVE; |
4558 | | static const State DELETING = |
4559 | | SysCDCStreamEntryPB_State_DELETING; |
4560 | | static const State DELETED = |
4561 | | SysCDCStreamEntryPB_State_DELETED; |
4562 | 0 | static inline bool State_IsValid(int value) { |
4563 | 0 | return SysCDCStreamEntryPB_State_IsValid(value); |
4564 | 0 | } |
4565 | | static const State State_MIN = |
4566 | | SysCDCStreamEntryPB_State_State_MIN; |
4567 | | static const State State_MAX = |
4568 | | SysCDCStreamEntryPB_State_State_MAX; |
4569 | | static const int State_ARRAYSIZE = |
4570 | | SysCDCStreamEntryPB_State_State_ARRAYSIZE; |
4571 | | static inline const ::google::protobuf::EnumDescriptor* |
4572 | 0 | State_descriptor() { |
4573 | 0 | return SysCDCStreamEntryPB_State_descriptor(); |
4574 | 0 | } |
4575 | 1 | static inline const ::std::string& State_Name(State value) { |
4576 | 1 | return SysCDCStreamEntryPB_State_Name(value); |
4577 | 1 | } |
4578 | | static inline bool State_Parse(const ::std::string& name, |
4579 | 0 | State* value) { |
4580 | 0 | return SysCDCStreamEntryPB_State_Parse(name, value); |
4581 | 0 | } |
4582 | | |
4583 | | // accessors ------------------------------------------------------- |
4584 | | |
4585 | | // repeated string table_id = 1; |
4586 | | int table_id_size() const; |
4587 | | void clear_table_id(); |
4588 | | static const int kTableIdFieldNumber = 1; |
4589 | | const ::std::string& table_id(int index) const; |
4590 | | ::std::string* mutable_table_id(int index); |
4591 | | void set_table_id(int index, const ::std::string& value); |
4592 | | #if LANG_CXX11 |
4593 | | void set_table_id(int index, ::std::string&& value); |
4594 | | #endif |
4595 | | void set_table_id(int index, const char* value); |
4596 | | void set_table_id(int index, const char* value, size_t size); |
4597 | | ::std::string* add_table_id(); |
4598 | | void add_table_id(const ::std::string& value); |
4599 | | #if LANG_CXX11 |
4600 | | void add_table_id(::std::string&& value); |
4601 | | #endif |
4602 | | void add_table_id(const char* value); |
4603 | | void add_table_id(const char* value, size_t size); |
4604 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& table_id() const; |
4605 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_table_id(); |
4606 | | |
4607 | | // repeated .yb.master.CDCStreamOptionsPB options = 2; |
4608 | | int options_size() const; |
4609 | | void clear_options(); |
4610 | | static const int kOptionsFieldNumber = 2; |
4611 | | const ::yb::master::CDCStreamOptionsPB& options(int index) const; |
4612 | | ::yb::master::CDCStreamOptionsPB* mutable_options(int index); |
4613 | | ::yb::master::CDCStreamOptionsPB* add_options(); |
4614 | | ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB >* |
4615 | | mutable_options(); |
4616 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB >& |
4617 | | options() const; |
4618 | | |
4619 | | // optional string namespace_id = 4; |
4620 | | bool has_namespace_id() const; |
4621 | | void clear_namespace_id(); |
4622 | | static const int kNamespaceIdFieldNumber = 4; |
4623 | | const ::std::string& namespace_id() const; |
4624 | | void set_namespace_id(const ::std::string& value); |
4625 | | #if LANG_CXX11 |
4626 | | void set_namespace_id(::std::string&& value); |
4627 | | #endif |
4628 | | void set_namespace_id(const char* value); |
4629 | | void set_namespace_id(const char* value, size_t size); |
4630 | | ::std::string* mutable_namespace_id(); |
4631 | | ::std::string* release_namespace_id(); |
4632 | | void set_allocated_namespace_id(::std::string* namespace_id); |
4633 | | |
4634 | | // optional .yb.master.SysCDCStreamEntryPB.State state = 3 [default = ACTIVE]; |
4635 | | bool has_state() const; |
4636 | | void clear_state(); |
4637 | | static const int kStateFieldNumber = 3; |
4638 | | ::yb::master::SysCDCStreamEntryPB_State state() const; |
4639 | | void set_state(::yb::master::SysCDCStreamEntryPB_State value); |
4640 | | |
4641 | | // @@protoc_insertion_point(class_scope:yb.master.SysCDCStreamEntryPB) |
4642 | | private: |
4643 | | void set_has_state(); |
4644 | | void clear_has_state(); |
4645 | | void set_has_namespace_id(); |
4646 | | void clear_has_namespace_id(); |
4647 | | |
4648 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4649 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4650 | | mutable int _cached_size_; |
4651 | | ::google::protobuf::RepeatedPtrField< ::std::string> table_id_; |
4652 | | ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB > options_; |
4653 | | ::google::protobuf::internal::ArenaStringPtr namespace_id_; |
4654 | | int state_; |
4655 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
4656 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysCDCStreamEntryPBImpl(); |
4657 | | }; |
4658 | | // ------------------------------------------------------------------- |
4659 | | |
4660 | | class SysSnapshotEntryPB_TabletSnapshotPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysSnapshotEntryPB.TabletSnapshotPB) */ { |
4661 | | public: |
4662 | | SysSnapshotEntryPB_TabletSnapshotPB(); |
4663 | | virtual ~SysSnapshotEntryPB_TabletSnapshotPB(); |
4664 | | |
4665 | | SysSnapshotEntryPB_TabletSnapshotPB(const SysSnapshotEntryPB_TabletSnapshotPB& from); |
4666 | | |
4667 | 0 | inline SysSnapshotEntryPB_TabletSnapshotPB& operator=(const SysSnapshotEntryPB_TabletSnapshotPB& from) { |
4668 | 0 | CopyFrom(from); |
4669 | 0 | return *this; |
4670 | 0 | } |
4671 | | #if LANG_CXX11 |
4672 | | SysSnapshotEntryPB_TabletSnapshotPB(SysSnapshotEntryPB_TabletSnapshotPB&& from) noexcept |
4673 | 0 | : SysSnapshotEntryPB_TabletSnapshotPB() { |
4674 | 0 | *this = ::std::move(from); |
4675 | 0 | } |
4676 | | |
4677 | 0 | inline SysSnapshotEntryPB_TabletSnapshotPB& operator=(SysSnapshotEntryPB_TabletSnapshotPB&& from) noexcept { |
4678 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4679 | 0 | if (this != &from) InternalSwap(&from); |
4680 | 0 | } else { |
4681 | 0 | CopyFrom(from); |
4682 | 0 | } |
4683 | 0 | return *this; |
4684 | 0 | } |
4685 | | #endif |
4686 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4687 | 0 | return _internal_metadata_.unknown_fields(); |
4688 | 0 | } |
4689 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4690 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4691 | 0 | } |
4692 | | |
4693 | | static const ::google::protobuf::Descriptor* descriptor(); |
4694 | | static const SysSnapshotEntryPB_TabletSnapshotPB& default_instance(); |
4695 | | |
4696 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4697 | 27.1k | static inline const SysSnapshotEntryPB_TabletSnapshotPB* internal_default_instance() { |
4698 | 27.1k | return reinterpret_cast<const SysSnapshotEntryPB_TabletSnapshotPB*>( |
4699 | 27.1k | &_SysSnapshotEntryPB_TabletSnapshotPB_default_instance_); |
4700 | 27.1k | } |
4701 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4702 | | 25; |
4703 | | |
4704 | | void Swap(SysSnapshotEntryPB_TabletSnapshotPB* other); |
4705 | 0 | friend void swap(SysSnapshotEntryPB_TabletSnapshotPB& a, SysSnapshotEntryPB_TabletSnapshotPB& b) { |
4706 | 0 | a.Swap(&b); |
4707 | 0 | } |
4708 | | |
4709 | | // implements Message ---------------------------------------------- |
4710 | | |
4711 | 0 | inline SysSnapshotEntryPB_TabletSnapshotPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4712 | | |
4713 | | SysSnapshotEntryPB_TabletSnapshotPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4714 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4715 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4716 | | void CopyFrom(const SysSnapshotEntryPB_TabletSnapshotPB& from); |
4717 | | void MergeFrom(const SysSnapshotEntryPB_TabletSnapshotPB& from); |
4718 | | void Clear() PROTOBUF_FINAL; |
4719 | | bool IsInitialized() const PROTOBUF_FINAL; |
4720 | | |
4721 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4722 | | bool MergePartialFromCodedStream( |
4723 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4724 | | void SerializeWithCachedSizes( |
4725 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4726 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4727 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4728 | 123 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4729 | | private: |
4730 | | void SharedCtor(); |
4731 | | void SharedDtor(); |
4732 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4733 | | void InternalSwap(SysSnapshotEntryPB_TabletSnapshotPB* other); |
4734 | | private: |
4735 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4736 | 0 | return NULL; |
4737 | 0 | } |
4738 | 0 | inline void* MaybeArenaPtr() const { |
4739 | 0 | return NULL; |
4740 | 0 | } |
4741 | | public: |
4742 | | |
4743 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4744 | | |
4745 | | // nested types ---------------------------------------------------- |
4746 | | |
4747 | | // accessors ------------------------------------------------------- |
4748 | | |
4749 | | // optional bytes id = 1; |
4750 | | bool has_id() const; |
4751 | | void clear_id(); |
4752 | | static const int kIdFieldNumber = 1; |
4753 | | const ::std::string& id() const; |
4754 | | void set_id(const ::std::string& value); |
4755 | | #if LANG_CXX11 |
4756 | | void set_id(::std::string&& value); |
4757 | | #endif |
4758 | | void set_id(const char* value); |
4759 | | void set_id(const void* value, size_t size); |
4760 | | ::std::string* mutable_id(); |
4761 | | ::std::string* release_id(); |
4762 | | void set_allocated_id(::std::string* id); |
4763 | | |
4764 | | // optional .yb.master.SysSnapshotEntryPB.State state = 2; |
4765 | | bool has_state() const; |
4766 | | void clear_state(); |
4767 | | static const int kStateFieldNumber = 2; |
4768 | | ::yb::master::SysSnapshotEntryPB_State state() const; |
4769 | | void set_state(::yb::master::SysSnapshotEntryPB_State value); |
4770 | | |
4771 | | // @@protoc_insertion_point(class_scope:yb.master.SysSnapshotEntryPB.TabletSnapshotPB) |
4772 | | private: |
4773 | | void set_has_id(); |
4774 | | void clear_has_id(); |
4775 | | void set_has_state(); |
4776 | | void clear_has_state(); |
4777 | | |
4778 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4779 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4780 | | mutable int _cached_size_; |
4781 | | ::google::protobuf::internal::ArenaStringPtr id_; |
4782 | | int state_; |
4783 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
4784 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysSnapshotEntryPB_TabletSnapshotPBImpl(); |
4785 | | }; |
4786 | | // ------------------------------------------------------------------- |
4787 | | |
4788 | | class SysSnapshotEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysSnapshotEntryPB) */ { |
4789 | | public: |
4790 | | SysSnapshotEntryPB(); |
4791 | | virtual ~SysSnapshotEntryPB(); |
4792 | | |
4793 | | SysSnapshotEntryPB(const SysSnapshotEntryPB& from); |
4794 | | |
4795 | 0 | inline SysSnapshotEntryPB& operator=(const SysSnapshotEntryPB& from) { |
4796 | 0 | CopyFrom(from); |
4797 | 0 | return *this; |
4798 | 0 | } |
4799 | | #if LANG_CXX11 |
4800 | | SysSnapshotEntryPB(SysSnapshotEntryPB&& from) noexcept |
4801 | 188 | : SysSnapshotEntryPB() { |
4802 | 188 | *this = ::std::move(from); |
4803 | 188 | } Unexecuted instantiation: yb::master::SysSnapshotEntryPB::SysSnapshotEntryPB(yb::master::SysSnapshotEntryPB&&) yb::master::SysSnapshotEntryPB::SysSnapshotEntryPB(yb::master::SysSnapshotEntryPB&&) Line | Count | Source | 4801 | 188 | : SysSnapshotEntryPB() { | 4802 | 188 | *this = ::std::move(from); | 4803 | 188 | } |
|
4804 | | |
4805 | 188 | inline SysSnapshotEntryPB& operator=(SysSnapshotEntryPB&& from) noexcept { |
4806 | 188 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4807 | 188 | if (this != &from) InternalSwap(&from); |
4808 | 188 | } else { |
4809 | 0 | CopyFrom(from); |
4810 | 0 | } |
4811 | 188 | return *this; |
4812 | 188 | } |
4813 | | #endif |
4814 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4815 | 0 | return _internal_metadata_.unknown_fields(); |
4816 | 0 | } |
4817 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4818 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4819 | 0 | } |
4820 | | |
4821 | | static const ::google::protobuf::Descriptor* descriptor(); |
4822 | | static const SysSnapshotEntryPB& default_instance(); |
4823 | | |
4824 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4825 | 54.1k | static inline const SysSnapshotEntryPB* internal_default_instance() { |
4826 | 54.1k | return reinterpret_cast<const SysSnapshotEntryPB*>( |
4827 | 54.1k | &_SysSnapshotEntryPB_default_instance_); |
4828 | 54.1k | } |
4829 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4830 | | 26; |
4831 | | |
4832 | | void Swap(SysSnapshotEntryPB* other); |
4833 | 0 | friend void swap(SysSnapshotEntryPB& a, SysSnapshotEntryPB& b) { |
4834 | 0 | a.Swap(&b); |
4835 | 0 | } |
4836 | | |
4837 | | // implements Message ---------------------------------------------- |
4838 | | |
4839 | 0 | inline SysSnapshotEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4840 | | |
4841 | | SysSnapshotEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4842 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4843 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4844 | | void CopyFrom(const SysSnapshotEntryPB& from); |
4845 | | void MergeFrom(const SysSnapshotEntryPB& from); |
4846 | | void Clear() PROTOBUF_FINAL; |
4847 | | bool IsInitialized() const PROTOBUF_FINAL; |
4848 | | |
4849 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4850 | | bool MergePartialFromCodedStream( |
4851 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4852 | | void SerializeWithCachedSizes( |
4853 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4854 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4855 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4856 | 25 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4857 | | private: |
4858 | | void SharedCtor(); |
4859 | | void SharedDtor(); |
4860 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4861 | | void InternalSwap(SysSnapshotEntryPB* other); |
4862 | | private: |
4863 | 376 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4864 | 376 | return NULL; |
4865 | 376 | } |
4866 | 0 | inline void* MaybeArenaPtr() const { |
4867 | 0 | return NULL; |
4868 | 0 | } |
4869 | | public: |
4870 | | |
4871 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4872 | | |
4873 | | // nested types ---------------------------------------------------- |
4874 | | |
4875 | | typedef SysSnapshotEntryPB_TabletSnapshotPB TabletSnapshotPB; |
4876 | | |
4877 | | typedef SysSnapshotEntryPB_State State; |
4878 | | static const State UNKNOWN = |
4879 | | SysSnapshotEntryPB_State_UNKNOWN; |
4880 | | static const State CREATING = |
4881 | | SysSnapshotEntryPB_State_CREATING; |
4882 | | static const State COMPLETE = |
4883 | | SysSnapshotEntryPB_State_COMPLETE; |
4884 | | static const State DELETING = |
4885 | | SysSnapshotEntryPB_State_DELETING; |
4886 | | static const State DELETED = |
4887 | | SysSnapshotEntryPB_State_DELETED; |
4888 | | static const State FAILED = |
4889 | | SysSnapshotEntryPB_State_FAILED; |
4890 | | static const State CANCELLED = |
4891 | | SysSnapshotEntryPB_State_CANCELLED; |
4892 | | static const State RESTORING = |
4893 | | SysSnapshotEntryPB_State_RESTORING; |
4894 | | static const State RESTORED = |
4895 | | SysSnapshotEntryPB_State_RESTORED; |
4896 | 1 | static inline bool State_IsValid(int value) { |
4897 | 1 | return SysSnapshotEntryPB_State_IsValid(value); |
4898 | 1 | } |
4899 | | static const State State_MIN = |
4900 | | SysSnapshotEntryPB_State_State_MIN; |
4901 | | static const State State_MAX = |
4902 | | SysSnapshotEntryPB_State_State_MAX; |
4903 | | static const int State_ARRAYSIZE = |
4904 | | SysSnapshotEntryPB_State_State_ARRAYSIZE; |
4905 | | static inline const ::google::protobuf::EnumDescriptor* |
4906 | 0 | State_descriptor() { |
4907 | 0 | return SysSnapshotEntryPB_State_descriptor(); |
4908 | 0 | } |
4909 | 45 | static inline const ::std::string& State_Name(State value) { |
4910 | 45 | return SysSnapshotEntryPB_State_Name(value); |
4911 | 45 | } |
4912 | | static inline bool State_Parse(const ::std::string& name, |
4913 | 0 | State* value) { |
4914 | 0 | return SysSnapshotEntryPB_State_Parse(name, value); |
4915 | 0 | } |
4916 | | |
4917 | | // accessors ------------------------------------------------------- |
4918 | | |
4919 | | // repeated .yb.master.SysSnapshotEntryPB.TabletSnapshotPB tablet_snapshots = 2; |
4920 | | int tablet_snapshots_size() const; |
4921 | | void clear_tablet_snapshots(); |
4922 | | static const int kTabletSnapshotsFieldNumber = 2; |
4923 | | const ::yb::master::SysSnapshotEntryPB_TabletSnapshotPB& tablet_snapshots(int index) const; |
4924 | | ::yb::master::SysSnapshotEntryPB_TabletSnapshotPB* mutable_tablet_snapshots(int index); |
4925 | | ::yb::master::SysSnapshotEntryPB_TabletSnapshotPB* add_tablet_snapshots(); |
4926 | | ::google::protobuf::RepeatedPtrField< ::yb::master::SysSnapshotEntryPB_TabletSnapshotPB >* |
4927 | | mutable_tablet_snapshots(); |
4928 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::SysSnapshotEntryPB_TabletSnapshotPB >& |
4929 | | tablet_snapshots() const; |
4930 | | |
4931 | | // repeated .yb.master.SysRowEntry entries = 3; |
4932 | | int entries_size() const; |
4933 | | void clear_entries(); |
4934 | | static const int kEntriesFieldNumber = 3; |
4935 | | const ::yb::master::SysRowEntry& entries(int index) const; |
4936 | | ::yb::master::SysRowEntry* mutable_entries(int index); |
4937 | | ::yb::master::SysRowEntry* add_entries(); |
4938 | | ::google::protobuf::RepeatedPtrField< ::yb::master::SysRowEntry >* |
4939 | | mutable_entries(); |
4940 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::SysRowEntry >& |
4941 | | entries() const; |
4942 | | |
4943 | | // optional bytes schedule_id = 6; |
4944 | | bool has_schedule_id() const; |
4945 | | void clear_schedule_id(); |
4946 | | static const int kScheduleIdFieldNumber = 6; |
4947 | | const ::std::string& schedule_id() const; |
4948 | | void set_schedule_id(const ::std::string& value); |
4949 | | #if LANG_CXX11 |
4950 | | void set_schedule_id(::std::string&& value); |
4951 | | #endif |
4952 | | void set_schedule_id(const char* value); |
4953 | | void set_schedule_id(const void* value, size_t size); |
4954 | | ::std::string* mutable_schedule_id(); |
4955 | | ::std::string* release_schedule_id(); |
4956 | | void set_allocated_schedule_id(::std::string* schedule_id); |
4957 | | |
4958 | | // optional fixed64 snapshot_hybrid_time = 4; |
4959 | | bool has_snapshot_hybrid_time() const; |
4960 | | void clear_snapshot_hybrid_time(); |
4961 | | static const int kSnapshotHybridTimeFieldNumber = 4; |
4962 | | ::google::protobuf::uint64 snapshot_hybrid_time() const; |
4963 | | void set_snapshot_hybrid_time(::google::protobuf::uint64 value); |
4964 | | |
4965 | | // optional int64 version = 5; |
4966 | | bool has_version() const; |
4967 | | void clear_version(); |
4968 | | static const int kVersionFieldNumber = 5; |
4969 | | ::google::protobuf::int64 version() const; |
4970 | | void set_version(::google::protobuf::int64 value); |
4971 | | |
4972 | | // optional fixed64 previous_snapshot_hybrid_time = 7; |
4973 | | bool has_previous_snapshot_hybrid_time() const; |
4974 | | void clear_previous_snapshot_hybrid_time(); |
4975 | | static const int kPreviousSnapshotHybridTimeFieldNumber = 7; |
4976 | | ::google::protobuf::uint64 previous_snapshot_hybrid_time() const; |
4977 | | void set_previous_snapshot_hybrid_time(::google::protobuf::uint64 value); |
4978 | | |
4979 | | // optional .yb.master.SysSnapshotEntryPB.State state = 1 [default = UNKNOWN]; |
4980 | | bool has_state() const; |
4981 | | void clear_state(); |
4982 | | static const int kStateFieldNumber = 1; |
4983 | | ::yb::master::SysSnapshotEntryPB_State state() const; |
4984 | | void set_state(::yb::master::SysSnapshotEntryPB_State value); |
4985 | | |
4986 | | // @@protoc_insertion_point(class_scope:yb.master.SysSnapshotEntryPB) |
4987 | | private: |
4988 | | void set_has_state(); |
4989 | | void clear_has_state(); |
4990 | | void set_has_snapshot_hybrid_time(); |
4991 | | void clear_has_snapshot_hybrid_time(); |
4992 | | void set_has_version(); |
4993 | | void clear_has_version(); |
4994 | | void set_has_schedule_id(); |
4995 | | void clear_has_schedule_id(); |
4996 | | void set_has_previous_snapshot_hybrid_time(); |
4997 | | void clear_has_previous_snapshot_hybrid_time(); |
4998 | | |
4999 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5000 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5001 | | mutable int _cached_size_; |
5002 | | ::google::protobuf::RepeatedPtrField< ::yb::master::SysSnapshotEntryPB_TabletSnapshotPB > tablet_snapshots_; |
5003 | | ::google::protobuf::RepeatedPtrField< ::yb::master::SysRowEntry > entries_; |
5004 | | ::google::protobuf::internal::ArenaStringPtr schedule_id_; |
5005 | | ::google::protobuf::uint64 snapshot_hybrid_time_; |
5006 | | ::google::protobuf::int64 version_; |
5007 | | ::google::protobuf::uint64 previous_snapshot_hybrid_time_; |
5008 | | int state_; |
5009 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
5010 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysSnapshotEntryPBImpl(); |
5011 | | }; |
5012 | | // ------------------------------------------------------------------- |
5013 | | |
5014 | | class SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse, |
5015 | | ::std::string, ::std::string, |
5016 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
5017 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
5018 | | 0 > { |
5019 | | public: |
5020 | | typedef ::google::protobuf::internal::MapEntry<SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse, |
5021 | | ::std::string, ::std::string, |
5022 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
5023 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
5024 | | 0 > SuperType; |
5025 | | SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse(); |
5026 | | SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse(::google::protobuf::Arena* arena); |
5027 | | void MergeFrom(const SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse& other); |
5028 | 26.8k | static const SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse*>(&_SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse_default_instance_); } |
5029 | | void MergeFrom(const ::google::protobuf::Message& other) PROTOBUF_FINAL; |
5030 | | ::google::protobuf::Metadata GetMetadata() const; |
5031 | | }; |
5032 | | |
5033 | | // ------------------------------------------------------------------- |
5034 | | |
5035 | | class SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse, |
5036 | | ::std::string, ::std::string, |
5037 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
5038 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
5039 | | 0 > { |
5040 | | public: |
5041 | | typedef ::google::protobuf::internal::MapEntry<SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse, |
5042 | | ::std::string, ::std::string, |
5043 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
5044 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
5045 | | 0 > SuperType; |
5046 | | SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse(); |
5047 | | SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse(::google::protobuf::Arena* arena); |
5048 | | void MergeFrom(const SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse& other); |
5049 | 26.8k | static const SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse*>(&_SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse_default_instance_); } |
5050 | | void MergeFrom(const ::google::protobuf::Message& other) PROTOBUF_FINAL; |
5051 | | ::google::protobuf::Metadata GetMetadata() const; |
5052 | | }; |
5053 | | |
5054 | | // ------------------------------------------------------------------- |
5055 | | |
5056 | | class SysUniverseReplicationEntryPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SysUniverseReplicationEntryPB) */ { |
5057 | | public: |
5058 | | SysUniverseReplicationEntryPB(); |
5059 | | virtual ~SysUniverseReplicationEntryPB(); |
5060 | | |
5061 | | SysUniverseReplicationEntryPB(const SysUniverseReplicationEntryPB& from); |
5062 | | |
5063 | 0 | inline SysUniverseReplicationEntryPB& operator=(const SysUniverseReplicationEntryPB& from) { |
5064 | 0 | CopyFrom(from); |
5065 | 0 | return *this; |
5066 | 0 | } |
5067 | | #if LANG_CXX11 |
5068 | | SysUniverseReplicationEntryPB(SysUniverseReplicationEntryPB&& from) noexcept |
5069 | 4 | : SysUniverseReplicationEntryPB() { |
5070 | 4 | *this = ::std::move(from); |
5071 | 4 | } Unexecuted instantiation: yb::master::SysUniverseReplicationEntryPB::SysUniverseReplicationEntryPB(yb::master::SysUniverseReplicationEntryPB&&) yb::master::SysUniverseReplicationEntryPB::SysUniverseReplicationEntryPB(yb::master::SysUniverseReplicationEntryPB&&) Line | Count | Source | 5069 | 4 | : SysUniverseReplicationEntryPB() { | 5070 | 4 | *this = ::std::move(from); | 5071 | 4 | } |
|
5072 | | |
5073 | 12 | inline SysUniverseReplicationEntryPB& operator=(SysUniverseReplicationEntryPB&& from) noexcept { |
5074 | 12 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5075 | 12 | if (this != &from) InternalSwap(&from); |
5076 | 12 | } else { |
5077 | 0 | CopyFrom(from); |
5078 | 0 | } |
5079 | 12 | return *this; |
5080 | 12 | } |
5081 | | #endif |
5082 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5083 | 0 | return _internal_metadata_.unknown_fields(); |
5084 | 0 | } |
5085 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5086 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
5087 | 0 | } |
5088 | | |
5089 | | static const ::google::protobuf::Descriptor* descriptor(); |
5090 | | static const SysUniverseReplicationEntryPB& default_instance(); |
5091 | | |
5092 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5093 | 53.7k | static inline const SysUniverseReplicationEntryPB* internal_default_instance() { |
5094 | 53.7k | return reinterpret_cast<const SysUniverseReplicationEntryPB*>( |
5095 | 53.7k | &_SysUniverseReplicationEntryPB_default_instance_); |
5096 | 53.7k | } |
5097 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
5098 | | 29; |
5099 | | |
5100 | | void Swap(SysUniverseReplicationEntryPB* other); |
5101 | 0 | friend void swap(SysUniverseReplicationEntryPB& a, SysUniverseReplicationEntryPB& b) { |
5102 | 0 | a.Swap(&b); |
5103 | 0 | } |
5104 | | |
5105 | | // implements Message ---------------------------------------------- |
5106 | | |
5107 | 0 | inline SysUniverseReplicationEntryPB* New() const PROTOBUF_FINAL { return New(NULL); } |
5108 | | |
5109 | | SysUniverseReplicationEntryPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
5110 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5111 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5112 | | void CopyFrom(const SysUniverseReplicationEntryPB& from); |
5113 | | void MergeFrom(const SysUniverseReplicationEntryPB& from); |
5114 | | void Clear() PROTOBUF_FINAL; |
5115 | | bool IsInitialized() const PROTOBUF_FINAL; |
5116 | | |
5117 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
5118 | | bool MergePartialFromCodedStream( |
5119 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
5120 | | void SerializeWithCachedSizes( |
5121 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
5122 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5123 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
5124 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
5125 | | private: |
5126 | | void SharedCtor(); |
5127 | | void SharedDtor(); |
5128 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
5129 | | void InternalSwap(SysUniverseReplicationEntryPB* other); |
5130 | | private: |
5131 | 24 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5132 | 24 | return NULL; |
5133 | 24 | } |
5134 | 0 | inline void* MaybeArenaPtr() const { |
5135 | 0 | return NULL; |
5136 | 0 | } |
5137 | | public: |
5138 | | |
5139 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
5140 | | |
5141 | | // nested types ---------------------------------------------------- |
5142 | | |
5143 | | |
5144 | | typedef SysUniverseReplicationEntryPB_State State; |
5145 | | static const State INITIALIZING = |
5146 | | SysUniverseReplicationEntryPB_State_INITIALIZING; |
5147 | | static const State VALIDATED = |
5148 | | SysUniverseReplicationEntryPB_State_VALIDATED; |
5149 | | static const State ACTIVE = |
5150 | | SysUniverseReplicationEntryPB_State_ACTIVE; |
5151 | | static const State FAILED = |
5152 | | SysUniverseReplicationEntryPB_State_FAILED; |
5153 | | static const State DISABLED = |
5154 | | SysUniverseReplicationEntryPB_State_DISABLED; |
5155 | | static const State DELETED = |
5156 | | SysUniverseReplicationEntryPB_State_DELETED; |
5157 | | static const State DELETED_ERROR = |
5158 | | SysUniverseReplicationEntryPB_State_DELETED_ERROR; |
5159 | 0 | static inline bool State_IsValid(int value) { |
5160 | 0 | return SysUniverseReplicationEntryPB_State_IsValid(value); |
5161 | 0 | } |
5162 | | static const State State_MIN = |
5163 | | SysUniverseReplicationEntryPB_State_State_MIN; |
5164 | | static const State State_MAX = |
5165 | | SysUniverseReplicationEntryPB_State_State_MAX; |
5166 | | static const int State_ARRAYSIZE = |
5167 | | SysUniverseReplicationEntryPB_State_State_ARRAYSIZE; |
5168 | | static inline const ::google::protobuf::EnumDescriptor* |
5169 | 0 | State_descriptor() { |
5170 | 0 | return SysUniverseReplicationEntryPB_State_descriptor(); |
5171 | 0 | } |
5172 | 0 | static inline const ::std::string& State_Name(State value) { |
5173 | 0 | return SysUniverseReplicationEntryPB_State_Name(value); |
5174 | 0 | } |
5175 | | static inline bool State_Parse(const ::std::string& name, |
5176 | 0 | State* value) { |
5177 | 0 | return SysUniverseReplicationEntryPB_State_Parse(name, value); |
5178 | 0 | } |
5179 | | |
5180 | | // accessors ------------------------------------------------------- |
5181 | | |
5182 | | // repeated .yb.HostPortPB producer_master_addresses = 2; |
5183 | | int producer_master_addresses_size() const; |
5184 | | void clear_producer_master_addresses(); |
5185 | | static const int kProducerMasterAddressesFieldNumber = 2; |
5186 | | const ::yb::HostPortPB& producer_master_addresses(int index) const; |
5187 | | ::yb::HostPortPB* mutable_producer_master_addresses(int index); |
5188 | | ::yb::HostPortPB* add_producer_master_addresses(); |
5189 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
5190 | | mutable_producer_master_addresses(); |
5191 | | const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
5192 | | producer_master_addresses() const; |
5193 | | |
5194 | | // repeated string tables = 3; |
5195 | | int tables_size() const; |
5196 | | void clear_tables(); |
5197 | | static const int kTablesFieldNumber = 3; |
5198 | | const ::std::string& tables(int index) const; |
5199 | | ::std::string* mutable_tables(int index); |
5200 | | void set_tables(int index, const ::std::string& value); |
5201 | | #if LANG_CXX11 |
5202 | | void set_tables(int index, ::std::string&& value); |
5203 | | #endif |
5204 | | void set_tables(int index, const char* value); |
5205 | | void set_tables(int index, const char* value, size_t size); |
5206 | | ::std::string* add_tables(); |
5207 | | void add_tables(const ::std::string& value); |
5208 | | #if LANG_CXX11 |
5209 | | void add_tables(::std::string&& value); |
5210 | | #endif |
5211 | | void add_tables(const char* value); |
5212 | | void add_tables(const char* value, size_t size); |
5213 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& tables() const; |
5214 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_tables(); |
5215 | | |
5216 | | // map<string, string> validated_tables = 5; |
5217 | | int validated_tables_size() const; |
5218 | | void clear_validated_tables(); |
5219 | | static const int kValidatedTablesFieldNumber = 5; |
5220 | | const ::google::protobuf::Map< ::std::string, ::std::string >& |
5221 | | validated_tables() const; |
5222 | | ::google::protobuf::Map< ::std::string, ::std::string >* |
5223 | | mutable_validated_tables(); |
5224 | | |
5225 | | // map<string, string> table_streams = 6; |
5226 | | int table_streams_size() const; |
5227 | | void clear_table_streams(); |
5228 | | static const int kTableStreamsFieldNumber = 6; |
5229 | | const ::google::protobuf::Map< ::std::string, ::std::string >& |
5230 | | table_streams() const; |
5231 | | ::google::protobuf::Map< ::std::string, ::std::string >* |
5232 | | mutable_table_streams(); |
5233 | | |
5234 | | // optional string producer_id = 1; |
5235 | | bool has_producer_id() const; |
5236 | | void clear_producer_id(); |
5237 | | static const int kProducerIdFieldNumber = 1; |
5238 | | const ::std::string& producer_id() const; |
5239 | | void set_producer_id(const ::std::string& value); |
5240 | | #if LANG_CXX11 |
5241 | | void set_producer_id(::std::string&& value); |
5242 | | #endif |
5243 | | void set_producer_id(const char* value); |
5244 | | void set_producer_id(const char* value, size_t size); |
5245 | | ::std::string* mutable_producer_id(); |
5246 | | ::std::string* release_producer_id(); |
5247 | | void set_allocated_producer_id(::std::string* producer_id); |
5248 | | |
5249 | | // optional .yb.master.SysUniverseReplicationEntryPB.State state = 4 [default = INITIALIZING]; |
5250 | | bool has_state() const; |
5251 | | void clear_state(); |
5252 | | static const int kStateFieldNumber = 4; |
5253 | | ::yb::master::SysUniverseReplicationEntryPB_State state() const; |
5254 | | void set_state(::yb::master::SysUniverseReplicationEntryPB_State value); |
5255 | | |
5256 | | // @@protoc_insertion_point(class_scope:yb.master.SysUniverseReplicationEntryPB) |
5257 | | private: |
5258 | | void set_has_producer_id(); |
5259 | | void clear_has_producer_id(); |
5260 | | void set_has_state(); |
5261 | | void clear_has_state(); |
5262 | | |
5263 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5264 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5265 | | mutable int _cached_size_; |
5266 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > producer_master_addresses_; |
5267 | | ::google::protobuf::RepeatedPtrField< ::std::string> tables_; |
5268 | | ::google::protobuf::internal::MapField< |
5269 | | SysUniverseReplicationEntryPB_ValidatedTablesEntry_DoNotUse, |
5270 | | ::std::string, ::std::string, |
5271 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
5272 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
5273 | | 0 > validated_tables_; |
5274 | | ::google::protobuf::internal::MapField< |
5275 | | SysUniverseReplicationEntryPB_TableStreamsEntry_DoNotUse, |
5276 | | ::std::string, ::std::string, |
5277 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
5278 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
5279 | | 0 > table_streams_; |
5280 | | ::google::protobuf::internal::ArenaStringPtr producer_id_; |
5281 | | int state_; |
5282 | | friend struct ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::TableStruct; |
5283 | | friend void ::protobuf_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto::InitDefaultsSysUniverseReplicationEntryPBImpl(); |
5284 | | }; |
5285 | | // =================================================================== |
5286 | | |
5287 | | |
5288 | | // =================================================================== |
5289 | | |
5290 | | #ifdef __GNUC__ |
5291 | | #pragma GCC diagnostic push |
5292 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
5293 | | #endif // __GNUC__ |
5294 | | // PlacementBlockPB |
5295 | | |
5296 | | // optional .yb.CloudInfoPB cloud_info = 1; |
5297 | 2.07k | inline bool PlacementBlockPB::has_cloud_info() const { |
5298 | 2.07k | return (_has_bits_[0] & 0x00000001u) != 0; |
5299 | 2.07k | } |
5300 | 1.26M | inline void PlacementBlockPB::set_has_cloud_info() { |
5301 | 1.26M | _has_bits_[0] |= 0x00000001u; |
5302 | 1.26M | } |
5303 | 0 | inline void PlacementBlockPB::clear_has_cloud_info() { |
5304 | 0 | _has_bits_[0] &= ~0x00000001u; |
5305 | 0 | } |
5306 | 9.21M | inline const ::yb::CloudInfoPB& PlacementBlockPB::cloud_info() const { |
5307 | 9.21M | const ::yb::CloudInfoPB* p = cloud_info_; |
5308 | | // @@protoc_insertion_point(field_get:yb.master.PlacementBlockPB.cloud_info) |
5309 | 9.21M | return p != NULL ? *p9.21M : *reinterpret_cast<const ::yb::CloudInfoPB*>( |
5310 | 49 | &::yb::_CloudInfoPB_default_instance_); |
5311 | 9.21M | } |
5312 | 0 | inline ::yb::CloudInfoPB* PlacementBlockPB::release_cloud_info() { |
5313 | 0 | // @@protoc_insertion_point(field_release:yb.master.PlacementBlockPB.cloud_info) |
5314 | 0 | clear_has_cloud_info(); |
5315 | 0 | ::yb::CloudInfoPB* temp = cloud_info_; |
5316 | 0 | cloud_info_ = NULL; |
5317 | 0 | return temp; |
5318 | 0 | } |
5319 | 1.26M | inline ::yb::CloudInfoPB* PlacementBlockPB::mutable_cloud_info() { |
5320 | 1.26M | set_has_cloud_info(); |
5321 | 1.26M | if (cloud_info_ == NULL) { |
5322 | 1.26M | cloud_info_ = new ::yb::CloudInfoPB; |
5323 | 1.26M | } |
5324 | | // @@protoc_insertion_point(field_mutable:yb.master.PlacementBlockPB.cloud_info) |
5325 | 1.26M | return cloud_info_; |
5326 | 1.26M | } |
5327 | 0 | inline void PlacementBlockPB::set_allocated_cloud_info(::yb::CloudInfoPB* cloud_info) { |
5328 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5329 | 0 | if (message_arena == NULL) { |
5330 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(cloud_info_); |
5331 | 0 | } |
5332 | 0 | if (cloud_info) { |
5333 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5334 | 0 | if (message_arena != submessage_arena) { |
5335 | 0 | cloud_info = ::google::protobuf::internal::GetOwnedMessage( |
5336 | 0 | message_arena, cloud_info, submessage_arena); |
5337 | 0 | } |
5338 | 0 | set_has_cloud_info(); |
5339 | 0 | } else { |
5340 | 0 | clear_has_cloud_info(); |
5341 | 0 | } |
5342 | 0 | cloud_info_ = cloud_info; |
5343 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.PlacementBlockPB.cloud_info) |
5344 | 0 | } |
5345 | | |
5346 | | // optional int32 min_num_replicas = 2; |
5347 | 421 | inline bool PlacementBlockPB::has_min_num_replicas() const { |
5348 | 421 | return (_has_bits_[0] & 0x00000002u) != 0; |
5349 | 421 | } |
5350 | 1.00k | inline void PlacementBlockPB::set_has_min_num_replicas() { |
5351 | 1.00k | _has_bits_[0] |= 0x00000002u; |
5352 | 1.00k | } |
5353 | 0 | inline void PlacementBlockPB::clear_has_min_num_replicas() { |
5354 | 0 | _has_bits_[0] &= ~0x00000002u; |
5355 | 0 | } |
5356 | 0 | inline void PlacementBlockPB::clear_min_num_replicas() { |
5357 | 0 | min_num_replicas_ = 0; |
5358 | 0 | clear_has_min_num_replicas(); |
5359 | 0 | } |
5360 | 634k | inline ::google::protobuf::int32 PlacementBlockPB::min_num_replicas() const { |
5361 | | // @@protoc_insertion_point(field_get:yb.master.PlacementBlockPB.min_num_replicas) |
5362 | 634k | return min_num_replicas_; |
5363 | 634k | } |
5364 | 867 | inline void PlacementBlockPB::set_min_num_replicas(::google::protobuf::int32 value) { |
5365 | 867 | set_has_min_num_replicas(); |
5366 | 867 | min_num_replicas_ = value; |
5367 | | // @@protoc_insertion_point(field_set:yb.master.PlacementBlockPB.min_num_replicas) |
5368 | 867 | } |
5369 | | |
5370 | | // ------------------------------------------------------------------- |
5371 | | |
5372 | | // PlacementInfoPB |
5373 | | |
5374 | | // optional int32 num_replicas = 1; |
5375 | 657 | inline bool PlacementInfoPB::has_num_replicas() const { |
5376 | 657 | return (_has_bits_[0] & 0x00000002u) != 0; |
5377 | 657 | } |
5378 | 656 | inline void PlacementInfoPB::set_has_num_replicas() { |
5379 | 656 | _has_bits_[0] |= 0x00000002u; |
5380 | 656 | } |
5381 | 0 | inline void PlacementInfoPB::clear_has_num_replicas() { |
5382 | 0 | _has_bits_[0] &= ~0x00000002u; |
5383 | 0 | } |
5384 | 0 | inline void PlacementInfoPB::clear_num_replicas() { |
5385 | 0 | num_replicas_ = 0; |
5386 | 0 | clear_has_num_replicas(); |
5387 | 0 | } |
5388 | 5.17M | inline ::google::protobuf::int32 PlacementInfoPB::num_replicas() const { |
5389 | | // @@protoc_insertion_point(field_get:yb.master.PlacementInfoPB.num_replicas) |
5390 | 5.17M | return num_replicas_; |
5391 | 5.17M | } |
5392 | 489 | inline void PlacementInfoPB::set_num_replicas(::google::protobuf::int32 value) { |
5393 | 489 | set_has_num_replicas(); |
5394 | 489 | num_replicas_ = value; |
5395 | | // @@protoc_insertion_point(field_set:yb.master.PlacementInfoPB.num_replicas) |
5396 | 489 | } |
5397 | | |
5398 | | // repeated .yb.master.PlacementBlockPB placement_blocks = 2; |
5399 | 5.80k | inline int PlacementInfoPB::placement_blocks_size() const { |
5400 | 5.80k | return placement_blocks_.size(); |
5401 | 5.80k | } |
5402 | 0 | inline void PlacementInfoPB::clear_placement_blocks() { |
5403 | 0 | placement_blocks_.Clear(); |
5404 | 0 | } |
5405 | 1.63k | inline const ::yb::master::PlacementBlockPB& PlacementInfoPB::placement_blocks(int index) const { |
5406 | | // @@protoc_insertion_point(field_get:yb.master.PlacementInfoPB.placement_blocks) |
5407 | 1.63k | return placement_blocks_.Get(index); |
5408 | 1.63k | } |
5409 | | inline ::yb::master::PlacementBlockPB* PlacementInfoPB::mutable_placement_blocks(int index) { |
5410 | | // @@protoc_insertion_point(field_mutable:yb.master.PlacementInfoPB.placement_blocks) |
5411 | | return placement_blocks_.Mutable(index); |
5412 | | } |
5413 | 1.00k | inline ::yb::master::PlacementBlockPB* PlacementInfoPB::add_placement_blocks() { |
5414 | | // @@protoc_insertion_point(field_add:yb.master.PlacementInfoPB.placement_blocks) |
5415 | 1.00k | return placement_blocks_.Add(); |
5416 | 1.00k | } |
5417 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::PlacementBlockPB >* |
5418 | 0 | PlacementInfoPB::mutable_placement_blocks() { |
5419 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.PlacementInfoPB.placement_blocks) |
5420 | 0 | return &placement_blocks_; |
5421 | 0 | } |
5422 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::PlacementBlockPB >& |
5423 | 11.5M | PlacementInfoPB::placement_blocks() const { |
5424 | | // @@protoc_insertion_point(field_list:yb.master.PlacementInfoPB.placement_blocks) |
5425 | 11.5M | return placement_blocks_; |
5426 | 11.5M | } |
5427 | | |
5428 | | // optional bytes placement_uuid = 3; |
5429 | 2.43M | inline bool PlacementInfoPB::has_placement_uuid() const { |
5430 | 2.43M | return (_has_bits_[0] & 0x00000001u) != 0; |
5431 | 2.43M | } |
5432 | 215k | inline void PlacementInfoPB::set_has_placement_uuid() { |
5433 | 215k | _has_bits_[0] |= 0x00000001u; |
5434 | 215k | } |
5435 | 0 | inline void PlacementInfoPB::clear_has_placement_uuid() { |
5436 | 0 | _has_bits_[0] &= ~0x00000001u; |
5437 | 0 | } |
5438 | 0 | inline void PlacementInfoPB::clear_placement_uuid() { |
5439 | 0 | placement_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5440 | 0 | clear_has_placement_uuid(); |
5441 | 0 | } |
5442 | 291k | inline const ::std::string& PlacementInfoPB::placement_uuid() const { |
5443 | | // @@protoc_insertion_point(field_get:yb.master.PlacementInfoPB.placement_uuid) |
5444 | 291k | return placement_uuid_.GetNoArena(); |
5445 | 291k | } |
5446 | 12 | inline void PlacementInfoPB::set_placement_uuid(const ::std::string& value) { |
5447 | 12 | set_has_placement_uuid(); |
5448 | 12 | placement_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5449 | | // @@protoc_insertion_point(field_set:yb.master.PlacementInfoPB.placement_uuid) |
5450 | 12 | } |
5451 | | #if LANG_CXX11 |
5452 | | inline void PlacementInfoPB::set_placement_uuid(::std::string&& value) { |
5453 | | set_has_placement_uuid(); |
5454 | | placement_uuid_.SetNoArena( |
5455 | | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5456 | | // @@protoc_insertion_point(field_set_rvalue:yb.master.PlacementInfoPB.placement_uuid) |
5457 | | } |
5458 | | #endif |
5459 | | inline void PlacementInfoPB::set_placement_uuid(const char* value) { |
5460 | | GOOGLE_DCHECK(value != NULL); |
5461 | | set_has_placement_uuid(); |
5462 | | placement_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5463 | | // @@protoc_insertion_point(field_set_char:yb.master.PlacementInfoPB.placement_uuid) |
5464 | | } |
5465 | 0 | inline void PlacementInfoPB::set_placement_uuid(const void* value, size_t size) { |
5466 | 0 | set_has_placement_uuid(); |
5467 | 0 | placement_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5468 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5469 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.PlacementInfoPB.placement_uuid) |
5470 | 0 | } |
5471 | 43 | inline ::std::string* PlacementInfoPB::mutable_placement_uuid() { |
5472 | 43 | set_has_placement_uuid(); |
5473 | | // @@protoc_insertion_point(field_mutable:yb.master.PlacementInfoPB.placement_uuid) |
5474 | 43 | return placement_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5475 | 43 | } |
5476 | 0 | inline ::std::string* PlacementInfoPB::release_placement_uuid() { |
5477 | 0 | // @@protoc_insertion_point(field_release:yb.master.PlacementInfoPB.placement_uuid) |
5478 | 0 | clear_has_placement_uuid(); |
5479 | 0 | return placement_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5480 | 0 | } |
5481 | 0 | inline void PlacementInfoPB::set_allocated_placement_uuid(::std::string* placement_uuid) { |
5482 | 0 | if (placement_uuid != NULL) { |
5483 | 0 | set_has_placement_uuid(); |
5484 | 0 | } else { |
5485 | 0 | clear_has_placement_uuid(); |
5486 | 0 | } |
5487 | 0 | placement_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), placement_uuid); |
5488 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.PlacementInfoPB.placement_uuid) |
5489 | 0 | } |
5490 | | |
5491 | | // ------------------------------------------------------------------- |
5492 | | |
5493 | | // ReplicationInfoPB |
5494 | | |
5495 | | // optional .yb.master.PlacementInfoPB live_replicas = 1; |
5496 | 1.64M | inline bool ReplicationInfoPB::has_live_replicas() const { |
5497 | 1.64M | return (_has_bits_[0] & 0x00000001u) != 0; |
5498 | 1.64M | } |
5499 | 473k | inline void ReplicationInfoPB::set_has_live_replicas() { |
5500 | 473k | _has_bits_[0] |= 0x00000001u; |
5501 | 473k | } |
5502 | 0 | inline void ReplicationInfoPB::clear_has_live_replicas() { |
5503 | 0 | _has_bits_[0] &= ~0x00000001u; |
5504 | 0 | } |
5505 | 0 | inline void ReplicationInfoPB::clear_live_replicas() { |
5506 | 0 | if (live_replicas_ != NULL) live_replicas_->Clear(); |
5507 | 0 | clear_has_live_replicas(); |
5508 | 0 | } |
5509 | 4.18M | inline const ::yb::master::PlacementInfoPB& ReplicationInfoPB::live_replicas() const { |
5510 | 4.18M | const ::yb::master::PlacementInfoPB* p = live_replicas_; |
5511 | | // @@protoc_insertion_point(field_get:yb.master.ReplicationInfoPB.live_replicas) |
5512 | 4.18M | return p != NULL ? *p2.72M : *reinterpret_cast<const ::yb::master::PlacementInfoPB*>( |
5513 | 1.46M | &::yb::master::_PlacementInfoPB_default_instance_); |
5514 | 4.18M | } |
5515 | 0 | inline ::yb::master::PlacementInfoPB* ReplicationInfoPB::release_live_replicas() { |
5516 | 0 | // @@protoc_insertion_point(field_release:yb.master.ReplicationInfoPB.live_replicas) |
5517 | 0 | clear_has_live_replicas(); |
5518 | 0 | ::yb::master::PlacementInfoPB* temp = live_replicas_; |
5519 | 0 | live_replicas_ = NULL; |
5520 | 0 | return temp; |
5521 | 0 | } |
5522 | 473k | inline ::yb::master::PlacementInfoPB* ReplicationInfoPB::mutable_live_replicas() { |
5523 | 473k | set_has_live_replicas(); |
5524 | 473k | if (live_replicas_ == NULL473k ) { |
5525 | 473k | live_replicas_ = new ::yb::master::PlacementInfoPB; |
5526 | 473k | } |
5527 | | // @@protoc_insertion_point(field_mutable:yb.master.ReplicationInfoPB.live_replicas) |
5528 | 473k | return live_replicas_; |
5529 | 473k | } |
5530 | 20 | inline void ReplicationInfoPB::set_allocated_live_replicas(::yb::master::PlacementInfoPB* live_replicas) { |
5531 | 20 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5532 | 20 | if (message_arena == NULL) { |
5533 | 20 | delete live_replicas_; |
5534 | 20 | } |
5535 | 20 | if (live_replicas) { |
5536 | 20 | ::google::protobuf::Arena* submessage_arena = NULL; |
5537 | 20 | if (message_arena != submessage_arena) { |
5538 | 0 | live_replicas = ::google::protobuf::internal::GetOwnedMessage( |
5539 | 0 | message_arena, live_replicas, submessage_arena); |
5540 | 0 | } |
5541 | 20 | set_has_live_replicas(); |
5542 | 20 | } else { |
5543 | 0 | clear_has_live_replicas(); |
5544 | 0 | } |
5545 | 20 | live_replicas_ = live_replicas; |
5546 | | // @@protoc_insertion_point(field_set_allocated:yb.master.ReplicationInfoPB.live_replicas) |
5547 | 20 | } |
5548 | | |
5549 | | // repeated .yb.master.PlacementInfoPB read_replicas = 2; |
5550 | 1.61M | inline int ReplicationInfoPB::read_replicas_size() const { |
5551 | 1.61M | return read_replicas_.size(); |
5552 | 1.61M | } |
5553 | 2 | inline void ReplicationInfoPB::clear_read_replicas() { |
5554 | 2 | read_replicas_.Clear(); |
5555 | 2 | } |
5556 | 16.3k | inline const ::yb::master::PlacementInfoPB& ReplicationInfoPB::read_replicas(int index) const { |
5557 | | // @@protoc_insertion_point(field_get:yb.master.ReplicationInfoPB.read_replicas) |
5558 | 16.3k | return read_replicas_.Get(index); |
5559 | 16.3k | } |
5560 | 0 | inline ::yb::master::PlacementInfoPB* ReplicationInfoPB::mutable_read_replicas(int index) { |
5561 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ReplicationInfoPB.read_replicas) |
5562 | 0 | return read_replicas_.Mutable(index); |
5563 | 0 | } |
5564 | 28 | inline ::yb::master::PlacementInfoPB* ReplicationInfoPB::add_read_replicas() { |
5565 | | // @@protoc_insertion_point(field_add:yb.master.ReplicationInfoPB.read_replicas) |
5566 | 28 | return read_replicas_.Add(); |
5567 | 28 | } |
5568 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::PlacementInfoPB >* |
5569 | 0 | ReplicationInfoPB::mutable_read_replicas() { |
5570 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.ReplicationInfoPB.read_replicas) |
5571 | 0 | return &read_replicas_; |
5572 | 0 | } |
5573 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::PlacementInfoPB >& |
5574 | 499k | ReplicationInfoPB::read_replicas() const { |
5575 | | // @@protoc_insertion_point(field_list:yb.master.ReplicationInfoPB.read_replicas) |
5576 | 499k | return read_replicas_; |
5577 | 499k | } |
5578 | | |
5579 | | // repeated .yb.CloudInfoPB affinitized_leaders = 3; |
5580 | 1.23M | inline int ReplicationInfoPB::affinitized_leaders_size() const { |
5581 | 1.23M | return affinitized_leaders_.size(); |
5582 | 1.23M | } |
5583 | 458 | inline const ::yb::CloudInfoPB& ReplicationInfoPB::affinitized_leaders(int index) const { |
5584 | | // @@protoc_insertion_point(field_get:yb.master.ReplicationInfoPB.affinitized_leaders) |
5585 | 458 | return affinitized_leaders_.Get(index); |
5586 | 458 | } |
5587 | 0 | inline ::yb::CloudInfoPB* ReplicationInfoPB::mutable_affinitized_leaders(int index) { |
5588 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ReplicationInfoPB.affinitized_leaders) |
5589 | 0 | return affinitized_leaders_.Mutable(index); |
5590 | 0 | } |
5591 | 31 | inline ::yb::CloudInfoPB* ReplicationInfoPB::add_affinitized_leaders() { |
5592 | | // @@protoc_insertion_point(field_add:yb.master.ReplicationInfoPB.affinitized_leaders) |
5593 | 31 | return affinitized_leaders_.Add(); |
5594 | 31 | } |
5595 | | inline ::google::protobuf::RepeatedPtrField< ::yb::CloudInfoPB >* |
5596 | 0 | ReplicationInfoPB::mutable_affinitized_leaders() { |
5597 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.ReplicationInfoPB.affinitized_leaders) |
5598 | 0 | return &affinitized_leaders_; |
5599 | 0 | } |
5600 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::CloudInfoPB >& |
5601 | 1.80M | ReplicationInfoPB::affinitized_leaders() const { |
5602 | | // @@protoc_insertion_point(field_list:yb.master.ReplicationInfoPB.affinitized_leaders) |
5603 | 1.80M | return affinitized_leaders_; |
5604 | 1.80M | } |
5605 | | |
5606 | | // ------------------------------------------------------------------- |
5607 | | |
5608 | | // ------------------------------------------------------------------- |
5609 | | |
5610 | | // BackfillJobPB |
5611 | | |
5612 | | // repeated .yb.IndexInfoPB indexes = 1; |
5613 | 12.1k | inline int BackfillJobPB::indexes_size() const { |
5614 | 12.1k | return indexes_.size(); |
5615 | 12.1k | } |
5616 | 12.3k | inline const ::yb::IndexInfoPB& BackfillJobPB::indexes(int index) const { |
5617 | | // @@protoc_insertion_point(field_get:yb.master.BackfillJobPB.indexes) |
5618 | 12.3k | return indexes_.Get(index); |
5619 | 12.3k | } |
5620 | 0 | inline ::yb::IndexInfoPB* BackfillJobPB::mutable_indexes(int index) { |
5621 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.BackfillJobPB.indexes) |
5622 | 0 | return indexes_.Mutable(index); |
5623 | 0 | } |
5624 | 1.38k | inline ::yb::IndexInfoPB* BackfillJobPB::add_indexes() { |
5625 | | // @@protoc_insertion_point(field_add:yb.master.BackfillJobPB.indexes) |
5626 | 1.38k | return indexes_.Add(); |
5627 | 1.38k | } |
5628 | | inline ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >* |
5629 | 0 | BackfillJobPB::mutable_indexes() { |
5630 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.BackfillJobPB.indexes) |
5631 | 0 | return &indexes_; |
5632 | 0 | } |
5633 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >& |
5634 | 6.29k | BackfillJobPB::indexes() const { |
5635 | | // @@protoc_insertion_point(field_list:yb.master.BackfillJobPB.indexes) |
5636 | 6.29k | return indexes_; |
5637 | 6.29k | } |
5638 | | |
5639 | | // map<string, .yb.master.BackfillJobPB.State> backfill_state = 2; |
5640 | 6.29k | inline int BackfillJobPB::backfill_state_size() const { |
5641 | 6.29k | return backfill_state_.size(); |
5642 | 6.29k | } |
5643 | 0 | inline void BackfillJobPB::clear_backfill_state() { |
5644 | 0 | backfill_state_.Clear(); |
5645 | 0 | } |
5646 | | inline const ::google::protobuf::Map< ::std::string, ::yb::master::BackfillJobPB_State >& |
5647 | 57.4k | BackfillJobPB::backfill_state() const { |
5648 | | // @@protoc_insertion_point(field_map:yb.master.BackfillJobPB.backfill_state) |
5649 | 57.4k | return backfill_state_.GetMap(); |
5650 | 57.4k | } |
5651 | | inline ::google::protobuf::Map< ::std::string, ::yb::master::BackfillJobPB_State >* |
5652 | 2.27k | BackfillJobPB::mutable_backfill_state() { |
5653 | | // @@protoc_insertion_point(field_mutable_map:yb.master.BackfillJobPB.backfill_state) |
5654 | 2.27k | return backfill_state_.MutableMap(); |
5655 | 2.27k | } |
5656 | | |
5657 | | // optional uint64 num_rows_processed = 4 [default = 0]; |
5658 | 5.16k | inline bool BackfillJobPB::has_num_rows_processed() const { |
5659 | 5.16k | return (_has_bits_[0] & 0x00000002u) != 0; |
5660 | 5.16k | } |
5661 | 4.39k | inline void BackfillJobPB::set_has_num_rows_processed() { |
5662 | 4.39k | _has_bits_[0] |= 0x00000002u; |
5663 | 4.39k | } |
5664 | 0 | inline void BackfillJobPB::clear_has_num_rows_processed() { |
5665 | 0 | _has_bits_[0] &= ~0x00000002u; |
5666 | 0 | } |
5667 | 0 | inline void BackfillJobPB::clear_num_rows_processed() { |
5668 | 0 | num_rows_processed_ = GOOGLE_ULONGLONG(0); |
5669 | 0 | clear_has_num_rows_processed(); |
5670 | 0 | } |
5671 | 7.48k | inline ::google::protobuf::uint64 BackfillJobPB::num_rows_processed() const { |
5672 | | // @@protoc_insertion_point(field_get:yb.master.BackfillJobPB.num_rows_processed) |
5673 | 7.48k | return num_rows_processed_; |
5674 | 7.48k | } |
5675 | 4.29k | inline void BackfillJobPB::set_num_rows_processed(::google::protobuf::uint64 value) { |
5676 | 4.29k | set_has_num_rows_processed(); |
5677 | 4.29k | num_rows_processed_ = value; |
5678 | | // @@protoc_insertion_point(field_set:yb.master.BackfillJobPB.num_rows_processed) |
5679 | 4.29k | } |
5680 | | |
5681 | | // optional uint64 backfilling_timestamp = 3; |
5682 | 5.28k | inline bool BackfillJobPB::has_backfilling_timestamp() const { |
5683 | 5.28k | return (_has_bits_[0] & 0x00000001u) != 0; |
5684 | 5.28k | } |
5685 | 1.25k | inline void BackfillJobPB::set_has_backfilling_timestamp() { |
5686 | 1.25k | _has_bits_[0] |= 0x00000001u; |
5687 | 1.25k | } |
5688 | 0 | inline void BackfillJobPB::clear_has_backfilling_timestamp() { |
5689 | 0 | _has_bits_[0] &= ~0x00000001u; |
5690 | 0 | } |
5691 | 0 | inline void BackfillJobPB::clear_backfilling_timestamp() { |
5692 | 0 | backfilling_timestamp_ = GOOGLE_ULONGLONG(0); |
5693 | 0 | clear_has_backfilling_timestamp(); |
5694 | 0 | } |
5695 | 9.96k | inline ::google::protobuf::uint64 BackfillJobPB::backfilling_timestamp() const { |
5696 | | // @@protoc_insertion_point(field_get:yb.master.BackfillJobPB.backfilling_timestamp) |
5697 | 9.96k | return backfilling_timestamp_; |
5698 | 9.96k | } |
5699 | 905 | inline void BackfillJobPB::set_backfilling_timestamp(::google::protobuf::uint64 value) { |
5700 | 905 | set_has_backfilling_timestamp(); |
5701 | 905 | backfilling_timestamp_ = value; |
5702 | | // @@protoc_insertion_point(field_set:yb.master.BackfillJobPB.backfilling_timestamp) |
5703 | 905 | } |
5704 | | |
5705 | | // ------------------------------------------------------------------- |
5706 | | |
5707 | | // SysTablesEntryPB |
5708 | | |
5709 | | // required bytes name = 1; |
5710 | 1.43M | inline bool SysTablesEntryPB::has_name() const { |
5711 | 1.43M | return (_has_bits_[0] & 0x00000001u) != 0; |
5712 | 1.43M | } |
5713 | 949k | inline void SysTablesEntryPB::set_has_name() { |
5714 | 949k | _has_bits_[0] |= 0x00000001u; |
5715 | 949k | } |
5716 | 0 | inline void SysTablesEntryPB::clear_has_name() { |
5717 | 0 | _has_bits_[0] &= ~0x00000001u; |
5718 | 0 | } |
5719 | 0 | inline void SysTablesEntryPB::clear_name() { |
5720 | 0 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5721 | 0 | clear_has_name(); |
5722 | 0 | } |
5723 | 95.5M | inline const ::std::string& SysTablesEntryPB::name() const { |
5724 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.name) |
5725 | 95.5M | return name_.GetNoArena(); |
5726 | 95.5M | } |
5727 | 56.5k | inline void SysTablesEntryPB::set_name(const ::std::string& value) { |
5728 | 56.5k | set_has_name(); |
5729 | 56.5k | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5730 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.name) |
5731 | 56.5k | } |
5732 | | #if LANG_CXX11 |
5733 | 0 | inline void SysTablesEntryPB::set_name(::std::string&& value) { |
5734 | 0 | set_has_name(); |
5735 | 0 | name_.SetNoArena( |
5736 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5737 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysTablesEntryPB.name) |
5738 | 0 | } |
5739 | | #endif |
5740 | 2.16k | inline void SysTablesEntryPB::set_name(const char* value) { |
5741 | 2.16k | GOOGLE_DCHECK(value != NULL); |
5742 | 2.16k | set_has_name(); |
5743 | 2.16k | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5744 | | // @@protoc_insertion_point(field_set_char:yb.master.SysTablesEntryPB.name) |
5745 | 2.16k | } |
5746 | 0 | inline void SysTablesEntryPB::set_name(const void* value, size_t size) { |
5747 | 0 | set_has_name(); |
5748 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5749 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5750 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTablesEntryPB.name) |
5751 | 0 | } |
5752 | 449k | inline ::std::string* SysTablesEntryPB::mutable_name() { |
5753 | 449k | set_has_name(); |
5754 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.name) |
5755 | 449k | return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5756 | 449k | } |
5757 | 0 | inline ::std::string* SysTablesEntryPB::release_name() { |
5758 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTablesEntryPB.name) |
5759 | 0 | clear_has_name(); |
5760 | 0 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5761 | 0 | } |
5762 | 0 | inline void SysTablesEntryPB::set_allocated_name(::std::string* name) { |
5763 | 0 | if (name != NULL) { |
5764 | 0 | set_has_name(); |
5765 | 0 | } else { |
5766 | 0 | clear_has_name(); |
5767 | 0 | } |
5768 | 0 | name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); |
5769 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTablesEntryPB.name) |
5770 | 0 | } |
5771 | | |
5772 | | // optional .yb.TableType table_type = 10 [default = DEFAULT_TABLE_TYPE]; |
5773 | 116k | inline bool SysTablesEntryPB::has_table_type() const { |
5774 | 116k | return (_has_bits_[0] & 0x02000000u) != 0; |
5775 | 116k | } |
5776 | 508k | inline void SysTablesEntryPB::set_has_table_type() { |
5777 | 508k | _has_bits_[0] |= 0x02000000u; |
5778 | 508k | } |
5779 | 0 | inline void SysTablesEntryPB::clear_has_table_type() { |
5780 | 0 | _has_bits_[0] &= ~0x02000000u; |
5781 | 0 | } |
5782 | 0 | inline void SysTablesEntryPB::clear_table_type() { |
5783 | 0 | table_type_ = 2; |
5784 | 0 | clear_has_table_type(); |
5785 | 0 | } |
5786 | 195M | inline ::yb::TableType SysTablesEntryPB::table_type() const { |
5787 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.table_type) |
5788 | 195M | return static_cast< ::yb::TableType >(table_type_); |
5789 | 195M | } |
5790 | 508k | inline void SysTablesEntryPB::set_table_type(::yb::TableType value) { |
5791 | 508k | assert(::yb::TableType_IsValid(value)); |
5792 | 0 | set_has_table_type(); |
5793 | 508k | table_type_ = value; |
5794 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.table_type) |
5795 | 508k | } |
5796 | | |
5797 | | // optional bytes namespace_id = 11; |
5798 | 1.55M | inline bool SysTablesEntryPB::has_namespace_id() const { |
5799 | 1.55M | return (_has_bits_[0] & 0x00000004u) != 0; |
5800 | 1.55M | } |
5801 | 949k | inline void SysTablesEntryPB::set_has_namespace_id() { |
5802 | 949k | _has_bits_[0] |= 0x00000004u; |
5803 | 949k | } |
5804 | 0 | inline void SysTablesEntryPB::clear_has_namespace_id() { |
5805 | 0 | _has_bits_[0] &= ~0x00000004u; |
5806 | 0 | } |
5807 | 0 | inline void SysTablesEntryPB::clear_namespace_id() { |
5808 | 0 | namespace_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5809 | 0 | clear_has_namespace_id(); |
5810 | 0 | } |
5811 | 2.56M | inline const ::std::string& SysTablesEntryPB::namespace_id() const { |
5812 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.namespace_id) |
5813 | 2.56M | return namespace_id_.GetNoArena(); |
5814 | 2.56M | } |
5815 | 56.5k | inline void SysTablesEntryPB::set_namespace_id(const ::std::string& value) { |
5816 | 56.5k | set_has_namespace_id(); |
5817 | 56.5k | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5818 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.namespace_id) |
5819 | 56.5k | } |
5820 | | #if LANG_CXX11 |
5821 | 0 | inline void SysTablesEntryPB::set_namespace_id(::std::string&& value) { |
5822 | 0 | set_has_namespace_id(); |
5823 | 0 | namespace_id_.SetNoArena( |
5824 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5825 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysTablesEntryPB.namespace_id) |
5826 | 0 | } |
5827 | | #endif |
5828 | 2.16k | inline void SysTablesEntryPB::set_namespace_id(const char* value) { |
5829 | 2.16k | GOOGLE_DCHECK(value != NULL); |
5830 | 2.16k | set_has_namespace_id(); |
5831 | 2.16k | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5832 | | // @@protoc_insertion_point(field_set_char:yb.master.SysTablesEntryPB.namespace_id) |
5833 | 2.16k | } |
5834 | 0 | inline void SysTablesEntryPB::set_namespace_id(const void* value, size_t size) { |
5835 | 0 | set_has_namespace_id(); |
5836 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5837 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5838 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTablesEntryPB.namespace_id) |
5839 | 0 | } |
5840 | 449k | inline ::std::string* SysTablesEntryPB::mutable_namespace_id() { |
5841 | 449k | set_has_namespace_id(); |
5842 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.namespace_id) |
5843 | 449k | return namespace_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5844 | 449k | } |
5845 | 0 | inline ::std::string* SysTablesEntryPB::release_namespace_id() { |
5846 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTablesEntryPB.namespace_id) |
5847 | 0 | clear_has_namespace_id(); |
5848 | 0 | return namespace_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5849 | 0 | } |
5850 | 0 | inline void SysTablesEntryPB::set_allocated_namespace_id(::std::string* namespace_id) { |
5851 | 0 | if (namespace_id != NULL) { |
5852 | 0 | set_has_namespace_id(); |
5853 | 0 | } else { |
5854 | 0 | clear_has_namespace_id(); |
5855 | 0 | } |
5856 | 0 | namespace_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_id); |
5857 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTablesEntryPB.namespace_id) |
5858 | 0 | } |
5859 | | |
5860 | | // optional bytes namespace_name = 30; |
5861 | 1.55M | inline bool SysTablesEntryPB::has_namespace_name() const { |
5862 | 1.55M | return (_has_bits_[0] & 0x00000010u) != 0; |
5863 | 1.55M | } |
5864 | 941k | inline void SysTablesEntryPB::set_has_namespace_name() { |
5865 | 941k | _has_bits_[0] |= 0x00000010u; |
5866 | 941k | } |
5867 | 0 | inline void SysTablesEntryPB::clear_has_namespace_name() { |
5868 | 0 | _has_bits_[0] &= ~0x00000010u; |
5869 | 0 | } |
5870 | 0 | inline void SysTablesEntryPB::clear_namespace_name() { |
5871 | 0 | namespace_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5872 | 0 | clear_has_namespace_name(); |
5873 | 0 | } |
5874 | 454k | inline const ::std::string& SysTablesEntryPB::namespace_name() const { |
5875 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.namespace_name) |
5876 | 454k | return namespace_name_.GetNoArena(); |
5877 | 454k | } |
5878 | 56.3k | inline void SysTablesEntryPB::set_namespace_name(const ::std::string& value) { |
5879 | 56.3k | set_has_namespace_name(); |
5880 | 56.3k | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5881 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.namespace_name) |
5882 | 56.3k | } |
5883 | | #if LANG_CXX11 |
5884 | 0 | inline void SysTablesEntryPB::set_namespace_name(::std::string&& value) { |
5885 | 0 | set_has_namespace_name(); |
5886 | 0 | namespace_name_.SetNoArena( |
5887 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5888 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysTablesEntryPB.namespace_name) |
5889 | 0 | } |
5890 | | #endif |
5891 | 0 | inline void SysTablesEntryPB::set_namespace_name(const char* value) { |
5892 | 0 | GOOGLE_DCHECK(value != NULL); |
5893 | 0 | set_has_namespace_name(); |
5894 | 0 | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5895 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysTablesEntryPB.namespace_name) |
5896 | 0 | } |
5897 | 0 | inline void SysTablesEntryPB::set_namespace_name(const void* value, size_t size) { |
5898 | 0 | set_has_namespace_name(); |
5899 | 0 | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5900 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5901 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTablesEntryPB.namespace_name) |
5902 | 0 | } |
5903 | 446k | inline ::std::string* SysTablesEntryPB::mutable_namespace_name() { |
5904 | 446k | set_has_namespace_name(); |
5905 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.namespace_name) |
5906 | 446k | return namespace_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5907 | 446k | } |
5908 | 0 | inline ::std::string* SysTablesEntryPB::release_namespace_name() { |
5909 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTablesEntryPB.namespace_name) |
5910 | 0 | clear_has_namespace_name(); |
5911 | 0 | return namespace_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5912 | 0 | } |
5913 | 0 | inline void SysTablesEntryPB::set_allocated_namespace_name(::std::string* namespace_name) { |
5914 | 0 | if (namespace_name != NULL) { |
5915 | 0 | set_has_namespace_name(); |
5916 | 0 | } else { |
5917 | 0 | clear_has_namespace_name(); |
5918 | 0 | } |
5919 | 0 | namespace_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_name); |
5920 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTablesEntryPB.namespace_name) |
5921 | 0 | } |
5922 | | |
5923 | | // required uint32 version = 2; |
5924 | 0 | inline bool SysTablesEntryPB::has_version() const { |
5925 | 0 | return (_has_bits_[0] & 0x00002000u) != 0; |
5926 | 0 | } |
5927 | 512k | inline void SysTablesEntryPB::set_has_version() { |
5928 | 512k | _has_bits_[0] |= 0x00002000u; |
5929 | 512k | } |
5930 | 0 | inline void SysTablesEntryPB::clear_has_version() { |
5931 | 0 | _has_bits_[0] &= ~0x00002000u; |
5932 | 0 | } |
5933 | 0 | inline void SysTablesEntryPB::clear_version() { |
5934 | 0 | version_ = 0u; |
5935 | 0 | clear_has_version(); |
5936 | 0 | } |
5937 | 973k | inline ::google::protobuf::uint32 SysTablesEntryPB::version() const { |
5938 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.version) |
5939 | 973k | return version_; |
5940 | 973k | } |
5941 | 63.2k | inline void SysTablesEntryPB::set_version(::google::protobuf::uint32 value) { |
5942 | 63.2k | set_has_version(); |
5943 | 63.2k | version_ = value; |
5944 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.version) |
5945 | 63.2k | } |
5946 | | |
5947 | | // required .yb.SchemaPB schema = 3; |
5948 | 2.04M | inline bool SysTablesEntryPB::has_schema() const { |
5949 | 2.04M | return (_has_bits_[0] & 0x00000040u) != 0; |
5950 | 2.04M | } |
5951 | 1.36M | inline void SysTablesEntryPB::set_has_schema() { |
5952 | 1.36M | _has_bits_[0] |= 0x00000040u; |
5953 | 1.36M | } |
5954 | 2 | inline void SysTablesEntryPB::clear_has_schema() { |
5955 | 2 | _has_bits_[0] &= ~0x00000040u; |
5956 | 2 | } |
5957 | 5.36M | inline const ::yb::SchemaPB& SysTablesEntryPB::schema() const { |
5958 | 5.36M | const ::yb::SchemaPB* p = schema_; |
5959 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.schema) |
5960 | 18.4E | return p != NULL5.36M ? *p5.36M : *reinterpret_cast<const ::yb::SchemaPB*>( |
5961 | 18.4E | &::yb::_SchemaPB_default_instance_); |
5962 | 5.36M | } |
5963 | 0 | inline ::yb::SchemaPB* SysTablesEntryPB::release_schema() { |
5964 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTablesEntryPB.schema) |
5965 | 0 | clear_has_schema(); |
5966 | 0 | ::yb::SchemaPB* temp = schema_; |
5967 | 0 | schema_ = NULL; |
5968 | 0 | return temp; |
5969 | 0 | } |
5970 | 1.36M | inline ::yb::SchemaPB* SysTablesEntryPB::mutable_schema() { |
5971 | 1.36M | set_has_schema(); |
5972 | 1.36M | if (schema_ == NULL) { |
5973 | 949k | schema_ = new ::yb::SchemaPB; |
5974 | 949k | } |
5975 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.schema) |
5976 | 1.36M | return schema_; |
5977 | 1.36M | } |
5978 | 0 | inline void SysTablesEntryPB::set_allocated_schema(::yb::SchemaPB* schema) { |
5979 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5980 | 0 | if (message_arena == NULL) { |
5981 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(schema_); |
5982 | 0 | } |
5983 | 0 | if (schema) { |
5984 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5985 | 0 | if (message_arena != submessage_arena) { |
5986 | 0 | schema = ::google::protobuf::internal::GetOwnedMessage( |
5987 | 0 | message_arena, schema, submessage_arena); |
5988 | 0 | } |
5989 | 0 | set_has_schema(); |
5990 | 0 | } else { |
5991 | 0 | clear_has_schema(); |
5992 | 0 | } |
5993 | 0 | schema_ = schema; |
5994 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTablesEntryPB.schema) |
5995 | 0 | } |
5996 | | |
5997 | | // optional .yb.SchemaPB fully_applied_schema = 4; |
5998 | 2.43M | inline bool SysTablesEntryPB::has_fully_applied_schema() const { |
5999 | 2.43M | return (_has_bits_[0] & 0x00000080u) != 0; |
6000 | 2.43M | } |
6001 | 4.41k | inline void SysTablesEntryPB::set_has_fully_applied_schema() { |
6002 | 4.41k | _has_bits_[0] |= 0x00000080u; |
6003 | 4.41k | } |
6004 | 9.84k | inline void SysTablesEntryPB::clear_has_fully_applied_schema() { |
6005 | 9.84k | _has_bits_[0] &= ~0x00000080u; |
6006 | 9.84k | } |
6007 | 1.20k | inline const ::yb::SchemaPB& SysTablesEntryPB::fully_applied_schema() const { |
6008 | 1.20k | const ::yb::SchemaPB* p = fully_applied_schema_; |
6009 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.fully_applied_schema) |
6010 | 1.20k | return p != NULL ? *p : *reinterpret_cast<const ::yb::SchemaPB*>( |
6011 | 0 | &::yb::_SchemaPB_default_instance_); |
6012 | 1.20k | } |
6013 | 0 | inline ::yb::SchemaPB* SysTablesEntryPB::release_fully_applied_schema() { |
6014 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTablesEntryPB.fully_applied_schema) |
6015 | 0 | clear_has_fully_applied_schema(); |
6016 | 0 | ::yb::SchemaPB* temp = fully_applied_schema_; |
6017 | 0 | fully_applied_schema_ = NULL; |
6018 | 0 | return temp; |
6019 | 0 | } |
6020 | 4.41k | inline ::yb::SchemaPB* SysTablesEntryPB::mutable_fully_applied_schema() { |
6021 | 4.41k | set_has_fully_applied_schema(); |
6022 | 4.41k | if (fully_applied_schema_ == NULL) { |
6023 | 3.38k | fully_applied_schema_ = new ::yb::SchemaPB; |
6024 | 3.38k | } |
6025 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.fully_applied_schema) |
6026 | 4.41k | return fully_applied_schema_; |
6027 | 4.41k | } |
6028 | 0 | inline void SysTablesEntryPB::set_allocated_fully_applied_schema(::yb::SchemaPB* fully_applied_schema) { |
6029 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6030 | 0 | if (message_arena == NULL) { |
6031 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(fully_applied_schema_); |
6032 | 0 | } |
6033 | 0 | if (fully_applied_schema) { |
6034 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6035 | 0 | if (message_arena != submessage_arena) { |
6036 | 0 | fully_applied_schema = ::google::protobuf::internal::GetOwnedMessage( |
6037 | 0 | message_arena, fully_applied_schema, submessage_arena); |
6038 | 0 | } |
6039 | 0 | set_has_fully_applied_schema(); |
6040 | 0 | } else { |
6041 | 0 | clear_has_fully_applied_schema(); |
6042 | 0 | } |
6043 | 0 | fully_applied_schema_ = fully_applied_schema; |
6044 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTablesEntryPB.fully_applied_schema) |
6045 | 0 | } |
6046 | | |
6047 | | // optional .yb.PartitionSchemaPB partition_schema = 9; |
6048 | 2.16M | inline bool SysTablesEntryPB::has_partition_schema() const { |
6049 | 2.16M | return (_has_bits_[0] & 0x00000200u) != 0; |
6050 | 2.16M | } |
6051 | 945k | inline void SysTablesEntryPB::set_has_partition_schema() { |
6052 | 945k | _has_bits_[0] |= 0x00000200u; |
6053 | 945k | } |
6054 | 2 | inline void SysTablesEntryPB::clear_has_partition_schema() { |
6055 | 2 | _has_bits_[0] &= ~0x00000200u; |
6056 | 2 | } |
6057 | 752k | inline const ::yb::PartitionSchemaPB& SysTablesEntryPB::partition_schema() const { |
6058 | 752k | const ::yb::PartitionSchemaPB* p = partition_schema_; |
6059 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.partition_schema) |
6060 | 752k | return p != NULL ? *p749k : *reinterpret_cast<const ::yb::PartitionSchemaPB*>( |
6061 | 3.15k | &::yb::_PartitionSchemaPB_default_instance_); |
6062 | 752k | } |
6063 | 0 | inline ::yb::PartitionSchemaPB* SysTablesEntryPB::release_partition_schema() { |
6064 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTablesEntryPB.partition_schema) |
6065 | 0 | clear_has_partition_schema(); |
6066 | 0 | ::yb::PartitionSchemaPB* temp = partition_schema_; |
6067 | 0 | partition_schema_ = NULL; |
6068 | 0 | return temp; |
6069 | 0 | } |
6070 | 945k | inline ::yb::PartitionSchemaPB* SysTablesEntryPB::mutable_partition_schema() { |
6071 | 945k | set_has_partition_schema(); |
6072 | 945k | if (partition_schema_ == NULL) { |
6073 | 945k | partition_schema_ = new ::yb::PartitionSchemaPB; |
6074 | 945k | } |
6075 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.partition_schema) |
6076 | 945k | return partition_schema_; |
6077 | 945k | } |
6078 | 0 | inline void SysTablesEntryPB::set_allocated_partition_schema(::yb::PartitionSchemaPB* partition_schema) { |
6079 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6080 | 0 | if (message_arena == NULL) { |
6081 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(partition_schema_); |
6082 | 0 | } |
6083 | 0 | if (partition_schema) { |
6084 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6085 | 0 | if (message_arena != submessage_arena) { |
6086 | 0 | partition_schema = ::google::protobuf::internal::GetOwnedMessage( |
6087 | 0 | message_arena, partition_schema, submessage_arena); |
6088 | 0 | } |
6089 | 0 | set_has_partition_schema(); |
6090 | 0 | } else { |
6091 | 0 | clear_has_partition_schema(); |
6092 | 0 | } |
6093 | 0 | partition_schema_ = partition_schema; |
6094 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTablesEntryPB.partition_schema) |
6095 | 0 | } |
6096 | | |
6097 | | // optional uint32 partition_list_version = 28; |
6098 | 45.5k | inline bool SysTablesEntryPB::has_partition_list_version() const { |
6099 | 45.5k | return (_has_bits_[0] & 0x00400000u) != 0; |
6100 | 45.5k | } |
6101 | 90 | inline void SysTablesEntryPB::set_has_partition_list_version() { |
6102 | 90 | _has_bits_[0] |= 0x00400000u; |
6103 | 90 | } |
6104 | 0 | inline void SysTablesEntryPB::clear_has_partition_list_version() { |
6105 | 0 | _has_bits_[0] &= ~0x00400000u; |
6106 | 0 | } |
6107 | 0 | inline void SysTablesEntryPB::clear_partition_list_version() { |
6108 | 0 | partition_list_version_ = 0u; |
6109 | 0 | clear_has_partition_list_version(); |
6110 | 0 | } |
6111 | 221k | inline ::google::protobuf::uint32 SysTablesEntryPB::partition_list_version() const { |
6112 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.partition_list_version) |
6113 | 221k | return partition_list_version_; |
6114 | 221k | } |
6115 | 88 | inline void SysTablesEntryPB::set_partition_list_version(::google::protobuf::uint32 value) { |
6116 | 88 | set_has_partition_list_version(); |
6117 | 88 | partition_list_version_ = value; |
6118 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.partition_list_version) |
6119 | 88 | } |
6120 | | |
6121 | | // optional int32 next_column_id = 8; |
6122 | 117k | inline bool SysTablesEntryPB::has_next_column_id() const { |
6123 | 117k | return (_has_bits_[0] & 0x00008000u) != 0; |
6124 | 117k | } |
6125 | 510k | inline void SysTablesEntryPB::set_has_next_column_id() { |
6126 | 510k | _has_bits_[0] |= 0x00008000u; |
6127 | 510k | } |
6128 | 0 | inline void SysTablesEntryPB::clear_has_next_column_id() { |
6129 | 0 | _has_bits_[0] &= ~0x00008000u; |
6130 | 0 | } |
6131 | 0 | inline void SysTablesEntryPB::clear_next_column_id() { |
6132 | 0 | next_column_id_ = 0; |
6133 | 0 | clear_has_next_column_id(); |
6134 | 0 | } |
6135 | 235k | inline ::google::protobuf::int32 SysTablesEntryPB::next_column_id() const { |
6136 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.next_column_id) |
6137 | 235k | return next_column_id_; |
6138 | 235k | } |
6139 | 62.2k | inline void SysTablesEntryPB::set_next_column_id(::google::protobuf::int32 value) { |
6140 | 62.2k | set_has_next_column_id(); |
6141 | 62.2k | next_column_id_ = value; |
6142 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.next_column_id) |
6143 | 62.2k | } |
6144 | | |
6145 | | // optional .yb.master.ReplicationInfoPB replication_info = 5; |
6146 | 2.44M | inline bool SysTablesEntryPB::has_replication_info() const { |
6147 | 2.44M | return (_has_bits_[0] & 0x00000100u) != 0; |
6148 | 2.44M | } |
6149 | 15 | inline void SysTablesEntryPB::set_has_replication_info() { |
6150 | 15 | _has_bits_[0] |= 0x00000100u; |
6151 | 15 | } |
6152 | 0 | inline void SysTablesEntryPB::clear_has_replication_info() { |
6153 | 0 | _has_bits_[0] &= ~0x00000100u; |
6154 | 0 | } |
6155 | 0 | inline void SysTablesEntryPB::clear_replication_info() { |
6156 | 0 | if (replication_info_ != NULL) replication_info_->Clear(); |
6157 | 0 | clear_has_replication_info(); |
6158 | 0 | } |
6159 | 240k | inline const ::yb::master::ReplicationInfoPB& SysTablesEntryPB::replication_info() const { |
6160 | 240k | const ::yb::master::ReplicationInfoPB* p = replication_info_; |
6161 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.replication_info) |
6162 | 240k | return p != NULL ? *p17.8k : *reinterpret_cast<const ::yb::master::ReplicationInfoPB*>( |
6163 | 222k | &::yb::master::_ReplicationInfoPB_default_instance_); |
6164 | 240k | } |
6165 | 0 | inline ::yb::master::ReplicationInfoPB* SysTablesEntryPB::release_replication_info() { |
6166 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTablesEntryPB.replication_info) |
6167 | 0 | clear_has_replication_info(); |
6168 | 0 | ::yb::master::ReplicationInfoPB* temp = replication_info_; |
6169 | 0 | replication_info_ = NULL; |
6170 | 0 | return temp; |
6171 | 0 | } |
6172 | 15 | inline ::yb::master::ReplicationInfoPB* SysTablesEntryPB::mutable_replication_info() { |
6173 | 15 | set_has_replication_info(); |
6174 | 15 | if (replication_info_ == NULL) { |
6175 | 13 | replication_info_ = new ::yb::master::ReplicationInfoPB; |
6176 | 13 | } |
6177 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.replication_info) |
6178 | 15 | return replication_info_; |
6179 | 15 | } |
6180 | 0 | inline void SysTablesEntryPB::set_allocated_replication_info(::yb::master::ReplicationInfoPB* replication_info) { |
6181 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6182 | 0 | if (message_arena == NULL) { |
6183 | 0 | delete replication_info_; |
6184 | 0 | } |
6185 | 0 | if (replication_info) { |
6186 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6187 | 0 | if (message_arena != submessage_arena) { |
6188 | 0 | replication_info = ::google::protobuf::internal::GetOwnedMessage( |
6189 | 0 | message_arena, replication_info, submessage_arena); |
6190 | 0 | } |
6191 | 0 | set_has_replication_info(); |
6192 | 0 | } else { |
6193 | 0 | clear_has_replication_info(); |
6194 | 0 | } |
6195 | 0 | replication_info_ = replication_info; |
6196 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTablesEntryPB.replication_info) |
6197 | 0 | } |
6198 | | |
6199 | | // optional .yb.master.SysTablesEntryPB.State state = 6 [default = UNKNOWN]; |
6200 | 116k | inline bool SysTablesEntryPB::has_state() const { |
6201 | 116k | return (_has_bits_[0] & 0x00004000u) != 0; |
6202 | 116k | } |
6203 | 611k | inline void SysTablesEntryPB::set_has_state() { |
6204 | 611k | _has_bits_[0] |= 0x00004000u; |
6205 | 611k | } |
6206 | 0 | inline void SysTablesEntryPB::clear_has_state() { |
6207 | 0 | _has_bits_[0] &= ~0x00004000u; |
6208 | 0 | } |
6209 | 0 | inline void SysTablesEntryPB::clear_state() { |
6210 | 0 | state_ = 0; |
6211 | 0 | clear_has_state(); |
6212 | 0 | } |
6213 | 378M | inline ::yb::master::SysTablesEntryPB_State SysTablesEntryPB::state() const { |
6214 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.state) |
6215 | 378M | return static_cast< ::yb::master::SysTablesEntryPB_State >(state_); |
6216 | 378M | } |
6217 | 611k | inline void SysTablesEntryPB::set_state(::yb::master::SysTablesEntryPB_State value) { |
6218 | 611k | assert(::yb::master::SysTablesEntryPB_State_IsValid(value)); |
6219 | 0 | set_has_state(); |
6220 | 611k | state_ = value; |
6221 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.state) |
6222 | 611k | } |
6223 | | |
6224 | | // optional bytes state_msg = 7; |
6225 | 1.55M | inline bool SysTablesEntryPB::has_state_msg() const { |
6226 | 1.55M | return (_has_bits_[0] & 0x00000002u) != 0; |
6227 | 1.55M | } |
6228 | 47.6k | inline void SysTablesEntryPB::set_has_state_msg() { |
6229 | 47.6k | _has_bits_[0] |= 0x00000002u; |
6230 | 47.6k | } |
6231 | 0 | inline void SysTablesEntryPB::clear_has_state_msg() { |
6232 | 0 | _has_bits_[0] &= ~0x00000002u; |
6233 | 0 | } |
6234 | 0 | inline void SysTablesEntryPB::clear_state_msg() { |
6235 | 0 | state_msg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6236 | 0 | clear_has_state_msg(); |
6237 | 0 | } |
6238 | 105k | inline const ::std::string& SysTablesEntryPB::state_msg() const { |
6239 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.state_msg) |
6240 | 105k | return state_msg_.GetNoArena(); |
6241 | 105k | } |
6242 | 47.5k | inline void SysTablesEntryPB::set_state_msg(const ::std::string& value) { |
6243 | 47.5k | set_has_state_msg(); |
6244 | 47.5k | state_msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6245 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.state_msg) |
6246 | 47.5k | } |
6247 | | #if LANG_CXX11 |
6248 | 0 | inline void SysTablesEntryPB::set_state_msg(::std::string&& value) { |
6249 | 0 | set_has_state_msg(); |
6250 | 0 | state_msg_.SetNoArena( |
6251 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6252 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysTablesEntryPB.state_msg) |
6253 | 0 | } |
6254 | | #endif |
6255 | 0 | inline void SysTablesEntryPB::set_state_msg(const char* value) { |
6256 | 0 | GOOGLE_DCHECK(value != NULL); |
6257 | 0 | set_has_state_msg(); |
6258 | 0 | state_msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6259 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysTablesEntryPB.state_msg) |
6260 | 0 | } |
6261 | 0 | inline void SysTablesEntryPB::set_state_msg(const void* value, size_t size) { |
6262 | 0 | set_has_state_msg(); |
6263 | 0 | state_msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6264 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6265 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTablesEntryPB.state_msg) |
6266 | 0 | } |
6267 | 94 | inline ::std::string* SysTablesEntryPB::mutable_state_msg() { |
6268 | 94 | set_has_state_msg(); |
6269 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.state_msg) |
6270 | 94 | return state_msg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6271 | 94 | } |
6272 | 0 | inline ::std::string* SysTablesEntryPB::release_state_msg() { |
6273 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTablesEntryPB.state_msg) |
6274 | 0 | clear_has_state_msg(); |
6275 | 0 | return state_msg_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6276 | 0 | } |
6277 | 0 | inline void SysTablesEntryPB::set_allocated_state_msg(::std::string* state_msg) { |
6278 | 0 | if (state_msg != NULL) { |
6279 | 0 | set_has_state_msg(); |
6280 | 0 | } else { |
6281 | 0 | clear_has_state_msg(); |
6282 | 0 | } |
6283 | 0 | state_msg_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), state_msg); |
6284 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTablesEntryPB.state_msg) |
6285 | 0 | } |
6286 | | |
6287 | | // repeated .yb.IndexInfoPB indexes = 12; |
6288 | 258k | inline int SysTablesEntryPB::indexes_size() const { |
6289 | 258k | return indexes_.size(); |
6290 | 258k | } |
6291 | 48.3k | inline const ::yb::IndexInfoPB& SysTablesEntryPB::indexes(int index) const { |
6292 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.indexes) |
6293 | 48.3k | return indexes_.Get(index); |
6294 | 48.3k | } |
6295 | 5.10k | inline ::yb::IndexInfoPB* SysTablesEntryPB::mutable_indexes(int index) { |
6296 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.indexes) |
6297 | 5.10k | return indexes_.Mutable(index); |
6298 | 5.10k | } |
6299 | 1.22k | inline ::yb::IndexInfoPB* SysTablesEntryPB::add_indexes() { |
6300 | | // @@protoc_insertion_point(field_add:yb.master.SysTablesEntryPB.indexes) |
6301 | 1.22k | return indexes_.Add(); |
6302 | 1.22k | } |
6303 | | inline ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >* |
6304 | 811 | SysTablesEntryPB::mutable_indexes() { |
6305 | | // @@protoc_insertion_point(field_mutable_list:yb.master.SysTablesEntryPB.indexes) |
6306 | 811 | return &indexes_; |
6307 | 811 | } |
6308 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >& |
6309 | 839k | SysTablesEntryPB::indexes() const { |
6310 | | // @@protoc_insertion_point(field_list:yb.master.SysTablesEntryPB.indexes) |
6311 | 839k | return indexes_; |
6312 | 839k | } |
6313 | | |
6314 | | // optional bytes indexed_table_id = 13; |
6315 | 2.10M | inline bool SysTablesEntryPB::has_indexed_table_id() const { |
6316 | 2.10M | return (_has_bits_[0] & 0x00000008u) != 0; |
6317 | 2.10M | } |
6318 | 388k | inline void SysTablesEntryPB::set_has_indexed_table_id() { |
6319 | 388k | _has_bits_[0] |= 0x00000008u; |
6320 | 388k | } |
6321 | 0 | inline void SysTablesEntryPB::clear_has_indexed_table_id() { |
6322 | 0 | _has_bits_[0] &= ~0x00000008u; |
6323 | 0 | } |
6324 | 0 | inline void SysTablesEntryPB::clear_indexed_table_id() { |
6325 | 0 | indexed_table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6326 | 0 | clear_has_indexed_table_id(); |
6327 | 0 | } |
6328 | 71.9k | inline const ::std::string& SysTablesEntryPB::indexed_table_id() const { |
6329 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.indexed_table_id) |
6330 | 71.9k | return indexed_table_id_.GetNoArena(); |
6331 | 71.9k | } |
6332 | 7.12k | inline void SysTablesEntryPB::set_indexed_table_id(const ::std::string& value) { |
6333 | 7.12k | set_has_indexed_table_id(); |
6334 | 7.12k | indexed_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6335 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.indexed_table_id) |
6336 | 7.12k | } |
6337 | | #if LANG_CXX11 |
6338 | 0 | inline void SysTablesEntryPB::set_indexed_table_id(::std::string&& value) { |
6339 | 0 | set_has_indexed_table_id(); |
6340 | 0 | indexed_table_id_.SetNoArena( |
6341 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6342 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysTablesEntryPB.indexed_table_id) |
6343 | 0 | } |
6344 | | #endif |
6345 | 0 | inline void SysTablesEntryPB::set_indexed_table_id(const char* value) { |
6346 | 0 | GOOGLE_DCHECK(value != NULL); |
6347 | 0 | set_has_indexed_table_id(); |
6348 | 0 | indexed_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6349 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysTablesEntryPB.indexed_table_id) |
6350 | 0 | } |
6351 | 0 | inline void SysTablesEntryPB::set_indexed_table_id(const void* value, size_t size) { |
6352 | 0 | set_has_indexed_table_id(); |
6353 | 0 | indexed_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6354 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6355 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTablesEntryPB.indexed_table_id) |
6356 | 0 | } |
6357 | 192k | inline ::std::string* SysTablesEntryPB::mutable_indexed_table_id() { |
6358 | 192k | set_has_indexed_table_id(); |
6359 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.indexed_table_id) |
6360 | 192k | return indexed_table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6361 | 192k | } |
6362 | 0 | inline ::std::string* SysTablesEntryPB::release_indexed_table_id() { |
6363 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTablesEntryPB.indexed_table_id) |
6364 | 0 | clear_has_indexed_table_id(); |
6365 | 0 | return indexed_table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6366 | 0 | } |
6367 | 0 | inline void SysTablesEntryPB::set_allocated_indexed_table_id(::std::string* indexed_table_id) { |
6368 | 0 | if (indexed_table_id != NULL) { |
6369 | 0 | set_has_indexed_table_id(); |
6370 | 0 | } else { |
6371 | 0 | clear_has_indexed_table_id(); |
6372 | 0 | } |
6373 | 0 | indexed_table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), indexed_table_id); |
6374 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTablesEntryPB.indexed_table_id) |
6375 | 0 | } |
6376 | | |
6377 | | // optional bool is_local_index = 14 [default = false]; |
6378 | 45.5k | inline bool SysTablesEntryPB::has_is_local_index() const { |
6379 | 45.5k | return (_has_bits_[0] & 0x00010000u) != 0; |
6380 | 45.5k | } |
6381 | 199k | inline void SysTablesEntryPB::set_has_is_local_index() { |
6382 | 199k | _has_bits_[0] |= 0x00010000u; |
6383 | 199k | } |
6384 | 0 | inline void SysTablesEntryPB::clear_has_is_local_index() { |
6385 | 0 | _has_bits_[0] &= ~0x00010000u; |
6386 | 0 | } |
6387 | 0 | inline void SysTablesEntryPB::clear_is_local_index() { |
6388 | 0 | is_local_index_ = false; |
6389 | 0 | clear_has_is_local_index(); |
6390 | 0 | } |
6391 | 18.0k | inline bool SysTablesEntryPB::is_local_index() const { |
6392 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.is_local_index) |
6393 | 18.0k | return is_local_index_; |
6394 | 18.0k | } |
6395 | 7.12k | inline void SysTablesEntryPB::set_is_local_index(bool value) { |
6396 | 7.12k | set_has_is_local_index(); |
6397 | 7.12k | is_local_index_ = value; |
6398 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.is_local_index) |
6399 | 7.12k | } |
6400 | | |
6401 | | // optional bool is_unique_index = 15 [default = false]; |
6402 | 45.5k | inline bool SysTablesEntryPB::has_is_unique_index() const { |
6403 | 45.5k | return (_has_bits_[0] & 0x00020000u) != 0; |
6404 | 45.5k | } |
6405 | 199k | inline void SysTablesEntryPB::set_has_is_unique_index() { |
6406 | 199k | _has_bits_[0] |= 0x00020000u; |
6407 | 199k | } |
6408 | 0 | inline void SysTablesEntryPB::clear_has_is_unique_index() { |
6409 | 0 | _has_bits_[0] &= ~0x00020000u; |
6410 | 0 | } |
6411 | 0 | inline void SysTablesEntryPB::clear_is_unique_index() { |
6412 | 0 | is_unique_index_ = false; |
6413 | 0 | clear_has_is_unique_index(); |
6414 | 0 | } |
6415 | 18.0k | inline bool SysTablesEntryPB::is_unique_index() const { |
6416 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.is_unique_index) |
6417 | 18.0k | return is_unique_index_; |
6418 | 18.0k | } |
6419 | 7.12k | inline void SysTablesEntryPB::set_is_unique_index(bool value) { |
6420 | 7.12k | set_has_is_unique_index(); |
6421 | 7.12k | is_unique_index_ = value; |
6422 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.is_unique_index) |
6423 | 7.12k | } |
6424 | | |
6425 | | // optional .yb.IndexInfoPB index_info = 22; |
6426 | 3.18M | inline bool SysTablesEntryPB::has_index_info() const { |
6427 | 3.18M | return (_has_bits_[0] & 0x00000400u) != 0; |
6428 | 3.18M | } |
6429 | 389k | inline void SysTablesEntryPB::set_has_index_info() { |
6430 | 389k | _has_bits_[0] |= 0x00000400u; |
6431 | 389k | } |
6432 | 2 | inline void SysTablesEntryPB::clear_has_index_info() { |
6433 | 2 | _has_bits_[0] &= ~0x00000400u; |
6434 | 2 | } |
6435 | 336k | inline const ::yb::IndexInfoPB& SysTablesEntryPB::index_info() const { |
6436 | 336k | const ::yb::IndexInfoPB* p = index_info_; |
6437 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.index_info) |
6438 | 336k | return p != NULL ? *p : *reinterpret_cast<const ::yb::IndexInfoPB*>( |
6439 | 0 | &::yb::_IndexInfoPB_default_instance_); |
6440 | 336k | } |
6441 | 0 | inline ::yb::IndexInfoPB* SysTablesEntryPB::release_index_info() { |
6442 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTablesEntryPB.index_info) |
6443 | 0 | clear_has_index_info(); |
6444 | 0 | ::yb::IndexInfoPB* temp = index_info_; |
6445 | 0 | index_info_ = NULL; |
6446 | 0 | return temp; |
6447 | 0 | } |
6448 | 389k | inline ::yb::IndexInfoPB* SysTablesEntryPB::mutable_index_info() { |
6449 | 389k | set_has_index_info(); |
6450 | 389k | if (index_info_ == NULL) { |
6451 | 388k | index_info_ = new ::yb::IndexInfoPB; |
6452 | 388k | } |
6453 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.index_info) |
6454 | 389k | return index_info_; |
6455 | 389k | } |
6456 | 0 | inline void SysTablesEntryPB::set_allocated_index_info(::yb::IndexInfoPB* index_info) { |
6457 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6458 | 0 | if (message_arena == NULL) { |
6459 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(index_info_); |
6460 | 0 | } |
6461 | 0 | if (index_info) { |
6462 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6463 | 0 | if (message_arena != submessage_arena) { |
6464 | 0 | index_info = ::google::protobuf::internal::GetOwnedMessage( |
6465 | 0 | message_arena, index_info, submessage_arena); |
6466 | 0 | } |
6467 | 0 | set_has_index_info(); |
6468 | 0 | } else { |
6469 | 0 | clear_has_index_info(); |
6470 | 0 | } |
6471 | 0 | index_info_ = index_info; |
6472 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTablesEntryPB.index_info) |
6473 | 0 | } |
6474 | | |
6475 | | // optional bool is_pg_shared_table = 16 [default = false]; |
6476 | 45.5k | inline bool SysTablesEntryPB::has_is_pg_shared_table() const { |
6477 | 45.5k | return (_has_bits_[0] & 0x00040000u) != 0; |
6478 | 45.5k | } |
6479 | 15.5k | inline void SysTablesEntryPB::set_has_is_pg_shared_table() { |
6480 | 15.5k | _has_bits_[0] |= 0x00040000u; |
6481 | 15.5k | } |
6482 | 0 | inline void SysTablesEntryPB::clear_has_is_pg_shared_table() { |
6483 | 0 | _has_bits_[0] &= ~0x00040000u; |
6484 | 0 | } |
6485 | 0 | inline void SysTablesEntryPB::clear_is_pg_shared_table() { |
6486 | 0 | is_pg_shared_table_ = false; |
6487 | 0 | clear_has_is_pg_shared_table(); |
6488 | 0 | } |
6489 | 23.5k | inline bool SysTablesEntryPB::is_pg_shared_table() const { |
6490 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.is_pg_shared_table) |
6491 | 23.5k | return is_pg_shared_table_; |
6492 | 23.5k | } |
6493 | 50 | inline void SysTablesEntryPB::set_is_pg_shared_table(bool value) { |
6494 | 50 | set_has_is_pg_shared_table(); |
6495 | 50 | is_pg_shared_table_ = value; |
6496 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.is_pg_shared_table) |
6497 | 50 | } |
6498 | | |
6499 | | // optional uint32 wal_retention_secs = 24; |
6500 | 244k | inline bool SysTablesEntryPB::has_wal_retention_secs() const { |
6501 | 244k | return (_has_bits_[0] & 0x00200000u) != 0; |
6502 | 244k | } |
6503 | 5.19k | inline void SysTablesEntryPB::set_has_wal_retention_secs() { |
6504 | 5.19k | _has_bits_[0] |= 0x00200000u; |
6505 | 5.19k | } |
6506 | 0 | inline void SysTablesEntryPB::clear_has_wal_retention_secs() { |
6507 | 0 | _has_bits_[0] &= ~0x00200000u; |
6508 | 0 | } |
6509 | 0 | inline void SysTablesEntryPB::clear_wal_retention_secs() { |
6510 | 0 | wal_retention_secs_ = 0u; |
6511 | 0 | clear_has_wal_retention_secs(); |
6512 | 0 | } |
6513 | 31.4k | inline ::google::protobuf::uint32 SysTablesEntryPB::wal_retention_secs() const { |
6514 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.wal_retention_secs) |
6515 | 31.4k | return wal_retention_secs_; |
6516 | 31.4k | } |
6517 | 5.19k | inline void SysTablesEntryPB::set_wal_retention_secs(::google::protobuf::uint32 value) { |
6518 | 5.19k | set_has_wal_retention_secs(); |
6519 | 5.19k | wal_retention_secs_ = value; |
6520 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.wal_retention_secs) |
6521 | 5.19k | } |
6522 | | |
6523 | | // optional bool colocated = 25 [default = false]; |
6524 | 46.1k | inline bool SysTablesEntryPB::has_colocated() const { |
6525 | 46.1k | return (_has_bits_[0] & 0x00080000u) != 0; |
6526 | 46.1k | } |
6527 | 203 | inline void SysTablesEntryPB::set_has_colocated() { |
6528 | 203 | _has_bits_[0] |= 0x00080000u; |
6529 | 203 | } |
6530 | 0 | inline void SysTablesEntryPB::clear_has_colocated() { |
6531 | 0 | _has_bits_[0] &= ~0x00080000u; |
6532 | 0 | } |
6533 | 0 | inline void SysTablesEntryPB::clear_colocated() { |
6534 | 0 | colocated_ = false; |
6535 | 0 | clear_has_colocated(); |
6536 | 0 | } |
6537 | 5.76M | inline bool SysTablesEntryPB::colocated() const { |
6538 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.colocated) |
6539 | 5.76M | return colocated_; |
6540 | 5.76M | } |
6541 | 198 | inline void SysTablesEntryPB::set_colocated(bool value) { |
6542 | 198 | set_has_colocated(); |
6543 | 198 | colocated_ = value; |
6544 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.colocated) |
6545 | 198 | } |
6546 | | |
6547 | | // optional uint32 fully_applied_schema_version = 23; |
6548 | 45.5k | inline bool SysTablesEntryPB::has_fully_applied_schema_version() const { |
6549 | 45.5k | return (_has_bits_[0] & 0x00100000u) != 0; |
6550 | 45.5k | } |
6551 | 4.41k | inline void SysTablesEntryPB::set_has_fully_applied_schema_version() { |
6552 | 4.41k | _has_bits_[0] |= 0x00100000u; |
6553 | 4.41k | } |
6554 | 9.84k | inline void SysTablesEntryPB::clear_has_fully_applied_schema_version() { |
6555 | 9.84k | _has_bits_[0] &= ~0x00100000u; |
6556 | 9.84k | } |
6557 | 9.83k | inline void SysTablesEntryPB::clear_fully_applied_schema_version() { |
6558 | 9.83k | fully_applied_schema_version_ = 0u; |
6559 | 9.83k | clear_has_fully_applied_schema_version(); |
6560 | 9.83k | } |
6561 | 11.9k | inline ::google::protobuf::uint32 SysTablesEntryPB::fully_applied_schema_version() const { |
6562 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.fully_applied_schema_version) |
6563 | 11.9k | return fully_applied_schema_version_; |
6564 | 11.9k | } |
6565 | 4.41k | inline void SysTablesEntryPB::set_fully_applied_schema_version(::google::protobuf::uint32 value) { |
6566 | 4.41k | set_has_fully_applied_schema_version(); |
6567 | 4.41k | fully_applied_schema_version_ = value; |
6568 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.fully_applied_schema_version) |
6569 | 4.41k | } |
6570 | | |
6571 | | // repeated .yb.IndexInfoPB fully_applied_indexes = 26; |
6572 | 233k | inline int SysTablesEntryPB::fully_applied_indexes_size() const { |
6573 | 233k | return fully_applied_indexes_.size(); |
6574 | 233k | } |
6575 | 15.7k | inline const ::yb::IndexInfoPB& SysTablesEntryPB::fully_applied_indexes(int index) const { |
6576 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.fully_applied_indexes) |
6577 | 15.7k | return fully_applied_indexes_.Get(index); |
6578 | 15.7k | } |
6579 | 0 | inline ::yb::IndexInfoPB* SysTablesEntryPB::mutable_fully_applied_indexes(int index) { |
6580 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.fully_applied_indexes) |
6581 | 0 | return fully_applied_indexes_.Mutable(index); |
6582 | 0 | } |
6583 | 0 | inline ::yb::IndexInfoPB* SysTablesEntryPB::add_fully_applied_indexes() { |
6584 | 0 | // @@protoc_insertion_point(field_add:yb.master.SysTablesEntryPB.fully_applied_indexes) |
6585 | 0 | return fully_applied_indexes_.Add(); |
6586 | 0 | } |
6587 | | inline ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >* |
6588 | 4.41k | SysTablesEntryPB::mutable_fully_applied_indexes() { |
6589 | | // @@protoc_insertion_point(field_mutable_list:yb.master.SysTablesEntryPB.fully_applied_indexes) |
6590 | 4.41k | return &fully_applied_indexes_; |
6591 | 4.41k | } |
6592 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >& |
6593 | 614k | SysTablesEntryPB::fully_applied_indexes() const { |
6594 | | // @@protoc_insertion_point(field_list:yb.master.SysTablesEntryPB.fully_applied_indexes) |
6595 | 614k | return fully_applied_indexes_; |
6596 | 614k | } |
6597 | | |
6598 | | // optional .yb.IndexInfoPB fully_applied_index_info = 27; |
6599 | 2.16M | inline bool SysTablesEntryPB::has_fully_applied_index_info() const { |
6600 | 2.16M | return (_has_bits_[0] & 0x00000800u) != 0; |
6601 | 2.16M | } |
6602 | 0 | inline void SysTablesEntryPB::set_has_fully_applied_index_info() { |
6603 | 0 | _has_bits_[0] |= 0x00000800u; |
6604 | 0 | } |
6605 | 9.83k | inline void SysTablesEntryPB::clear_has_fully_applied_index_info() { |
6606 | 9.83k | _has_bits_[0] &= ~0x00000800u; |
6607 | 9.83k | } |
6608 | 0 | inline const ::yb::IndexInfoPB& SysTablesEntryPB::fully_applied_index_info() const { |
6609 | 0 | const ::yb::IndexInfoPB* p = fully_applied_index_info_; |
6610 | 0 | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.fully_applied_index_info) |
6611 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::IndexInfoPB*>( |
6612 | 0 | &::yb::_IndexInfoPB_default_instance_); |
6613 | 0 | } |
6614 | 0 | inline ::yb::IndexInfoPB* SysTablesEntryPB::release_fully_applied_index_info() { |
6615 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTablesEntryPB.fully_applied_index_info) |
6616 | 0 | clear_has_fully_applied_index_info(); |
6617 | 0 | ::yb::IndexInfoPB* temp = fully_applied_index_info_; |
6618 | 0 | fully_applied_index_info_ = NULL; |
6619 | 0 | return temp; |
6620 | 0 | } |
6621 | 0 | inline ::yb::IndexInfoPB* SysTablesEntryPB::mutable_fully_applied_index_info() { |
6622 | 0 | set_has_fully_applied_index_info(); |
6623 | 0 | if (fully_applied_index_info_ == NULL) { |
6624 | 0 | fully_applied_index_info_ = new ::yb::IndexInfoPB; |
6625 | 0 | } |
6626 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.fully_applied_index_info) |
6627 | 0 | return fully_applied_index_info_; |
6628 | 0 | } |
6629 | 0 | inline void SysTablesEntryPB::set_allocated_fully_applied_index_info(::yb::IndexInfoPB* fully_applied_index_info) { |
6630 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6631 | 0 | if (message_arena == NULL) { |
6632 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(fully_applied_index_info_); |
6633 | 0 | } |
6634 | 0 | if (fully_applied_index_info) { |
6635 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6636 | 0 | if (message_arena != submessage_arena) { |
6637 | 0 | fully_applied_index_info = ::google::protobuf::internal::GetOwnedMessage( |
6638 | 0 | message_arena, fully_applied_index_info, submessage_arena); |
6639 | 0 | } |
6640 | 0 | set_has_fully_applied_index_info(); |
6641 | 0 | } else { |
6642 | 0 | clear_has_fully_applied_index_info(); |
6643 | 0 | } |
6644 | 0 | fully_applied_index_info_ = fully_applied_index_info; |
6645 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTablesEntryPB.fully_applied_index_info) |
6646 | 0 | } |
6647 | | |
6648 | | // optional .yb.TransactionMetadataPB transaction = 29; |
6649 | 1.99M | inline bool SysTablesEntryPB::has_transaction() const { |
6650 | 1.99M | return (_has_bits_[0] & 0x00001000u) != 0; |
6651 | 1.99M | } |
6652 | 5.17k | inline void SysTablesEntryPB::set_has_transaction() { |
6653 | 5.17k | _has_bits_[0] |= 0x00001000u; |
6654 | 5.17k | } |
6655 | 4.61k | inline void SysTablesEntryPB::clear_has_transaction() { |
6656 | 4.61k | _has_bits_[0] &= ~0x00001000u; |
6657 | 4.61k | } |
6658 | 86 | inline const ::yb::TransactionMetadataPB& SysTablesEntryPB::transaction() const { |
6659 | 86 | const ::yb::TransactionMetadataPB* p = transaction_; |
6660 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.transaction) |
6661 | 86 | return p != NULL ? *p : *reinterpret_cast<const ::yb::TransactionMetadataPB*>( |
6662 | 0 | &::yb::_TransactionMetadataPB_default_instance_); |
6663 | 86 | } |
6664 | 0 | inline ::yb::TransactionMetadataPB* SysTablesEntryPB::release_transaction() { |
6665 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTablesEntryPB.transaction) |
6666 | 0 | clear_has_transaction(); |
6667 | 0 | ::yb::TransactionMetadataPB* temp = transaction_; |
6668 | 0 | transaction_ = NULL; |
6669 | 0 | return temp; |
6670 | 0 | } |
6671 | 5.17k | inline ::yb::TransactionMetadataPB* SysTablesEntryPB::mutable_transaction() { |
6672 | 5.17k | set_has_transaction(); |
6673 | 5.17k | if (transaction_ == NULL) { |
6674 | 4.98k | transaction_ = new ::yb::TransactionMetadataPB; |
6675 | 4.98k | } |
6676 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.transaction) |
6677 | 5.17k | return transaction_; |
6678 | 5.17k | } |
6679 | 0 | inline void SysTablesEntryPB::set_allocated_transaction(::yb::TransactionMetadataPB* transaction) { |
6680 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6681 | 0 | if (message_arena == NULL) { |
6682 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(transaction_); |
6683 | 0 | } |
6684 | 0 | if (transaction) { |
6685 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6686 | 0 | if (message_arena != submessage_arena) { |
6687 | 0 | transaction = ::google::protobuf::internal::GetOwnedMessage( |
6688 | 0 | message_arena, transaction, submessage_arena); |
6689 | 0 | } |
6690 | 0 | set_has_transaction(); |
6691 | 0 | } else { |
6692 | 0 | clear_has_transaction(); |
6693 | 0 | } |
6694 | 0 | transaction_ = transaction; |
6695 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTablesEntryPB.transaction) |
6696 | 0 | } |
6697 | | |
6698 | | // optional bool updates_only_index_permissions = 31 [default = false]; |
6699 | 45.6k | inline bool SysTablesEntryPB::has_updates_only_index_permissions() const { |
6700 | 45.6k | return (_has_bits_[0] & 0x00800000u) != 0; |
6701 | 45.6k | } |
6702 | 4.70k | inline void SysTablesEntryPB::set_has_updates_only_index_permissions() { |
6703 | 4.70k | _has_bits_[0] |= 0x00800000u; |
6704 | 4.70k | } |
6705 | 0 | inline void SysTablesEntryPB::clear_has_updates_only_index_permissions() { |
6706 | 0 | _has_bits_[0] &= ~0x00800000u; |
6707 | 0 | } |
6708 | 0 | inline void SysTablesEntryPB::clear_updates_only_index_permissions() { |
6709 | 0 | updates_only_index_permissions_ = false; |
6710 | 0 | clear_has_updates_only_index_permissions(); |
6711 | 0 | } |
6712 | 186k | inline bool SysTablesEntryPB::updates_only_index_permissions() const { |
6713 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.updates_only_index_permissions) |
6714 | 186k | return updates_only_index_permissions_; |
6715 | 186k | } |
6716 | 4.66k | inline void SysTablesEntryPB::set_updates_only_index_permissions(bool value) { |
6717 | 4.66k | set_has_updates_only_index_permissions(); |
6718 | 4.66k | updates_only_index_permissions_ = value; |
6719 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.updates_only_index_permissions) |
6720 | 4.66k | } |
6721 | | |
6722 | | // repeated .yb.master.BackfillJobPB backfill_jobs = 32; |
6723 | 276k | inline int SysTablesEntryPB::backfill_jobs_size() const { |
6724 | 276k | return backfill_jobs_.size(); |
6725 | 276k | } |
6726 | 865 | inline void SysTablesEntryPB::clear_backfill_jobs() { |
6727 | 865 | backfill_jobs_.Clear(); |
6728 | 865 | } |
6729 | 25.7k | inline const ::yb::master::BackfillJobPB& SysTablesEntryPB::backfill_jobs(int index) const { |
6730 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.backfill_jobs) |
6731 | 25.7k | return backfill_jobs_.Get(index); |
6732 | 25.7k | } |
6733 | 6.08k | inline ::yb::master::BackfillJobPB* SysTablesEntryPB::mutable_backfill_jobs(int index) { |
6734 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.backfill_jobs) |
6735 | 6.08k | return backfill_jobs_.Mutable(index); |
6736 | 6.08k | } |
6737 | 908 | inline ::yb::master::BackfillJobPB* SysTablesEntryPB::add_backfill_jobs() { |
6738 | | // @@protoc_insertion_point(field_add:yb.master.SysTablesEntryPB.backfill_jobs) |
6739 | 908 | return backfill_jobs_.Add(); |
6740 | 908 | } |
6741 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::BackfillJobPB >* |
6742 | 0 | SysTablesEntryPB::mutable_backfill_jobs() { |
6743 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.SysTablesEntryPB.backfill_jobs) |
6744 | 0 | return &backfill_jobs_; |
6745 | 0 | } |
6746 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::BackfillJobPB >& |
6747 | 615k | SysTablesEntryPB::backfill_jobs() const { |
6748 | | // @@protoc_insertion_point(field_list:yb.master.SysTablesEntryPB.backfill_jobs) |
6749 | 615k | return backfill_jobs_; |
6750 | 615k | } |
6751 | | |
6752 | | // optional .yb.master.SysTablesEntryPB.HideState hide_state = 33; |
6753 | 116k | inline bool SysTablesEntryPB::has_hide_state() const { |
6754 | 116k | return (_has_bits_[0] & 0x01000000u) != 0; |
6755 | 116k | } |
6756 | 11 | inline void SysTablesEntryPB::set_has_hide_state() { |
6757 | 11 | _has_bits_[0] |= 0x01000000u; |
6758 | 11 | } |
6759 | 0 | inline void SysTablesEntryPB::clear_has_hide_state() { |
6760 | 0 | _has_bits_[0] &= ~0x01000000u; |
6761 | 0 | } |
6762 | 0 | inline void SysTablesEntryPB::clear_hide_state() { |
6763 | 0 | hide_state_ = 0; |
6764 | 0 | clear_has_hide_state(); |
6765 | 0 | } |
6766 | 19.4M | inline ::yb::master::SysTablesEntryPB_HideState SysTablesEntryPB::hide_state() const { |
6767 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.hide_state) |
6768 | 19.4M | return static_cast< ::yb::master::SysTablesEntryPB_HideState >(hide_state_); |
6769 | 19.4M | } |
6770 | 11 | inline void SysTablesEntryPB::set_hide_state(::yb::master::SysTablesEntryPB_HideState value) { |
6771 | 11 | assert(::yb::master::SysTablesEntryPB_HideState_IsValid(value)); |
6772 | 0 | set_has_hide_state(); |
6773 | 11 | hide_state_ = value; |
6774 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.hide_state) |
6775 | 11 | } |
6776 | | |
6777 | | // optional bytes transaction_table_tablespace_id = 34; |
6778 | 1.79M | inline bool SysTablesEntryPB::has_transaction_table_tablespace_id() const { |
6779 | 1.79M | return (_has_bits_[0] & 0x00000020u) != 0; |
6780 | 1.79M | } |
6781 | 24 | inline void SysTablesEntryPB::set_has_transaction_table_tablespace_id() { |
6782 | 24 | _has_bits_[0] |= 0x00000020u; |
6783 | 24 | } |
6784 | 7 | inline void SysTablesEntryPB::clear_has_transaction_table_tablespace_id() { |
6785 | 7 | _has_bits_[0] &= ~0x00000020u; |
6786 | 7 | } |
6787 | 7 | inline void SysTablesEntryPB::clear_transaction_table_tablespace_id() { |
6788 | 7 | transaction_table_tablespace_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6789 | 7 | clear_has_transaction_table_tablespace_id(); |
6790 | 7 | } |
6791 | 1.31k | inline const ::std::string& SysTablesEntryPB::transaction_table_tablespace_id() const { |
6792 | | // @@protoc_insertion_point(field_get:yb.master.SysTablesEntryPB.transaction_table_tablespace_id) |
6793 | 1.31k | return transaction_table_tablespace_id_.GetNoArena(); |
6794 | 1.31k | } |
6795 | 22 | inline void SysTablesEntryPB::set_transaction_table_tablespace_id(const ::std::string& value) { |
6796 | 22 | set_has_transaction_table_tablespace_id(); |
6797 | 22 | transaction_table_tablespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6798 | | // @@protoc_insertion_point(field_set:yb.master.SysTablesEntryPB.transaction_table_tablespace_id) |
6799 | 22 | } |
6800 | | #if LANG_CXX11 |
6801 | 0 | inline void SysTablesEntryPB::set_transaction_table_tablespace_id(::std::string&& value) { |
6802 | 0 | set_has_transaction_table_tablespace_id(); |
6803 | 0 | transaction_table_tablespace_id_.SetNoArena( |
6804 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6805 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysTablesEntryPB.transaction_table_tablespace_id) |
6806 | 0 | } |
6807 | | #endif |
6808 | 0 | inline void SysTablesEntryPB::set_transaction_table_tablespace_id(const char* value) { |
6809 | 0 | GOOGLE_DCHECK(value != NULL); |
6810 | 0 | set_has_transaction_table_tablespace_id(); |
6811 | 0 | transaction_table_tablespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6812 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysTablesEntryPB.transaction_table_tablespace_id) |
6813 | 0 | } |
6814 | 0 | inline void SysTablesEntryPB::set_transaction_table_tablespace_id(const void* value, size_t size) { |
6815 | 0 | set_has_transaction_table_tablespace_id(); |
6816 | 0 | transaction_table_tablespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6817 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6818 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTablesEntryPB.transaction_table_tablespace_id) |
6819 | 0 | } |
6820 | 1 | inline ::std::string* SysTablesEntryPB::mutable_transaction_table_tablespace_id() { |
6821 | 1 | set_has_transaction_table_tablespace_id(); |
6822 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTablesEntryPB.transaction_table_tablespace_id) |
6823 | 1 | return transaction_table_tablespace_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6824 | 1 | } |
6825 | 0 | inline ::std::string* SysTablesEntryPB::release_transaction_table_tablespace_id() { |
6826 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTablesEntryPB.transaction_table_tablespace_id) |
6827 | 0 | clear_has_transaction_table_tablespace_id(); |
6828 | 0 | return transaction_table_tablespace_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6829 | 0 | } |
6830 | 0 | inline void SysTablesEntryPB::set_allocated_transaction_table_tablespace_id(::std::string* transaction_table_tablespace_id) { |
6831 | 0 | if (transaction_table_tablespace_id != NULL) { |
6832 | 0 | set_has_transaction_table_tablespace_id(); |
6833 | 0 | } else { |
6834 | 0 | clear_has_transaction_table_tablespace_id(); |
6835 | 0 | } |
6836 | 0 | transaction_table_tablespace_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), transaction_table_tablespace_id); |
6837 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTablesEntryPB.transaction_table_tablespace_id) |
6838 | 0 | } |
6839 | | |
6840 | | // ------------------------------------------------------------------- |
6841 | | |
6842 | | // ------------------------------------------------------------------- |
6843 | | |
6844 | | // SysTabletsEntryPB |
6845 | | |
6846 | | // optional bytes OBSOLETE_start_key = 1; |
6847 | 836k | inline bool SysTabletsEntryPB::has_obsolete_start_key() const { |
6848 | 836k | return (_has_bits_[0] & 0x00000001u) != 0; |
6849 | 836k | } |
6850 | 0 | inline void SysTabletsEntryPB::set_has_obsolete_start_key() { |
6851 | 0 | _has_bits_[0] |= 0x00000001u; |
6852 | 0 | } |
6853 | 0 | inline void SysTabletsEntryPB::clear_has_obsolete_start_key() { |
6854 | 0 | _has_bits_[0] &= ~0x00000001u; |
6855 | 0 | } |
6856 | 0 | inline void SysTabletsEntryPB::clear_obsolete_start_key() { |
6857 | 0 | obsolete_start_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6858 | 0 | clear_has_obsolete_start_key(); |
6859 | 0 | } |
6860 | 0 | inline const ::std::string& SysTabletsEntryPB::obsolete_start_key() const { |
6861 | 0 | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.OBSOLETE_start_key) |
6862 | 0 | return obsolete_start_key_.GetNoArena(); |
6863 | 0 | } |
6864 | 0 | inline void SysTabletsEntryPB::set_obsolete_start_key(const ::std::string& value) { |
6865 | 0 | set_has_obsolete_start_key(); |
6866 | 0 | obsolete_start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6867 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.OBSOLETE_start_key) |
6868 | 0 | } |
6869 | | #if LANG_CXX11 |
6870 | 0 | inline void SysTabletsEntryPB::set_obsolete_start_key(::std::string&& value) { |
6871 | 0 | set_has_obsolete_start_key(); |
6872 | 0 | obsolete_start_key_.SetNoArena( |
6873 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6874 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysTabletsEntryPB.OBSOLETE_start_key) |
6875 | 0 | } |
6876 | | #endif |
6877 | 0 | inline void SysTabletsEntryPB::set_obsolete_start_key(const char* value) { |
6878 | 0 | GOOGLE_DCHECK(value != NULL); |
6879 | 0 | set_has_obsolete_start_key(); |
6880 | 0 | obsolete_start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6881 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysTabletsEntryPB.OBSOLETE_start_key) |
6882 | 0 | } |
6883 | 0 | inline void SysTabletsEntryPB::set_obsolete_start_key(const void* value, size_t size) { |
6884 | 0 | set_has_obsolete_start_key(); |
6885 | 0 | obsolete_start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6886 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6887 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTabletsEntryPB.OBSOLETE_start_key) |
6888 | 0 | } |
6889 | 0 | inline ::std::string* SysTabletsEntryPB::mutable_obsolete_start_key() { |
6890 | 0 | set_has_obsolete_start_key(); |
6891 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysTabletsEntryPB.OBSOLETE_start_key) |
6892 | 0 | return obsolete_start_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6893 | 0 | } |
6894 | 0 | inline ::std::string* SysTabletsEntryPB::release_obsolete_start_key() { |
6895 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTabletsEntryPB.OBSOLETE_start_key) |
6896 | 0 | clear_has_obsolete_start_key(); |
6897 | 0 | return obsolete_start_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6898 | 0 | } |
6899 | 0 | inline void SysTabletsEntryPB::set_allocated_obsolete_start_key(::std::string* obsolete_start_key) { |
6900 | 0 | if (obsolete_start_key != NULL) { |
6901 | 0 | set_has_obsolete_start_key(); |
6902 | 0 | } else { |
6903 | 0 | clear_has_obsolete_start_key(); |
6904 | 0 | } |
6905 | 0 | obsolete_start_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), obsolete_start_key); |
6906 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTabletsEntryPB.OBSOLETE_start_key) |
6907 | 0 | } |
6908 | | |
6909 | | // optional bytes OBSOLETE_end_key = 2; |
6910 | 836k | inline bool SysTabletsEntryPB::has_obsolete_end_key() const { |
6911 | 836k | return (_has_bits_[0] & 0x00000002u) != 0; |
6912 | 836k | } |
6913 | 0 | inline void SysTabletsEntryPB::set_has_obsolete_end_key() { |
6914 | 0 | _has_bits_[0] |= 0x00000002u; |
6915 | 0 | } |
6916 | 0 | inline void SysTabletsEntryPB::clear_has_obsolete_end_key() { |
6917 | 0 | _has_bits_[0] &= ~0x00000002u; |
6918 | 0 | } |
6919 | 0 | inline void SysTabletsEntryPB::clear_obsolete_end_key() { |
6920 | 0 | obsolete_end_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6921 | 0 | clear_has_obsolete_end_key(); |
6922 | 0 | } |
6923 | 0 | inline const ::std::string& SysTabletsEntryPB::obsolete_end_key() const { |
6924 | 0 | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.OBSOLETE_end_key) |
6925 | 0 | return obsolete_end_key_.GetNoArena(); |
6926 | 0 | } |
6927 | 0 | inline void SysTabletsEntryPB::set_obsolete_end_key(const ::std::string& value) { |
6928 | 0 | set_has_obsolete_end_key(); |
6929 | 0 | obsolete_end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6930 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.OBSOLETE_end_key) |
6931 | 0 | } |
6932 | | #if LANG_CXX11 |
6933 | 0 | inline void SysTabletsEntryPB::set_obsolete_end_key(::std::string&& value) { |
6934 | 0 | set_has_obsolete_end_key(); |
6935 | 0 | obsolete_end_key_.SetNoArena( |
6936 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6937 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysTabletsEntryPB.OBSOLETE_end_key) |
6938 | 0 | } |
6939 | | #endif |
6940 | 0 | inline void SysTabletsEntryPB::set_obsolete_end_key(const char* value) { |
6941 | 0 | GOOGLE_DCHECK(value != NULL); |
6942 | 0 | set_has_obsolete_end_key(); |
6943 | 0 | obsolete_end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6944 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysTabletsEntryPB.OBSOLETE_end_key) |
6945 | 0 | } |
6946 | 0 | inline void SysTabletsEntryPB::set_obsolete_end_key(const void* value, size_t size) { |
6947 | 0 | set_has_obsolete_end_key(); |
6948 | 0 | obsolete_end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6949 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6950 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTabletsEntryPB.OBSOLETE_end_key) |
6951 | 0 | } |
6952 | 0 | inline ::std::string* SysTabletsEntryPB::mutable_obsolete_end_key() { |
6953 | 0 | set_has_obsolete_end_key(); |
6954 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysTabletsEntryPB.OBSOLETE_end_key) |
6955 | 0 | return obsolete_end_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6956 | 0 | } |
6957 | 0 | inline ::std::string* SysTabletsEntryPB::release_obsolete_end_key() { |
6958 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTabletsEntryPB.OBSOLETE_end_key) |
6959 | 0 | clear_has_obsolete_end_key(); |
6960 | 0 | return obsolete_end_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6961 | 0 | } |
6962 | 0 | inline void SysTabletsEntryPB::set_allocated_obsolete_end_key(::std::string* obsolete_end_key) { |
6963 | 0 | if (obsolete_end_key != NULL) { |
6964 | 0 | set_has_obsolete_end_key(); |
6965 | 0 | } else { |
6966 | 0 | clear_has_obsolete_end_key(); |
6967 | 0 | } |
6968 | 0 | obsolete_end_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), obsolete_end_key); |
6969 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTabletsEntryPB.OBSOLETE_end_key) |
6970 | 0 | } |
6971 | | |
6972 | | // optional .yb.PartitionPB partition = 7; |
6973 | 1.04M | inline bool SysTabletsEntryPB::has_partition() const { |
6974 | 1.04M | return (_has_bits_[0] & 0x00000080u) != 0; |
6975 | 1.04M | } |
6976 | 116k | inline void SysTabletsEntryPB::set_has_partition() { |
6977 | 116k | _has_bits_[0] |= 0x00000080u; |
6978 | 116k | } |
6979 | 0 | inline void SysTabletsEntryPB::clear_has_partition() { |
6980 | 0 | _has_bits_[0] &= ~0x00000080u; |
6981 | 0 | } |
6982 | 1.12M | inline const ::yb::PartitionPB& SysTabletsEntryPB::partition() const { |
6983 | 1.12M | const ::yb::PartitionPB* p = partition_; |
6984 | | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.partition) |
6985 | 18.4E | return p != NULL1.12M ? *p1.12M : *reinterpret_cast<const ::yb::PartitionPB*>( |
6986 | 18.4E | &::yb::_PartitionPB_default_instance_); |
6987 | 1.12M | } |
6988 | 0 | inline ::yb::PartitionPB* SysTabletsEntryPB::release_partition() { |
6989 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTabletsEntryPB.partition) |
6990 | 0 | clear_has_partition(); |
6991 | 0 | ::yb::PartitionPB* temp = partition_; |
6992 | 0 | partition_ = NULL; |
6993 | 0 | return temp; |
6994 | 0 | } |
6995 | 116k | inline ::yb::PartitionPB* SysTabletsEntryPB::mutable_partition() { |
6996 | 116k | set_has_partition(); |
6997 | 116k | if (partition_ == NULL) { |
6998 | 116k | partition_ = new ::yb::PartitionPB; |
6999 | 116k | } |
7000 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTabletsEntryPB.partition) |
7001 | 116k | return partition_; |
7002 | 116k | } |
7003 | 0 | inline void SysTabletsEntryPB::set_allocated_partition(::yb::PartitionPB* partition) { |
7004 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7005 | 0 | if (message_arena == NULL) { |
7006 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(partition_); |
7007 | 0 | } |
7008 | 0 | if (partition) { |
7009 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7010 | 0 | if (message_arena != submessage_arena) { |
7011 | 0 | partition = ::google::protobuf::internal::GetOwnedMessage( |
7012 | 0 | message_arena, partition, submessage_arena); |
7013 | 0 | } |
7014 | 0 | set_has_partition(); |
7015 | 0 | } else { |
7016 | 0 | clear_has_partition(); |
7017 | 0 | } |
7018 | 0 | partition_ = partition; |
7019 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTabletsEntryPB.partition) |
7020 | 0 | } |
7021 | | |
7022 | | // optional .yb.consensus.ConsensusStatePB committed_consensus_state = 3; |
7023 | 1.30M | inline bool SysTabletsEntryPB::has_committed_consensus_state() const { |
7024 | 1.30M | return (_has_bits_[0] & 0x00000040u) != 0; |
7025 | 1.30M | } |
7026 | 115k | inline void SysTabletsEntryPB::set_has_committed_consensus_state() { |
7027 | 115k | _has_bits_[0] |= 0x00000040u; |
7028 | 115k | } |
7029 | 0 | inline void SysTabletsEntryPB::clear_has_committed_consensus_state() { |
7030 | 0 | _has_bits_[0] &= ~0x00000040u; |
7031 | 0 | } |
7032 | 1.27M | inline const ::yb::consensus::ConsensusStatePB& SysTabletsEntryPB::committed_consensus_state() const { |
7033 | 1.27M | const ::yb::consensus::ConsensusStatePB* p = committed_consensus_state_; |
7034 | | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.committed_consensus_state) |
7035 | 1.27M | return p != NULL ? *p1.27M : *reinterpret_cast<const ::yb::consensus::ConsensusStatePB*>( |
7036 | 11 | &::yb::consensus::_ConsensusStatePB_default_instance_); |
7037 | 1.27M | } |
7038 | 0 | inline ::yb::consensus::ConsensusStatePB* SysTabletsEntryPB::release_committed_consensus_state() { |
7039 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTabletsEntryPB.committed_consensus_state) |
7040 | 0 | clear_has_committed_consensus_state(); |
7041 | 0 | ::yb::consensus::ConsensusStatePB* temp = committed_consensus_state_; |
7042 | 0 | committed_consensus_state_ = NULL; |
7043 | 0 | return temp; |
7044 | 0 | } |
7045 | 115k | inline ::yb::consensus::ConsensusStatePB* SysTabletsEntryPB::mutable_committed_consensus_state() { |
7046 | 115k | set_has_committed_consensus_state(); |
7047 | 115k | if (committed_consensus_state_ == NULL) { |
7048 | 50.6k | committed_consensus_state_ = new ::yb::consensus::ConsensusStatePB; |
7049 | 50.6k | } |
7050 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTabletsEntryPB.committed_consensus_state) |
7051 | 115k | return committed_consensus_state_; |
7052 | 115k | } |
7053 | 0 | inline void SysTabletsEntryPB::set_allocated_committed_consensus_state(::yb::consensus::ConsensusStatePB* committed_consensus_state) { |
7054 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7055 | 0 | if (message_arena == NULL) { |
7056 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(committed_consensus_state_); |
7057 | 0 | } |
7058 | 0 | if (committed_consensus_state) { |
7059 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7060 | 0 | if (message_arena != submessage_arena) { |
7061 | 0 | committed_consensus_state = ::google::protobuf::internal::GetOwnedMessage( |
7062 | 0 | message_arena, committed_consensus_state, submessage_arena); |
7063 | 0 | } |
7064 | 0 | set_has_committed_consensus_state(); |
7065 | 0 | } else { |
7066 | 0 | clear_has_committed_consensus_state(); |
7067 | 0 | } |
7068 | 0 | committed_consensus_state_ = committed_consensus_state; |
7069 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTabletsEntryPB.committed_consensus_state) |
7070 | 0 | } |
7071 | | |
7072 | | // optional .yb.master.SysTabletsEntryPB.State state = 4 [default = UNKNOWN]; |
7073 | 385k | inline bool SysTabletsEntryPB::has_state() const { |
7074 | 385k | return (_has_bits_[0] & 0x00000800u) != 0; |
7075 | 385k | } |
7076 | 257k | inline void SysTabletsEntryPB::set_has_state() { |
7077 | 257k | _has_bits_[0] |= 0x00000800u; |
7078 | 257k | } |
7079 | 0 | inline void SysTabletsEntryPB::clear_has_state() { |
7080 | 0 | _has_bits_[0] &= ~0x00000800u; |
7081 | 0 | } |
7082 | 0 | inline void SysTabletsEntryPB::clear_state() { |
7083 | 0 | state_ = 999; |
7084 | 0 | clear_has_state(); |
7085 | 0 | } |
7086 | 114M | inline ::yb::master::SysTabletsEntryPB_State SysTabletsEntryPB::state() const { |
7087 | | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.state) |
7088 | 114M | return static_cast< ::yb::master::SysTabletsEntryPB_State >(state_); |
7089 | 114M | } |
7090 | 257k | inline void SysTabletsEntryPB::set_state(::yb::master::SysTabletsEntryPB_State value) { |
7091 | 257k | assert(::yb::master::SysTabletsEntryPB_State_IsValid(value)); |
7092 | 0 | set_has_state(); |
7093 | 257k | state_ = value; |
7094 | | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.state) |
7095 | 257k | } |
7096 | | |
7097 | | // optional bytes state_msg = 5; |
7098 | 836k | inline bool SysTabletsEntryPB::has_state_msg() const { |
7099 | 836k | return (_has_bits_[0] & 0x00000004u) != 0; |
7100 | 836k | } |
7101 | 123k | inline void SysTabletsEntryPB::set_has_state_msg() { |
7102 | 123k | _has_bits_[0] |= 0x00000004u; |
7103 | 123k | } |
7104 | 0 | inline void SysTabletsEntryPB::clear_has_state_msg() { |
7105 | 0 | _has_bits_[0] &= ~0x00000004u; |
7106 | 0 | } |
7107 | 0 | inline void SysTabletsEntryPB::clear_state_msg() { |
7108 | 0 | state_msg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7109 | 0 | clear_has_state_msg(); |
7110 | 0 | } |
7111 | 293k | inline const ::std::string& SysTabletsEntryPB::state_msg() const { |
7112 | | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.state_msg) |
7113 | 293k | return state_msg_.GetNoArena(); |
7114 | 293k | } |
7115 | 121k | inline void SysTabletsEntryPB::set_state_msg(const ::std::string& value) { |
7116 | 121k | set_has_state_msg(); |
7117 | 121k | state_msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7118 | | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.state_msg) |
7119 | 121k | } |
7120 | | #if LANG_CXX11 |
7121 | 0 | inline void SysTabletsEntryPB::set_state_msg(::std::string&& value) { |
7122 | 0 | set_has_state_msg(); |
7123 | 0 | state_msg_.SetNoArena( |
7124 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7125 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysTabletsEntryPB.state_msg) |
7126 | 0 | } |
7127 | | #endif |
7128 | 0 | inline void SysTabletsEntryPB::set_state_msg(const char* value) { |
7129 | 0 | GOOGLE_DCHECK(value != NULL); |
7130 | 0 | set_has_state_msg(); |
7131 | 0 | state_msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7132 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysTabletsEntryPB.state_msg) |
7133 | 0 | } |
7134 | 0 | inline void SysTabletsEntryPB::set_state_msg(const void* value, size_t size) { |
7135 | 0 | set_has_state_msg(); |
7136 | 0 | state_msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7137 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7138 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTabletsEntryPB.state_msg) |
7139 | 0 | } |
7140 | 1.21k | inline ::std::string* SysTabletsEntryPB::mutable_state_msg() { |
7141 | 1.21k | set_has_state_msg(); |
7142 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTabletsEntryPB.state_msg) |
7143 | 1.21k | return state_msg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7144 | 1.21k | } |
7145 | 0 | inline ::std::string* SysTabletsEntryPB::release_state_msg() { |
7146 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTabletsEntryPB.state_msg) |
7147 | 0 | clear_has_state_msg(); |
7148 | 0 | return state_msg_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7149 | 0 | } |
7150 | 0 | inline void SysTabletsEntryPB::set_allocated_state_msg(::std::string* state_msg) { |
7151 | 0 | if (state_msg != NULL) { |
7152 | 0 | set_has_state_msg(); |
7153 | 0 | } else { |
7154 | 0 | clear_has_state_msg(); |
7155 | 0 | } |
7156 | 0 | state_msg_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), state_msg); |
7157 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTabletsEntryPB.state_msg) |
7158 | 0 | } |
7159 | | |
7160 | | // required bytes table_id = 6; |
7161 | 934k | inline bool SysTabletsEntryPB::has_table_id() const { |
7162 | 934k | return (_has_bits_[0] & 0x00000008u) != 0; |
7163 | 934k | } |
7164 | 116k | inline void SysTabletsEntryPB::set_has_table_id() { |
7165 | 116k | _has_bits_[0] |= 0x00000008u; |
7166 | 116k | } |
7167 | 0 | inline void SysTabletsEntryPB::clear_has_table_id() { |
7168 | 0 | _has_bits_[0] &= ~0x00000008u; |
7169 | 0 | } |
7170 | 0 | inline void SysTabletsEntryPB::clear_table_id() { |
7171 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7172 | 0 | clear_has_table_id(); |
7173 | 0 | } |
7174 | 1.02M | inline const ::std::string& SysTabletsEntryPB::table_id() const { |
7175 | | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.table_id) |
7176 | 1.02M | return table_id_.GetNoArena(); |
7177 | 1.02M | } |
7178 | 85.3k | inline void SysTabletsEntryPB::set_table_id(const ::std::string& value) { |
7179 | 85.3k | set_has_table_id(); |
7180 | 85.3k | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7181 | | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.table_id) |
7182 | 85.3k | } |
7183 | | #if LANG_CXX11 |
7184 | 0 | inline void SysTabletsEntryPB::set_table_id(::std::string&& value) { |
7185 | 0 | set_has_table_id(); |
7186 | 0 | table_id_.SetNoArena( |
7187 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7188 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysTabletsEntryPB.table_id) |
7189 | 0 | } |
7190 | | #endif |
7191 | 0 | inline void SysTabletsEntryPB::set_table_id(const char* value) { |
7192 | 0 | GOOGLE_DCHECK(value != NULL); |
7193 | 0 | set_has_table_id(); |
7194 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7195 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysTabletsEntryPB.table_id) |
7196 | 0 | } |
7197 | 0 | inline void SysTabletsEntryPB::set_table_id(const void* value, size_t size) { |
7198 | 0 | set_has_table_id(); |
7199 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7200 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7201 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTabletsEntryPB.table_id) |
7202 | 0 | } |
7203 | 16.0k | inline ::std::string* SysTabletsEntryPB::mutable_table_id() { |
7204 | 16.0k | set_has_table_id(); |
7205 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTabletsEntryPB.table_id) |
7206 | 16.0k | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7207 | 16.0k | } |
7208 | 0 | inline ::std::string* SysTabletsEntryPB::release_table_id() { |
7209 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTabletsEntryPB.table_id) |
7210 | 0 | clear_has_table_id(); |
7211 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7212 | 0 | } |
7213 | 0 | inline void SysTabletsEntryPB::set_allocated_table_id(::std::string* table_id) { |
7214 | 0 | if (table_id != NULL) { |
7215 | 0 | set_has_table_id(); |
7216 | 0 | } else { |
7217 | 0 | clear_has_table_id(); |
7218 | 0 | } |
7219 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
7220 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTabletsEntryPB.table_id) |
7221 | 0 | } |
7222 | | |
7223 | | // repeated bytes table_ids = 8; |
7224 | 1.20M | inline int SysTabletsEntryPB::table_ids_size() const { |
7225 | 1.20M | return table_ids_.size(); |
7226 | 1.20M | } |
7227 | 0 | inline void SysTabletsEntryPB::clear_table_ids() { |
7228 | 0 | table_ids_.Clear(); |
7229 | 0 | } |
7230 | 18.1M | inline const ::std::string& SysTabletsEntryPB::table_ids(int index) const { |
7231 | | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.table_ids) |
7232 | 18.1M | return table_ids_.Get(index); |
7233 | 18.1M | } |
7234 | 0 | inline ::std::string* SysTabletsEntryPB::mutable_table_ids(int index) { |
7235 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysTabletsEntryPB.table_ids) |
7236 | 0 | return table_ids_.Mutable(index); |
7237 | 0 | } |
7238 | 0 | inline void SysTabletsEntryPB::set_table_ids(int index, const ::std::string& value) { |
7239 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.table_ids) |
7240 | 0 | table_ids_.Mutable(index)->assign(value); |
7241 | 0 | } |
7242 | | #if LANG_CXX11 |
7243 | 0 | inline void SysTabletsEntryPB::set_table_ids(int index, ::std::string&& value) { |
7244 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.table_ids) |
7245 | 0 | table_ids_.Mutable(index)->assign(std::move(value)); |
7246 | 0 | } |
7247 | | #endif |
7248 | 0 | inline void SysTabletsEntryPB::set_table_ids(int index, const char* value) { |
7249 | 0 | GOOGLE_DCHECK(value != NULL); |
7250 | 0 | table_ids_.Mutable(index)->assign(value); |
7251 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysTabletsEntryPB.table_ids) |
7252 | 0 | } |
7253 | 0 | inline void SysTabletsEntryPB::set_table_ids(int index, const void* value, size_t size) { |
7254 | 0 | table_ids_.Mutable(index)->assign( |
7255 | 0 | reinterpret_cast<const char*>(value), size); |
7256 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTabletsEntryPB.table_ids) |
7257 | 0 | } |
7258 | 450k | inline ::std::string* SysTabletsEntryPB::add_table_ids() { |
7259 | | // @@protoc_insertion_point(field_add_mutable:yb.master.SysTabletsEntryPB.table_ids) |
7260 | 450k | return table_ids_.Add(); |
7261 | 450k | } |
7262 | 98.8k | inline void SysTabletsEntryPB::add_table_ids(const ::std::string& value) { |
7263 | 98.8k | table_ids_.Add()->assign(value); |
7264 | | // @@protoc_insertion_point(field_add:yb.master.SysTabletsEntryPB.table_ids) |
7265 | 98.8k | } |
7266 | | #if LANG_CXX11 |
7267 | 0 | inline void SysTabletsEntryPB::add_table_ids(::std::string&& value) { |
7268 | 0 | table_ids_.Add(std::move(value)); |
7269 | 0 | // @@protoc_insertion_point(field_add:yb.master.SysTabletsEntryPB.table_ids) |
7270 | 0 | } |
7271 | | #endif |
7272 | 0 | inline void SysTabletsEntryPB::add_table_ids(const char* value) { |
7273 | 0 | GOOGLE_DCHECK(value != NULL); |
7274 | 0 | table_ids_.Add()->assign(value); |
7275 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.SysTabletsEntryPB.table_ids) |
7276 | 0 | } |
7277 | 0 | inline void SysTabletsEntryPB::add_table_ids(const void* value, size_t size) { |
7278 | 0 | table_ids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
7279 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.SysTabletsEntryPB.table_ids) |
7280 | 0 | } |
7281 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
7282 | 516k | SysTabletsEntryPB::table_ids() const { |
7283 | | // @@protoc_insertion_point(field_list:yb.master.SysTabletsEntryPB.table_ids) |
7284 | 516k | return table_ids_; |
7285 | 516k | } |
7286 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
7287 | 99 | SysTabletsEntryPB::mutable_table_ids() { |
7288 | | // @@protoc_insertion_point(field_mutable_list:yb.master.SysTabletsEntryPB.table_ids) |
7289 | 99 | return &table_ids_; |
7290 | 99 | } |
7291 | | |
7292 | | // optional bool colocated = 9 [default = false]; |
7293 | 245k | inline bool SysTabletsEntryPB::has_colocated() const { |
7294 | 245k | return (_has_bits_[0] & 0x00000400u) != 0; |
7295 | 245k | } |
7296 | 74 | inline void SysTabletsEntryPB::set_has_colocated() { |
7297 | 74 | _has_bits_[0] |= 0x00000400u; |
7298 | 74 | } |
7299 | 0 | inline void SysTabletsEntryPB::clear_has_colocated() { |
7300 | 0 | _has_bits_[0] &= ~0x00000400u; |
7301 | 0 | } |
7302 | 0 | inline void SysTabletsEntryPB::clear_colocated() { |
7303 | 0 | colocated_ = false; |
7304 | 0 | clear_has_colocated(); |
7305 | 0 | } |
7306 | 3.65M | inline bool SysTabletsEntryPB::colocated() const { |
7307 | | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.colocated) |
7308 | 3.65M | return colocated_; |
7309 | 3.65M | } |
7310 | 71 | inline void SysTabletsEntryPB::set_colocated(bool value) { |
7311 | 71 | set_has_colocated(); |
7312 | 71 | colocated_ = value; |
7313 | | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.colocated) |
7314 | 71 | } |
7315 | | |
7316 | | // optional bytes DEPRECATED_backfilled_until = 10; |
7317 | 935k | inline bool SysTabletsEntryPB::has_deprecated_backfilled_until() const { |
7318 | 935k | return (_has_bits_[0] & 0x00000010u) != 0; |
7319 | 935k | } |
7320 | 0 | inline void SysTabletsEntryPB::set_has_deprecated_backfilled_until() { |
7321 | 0 | _has_bits_[0] |= 0x00000010u; |
7322 | 0 | } |
7323 | 0 | inline void SysTabletsEntryPB::clear_has_deprecated_backfilled_until() { |
7324 | 0 | _has_bits_[0] &= ~0x00000010u; |
7325 | 0 | } |
7326 | 0 | inline void SysTabletsEntryPB::clear_deprecated_backfilled_until() { |
7327 | 0 | deprecated_backfilled_until_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7328 | 0 | clear_has_deprecated_backfilled_until(); |
7329 | 0 | } |
7330 | 0 | inline const ::std::string& SysTabletsEntryPB::deprecated_backfilled_until() const { |
7331 | 0 | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.DEPRECATED_backfilled_until) |
7332 | 0 | return deprecated_backfilled_until_.GetNoArena(); |
7333 | 0 | } |
7334 | 0 | inline void SysTabletsEntryPB::set_deprecated_backfilled_until(const ::std::string& value) { |
7335 | 0 | set_has_deprecated_backfilled_until(); |
7336 | 0 | deprecated_backfilled_until_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7337 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.DEPRECATED_backfilled_until) |
7338 | 0 | } |
7339 | | #if LANG_CXX11 |
7340 | 0 | inline void SysTabletsEntryPB::set_deprecated_backfilled_until(::std::string&& value) { |
7341 | 0 | set_has_deprecated_backfilled_until(); |
7342 | 0 | deprecated_backfilled_until_.SetNoArena( |
7343 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7344 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysTabletsEntryPB.DEPRECATED_backfilled_until) |
7345 | 0 | } |
7346 | | #endif |
7347 | 0 | inline void SysTabletsEntryPB::set_deprecated_backfilled_until(const char* value) { |
7348 | 0 | GOOGLE_DCHECK(value != NULL); |
7349 | 0 | set_has_deprecated_backfilled_until(); |
7350 | 0 | deprecated_backfilled_until_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7351 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysTabletsEntryPB.DEPRECATED_backfilled_until) |
7352 | 0 | } |
7353 | 0 | inline void SysTabletsEntryPB::set_deprecated_backfilled_until(const void* value, size_t size) { |
7354 | 0 | set_has_deprecated_backfilled_until(); |
7355 | 0 | deprecated_backfilled_until_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7356 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7357 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTabletsEntryPB.DEPRECATED_backfilled_until) |
7358 | 0 | } |
7359 | 0 | inline ::std::string* SysTabletsEntryPB::mutable_deprecated_backfilled_until() { |
7360 | 0 | set_has_deprecated_backfilled_until(); |
7361 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysTabletsEntryPB.DEPRECATED_backfilled_until) |
7362 | 0 | return deprecated_backfilled_until_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7363 | 0 | } |
7364 | 0 | inline ::std::string* SysTabletsEntryPB::release_deprecated_backfilled_until() { |
7365 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTabletsEntryPB.DEPRECATED_backfilled_until) |
7366 | 0 | clear_has_deprecated_backfilled_until(); |
7367 | 0 | return deprecated_backfilled_until_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7368 | 0 | } |
7369 | 0 | inline void SysTabletsEntryPB::set_allocated_deprecated_backfilled_until(::std::string* deprecated_backfilled_until) { |
7370 | 0 | if (deprecated_backfilled_until != NULL) { |
7371 | 0 | set_has_deprecated_backfilled_until(); |
7372 | 0 | } else { |
7373 | 0 | clear_has_deprecated_backfilled_until(); |
7374 | 0 | } |
7375 | 0 | deprecated_backfilled_until_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), deprecated_backfilled_until); |
7376 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTabletsEntryPB.DEPRECATED_backfilled_until) |
7377 | 0 | } |
7378 | | |
7379 | | // optional uint64 split_depth = 11; |
7380 | 245k | inline bool SysTabletsEntryPB::has_split_depth() const { |
7381 | 245k | return (_has_bits_[0] & 0x00000100u) != 0; |
7382 | 245k | } |
7383 | 114 | inline void SysTabletsEntryPB::set_has_split_depth() { |
7384 | 114 | _has_bits_[0] |= 0x00000100u; |
7385 | 114 | } |
7386 | 0 | inline void SysTabletsEntryPB::clear_has_split_depth() { |
7387 | 0 | _has_bits_[0] &= ~0x00000100u; |
7388 | 0 | } |
7389 | 0 | inline void SysTabletsEntryPB::clear_split_depth() { |
7390 | 0 | split_depth_ = GOOGLE_ULONGLONG(0); |
7391 | 0 | clear_has_split_depth(); |
7392 | 0 | } |
7393 | 326k | inline ::google::protobuf::uint64 SysTabletsEntryPB::split_depth() const { |
7394 | | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.split_depth) |
7395 | 326k | return split_depth_; |
7396 | 326k | } |
7397 | 112 | inline void SysTabletsEntryPB::set_split_depth(::google::protobuf::uint64 value) { |
7398 | 112 | set_has_split_depth(); |
7399 | 112 | split_depth_ = value; |
7400 | | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.split_depth) |
7401 | 112 | } |
7402 | | |
7403 | | // optional bytes split_parent_tablet_id = 13; |
7404 | 96.3M | inline bool SysTabletsEntryPB::has_split_parent_tablet_id() const { |
7405 | 96.3M | return (_has_bits_[0] & 0x00000020u) != 0; |
7406 | 96.3M | } |
7407 | 92 | inline void SysTabletsEntryPB::set_has_split_parent_tablet_id() { |
7408 | 92 | _has_bits_[0] |= 0x00000020u; |
7409 | 92 | } |
7410 | 0 | inline void SysTabletsEntryPB::clear_has_split_parent_tablet_id() { |
7411 | 0 | _has_bits_[0] &= ~0x00000020u; |
7412 | 0 | } |
7413 | 0 | inline void SysTabletsEntryPB::clear_split_parent_tablet_id() { |
7414 | 0 | split_parent_tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7415 | 0 | clear_has_split_parent_tablet_id(); |
7416 | 0 | } |
7417 | 290k | inline const ::std::string& SysTabletsEntryPB::split_parent_tablet_id() const { |
7418 | | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.split_parent_tablet_id) |
7419 | 290k | return split_parent_tablet_id_.GetNoArena(); |
7420 | 290k | } |
7421 | 88 | inline void SysTabletsEntryPB::set_split_parent_tablet_id(const ::std::string& value) { |
7422 | 88 | set_has_split_parent_tablet_id(); |
7423 | 88 | split_parent_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7424 | | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.split_parent_tablet_id) |
7425 | 88 | } |
7426 | | #if LANG_CXX11 |
7427 | 0 | inline void SysTabletsEntryPB::set_split_parent_tablet_id(::std::string&& value) { |
7428 | 0 | set_has_split_parent_tablet_id(); |
7429 | 0 | split_parent_tablet_id_.SetNoArena( |
7430 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7431 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysTabletsEntryPB.split_parent_tablet_id) |
7432 | 0 | } |
7433 | | #endif |
7434 | 0 | inline void SysTabletsEntryPB::set_split_parent_tablet_id(const char* value) { |
7435 | 0 | GOOGLE_DCHECK(value != NULL); |
7436 | 0 | set_has_split_parent_tablet_id(); |
7437 | 0 | split_parent_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7438 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysTabletsEntryPB.split_parent_tablet_id) |
7439 | 0 | } |
7440 | 0 | inline void SysTabletsEntryPB::set_split_parent_tablet_id(const void* value, size_t size) { |
7441 | 0 | set_has_split_parent_tablet_id(); |
7442 | 0 | split_parent_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7443 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7444 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTabletsEntryPB.split_parent_tablet_id) |
7445 | 0 | } |
7446 | 2 | inline ::std::string* SysTabletsEntryPB::mutable_split_parent_tablet_id() { |
7447 | 2 | set_has_split_parent_tablet_id(); |
7448 | | // @@protoc_insertion_point(field_mutable:yb.master.SysTabletsEntryPB.split_parent_tablet_id) |
7449 | 2 | return split_parent_tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7450 | 2 | } |
7451 | 0 | inline ::std::string* SysTabletsEntryPB::release_split_parent_tablet_id() { |
7452 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysTabletsEntryPB.split_parent_tablet_id) |
7453 | 0 | clear_has_split_parent_tablet_id(); |
7454 | 0 | return split_parent_tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7455 | 0 | } |
7456 | 0 | inline void SysTabletsEntryPB::set_allocated_split_parent_tablet_id(::std::string* split_parent_tablet_id) { |
7457 | 0 | if (split_parent_tablet_id != NULL) { |
7458 | 0 | set_has_split_parent_tablet_id(); |
7459 | 0 | } else { |
7460 | 0 | clear_has_split_parent_tablet_id(); |
7461 | 0 | } |
7462 | 0 | split_parent_tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), split_parent_tablet_id); |
7463 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysTabletsEntryPB.split_parent_tablet_id) |
7464 | 0 | } |
7465 | | |
7466 | | // map<string, bytes> backfilled_until = 12; |
7467 | 245k | inline int SysTabletsEntryPB::backfilled_until_size() const { |
7468 | 245k | return backfilled_until_.size(); |
7469 | 245k | } |
7470 | 0 | inline void SysTabletsEntryPB::clear_backfilled_until() { |
7471 | 0 | backfilled_until_.Clear(); |
7472 | 0 | } |
7473 | | inline const ::google::protobuf::Map< ::std::string, ::std::string >& |
7474 | 761k | SysTabletsEntryPB::backfilled_until() const { |
7475 | | // @@protoc_insertion_point(field_map:yb.master.SysTabletsEntryPB.backfilled_until) |
7476 | 761k | return backfilled_until_.GetMap(); |
7477 | 761k | } |
7478 | | inline ::google::protobuf::Map< ::std::string, ::std::string >* |
7479 | 8.61k | SysTabletsEntryPB::mutable_backfilled_until() { |
7480 | | // @@protoc_insertion_point(field_mutable_map:yb.master.SysTabletsEntryPB.backfilled_until) |
7481 | 8.61k | return backfilled_until_.MutableMap(); |
7482 | 8.61k | } |
7483 | | |
7484 | | // repeated bytes split_tablet_ids = 14; |
7485 | 736k | inline int SysTabletsEntryPB::split_tablet_ids_size() const { |
7486 | 736k | return split_tablet_ids_.size(); |
7487 | 736k | } |
7488 | 0 | inline void SysTabletsEntryPB::clear_split_tablet_ids() { |
7489 | 0 | split_tablet_ids_.Clear(); |
7490 | 0 | } |
7491 | 700 | inline const ::std::string& SysTabletsEntryPB::split_tablet_ids(int index) const { |
7492 | | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.split_tablet_ids) |
7493 | 700 | return split_tablet_ids_.Get(index); |
7494 | 700 | } |
7495 | 0 | inline ::std::string* SysTabletsEntryPB::mutable_split_tablet_ids(int index) { |
7496 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysTabletsEntryPB.split_tablet_ids) |
7497 | 0 | return split_tablet_ids_.Mutable(index); |
7498 | 0 | } |
7499 | 0 | inline void SysTabletsEntryPB::set_split_tablet_ids(int index, const ::std::string& value) { |
7500 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.split_tablet_ids) |
7501 | 0 | split_tablet_ids_.Mutable(index)->assign(value); |
7502 | 0 | } |
7503 | | #if LANG_CXX11 |
7504 | 0 | inline void SysTabletsEntryPB::set_split_tablet_ids(int index, ::std::string&& value) { |
7505 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.split_tablet_ids) |
7506 | 0 | split_tablet_ids_.Mutable(index)->assign(std::move(value)); |
7507 | 0 | } |
7508 | | #endif |
7509 | 0 | inline void SysTabletsEntryPB::set_split_tablet_ids(int index, const char* value) { |
7510 | 0 | GOOGLE_DCHECK(value != NULL); |
7511 | 0 | split_tablet_ids_.Mutable(index)->assign(value); |
7512 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysTabletsEntryPB.split_tablet_ids) |
7513 | 0 | } |
7514 | 0 | inline void SysTabletsEntryPB::set_split_tablet_ids(int index, const void* value, size_t size) { |
7515 | 0 | split_tablet_ids_.Mutable(index)->assign( |
7516 | 0 | reinterpret_cast<const char*>(value), size); |
7517 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTabletsEntryPB.split_tablet_ids) |
7518 | 0 | } |
7519 | 2 | inline ::std::string* SysTabletsEntryPB::add_split_tablet_ids() { |
7520 | | // @@protoc_insertion_point(field_add_mutable:yb.master.SysTabletsEntryPB.split_tablet_ids) |
7521 | 2 | return split_tablet_ids_.Add(); |
7522 | 2 | } |
7523 | 88 | inline void SysTabletsEntryPB::add_split_tablet_ids(const ::std::string& value) { |
7524 | 88 | split_tablet_ids_.Add()->assign(value); |
7525 | | // @@protoc_insertion_point(field_add:yb.master.SysTabletsEntryPB.split_tablet_ids) |
7526 | 88 | } |
7527 | | #if LANG_CXX11 |
7528 | 0 | inline void SysTabletsEntryPB::add_split_tablet_ids(::std::string&& value) { |
7529 | 0 | split_tablet_ids_.Add(std::move(value)); |
7530 | 0 | // @@protoc_insertion_point(field_add:yb.master.SysTabletsEntryPB.split_tablet_ids) |
7531 | 0 | } |
7532 | | #endif |
7533 | 0 | inline void SysTabletsEntryPB::add_split_tablet_ids(const char* value) { |
7534 | 0 | GOOGLE_DCHECK(value != NULL); |
7535 | 0 | split_tablet_ids_.Add()->assign(value); |
7536 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.SysTabletsEntryPB.split_tablet_ids) |
7537 | 0 | } |
7538 | 0 | inline void SysTabletsEntryPB::add_split_tablet_ids(const void* value, size_t size) { |
7539 | 0 | split_tablet_ids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
7540 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.SysTabletsEntryPB.split_tablet_ids) |
7541 | 0 | } |
7542 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
7543 | 290k | SysTabletsEntryPB::split_tablet_ids() const { |
7544 | | // @@protoc_insertion_point(field_list:yb.master.SysTabletsEntryPB.split_tablet_ids) |
7545 | 290k | return split_tablet_ids_; |
7546 | 290k | } |
7547 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
7548 | 0 | SysTabletsEntryPB::mutable_split_tablet_ids() { |
7549 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.SysTabletsEntryPB.split_tablet_ids) |
7550 | 0 | return &split_tablet_ids_; |
7551 | 0 | } |
7552 | | |
7553 | | // optional fixed64 hide_hybrid_time = 16; |
7554 | 245k | inline bool SysTabletsEntryPB::has_hide_hybrid_time() const { |
7555 | 245k | return (_has_bits_[0] & 0x00000200u) != 0; |
7556 | 245k | } |
7557 | 21 | inline void SysTabletsEntryPB::set_has_hide_hybrid_time() { |
7558 | 21 | _has_bits_[0] |= 0x00000200u; |
7559 | 21 | } |
7560 | 0 | inline void SysTabletsEntryPB::clear_has_hide_hybrid_time() { |
7561 | 0 | _has_bits_[0] &= ~0x00000200u; |
7562 | 0 | } |
7563 | 0 | inline void SysTabletsEntryPB::clear_hide_hybrid_time() { |
7564 | 0 | hide_hybrid_time_ = GOOGLE_ULONGLONG(0); |
7565 | 0 | clear_has_hide_hybrid_time(); |
7566 | 0 | } |
7567 | 1.57M | inline ::google::protobuf::uint64 SysTabletsEntryPB::hide_hybrid_time() const { |
7568 | | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.hide_hybrid_time) |
7569 | 1.57M | return hide_hybrid_time_; |
7570 | 1.57M | } |
7571 | 12 | inline void SysTabletsEntryPB::set_hide_hybrid_time(::google::protobuf::uint64 value) { |
7572 | 12 | set_has_hide_hybrid_time(); |
7573 | 12 | hide_hybrid_time_ = value; |
7574 | | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.hide_hybrid_time) |
7575 | 12 | } |
7576 | | |
7577 | | // repeated bytes retained_by_snapshot_schedules = 17; |
7578 | 735k | inline int SysTabletsEntryPB::retained_by_snapshot_schedules_size() const { |
7579 | 735k | return retained_by_snapshot_schedules_.size(); |
7580 | 735k | } |
7581 | 0 | inline void SysTabletsEntryPB::clear_retained_by_snapshot_schedules() { |
7582 | 0 | retained_by_snapshot_schedules_.Clear(); |
7583 | 0 | } |
7584 | 24 | inline const ::std::string& SysTabletsEntryPB::retained_by_snapshot_schedules(int index) const { |
7585 | | // @@protoc_insertion_point(field_get:yb.master.SysTabletsEntryPB.retained_by_snapshot_schedules) |
7586 | 24 | return retained_by_snapshot_schedules_.Get(index); |
7587 | 24 | } |
7588 | 0 | inline ::std::string* SysTabletsEntryPB::mutable_retained_by_snapshot_schedules(int index) { |
7589 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysTabletsEntryPB.retained_by_snapshot_schedules) |
7590 | 0 | return retained_by_snapshot_schedules_.Mutable(index); |
7591 | 0 | } |
7592 | 0 | inline void SysTabletsEntryPB::set_retained_by_snapshot_schedules(int index, const ::std::string& value) { |
7593 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.retained_by_snapshot_schedules) |
7594 | 0 | retained_by_snapshot_schedules_.Mutable(index)->assign(value); |
7595 | 0 | } |
7596 | | #if LANG_CXX11 |
7597 | 0 | inline void SysTabletsEntryPB::set_retained_by_snapshot_schedules(int index, ::std::string&& value) { |
7598 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysTabletsEntryPB.retained_by_snapshot_schedules) |
7599 | 0 | retained_by_snapshot_schedules_.Mutable(index)->assign(std::move(value)); |
7600 | 0 | } |
7601 | | #endif |
7602 | 0 | inline void SysTabletsEntryPB::set_retained_by_snapshot_schedules(int index, const char* value) { |
7603 | 0 | GOOGLE_DCHECK(value != NULL); |
7604 | 0 | retained_by_snapshot_schedules_.Mutable(index)->assign(value); |
7605 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysTabletsEntryPB.retained_by_snapshot_schedules) |
7606 | 0 | } |
7607 | 0 | inline void SysTabletsEntryPB::set_retained_by_snapshot_schedules(int index, const void* value, size_t size) { |
7608 | 0 | retained_by_snapshot_schedules_.Mutable(index)->assign( |
7609 | 0 | reinterpret_cast<const char*>(value), size); |
7610 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysTabletsEntryPB.retained_by_snapshot_schedules) |
7611 | 0 | } |
7612 | 9 | inline ::std::string* SysTabletsEntryPB::add_retained_by_snapshot_schedules() { |
7613 | | // @@protoc_insertion_point(field_add_mutable:yb.master.SysTabletsEntryPB.retained_by_snapshot_schedules) |
7614 | 9 | return retained_by_snapshot_schedules_.Add(); |
7615 | 9 | } |
7616 | 0 | inline void SysTabletsEntryPB::add_retained_by_snapshot_schedules(const ::std::string& value) { |
7617 | 0 | retained_by_snapshot_schedules_.Add()->assign(value); |
7618 | 0 | // @@protoc_insertion_point(field_add:yb.master.SysTabletsEntryPB.retained_by_snapshot_schedules) |
7619 | 0 | } |
7620 | | #if LANG_CXX11 |
7621 | 0 | inline void SysTabletsEntryPB::add_retained_by_snapshot_schedules(::std::string&& value) { |
7622 | 0 | retained_by_snapshot_schedules_.Add(std::move(value)); |
7623 | 0 | // @@protoc_insertion_point(field_add:yb.master.SysTabletsEntryPB.retained_by_snapshot_schedules) |
7624 | 0 | } |
7625 | | #endif |
7626 | 0 | inline void SysTabletsEntryPB::add_retained_by_snapshot_schedules(const char* value) { |
7627 | 0 | GOOGLE_DCHECK(value != NULL); |
7628 | 0 | retained_by_snapshot_schedules_.Add()->assign(value); |
7629 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.SysTabletsEntryPB.retained_by_snapshot_schedules) |
7630 | 0 | } |
7631 | 0 | inline void SysTabletsEntryPB::add_retained_by_snapshot_schedules(const void* value, size_t size) { |
7632 | 0 | retained_by_snapshot_schedules_.Add()->assign(reinterpret_cast<const char*>(value), size); |
7633 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.SysTabletsEntryPB.retained_by_snapshot_schedules) |
7634 | 0 | } |
7635 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
7636 | 162 | SysTabletsEntryPB::retained_by_snapshot_schedules() const { |
7637 | | // @@protoc_insertion_point(field_list:yb.master.SysTabletsEntryPB.retained_by_snapshot_schedules) |
7638 | 162 | return retained_by_snapshot_schedules_; |
7639 | 162 | } |
7640 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
7641 | 12 | SysTabletsEntryPB::mutable_retained_by_snapshot_schedules() { |
7642 | | // @@protoc_insertion_point(field_mutable_list:yb.master.SysTabletsEntryPB.retained_by_snapshot_schedules) |
7643 | 12 | return &retained_by_snapshot_schedules_; |
7644 | 12 | } |
7645 | | |
7646 | | // ------------------------------------------------------------------- |
7647 | | |
7648 | | // SysNamespaceEntryPB |
7649 | | |
7650 | | // optional bytes name = 1; |
7651 | 37.3k | inline bool SysNamespaceEntryPB::has_name() const { |
7652 | 37.3k | return (_has_bits_[0] & 0x00000001u) != 0; |
7653 | 37.3k | } |
7654 | 22.1k | inline void SysNamespaceEntryPB::set_has_name() { |
7655 | 22.1k | _has_bits_[0] |= 0x00000001u; |
7656 | 22.1k | } |
7657 | 0 | inline void SysNamespaceEntryPB::clear_has_name() { |
7658 | 0 | _has_bits_[0] &= ~0x00000001u; |
7659 | 0 | } |
7660 | 0 | inline void SysNamespaceEntryPB::clear_name() { |
7661 | 0 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7662 | 0 | clear_has_name(); |
7663 | 0 | } |
7664 | 1.18M | inline const ::std::string& SysNamespaceEntryPB::name() const { |
7665 | | // @@protoc_insertion_point(field_get:yb.master.SysNamespaceEntryPB.name) |
7666 | 1.18M | return name_.GetNoArena(); |
7667 | 1.18M | } |
7668 | 9.14k | inline void SysNamespaceEntryPB::set_name(const ::std::string& value) { |
7669 | 9.14k | set_has_name(); |
7670 | 9.14k | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7671 | | // @@protoc_insertion_point(field_set:yb.master.SysNamespaceEntryPB.name) |
7672 | 9.14k | } |
7673 | | #if LANG_CXX11 |
7674 | 0 | inline void SysNamespaceEntryPB::set_name(::std::string&& value) { |
7675 | 0 | set_has_name(); |
7676 | 0 | name_.SetNoArena( |
7677 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7678 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysNamespaceEntryPB.name) |
7679 | 0 | } |
7680 | | #endif |
7681 | | inline void SysNamespaceEntryPB::set_name(const char* value) { |
7682 | | GOOGLE_DCHECK(value != NULL); |
7683 | | set_has_name(); |
7684 | | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7685 | | // @@protoc_insertion_point(field_set_char:yb.master.SysNamespaceEntryPB.name) |
7686 | | } |
7687 | 0 | inline void SysNamespaceEntryPB::set_name(const void* value, size_t size) { |
7688 | 0 | set_has_name(); |
7689 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7690 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7691 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysNamespaceEntryPB.name) |
7692 | 0 | } |
7693 | 6.57k | inline ::std::string* SysNamespaceEntryPB::mutable_name() { |
7694 | 6.57k | set_has_name(); |
7695 | | // @@protoc_insertion_point(field_mutable:yb.master.SysNamespaceEntryPB.name) |
7696 | 6.57k | return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7697 | 6.57k | } |
7698 | 0 | inline ::std::string* SysNamespaceEntryPB::release_name() { |
7699 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysNamespaceEntryPB.name) |
7700 | 0 | clear_has_name(); |
7701 | 0 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7702 | 0 | } |
7703 | 0 | inline void SysNamespaceEntryPB::set_allocated_name(::std::string* name) { |
7704 | 0 | if (name != NULL) { |
7705 | 0 | set_has_name(); |
7706 | 0 | } else { |
7707 | 0 | clear_has_name(); |
7708 | 0 | } |
7709 | 0 | name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); |
7710 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysNamespaceEntryPB.name) |
7711 | 0 | } |
7712 | | |
7713 | | // optional .yb.YQLDatabase database_type = 2 [default = YQL_DATABASE_CQL]; |
7714 | 19.3k | inline bool SysNamespaceEntryPB::has_database_type() const { |
7715 | 19.3k | return (_has_bits_[0] & 0x00000020u) != 0; |
7716 | 19.3k | } |
7717 | 15.7k | inline void SysNamespaceEntryPB::set_has_database_type() { |
7718 | 15.7k | _has_bits_[0] |= 0x00000020u; |
7719 | 15.7k | } |
7720 | 0 | inline void SysNamespaceEntryPB::clear_has_database_type() { |
7721 | 0 | _has_bits_[0] &= ~0x00000020u; |
7722 | 0 | } |
7723 | 0 | inline void SysNamespaceEntryPB::clear_database_type() { |
7724 | 0 | database_type_ = 2; |
7725 | 0 | clear_has_database_type(); |
7726 | 0 | } |
7727 | 340k | inline ::yb::YQLDatabase SysNamespaceEntryPB::database_type() const { |
7728 | | // @@protoc_insertion_point(field_get:yb.master.SysNamespaceEntryPB.database_type) |
7729 | 340k | return static_cast< ::yb::YQLDatabase >(database_type_); |
7730 | 340k | } |
7731 | 15.7k | inline void SysNamespaceEntryPB::set_database_type(::yb::YQLDatabase value) { |
7732 | 15.7k | assert(::yb::YQLDatabase_IsValid(value)); |
7733 | 0 | set_has_database_type(); |
7734 | 15.7k | database_type_ = value; |
7735 | | // @@protoc_insertion_point(field_set:yb.master.SysNamespaceEntryPB.database_type) |
7736 | 15.7k | } |
7737 | | |
7738 | | // optional uint32 next_pg_oid = 3; |
7739 | 12.9k | inline bool SysNamespaceEntryPB::has_next_pg_oid() const { |
7740 | 12.9k | return (_has_bits_[0] & 0x00000004u) != 0; |
7741 | 12.9k | } |
7742 | 4.95k | inline void SysNamespaceEntryPB::set_has_next_pg_oid() { |
7743 | 4.95k | _has_bits_[0] |= 0x00000004u; |
7744 | 4.95k | } |
7745 | 0 | inline void SysNamespaceEntryPB::clear_has_next_pg_oid() { |
7746 | 0 | _has_bits_[0] &= ~0x00000004u; |
7747 | 0 | } |
7748 | 0 | inline void SysNamespaceEntryPB::clear_next_pg_oid() { |
7749 | 0 | next_pg_oid_ = 0u; |
7750 | 0 | clear_has_next_pg_oid(); |
7751 | 0 | } |
7752 | 4.17k | inline ::google::protobuf::uint32 SysNamespaceEntryPB::next_pg_oid() const { |
7753 | | // @@protoc_insertion_point(field_get:yb.master.SysNamespaceEntryPB.next_pg_oid) |
7754 | 4.17k | return next_pg_oid_; |
7755 | 4.17k | } |
7756 | 1.06k | inline void SysNamespaceEntryPB::set_next_pg_oid(::google::protobuf::uint32 value) { |
7757 | 1.06k | set_has_next_pg_oid(); |
7758 | 1.06k | next_pg_oid_ = value; |
7759 | | // @@protoc_insertion_point(field_set:yb.master.SysNamespaceEntryPB.next_pg_oid) |
7760 | 1.06k | } |
7761 | | |
7762 | | // optional bool colocated = 4 [default = false]; |
7763 | 12.9k | inline bool SysNamespaceEntryPB::has_colocated() const { |
7764 | 12.9k | return (_has_bits_[0] & 0x00000008u) != 0; |
7765 | 12.9k | } |
7766 | 6.60k | inline void SysNamespaceEntryPB::set_has_colocated() { |
7767 | 6.60k | _has_bits_[0] |= 0x00000008u; |
7768 | 6.60k | } |
7769 | 0 | inline void SysNamespaceEntryPB::clear_has_colocated() { |
7770 | 0 | _has_bits_[0] &= ~0x00000008u; |
7771 | 0 | } |
7772 | 0 | inline void SysNamespaceEntryPB::clear_colocated() { |
7773 | 0 | colocated_ = false; |
7774 | 0 | clear_has_colocated(); |
7775 | 0 | } |
7776 | 24.1k | inline bool SysNamespaceEntryPB::colocated() const { |
7777 | | // @@protoc_insertion_point(field_get:yb.master.SysNamespaceEntryPB.colocated) |
7778 | 24.1k | return colocated_; |
7779 | 24.1k | } |
7780 | 2.64k | inline void SysNamespaceEntryPB::set_colocated(bool value) { |
7781 | 2.64k | set_has_colocated(); |
7782 | 2.64k | colocated_ = value; |
7783 | | // @@protoc_insertion_point(field_set:yb.master.SysNamespaceEntryPB.colocated) |
7784 | 2.64k | } |
7785 | | |
7786 | | // optional .yb.TransactionMetadataPB transaction = 6; |
7787 | 43.8k | inline bool SysNamespaceEntryPB::has_transaction() const { |
7788 | 43.8k | return (_has_bits_[0] & 0x00000002u) != 0; |
7789 | 43.8k | } |
7790 | 94 | inline void SysNamespaceEntryPB::set_has_transaction() { |
7791 | 94 | _has_bits_[0] |= 0x00000002u; |
7792 | 94 | } |
7793 | 88 | inline void SysNamespaceEntryPB::clear_has_transaction() { |
7794 | 88 | _has_bits_[0] &= ~0x00000002u; |
7795 | 88 | } |
7796 | 2 | inline const ::yb::TransactionMetadataPB& SysNamespaceEntryPB::transaction() const { |
7797 | 2 | const ::yb::TransactionMetadataPB* p = transaction_; |
7798 | | // @@protoc_insertion_point(field_get:yb.master.SysNamespaceEntryPB.transaction) |
7799 | 2 | return p != NULL ? *p : *reinterpret_cast<const ::yb::TransactionMetadataPB*>( |
7800 | 0 | &::yb::_TransactionMetadataPB_default_instance_); |
7801 | 2 | } |
7802 | 0 | inline ::yb::TransactionMetadataPB* SysNamespaceEntryPB::release_transaction() { |
7803 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysNamespaceEntryPB.transaction) |
7804 | 0 | clear_has_transaction(); |
7805 | 0 | ::yb::TransactionMetadataPB* temp = transaction_; |
7806 | 0 | transaction_ = NULL; |
7807 | 0 | return temp; |
7808 | 0 | } |
7809 | 94 | inline ::yb::TransactionMetadataPB* SysNamespaceEntryPB::mutable_transaction() { |
7810 | 94 | set_has_transaction(); |
7811 | 94 | if (transaction_ == NULL) { |
7812 | 94 | transaction_ = new ::yb::TransactionMetadataPB; |
7813 | 94 | } |
7814 | | // @@protoc_insertion_point(field_mutable:yb.master.SysNamespaceEntryPB.transaction) |
7815 | 94 | return transaction_; |
7816 | 94 | } |
7817 | 0 | inline void SysNamespaceEntryPB::set_allocated_transaction(::yb::TransactionMetadataPB* transaction) { |
7818 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7819 | 0 | if (message_arena == NULL) { |
7820 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(transaction_); |
7821 | 0 | } |
7822 | 0 | if (transaction) { |
7823 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7824 | 0 | if (message_arena != submessage_arena) { |
7825 | 0 | transaction = ::google::protobuf::internal::GetOwnedMessage( |
7826 | 0 | message_arena, transaction, submessage_arena); |
7827 | 0 | } |
7828 | 0 | set_has_transaction(); |
7829 | 0 | } else { |
7830 | 0 | clear_has_transaction(); |
7831 | 0 | } |
7832 | 0 | transaction_ = transaction; |
7833 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysNamespaceEntryPB.transaction) |
7834 | 0 | } |
7835 | | |
7836 | | // optional .yb.master.SysNamespaceEntryPB.State state = 5 [default = UNKNOWN]; |
7837 | 19.3k | inline bool SysNamespaceEntryPB::has_state() const { |
7838 | 19.3k | return (_has_bits_[0] & 0x00000010u) != 0; |
7839 | 19.3k | } |
7840 | 18.5k | inline void SysNamespaceEntryPB::set_has_state() { |
7841 | 18.5k | _has_bits_[0] |= 0x00000010u; |
7842 | 18.5k | } |
7843 | 0 | inline void SysNamespaceEntryPB::clear_has_state() { |
7844 | 0 | _has_bits_[0] &= ~0x00000010u; |
7845 | 0 | } |
7846 | 0 | inline void SysNamespaceEntryPB::clear_state() { |
7847 | 0 | state_ = 0; |
7848 | 0 | clear_has_state(); |
7849 | 0 | } |
7850 | 197k | inline ::yb::master::SysNamespaceEntryPB_State SysNamespaceEntryPB::state() const { |
7851 | | // @@protoc_insertion_point(field_get:yb.master.SysNamespaceEntryPB.state) |
7852 | 197k | return static_cast< ::yb::master::SysNamespaceEntryPB_State >(state_); |
7853 | 197k | } |
7854 | 18.5k | inline void SysNamespaceEntryPB::set_state(::yb::master::SysNamespaceEntryPB_State value) { |
7855 | 18.5k | assert(::yb::master::SysNamespaceEntryPB_State_IsValid(value)); |
7856 | 0 | set_has_state(); |
7857 | 18.5k | state_ = value; |
7858 | | // @@protoc_insertion_point(field_set:yb.master.SysNamespaceEntryPB.state) |
7859 | 18.5k | } |
7860 | | |
7861 | | // ------------------------------------------------------------------- |
7862 | | |
7863 | | // SysUDTypeEntryPB |
7864 | | |
7865 | | // optional string namespace_id = 1; |
7866 | 141 | inline bool SysUDTypeEntryPB::has_namespace_id() const { |
7867 | 141 | return (_has_bits_[0] & 0x00000001u) != 0; |
7868 | 141 | } |
7869 | 49 | inline void SysUDTypeEntryPB::set_has_namespace_id() { |
7870 | 49 | _has_bits_[0] |= 0x00000001u; |
7871 | 49 | } |
7872 | 0 | inline void SysUDTypeEntryPB::clear_has_namespace_id() { |
7873 | 0 | _has_bits_[0] &= ~0x00000001u; |
7874 | 0 | } |
7875 | 0 | inline void SysUDTypeEntryPB::clear_namespace_id() { |
7876 | 0 | namespace_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7877 | 0 | clear_has_namespace_id(); |
7878 | 0 | } |
7879 | 466 | inline const ::std::string& SysUDTypeEntryPB::namespace_id() const { |
7880 | | // @@protoc_insertion_point(field_get:yb.master.SysUDTypeEntryPB.namespace_id) |
7881 | 466 | return namespace_id_.GetNoArena(); |
7882 | 466 | } |
7883 | 46 | inline void SysUDTypeEntryPB::set_namespace_id(const ::std::string& value) { |
7884 | 46 | set_has_namespace_id(); |
7885 | 46 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7886 | | // @@protoc_insertion_point(field_set:yb.master.SysUDTypeEntryPB.namespace_id) |
7887 | 46 | } |
7888 | | #if LANG_CXX11 |
7889 | 0 | inline void SysUDTypeEntryPB::set_namespace_id(::std::string&& value) { |
7890 | 0 | set_has_namespace_id(); |
7891 | 0 | namespace_id_.SetNoArena( |
7892 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7893 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysUDTypeEntryPB.namespace_id) |
7894 | 0 | } |
7895 | | #endif |
7896 | | inline void SysUDTypeEntryPB::set_namespace_id(const char* value) { |
7897 | | GOOGLE_DCHECK(value != NULL); |
7898 | | set_has_namespace_id(); |
7899 | | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7900 | | // @@protoc_insertion_point(field_set_char:yb.master.SysUDTypeEntryPB.namespace_id) |
7901 | | } |
7902 | 0 | inline void SysUDTypeEntryPB::set_namespace_id(const char* value, size_t size) { |
7903 | 0 | set_has_namespace_id(); |
7904 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7905 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7906 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysUDTypeEntryPB.namespace_id) |
7907 | 0 | } |
7908 | 1 | inline ::std::string* SysUDTypeEntryPB::mutable_namespace_id() { |
7909 | 1 | set_has_namespace_id(); |
7910 | | // @@protoc_insertion_point(field_mutable:yb.master.SysUDTypeEntryPB.namespace_id) |
7911 | 1 | return namespace_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7912 | 1 | } |
7913 | 0 | inline ::std::string* SysUDTypeEntryPB::release_namespace_id() { |
7914 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysUDTypeEntryPB.namespace_id) |
7915 | 0 | clear_has_namespace_id(); |
7916 | 0 | return namespace_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7917 | 0 | } |
7918 | 0 | inline void SysUDTypeEntryPB::set_allocated_namespace_id(::std::string* namespace_id) { |
7919 | 0 | if (namespace_id != NULL) { |
7920 | 0 | set_has_namespace_id(); |
7921 | 0 | } else { |
7922 | 0 | clear_has_namespace_id(); |
7923 | 0 | } |
7924 | 0 | namespace_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_id); |
7925 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysUDTypeEntryPB.namespace_id) |
7926 | 0 | } |
7927 | | |
7928 | | // optional string name = 2; |
7929 | 141 | inline bool SysUDTypeEntryPB::has_name() const { |
7930 | 141 | return (_has_bits_[0] & 0x00000002u) != 0; |
7931 | 141 | } |
7932 | 49 | inline void SysUDTypeEntryPB::set_has_name() { |
7933 | 49 | _has_bits_[0] |= 0x00000002u; |
7934 | 49 | } |
7935 | 0 | inline void SysUDTypeEntryPB::clear_has_name() { |
7936 | 0 | _has_bits_[0] &= ~0x00000002u; |
7937 | 0 | } |
7938 | 0 | inline void SysUDTypeEntryPB::clear_name() { |
7939 | 0 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7940 | 0 | clear_has_name(); |
7941 | 0 | } |
7942 | 663 | inline const ::std::string& SysUDTypeEntryPB::name() const { |
7943 | | // @@protoc_insertion_point(field_get:yb.master.SysUDTypeEntryPB.name) |
7944 | 663 | return name_.GetNoArena(); |
7945 | 663 | } |
7946 | 46 | inline void SysUDTypeEntryPB::set_name(const ::std::string& value) { |
7947 | 46 | set_has_name(); |
7948 | 46 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7949 | | // @@protoc_insertion_point(field_set:yb.master.SysUDTypeEntryPB.name) |
7950 | 46 | } |
7951 | | #if LANG_CXX11 |
7952 | 0 | inline void SysUDTypeEntryPB::set_name(::std::string&& value) { |
7953 | 0 | set_has_name(); |
7954 | 0 | name_.SetNoArena( |
7955 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7956 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysUDTypeEntryPB.name) |
7957 | 0 | } |
7958 | | #endif |
7959 | | inline void SysUDTypeEntryPB::set_name(const char* value) { |
7960 | | GOOGLE_DCHECK(value != NULL); |
7961 | | set_has_name(); |
7962 | | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7963 | | // @@protoc_insertion_point(field_set_char:yb.master.SysUDTypeEntryPB.name) |
7964 | | } |
7965 | 0 | inline void SysUDTypeEntryPB::set_name(const char* value, size_t size) { |
7966 | 0 | set_has_name(); |
7967 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7968 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7969 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysUDTypeEntryPB.name) |
7970 | 0 | } |
7971 | 1 | inline ::std::string* SysUDTypeEntryPB::mutable_name() { |
7972 | 1 | set_has_name(); |
7973 | | // @@protoc_insertion_point(field_mutable:yb.master.SysUDTypeEntryPB.name) |
7974 | 1 | return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7975 | 1 | } |
7976 | 0 | inline ::std::string* SysUDTypeEntryPB::release_name() { |
7977 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysUDTypeEntryPB.name) |
7978 | 0 | clear_has_name(); |
7979 | 0 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7980 | 0 | } |
7981 | 0 | inline void SysUDTypeEntryPB::set_allocated_name(::std::string* name) { |
7982 | 0 | if (name != NULL) { |
7983 | 0 | set_has_name(); |
7984 | 0 | } else { |
7985 | 0 | clear_has_name(); |
7986 | 0 | } |
7987 | 0 | name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); |
7988 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysUDTypeEntryPB.name) |
7989 | 0 | } |
7990 | | |
7991 | | // repeated string field_names = 3; |
7992 | 984 | inline int SysUDTypeEntryPB::field_names_size() const { |
7993 | 984 | return field_names_.size(); |
7994 | 984 | } |
7995 | 0 | inline void SysUDTypeEntryPB::clear_field_names() { |
7996 | 0 | field_names_.Clear(); |
7997 | 0 | } |
7998 | 923 | inline const ::std::string& SysUDTypeEntryPB::field_names(int index) const { |
7999 | | // @@protoc_insertion_point(field_get:yb.master.SysUDTypeEntryPB.field_names) |
8000 | 923 | return field_names_.Get(index); |
8001 | 923 | } |
8002 | 0 | inline ::std::string* SysUDTypeEntryPB::mutable_field_names(int index) { |
8003 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysUDTypeEntryPB.field_names) |
8004 | 0 | return field_names_.Mutable(index); |
8005 | 0 | } |
8006 | 0 | inline void SysUDTypeEntryPB::set_field_names(int index, const ::std::string& value) { |
8007 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysUDTypeEntryPB.field_names) |
8008 | 0 | field_names_.Mutable(index)->assign(value); |
8009 | 0 | } |
8010 | | #if LANG_CXX11 |
8011 | 0 | inline void SysUDTypeEntryPB::set_field_names(int index, ::std::string&& value) { |
8012 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysUDTypeEntryPB.field_names) |
8013 | 0 | field_names_.Mutable(index)->assign(std::move(value)); |
8014 | 0 | } |
8015 | | #endif |
8016 | 0 | inline void SysUDTypeEntryPB::set_field_names(int index, const char* value) { |
8017 | 0 | GOOGLE_DCHECK(value != NULL); |
8018 | 0 | field_names_.Mutable(index)->assign(value); |
8019 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysUDTypeEntryPB.field_names) |
8020 | 0 | } |
8021 | 0 | inline void SysUDTypeEntryPB::set_field_names(int index, const char* value, size_t size) { |
8022 | 0 | field_names_.Mutable(index)->assign( |
8023 | 0 | reinterpret_cast<const char*>(value), size); |
8024 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysUDTypeEntryPB.field_names) |
8025 | 0 | } |
8026 | 0 | inline ::std::string* SysUDTypeEntryPB::add_field_names() { |
8027 | 0 | // @@protoc_insertion_point(field_add_mutable:yb.master.SysUDTypeEntryPB.field_names) |
8028 | 0 | return field_names_.Add(); |
8029 | 0 | } |
8030 | 88 | inline void SysUDTypeEntryPB::add_field_names(const ::std::string& value) { |
8031 | 88 | field_names_.Add()->assign(value); |
8032 | | // @@protoc_insertion_point(field_add:yb.master.SysUDTypeEntryPB.field_names) |
8033 | 88 | } |
8034 | | #if LANG_CXX11 |
8035 | 0 | inline void SysUDTypeEntryPB::add_field_names(::std::string&& value) { |
8036 | 0 | field_names_.Add(std::move(value)); |
8037 | 0 | // @@protoc_insertion_point(field_add:yb.master.SysUDTypeEntryPB.field_names) |
8038 | 0 | } |
8039 | | #endif |
8040 | 0 | inline void SysUDTypeEntryPB::add_field_names(const char* value) { |
8041 | 0 | GOOGLE_DCHECK(value != NULL); |
8042 | 0 | field_names_.Add()->assign(value); |
8043 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.SysUDTypeEntryPB.field_names) |
8044 | 0 | } |
8045 | 0 | inline void SysUDTypeEntryPB::add_field_names(const char* value, size_t size) { |
8046 | 0 | field_names_.Add()->assign(reinterpret_cast<const char*>(value), size); |
8047 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.SysUDTypeEntryPB.field_names) |
8048 | 0 | } |
8049 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
8050 | 0 | SysUDTypeEntryPB::field_names() const { |
8051 | 0 | // @@protoc_insertion_point(field_list:yb.master.SysUDTypeEntryPB.field_names) |
8052 | 0 | return field_names_; |
8053 | 0 | } |
8054 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
8055 | 0 | SysUDTypeEntryPB::mutable_field_names() { |
8056 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.SysUDTypeEntryPB.field_names) |
8057 | 0 | return &field_names_; |
8058 | 0 | } |
8059 | | |
8060 | | // repeated .yb.QLTypePB field_types = 4; |
8061 | 1.14k | inline int SysUDTypeEntryPB::field_types_size() const { |
8062 | 1.14k | return field_types_.size(); |
8063 | 1.14k | } |
8064 | 877 | inline const ::yb::QLTypePB& SysUDTypeEntryPB::field_types(int index) const { |
8065 | | // @@protoc_insertion_point(field_get:yb.master.SysUDTypeEntryPB.field_types) |
8066 | 877 | return field_types_.Get(index); |
8067 | 877 | } |
8068 | 0 | inline ::yb::QLTypePB* SysUDTypeEntryPB::mutable_field_types(int index) { |
8069 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysUDTypeEntryPB.field_types) |
8070 | 0 | return field_types_.Mutable(index); |
8071 | 0 | } |
8072 | 88 | inline ::yb::QLTypePB* SysUDTypeEntryPB::add_field_types() { |
8073 | | // @@protoc_insertion_point(field_add:yb.master.SysUDTypeEntryPB.field_types) |
8074 | 88 | return field_types_.Add(); |
8075 | 88 | } |
8076 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLTypePB >* |
8077 | 0 | SysUDTypeEntryPB::mutable_field_types() { |
8078 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.SysUDTypeEntryPB.field_types) |
8079 | 0 | return &field_types_; |
8080 | 0 | } |
8081 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLTypePB >& |
8082 | 0 | SysUDTypeEntryPB::field_types() const { |
8083 | 0 | // @@protoc_insertion_point(field_list:yb.master.SysUDTypeEntryPB.field_types) |
8084 | 0 | return field_types_; |
8085 | 0 | } |
8086 | | |
8087 | | // ------------------------------------------------------------------- |
8088 | | |
8089 | | // BlacklistPB |
8090 | | |
8091 | | // repeated .yb.HostPortPB hosts = 1; |
8092 | 625k | inline int BlacklistPB::hosts_size() const { |
8093 | 625k | return hosts_.size(); |
8094 | 625k | } |
8095 | 296k | inline const ::yb::HostPortPB& BlacklistPB::hosts(int index) const { |
8096 | | // @@protoc_insertion_point(field_get:yb.master.BlacklistPB.hosts) |
8097 | 296k | return hosts_.Get(index); |
8098 | 296k | } |
8099 | 0 | inline ::yb::HostPortPB* BlacklistPB::mutable_hosts(int index) { |
8100 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.BlacklistPB.hosts) |
8101 | 0 | return hosts_.Mutable(index); |
8102 | 0 | } |
8103 | 104 | inline ::yb::HostPortPB* BlacklistPB::add_hosts() { |
8104 | | // @@protoc_insertion_point(field_add:yb.master.BlacklistPB.hosts) |
8105 | 104 | return hosts_.Add(); |
8106 | 104 | } |
8107 | | inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
8108 | 14 | BlacklistPB::mutable_hosts() { |
8109 | | // @@protoc_insertion_point(field_mutable_list:yb.master.BlacklistPB.hosts) |
8110 | 14 | return &hosts_; |
8111 | 14 | } |
8112 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
8113 | 5.72M | BlacklistPB::hosts() const { |
8114 | | // @@protoc_insertion_point(field_list:yb.master.BlacklistPB.hosts) |
8115 | 5.72M | return hosts_; |
8116 | 5.72M | } |
8117 | | |
8118 | | // optional int32 initial_replica_load = 2; |
8119 | 197 | inline bool BlacklistPB::has_initial_replica_load() const { |
8120 | 197 | return (_has_bits_[0] & 0x00000001u) != 0; |
8121 | 197 | } |
8122 | 43 | inline void BlacklistPB::set_has_initial_replica_load() { |
8123 | 43 | _has_bits_[0] |= 0x00000001u; |
8124 | 43 | } |
8125 | 0 | inline void BlacklistPB::clear_has_initial_replica_load() { |
8126 | 0 | _has_bits_[0] &= ~0x00000001u; |
8127 | 0 | } |
8128 | 0 | inline void BlacklistPB::clear_initial_replica_load() { |
8129 | 0 | initial_replica_load_ = 0; |
8130 | 0 | clear_has_initial_replica_load(); |
8131 | 0 | } |
8132 | 2.25k | inline ::google::protobuf::int32 BlacklistPB::initial_replica_load() const { |
8133 | | // @@protoc_insertion_point(field_get:yb.master.BlacklistPB.initial_replica_load) |
8134 | 2.25k | return initial_replica_load_; |
8135 | 2.25k | } |
8136 | 27 | inline void BlacklistPB::set_initial_replica_load(::google::protobuf::int32 value) { |
8137 | 27 | set_has_initial_replica_load(); |
8138 | 27 | initial_replica_load_ = value; |
8139 | | // @@protoc_insertion_point(field_set:yb.master.BlacklistPB.initial_replica_load) |
8140 | 27 | } |
8141 | | |
8142 | | // optional int32 initial_leader_load = 3; |
8143 | 197 | inline bool BlacklistPB::has_initial_leader_load() const { |
8144 | 197 | return (_has_bits_[0] & 0x00000002u) != 0; |
8145 | 197 | } |
8146 | 30 | inline void BlacklistPB::set_has_initial_leader_load() { |
8147 | 30 | _has_bits_[0] |= 0x00000002u; |
8148 | 30 | } |
8149 | 0 | inline void BlacklistPB::clear_has_initial_leader_load() { |
8150 | 0 | _has_bits_[0] &= ~0x00000002u; |
8151 | 0 | } |
8152 | 0 | inline void BlacklistPB::clear_initial_leader_load() { |
8153 | 0 | initial_leader_load_ = 0; |
8154 | 0 | clear_has_initial_leader_load(); |
8155 | 0 | } |
8156 | 568 | inline ::google::protobuf::int32 BlacklistPB::initial_leader_load() const { |
8157 | | // @@protoc_insertion_point(field_get:yb.master.BlacklistPB.initial_leader_load) |
8158 | 568 | return initial_leader_load_; |
8159 | 568 | } |
8160 | 22 | inline void BlacklistPB::set_initial_leader_load(::google::protobuf::int32 value) { |
8161 | 22 | set_has_initial_leader_load(); |
8162 | 22 | initial_leader_load_ = value; |
8163 | | // @@protoc_insertion_point(field_set:yb.master.BlacklistPB.initial_leader_load) |
8164 | 22 | } |
8165 | | |
8166 | | // ------------------------------------------------------------------- |
8167 | | |
8168 | | // EncryptionInfoPB |
8169 | | |
8170 | | // optional bool encryption_enabled = 1; |
8171 | 17 | inline bool EncryptionInfoPB::has_encryption_enabled() const { |
8172 | 17 | return (_has_bits_[0] & 0x00000008u) != 0; |
8173 | 17 | } |
8174 | 32 | inline void EncryptionInfoPB::set_has_encryption_enabled() { |
8175 | 32 | _has_bits_[0] |= 0x00000008u; |
8176 | 32 | } |
8177 | 0 | inline void EncryptionInfoPB::clear_has_encryption_enabled() { |
8178 | 0 | _has_bits_[0] &= ~0x00000008u; |
8179 | 0 | } |
8180 | 0 | inline void EncryptionInfoPB::clear_encryption_enabled() { |
8181 | 0 | encryption_enabled_ = false; |
8182 | 0 | clear_has_encryption_enabled(); |
8183 | 0 | } |
8184 | 131 | inline bool EncryptionInfoPB::encryption_enabled() const { |
8185 | | // @@protoc_insertion_point(field_get:yb.master.EncryptionInfoPB.encryption_enabled) |
8186 | 131 | return encryption_enabled_; |
8187 | 131 | } |
8188 | 17 | inline void EncryptionInfoPB::set_encryption_enabled(bool value) { |
8189 | 17 | set_has_encryption_enabled(); |
8190 | 17 | encryption_enabled_ = value; |
8191 | | // @@protoc_insertion_point(field_set:yb.master.EncryptionInfoPB.encryption_enabled) |
8192 | 17 | } |
8193 | | |
8194 | | // optional bytes universe_key_registry_encoded = 2; |
8195 | 20 | inline bool EncryptionInfoPB::has_universe_key_registry_encoded() const { |
8196 | 20 | return (_has_bits_[0] & 0x00000001u) != 0; |
8197 | 20 | } |
8198 | 193k | inline void EncryptionInfoPB::set_has_universe_key_registry_encoded() { |
8199 | 193k | _has_bits_[0] |= 0x00000001u; |
8200 | 193k | } |
8201 | 0 | inline void EncryptionInfoPB::clear_has_universe_key_registry_encoded() { |
8202 | 0 | _has_bits_[0] &= ~0x00000001u; |
8203 | 0 | } |
8204 | 0 | inline void EncryptionInfoPB::clear_universe_key_registry_encoded() { |
8205 | 0 | universe_key_registry_encoded_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8206 | 0 | clear_has_universe_key_registry_encoded(); |
8207 | 0 | } |
8208 | 114 | inline const ::std::string& EncryptionInfoPB::universe_key_registry_encoded() const { |
8209 | | // @@protoc_insertion_point(field_get:yb.master.EncryptionInfoPB.universe_key_registry_encoded) |
8210 | 114 | return universe_key_registry_encoded_.GetNoArena(); |
8211 | 114 | } |
8212 | 0 | inline void EncryptionInfoPB::set_universe_key_registry_encoded(const ::std::string& value) { |
8213 | 0 | set_has_universe_key_registry_encoded(); |
8214 | 0 | universe_key_registry_encoded_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8215 | 0 | // @@protoc_insertion_point(field_set:yb.master.EncryptionInfoPB.universe_key_registry_encoded) |
8216 | 0 | } |
8217 | | #if LANG_CXX11 |
8218 | 0 | inline void EncryptionInfoPB::set_universe_key_registry_encoded(::std::string&& value) { |
8219 | 0 | set_has_universe_key_registry_encoded(); |
8220 | 0 | universe_key_registry_encoded_.SetNoArena( |
8221 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8222 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.EncryptionInfoPB.universe_key_registry_encoded) |
8223 | 0 | } |
8224 | | #endif |
8225 | 0 | inline void EncryptionInfoPB::set_universe_key_registry_encoded(const char* value) { |
8226 | 0 | GOOGLE_DCHECK(value != NULL); |
8227 | 0 | set_has_universe_key_registry_encoded(); |
8228 | 0 | universe_key_registry_encoded_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8229 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.EncryptionInfoPB.universe_key_registry_encoded) |
8230 | 0 | } |
8231 | 17 | inline void EncryptionInfoPB::set_universe_key_registry_encoded(const void* value, size_t size) { |
8232 | 17 | set_has_universe_key_registry_encoded(); |
8233 | 17 | universe_key_registry_encoded_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8234 | 17 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8235 | | // @@protoc_insertion_point(field_set_pointer:yb.master.EncryptionInfoPB.universe_key_registry_encoded) |
8236 | 17 | } |
8237 | 15 | inline ::std::string* EncryptionInfoPB::mutable_universe_key_registry_encoded() { |
8238 | 15 | set_has_universe_key_registry_encoded(); |
8239 | | // @@protoc_insertion_point(field_mutable:yb.master.EncryptionInfoPB.universe_key_registry_encoded) |
8240 | 15 | return universe_key_registry_encoded_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8241 | 15 | } |
8242 | 0 | inline ::std::string* EncryptionInfoPB::release_universe_key_registry_encoded() { |
8243 | 0 | // @@protoc_insertion_point(field_release:yb.master.EncryptionInfoPB.universe_key_registry_encoded) |
8244 | 0 | clear_has_universe_key_registry_encoded(); |
8245 | 0 | return universe_key_registry_encoded_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8246 | 0 | } |
8247 | 0 | inline void EncryptionInfoPB::set_allocated_universe_key_registry_encoded(::std::string* universe_key_registry_encoded) { |
8248 | 0 | if (universe_key_registry_encoded != NULL) { |
8249 | 0 | set_has_universe_key_registry_encoded(); |
8250 | 0 | } else { |
8251 | 0 | clear_has_universe_key_registry_encoded(); |
8252 | 0 | } |
8253 | 0 | universe_key_registry_encoded_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), universe_key_registry_encoded); |
8254 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.EncryptionInfoPB.universe_key_registry_encoded) |
8255 | 0 | } |
8256 | | |
8257 | | // optional string key_path = 3; |
8258 | 20 | inline bool EncryptionInfoPB::has_key_path() const { |
8259 | 20 | return (_has_bits_[0] & 0x00000002u) != 0; |
8260 | 20 | } |
8261 | 0 | inline void EncryptionInfoPB::set_has_key_path() { |
8262 | 0 | _has_bits_[0] |= 0x00000002u; |
8263 | 0 | } |
8264 | 0 | inline void EncryptionInfoPB::clear_has_key_path() { |
8265 | 0 | _has_bits_[0] &= ~0x00000002u; |
8266 | 0 | } |
8267 | 0 | inline void EncryptionInfoPB::clear_key_path() { |
8268 | 0 | key_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8269 | 0 | clear_has_key_path(); |
8270 | 0 | } |
8271 | 66 | inline const ::std::string& EncryptionInfoPB::key_path() const { |
8272 | | // @@protoc_insertion_point(field_get:yb.master.EncryptionInfoPB.key_path) |
8273 | 66 | return key_path_.GetNoArena(); |
8274 | 66 | } |
8275 | 0 | inline void EncryptionInfoPB::set_key_path(const ::std::string& value) { |
8276 | 0 | set_has_key_path(); |
8277 | 0 | key_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8278 | 0 | // @@protoc_insertion_point(field_set:yb.master.EncryptionInfoPB.key_path) |
8279 | 0 | } |
8280 | | #if LANG_CXX11 |
8281 | 0 | inline void EncryptionInfoPB::set_key_path(::std::string&& value) { |
8282 | 0 | set_has_key_path(); |
8283 | 0 | key_path_.SetNoArena( |
8284 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8285 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.EncryptionInfoPB.key_path) |
8286 | 0 | } |
8287 | | #endif |
8288 | 0 | inline void EncryptionInfoPB::set_key_path(const char* value) { |
8289 | 0 | GOOGLE_DCHECK(value != NULL); |
8290 | 0 | set_has_key_path(); |
8291 | 0 | key_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8292 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.EncryptionInfoPB.key_path) |
8293 | 0 | } |
8294 | 0 | inline void EncryptionInfoPB::set_key_path(const char* value, size_t size) { |
8295 | 0 | set_has_key_path(); |
8296 | 0 | key_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8297 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8298 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.EncryptionInfoPB.key_path) |
8299 | 0 | } |
8300 | 0 | inline ::std::string* EncryptionInfoPB::mutable_key_path() { |
8301 | 0 | set_has_key_path(); |
8302 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.EncryptionInfoPB.key_path) |
8303 | 0 | return key_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8304 | 0 | } |
8305 | 0 | inline ::std::string* EncryptionInfoPB::release_key_path() { |
8306 | 0 | // @@protoc_insertion_point(field_release:yb.master.EncryptionInfoPB.key_path) |
8307 | 0 | clear_has_key_path(); |
8308 | 0 | return key_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8309 | 0 | } |
8310 | 0 | inline void EncryptionInfoPB::set_allocated_key_path(::std::string* key_path) { |
8311 | 0 | if (key_path != NULL) { |
8312 | 0 | set_has_key_path(); |
8313 | 0 | } else { |
8314 | 0 | clear_has_key_path(); |
8315 | 0 | } |
8316 | 0 | key_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key_path); |
8317 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.EncryptionInfoPB.key_path) |
8318 | 0 | } |
8319 | | |
8320 | | // optional string latest_version_id = 4; |
8321 | 20 | inline bool EncryptionInfoPB::has_latest_version_id() const { |
8322 | 20 | return (_has_bits_[0] & 0x00000004u) != 0; |
8323 | 20 | } |
8324 | 193k | inline void EncryptionInfoPB::set_has_latest_version_id() { |
8325 | 193k | _has_bits_[0] |= 0x00000004u; |
8326 | 193k | } |
8327 | 0 | inline void EncryptionInfoPB::clear_has_latest_version_id() { |
8328 | 0 | _has_bits_[0] &= ~0x00000004u; |
8329 | 0 | } |
8330 | 0 | inline void EncryptionInfoPB::clear_latest_version_id() { |
8331 | 0 | latest_version_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8332 | 0 | clear_has_latest_version_id(); |
8333 | 0 | } |
8334 | 164 | inline const ::std::string& EncryptionInfoPB::latest_version_id() const { |
8335 | | // @@protoc_insertion_point(field_get:yb.master.EncryptionInfoPB.latest_version_id) |
8336 | 164 | return latest_version_id_.GetNoArena(); |
8337 | 164 | } |
8338 | 17 | inline void EncryptionInfoPB::set_latest_version_id(const ::std::string& value) { |
8339 | 17 | set_has_latest_version_id(); |
8340 | 17 | latest_version_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8341 | | // @@protoc_insertion_point(field_set:yb.master.EncryptionInfoPB.latest_version_id) |
8342 | 17 | } |
8343 | | #if LANG_CXX11 |
8344 | 0 | inline void EncryptionInfoPB::set_latest_version_id(::std::string&& value) { |
8345 | 0 | set_has_latest_version_id(); |
8346 | 0 | latest_version_id_.SetNoArena( |
8347 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8348 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.EncryptionInfoPB.latest_version_id) |
8349 | 0 | } |
8350 | | #endif |
8351 | 0 | inline void EncryptionInfoPB::set_latest_version_id(const char* value) { |
8352 | 0 | GOOGLE_DCHECK(value != NULL); |
8353 | 0 | set_has_latest_version_id(); |
8354 | 0 | latest_version_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8355 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.EncryptionInfoPB.latest_version_id) |
8356 | 0 | } |
8357 | 0 | inline void EncryptionInfoPB::set_latest_version_id(const char* value, size_t size) { |
8358 | 0 | set_has_latest_version_id(); |
8359 | 0 | latest_version_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8360 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8361 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.EncryptionInfoPB.latest_version_id) |
8362 | 0 | } |
8363 | 15 | inline ::std::string* EncryptionInfoPB::mutable_latest_version_id() { |
8364 | 15 | set_has_latest_version_id(); |
8365 | | // @@protoc_insertion_point(field_mutable:yb.master.EncryptionInfoPB.latest_version_id) |
8366 | 15 | return latest_version_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8367 | 15 | } |
8368 | 0 | inline ::std::string* EncryptionInfoPB::release_latest_version_id() { |
8369 | 0 | // @@protoc_insertion_point(field_release:yb.master.EncryptionInfoPB.latest_version_id) |
8370 | 0 | clear_has_latest_version_id(); |
8371 | 0 | return latest_version_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8372 | 0 | } |
8373 | 0 | inline void EncryptionInfoPB::set_allocated_latest_version_id(::std::string* latest_version_id) { |
8374 | 0 | if (latest_version_id != NULL) { |
8375 | 0 | set_has_latest_version_id(); |
8376 | 0 | } else { |
8377 | 0 | clear_has_latest_version_id(); |
8378 | 0 | } |
8379 | 0 | latest_version_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), latest_version_id); |
8380 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.EncryptionInfoPB.latest_version_id) |
8381 | 0 | } |
8382 | | |
8383 | | // optional bool key_in_memory = 5; |
8384 | 17 | inline bool EncryptionInfoPB::has_key_in_memory() const { |
8385 | 17 | return (_has_bits_[0] & 0x00000010u) != 0; |
8386 | 17 | } |
8387 | 32 | inline void EncryptionInfoPB::set_has_key_in_memory() { |
8388 | 32 | _has_bits_[0] |= 0x00000010u; |
8389 | 32 | } |
8390 | 0 | inline void EncryptionInfoPB::clear_has_key_in_memory() { |
8391 | 0 | _has_bits_[0] &= ~0x00000010u; |
8392 | 0 | } |
8393 | 0 | inline void EncryptionInfoPB::clear_key_in_memory() { |
8394 | 0 | key_in_memory_ = false; |
8395 | 0 | clear_has_key_in_memory(); |
8396 | 0 | } |
8397 | 83 | inline bool EncryptionInfoPB::key_in_memory() const { |
8398 | | // @@protoc_insertion_point(field_get:yb.master.EncryptionInfoPB.key_in_memory) |
8399 | 83 | return key_in_memory_; |
8400 | 83 | } |
8401 | 17 | inline void EncryptionInfoPB::set_key_in_memory(bool value) { |
8402 | 17 | set_has_key_in_memory(); |
8403 | 17 | key_in_memory_ = value; |
8404 | | // @@protoc_insertion_point(field_set:yb.master.EncryptionInfoPB.key_in_memory) |
8405 | 17 | } |
8406 | | |
8407 | | // ------------------------------------------------------------------- |
8408 | | |
8409 | | // SysClusterConfigEntryPB |
8410 | | |
8411 | | // optional int32 version = 1; |
8412 | 3.84k | inline bool SysClusterConfigEntryPB::has_version() const { |
8413 | 3.84k | return (_has_bits_[0] & 0x00000040u) != 0; |
8414 | 3.84k | } |
8415 | 4.16k | inline void SysClusterConfigEntryPB::set_has_version() { |
8416 | 4.16k | _has_bits_[0] |= 0x00000040u; |
8417 | 4.16k | } |
8418 | 0 | inline void SysClusterConfigEntryPB::clear_has_version() { |
8419 | 0 | _has_bits_[0] &= ~0x00000040u; |
8420 | 0 | } |
8421 | 0 | inline void SysClusterConfigEntryPB::clear_version() { |
8422 | 0 | version_ = 0; |
8423 | 0 | clear_has_version(); |
8424 | 0 | } |
8425 | 4.81M | inline ::google::protobuf::int32 SysClusterConfigEntryPB::version() const { |
8426 | | // @@protoc_insertion_point(field_get:yb.master.SysClusterConfigEntryPB.version) |
8427 | 4.81M | return version_; |
8428 | 4.81M | } |
8429 | 3.09k | inline void SysClusterConfigEntryPB::set_version(::google::protobuf::int32 value) { |
8430 | 3.09k | set_has_version(); |
8431 | 3.09k | version_ = value; |
8432 | | // @@protoc_insertion_point(field_set:yb.master.SysClusterConfigEntryPB.version) |
8433 | 3.09k | } |
8434 | | |
8435 | | // optional string cluster_uuid = 4; |
8436 | 7.97k | inline bool SysClusterConfigEntryPB::has_cluster_uuid() const { |
8437 | 7.97k | return (_has_bits_[0] & 0x00000001u) != 0; |
8438 | 7.97k | } |
8439 | 7.14M | inline void SysClusterConfigEntryPB::set_has_cluster_uuid() { |
8440 | 7.14M | _has_bits_[0] |= 0x00000001u; |
8441 | 7.14M | } |
8442 | 0 | inline void SysClusterConfigEntryPB::clear_has_cluster_uuid() { |
8443 | 0 | _has_bits_[0] &= ~0x00000001u; |
8444 | 0 | } |
8445 | 0 | inline void SysClusterConfigEntryPB::clear_cluster_uuid() { |
8446 | 0 | cluster_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8447 | 0 | clear_has_cluster_uuid(); |
8448 | 0 | } |
8449 | 27.8k | inline const ::std::string& SysClusterConfigEntryPB::cluster_uuid() const { |
8450 | | // @@protoc_insertion_point(field_get:yb.master.SysClusterConfigEntryPB.cluster_uuid) |
8451 | 27.8k | return cluster_uuid_.GetNoArena(); |
8452 | 27.8k | } |
8453 | 1 | inline void SysClusterConfigEntryPB::set_cluster_uuid(const ::std::string& value) { |
8454 | 1 | set_has_cluster_uuid(); |
8455 | 1 | cluster_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8456 | | // @@protoc_insertion_point(field_set:yb.master.SysClusterConfigEntryPB.cluster_uuid) |
8457 | 1 | } |
8458 | | #if LANG_CXX11 |
8459 | 2.90k | inline void SysClusterConfigEntryPB::set_cluster_uuid(::std::string&& value) { |
8460 | 2.90k | set_has_cluster_uuid(); |
8461 | 2.90k | cluster_uuid_.SetNoArena( |
8462 | 2.90k | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8463 | | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysClusterConfigEntryPB.cluster_uuid) |
8464 | 2.90k | } |
8465 | | #endif |
8466 | | inline void SysClusterConfigEntryPB::set_cluster_uuid(const char* value) { |
8467 | | GOOGLE_DCHECK(value != NULL); |
8468 | | set_has_cluster_uuid(); |
8469 | | cluster_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8470 | | // @@protoc_insertion_point(field_set_char:yb.master.SysClusterConfigEntryPB.cluster_uuid) |
8471 | | } |
8472 | 0 | inline void SysClusterConfigEntryPB::set_cluster_uuid(const char* value, size_t size) { |
8473 | 0 | set_has_cluster_uuid(); |
8474 | 0 | cluster_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8475 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8476 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysClusterConfigEntryPB.cluster_uuid) |
8477 | 0 | } |
8478 | 1.06k | inline ::std::string* SysClusterConfigEntryPB::mutable_cluster_uuid() { |
8479 | 1.06k | set_has_cluster_uuid(); |
8480 | | // @@protoc_insertion_point(field_mutable:yb.master.SysClusterConfigEntryPB.cluster_uuid) |
8481 | 1.06k | return cluster_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8482 | 1.06k | } |
8483 | 0 | inline ::std::string* SysClusterConfigEntryPB::release_cluster_uuid() { |
8484 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysClusterConfigEntryPB.cluster_uuid) |
8485 | 0 | clear_has_cluster_uuid(); |
8486 | 0 | return cluster_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8487 | 0 | } |
8488 | 0 | inline void SysClusterConfigEntryPB::set_allocated_cluster_uuid(::std::string* cluster_uuid) { |
8489 | 0 | if (cluster_uuid != NULL) { |
8490 | 0 | set_has_cluster_uuid(); |
8491 | 0 | } else { |
8492 | 0 | clear_has_cluster_uuid(); |
8493 | 0 | } |
8494 | 0 | cluster_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cluster_uuid); |
8495 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysClusterConfigEntryPB.cluster_uuid) |
8496 | 0 | } |
8497 | | |
8498 | | // optional .yb.master.ReplicationInfoPB replication_info = 2; |
8499 | 8.07k | inline bool SysClusterConfigEntryPB::has_replication_info() const { |
8500 | 8.07k | return (_has_bits_[0] & 0x00000002u) != 0; |
8501 | 8.07k | } |
8502 | 468k | inline void SysClusterConfigEntryPB::set_has_replication_info() { |
8503 | 468k | _has_bits_[0] |= 0x00000002u; |
8504 | 468k | } |
8505 | 1 | inline void SysClusterConfigEntryPB::clear_has_replication_info() { |
8506 | 1 | _has_bits_[0] &= ~0x00000002u; |
8507 | 1 | } |
8508 | 1 | inline void SysClusterConfigEntryPB::clear_replication_info() { |
8509 | 1 | if (replication_info_ != NULL) replication_info_->Clear(); |
8510 | 1 | clear_has_replication_info(); |
8511 | 1 | } |
8512 | 7.35M | inline const ::yb::master::ReplicationInfoPB& SysClusterConfigEntryPB::replication_info() const { |
8513 | 7.35M | const ::yb::master::ReplicationInfoPB* p = replication_info_; |
8514 | | // @@protoc_insertion_point(field_get:yb.master.SysClusterConfigEntryPB.replication_info) |
8515 | 7.35M | return p != NULL ? *p912k : *reinterpret_cast<const ::yb::master::ReplicationInfoPB*>( |
8516 | 6.44M | &::yb::master::_ReplicationInfoPB_default_instance_); |
8517 | 7.35M | } |
8518 | 0 | inline ::yb::master::ReplicationInfoPB* SysClusterConfigEntryPB::release_replication_info() { |
8519 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysClusterConfigEntryPB.replication_info) |
8520 | 0 | clear_has_replication_info(); |
8521 | 0 | ::yb::master::ReplicationInfoPB* temp = replication_info_; |
8522 | 0 | replication_info_ = NULL; |
8523 | 0 | return temp; |
8524 | 0 | } |
8525 | 468k | inline ::yb::master::ReplicationInfoPB* SysClusterConfigEntryPB::mutable_replication_info() { |
8526 | 468k | set_has_replication_info(); |
8527 | 468k | if (replication_info_ == NULL) { |
8528 | 468k | replication_info_ = new ::yb::master::ReplicationInfoPB; |
8529 | 468k | } |
8530 | | // @@protoc_insertion_point(field_mutable:yb.master.SysClusterConfigEntryPB.replication_info) |
8531 | 468k | return replication_info_; |
8532 | 468k | } |
8533 | 0 | inline void SysClusterConfigEntryPB::set_allocated_replication_info(::yb::master::ReplicationInfoPB* replication_info) { |
8534 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8535 | 0 | if (message_arena == NULL) { |
8536 | 0 | delete replication_info_; |
8537 | 0 | } |
8538 | 0 | if (replication_info) { |
8539 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8540 | 0 | if (message_arena != submessage_arena) { |
8541 | 0 | replication_info = ::google::protobuf::internal::GetOwnedMessage( |
8542 | 0 | message_arena, replication_info, submessage_arena); |
8543 | 0 | } |
8544 | 0 | set_has_replication_info(); |
8545 | 0 | } else { |
8546 | 0 | clear_has_replication_info(); |
8547 | 0 | } |
8548 | 0 | replication_info_ = replication_info; |
8549 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysClusterConfigEntryPB.replication_info) |
8550 | 0 | } |
8551 | | |
8552 | | // optional .yb.master.BlacklistPB server_blacklist = 3; |
8553 | 12.6k | inline bool SysClusterConfigEntryPB::has_server_blacklist() const { |
8554 | 12.6k | return (_has_bits_[0] & 0x00000004u) != 0; |
8555 | 12.6k | } |
8556 | 32.3k | inline void SysClusterConfigEntryPB::set_has_server_blacklist() { |
8557 | 32.3k | _has_bits_[0] |= 0x00000004u; |
8558 | 32.3k | } |
8559 | 0 | inline void SysClusterConfigEntryPB::clear_has_server_blacklist() { |
8560 | 0 | _has_bits_[0] &= ~0x00000004u; |
8561 | 0 | } |
8562 | 0 | inline void SysClusterConfigEntryPB::clear_server_blacklist() { |
8563 | 0 | if (server_blacklist_ != NULL) server_blacklist_->Clear(); |
8564 | 0 | clear_has_server_blacklist(); |
8565 | 0 | } |
8566 | 1.18M | inline const ::yb::master::BlacklistPB& SysClusterConfigEntryPB::server_blacklist() const { |
8567 | 1.18M | const ::yb::master::BlacklistPB* p = server_blacklist_; |
8568 | | // @@protoc_insertion_point(field_get:yb.master.SysClusterConfigEntryPB.server_blacklist) |
8569 | 1.18M | return p != NULL ? *p40.1k : *reinterpret_cast<const ::yb::master::BlacklistPB*>( |
8570 | 1.14M | &::yb::master::_BlacklistPB_default_instance_); |
8571 | 1.18M | } |
8572 | 0 | inline ::yb::master::BlacklistPB* SysClusterConfigEntryPB::release_server_blacklist() { |
8573 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysClusterConfigEntryPB.server_blacklist) |
8574 | 0 | clear_has_server_blacklist(); |
8575 | 0 | ::yb::master::BlacklistPB* temp = server_blacklist_; |
8576 | 0 | server_blacklist_ = NULL; |
8577 | 0 | return temp; |
8578 | 0 | } |
8579 | 32.3k | inline ::yb::master::BlacklistPB* SysClusterConfigEntryPB::mutable_server_blacklist() { |
8580 | 32.3k | set_has_server_blacklist(); |
8581 | 32.3k | if (server_blacklist_ == NULL) { |
8582 | 32.2k | server_blacklist_ = new ::yb::master::BlacklistPB; |
8583 | 32.2k | } |
8584 | | // @@protoc_insertion_point(field_mutable:yb.master.SysClusterConfigEntryPB.server_blacklist) |
8585 | 32.3k | return server_blacklist_; |
8586 | 32.3k | } |
8587 | 0 | inline void SysClusterConfigEntryPB::set_allocated_server_blacklist(::yb::master::BlacklistPB* server_blacklist) { |
8588 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8589 | 0 | if (message_arena == NULL) { |
8590 | 0 | delete server_blacklist_; |
8591 | 0 | } |
8592 | 0 | if (server_blacklist) { |
8593 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8594 | 0 | if (message_arena != submessage_arena) { |
8595 | 0 | server_blacklist = ::google::protobuf::internal::GetOwnedMessage( |
8596 | 0 | message_arena, server_blacklist, submessage_arena); |
8597 | 0 | } |
8598 | 0 | set_has_server_blacklist(); |
8599 | 0 | } else { |
8600 | 0 | clear_has_server_blacklist(); |
8601 | 0 | } |
8602 | 0 | server_blacklist_ = server_blacklist; |
8603 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysClusterConfigEntryPB.server_blacklist) |
8604 | 0 | } |
8605 | | |
8606 | | // optional .yb.master.BlacklistPB leader_blacklist = 7; |
8607 | 12.6k | inline bool SysClusterConfigEntryPB::has_leader_blacklist() const { |
8608 | 12.6k | return (_has_bits_[0] & 0x00000020u) != 0; |
8609 | 12.6k | } |
8610 | 5.93k | inline void SysClusterConfigEntryPB::set_has_leader_blacklist() { |
8611 | 5.93k | _has_bits_[0] |= 0x00000020u; |
8612 | 5.93k | } |
8613 | 0 | inline void SysClusterConfigEntryPB::clear_has_leader_blacklist() { |
8614 | 0 | _has_bits_[0] &= ~0x00000020u; |
8615 | 0 | } |
8616 | 0 | inline void SysClusterConfigEntryPB::clear_leader_blacklist() { |
8617 | 0 | if (leader_blacklist_ != NULL) leader_blacklist_->Clear(); |
8618 | 0 | clear_has_leader_blacklist(); |
8619 | 0 | } |
8620 | 897k | inline const ::yb::master::BlacklistPB& SysClusterConfigEntryPB::leader_blacklist() const { |
8621 | 897k | const ::yb::master::BlacklistPB* p = leader_blacklist_; |
8622 | | // @@protoc_insertion_point(field_get:yb.master.SysClusterConfigEntryPB.leader_blacklist) |
8623 | 897k | return p != NULL ? *p7.93k : *reinterpret_cast<const ::yb::master::BlacklistPB*>( |
8624 | 889k | &::yb::master::_BlacklistPB_default_instance_); |
8625 | 897k | } |
8626 | 0 | inline ::yb::master::BlacklistPB* SysClusterConfigEntryPB::release_leader_blacklist() { |
8627 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysClusterConfigEntryPB.leader_blacklist) |
8628 | 0 | clear_has_leader_blacklist(); |
8629 | 0 | ::yb::master::BlacklistPB* temp = leader_blacklist_; |
8630 | 0 | leader_blacklist_ = NULL; |
8631 | 0 | return temp; |
8632 | 0 | } |
8633 | 5.93k | inline ::yb::master::BlacklistPB* SysClusterConfigEntryPB::mutable_leader_blacklist() { |
8634 | 5.93k | set_has_leader_blacklist(); |
8635 | 5.93k | if (leader_blacklist_ == NULL) { |
8636 | 5.88k | leader_blacklist_ = new ::yb::master::BlacklistPB; |
8637 | 5.88k | } |
8638 | | // @@protoc_insertion_point(field_mutable:yb.master.SysClusterConfigEntryPB.leader_blacklist) |
8639 | 5.93k | return leader_blacklist_; |
8640 | 5.93k | } |
8641 | 0 | inline void SysClusterConfigEntryPB::set_allocated_leader_blacklist(::yb::master::BlacklistPB* leader_blacklist) { |
8642 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8643 | 0 | if (message_arena == NULL) { |
8644 | 0 | delete leader_blacklist_; |
8645 | 0 | } |
8646 | 0 | if (leader_blacklist) { |
8647 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8648 | 0 | if (message_arena != submessage_arena) { |
8649 | 0 | leader_blacklist = ::google::protobuf::internal::GetOwnedMessage( |
8650 | 0 | message_arena, leader_blacklist, submessage_arena); |
8651 | 0 | } |
8652 | 0 | set_has_leader_blacklist(); |
8653 | 0 | } else { |
8654 | 0 | clear_has_leader_blacklist(); |
8655 | 0 | } |
8656 | 0 | leader_blacklist_ = leader_blacklist; |
8657 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysClusterConfigEntryPB.leader_blacklist) |
8658 | 0 | } |
8659 | | |
8660 | | // optional .yb.master.EncryptionInfoPB encryption_info = 5; |
8661 | 4.81M | inline bool SysClusterConfigEntryPB::has_encryption_info() const { |
8662 | 4.81M | return (_has_bits_[0] & 0x00000008u) != 0; |
8663 | 4.81M | } |
8664 | 193k | inline void SysClusterConfigEntryPB::set_has_encryption_info() { |
8665 | 193k | _has_bits_[0] |= 0x00000008u; |
8666 | 193k | } |
8667 | 0 | inline void SysClusterConfigEntryPB::clear_has_encryption_info() { |
8668 | 0 | _has_bits_[0] &= ~0x00000008u; |
8669 | 0 | } |
8670 | 0 | inline void SysClusterConfigEntryPB::clear_encryption_info() { |
8671 | 0 | if (encryption_info_ != NULL) encryption_info_->Clear(); |
8672 | 0 | clear_has_encryption_info(); |
8673 | 0 | } |
8674 | 193k | inline const ::yb::master::EncryptionInfoPB& SysClusterConfigEntryPB::encryption_info() const { |
8675 | 193k | const ::yb::master::EncryptionInfoPB* p = encryption_info_; |
8676 | | // @@protoc_insertion_point(field_get:yb.master.SysClusterConfigEntryPB.encryption_info) |
8677 | 193k | return p != NULL ? *p193k : *reinterpret_cast<const ::yb::master::EncryptionInfoPB*>( |
8678 | 3 | &::yb::master::_EncryptionInfoPB_default_instance_); |
8679 | 193k | } |
8680 | 0 | inline ::yb::master::EncryptionInfoPB* SysClusterConfigEntryPB::release_encryption_info() { |
8681 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysClusterConfigEntryPB.encryption_info) |
8682 | 0 | clear_has_encryption_info(); |
8683 | 0 | ::yb::master::EncryptionInfoPB* temp = encryption_info_; |
8684 | 0 | encryption_info_ = NULL; |
8685 | 0 | return temp; |
8686 | 0 | } |
8687 | 193k | inline ::yb::master::EncryptionInfoPB* SysClusterConfigEntryPB::mutable_encryption_info() { |
8688 | 193k | set_has_encryption_info(); |
8689 | 193k | if (encryption_info_ == NULL) { |
8690 | 193k | encryption_info_ = new ::yb::master::EncryptionInfoPB; |
8691 | 193k | } |
8692 | | // @@protoc_insertion_point(field_mutable:yb.master.SysClusterConfigEntryPB.encryption_info) |
8693 | 193k | return encryption_info_; |
8694 | 193k | } |
8695 | 0 | inline void SysClusterConfigEntryPB::set_allocated_encryption_info(::yb::master::EncryptionInfoPB* encryption_info) { |
8696 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8697 | 0 | if (message_arena == NULL) { |
8698 | 0 | delete encryption_info_; |
8699 | 0 | } |
8700 | 0 | if (encryption_info) { |
8701 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8702 | 0 | if (message_arena != submessage_arena) { |
8703 | 0 | encryption_info = ::google::protobuf::internal::GetOwnedMessage( |
8704 | 0 | message_arena, encryption_info, submessage_arena); |
8705 | 0 | } |
8706 | 0 | set_has_encryption_info(); |
8707 | 0 | } else { |
8708 | 0 | clear_has_encryption_info(); |
8709 | 0 | } |
8710 | 0 | encryption_info_ = encryption_info; |
8711 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysClusterConfigEntryPB.encryption_info) |
8712 | 0 | } |
8713 | | |
8714 | | // optional .yb.cdc.ConsumerRegistryPB consumer_registry = 6; |
8715 | 4.82M | inline bool SysClusterConfigEntryPB::has_consumer_registry() const { |
8716 | 4.82M | return (_has_bits_[0] & 0x00000010u) != 0; |
8717 | 4.82M | } |
8718 | 0 | inline void SysClusterConfigEntryPB::set_has_consumer_registry() { |
8719 | 0 | _has_bits_[0] |= 0x00000010u; |
8720 | 0 | } |
8721 | 0 | inline void SysClusterConfigEntryPB::clear_has_consumer_registry() { |
8722 | 0 | _has_bits_[0] &= ~0x00000010u; |
8723 | 0 | } |
8724 | 0 | inline const ::yb::cdc::ConsumerRegistryPB& SysClusterConfigEntryPB::consumer_registry() const { |
8725 | 0 | const ::yb::cdc::ConsumerRegistryPB* p = consumer_registry_; |
8726 | 0 | // @@protoc_insertion_point(field_get:yb.master.SysClusterConfigEntryPB.consumer_registry) |
8727 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::ConsumerRegistryPB*>( |
8728 | 0 | &::yb::cdc::_ConsumerRegistryPB_default_instance_); |
8729 | 0 | } |
8730 | 0 | inline ::yb::cdc::ConsumerRegistryPB* SysClusterConfigEntryPB::release_consumer_registry() { |
8731 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysClusterConfigEntryPB.consumer_registry) |
8732 | 0 | clear_has_consumer_registry(); |
8733 | 0 | ::yb::cdc::ConsumerRegistryPB* temp = consumer_registry_; |
8734 | 0 | consumer_registry_ = NULL; |
8735 | 0 | return temp; |
8736 | 0 | } |
8737 | 0 | inline ::yb::cdc::ConsumerRegistryPB* SysClusterConfigEntryPB::mutable_consumer_registry() { |
8738 | 0 | set_has_consumer_registry(); |
8739 | 0 | if (consumer_registry_ == NULL) { |
8740 | 0 | consumer_registry_ = new ::yb::cdc::ConsumerRegistryPB; |
8741 | 0 | } |
8742 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysClusterConfigEntryPB.consumer_registry) |
8743 | 0 | return consumer_registry_; |
8744 | 0 | } |
8745 | 0 | inline void SysClusterConfigEntryPB::set_allocated_consumer_registry(::yb::cdc::ConsumerRegistryPB* consumer_registry) { |
8746 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8747 | 0 | if (message_arena == NULL) { |
8748 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(consumer_registry_); |
8749 | 0 | } |
8750 | 0 | if (consumer_registry) { |
8751 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8752 | 0 | if (message_arena != submessage_arena) { |
8753 | 0 | consumer_registry = ::google::protobuf::internal::GetOwnedMessage( |
8754 | 0 | message_arena, consumer_registry, submessage_arena); |
8755 | 0 | } |
8756 | 0 | set_has_consumer_registry(); |
8757 | 0 | } else { |
8758 | 0 | clear_has_consumer_registry(); |
8759 | 0 | } |
8760 | 0 | consumer_registry_ = consumer_registry; |
8761 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysClusterConfigEntryPB.consumer_registry) |
8762 | 0 | } |
8763 | | |
8764 | | // ------------------------------------------------------------------- |
8765 | | |
8766 | | // SysRedisConfigEntryPB |
8767 | | |
8768 | | // optional string key = 1; |
8769 | 380 | inline bool SysRedisConfigEntryPB::has_key() const { |
8770 | 380 | return (_has_bits_[0] & 0x00000001u) != 0; |
8771 | 380 | } |
8772 | 194 | inline void SysRedisConfigEntryPB::set_has_key() { |
8773 | 194 | _has_bits_[0] |= 0x00000001u; |
8774 | 194 | } |
8775 | 0 | inline void SysRedisConfigEntryPB::clear_has_key() { |
8776 | 0 | _has_bits_[0] &= ~0x00000001u; |
8777 | 0 | } |
8778 | 0 | inline void SysRedisConfigEntryPB::clear_key() { |
8779 | 0 | key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8780 | 0 | clear_has_key(); |
8781 | 0 | } |
8782 | 750 | inline const ::std::string& SysRedisConfigEntryPB::key() const { |
8783 | | // @@protoc_insertion_point(field_get:yb.master.SysRedisConfigEntryPB.key) |
8784 | 750 | return key_.GetNoArena(); |
8785 | 750 | } |
8786 | 182 | inline void SysRedisConfigEntryPB::set_key(const ::std::string& value) { |
8787 | 182 | set_has_key(); |
8788 | 182 | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8789 | | // @@protoc_insertion_point(field_set:yb.master.SysRedisConfigEntryPB.key) |
8790 | 182 | } |
8791 | | #if LANG_CXX11 |
8792 | 0 | inline void SysRedisConfigEntryPB::set_key(::std::string&& value) { |
8793 | 0 | set_has_key(); |
8794 | 0 | key_.SetNoArena( |
8795 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8796 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysRedisConfigEntryPB.key) |
8797 | 0 | } |
8798 | | #endif |
8799 | | inline void SysRedisConfigEntryPB::set_key(const char* value) { |
8800 | | GOOGLE_DCHECK(value != NULL); |
8801 | | set_has_key(); |
8802 | | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8803 | | // @@protoc_insertion_point(field_set_char:yb.master.SysRedisConfigEntryPB.key) |
8804 | | } |
8805 | 0 | inline void SysRedisConfigEntryPB::set_key(const char* value, size_t size) { |
8806 | 0 | set_has_key(); |
8807 | 0 | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8808 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8809 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysRedisConfigEntryPB.key) |
8810 | 0 | } |
8811 | 5 | inline ::std::string* SysRedisConfigEntryPB::mutable_key() { |
8812 | 5 | set_has_key(); |
8813 | | // @@protoc_insertion_point(field_mutable:yb.master.SysRedisConfigEntryPB.key) |
8814 | 5 | return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8815 | 5 | } |
8816 | 0 | inline ::std::string* SysRedisConfigEntryPB::release_key() { |
8817 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysRedisConfigEntryPB.key) |
8818 | 0 | clear_has_key(); |
8819 | 0 | return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8820 | 0 | } |
8821 | 0 | inline void SysRedisConfigEntryPB::set_allocated_key(::std::string* key) { |
8822 | 0 | if (key != NULL) { |
8823 | 0 | set_has_key(); |
8824 | 0 | } else { |
8825 | 0 | clear_has_key(); |
8826 | 0 | } |
8827 | 0 | key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); |
8828 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysRedisConfigEntryPB.key) |
8829 | 0 | } |
8830 | | |
8831 | | // repeated bytes args = 2; |
8832 | 555 | inline int SysRedisConfigEntryPB::args_size() const { |
8833 | 555 | return args_.size(); |
8834 | 555 | } |
8835 | | inline void SysRedisConfigEntryPB::clear_args() { |
8836 | | args_.Clear(); |
8837 | | } |
8838 | 374 | inline const ::std::string& SysRedisConfigEntryPB::args(int index) const { |
8839 | | // @@protoc_insertion_point(field_get:yb.master.SysRedisConfigEntryPB.args) |
8840 | 374 | return args_.Get(index); |
8841 | 374 | } |
8842 | 0 | inline ::std::string* SysRedisConfigEntryPB::mutable_args(int index) { |
8843 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysRedisConfigEntryPB.args) |
8844 | 0 | return args_.Mutable(index); |
8845 | 0 | } |
8846 | 0 | inline void SysRedisConfigEntryPB::set_args(int index, const ::std::string& value) { |
8847 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysRedisConfigEntryPB.args) |
8848 | 0 | args_.Mutable(index)->assign(value); |
8849 | 0 | } |
8850 | | #if LANG_CXX11 |
8851 | 0 | inline void SysRedisConfigEntryPB::set_args(int index, ::std::string&& value) { |
8852 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysRedisConfigEntryPB.args) |
8853 | 0 | args_.Mutable(index)->assign(std::move(value)); |
8854 | 0 | } |
8855 | | #endif |
8856 | 0 | inline void SysRedisConfigEntryPB::set_args(int index, const char* value) { |
8857 | 0 | GOOGLE_DCHECK(value != NULL); |
8858 | 0 | args_.Mutable(index)->assign(value); |
8859 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysRedisConfigEntryPB.args) |
8860 | 0 | } |
8861 | 0 | inline void SysRedisConfigEntryPB::set_args(int index, const void* value, size_t size) { |
8862 | 0 | args_.Mutable(index)->assign( |
8863 | 0 | reinterpret_cast<const char*>(value), size); |
8864 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysRedisConfigEntryPB.args) |
8865 | 0 | } |
8866 | 7 | inline ::std::string* SysRedisConfigEntryPB::add_args() { |
8867 | | // @@protoc_insertion_point(field_add_mutable:yb.master.SysRedisConfigEntryPB.args) |
8868 | 7 | return args_.Add(); |
8869 | 7 | } |
8870 | 0 | inline void SysRedisConfigEntryPB::add_args(const ::std::string& value) { |
8871 | 0 | args_.Add()->assign(value); |
8872 | 0 | // @@protoc_insertion_point(field_add:yb.master.SysRedisConfigEntryPB.args) |
8873 | 0 | } |
8874 | | #if LANG_CXX11 |
8875 | 0 | inline void SysRedisConfigEntryPB::add_args(::std::string&& value) { |
8876 | 0 | args_.Add(std::move(value)); |
8877 | 0 | // @@protoc_insertion_point(field_add:yb.master.SysRedisConfigEntryPB.args) |
8878 | 0 | } |
8879 | | #endif |
8880 | | inline void SysRedisConfigEntryPB::add_args(const char* value) { |
8881 | | GOOGLE_DCHECK(value != NULL); |
8882 | | args_.Add()->assign(value); |
8883 | | // @@protoc_insertion_point(field_add_char:yb.master.SysRedisConfigEntryPB.args) |
8884 | | } |
8885 | 0 | inline void SysRedisConfigEntryPB::add_args(const void* value, size_t size) { |
8886 | 0 | args_.Add()->assign(reinterpret_cast<const char*>(value), size); |
8887 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.SysRedisConfigEntryPB.args) |
8888 | 0 | } |
8889 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
8890 | 355 | SysRedisConfigEntryPB::args() const { |
8891 | | // @@protoc_insertion_point(field_list:yb.master.SysRedisConfigEntryPB.args) |
8892 | 355 | return args_; |
8893 | 355 | } |
8894 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
8895 | 182 | SysRedisConfigEntryPB::mutable_args() { |
8896 | | // @@protoc_insertion_point(field_mutable_list:yb.master.SysRedisConfigEntryPB.args) |
8897 | 182 | return &args_; |
8898 | 182 | } |
8899 | | |
8900 | | // ------------------------------------------------------------------- |
8901 | | |
8902 | | // ResourcePermissionsPB |
8903 | | |
8904 | | // optional string resource_name = 1; |
8905 | 5.79k | inline bool ResourcePermissionsPB::has_resource_name() const { |
8906 | 5.79k | return (_has_bits_[0] & 0x00000001u) != 0; |
8907 | 5.79k | } |
8908 | 11.1k | inline void ResourcePermissionsPB::set_has_resource_name() { |
8909 | 11.1k | _has_bits_[0] |= 0x00000001u; |
8910 | 11.1k | } |
8911 | 0 | inline void ResourcePermissionsPB::clear_has_resource_name() { |
8912 | 0 | _has_bits_[0] &= ~0x00000001u; |
8913 | 0 | } |
8914 | 0 | inline void ResourcePermissionsPB::clear_resource_name() { |
8915 | 0 | resource_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8916 | 0 | clear_has_resource_name(); |
8917 | 0 | } |
8918 | 22.3k | inline const ::std::string& ResourcePermissionsPB::resource_name() const { |
8919 | | // @@protoc_insertion_point(field_get:yb.master.ResourcePermissionsPB.resource_name) |
8920 | 22.3k | return resource_name_.GetNoArena(); |
8921 | 22.3k | } |
8922 | 2.18k | inline void ResourcePermissionsPB::set_resource_name(const ::std::string& value) { |
8923 | 2.18k | set_has_resource_name(); |
8924 | 2.18k | resource_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8925 | | // @@protoc_insertion_point(field_set:yb.master.ResourcePermissionsPB.resource_name) |
8926 | 2.18k | } |
8927 | | #if LANG_CXX11 |
8928 | 0 | inline void ResourcePermissionsPB::set_resource_name(::std::string&& value) { |
8929 | 0 | set_has_resource_name(); |
8930 | 0 | resource_name_.SetNoArena( |
8931 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8932 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.ResourcePermissionsPB.resource_name) |
8933 | 0 | } |
8934 | | #endif |
8935 | | inline void ResourcePermissionsPB::set_resource_name(const char* value) { |
8936 | | GOOGLE_DCHECK(value != NULL); |
8937 | | set_has_resource_name(); |
8938 | | resource_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8939 | | // @@protoc_insertion_point(field_set_char:yb.master.ResourcePermissionsPB.resource_name) |
8940 | | } |
8941 | 0 | inline void ResourcePermissionsPB::set_resource_name(const char* value, size_t size) { |
8942 | 0 | set_has_resource_name(); |
8943 | 0 | resource_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8944 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8945 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.ResourcePermissionsPB.resource_name) |
8946 | 0 | } |
8947 | 1 | inline ::std::string* ResourcePermissionsPB::mutable_resource_name() { |
8948 | 1 | set_has_resource_name(); |
8949 | | // @@protoc_insertion_point(field_mutable:yb.master.ResourcePermissionsPB.resource_name) |
8950 | 1 | return resource_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8951 | 1 | } |
8952 | 0 | inline ::std::string* ResourcePermissionsPB::release_resource_name() { |
8953 | 0 | // @@protoc_insertion_point(field_release:yb.master.ResourcePermissionsPB.resource_name) |
8954 | 0 | clear_has_resource_name(); |
8955 | 0 | return resource_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8956 | 0 | } |
8957 | 0 | inline void ResourcePermissionsPB::set_allocated_resource_name(::std::string* resource_name) { |
8958 | 0 | if (resource_name != NULL) { |
8959 | 0 | set_has_resource_name(); |
8960 | 0 | } else { |
8961 | 0 | clear_has_resource_name(); |
8962 | 0 | } |
8963 | 0 | resource_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), resource_name); |
8964 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ResourcePermissionsPB.resource_name) |
8965 | 0 | } |
8966 | | |
8967 | | // optional string canonical_resource = 11; |
8968 | 5.79k | inline bool ResourcePermissionsPB::has_canonical_resource() const { |
8969 | 5.79k | return (_has_bits_[0] & 0x00000002u) != 0; |
8970 | 5.79k | } |
8971 | 11.7k | inline void ResourcePermissionsPB::set_has_canonical_resource() { |
8972 | 11.7k | _has_bits_[0] |= 0x00000002u; |
8973 | 11.7k | } |
8974 | 0 | inline void ResourcePermissionsPB::clear_has_canonical_resource() { |
8975 | 0 | _has_bits_[0] &= ~0x00000002u; |
8976 | 0 | } |
8977 | 0 | inline void ResourcePermissionsPB::clear_canonical_resource() { |
8978 | 0 | canonical_resource_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8979 | 0 | clear_has_canonical_resource(); |
8980 | 0 | } |
8981 | 232k | inline const ::std::string& ResourcePermissionsPB::canonical_resource() const { |
8982 | | // @@protoc_insertion_point(field_get:yb.master.ResourcePermissionsPB.canonical_resource) |
8983 | 232k | return canonical_resource_.GetNoArena(); |
8984 | 232k | } |
8985 | 2.26k | inline void ResourcePermissionsPB::set_canonical_resource(const ::std::string& value) { |
8986 | 2.26k | set_has_canonical_resource(); |
8987 | 2.26k | canonical_resource_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8988 | | // @@protoc_insertion_point(field_set:yb.master.ResourcePermissionsPB.canonical_resource) |
8989 | 2.26k | } |
8990 | | #if LANG_CXX11 |
8991 | 0 | inline void ResourcePermissionsPB::set_canonical_resource(::std::string&& value) { |
8992 | 0 | set_has_canonical_resource(); |
8993 | 0 | canonical_resource_.SetNoArena( |
8994 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8995 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.ResourcePermissionsPB.canonical_resource) |
8996 | 0 | } |
8997 | | #endif |
8998 | | inline void ResourcePermissionsPB::set_canonical_resource(const char* value) { |
8999 | | GOOGLE_DCHECK(value != NULL); |
9000 | | set_has_canonical_resource(); |
9001 | | canonical_resource_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
9002 | | // @@protoc_insertion_point(field_set_char:yb.master.ResourcePermissionsPB.canonical_resource) |
9003 | | } |
9004 | 0 | inline void ResourcePermissionsPB::set_canonical_resource(const char* value, size_t size) { |
9005 | 0 | set_has_canonical_resource(); |
9006 | 0 | canonical_resource_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
9007 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
9008 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.ResourcePermissionsPB.canonical_resource) |
9009 | 0 | } |
9010 | 2 | inline ::std::string* ResourcePermissionsPB::mutable_canonical_resource() { |
9011 | 2 | set_has_canonical_resource(); |
9012 | | // @@protoc_insertion_point(field_mutable:yb.master.ResourcePermissionsPB.canonical_resource) |
9013 | 2 | return canonical_resource_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9014 | 2 | } |
9015 | 0 | inline ::std::string* ResourcePermissionsPB::release_canonical_resource() { |
9016 | 0 | // @@protoc_insertion_point(field_release:yb.master.ResourcePermissionsPB.canonical_resource) |
9017 | 0 | clear_has_canonical_resource(); |
9018 | 0 | return canonical_resource_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9019 | 0 | } |
9020 | 0 | inline void ResourcePermissionsPB::set_allocated_canonical_resource(::std::string* canonical_resource) { |
9021 | 0 | if (canonical_resource != NULL) { |
9022 | 0 | set_has_canonical_resource(); |
9023 | 0 | } else { |
9024 | 0 | clear_has_canonical_resource(); |
9025 | 0 | } |
9026 | 0 | canonical_resource_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), canonical_resource); |
9027 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ResourcePermissionsPB.canonical_resource) |
9028 | 0 | } |
9029 | | |
9030 | | // optional string namespace_name = 12; |
9031 | 5.79k | inline bool ResourcePermissionsPB::has_namespace_name() const { |
9032 | 5.79k | return (_has_bits_[0] & 0x00000004u) != 0; |
9033 | 5.79k | } |
9034 | 10.9k | inline void ResourcePermissionsPB::set_has_namespace_name() { |
9035 | 10.9k | _has_bits_[0] |= 0x00000004u; |
9036 | 10.9k | } |
9037 | 0 | inline void ResourcePermissionsPB::clear_has_namespace_name() { |
9038 | 0 | _has_bits_[0] &= ~0x00000004u; |
9039 | 0 | } |
9040 | 0 | inline void ResourcePermissionsPB::clear_namespace_name() { |
9041 | 0 | namespace_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9042 | 0 | clear_has_namespace_name(); |
9043 | 0 | } |
9044 | 21.9k | inline const ::std::string& ResourcePermissionsPB::namespace_name() const { |
9045 | | // @@protoc_insertion_point(field_get:yb.master.ResourcePermissionsPB.namespace_name) |
9046 | 21.9k | return namespace_name_.GetNoArena(); |
9047 | 21.9k | } |
9048 | 2.13k | inline void ResourcePermissionsPB::set_namespace_name(const ::std::string& value) { |
9049 | 2.13k | set_has_namespace_name(); |
9050 | 2.13k | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
9051 | | // @@protoc_insertion_point(field_set:yb.master.ResourcePermissionsPB.namespace_name) |
9052 | 2.13k | } |
9053 | | #if LANG_CXX11 |
9054 | 0 | inline void ResourcePermissionsPB::set_namespace_name(::std::string&& value) { |
9055 | 0 | set_has_namespace_name(); |
9056 | 0 | namespace_name_.SetNoArena( |
9057 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
9058 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.ResourcePermissionsPB.namespace_name) |
9059 | 0 | } |
9060 | | #endif |
9061 | | inline void ResourcePermissionsPB::set_namespace_name(const char* value) { |
9062 | | GOOGLE_DCHECK(value != NULL); |
9063 | | set_has_namespace_name(); |
9064 | | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
9065 | | // @@protoc_insertion_point(field_set_char:yb.master.ResourcePermissionsPB.namespace_name) |
9066 | | } |
9067 | 0 | inline void ResourcePermissionsPB::set_namespace_name(const char* value, size_t size) { |
9068 | 0 | set_has_namespace_name(); |
9069 | 0 | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
9070 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
9071 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.ResourcePermissionsPB.namespace_name) |
9072 | 0 | } |
9073 | 1 | inline ::std::string* ResourcePermissionsPB::mutable_namespace_name() { |
9074 | 1 | set_has_namespace_name(); |
9075 | | // @@protoc_insertion_point(field_mutable:yb.master.ResourcePermissionsPB.namespace_name) |
9076 | 1 | return namespace_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9077 | 1 | } |
9078 | 0 | inline ::std::string* ResourcePermissionsPB::release_namespace_name() { |
9079 | 0 | // @@protoc_insertion_point(field_release:yb.master.ResourcePermissionsPB.namespace_name) |
9080 | 0 | clear_has_namespace_name(); |
9081 | 0 | return namespace_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9082 | 0 | } |
9083 | 0 | inline void ResourcePermissionsPB::set_allocated_namespace_name(::std::string* namespace_name) { |
9084 | 0 | if (namespace_name != NULL) { |
9085 | 0 | set_has_namespace_name(); |
9086 | 0 | } else { |
9087 | 0 | clear_has_namespace_name(); |
9088 | 0 | } |
9089 | 0 | namespace_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_name); |
9090 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ResourcePermissionsPB.namespace_name) |
9091 | 0 | } |
9092 | | |
9093 | | // optional .yb.ResourceType resource_type = 2; |
9094 | 5.79k | inline bool ResourcePermissionsPB::has_resource_type() const { |
9095 | 5.79k | return (_has_bits_[0] & 0x00000008u) != 0; |
9096 | 5.79k | } |
9097 | 2.27k | inline void ResourcePermissionsPB::set_has_resource_type() { |
9098 | 2.27k | _has_bits_[0] |= 0x00000008u; |
9099 | 2.27k | } |
9100 | 0 | inline void ResourcePermissionsPB::clear_has_resource_type() { |
9101 | 0 | _has_bits_[0] &= ~0x00000008u; |
9102 | 0 | } |
9103 | 0 | inline void ResourcePermissionsPB::clear_resource_type() { |
9104 | 0 | resource_type_ = 1; |
9105 | 0 | clear_has_resource_type(); |
9106 | 0 | } |
9107 | 11.5k | inline ::yb::ResourceType ResourcePermissionsPB::resource_type() const { |
9108 | | // @@protoc_insertion_point(field_get:yb.master.ResourcePermissionsPB.resource_type) |
9109 | 11.5k | return static_cast< ::yb::ResourceType >(resource_type_); |
9110 | 11.5k | } |
9111 | 2.27k | inline void ResourcePermissionsPB::set_resource_type(::yb::ResourceType value) { |
9112 | 2.27k | assert(::yb::ResourceType_IsValid(value)); |
9113 | 0 | set_has_resource_type(); |
9114 | 2.27k | resource_type_ = value; |
9115 | | // @@protoc_insertion_point(field_set:yb.master.ResourcePermissionsPB.resource_type) |
9116 | 2.27k | } |
9117 | | |
9118 | | // repeated .yb.PermissionType permissions = 13; |
9119 | 10.4k | inline int ResourcePermissionsPB::permissions_size() const { |
9120 | 10.4k | return permissions_.size(); |
9121 | 10.4k | } |
9122 | 68 | inline void ResourcePermissionsPB::clear_permissions() { |
9123 | 68 | permissions_.Clear(); |
9124 | 68 | } |
9125 | 29.5k | inline ::yb::PermissionType ResourcePermissionsPB::permissions(int index) const { |
9126 | | // @@protoc_insertion_point(field_get:yb.master.ResourcePermissionsPB.permissions) |
9127 | 29.5k | return static_cast< ::yb::PermissionType >(permissions_.Get(index)); |
9128 | 29.5k | } |
9129 | 0 | inline void ResourcePermissionsPB::set_permissions(int index, ::yb::PermissionType value) { |
9130 | 0 | assert(::yb::PermissionType_IsValid(value)); |
9131 | 0 | permissions_.Set(index, value); |
9132 | 0 | // @@protoc_insertion_point(field_set:yb.master.ResourcePermissionsPB.permissions) |
9133 | 0 | } |
9134 | 9.73k | inline void ResourcePermissionsPB::add_permissions(::yb::PermissionType value) { |
9135 | 9.73k | assert(::yb::PermissionType_IsValid(value)); |
9136 | 0 | permissions_.Add(value); |
9137 | | // @@protoc_insertion_point(field_add:yb.master.ResourcePermissionsPB.permissions) |
9138 | 9.73k | } |
9139 | | inline const ::google::protobuf::RepeatedField<int>& |
9140 | 20.4k | ResourcePermissionsPB::permissions() const { |
9141 | | // @@protoc_insertion_point(field_list:yb.master.ResourcePermissionsPB.permissions) |
9142 | 20.4k | return permissions_; |
9143 | 20.4k | } |
9144 | | inline ::google::protobuf::RepeatedField<int>* |
9145 | 115 | ResourcePermissionsPB::mutable_permissions() { |
9146 | | // @@protoc_insertion_point(field_mutable_list:yb.master.ResourcePermissionsPB.permissions) |
9147 | 115 | return &permissions_; |
9148 | 115 | } |
9149 | | |
9150 | | // ------------------------------------------------------------------- |
9151 | | |
9152 | | // SysRoleEntryPB |
9153 | | |
9154 | | // optional bytes role = 1; |
9155 | 22.9k | inline bool SysRoleEntryPB::has_role() const { |
9156 | 22.9k | return (_has_bits_[0] & 0x00000001u) != 0; |
9157 | 22.9k | } |
9158 | 4.61k | inline void SysRoleEntryPB::set_has_role() { |
9159 | 4.61k | _has_bits_[0] |= 0x00000001u; |
9160 | 4.61k | } |
9161 | 0 | inline void SysRoleEntryPB::clear_has_role() { |
9162 | 0 | _has_bits_[0] &= ~0x00000001u; |
9163 | 0 | } |
9164 | 0 | inline void SysRoleEntryPB::clear_role() { |
9165 | 0 | role_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9166 | 0 | clear_has_role(); |
9167 | 0 | } |
9168 | 26.3k | inline const ::std::string& SysRoleEntryPB::role() const { |
9169 | | // @@protoc_insertion_point(field_get:yb.master.SysRoleEntryPB.role) |
9170 | 26.3k | return role_.GetNoArena(); |
9171 | 26.3k | } |
9172 | 2.90k | inline void SysRoleEntryPB::set_role(const ::std::string& value) { |
9173 | 2.90k | set_has_role(); |
9174 | 2.90k | role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
9175 | | // @@protoc_insertion_point(field_set:yb.master.SysRoleEntryPB.role) |
9176 | 2.90k | } |
9177 | | #if LANG_CXX11 |
9178 | 0 | inline void SysRoleEntryPB::set_role(::std::string&& value) { |
9179 | 0 | set_has_role(); |
9180 | 0 | role_.SetNoArena( |
9181 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
9182 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysRoleEntryPB.role) |
9183 | 0 | } |
9184 | | #endif |
9185 | | inline void SysRoleEntryPB::set_role(const char* value) { |
9186 | | GOOGLE_DCHECK(value != NULL); |
9187 | | set_has_role(); |
9188 | | role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
9189 | | // @@protoc_insertion_point(field_set_char:yb.master.SysRoleEntryPB.role) |
9190 | | } |
9191 | 0 | inline void SysRoleEntryPB::set_role(const void* value, size_t size) { |
9192 | 0 | set_has_role(); |
9193 | 0 | role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
9194 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
9195 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysRoleEntryPB.role) |
9196 | 0 | } |
9197 | 851 | inline ::std::string* SysRoleEntryPB::mutable_role() { |
9198 | 851 | set_has_role(); |
9199 | | // @@protoc_insertion_point(field_mutable:yb.master.SysRoleEntryPB.role) |
9200 | 851 | return role_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9201 | 851 | } |
9202 | 0 | inline ::std::string* SysRoleEntryPB::release_role() { |
9203 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysRoleEntryPB.role) |
9204 | 0 | clear_has_role(); |
9205 | 0 | return role_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9206 | 0 | } |
9207 | 0 | inline void SysRoleEntryPB::set_allocated_role(::std::string* role) { |
9208 | 0 | if (role != NULL) { |
9209 | 0 | set_has_role(); |
9210 | 0 | } else { |
9211 | 0 | clear_has_role(); |
9212 | 0 | } |
9213 | 0 | role_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), role); |
9214 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysRoleEntryPB.role) |
9215 | 0 | } |
9216 | | |
9217 | | // optional bool can_login = 2; |
9218 | 5.63k | inline bool SysRoleEntryPB::has_can_login() const { |
9219 | 5.63k | return (_has_bits_[0] & 0x00000004u) != 0; |
9220 | 5.63k | } |
9221 | 3.77k | inline void SysRoleEntryPB::set_has_can_login() { |
9222 | 3.77k | _has_bits_[0] |= 0x00000004u; |
9223 | 3.77k | } |
9224 | 0 | inline void SysRoleEntryPB::clear_has_can_login() { |
9225 | 0 | _has_bits_[0] &= ~0x00000004u; |
9226 | 0 | } |
9227 | 0 | inline void SysRoleEntryPB::clear_can_login() { |
9228 | 0 | can_login_ = false; |
9229 | 0 | clear_has_can_login(); |
9230 | 0 | } |
9231 | 38.4k | inline bool SysRoleEntryPB::can_login() const { |
9232 | | // @@protoc_insertion_point(field_get:yb.master.SysRoleEntryPB.can_login) |
9233 | 38.4k | return can_login_; |
9234 | 38.4k | } |
9235 | 2.92k | inline void SysRoleEntryPB::set_can_login(bool value) { |
9236 | 2.92k | set_has_can_login(); |
9237 | 2.92k | can_login_ = value; |
9238 | | // @@protoc_insertion_point(field_set:yb.master.SysRoleEntryPB.can_login) |
9239 | 2.92k | } |
9240 | | |
9241 | | // optional bool is_superuser = 3; |
9242 | 5.63k | inline bool SysRoleEntryPB::has_is_superuser() const { |
9243 | 5.63k | return (_has_bits_[0] & 0x00000008u) != 0; |
9244 | 5.63k | } |
9245 | 3.79k | inline void SysRoleEntryPB::set_has_is_superuser() { |
9246 | 3.79k | _has_bits_[0] |= 0x00000008u; |
9247 | 3.79k | } |
9248 | 0 | inline void SysRoleEntryPB::clear_has_is_superuser() { |
9249 | 0 | _has_bits_[0] &= ~0x00000008u; |
9250 | 0 | } |
9251 | 0 | inline void SysRoleEntryPB::clear_is_superuser() { |
9252 | 0 | is_superuser_ = false; |
9253 | 0 | clear_has_is_superuser(); |
9254 | 0 | } |
9255 | 39.7k | inline bool SysRoleEntryPB::is_superuser() const { |
9256 | | // @@protoc_insertion_point(field_get:yb.master.SysRoleEntryPB.is_superuser) |
9257 | 39.7k | return is_superuser_; |
9258 | 39.7k | } |
9259 | 2.94k | inline void SysRoleEntryPB::set_is_superuser(bool value) { |
9260 | 2.94k | set_has_is_superuser(); |
9261 | 2.94k | is_superuser_ = value; |
9262 | | // @@protoc_insertion_point(field_set:yb.master.SysRoleEntryPB.is_superuser) |
9263 | 2.94k | } |
9264 | | |
9265 | | // repeated bytes member_of = 4; |
9266 | 16.9k | inline int SysRoleEntryPB::member_of_size() const { |
9267 | 16.9k | return member_of_.size(); |
9268 | 16.9k | } |
9269 | 26 | inline void SysRoleEntryPB::clear_member_of() { |
9270 | 26 | member_of_.Clear(); |
9271 | 26 | } |
9272 | 122 | inline const ::std::string& SysRoleEntryPB::member_of(int index) const { |
9273 | | // @@protoc_insertion_point(field_get:yb.master.SysRoleEntryPB.member_of) |
9274 | 122 | return member_of_.Get(index); |
9275 | 122 | } |
9276 | 0 | inline ::std::string* SysRoleEntryPB::mutable_member_of(int index) { |
9277 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysRoleEntryPB.member_of) |
9278 | 0 | return member_of_.Mutable(index); |
9279 | 0 | } |
9280 | 0 | inline void SysRoleEntryPB::set_member_of(int index, const ::std::string& value) { |
9281 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysRoleEntryPB.member_of) |
9282 | 0 | member_of_.Mutable(index)->assign(value); |
9283 | 0 | } |
9284 | | #if LANG_CXX11 |
9285 | 0 | inline void SysRoleEntryPB::set_member_of(int index, ::std::string&& value) { |
9286 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysRoleEntryPB.member_of) |
9287 | 0 | member_of_.Mutable(index)->assign(std::move(value)); |
9288 | 0 | } |
9289 | | #endif |
9290 | 0 | inline void SysRoleEntryPB::set_member_of(int index, const char* value) { |
9291 | 0 | GOOGLE_DCHECK(value != NULL); |
9292 | 0 | member_of_.Mutable(index)->assign(value); |
9293 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysRoleEntryPB.member_of) |
9294 | 0 | } |
9295 | 0 | inline void SysRoleEntryPB::set_member_of(int index, const void* value, size_t size) { |
9296 | 0 | member_of_.Mutable(index)->assign( |
9297 | 0 | reinterpret_cast<const char*>(value), size); |
9298 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysRoleEntryPB.member_of) |
9299 | 0 | } |
9300 | 0 | inline ::std::string* SysRoleEntryPB::add_member_of() { |
9301 | 0 | // @@protoc_insertion_point(field_add_mutable:yb.master.SysRoleEntryPB.member_of) |
9302 | 0 | return member_of_.Add(); |
9303 | 0 | } |
9304 | 41 | inline void SysRoleEntryPB::add_member_of(const ::std::string& value) { |
9305 | 41 | member_of_.Add()->assign(value); |
9306 | | // @@protoc_insertion_point(field_add:yb.master.SysRoleEntryPB.member_of) |
9307 | 41 | } |
9308 | | #if LANG_CXX11 |
9309 | 5 | inline void SysRoleEntryPB::add_member_of(::std::string&& value) { |
9310 | 5 | member_of_.Add(std::move(value)); |
9311 | | // @@protoc_insertion_point(field_add:yb.master.SysRoleEntryPB.member_of) |
9312 | 5 | } |
9313 | | #endif |
9314 | 0 | inline void SysRoleEntryPB::add_member_of(const char* value) { |
9315 | 0 | GOOGLE_DCHECK(value != NULL); |
9316 | 0 | member_of_.Add()->assign(value); |
9317 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.SysRoleEntryPB.member_of) |
9318 | 0 | } |
9319 | 0 | inline void SysRoleEntryPB::add_member_of(const void* value, size_t size) { |
9320 | 0 | member_of_.Add()->assign(reinterpret_cast<const char*>(value), size); |
9321 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.SysRoleEntryPB.member_of) |
9322 | 0 | } |
9323 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
9324 | 24.9k | SysRoleEntryPB::member_of() const { |
9325 | | // @@protoc_insertion_point(field_list:yb.master.SysRoleEntryPB.member_of) |
9326 | 24.9k | return member_of_; |
9327 | 24.9k | } |
9328 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
9329 | 0 | SysRoleEntryPB::mutable_member_of() { |
9330 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.SysRoleEntryPB.member_of) |
9331 | 0 | return &member_of_; |
9332 | 0 | } |
9333 | | |
9334 | | // optional bytes salted_hash = 5; |
9335 | 36.9k | inline bool SysRoleEntryPB::has_salted_hash() const { |
9336 | 36.9k | return (_has_bits_[0] & 0x00000002u) != 0; |
9337 | 36.9k | } |
9338 | 4.57k | inline void SysRoleEntryPB::set_has_salted_hash() { |
9339 | 4.57k | _has_bits_[0] |= 0x00000002u; |
9340 | 4.57k | } |
9341 | 0 | inline void SysRoleEntryPB::clear_has_salted_hash() { |
9342 | 0 | _has_bits_[0] &= ~0x00000002u; |
9343 | 0 | } |
9344 | 0 | inline void SysRoleEntryPB::clear_salted_hash() { |
9345 | 0 | salted_hash_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9346 | 0 | clear_has_salted_hash(); |
9347 | 0 | } |
9348 | 43.8k | inline const ::std::string& SysRoleEntryPB::salted_hash() const { |
9349 | | // @@protoc_insertion_point(field_get:yb.master.SysRoleEntryPB.salted_hash) |
9350 | 43.8k | return salted_hash_.GetNoArena(); |
9351 | 43.8k | } |
9352 | 2.87k | inline void SysRoleEntryPB::set_salted_hash(const ::std::string& value) { |
9353 | 2.87k | set_has_salted_hash(); |
9354 | 2.87k | salted_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
9355 | | // @@protoc_insertion_point(field_set:yb.master.SysRoleEntryPB.salted_hash) |
9356 | 2.87k | } |
9357 | | #if LANG_CXX11 |
9358 | 0 | inline void SysRoleEntryPB::set_salted_hash(::std::string&& value) { |
9359 | 0 | set_has_salted_hash(); |
9360 | 0 | salted_hash_.SetNoArena( |
9361 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
9362 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysRoleEntryPB.salted_hash) |
9363 | 0 | } |
9364 | | #endif |
9365 | | inline void SysRoleEntryPB::set_salted_hash(const char* value) { |
9366 | | GOOGLE_DCHECK(value != NULL); |
9367 | | set_has_salted_hash(); |
9368 | | salted_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
9369 | | // @@protoc_insertion_point(field_set_char:yb.master.SysRoleEntryPB.salted_hash) |
9370 | | } |
9371 | 0 | inline void SysRoleEntryPB::set_salted_hash(const void* value, size_t size) { |
9372 | 0 | set_has_salted_hash(); |
9373 | 0 | salted_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
9374 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
9375 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysRoleEntryPB.salted_hash) |
9376 | 0 | } |
9377 | 851 | inline ::std::string* SysRoleEntryPB::mutable_salted_hash() { |
9378 | 851 | set_has_salted_hash(); |
9379 | | // @@protoc_insertion_point(field_mutable:yb.master.SysRoleEntryPB.salted_hash) |
9380 | 851 | return salted_hash_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9381 | 851 | } |
9382 | 0 | inline ::std::string* SysRoleEntryPB::release_salted_hash() { |
9383 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysRoleEntryPB.salted_hash) |
9384 | 0 | clear_has_salted_hash(); |
9385 | 0 | return salted_hash_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9386 | 0 | } |
9387 | 0 | inline void SysRoleEntryPB::set_allocated_salted_hash(::std::string* salted_hash) { |
9388 | 0 | if (salted_hash != NULL) { |
9389 | 0 | set_has_salted_hash(); |
9390 | 0 | } else { |
9391 | 0 | clear_has_salted_hash(); |
9392 | 0 | } |
9393 | 0 | salted_hash_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), salted_hash); |
9394 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysRoleEntryPB.salted_hash) |
9395 | 0 | } |
9396 | | |
9397 | | // repeated .yb.master.ResourcePermissionsPB resources = 7; |
9398 | 11.2k | inline int SysRoleEntryPB::resources_size() const { |
9399 | 11.2k | return resources_.size(); |
9400 | 11.2k | } |
9401 | 0 | inline void SysRoleEntryPB::clear_resources() { |
9402 | 0 | resources_.Clear(); |
9403 | 0 | } |
9404 | 11.5k | inline const ::yb::master::ResourcePermissionsPB& SysRoleEntryPB::resources(int index) const { |
9405 | | // @@protoc_insertion_point(field_get:yb.master.SysRoleEntryPB.resources) |
9406 | 11.5k | return resources_.Get(index); |
9407 | 11.5k | } |
9408 | 0 | inline ::yb::master::ResourcePermissionsPB* SysRoleEntryPB::mutable_resources(int index) { |
9409 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysRoleEntryPB.resources) |
9410 | 0 | return resources_.Mutable(index); |
9411 | 0 | } |
9412 | 2.27k | inline ::yb::master::ResourcePermissionsPB* SysRoleEntryPB::add_resources() { |
9413 | | // @@protoc_insertion_point(field_add:yb.master.SysRoleEntryPB.resources) |
9414 | 2.27k | return resources_.Add(); |
9415 | 2.27k | } |
9416 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::ResourcePermissionsPB >* |
9417 | 13.4k | SysRoleEntryPB::mutable_resources() { |
9418 | | // @@protoc_insertion_point(field_mutable_list:yb.master.SysRoleEntryPB.resources) |
9419 | 13.4k | return &resources_; |
9420 | 13.4k | } |
9421 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::ResourcePermissionsPB >& |
9422 | 19.4k | SysRoleEntryPB::resources() const { |
9423 | | // @@protoc_insertion_point(field_list:yb.master.SysRoleEntryPB.resources) |
9424 | 19.4k | return resources_; |
9425 | 19.4k | } |
9426 | | |
9427 | | // ------------------------------------------------------------------- |
9428 | | |
9429 | | // SysSecurityConfigEntryPB |
9430 | | |
9431 | | // optional uint64 roles_version = 1; |
9432 | 15.8k | inline bool SysSecurityConfigEntryPB::has_roles_version() const { |
9433 | 15.8k | return (_has_bits_[0] & 0x00000001u) != 0; |
9434 | 15.8k | } |
9435 | 16.6k | inline void SysSecurityConfigEntryPB::set_has_roles_version() { |
9436 | 16.6k | _has_bits_[0] |= 0x00000001u; |
9437 | 16.6k | } |
9438 | 0 | inline void SysSecurityConfigEntryPB::clear_has_roles_version() { |
9439 | 0 | _has_bits_[0] &= ~0x00000001u; |
9440 | 0 | } |
9441 | 0 | inline void SysSecurityConfigEntryPB::clear_roles_version() { |
9442 | 0 | roles_version_ = GOOGLE_ULONGLONG(0); |
9443 | 0 | clear_has_roles_version(); |
9444 | 0 | } |
9445 | 41.9k | inline ::google::protobuf::uint64 SysSecurityConfigEntryPB::roles_version() const { |
9446 | | // @@protoc_insertion_point(field_get:yb.master.SysSecurityConfigEntryPB.roles_version) |
9447 | 41.9k | return roles_version_; |
9448 | 41.9k | } |
9449 | 15.8k | inline void SysSecurityConfigEntryPB::set_roles_version(::google::protobuf::uint64 value) { |
9450 | 15.8k | set_has_roles_version(); |
9451 | 15.8k | roles_version_ = value; |
9452 | | // @@protoc_insertion_point(field_set:yb.master.SysSecurityConfigEntryPB.roles_version) |
9453 | 15.8k | } |
9454 | | |
9455 | | // ------------------------------------------------------------------- |
9456 | | |
9457 | | // SysYSQLCatalogConfigEntryPB |
9458 | | |
9459 | | // optional uint64 version = 1; |
9460 | 6.57k | inline bool SysYSQLCatalogConfigEntryPB::has_version() const { |
9461 | 6.57k | return (_has_bits_[0] & 0x00000002u) != 0; |
9462 | 6.57k | } |
9463 | 3.77k | inline void SysYSQLCatalogConfigEntryPB::set_has_version() { |
9464 | 3.77k | _has_bits_[0] |= 0x00000002u; |
9465 | 3.77k | } |
9466 | 0 | inline void SysYSQLCatalogConfigEntryPB::clear_has_version() { |
9467 | 0 | _has_bits_[0] &= ~0x00000002u; |
9468 | 0 | } |
9469 | 0 | inline void SysYSQLCatalogConfigEntryPB::clear_version() { |
9470 | 0 | version_ = GOOGLE_ULONGLONG(0); |
9471 | 0 | clear_has_version(); |
9472 | 0 | } |
9473 | 8.94M | inline ::google::protobuf::uint64 SysYSQLCatalogConfigEntryPB::version() const { |
9474 | | // @@protoc_insertion_point(field_get:yb.master.SysYSQLCatalogConfigEntryPB.version) |
9475 | 8.94M | return version_; |
9476 | 8.94M | } |
9477 | 2.92k | inline void SysYSQLCatalogConfigEntryPB::set_version(::google::protobuf::uint64 value) { |
9478 | 2.92k | set_has_version(); |
9479 | 2.92k | version_ = value; |
9480 | | // @@protoc_insertion_point(field_set:yb.master.SysYSQLCatalogConfigEntryPB.version) |
9481 | 2.92k | } |
9482 | | |
9483 | | // optional bool initdb_done = 2; |
9484 | 6.57k | inline bool SysYSQLCatalogConfigEntryPB::has_initdb_done() const { |
9485 | 6.57k | return (_has_bits_[0] & 0x00000004u) != 0; |
9486 | 6.57k | } |
9487 | 1.50k | inline void SysYSQLCatalogConfigEntryPB::set_has_initdb_done() { |
9488 | 1.50k | _has_bits_[0] |= 0x00000004u; |
9489 | 1.50k | } |
9490 | 0 | inline void SysYSQLCatalogConfigEntryPB::clear_has_initdb_done() { |
9491 | 0 | _has_bits_[0] &= ~0x00000004u; |
9492 | 0 | } |
9493 | 0 | inline void SysYSQLCatalogConfigEntryPB::clear_initdb_done() { |
9494 | 0 | initdb_done_ = false; |
9495 | 0 | clear_has_initdb_done(); |
9496 | 0 | } |
9497 | 4.47k | inline bool SysYSQLCatalogConfigEntryPB::initdb_done() const { |
9498 | | // @@protoc_insertion_point(field_get:yb.master.SysYSQLCatalogConfigEntryPB.initdb_done) |
9499 | 4.47k | return initdb_done_; |
9500 | 4.47k | } |
9501 | 747 | inline void SysYSQLCatalogConfigEntryPB::set_initdb_done(bool value) { |
9502 | 747 | set_has_initdb_done(); |
9503 | 747 | initdb_done_ = value; |
9504 | | // @@protoc_insertion_point(field_set:yb.master.SysYSQLCatalogConfigEntryPB.initdb_done) |
9505 | 747 | } |
9506 | | |
9507 | | // optional string initdb_error = 5; |
9508 | 8.78k | inline bool SysYSQLCatalogConfigEntryPB::has_initdb_error() const { |
9509 | 8.78k | return (_has_bits_[0] & 0x00000001u) != 0; |
9510 | 8.78k | } |
9511 | 0 | inline void SysYSQLCatalogConfigEntryPB::set_has_initdb_error() { |
9512 | 0 | _has_bits_[0] |= 0x00000001u; |
9513 | 0 | } |
9514 | 747 | inline void SysYSQLCatalogConfigEntryPB::clear_has_initdb_error() { |
9515 | 747 | _has_bits_[0] &= ~0x00000001u; |
9516 | 747 | } |
9517 | 747 | inline void SysYSQLCatalogConfigEntryPB::clear_initdb_error() { |
9518 | 747 | initdb_error_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9519 | 747 | clear_has_initdb_error(); |
9520 | 747 | } |
9521 | 0 | inline const ::std::string& SysYSQLCatalogConfigEntryPB::initdb_error() const { |
9522 | 0 | // @@protoc_insertion_point(field_get:yb.master.SysYSQLCatalogConfigEntryPB.initdb_error) |
9523 | 0 | return initdb_error_.GetNoArena(); |
9524 | 0 | } |
9525 | 0 | inline void SysYSQLCatalogConfigEntryPB::set_initdb_error(const ::std::string& value) { |
9526 | 0 | set_has_initdb_error(); |
9527 | 0 | initdb_error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
9528 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysYSQLCatalogConfigEntryPB.initdb_error) |
9529 | 0 | } |
9530 | | #if LANG_CXX11 |
9531 | 0 | inline void SysYSQLCatalogConfigEntryPB::set_initdb_error(::std::string&& value) { |
9532 | 0 | set_has_initdb_error(); |
9533 | 0 | initdb_error_.SetNoArena( |
9534 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
9535 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysYSQLCatalogConfigEntryPB.initdb_error) |
9536 | 0 | } |
9537 | | #endif |
9538 | 0 | inline void SysYSQLCatalogConfigEntryPB::set_initdb_error(const char* value) { |
9539 | 0 | GOOGLE_DCHECK(value != NULL); |
9540 | 0 | set_has_initdb_error(); |
9541 | 0 | initdb_error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
9542 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysYSQLCatalogConfigEntryPB.initdb_error) |
9543 | 0 | } |
9544 | 0 | inline void SysYSQLCatalogConfigEntryPB::set_initdb_error(const char* value, size_t size) { |
9545 | 0 | set_has_initdb_error(); |
9546 | 0 | initdb_error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
9547 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
9548 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysYSQLCatalogConfigEntryPB.initdb_error) |
9549 | 0 | } |
9550 | 0 | inline ::std::string* SysYSQLCatalogConfigEntryPB::mutable_initdb_error() { |
9551 | 0 | set_has_initdb_error(); |
9552 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysYSQLCatalogConfigEntryPB.initdb_error) |
9553 | 0 | return initdb_error_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9554 | 0 | } |
9555 | 0 | inline ::std::string* SysYSQLCatalogConfigEntryPB::release_initdb_error() { |
9556 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysYSQLCatalogConfigEntryPB.initdb_error) |
9557 | 0 | clear_has_initdb_error(); |
9558 | 0 | return initdb_error_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9559 | 0 | } |
9560 | 0 | inline void SysYSQLCatalogConfigEntryPB::set_allocated_initdb_error(::std::string* initdb_error) { |
9561 | 0 | if (initdb_error != NULL) { |
9562 | 0 | set_has_initdb_error(); |
9563 | 0 | } else { |
9564 | 0 | clear_has_initdb_error(); |
9565 | 0 | } |
9566 | 0 | initdb_error_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), initdb_error); |
9567 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysYSQLCatalogConfigEntryPB.initdb_error) |
9568 | 0 | } |
9569 | | |
9570 | | // optional bool transactional_sys_catalog_enabled = 6; |
9571 | 6.57k | inline bool SysYSQLCatalogConfigEntryPB::has_transactional_sys_catalog_enabled() const { |
9572 | 6.57k | return (_has_bits_[0] & 0x00000008u) != 0; |
9573 | 6.57k | } |
9574 | 3.00k | inline void SysYSQLCatalogConfigEntryPB::set_has_transactional_sys_catalog_enabled() { |
9575 | 3.00k | _has_bits_[0] |= 0x00000008u; |
9576 | 3.00k | } |
9577 | 0 | inline void SysYSQLCatalogConfigEntryPB::clear_has_transactional_sys_catalog_enabled() { |
9578 | 0 | _has_bits_[0] &= ~0x00000008u; |
9579 | 0 | } |
9580 | 0 | inline void SysYSQLCatalogConfigEntryPB::clear_transactional_sys_catalog_enabled() { |
9581 | 0 | transactional_sys_catalog_enabled_ = false; |
9582 | 0 | clear_has_transactional_sys_catalog_enabled(); |
9583 | 0 | } |
9584 | 5.91k | inline bool SysYSQLCatalogConfigEntryPB::transactional_sys_catalog_enabled() const { |
9585 | | // @@protoc_insertion_point(field_get:yb.master.SysYSQLCatalogConfigEntryPB.transactional_sys_catalog_enabled) |
9586 | 5.91k | return transactional_sys_catalog_enabled_; |
9587 | 5.91k | } |
9588 | 2.90k | inline void SysYSQLCatalogConfigEntryPB::set_transactional_sys_catalog_enabled(bool value) { |
9589 | 2.90k | set_has_transactional_sys_catalog_enabled(); |
9590 | 2.90k | transactional_sys_catalog_enabled_ = value; |
9591 | | // @@protoc_insertion_point(field_set:yb.master.SysYSQLCatalogConfigEntryPB.transactional_sys_catalog_enabled) |
9592 | 2.90k | } |
9593 | | |
9594 | | // ------------------------------------------------------------------- |
9595 | | |
9596 | | // SysTransactionTablesConfigEntryPB |
9597 | | |
9598 | | // optional uint64 version = 1; |
9599 | 5.94k | inline bool SysTransactionTablesConfigEntryPB::has_version() const { |
9600 | 5.94k | return (_has_bits_[0] & 0x00000001u) != 0; |
9601 | 5.94k | } |
9602 | 6.79k | inline void SysTransactionTablesConfigEntryPB::set_has_version() { |
9603 | 6.79k | _has_bits_[0] |= 0x00000001u; |
9604 | 6.79k | } |
9605 | 0 | inline void SysTransactionTablesConfigEntryPB::clear_has_version() { |
9606 | 0 | _has_bits_[0] &= ~0x00000001u; |
9607 | 0 | } |
9608 | 0 | inline void SysTransactionTablesConfigEntryPB::clear_version() { |
9609 | 0 | version_ = GOOGLE_ULONGLONG(0); |
9610 | 0 | clear_has_version(); |
9611 | 0 | } |
9612 | 4.82M | inline ::google::protobuf::uint64 SysTransactionTablesConfigEntryPB::version() const { |
9613 | | // @@protoc_insertion_point(field_get:yb.master.SysTransactionTablesConfigEntryPB.version) |
9614 | 4.82M | return version_; |
9615 | 4.82M | } |
9616 | 5.94k | inline void SysTransactionTablesConfigEntryPB::set_version(::google::protobuf::uint64 value) { |
9617 | 5.94k | set_has_version(); |
9618 | 5.94k | version_ = value; |
9619 | | // @@protoc_insertion_point(field_set:yb.master.SysTransactionTablesConfigEntryPB.version) |
9620 | 5.94k | } |
9621 | | |
9622 | | // ------------------------------------------------------------------- |
9623 | | |
9624 | | // SysConfigEntryPB |
9625 | | |
9626 | | // optional .yb.master.SysSecurityConfigEntryPB security_config = 1; |
9627 | 40.7k | inline bool SysConfigEntryPB::has_security_config() const { |
9628 | 40.7k | return config_case() == kSecurityConfig; |
9629 | 40.7k | } |
9630 | 10.6k | inline void SysConfigEntryPB::set_has_security_config() { |
9631 | 10.6k | _oneof_case_[0] = kSecurityConfig; |
9632 | 10.6k | } |
9633 | 0 | inline void SysConfigEntryPB::clear_security_config() { |
9634 | 0 | if (has_security_config()) { |
9635 | 0 | delete config_.security_config_; |
9636 | 0 | clear_has_config(); |
9637 | 0 | } |
9638 | 0 | } |
9639 | 0 | inline ::yb::master::SysSecurityConfigEntryPB* SysConfigEntryPB::release_security_config() { |
9640 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysConfigEntryPB.security_config) |
9641 | 0 | if (has_security_config()) { |
9642 | 0 | clear_has_config(); |
9643 | 0 | ::yb::master::SysSecurityConfigEntryPB* temp = config_.security_config_; |
9644 | 0 | config_.security_config_ = NULL; |
9645 | 0 | return temp; |
9646 | 0 | } else { |
9647 | 0 | return NULL; |
9648 | 0 | } |
9649 | 0 | } |
9650 | 24.0k | inline const ::yb::master::SysSecurityConfigEntryPB& SysConfigEntryPB::security_config() const { |
9651 | | // @@protoc_insertion_point(field_get:yb.master.SysConfigEntryPB.security_config) |
9652 | 24.0k | return has_security_config() |
9653 | 24.0k | ? *config_.security_config_ |
9654 | 24.0k | : *reinterpret_cast< ::yb::master::SysSecurityConfigEntryPB*>(&::yb::master::_SysSecurityConfigEntryPB_default_instance_)0 ; |
9655 | 24.0k | } |
9656 | 16.6k | inline ::yb::master::SysSecurityConfigEntryPB* SysConfigEntryPB::mutable_security_config() { |
9657 | 16.6k | if (!has_security_config()) { |
9658 | 10.6k | clear_config(); |
9659 | 10.6k | set_has_security_config(); |
9660 | 10.6k | config_.security_config_ = new ::yb::master::SysSecurityConfigEntryPB; |
9661 | 10.6k | } |
9662 | | // @@protoc_insertion_point(field_mutable:yb.master.SysConfigEntryPB.security_config) |
9663 | 16.6k | return config_.security_config_; |
9664 | 16.6k | } |
9665 | | |
9666 | | // optional .yb.master.SysYSQLCatalogConfigEntryPB ysql_catalog_config = 2; |
9667 | 8.95M | inline bool SysConfigEntryPB::has_ysql_catalog_config() const { |
9668 | 8.95M | return config_case() == kYsqlCatalogConfig; |
9669 | 8.95M | } |
9670 | 8.27k | inline void SysConfigEntryPB::set_has_ysql_catalog_config() { |
9671 | 8.27k | _oneof_case_[0] = kYsqlCatalogConfig; |
9672 | 8.27k | } |
9673 | 0 | inline void SysConfigEntryPB::clear_ysql_catalog_config() { |
9674 | 0 | if (has_ysql_catalog_config()) { |
9675 | 0 | delete config_.ysql_catalog_config_; |
9676 | 0 | clear_has_config(); |
9677 | 0 | } |
9678 | 0 | } |
9679 | 0 | inline ::yb::master::SysYSQLCatalogConfigEntryPB* SysConfigEntryPB::release_ysql_catalog_config() { |
9680 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysConfigEntryPB.ysql_catalog_config) |
9681 | 0 | if (has_ysql_catalog_config()) { |
9682 | 0 | clear_has_config(); |
9683 | 0 | ::yb::master::SysYSQLCatalogConfigEntryPB* temp = config_.ysql_catalog_config_; |
9684 | 0 | config_.ysql_catalog_config_ = NULL; |
9685 | 0 | return temp; |
9686 | 0 | } else { |
9687 | 0 | return NULL; |
9688 | 0 | } |
9689 | 0 | } |
9690 | 8.93M | inline const ::yb::master::SysYSQLCatalogConfigEntryPB& SysConfigEntryPB::ysql_catalog_config() const { |
9691 | | // @@protoc_insertion_point(field_get:yb.master.SysConfigEntryPB.ysql_catalog_config) |
9692 | 8.93M | return has_ysql_catalog_config() |
9693 | 8.93M | ? *config_.ysql_catalog_config_8.93M |
9694 | 8.93M | : *reinterpret_cast< ::yb::master::SysYSQLCatalogConfigEntryPB*>(&::yb::master::_SysYSQLCatalogConfigEntryPB_default_instance_)180 ; |
9695 | 8.93M | } |
9696 | 11.9k | inline ::yb::master::SysYSQLCatalogConfigEntryPB* SysConfigEntryPB::mutable_ysql_catalog_config() { |
9697 | 11.9k | if (!has_ysql_catalog_config()) { |
9698 | 8.27k | clear_config(); |
9699 | 8.27k | set_has_ysql_catalog_config(); |
9700 | 8.27k | config_.ysql_catalog_config_ = new ::yb::master::SysYSQLCatalogConfigEntryPB; |
9701 | 8.27k | } |
9702 | | // @@protoc_insertion_point(field_mutable:yb.master.SysConfigEntryPB.ysql_catalog_config) |
9703 | 11.9k | return config_.ysql_catalog_config_; |
9704 | 11.9k | } |
9705 | | |
9706 | | // optional .yb.master.SysTransactionTablesConfigEntryPB transaction_tables_config = 3; |
9707 | 4.82M | inline bool SysConfigEntryPB::has_transaction_tables_config() const { |
9708 | 4.82M | return config_case() == kTransactionTablesConfig; |
9709 | 4.82M | } |
9710 | 5.70k | inline void SysConfigEntryPB::set_has_transaction_tables_config() { |
9711 | 5.70k | _oneof_case_[0] = kTransactionTablesConfig; |
9712 | 5.70k | } |
9713 | 0 | inline void SysConfigEntryPB::clear_transaction_tables_config() { |
9714 | 0 | if (has_transaction_tables_config()) { |
9715 | 0 | delete config_.transaction_tables_config_; |
9716 | 0 | clear_has_config(); |
9717 | 0 | } |
9718 | 0 | } |
9719 | 0 | inline ::yb::master::SysTransactionTablesConfigEntryPB* SysConfigEntryPB::release_transaction_tables_config() { |
9720 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysConfigEntryPB.transaction_tables_config) |
9721 | 0 | if (has_transaction_tables_config()) { |
9722 | 0 | clear_has_config(); |
9723 | 0 | ::yb::master::SysTransactionTablesConfigEntryPB* temp = config_.transaction_tables_config_; |
9724 | 0 | config_.transaction_tables_config_ = NULL; |
9725 | 0 | return temp; |
9726 | 0 | } else { |
9727 | 0 | return NULL; |
9728 | 0 | } |
9729 | 0 | } |
9730 | 4.81M | inline const ::yb::master::SysTransactionTablesConfigEntryPB& SysConfigEntryPB::transaction_tables_config() const { |
9731 | | // @@protoc_insertion_point(field_get:yb.master.SysConfigEntryPB.transaction_tables_config) |
9732 | 4.81M | return has_transaction_tables_config() |
9733 | 4.81M | ? *config_.transaction_tables_config_4.81M |
9734 | 4.81M | : *reinterpret_cast< ::yb::master::SysTransactionTablesConfigEntryPB*>(&::yb::master::_SysTransactionTablesConfigEntryPB_default_instance_)95 ; |
9735 | 4.81M | } |
9736 | 6.79k | inline ::yb::master::SysTransactionTablesConfigEntryPB* SysConfigEntryPB::mutable_transaction_tables_config() { |
9737 | 6.79k | if (!has_transaction_tables_config()) { |
9738 | 5.70k | clear_config(); |
9739 | 5.70k | set_has_transaction_tables_config(); |
9740 | 5.70k | config_.transaction_tables_config_ = new ::yb::master::SysTransactionTablesConfigEntryPB; |
9741 | 5.70k | } |
9742 | | // @@protoc_insertion_point(field_mutable:yb.master.SysConfigEntryPB.transaction_tables_config) |
9743 | 6.79k | return config_.transaction_tables_config_; |
9744 | 6.79k | } |
9745 | | |
9746 | 49.1k | inline bool SysConfigEntryPB::has_config() const { |
9747 | 49.1k | return config_case() != CONFIG_NOT_SET; |
9748 | 49.1k | } |
9749 | 84.7k | inline void SysConfigEntryPB::clear_has_config() { |
9750 | 84.7k | _oneof_case_[0] = CONFIG_NOT_SET; |
9751 | 84.7k | } |
9752 | 13.9M | inline SysConfigEntryPB::ConfigCase SysConfigEntryPB::config_case() const { |
9753 | 13.9M | return SysConfigEntryPB::ConfigCase(_oneof_case_[0]); |
9754 | 13.9M | } |
9755 | | // ------------------------------------------------------------------- |
9756 | | |
9757 | | // SysRowEntry |
9758 | | |
9759 | | // optional .yb.master.SysRowEntryType type = 1; |
9760 | 407 | inline bool SysRowEntry::has_type() const { |
9761 | 407 | return (_has_bits_[0] & 0x00000004u) != 0; |
9762 | 407 | } |
9763 | 712 | inline void SysRowEntry::set_has_type() { |
9764 | 712 | _has_bits_[0] |= 0x00000004u; |
9765 | 712 | } |
9766 | 0 | inline void SysRowEntry::clear_has_type() { |
9767 | 0 | _has_bits_[0] &= ~0x00000004u; |
9768 | 0 | } |
9769 | 0 | inline void SysRowEntry::clear_type() { |
9770 | 0 | type_ = 0; |
9771 | 0 | clear_has_type(); |
9772 | 0 | } |
9773 | 948 | inline ::yb::master::SysRowEntryType SysRowEntry::type() const { |
9774 | | // @@protoc_insertion_point(field_get:yb.master.SysRowEntry.type) |
9775 | 948 | return static_cast< ::yb::master::SysRowEntryType >(type_); |
9776 | 948 | } |
9777 | 712 | inline void SysRowEntry::set_type(::yb::master::SysRowEntryType value) { |
9778 | 712 | assert(::yb::master::SysRowEntryType_IsValid(value)); |
9779 | 0 | set_has_type(); |
9780 | 712 | type_ = value; |
9781 | | // @@protoc_insertion_point(field_set:yb.master.SysRowEntry.type) |
9782 | 712 | } |
9783 | | |
9784 | | // optional string id = 2; |
9785 | 407 | inline bool SysRowEntry::has_id() const { |
9786 | 407 | return (_has_bits_[0] & 0x00000001u) != 0; |
9787 | 407 | } |
9788 | 1.25k | inline void SysRowEntry::set_has_id() { |
9789 | 1.25k | _has_bits_[0] |= 0x00000001u; |
9790 | 1.25k | } |
9791 | 0 | inline void SysRowEntry::clear_has_id() { |
9792 | 0 | _has_bits_[0] &= ~0x00000001u; |
9793 | 0 | } |
9794 | 0 | inline void SysRowEntry::clear_id() { |
9795 | 0 | id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9796 | 0 | clear_has_id(); |
9797 | 0 | } |
9798 | 2.55k | inline const ::std::string& SysRowEntry::id() const { |
9799 | | // @@protoc_insertion_point(field_get:yb.master.SysRowEntry.id) |
9800 | 2.55k | return id_.GetNoArena(); |
9801 | 2.55k | } |
9802 | 202 | inline void SysRowEntry::set_id(const ::std::string& value) { |
9803 | 202 | set_has_id(); |
9804 | 202 | id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
9805 | | // @@protoc_insertion_point(field_set:yb.master.SysRowEntry.id) |
9806 | 202 | } |
9807 | | #if LANG_CXX11 |
9808 | 0 | inline void SysRowEntry::set_id(::std::string&& value) { |
9809 | 0 | set_has_id(); |
9810 | 0 | id_.SetNoArena( |
9811 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
9812 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysRowEntry.id) |
9813 | 0 | } |
9814 | | #endif |
9815 | 0 | inline void SysRowEntry::set_id(const char* value) { |
9816 | 0 | GOOGLE_DCHECK(value != NULL); |
9817 | 0 | set_has_id(); |
9818 | 0 | id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
9819 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysRowEntry.id) |
9820 | 0 | } |
9821 | 0 | inline void SysRowEntry::set_id(const char* value, size_t size) { |
9822 | 0 | set_has_id(); |
9823 | 0 | id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
9824 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
9825 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysRowEntry.id) |
9826 | 0 | } |
9827 | 510 | inline ::std::string* SysRowEntry::mutable_id() { |
9828 | 510 | set_has_id(); |
9829 | | // @@protoc_insertion_point(field_mutable:yb.master.SysRowEntry.id) |
9830 | 510 | return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9831 | 510 | } |
9832 | 0 | inline ::std::string* SysRowEntry::release_id() { |
9833 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysRowEntry.id) |
9834 | 0 | clear_has_id(); |
9835 | 0 | return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9836 | 0 | } |
9837 | 0 | inline void SysRowEntry::set_allocated_id(::std::string* id) { |
9838 | 0 | if (id != NULL) { |
9839 | 0 | set_has_id(); |
9840 | 0 | } else { |
9841 | 0 | clear_has_id(); |
9842 | 0 | } |
9843 | 0 | id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id); |
9844 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysRowEntry.id) |
9845 | 0 | } |
9846 | | |
9847 | | // optional bytes data = 3; |
9848 | 407 | inline bool SysRowEntry::has_data() const { |
9849 | 407 | return (_has_bits_[0] & 0x00000002u) != 0; |
9850 | 407 | } |
9851 | 1.25k | inline void SysRowEntry::set_has_data() { |
9852 | 1.25k | _has_bits_[0] |= 0x00000002u; |
9853 | 1.25k | } |
9854 | 0 | inline void SysRowEntry::clear_has_data() { |
9855 | 0 | _has_bits_[0] &= ~0x00000002u; |
9856 | 0 | } |
9857 | 0 | inline void SysRowEntry::clear_data() { |
9858 | 0 | data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9859 | 0 | clear_has_data(); |
9860 | 0 | } |
9861 | 793 | inline const ::std::string& SysRowEntry::data() const { |
9862 | | // @@protoc_insertion_point(field_get:yb.master.SysRowEntry.data) |
9863 | 793 | return data_.GetNoArena(); |
9864 | 793 | } |
9865 | 0 | inline void SysRowEntry::set_data(const ::std::string& value) { |
9866 | 0 | set_has_data(); |
9867 | 0 | data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
9868 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysRowEntry.data) |
9869 | 0 | } |
9870 | | #if LANG_CXX11 |
9871 | 151 | inline void SysRowEntry::set_data(::std::string&& value) { |
9872 | 151 | set_has_data(); |
9873 | 151 | data_.SetNoArena( |
9874 | 151 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
9875 | | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysRowEntry.data) |
9876 | 151 | } |
9877 | | #endif |
9878 | 3 | inline void SysRowEntry::set_data(const char* value) { |
9879 | 3 | GOOGLE_DCHECK(value != NULL); |
9880 | 3 | set_has_data(); |
9881 | 3 | data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
9882 | | // @@protoc_insertion_point(field_set_char:yb.master.SysRowEntry.data) |
9883 | 3 | } |
9884 | 51 | inline void SysRowEntry::set_data(const void* value, size_t size) { |
9885 | 51 | set_has_data(); |
9886 | 51 | data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
9887 | 51 | ::std::string(reinterpret_cast<const char*>(value), size)); |
9888 | | // @@protoc_insertion_point(field_set_pointer:yb.master.SysRowEntry.data) |
9889 | 51 | } |
9890 | 510 | inline ::std::string* SysRowEntry::mutable_data() { |
9891 | 510 | set_has_data(); |
9892 | | // @@protoc_insertion_point(field_mutable:yb.master.SysRowEntry.data) |
9893 | 510 | return data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9894 | 510 | } |
9895 | 0 | inline ::std::string* SysRowEntry::release_data() { |
9896 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysRowEntry.data) |
9897 | 0 | clear_has_data(); |
9898 | 0 | return data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9899 | 0 | } |
9900 | 0 | inline void SysRowEntry::set_allocated_data(::std::string* data) { |
9901 | 0 | if (data != NULL) { |
9902 | 0 | set_has_data(); |
9903 | 0 | } else { |
9904 | 0 | clear_has_data(); |
9905 | 0 | } |
9906 | 0 | data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data); |
9907 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysRowEntry.data) |
9908 | 0 | } |
9909 | | |
9910 | | // ------------------------------------------------------------------- |
9911 | | |
9912 | | // SysRowEntries |
9913 | | |
9914 | | // repeated .yb.master.SysRowEntry entries = 1; |
9915 | 42 | inline int SysRowEntries::entries_size() const { |
9916 | 42 | return entries_.size(); |
9917 | 42 | } |
9918 | 0 | inline void SysRowEntries::clear_entries() { |
9919 | 0 | entries_.Clear(); |
9920 | 0 | } |
9921 | 122 | inline const ::yb::master::SysRowEntry& SysRowEntries::entries(int index) const { |
9922 | | // @@protoc_insertion_point(field_get:yb.master.SysRowEntries.entries) |
9923 | 122 | return entries_.Get(index); |
9924 | 122 | } |
9925 | 0 | inline ::yb::master::SysRowEntry* SysRowEntries::mutable_entries(int index) { |
9926 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysRowEntries.entries) |
9927 | 0 | return entries_.Mutable(index); |
9928 | 0 | } |
9929 | 143 | inline ::yb::master::SysRowEntry* SysRowEntries::add_entries() { |
9930 | | // @@protoc_insertion_point(field_add:yb.master.SysRowEntries.entries) |
9931 | 143 | return entries_.Add(); |
9932 | 143 | } |
9933 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::SysRowEntry >* |
9934 | 214 | SysRowEntries::mutable_entries() { |
9935 | | // @@protoc_insertion_point(field_mutable_list:yb.master.SysRowEntries.entries) |
9936 | 214 | return &entries_; |
9937 | 214 | } |
9938 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::SysRowEntry >& |
9939 | 143 | SysRowEntries::entries() const { |
9940 | | // @@protoc_insertion_point(field_list:yb.master.SysRowEntries.entries) |
9941 | 143 | return entries_; |
9942 | 143 | } |
9943 | | |
9944 | | // ------------------------------------------------------------------- |
9945 | | |
9946 | | // DdlLogEntryPB |
9947 | | |
9948 | | // optional .yb.TableType table_type = 1; |
9949 | 6.49k | inline bool DdlLogEntryPB::has_table_type() const { |
9950 | 6.49k | return (_has_bits_[0] & 0x00000040u) != 0; |
9951 | 6.49k | } |
9952 | 7.60k | inline void DdlLogEntryPB::set_has_table_type() { |
9953 | 7.60k | _has_bits_[0] |= 0x00000040u; |
9954 | 7.60k | } |
9955 | 0 | inline void DdlLogEntryPB::clear_has_table_type() { |
9956 | 0 | _has_bits_[0] &= ~0x00000040u; |
9957 | 0 | } |
9958 | 0 | inline void DdlLogEntryPB::clear_table_type() { |
9959 | 0 | table_type_ = 2; |
9960 | 0 | clear_has_table_type(); |
9961 | 0 | } |
9962 | 12.9k | inline ::yb::TableType DdlLogEntryPB::table_type() const { |
9963 | | // @@protoc_insertion_point(field_get:yb.master.DdlLogEntryPB.table_type) |
9964 | 12.9k | return static_cast< ::yb::TableType >(table_type_); |
9965 | 12.9k | } |
9966 | 7.60k | inline void DdlLogEntryPB::set_table_type(::yb::TableType value) { |
9967 | 7.60k | assert(::yb::TableType_IsValid(value)); |
9968 | 0 | set_has_table_type(); |
9969 | 7.60k | table_type_ = value; |
9970 | | // @@protoc_insertion_point(field_set:yb.master.DdlLogEntryPB.table_type) |
9971 | 7.60k | } |
9972 | | |
9973 | | // optional string namespace_name = 2; |
9974 | 6.49k | inline bool DdlLogEntryPB::has_namespace_name() const { |
9975 | 6.49k | return (_has_bits_[0] & 0x00000001u) != 0; |
9976 | 6.49k | } |
9977 | 7.60k | inline void DdlLogEntryPB::set_has_namespace_name() { |
9978 | 7.60k | _has_bits_[0] |= 0x00000001u; |
9979 | 7.60k | } |
9980 | 0 | inline void DdlLogEntryPB::clear_has_namespace_name() { |
9981 | 0 | _has_bits_[0] &= ~0x00000001u; |
9982 | 0 | } |
9983 | 0 | inline void DdlLogEntryPB::clear_namespace_name() { |
9984 | 0 | namespace_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9985 | 0 | clear_has_namespace_name(); |
9986 | 0 | } |
9987 | 25.9k | inline const ::std::string& DdlLogEntryPB::namespace_name() const { |
9988 | | // @@protoc_insertion_point(field_get:yb.master.DdlLogEntryPB.namespace_name) |
9989 | 25.9k | return namespace_name_.GetNoArena(); |
9990 | 25.9k | } |
9991 | 7.60k | inline void DdlLogEntryPB::set_namespace_name(const ::std::string& value) { |
9992 | 7.60k | set_has_namespace_name(); |
9993 | 7.60k | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
9994 | | // @@protoc_insertion_point(field_set:yb.master.DdlLogEntryPB.namespace_name) |
9995 | 7.60k | } |
9996 | | #if LANG_CXX11 |
9997 | 0 | inline void DdlLogEntryPB::set_namespace_name(::std::string&& value) { |
9998 | 0 | set_has_namespace_name(); |
9999 | 0 | namespace_name_.SetNoArena( |
10000 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10001 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.DdlLogEntryPB.namespace_name) |
10002 | 0 | } |
10003 | | #endif |
10004 | 0 | inline void DdlLogEntryPB::set_namespace_name(const char* value) { |
10005 | 0 | GOOGLE_DCHECK(value != NULL); |
10006 | 0 | set_has_namespace_name(); |
10007 | 0 | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10008 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.DdlLogEntryPB.namespace_name) |
10009 | 0 | } |
10010 | 0 | inline void DdlLogEntryPB::set_namespace_name(const char* value, size_t size) { |
10011 | 0 | set_has_namespace_name(); |
10012 | 0 | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10013 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10014 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.DdlLogEntryPB.namespace_name) |
10015 | 0 | } |
10016 | 6 | inline ::std::string* DdlLogEntryPB::mutable_namespace_name() { |
10017 | 6 | set_has_namespace_name(); |
10018 | | // @@protoc_insertion_point(field_mutable:yb.master.DdlLogEntryPB.namespace_name) |
10019 | 6 | return namespace_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10020 | 6 | } |
10021 | 0 | inline ::std::string* DdlLogEntryPB::release_namespace_name() { |
10022 | 0 | // @@protoc_insertion_point(field_release:yb.master.DdlLogEntryPB.namespace_name) |
10023 | 0 | clear_has_namespace_name(); |
10024 | 0 | return namespace_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10025 | 0 | } |
10026 | 0 | inline void DdlLogEntryPB::set_allocated_namespace_name(::std::string* namespace_name) { |
10027 | 0 | if (namespace_name != NULL) { |
10028 | 0 | set_has_namespace_name(); |
10029 | 0 | } else { |
10030 | 0 | clear_has_namespace_name(); |
10031 | 0 | } |
10032 | 0 | namespace_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_name); |
10033 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.DdlLogEntryPB.namespace_name) |
10034 | 0 | } |
10035 | | |
10036 | | // optional string namespace_id = 3; |
10037 | 6.49k | inline bool DdlLogEntryPB::has_namespace_id() const { |
10038 | 6.49k | return (_has_bits_[0] & 0x00000002u) != 0; |
10039 | 6.49k | } |
10040 | 7.60k | inline void DdlLogEntryPB::set_has_namespace_id() { |
10041 | 7.60k | _has_bits_[0] |= 0x00000002u; |
10042 | 7.60k | } |
10043 | 0 | inline void DdlLogEntryPB::clear_has_namespace_id() { |
10044 | 0 | _has_bits_[0] &= ~0x00000002u; |
10045 | 0 | } |
10046 | 0 | inline void DdlLogEntryPB::clear_namespace_id() { |
10047 | 0 | namespace_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10048 | 0 | clear_has_namespace_id(); |
10049 | 0 | } |
10050 | 25.9k | inline const ::std::string& DdlLogEntryPB::namespace_id() const { |
10051 | | // @@protoc_insertion_point(field_get:yb.master.DdlLogEntryPB.namespace_id) |
10052 | 25.9k | return namespace_id_.GetNoArena(); |
10053 | 25.9k | } |
10054 | 7.60k | inline void DdlLogEntryPB::set_namespace_id(const ::std::string& value) { |
10055 | 7.60k | set_has_namespace_id(); |
10056 | 7.60k | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10057 | | // @@protoc_insertion_point(field_set:yb.master.DdlLogEntryPB.namespace_id) |
10058 | 7.60k | } |
10059 | | #if LANG_CXX11 |
10060 | 0 | inline void DdlLogEntryPB::set_namespace_id(::std::string&& value) { |
10061 | 0 | set_has_namespace_id(); |
10062 | 0 | namespace_id_.SetNoArena( |
10063 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10064 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.DdlLogEntryPB.namespace_id) |
10065 | 0 | } |
10066 | | #endif |
10067 | 0 | inline void DdlLogEntryPB::set_namespace_id(const char* value) { |
10068 | 0 | GOOGLE_DCHECK(value != NULL); |
10069 | 0 | set_has_namespace_id(); |
10070 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10071 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.DdlLogEntryPB.namespace_id) |
10072 | 0 | } |
10073 | 0 | inline void DdlLogEntryPB::set_namespace_id(const char* value, size_t size) { |
10074 | 0 | set_has_namespace_id(); |
10075 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10076 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10077 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.DdlLogEntryPB.namespace_id) |
10078 | 0 | } |
10079 | 6 | inline ::std::string* DdlLogEntryPB::mutable_namespace_id() { |
10080 | 6 | set_has_namespace_id(); |
10081 | | // @@protoc_insertion_point(field_mutable:yb.master.DdlLogEntryPB.namespace_id) |
10082 | 6 | return namespace_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10083 | 6 | } |
10084 | 0 | inline ::std::string* DdlLogEntryPB::release_namespace_id() { |
10085 | 0 | // @@protoc_insertion_point(field_release:yb.master.DdlLogEntryPB.namespace_id) |
10086 | 0 | clear_has_namespace_id(); |
10087 | 0 | return namespace_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10088 | 0 | } |
10089 | 0 | inline void DdlLogEntryPB::set_allocated_namespace_id(::std::string* namespace_id) { |
10090 | 0 | if (namespace_id != NULL) { |
10091 | 0 | set_has_namespace_id(); |
10092 | 0 | } else { |
10093 | 0 | clear_has_namespace_id(); |
10094 | 0 | } |
10095 | 0 | namespace_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_id); |
10096 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.DdlLogEntryPB.namespace_id) |
10097 | 0 | } |
10098 | | |
10099 | | // optional string table_name = 4; |
10100 | 6.49k | inline bool DdlLogEntryPB::has_table_name() const { |
10101 | 6.49k | return (_has_bits_[0] & 0x00000004u) != 0; |
10102 | 6.49k | } |
10103 | 7.60k | inline void DdlLogEntryPB::set_has_table_name() { |
10104 | 7.60k | _has_bits_[0] |= 0x00000004u; |
10105 | 7.60k | } |
10106 | 0 | inline void DdlLogEntryPB::clear_has_table_name() { |
10107 | 0 | _has_bits_[0] &= ~0x00000004u; |
10108 | 0 | } |
10109 | 0 | inline void DdlLogEntryPB::clear_table_name() { |
10110 | 0 | table_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10111 | 0 | clear_has_table_name(); |
10112 | 0 | } |
10113 | 25.9k | inline const ::std::string& DdlLogEntryPB::table_name() const { |
10114 | | // @@protoc_insertion_point(field_get:yb.master.DdlLogEntryPB.table_name) |
10115 | 25.9k | return table_name_.GetNoArena(); |
10116 | 25.9k | } |
10117 | 7.60k | inline void DdlLogEntryPB::set_table_name(const ::std::string& value) { |
10118 | 7.60k | set_has_table_name(); |
10119 | 7.60k | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10120 | | // @@protoc_insertion_point(field_set:yb.master.DdlLogEntryPB.table_name) |
10121 | 7.60k | } |
10122 | | #if LANG_CXX11 |
10123 | 0 | inline void DdlLogEntryPB::set_table_name(::std::string&& value) { |
10124 | 0 | set_has_table_name(); |
10125 | 0 | table_name_.SetNoArena( |
10126 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10127 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.DdlLogEntryPB.table_name) |
10128 | 0 | } |
10129 | | #endif |
10130 | 0 | inline void DdlLogEntryPB::set_table_name(const char* value) { |
10131 | 0 | GOOGLE_DCHECK(value != NULL); |
10132 | 0 | set_has_table_name(); |
10133 | 0 | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10134 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.DdlLogEntryPB.table_name) |
10135 | 0 | } |
10136 | 0 | inline void DdlLogEntryPB::set_table_name(const char* value, size_t size) { |
10137 | 0 | set_has_table_name(); |
10138 | 0 | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10139 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10140 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.DdlLogEntryPB.table_name) |
10141 | 0 | } |
10142 | 6 | inline ::std::string* DdlLogEntryPB::mutable_table_name() { |
10143 | 6 | set_has_table_name(); |
10144 | | // @@protoc_insertion_point(field_mutable:yb.master.DdlLogEntryPB.table_name) |
10145 | 6 | return table_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10146 | 6 | } |
10147 | 0 | inline ::std::string* DdlLogEntryPB::release_table_name() { |
10148 | 0 | // @@protoc_insertion_point(field_release:yb.master.DdlLogEntryPB.table_name) |
10149 | 0 | clear_has_table_name(); |
10150 | 0 | return table_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10151 | 0 | } |
10152 | 0 | inline void DdlLogEntryPB::set_allocated_table_name(::std::string* table_name) { |
10153 | 0 | if (table_name != NULL) { |
10154 | 0 | set_has_table_name(); |
10155 | 0 | } else { |
10156 | 0 | clear_has_table_name(); |
10157 | 0 | } |
10158 | 0 | table_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_name); |
10159 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.DdlLogEntryPB.table_name) |
10160 | 0 | } |
10161 | | |
10162 | | // optional string table_id = 5; |
10163 | 6.49k | inline bool DdlLogEntryPB::has_table_id() const { |
10164 | 6.49k | return (_has_bits_[0] & 0x00000008u) != 0; |
10165 | 6.49k | } |
10166 | 7.60k | inline void DdlLogEntryPB::set_has_table_id() { |
10167 | 7.60k | _has_bits_[0] |= 0x00000008u; |
10168 | 7.60k | } |
10169 | 0 | inline void DdlLogEntryPB::clear_has_table_id() { |
10170 | 0 | _has_bits_[0] &= ~0x00000008u; |
10171 | 0 | } |
10172 | 0 | inline void DdlLogEntryPB::clear_table_id() { |
10173 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10174 | 0 | clear_has_table_id(); |
10175 | 0 | } |
10176 | 25.9k | inline const ::std::string& DdlLogEntryPB::table_id() const { |
10177 | | // @@protoc_insertion_point(field_get:yb.master.DdlLogEntryPB.table_id) |
10178 | 25.9k | return table_id_.GetNoArena(); |
10179 | 25.9k | } |
10180 | 7.60k | inline void DdlLogEntryPB::set_table_id(const ::std::string& value) { |
10181 | 7.60k | set_has_table_id(); |
10182 | 7.60k | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10183 | | // @@protoc_insertion_point(field_set:yb.master.DdlLogEntryPB.table_id) |
10184 | 7.60k | } |
10185 | | #if LANG_CXX11 |
10186 | 0 | inline void DdlLogEntryPB::set_table_id(::std::string&& value) { |
10187 | 0 | set_has_table_id(); |
10188 | 0 | table_id_.SetNoArena( |
10189 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10190 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.DdlLogEntryPB.table_id) |
10191 | 0 | } |
10192 | | #endif |
10193 | 0 | inline void DdlLogEntryPB::set_table_id(const char* value) { |
10194 | 0 | GOOGLE_DCHECK(value != NULL); |
10195 | 0 | set_has_table_id(); |
10196 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10197 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.DdlLogEntryPB.table_id) |
10198 | 0 | } |
10199 | 0 | inline void DdlLogEntryPB::set_table_id(const char* value, size_t size) { |
10200 | 0 | set_has_table_id(); |
10201 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10202 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10203 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.DdlLogEntryPB.table_id) |
10204 | 0 | } |
10205 | 6 | inline ::std::string* DdlLogEntryPB::mutable_table_id() { |
10206 | 6 | set_has_table_id(); |
10207 | | // @@protoc_insertion_point(field_mutable:yb.master.DdlLogEntryPB.table_id) |
10208 | 6 | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10209 | 6 | } |
10210 | 0 | inline ::std::string* DdlLogEntryPB::release_table_id() { |
10211 | 0 | // @@protoc_insertion_point(field_release:yb.master.DdlLogEntryPB.table_id) |
10212 | 0 | clear_has_table_id(); |
10213 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10214 | 0 | } |
10215 | 0 | inline void DdlLogEntryPB::set_allocated_table_id(::std::string* table_id) { |
10216 | 0 | if (table_id != NULL) { |
10217 | 0 | set_has_table_id(); |
10218 | 0 | } else { |
10219 | 0 | clear_has_table_id(); |
10220 | 0 | } |
10221 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
10222 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.DdlLogEntryPB.table_id) |
10223 | 0 | } |
10224 | | |
10225 | | // optional string action = 6; |
10226 | 6.49k | inline bool DdlLogEntryPB::has_action() const { |
10227 | 6.49k | return (_has_bits_[0] & 0x00000010u) != 0; |
10228 | 6.49k | } |
10229 | 7.60k | inline void DdlLogEntryPB::set_has_action() { |
10230 | 7.60k | _has_bits_[0] |= 0x00000010u; |
10231 | 7.60k | } |
10232 | 0 | inline void DdlLogEntryPB::clear_has_action() { |
10233 | 0 | _has_bits_[0] &= ~0x00000010u; |
10234 | 0 | } |
10235 | 0 | inline void DdlLogEntryPB::clear_action() { |
10236 | 0 | action_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10237 | 0 | clear_has_action(); |
10238 | 0 | } |
10239 | 25.9k | inline const ::std::string& DdlLogEntryPB::action() const { |
10240 | | // @@protoc_insertion_point(field_get:yb.master.DdlLogEntryPB.action) |
10241 | 25.9k | return action_.GetNoArena(); |
10242 | 25.9k | } |
10243 | 7.60k | inline void DdlLogEntryPB::set_action(const ::std::string& value) { |
10244 | 7.60k | set_has_action(); |
10245 | 7.60k | action_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10246 | | // @@protoc_insertion_point(field_set:yb.master.DdlLogEntryPB.action) |
10247 | 7.60k | } |
10248 | | #if LANG_CXX11 |
10249 | 0 | inline void DdlLogEntryPB::set_action(::std::string&& value) { |
10250 | 0 | set_has_action(); |
10251 | 0 | action_.SetNoArena( |
10252 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10253 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.DdlLogEntryPB.action) |
10254 | 0 | } |
10255 | | #endif |
10256 | 0 | inline void DdlLogEntryPB::set_action(const char* value) { |
10257 | 0 | GOOGLE_DCHECK(value != NULL); |
10258 | 0 | set_has_action(); |
10259 | 0 | action_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10260 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.DdlLogEntryPB.action) |
10261 | 0 | } |
10262 | 0 | inline void DdlLogEntryPB::set_action(const char* value, size_t size) { |
10263 | 0 | set_has_action(); |
10264 | 0 | action_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10265 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10266 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.DdlLogEntryPB.action) |
10267 | 0 | } |
10268 | 6 | inline ::std::string* DdlLogEntryPB::mutable_action() { |
10269 | 6 | set_has_action(); |
10270 | | // @@protoc_insertion_point(field_mutable:yb.master.DdlLogEntryPB.action) |
10271 | 6 | return action_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10272 | 6 | } |
10273 | 0 | inline ::std::string* DdlLogEntryPB::release_action() { |
10274 | 0 | // @@protoc_insertion_point(field_release:yb.master.DdlLogEntryPB.action) |
10275 | 0 | clear_has_action(); |
10276 | 0 | return action_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10277 | 0 | } |
10278 | 0 | inline void DdlLogEntryPB::set_allocated_action(::std::string* action) { |
10279 | 0 | if (action != NULL) { |
10280 | 0 | set_has_action(); |
10281 | 0 | } else { |
10282 | 0 | clear_has_action(); |
10283 | 0 | } |
10284 | 0 | action_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), action); |
10285 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.DdlLogEntryPB.action) |
10286 | 0 | } |
10287 | | |
10288 | | // optional fixed64 time = 7; |
10289 | 6.49k | inline bool DdlLogEntryPB::has_time() const { |
10290 | 6.49k | return (_has_bits_[0] & 0x00000020u) != 0; |
10291 | 6.49k | } |
10292 | 7.60k | inline void DdlLogEntryPB::set_has_time() { |
10293 | 7.60k | _has_bits_[0] |= 0x00000020u; |
10294 | 7.60k | } |
10295 | 0 | inline void DdlLogEntryPB::clear_has_time() { |
10296 | 0 | _has_bits_[0] &= ~0x00000020u; |
10297 | 0 | } |
10298 | 0 | inline void DdlLogEntryPB::clear_time() { |
10299 | 0 | time_ = GOOGLE_ULONGLONG(0); |
10300 | 0 | clear_has_time(); |
10301 | 0 | } |
10302 | 12.9k | inline ::google::protobuf::uint64 DdlLogEntryPB::time() const { |
10303 | | // @@protoc_insertion_point(field_get:yb.master.DdlLogEntryPB.time) |
10304 | 12.9k | return time_; |
10305 | 12.9k | } |
10306 | 7.60k | inline void DdlLogEntryPB::set_time(::google::protobuf::uint64 value) { |
10307 | 7.60k | set_has_time(); |
10308 | 7.60k | time_ = value; |
10309 | | // @@protoc_insertion_point(field_set:yb.master.DdlLogEntryPB.time) |
10310 | 7.60k | } |
10311 | | |
10312 | | // ------------------------------------------------------------------- |
10313 | | |
10314 | | // CDCStreamOptionsPB |
10315 | | |
10316 | | // optional string key = 1; |
10317 | 94.6k | inline bool CDCStreamOptionsPB::has_key() const { |
10318 | 94.6k | return (_has_bits_[0] & 0x00000001u) != 0; |
10319 | 94.6k | } |
10320 | 72.6k | inline void CDCStreamOptionsPB::set_has_key() { |
10321 | 72.6k | _has_bits_[0] |= 0x00000001u; |
10322 | 72.6k | } |
10323 | 0 | inline void CDCStreamOptionsPB::clear_has_key() { |
10324 | 0 | _has_bits_[0] &= ~0x00000001u; |
10325 | 0 | } |
10326 | 0 | inline void CDCStreamOptionsPB::clear_key() { |
10327 | 0 | key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10328 | 0 | clear_has_key(); |
10329 | 0 | } |
10330 | 289k | inline const ::std::string& CDCStreamOptionsPB::key() const { |
10331 | | // @@protoc_insertion_point(field_get:yb.master.CDCStreamOptionsPB.key) |
10332 | 289k | return key_.GetNoArena(); |
10333 | 289k | } |
10334 | 22.2k | inline void CDCStreamOptionsPB::set_key(const ::std::string& value) { |
10335 | 22.2k | set_has_key(); |
10336 | 22.2k | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10337 | | // @@protoc_insertion_point(field_set:yb.master.CDCStreamOptionsPB.key) |
10338 | 22.2k | } |
10339 | | #if LANG_CXX11 |
10340 | 0 | inline void CDCStreamOptionsPB::set_key(::std::string&& value) { |
10341 | 0 | set_has_key(); |
10342 | 0 | key_.SetNoArena( |
10343 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10344 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.CDCStreamOptionsPB.key) |
10345 | 0 | } |
10346 | | #endif |
10347 | 1 | inline void CDCStreamOptionsPB::set_key(const char* value) { |
10348 | 1 | GOOGLE_DCHECK(value != NULL); |
10349 | 1 | set_has_key(); |
10350 | 1 | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10351 | | // @@protoc_insertion_point(field_set_char:yb.master.CDCStreamOptionsPB.key) |
10352 | 1 | } |
10353 | 0 | inline void CDCStreamOptionsPB::set_key(const char* value, size_t size) { |
10354 | 0 | set_has_key(); |
10355 | 0 | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10356 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10357 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.CDCStreamOptionsPB.key) |
10358 | 0 | } |
10359 | 22.2k | inline ::std::string* CDCStreamOptionsPB::mutable_key() { |
10360 | 22.2k | set_has_key(); |
10361 | | // @@protoc_insertion_point(field_mutable:yb.master.CDCStreamOptionsPB.key) |
10362 | 22.2k | return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10363 | 22.2k | } |
10364 | 0 | inline ::std::string* CDCStreamOptionsPB::release_key() { |
10365 | 0 | // @@protoc_insertion_point(field_release:yb.master.CDCStreamOptionsPB.key) |
10366 | 0 | clear_has_key(); |
10367 | 0 | return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10368 | 0 | } |
10369 | 0 | inline void CDCStreamOptionsPB::set_allocated_key(::std::string* key) { |
10370 | 0 | if (key != NULL) { |
10371 | 0 | set_has_key(); |
10372 | 0 | } else { |
10373 | 0 | clear_has_key(); |
10374 | 0 | } |
10375 | 0 | key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); |
10376 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.CDCStreamOptionsPB.key) |
10377 | 0 | } |
10378 | | |
10379 | | // optional bytes value = 2; |
10380 | 94.6k | inline bool CDCStreamOptionsPB::has_value() const { |
10381 | 94.6k | return (_has_bits_[0] & 0x00000002u) != 0; |
10382 | 94.6k | } |
10383 | 72.6k | inline void CDCStreamOptionsPB::set_has_value() { |
10384 | 72.6k | _has_bits_[0] |= 0x00000002u; |
10385 | 72.6k | } |
10386 | 0 | inline void CDCStreamOptionsPB::clear_has_value() { |
10387 | 0 | _has_bits_[0] &= ~0x00000002u; |
10388 | 0 | } |
10389 | 0 | inline void CDCStreamOptionsPB::clear_value() { |
10390 | 0 | value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10391 | 0 | clear_has_value(); |
10392 | 0 | } |
10393 | 122k | inline const ::std::string& CDCStreamOptionsPB::value() const { |
10394 | | // @@protoc_insertion_point(field_get:yb.master.CDCStreamOptionsPB.value) |
10395 | 122k | return value_.GetNoArena(); |
10396 | 122k | } |
10397 | 22.2k | inline void CDCStreamOptionsPB::set_value(const ::std::string& value) { |
10398 | 22.2k | set_has_value(); |
10399 | 22.2k | value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10400 | | // @@protoc_insertion_point(field_set:yb.master.CDCStreamOptionsPB.value) |
10401 | 22.2k | } |
10402 | | #if LANG_CXX11 |
10403 | 0 | inline void CDCStreamOptionsPB::set_value(::std::string&& value) { |
10404 | 0 | set_has_value(); |
10405 | 0 | value_.SetNoArena( |
10406 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10407 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.CDCStreamOptionsPB.value) |
10408 | 0 | } |
10409 | | #endif |
10410 | 0 | inline void CDCStreamOptionsPB::set_value(const char* value) { |
10411 | 0 | GOOGLE_DCHECK(value != NULL); |
10412 | 0 | set_has_value(); |
10413 | 0 | value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10414 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.CDCStreamOptionsPB.value) |
10415 | 0 | } |
10416 | 0 | inline void CDCStreamOptionsPB::set_value(const void* value, size_t size) { |
10417 | 0 | set_has_value(); |
10418 | 0 | value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10419 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10420 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.CDCStreamOptionsPB.value) |
10421 | 0 | } |
10422 | 22.2k | inline ::std::string* CDCStreamOptionsPB::mutable_value() { |
10423 | 22.2k | set_has_value(); |
10424 | | // @@protoc_insertion_point(field_mutable:yb.master.CDCStreamOptionsPB.value) |
10425 | 22.2k | return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10426 | 22.2k | } |
10427 | 0 | inline ::std::string* CDCStreamOptionsPB::release_value() { |
10428 | 0 | // @@protoc_insertion_point(field_release:yb.master.CDCStreamOptionsPB.value) |
10429 | 0 | clear_has_value(); |
10430 | 0 | return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10431 | 0 | } |
10432 | 0 | inline void CDCStreamOptionsPB::set_allocated_value(::std::string* value) { |
10433 | 0 | if (value != NULL) { |
10434 | 0 | set_has_value(); |
10435 | 0 | } else { |
10436 | 0 | clear_has_value(); |
10437 | 0 | } |
10438 | 0 | value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10439 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.CDCStreamOptionsPB.value) |
10440 | 0 | } |
10441 | | |
10442 | | // ------------------------------------------------------------------- |
10443 | | |
10444 | | // SysCDCStreamEntryPB |
10445 | | |
10446 | | // repeated string table_id = 1; |
10447 | 16.6k | inline int SysCDCStreamEntryPB::table_id_size() const { |
10448 | 16.6k | return table_id_.size(); |
10449 | 16.6k | } |
10450 | 0 | inline void SysCDCStreamEntryPB::clear_table_id() { |
10451 | 0 | table_id_.Clear(); |
10452 | 0 | } |
10453 | 367k | inline const ::std::string& SysCDCStreamEntryPB::table_id(int index) const { |
10454 | | // @@protoc_insertion_point(field_get:yb.master.SysCDCStreamEntryPB.table_id) |
10455 | 367k | return table_id_.Get(index); |
10456 | 367k | } |
10457 | 0 | inline ::std::string* SysCDCStreamEntryPB::mutable_table_id(int index) { |
10458 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysCDCStreamEntryPB.table_id) |
10459 | 0 | return table_id_.Mutable(index); |
10460 | 0 | } |
10461 | 0 | inline void SysCDCStreamEntryPB::set_table_id(int index, const ::std::string& value) { |
10462 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysCDCStreamEntryPB.table_id) |
10463 | 0 | table_id_.Mutable(index)->assign(value); |
10464 | 0 | } |
10465 | | #if LANG_CXX11 |
10466 | 0 | inline void SysCDCStreamEntryPB::set_table_id(int index, ::std::string&& value) { |
10467 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysCDCStreamEntryPB.table_id) |
10468 | 0 | table_id_.Mutable(index)->assign(std::move(value)); |
10469 | 0 | } |
10470 | | #endif |
10471 | 0 | inline void SysCDCStreamEntryPB::set_table_id(int index, const char* value) { |
10472 | 0 | GOOGLE_DCHECK(value != NULL); |
10473 | 0 | table_id_.Mutable(index)->assign(value); |
10474 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysCDCStreamEntryPB.table_id) |
10475 | 0 | } |
10476 | 0 | inline void SysCDCStreamEntryPB::set_table_id(int index, const char* value, size_t size) { |
10477 | 0 | table_id_.Mutable(index)->assign( |
10478 | 0 | reinterpret_cast<const char*>(value), size); |
10479 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysCDCStreamEntryPB.table_id) |
10480 | 0 | } |
10481 | 1 | inline ::std::string* SysCDCStreamEntryPB::add_table_id() { |
10482 | | // @@protoc_insertion_point(field_add_mutable:yb.master.SysCDCStreamEntryPB.table_id) |
10483 | 1 | return table_id_.Add(); |
10484 | 1 | } |
10485 | 5.19k | inline void SysCDCStreamEntryPB::add_table_id(const ::std::string& value) { |
10486 | 5.19k | table_id_.Add()->assign(value); |
10487 | | // @@protoc_insertion_point(field_add:yb.master.SysCDCStreamEntryPB.table_id) |
10488 | 5.19k | } |
10489 | | #if LANG_CXX11 |
10490 | 0 | inline void SysCDCStreamEntryPB::add_table_id(::std::string&& value) { |
10491 | 0 | table_id_.Add(std::move(value)); |
10492 | 0 | // @@protoc_insertion_point(field_add:yb.master.SysCDCStreamEntryPB.table_id) |
10493 | 0 | } |
10494 | | #endif |
10495 | | inline void SysCDCStreamEntryPB::add_table_id(const char* value) { |
10496 | | GOOGLE_DCHECK(value != NULL); |
10497 | | table_id_.Add()->assign(value); |
10498 | | // @@protoc_insertion_point(field_add_char:yb.master.SysCDCStreamEntryPB.table_id) |
10499 | | } |
10500 | 0 | inline void SysCDCStreamEntryPB::add_table_id(const char* value, size_t size) { |
10501 | 0 | table_id_.Add()->assign(reinterpret_cast<const char*>(value), size); |
10502 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.SysCDCStreamEntryPB.table_id) |
10503 | 0 | } |
10504 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
10505 | 230 | SysCDCStreamEntryPB::table_id() const { |
10506 | | // @@protoc_insertion_point(field_list:yb.master.SysCDCStreamEntryPB.table_id) |
10507 | 230 | return table_id_; |
10508 | 230 | } |
10509 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
10510 | 0 | SysCDCStreamEntryPB::mutable_table_id() { |
10511 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.SysCDCStreamEntryPB.table_id) |
10512 | 0 | return &table_id_; |
10513 | 0 | } |
10514 | | |
10515 | | // repeated .yb.master.CDCStreamOptionsPB options = 2; |
10516 | 11.1k | inline int SysCDCStreamEntryPB::options_size() const { |
10517 | 11.1k | return options_.size(); |
10518 | 11.1k | } |
10519 | 0 | inline void SysCDCStreamEntryPB::clear_options() { |
10520 | 0 | options_.Clear(); |
10521 | 0 | } |
10522 | 55.5k | inline const ::yb::master::CDCStreamOptionsPB& SysCDCStreamEntryPB::options(int index) const { |
10523 | | // @@protoc_insertion_point(field_get:yb.master.SysCDCStreamEntryPB.options) |
10524 | 55.5k | return options_.Get(index); |
10525 | 55.5k | } |
10526 | 0 | inline ::yb::master::CDCStreamOptionsPB* SysCDCStreamEntryPB::mutable_options(int index) { |
10527 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysCDCStreamEntryPB.options) |
10528 | 0 | return options_.Mutable(index); |
10529 | 0 | } |
10530 | 0 | inline ::yb::master::CDCStreamOptionsPB* SysCDCStreamEntryPB::add_options() { |
10531 | 0 | // @@protoc_insertion_point(field_add:yb.master.SysCDCStreamEntryPB.options) |
10532 | 0 | return options_.Add(); |
10533 | 0 | } |
10534 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB >* |
10535 | 310 | SysCDCStreamEntryPB::mutable_options() { |
10536 | | // @@protoc_insertion_point(field_mutable_list:yb.master.SysCDCStreamEntryPB.options) |
10537 | 310 | return &options_; |
10538 | 310 | } |
10539 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB >& |
10540 | 12 | SysCDCStreamEntryPB::options() const { |
10541 | | // @@protoc_insertion_point(field_list:yb.master.SysCDCStreamEntryPB.options) |
10542 | 12 | return options_; |
10543 | 12 | } |
10544 | | |
10545 | | // optional .yb.master.SysCDCStreamEntryPB.State state = 3 [default = ACTIVE]; |
10546 | 5.56k | inline bool SysCDCStreamEntryPB::has_state() const { |
10547 | 5.56k | return (_has_bits_[0] & 0x00000002u) != 0; |
10548 | 5.56k | } |
10549 | 374 | inline void SysCDCStreamEntryPB::set_has_state() { |
10550 | 374 | _has_bits_[0] |= 0x00000002u; |
10551 | 374 | } |
10552 | 0 | inline void SysCDCStreamEntryPB::clear_has_state() { |
10553 | 0 | _has_bits_[0] &= ~0x00000002u; |
10554 | 0 | } |
10555 | 0 | inline void SysCDCStreamEntryPB::clear_state() { |
10556 | 0 | state_ = 0; |
10557 | 0 | clear_has_state(); |
10558 | 0 | } |
10559 | 18.1k | inline ::yb::master::SysCDCStreamEntryPB_State SysCDCStreamEntryPB::state() const { |
10560 | | // @@protoc_insertion_point(field_get:yb.master.SysCDCStreamEntryPB.state) |
10561 | 18.1k | return static_cast< ::yb::master::SysCDCStreamEntryPB_State >(state_); |
10562 | 18.1k | } |
10563 | 374 | inline void SysCDCStreamEntryPB::set_state(::yb::master::SysCDCStreamEntryPB_State value) { |
10564 | 374 | assert(::yb::master::SysCDCStreamEntryPB_State_IsValid(value)); |
10565 | 0 | set_has_state(); |
10566 | 374 | state_ = value; |
10567 | | // @@protoc_insertion_point(field_set:yb.master.SysCDCStreamEntryPB.state) |
10568 | 374 | } |
10569 | | |
10570 | | // optional string namespace_id = 4; |
10571 | 11.5k | inline bool SysCDCStreamEntryPB::has_namespace_id() const { |
10572 | 11.5k | return (_has_bits_[0] & 0x00000001u) != 0; |
10573 | 11.5k | } |
10574 | 306 | inline void SysCDCStreamEntryPB::set_has_namespace_id() { |
10575 | 306 | _has_bits_[0] |= 0x00000001u; |
10576 | 306 | } |
10577 | 0 | inline void SysCDCStreamEntryPB::clear_has_namespace_id() { |
10578 | 0 | _has_bits_[0] &= ~0x00000001u; |
10579 | 0 | } |
10580 | 0 | inline void SysCDCStreamEntryPB::clear_namespace_id() { |
10581 | 0 | namespace_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10582 | 0 | clear_has_namespace_id(); |
10583 | 0 | } |
10584 | 22.5k | inline const ::std::string& SysCDCStreamEntryPB::namespace_id() const { |
10585 | | // @@protoc_insertion_point(field_get:yb.master.SysCDCStreamEntryPB.namespace_id) |
10586 | 22.5k | return namespace_id_.GetNoArena(); |
10587 | 22.5k | } |
10588 | 306 | inline void SysCDCStreamEntryPB::set_namespace_id(const ::std::string& value) { |
10589 | 306 | set_has_namespace_id(); |
10590 | 306 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10591 | | // @@protoc_insertion_point(field_set:yb.master.SysCDCStreamEntryPB.namespace_id) |
10592 | 306 | } |
10593 | | #if LANG_CXX11 |
10594 | 0 | inline void SysCDCStreamEntryPB::set_namespace_id(::std::string&& value) { |
10595 | 0 | set_has_namespace_id(); |
10596 | 0 | namespace_id_.SetNoArena( |
10597 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10598 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysCDCStreamEntryPB.namespace_id) |
10599 | 0 | } |
10600 | | #endif |
10601 | 0 | inline void SysCDCStreamEntryPB::set_namespace_id(const char* value) { |
10602 | 0 | GOOGLE_DCHECK(value != NULL); |
10603 | 0 | set_has_namespace_id(); |
10604 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10605 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysCDCStreamEntryPB.namespace_id) |
10606 | 0 | } |
10607 | 0 | inline void SysCDCStreamEntryPB::set_namespace_id(const char* value, size_t size) { |
10608 | 0 | set_has_namespace_id(); |
10609 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10610 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10611 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysCDCStreamEntryPB.namespace_id) |
10612 | 0 | } |
10613 | 0 | inline ::std::string* SysCDCStreamEntryPB::mutable_namespace_id() { |
10614 | 0 | set_has_namespace_id(); |
10615 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysCDCStreamEntryPB.namespace_id) |
10616 | 0 | return namespace_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10617 | 0 | } |
10618 | 0 | inline ::std::string* SysCDCStreamEntryPB::release_namespace_id() { |
10619 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysCDCStreamEntryPB.namespace_id) |
10620 | 0 | clear_has_namespace_id(); |
10621 | 0 | return namespace_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10622 | 0 | } |
10623 | 0 | inline void SysCDCStreamEntryPB::set_allocated_namespace_id(::std::string* namespace_id) { |
10624 | 0 | if (namespace_id != NULL) { |
10625 | 0 | set_has_namespace_id(); |
10626 | 0 | } else { |
10627 | 0 | clear_has_namespace_id(); |
10628 | 0 | } |
10629 | 0 | namespace_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_id); |
10630 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysCDCStreamEntryPB.namespace_id) |
10631 | 0 | } |
10632 | | |
10633 | | // ------------------------------------------------------------------- |
10634 | | |
10635 | | // SysSnapshotEntryPB_TabletSnapshotPB |
10636 | | |
10637 | | // optional bytes id = 1; |
10638 | 157 | inline bool SysSnapshotEntryPB_TabletSnapshotPB::has_id() const { |
10639 | 157 | return (_has_bits_[0] & 0x00000001u) != 0; |
10640 | 157 | } |
10641 | 288 | inline void SysSnapshotEntryPB_TabletSnapshotPB::set_has_id() { |
10642 | 288 | _has_bits_[0] |= 0x00000001u; |
10643 | 288 | } |
10644 | 0 | inline void SysSnapshotEntryPB_TabletSnapshotPB::clear_has_id() { |
10645 | 0 | _has_bits_[0] &= ~0x00000001u; |
10646 | 0 | } |
10647 | 0 | inline void SysSnapshotEntryPB_TabletSnapshotPB::clear_id() { |
10648 | 0 | id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10649 | 0 | clear_has_id(); |
10650 | 0 | } |
10651 | 402 | inline const ::std::string& SysSnapshotEntryPB_TabletSnapshotPB::id() const { |
10652 | | // @@protoc_insertion_point(field_get:yb.master.SysSnapshotEntryPB.TabletSnapshotPB.id) |
10653 | 402 | return id_.GetNoArena(); |
10654 | 402 | } |
10655 | 123 | inline void SysSnapshotEntryPB_TabletSnapshotPB::set_id(const ::std::string& value) { |
10656 | 123 | set_has_id(); |
10657 | 123 | id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10658 | | // @@protoc_insertion_point(field_set:yb.master.SysSnapshotEntryPB.TabletSnapshotPB.id) |
10659 | 123 | } |
10660 | | #if LANG_CXX11 |
10661 | 0 | inline void SysSnapshotEntryPB_TabletSnapshotPB::set_id(::std::string&& value) { |
10662 | 0 | set_has_id(); |
10663 | 0 | id_.SetNoArena( |
10664 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10665 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysSnapshotEntryPB.TabletSnapshotPB.id) |
10666 | 0 | } |
10667 | | #endif |
10668 | 0 | inline void SysSnapshotEntryPB_TabletSnapshotPB::set_id(const char* value) { |
10669 | 0 | GOOGLE_DCHECK(value != NULL); |
10670 | 0 | set_has_id(); |
10671 | 0 | id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10672 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysSnapshotEntryPB.TabletSnapshotPB.id) |
10673 | 0 | } |
10674 | 0 | inline void SysSnapshotEntryPB_TabletSnapshotPB::set_id(const void* value, size_t size) { |
10675 | 0 | set_has_id(); |
10676 | 0 | id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10677 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10678 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysSnapshotEntryPB.TabletSnapshotPB.id) |
10679 | 0 | } |
10680 | 165 | inline ::std::string* SysSnapshotEntryPB_TabletSnapshotPB::mutable_id() { |
10681 | 165 | set_has_id(); |
10682 | | // @@protoc_insertion_point(field_mutable:yb.master.SysSnapshotEntryPB.TabletSnapshotPB.id) |
10683 | 165 | return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10684 | 165 | } |
10685 | 0 | inline ::std::string* SysSnapshotEntryPB_TabletSnapshotPB::release_id() { |
10686 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysSnapshotEntryPB.TabletSnapshotPB.id) |
10687 | 0 | clear_has_id(); |
10688 | 0 | return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10689 | 0 | } |
10690 | 0 | inline void SysSnapshotEntryPB_TabletSnapshotPB::set_allocated_id(::std::string* id) { |
10691 | 0 | if (id != NULL) { |
10692 | 0 | set_has_id(); |
10693 | 0 | } else { |
10694 | 0 | clear_has_id(); |
10695 | 0 | } |
10696 | 0 | id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id); |
10697 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysSnapshotEntryPB.TabletSnapshotPB.id) |
10698 | 0 | } |
10699 | | |
10700 | | // optional .yb.master.SysSnapshotEntryPB.State state = 2; |
10701 | 157 | inline bool SysSnapshotEntryPB_TabletSnapshotPB::has_state() const { |
10702 | 157 | return (_has_bits_[0] & 0x00000002u) != 0; |
10703 | 157 | } |
10704 | 288 | inline void SysSnapshotEntryPB_TabletSnapshotPB::set_has_state() { |
10705 | 288 | _has_bits_[0] |= 0x00000002u; |
10706 | 288 | } |
10707 | 0 | inline void SysSnapshotEntryPB_TabletSnapshotPB::clear_has_state() { |
10708 | 0 | _has_bits_[0] &= ~0x00000002u; |
10709 | 0 | } |
10710 | 0 | inline void SysSnapshotEntryPB_TabletSnapshotPB::clear_state() { |
10711 | 0 | state_ = 0; |
10712 | 0 | clear_has_state(); |
10713 | 0 | } |
10714 | 524 | inline ::yb::master::SysSnapshotEntryPB_State SysSnapshotEntryPB_TabletSnapshotPB::state() const { |
10715 | | // @@protoc_insertion_point(field_get:yb.master.SysSnapshotEntryPB.TabletSnapshotPB.state) |
10716 | 524 | return static_cast< ::yb::master::SysSnapshotEntryPB_State >(state_); |
10717 | 524 | } |
10718 | 288 | inline void SysSnapshotEntryPB_TabletSnapshotPB::set_state(::yb::master::SysSnapshotEntryPB_State value) { |
10719 | 288 | assert(::yb::master::SysSnapshotEntryPB_State_IsValid(value)); |
10720 | 0 | set_has_state(); |
10721 | 288 | state_ = value; |
10722 | | // @@protoc_insertion_point(field_set:yb.master.SysSnapshotEntryPB.TabletSnapshotPB.state) |
10723 | 288 | } |
10724 | | |
10725 | | // ------------------------------------------------------------------- |
10726 | | |
10727 | | // SysSnapshotEntryPB |
10728 | | |
10729 | | // optional .yb.master.SysSnapshotEntryPB.State state = 1 [default = UNKNOWN]; |
10730 | 118 | inline bool SysSnapshotEntryPB::has_state() const { |
10731 | 118 | return (_has_bits_[0] & 0x00000010u) != 0; |
10732 | 118 | } |
10733 | 220 | inline void SysSnapshotEntryPB::set_has_state() { |
10734 | 220 | _has_bits_[0] |= 0x00000010u; |
10735 | 220 | } |
10736 | 0 | inline void SysSnapshotEntryPB::clear_has_state() { |
10737 | 0 | _has_bits_[0] &= ~0x00000010u; |
10738 | 0 | } |
10739 | 0 | inline void SysSnapshotEntryPB::clear_state() { |
10740 | 0 | state_ = 0; |
10741 | 0 | clear_has_state(); |
10742 | 0 | } |
10743 | 324 | inline ::yb::master::SysSnapshotEntryPB_State SysSnapshotEntryPB::state() const { |
10744 | | // @@protoc_insertion_point(field_get:yb.master.SysSnapshotEntryPB.state) |
10745 | 324 | return static_cast< ::yb::master::SysSnapshotEntryPB_State >(state_); |
10746 | 324 | } |
10747 | 220 | inline void SysSnapshotEntryPB::set_state(::yb::master::SysSnapshotEntryPB_State value) { |
10748 | 220 | assert(::yb::master::SysSnapshotEntryPB_State_IsValid(value)); |
10749 | 0 | set_has_state(); |
10750 | 220 | state_ = value; |
10751 | | // @@protoc_insertion_point(field_set:yb.master.SysSnapshotEntryPB.state) |
10752 | 220 | } |
10753 | | |
10754 | | // repeated .yb.master.SysSnapshotEntryPB.TabletSnapshotPB tablet_snapshots = 2; |
10755 | 211 | inline int SysSnapshotEntryPB::tablet_snapshots_size() const { |
10756 | 211 | return tablet_snapshots_.size(); |
10757 | 211 | } |
10758 | 0 | inline void SysSnapshotEntryPB::clear_tablet_snapshots() { |
10759 | 0 | tablet_snapshots_.Clear(); |
10760 | 0 | } |
10761 | 280 | inline const ::yb::master::SysSnapshotEntryPB_TabletSnapshotPB& SysSnapshotEntryPB::tablet_snapshots(int index) const { |
10762 | | // @@protoc_insertion_point(field_get:yb.master.SysSnapshotEntryPB.tablet_snapshots) |
10763 | 280 | return tablet_snapshots_.Get(index); |
10764 | 280 | } |
10765 | 0 | inline ::yb::master::SysSnapshotEntryPB_TabletSnapshotPB* SysSnapshotEntryPB::mutable_tablet_snapshots(int index) { |
10766 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysSnapshotEntryPB.tablet_snapshots) |
10767 | 0 | return tablet_snapshots_.Mutable(index); |
10768 | 0 | } |
10769 | 165 | inline ::yb::master::SysSnapshotEntryPB_TabletSnapshotPB* SysSnapshotEntryPB::add_tablet_snapshots() { |
10770 | | // @@protoc_insertion_point(field_add:yb.master.SysSnapshotEntryPB.tablet_snapshots) |
10771 | 165 | return tablet_snapshots_.Add(); |
10772 | 165 | } |
10773 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::SysSnapshotEntryPB_TabletSnapshotPB >* |
10774 | 93 | SysSnapshotEntryPB::mutable_tablet_snapshots() { |
10775 | | // @@protoc_insertion_point(field_mutable_list:yb.master.SysSnapshotEntryPB.tablet_snapshots) |
10776 | 93 | return &tablet_snapshots_; |
10777 | 93 | } |
10778 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::SysSnapshotEntryPB_TabletSnapshotPB >& |
10779 | 94 | SysSnapshotEntryPB::tablet_snapshots() const { |
10780 | | // @@protoc_insertion_point(field_list:yb.master.SysSnapshotEntryPB.tablet_snapshots) |
10781 | 94 | return tablet_snapshots_; |
10782 | 94 | } |
10783 | | |
10784 | | // repeated .yb.master.SysRowEntry entries = 3; |
10785 | 211 | inline int SysSnapshotEntryPB::entries_size() const { |
10786 | 211 | return entries_.size(); |
10787 | 211 | } |
10788 | 0 | inline void SysSnapshotEntryPB::clear_entries() { |
10789 | 0 | entries_.Clear(); |
10790 | 0 | } |
10791 | 617 | inline const ::yb::master::SysRowEntry& SysSnapshotEntryPB::entries(int index) const { |
10792 | | // @@protoc_insertion_point(field_get:yb.master.SysSnapshotEntryPB.entries) |
10793 | 617 | return entries_.Get(index); |
10794 | 617 | } |
10795 | 0 | inline ::yb::master::SysRowEntry* SysSnapshotEntryPB::mutable_entries(int index) { |
10796 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysSnapshotEntryPB.entries) |
10797 | 0 | return entries_.Mutable(index); |
10798 | 0 | } |
10799 | 367 | inline ::yb::master::SysRowEntry* SysSnapshotEntryPB::add_entries() { |
10800 | | // @@protoc_insertion_point(field_add:yb.master.SysSnapshotEntryPB.entries) |
10801 | 367 | return entries_.Add(); |
10802 | 367 | } |
10803 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::SysRowEntry >* |
10804 | 94 | SysSnapshotEntryPB::mutable_entries() { |
10805 | | // @@protoc_insertion_point(field_mutable_list:yb.master.SysSnapshotEntryPB.entries) |
10806 | 94 | return &entries_; |
10807 | 94 | } |
10808 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::SysRowEntry >& |
10809 | 94 | SysSnapshotEntryPB::entries() const { |
10810 | | // @@protoc_insertion_point(field_list:yb.master.SysSnapshotEntryPB.entries) |
10811 | 94 | return entries_; |
10812 | 94 | } |
10813 | | |
10814 | | // optional fixed64 snapshot_hybrid_time = 4; |
10815 | 118 | inline bool SysSnapshotEntryPB::has_snapshot_hybrid_time() const { |
10816 | 118 | return (_has_bits_[0] & 0x00000002u) != 0; |
10817 | 118 | } |
10818 | 220 | inline void SysSnapshotEntryPB::set_has_snapshot_hybrid_time() { |
10819 | 220 | _has_bits_[0] |= 0x00000002u; |
10820 | 220 | } |
10821 | 0 | inline void SysSnapshotEntryPB::clear_has_snapshot_hybrid_time() { |
10822 | 0 | _has_bits_[0] &= ~0x00000002u; |
10823 | 0 | } |
10824 | 0 | inline void SysSnapshotEntryPB::clear_snapshot_hybrid_time() { |
10825 | 0 | snapshot_hybrid_time_ = GOOGLE_ULONGLONG(0); |
10826 | 0 | clear_has_snapshot_hybrid_time(); |
10827 | 0 | } |
10828 | 214 | inline ::google::protobuf::uint64 SysSnapshotEntryPB::snapshot_hybrid_time() const { |
10829 | | // @@protoc_insertion_point(field_get:yb.master.SysSnapshotEntryPB.snapshot_hybrid_time) |
10830 | 214 | return snapshot_hybrid_time_; |
10831 | 214 | } |
10832 | 93 | inline void SysSnapshotEntryPB::set_snapshot_hybrid_time(::google::protobuf::uint64 value) { |
10833 | 93 | set_has_snapshot_hybrid_time(); |
10834 | 93 | snapshot_hybrid_time_ = value; |
10835 | | // @@protoc_insertion_point(field_set:yb.master.SysSnapshotEntryPB.snapshot_hybrid_time) |
10836 | 93 | } |
10837 | | |
10838 | | // optional int64 version = 5; |
10839 | 118 | inline bool SysSnapshotEntryPB::has_version() const { |
10840 | 118 | return (_has_bits_[0] & 0x00000004u) != 0; |
10841 | 118 | } |
10842 | 220 | inline void SysSnapshotEntryPB::set_has_version() { |
10843 | 220 | _has_bits_[0] |= 0x00000004u; |
10844 | 220 | } |
10845 | 0 | inline void SysSnapshotEntryPB::clear_has_version() { |
10846 | 0 | _has_bits_[0] &= ~0x00000004u; |
10847 | 0 | } |
10848 | 0 | inline void SysSnapshotEntryPB::clear_version() { |
10849 | 0 | version_ = GOOGLE_LONGLONG(0); |
10850 | 0 | clear_has_version(); |
10851 | 0 | } |
10852 | 305 | inline ::google::protobuf::int64 SysSnapshotEntryPB::version() const { |
10853 | | // @@protoc_insertion_point(field_get:yb.master.SysSnapshotEntryPB.version) |
10854 | 305 | return version_; |
10855 | 305 | } |
10856 | 93 | inline void SysSnapshotEntryPB::set_version(::google::protobuf::int64 value) { |
10857 | 93 | set_has_version(); |
10858 | 93 | version_ = value; |
10859 | | // @@protoc_insertion_point(field_set:yb.master.SysSnapshotEntryPB.version) |
10860 | 93 | } |
10861 | | |
10862 | | // optional bytes schedule_id = 6; |
10863 | 118 | inline bool SysSnapshotEntryPB::has_schedule_id() const { |
10864 | 118 | return (_has_bits_[0] & 0x00000001u) != 0; |
10865 | 118 | } |
10866 | 210 | inline void SysSnapshotEntryPB::set_has_schedule_id() { |
10867 | 210 | _has_bits_[0] |= 0x00000001u; |
10868 | 210 | } |
10869 | 0 | inline void SysSnapshotEntryPB::clear_has_schedule_id() { |
10870 | 0 | _has_bits_[0] &= ~0x00000001u; |
10871 | 0 | } |
10872 | 0 | inline void SysSnapshotEntryPB::clear_schedule_id() { |
10873 | 0 | schedule_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10874 | 0 | clear_has_schedule_id(); |
10875 | 0 | } |
10876 | 388 | inline const ::std::string& SysSnapshotEntryPB::schedule_id() const { |
10877 | | // @@protoc_insertion_point(field_get:yb.master.SysSnapshotEntryPB.schedule_id) |
10878 | 388 | return schedule_id_.GetNoArena(); |
10879 | 388 | } |
10880 | 0 | inline void SysSnapshotEntryPB::set_schedule_id(const ::std::string& value) { |
10881 | 0 | set_has_schedule_id(); |
10882 | 0 | schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10883 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysSnapshotEntryPB.schedule_id) |
10884 | 0 | } |
10885 | | #if LANG_CXX11 |
10886 | 0 | inline void SysSnapshotEntryPB::set_schedule_id(::std::string&& value) { |
10887 | 0 | set_has_schedule_id(); |
10888 | 0 | schedule_id_.SetNoArena( |
10889 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10890 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysSnapshotEntryPB.schedule_id) |
10891 | 0 | } |
10892 | | #endif |
10893 | 0 | inline void SysSnapshotEntryPB::set_schedule_id(const char* value) { |
10894 | 0 | GOOGLE_DCHECK(value != NULL); |
10895 | 0 | set_has_schedule_id(); |
10896 | 0 | schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10897 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysSnapshotEntryPB.schedule_id) |
10898 | 0 | } |
10899 | 88 | inline void SysSnapshotEntryPB::set_schedule_id(const void* value, size_t size) { |
10900 | 88 | set_has_schedule_id(); |
10901 | 88 | schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10902 | 88 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10903 | | // @@protoc_insertion_point(field_set_pointer:yb.master.SysSnapshotEntryPB.schedule_id) |
10904 | 88 | } |
10905 | 122 | inline ::std::string* SysSnapshotEntryPB::mutable_schedule_id() { |
10906 | 122 | set_has_schedule_id(); |
10907 | | // @@protoc_insertion_point(field_mutable:yb.master.SysSnapshotEntryPB.schedule_id) |
10908 | 122 | return schedule_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10909 | 122 | } |
10910 | 0 | inline ::std::string* SysSnapshotEntryPB::release_schedule_id() { |
10911 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysSnapshotEntryPB.schedule_id) |
10912 | 0 | clear_has_schedule_id(); |
10913 | 0 | return schedule_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10914 | 0 | } |
10915 | 0 | inline void SysSnapshotEntryPB::set_allocated_schedule_id(::std::string* schedule_id) { |
10916 | 0 | if (schedule_id != NULL) { |
10917 | 0 | set_has_schedule_id(); |
10918 | 0 | } else { |
10919 | 0 | clear_has_schedule_id(); |
10920 | 0 | } |
10921 | 0 | schedule_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), schedule_id); |
10922 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysSnapshotEntryPB.schedule_id) |
10923 | 0 | } |
10924 | | |
10925 | | // optional fixed64 previous_snapshot_hybrid_time = 7; |
10926 | 118 | inline bool SysSnapshotEntryPB::has_previous_snapshot_hybrid_time() const { |
10927 | 118 | return (_has_bits_[0] & 0x00000008u) != 0; |
10928 | 118 | } |
10929 | 105 | inline void SysSnapshotEntryPB::set_has_previous_snapshot_hybrid_time() { |
10930 | 105 | _has_bits_[0] |= 0x00000008u; |
10931 | 105 | } |
10932 | 0 | inline void SysSnapshotEntryPB::clear_has_previous_snapshot_hybrid_time() { |
10933 | 0 | _has_bits_[0] &= ~0x00000008u; |
10934 | 0 | } |
10935 | 0 | inline void SysSnapshotEntryPB::clear_previous_snapshot_hybrid_time() { |
10936 | 0 | previous_snapshot_hybrid_time_ = GOOGLE_ULONGLONG(0); |
10937 | 0 | clear_has_previous_snapshot_hybrid_time(); |
10938 | 0 | } |
10939 | 153 | inline ::google::protobuf::uint64 SysSnapshotEntryPB::previous_snapshot_hybrid_time() const { |
10940 | | // @@protoc_insertion_point(field_get:yb.master.SysSnapshotEntryPB.previous_snapshot_hybrid_time) |
10941 | 153 | return previous_snapshot_hybrid_time_; |
10942 | 153 | } |
10943 | 45 | inline void SysSnapshotEntryPB::set_previous_snapshot_hybrid_time(::google::protobuf::uint64 value) { |
10944 | 45 | set_has_previous_snapshot_hybrid_time(); |
10945 | 45 | previous_snapshot_hybrid_time_ = value; |
10946 | | // @@protoc_insertion_point(field_set:yb.master.SysSnapshotEntryPB.previous_snapshot_hybrid_time) |
10947 | 45 | } |
10948 | | |
10949 | | // ------------------------------------------------------------------- |
10950 | | |
10951 | | // ------------------------------------------------------------------- |
10952 | | |
10953 | | // ------------------------------------------------------------------- |
10954 | | |
10955 | | // SysUniverseReplicationEntryPB |
10956 | | |
10957 | | // optional string producer_id = 1; |
10958 | 6 | inline bool SysUniverseReplicationEntryPB::has_producer_id() const { |
10959 | 6 | return (_has_bits_[0] & 0x00000001u) != 0; |
10960 | 6 | } |
10961 | 2 | inline void SysUniverseReplicationEntryPB::set_has_producer_id() { |
10962 | 2 | _has_bits_[0] |= 0x00000001u; |
10963 | 2 | } |
10964 | 0 | inline void SysUniverseReplicationEntryPB::clear_has_producer_id() { |
10965 | 0 | _has_bits_[0] &= ~0x00000001u; |
10966 | 0 | } |
10967 | 0 | inline void SysUniverseReplicationEntryPB::clear_producer_id() { |
10968 | 0 | producer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10969 | 0 | clear_has_producer_id(); |
10970 | 0 | } |
10971 | 8 | inline const ::std::string& SysUniverseReplicationEntryPB::producer_id() const { |
10972 | | // @@protoc_insertion_point(field_get:yb.master.SysUniverseReplicationEntryPB.producer_id) |
10973 | 8 | return producer_id_.GetNoArena(); |
10974 | 8 | } |
10975 | 2 | inline void SysUniverseReplicationEntryPB::set_producer_id(const ::std::string& value) { |
10976 | 2 | set_has_producer_id(); |
10977 | 2 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10978 | | // @@protoc_insertion_point(field_set:yb.master.SysUniverseReplicationEntryPB.producer_id) |
10979 | 2 | } |
10980 | | #if LANG_CXX11 |
10981 | 0 | inline void SysUniverseReplicationEntryPB::set_producer_id(::std::string&& value) { |
10982 | 0 | set_has_producer_id(); |
10983 | 0 | producer_id_.SetNoArena( |
10984 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10985 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SysUniverseReplicationEntryPB.producer_id) |
10986 | 0 | } |
10987 | | #endif |
10988 | 0 | inline void SysUniverseReplicationEntryPB::set_producer_id(const char* value) { |
10989 | 0 | GOOGLE_DCHECK(value != NULL); |
10990 | 0 | set_has_producer_id(); |
10991 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10992 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysUniverseReplicationEntryPB.producer_id) |
10993 | 0 | } |
10994 | 0 | inline void SysUniverseReplicationEntryPB::set_producer_id(const char* value, size_t size) { |
10995 | 0 | set_has_producer_id(); |
10996 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10997 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10998 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysUniverseReplicationEntryPB.producer_id) |
10999 | 0 | } |
11000 | 0 | inline ::std::string* SysUniverseReplicationEntryPB::mutable_producer_id() { |
11001 | 0 | set_has_producer_id(); |
11002 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysUniverseReplicationEntryPB.producer_id) |
11003 | 0 | return producer_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
11004 | 0 | } |
11005 | 0 | inline ::std::string* SysUniverseReplicationEntryPB::release_producer_id() { |
11006 | 0 | // @@protoc_insertion_point(field_release:yb.master.SysUniverseReplicationEntryPB.producer_id) |
11007 | 0 | clear_has_producer_id(); |
11008 | 0 | return producer_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
11009 | 0 | } |
11010 | 0 | inline void SysUniverseReplicationEntryPB::set_allocated_producer_id(::std::string* producer_id) { |
11011 | 0 | if (producer_id != NULL) { |
11012 | 0 | set_has_producer_id(); |
11013 | 0 | } else { |
11014 | 0 | clear_has_producer_id(); |
11015 | 0 | } |
11016 | 0 | producer_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), producer_id); |
11017 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SysUniverseReplicationEntryPB.producer_id) |
11018 | 0 | } |
11019 | | |
11020 | | // repeated .yb.HostPortPB producer_master_addresses = 2; |
11021 | 6 | inline int SysUniverseReplicationEntryPB::producer_master_addresses_size() const { |
11022 | 6 | return producer_master_addresses_.size(); |
11023 | 6 | } |
11024 | 4 | inline const ::yb::HostPortPB& SysUniverseReplicationEntryPB::producer_master_addresses(int index) const { |
11025 | | // @@protoc_insertion_point(field_get:yb.master.SysUniverseReplicationEntryPB.producer_master_addresses) |
11026 | 4 | return producer_master_addresses_.Get(index); |
11027 | 4 | } |
11028 | 0 | inline ::yb::HostPortPB* SysUniverseReplicationEntryPB::mutable_producer_master_addresses(int index) { |
11029 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysUniverseReplicationEntryPB.producer_master_addresses) |
11030 | 0 | return producer_master_addresses_.Mutable(index); |
11031 | 0 | } |
11032 | 0 | inline ::yb::HostPortPB* SysUniverseReplicationEntryPB::add_producer_master_addresses() { |
11033 | 0 | // @@protoc_insertion_point(field_add:yb.master.SysUniverseReplicationEntryPB.producer_master_addresses) |
11034 | 0 | return producer_master_addresses_.Add(); |
11035 | 0 | } |
11036 | | inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
11037 | 2 | SysUniverseReplicationEntryPB::mutable_producer_master_addresses() { |
11038 | | // @@protoc_insertion_point(field_mutable_list:yb.master.SysUniverseReplicationEntryPB.producer_master_addresses) |
11039 | 2 | return &producer_master_addresses_; |
11040 | 2 | } |
11041 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
11042 | 4 | SysUniverseReplicationEntryPB::producer_master_addresses() const { |
11043 | | // @@protoc_insertion_point(field_list:yb.master.SysUniverseReplicationEntryPB.producer_master_addresses) |
11044 | 4 | return producer_master_addresses_; |
11045 | 4 | } |
11046 | | |
11047 | | // repeated string tables = 3; |
11048 | 11 | inline int SysUniverseReplicationEntryPB::tables_size() const { |
11049 | 11 | return tables_.size(); |
11050 | 11 | } |
11051 | 0 | inline void SysUniverseReplicationEntryPB::clear_tables() { |
11052 | 0 | tables_.Clear(); |
11053 | 0 | } |
11054 | 14 | inline const ::std::string& SysUniverseReplicationEntryPB::tables(int index) const { |
11055 | | // @@protoc_insertion_point(field_get:yb.master.SysUniverseReplicationEntryPB.tables) |
11056 | 14 | return tables_.Get(index); |
11057 | 14 | } |
11058 | 0 | inline ::std::string* SysUniverseReplicationEntryPB::mutable_tables(int index) { |
11059 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SysUniverseReplicationEntryPB.tables) |
11060 | 0 | return tables_.Mutable(index); |
11061 | 0 | } |
11062 | 0 | inline void SysUniverseReplicationEntryPB::set_tables(int index, const ::std::string& value) { |
11063 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysUniverseReplicationEntryPB.tables) |
11064 | 0 | tables_.Mutable(index)->assign(value); |
11065 | 0 | } |
11066 | | #if LANG_CXX11 |
11067 | 0 | inline void SysUniverseReplicationEntryPB::set_tables(int index, ::std::string&& value) { |
11068 | 0 | // @@protoc_insertion_point(field_set:yb.master.SysUniverseReplicationEntryPB.tables) |
11069 | 0 | tables_.Mutable(index)->assign(std::move(value)); |
11070 | 0 | } |
11071 | | #endif |
11072 | 0 | inline void SysUniverseReplicationEntryPB::set_tables(int index, const char* value) { |
11073 | 0 | GOOGLE_DCHECK(value != NULL); |
11074 | 0 | tables_.Mutable(index)->assign(value); |
11075 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SysUniverseReplicationEntryPB.tables) |
11076 | 0 | } |
11077 | 0 | inline void SysUniverseReplicationEntryPB::set_tables(int index, const char* value, size_t size) { |
11078 | 0 | tables_.Mutable(index)->assign( |
11079 | 0 | reinterpret_cast<const char*>(value), size); |
11080 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SysUniverseReplicationEntryPB.tables) |
11081 | 0 | } |
11082 | 1 | inline ::std::string* SysUniverseReplicationEntryPB::add_tables() { |
11083 | | // @@protoc_insertion_point(field_add_mutable:yb.master.SysUniverseReplicationEntryPB.tables) |
11084 | 1 | return tables_.Add(); |
11085 | 1 | } |
11086 | 0 | inline void SysUniverseReplicationEntryPB::add_tables(const ::std::string& value) { |
11087 | 0 | tables_.Add()->assign(value); |
11088 | 0 | // @@protoc_insertion_point(field_add:yb.master.SysUniverseReplicationEntryPB.tables) |
11089 | 0 | } |
11090 | | #if LANG_CXX11 |
11091 | 0 | inline void SysUniverseReplicationEntryPB::add_tables(::std::string&& value) { |
11092 | 0 | tables_.Add(std::move(value)); |
11093 | 0 | // @@protoc_insertion_point(field_add:yb.master.SysUniverseReplicationEntryPB.tables) |
11094 | 0 | } |
11095 | | #endif |
11096 | | inline void SysUniverseReplicationEntryPB::add_tables(const char* value) { |
11097 | | GOOGLE_DCHECK(value != NULL); |
11098 | | tables_.Add()->assign(value); |
11099 | | // @@protoc_insertion_point(field_add_char:yb.master.SysUniverseReplicationEntryPB.tables) |
11100 | | } |
11101 | 0 | inline void SysUniverseReplicationEntryPB::add_tables(const char* value, size_t size) { |
11102 | 0 | tables_.Add()->assign(reinterpret_cast<const char*>(value), size); |
11103 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.SysUniverseReplicationEntryPB.tables) |
11104 | 0 | } |
11105 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
11106 | 0 | SysUniverseReplicationEntryPB::tables() const { |
11107 | 0 | // @@protoc_insertion_point(field_list:yb.master.SysUniverseReplicationEntryPB.tables) |
11108 | 0 | return tables_; |
11109 | 0 | } |
11110 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
11111 | 2 | SysUniverseReplicationEntryPB::mutable_tables() { |
11112 | | // @@protoc_insertion_point(field_mutable_list:yb.master.SysUniverseReplicationEntryPB.tables) |
11113 | 2 | return &tables_; |
11114 | 2 | } |
11115 | | |
11116 | | // optional .yb.master.SysUniverseReplicationEntryPB.State state = 4 [default = INITIALIZING]; |
11117 | 2 | inline bool SysUniverseReplicationEntryPB::has_state() const { |
11118 | 2 | return (_has_bits_[0] & 0x00000002u) != 0; |
11119 | 2 | } |
11120 | 2 | inline void SysUniverseReplicationEntryPB::set_has_state() { |
11121 | 2 | _has_bits_[0] |= 0x00000002u; |
11122 | 2 | } |
11123 | 0 | inline void SysUniverseReplicationEntryPB::clear_has_state() { |
11124 | 0 | _has_bits_[0] &= ~0x00000002u; |
11125 | 0 | } |
11126 | 0 | inline void SysUniverseReplicationEntryPB::clear_state() { |
11127 | 0 | state_ = 0; |
11128 | 0 | clear_has_state(); |
11129 | 0 | } |
11130 | 4 | inline ::yb::master::SysUniverseReplicationEntryPB_State SysUniverseReplicationEntryPB::state() const { |
11131 | | // @@protoc_insertion_point(field_get:yb.master.SysUniverseReplicationEntryPB.state) |
11132 | 4 | return static_cast< ::yb::master::SysUniverseReplicationEntryPB_State >(state_); |
11133 | 4 | } |
11134 | 2 | inline void SysUniverseReplicationEntryPB::set_state(::yb::master::SysUniverseReplicationEntryPB_State value) { |
11135 | 2 | assert(::yb::master::SysUniverseReplicationEntryPB_State_IsValid(value)); |
11136 | 0 | set_has_state(); |
11137 | 2 | state_ = value; |
11138 | | // @@protoc_insertion_point(field_set:yb.master.SysUniverseReplicationEntryPB.state) |
11139 | 2 | } |
11140 | | |
11141 | | // map<string, string> validated_tables = 5; |
11142 | 3 | inline int SysUniverseReplicationEntryPB::validated_tables_size() const { |
11143 | 3 | return validated_tables_.size(); |
11144 | 3 | } |
11145 | 0 | inline void SysUniverseReplicationEntryPB::clear_validated_tables() { |
11146 | 0 | validated_tables_.Clear(); |
11147 | 0 | } |
11148 | | inline const ::google::protobuf::Map< ::std::string, ::std::string >& |
11149 | 9 | SysUniverseReplicationEntryPB::validated_tables() const { |
11150 | | // @@protoc_insertion_point(field_map:yb.master.SysUniverseReplicationEntryPB.validated_tables) |
11151 | 9 | return validated_tables_.GetMap(); |
11152 | 9 | } |
11153 | | inline ::google::protobuf::Map< ::std::string, ::std::string >* |
11154 | 0 | SysUniverseReplicationEntryPB::mutable_validated_tables() { |
11155 | 0 | // @@protoc_insertion_point(field_mutable_map:yb.master.SysUniverseReplicationEntryPB.validated_tables) |
11156 | 0 | return validated_tables_.MutableMap(); |
11157 | 0 | } |
11158 | | |
11159 | | // map<string, string> table_streams = 6; |
11160 | 3 | inline int SysUniverseReplicationEntryPB::table_streams_size() const { |
11161 | 3 | return table_streams_.size(); |
11162 | 3 | } |
11163 | 0 | inline void SysUniverseReplicationEntryPB::clear_table_streams() { |
11164 | 0 | table_streams_.Clear(); |
11165 | 0 | } |
11166 | | inline const ::google::protobuf::Map< ::std::string, ::std::string >& |
11167 | 9 | SysUniverseReplicationEntryPB::table_streams() const { |
11168 | | // @@protoc_insertion_point(field_map:yb.master.SysUniverseReplicationEntryPB.table_streams) |
11169 | 9 | return table_streams_.GetMap(); |
11170 | 9 | } |
11171 | | inline ::google::protobuf::Map< ::std::string, ::std::string >* |
11172 | 0 | SysUniverseReplicationEntryPB::mutable_table_streams() { |
11173 | 0 | // @@protoc_insertion_point(field_mutable_map:yb.master.SysUniverseReplicationEntryPB.table_streams) |
11174 | 0 | return table_streams_.MutableMap(); |
11175 | 0 | } |
11176 | | |
11177 | | #ifdef __GNUC__ |
11178 | | #pragma GCC diagnostic pop |
11179 | | #endif // __GNUC__ |
11180 | | // ------------------------------------------------------------------- |
11181 | | |
11182 | | // ------------------------------------------------------------------- |
11183 | | |
11184 | | // ------------------------------------------------------------------- |
11185 | | |
11186 | | // ------------------------------------------------------------------- |
11187 | | |
11188 | | // ------------------------------------------------------------------- |
11189 | | |
11190 | | // ------------------------------------------------------------------- |
11191 | | |
11192 | | // ------------------------------------------------------------------- |
11193 | | |
11194 | | // ------------------------------------------------------------------- |
11195 | | |
11196 | | // ------------------------------------------------------------------- |
11197 | | |
11198 | | // ------------------------------------------------------------------- |
11199 | | |
11200 | | // ------------------------------------------------------------------- |
11201 | | |
11202 | | // ------------------------------------------------------------------- |
11203 | | |
11204 | | // ------------------------------------------------------------------- |
11205 | | |
11206 | | // ------------------------------------------------------------------- |
11207 | | |
11208 | | // ------------------------------------------------------------------- |
11209 | | |
11210 | | // ------------------------------------------------------------------- |
11211 | | |
11212 | | // ------------------------------------------------------------------- |
11213 | | |
11214 | | // ------------------------------------------------------------------- |
11215 | | |
11216 | | // ------------------------------------------------------------------- |
11217 | | |
11218 | | // ------------------------------------------------------------------- |
11219 | | |
11220 | | // ------------------------------------------------------------------- |
11221 | | |
11222 | | // ------------------------------------------------------------------- |
11223 | | |
11224 | | // ------------------------------------------------------------------- |
11225 | | |
11226 | | // ------------------------------------------------------------------- |
11227 | | |
11228 | | // ------------------------------------------------------------------- |
11229 | | |
11230 | | // ------------------------------------------------------------------- |
11231 | | |
11232 | | // ------------------------------------------------------------------- |
11233 | | |
11234 | | // ------------------------------------------------------------------- |
11235 | | |
11236 | | // ------------------------------------------------------------------- |
11237 | | |
11238 | | |
11239 | | // @@protoc_insertion_point(namespace_scope) |
11240 | | |
11241 | | } // namespace master |
11242 | | } // namespace yb |
11243 | | |
11244 | | namespace google { |
11245 | | namespace protobuf { |
11246 | | |
11247 | | template <> struct is_proto_enum< ::yb::master::BackfillJobPB_State> : ::google::protobuf::internal::true_type {}; |
11248 | | template <> |
11249 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::master::BackfillJobPB_State>() { |
11250 | 0 | return ::yb::master::BackfillJobPB_State_descriptor(); |
11251 | 0 | } |
11252 | | template <> struct is_proto_enum< ::yb::master::SysTablesEntryPB_State> : ::google::protobuf::internal::true_type {}; |
11253 | | template <> |
11254 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::master::SysTablesEntryPB_State>() { |
11255 | 0 | return ::yb::master::SysTablesEntryPB_State_descriptor(); |
11256 | 0 | } |
11257 | | template <> struct is_proto_enum< ::yb::master::SysTablesEntryPB_HideState> : ::google::protobuf::internal::true_type {}; |
11258 | | template <> |
11259 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::master::SysTablesEntryPB_HideState>() { |
11260 | 0 | return ::yb::master::SysTablesEntryPB_HideState_descriptor(); |
11261 | 0 | } |
11262 | | template <> struct is_proto_enum< ::yb::master::SysTabletsEntryPB_State> : ::google::protobuf::internal::true_type {}; |
11263 | | template <> |
11264 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::master::SysTabletsEntryPB_State>() { |
11265 | 0 | return ::yb::master::SysTabletsEntryPB_State_descriptor(); |
11266 | 0 | } |
11267 | | template <> struct is_proto_enum< ::yb::master::SysNamespaceEntryPB_State> : ::google::protobuf::internal::true_type {}; |
11268 | | template <> |
11269 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::master::SysNamespaceEntryPB_State>() { |
11270 | 0 | return ::yb::master::SysNamespaceEntryPB_State_descriptor(); |
11271 | 0 | } |
11272 | | template <> struct is_proto_enum< ::yb::master::SysCDCStreamEntryPB_State> : ::google::protobuf::internal::true_type {}; |
11273 | | template <> |
11274 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::master::SysCDCStreamEntryPB_State>() { |
11275 | 0 | return ::yb::master::SysCDCStreamEntryPB_State_descriptor(); |
11276 | 0 | } |
11277 | | template <> struct is_proto_enum< ::yb::master::SysSnapshotEntryPB_State> : ::google::protobuf::internal::true_type {}; |
11278 | | template <> |
11279 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::master::SysSnapshotEntryPB_State>() { |
11280 | 0 | return ::yb::master::SysSnapshotEntryPB_State_descriptor(); |
11281 | 0 | } |
11282 | | template <> struct is_proto_enum< ::yb::master::SysUniverseReplicationEntryPB_State> : ::google::protobuf::internal::true_type {}; |
11283 | | template <> |
11284 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::master::SysUniverseReplicationEntryPB_State>() { |
11285 | 0 | return ::yb::master::SysUniverseReplicationEntryPB_State_descriptor(); |
11286 | 0 | } |
11287 | | |
11288 | | } // namespace protobuf |
11289 | | } // namespace google |
11290 | | |
11291 | | // @@protoc_insertion_point(global_scope) |
11292 | | |
11293 | | #endif // PROTOBUF_yb_2fmaster_2fcatalog_5fentity_5finfo_2eproto__INCLUDED |