deploymentmanager  v2
operation.h
1 // Copyright 2010 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 // use this file except in compliance with the License. You may obtain a copy of
5 // the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 // License for the specific language governing permissions and limitations under
13 // the License.
14 
15 // This code was generated by google-apis-code-generator 1.5.1
16 // Build date: 2018-10-08 17:45:39 UTC
17 // on: 2019-03-20, 05:04:30 UTC
18 // C++ generator version: 0.1.4
19 
20 // ----------------------------------------------------------------------------
21 // NOTE: This file is generated from Google APIs Discovery Service.
22 // Service:
23 // Google Cloud Deployment Manager API (deploymentmanager/v2)
24 // Generated from:
25 // Version: v2
26 // Revision: 71
27 // Generated by:
28 // Tool: google-apis-code-generator 1.5.1
29 // C++: 0.1.4
30 #ifndef GOOGLE_DEPLOYMENTMANAGER_API_OPERATION_H_
31 #define GOOGLE_DEPLOYMENTMANAGER_API_OPERATION_H_
32 
33 #include <string>
34 #include "googleapis/base/integral_types.h"
35 #include "googleapis/base/macros.h"
36 #include "googleapis/client/data/jsoncpp_data.h"
37 #include "googleapis/strings/stringpiece.h"
38 
39 namespace Json {
40 class Value;
41 } // namespace Json
42 
44 using namespace googleapis;
45 
55 class Operation : public client::JsonCppData {
56  public:
63  class OperationError : public client::JsonCppData {
64  public:
70  class OperationErrorErrors : public client::JsonCppData {
71  public:
77  static OperationErrorErrors* New();
78 
84  explicit OperationErrorErrors(const Json::Value& storage);
85 
91  explicit OperationErrorErrors(Json::Value* storage);
92 
96  virtual ~OperationErrorErrors();
97 
103  const StringPiece GetTypeName() const {
104  return StringPiece("google_deploymentmanager_api::OperationErrorErrors");
105  }
106 
112  bool has_code() const {
113  return Storage().isMember("code");
114  }
115 
119  void clear_code() {
120  MutableStorage()->removeMember("code");
121  }
122 
123 
127  const StringPiece get_code() const {
128  const Json::Value& v = Storage("code");
129  if (v == Json::Value::null) return StringPiece("");
130  return StringPiece(v.asCString());
131  }
132 
140  void set_code(const StringPiece& value) {
141  *MutableStorage("code") = value.data();
142  }
143 
149  bool has_location() const {
150  return Storage().isMember("location");
151  }
152 
156  void clear_location() {
157  MutableStorage()->removeMember("location");
158  }
159 
160 
164  const StringPiece get_location() const {
165  const Json::Value& v = Storage("location");
166  if (v == Json::Value::null) return StringPiece("");
167  return StringPiece(v.asCString());
168  }
169 
178  void set_location(const StringPiece& value) {
179  *MutableStorage("location") = value.data();
180  }
181 
187  bool has_message() const {
188  return Storage().isMember("message");
189  }
190 
194  void clear_message() {
195  MutableStorage()->removeMember("message");
196  }
197 
198 
202  const StringPiece get_message() const {
203  const Json::Value& v = Storage("message");
204  if (v == Json::Value::null) return StringPiece("");
205  return StringPiece(v.asCString());
206  }
207 
215  void set_message(const StringPiece& value) {
216  *MutableStorage("message") = value.data();
217  }
218 
219  private:
220  void operator=(const OperationErrorErrors&);
221  }; // OperationErrorErrors
227  static OperationError* New();
228 
234  explicit OperationError(const Json::Value& storage);
235 
241  explicit OperationError(Json::Value* storage);
242 
246  virtual ~OperationError();
247 
253  const StringPiece GetTypeName() const {
254  return StringPiece("google_deploymentmanager_api::OperationError");
255  }
256 
262  bool has_errors() const {
263  return Storage().isMember("errors");
264  }
265 
269  void clear_errors() {
270  MutableStorage()->removeMember("errors");
271  }
272 
273 
277  const client::JsonCppArray<OperationErrorErrors > get_errors() const {
278  const Json::Value& storage = Storage("errors");
279  return client::JsonValueToCppValueHelper<client::JsonCppArray<OperationErrorErrors > >(storage);
280  }
281 
291  client::JsonCppArray<OperationErrorErrors > mutable_errors() {
292  Json::Value* storage = MutableStorage("errors");
293  return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<OperationErrorErrors > >(storage);
294  }
295 
296  private:
297  void operator=(const OperationError&);
298  }; // OperationError
304  class OperationWarnings : public client::JsonCppData {
305  public:
311  class OperationWarningsData : public client::JsonCppData {
312  public:
318  static OperationWarningsData* New();
319 
325  explicit OperationWarningsData(const Json::Value& storage);
326 
332  explicit OperationWarningsData(Json::Value* storage);
333 
337  virtual ~OperationWarningsData();
338 
345  const StringPiece GetTypeName() const {
346  return StringPiece("google_deploymentmanager_api::OperationWarningsData");
347  }
348 
354  bool has_key() const {
355  return Storage().isMember("key");
356  }
357 
361  void clear_key() {
362  MutableStorage()->removeMember("key");
363  }
364 
365 
369  const StringPiece get_key() const {
370  const Json::Value& v = Storage("key");
371  if (v == Json::Value::null) return StringPiece("");
372  return StringPiece(v.asCString());
373  }
374 
388  void set_key(const StringPiece& value) {
389  *MutableStorage("key") = value.data();
390  }
391 
397  bool has_value() const {
398  return Storage().isMember("value");
399  }
400 
404  void clear_value() {
405  MutableStorage()->removeMember("value");
406  }
407 
408 
412  const StringPiece get_value() const {
413  const Json::Value& v = Storage("value");
414  if (v == Json::Value::null) return StringPiece("");
415  return StringPiece(v.asCString());
416  }
417 
425  void set_value(const StringPiece& value) {
426  *MutableStorage("value") = value.data();
427  }
428 
429  private:
430  void operator=(const OperationWarningsData&);
431  }; // OperationWarningsData
437  static OperationWarnings* New();
438 
444  explicit OperationWarnings(const Json::Value& storage);
445 
451  explicit OperationWarnings(Json::Value* storage);
452 
456  virtual ~OperationWarnings();
457 
463  const StringPiece GetTypeName() const {
464  return StringPiece("google_deploymentmanager_api::OperationWarnings");
465  }
466 
472  bool has_code() const {
473  return Storage().isMember("code");
474  }
475 
479  void clear_code() {
480  MutableStorage()->removeMember("code");
481  }
482 
483 
487  const StringPiece get_code() const {
488  const Json::Value& v = Storage("code");
489  if (v == Json::Value::null) return StringPiece("");
490  return StringPiece(v.asCString());
491  }
492 
501  void set_code(const StringPiece& value) {
502  *MutableStorage("code") = value.data();
503  }
504 
510  bool has_data() const {
511  return Storage().isMember("data");
512  }
513 
517  void clear_data() {
518  MutableStorage()->removeMember("data");
519  }
520 
521 
525  const client::JsonCppArray<OperationWarningsData > get_data() const {
526  const Json::Value& storage = Storage("data");
527  return client::JsonValueToCppValueHelper<client::JsonCppArray<OperationWarningsData > >(storage);
528  }
529 
539  client::JsonCppArray<OperationWarningsData > mutable_data() {
540  Json::Value* storage = MutableStorage("data");
541  return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<OperationWarningsData > >(storage);
542  }
543 
549  bool has_message() const {
550  return Storage().isMember("message");
551  }
552 
556  void clear_message() {
557  MutableStorage()->removeMember("message");
558  }
559 
560 
564  const StringPiece get_message() const {
565  const Json::Value& v = Storage("message");
566  if (v == Json::Value::null) return StringPiece("");
567  return StringPiece(v.asCString());
568  }
569 
577  void set_message(const StringPiece& value) {
578  *MutableStorage("message") = value.data();
579  }
580 
581  private:
582  void operator=(const OperationWarnings&);
583  }; // OperationWarnings
589  static Operation* New();
590 
596  explicit Operation(const Json::Value& storage);
597 
603  explicit Operation(Json::Value* storage);
604 
608  virtual ~Operation();
609 
615  const StringPiece GetTypeName() const {
616  return StringPiece("google_deploymentmanager_api::Operation");
617  }
618 
624  bool has_client_operation_id() const {
625  return Storage().isMember("clientOperationId");
626  }
627 
632  MutableStorage()->removeMember("clientOperationId");
633  }
634 
635 
639  const StringPiece get_client_operation_id() const {
640  const Json::Value& v = Storage("clientOperationId");
641  if (v == Json::Value::null) return StringPiece("");
642  return StringPiece(v.asCString());
643  }
644 
653  void set_client_operation_id(const StringPiece& value) {
654  *MutableStorage("clientOperationId") = value.data();
655  }
656 
662  bool has_creation_timestamp() const {
663  return Storage().isMember("creationTimestamp");
664  }
665 
670  MutableStorage()->removeMember("creationTimestamp");
671  }
672 
673 
677  const StringPiece get_creation_timestamp() const {
678  const Json::Value& v = Storage("creationTimestamp");
679  if (v == Json::Value::null) return StringPiece("");
680  return StringPiece(v.asCString());
681  }
682 
692  void set_creation_timestamp(const StringPiece& value) {
693  *MutableStorage("creationTimestamp") = value.data();
694  }
695 
701  bool has_description() const {
702  return Storage().isMember("description");
703  }
704 
709  MutableStorage()->removeMember("description");
710  }
711 
712 
716  const StringPiece get_description() const {
717  const Json::Value& v = Storage("description");
718  if (v == Json::Value::null) return StringPiece("");
719  return StringPiece(v.asCString());
720  }
721 
730  void set_description(const StringPiece& value) {
731  *MutableStorage("description") = value.data();
732  }
733 
739  bool has_end_time() const {
740  return Storage().isMember("endTime");
741  }
742 
746  void clear_end_time() {
747  MutableStorage()->removeMember("endTime");
748  }
749 
750 
754  const StringPiece get_end_time() const {
755  const Json::Value& v = Storage("endTime");
756  if (v == Json::Value::null) return StringPiece("");
757  return StringPiece(v.asCString());
758  }
759 
768  void set_end_time(const StringPiece& value) {
769  *MutableStorage("endTime") = value.data();
770  }
771 
777  bool has_error() const {
778  return Storage().isMember("error");
779  }
780 
784  void clear_error() {
785  MutableStorage()->removeMember("error");
786  }
787 
788 
792  const OperationError get_error() const {
793  const Json::Value& storage = Storage("error");
794  return client::JsonValueToCppValueHelper<OperationError >(storage);
795  }
796 
806  Json::Value* storage = MutableStorage("error");
807  return client::JsonValueToMutableCppValueHelper<OperationError >(storage);
808  }
809 
815  bool has_http_error_message() const {
816  return Storage().isMember("httpErrorMessage");
817  }
818 
823  MutableStorage()->removeMember("httpErrorMessage");
824  }
825 
826 
830  const StringPiece get_http_error_message() const {
831  const Json::Value& v = Storage("httpErrorMessage");
832  if (v == Json::Value::null) return StringPiece("");
833  return StringPiece(v.asCString());
834  }
835 
844  void set_http_error_message(const StringPiece& value) {
845  *MutableStorage("httpErrorMessage") = value.data();
846  }
847 
854  return Storage().isMember("httpErrorStatusCode");
855  }
856 
861  MutableStorage()->removeMember("httpErrorStatusCode");
862  }
863 
864 
869  const Json::Value& storage = Storage("httpErrorStatusCode");
870  return client::JsonValueToCppValueHelper<int32 >(storage);
871  }
872 
882  void set_http_error_status_code(int32 value) {
883  client::SetJsonValueFromCppValueHelper<int32 >(
884  value, MutableStorage("httpErrorStatusCode"));
885  }
886 
892  bool has_id() const {
893  return Storage().isMember("id");
894  }
895 
899  void clear_id() {
900  MutableStorage()->removeMember("id");
901  }
902 
903 
907  uint64 get_id() const {
908  const Json::Value& storage = Storage("id");
909  return client::JsonValueToCppValueHelper<uint64 >(storage);
910  }
911 
920  void set_id(uint64 value) {
921  client::SetJsonValueFromCppValueHelper<uint64 >(
922  value, MutableStorage("id"));
923  }
924 
930  bool has_insert_time() const {
931  return Storage().isMember("insertTime");
932  }
933 
938  MutableStorage()->removeMember("insertTime");
939  }
940 
941 
945  const StringPiece get_insert_time() const {
946  const Json::Value& v = Storage("insertTime");
947  if (v == Json::Value::null) return StringPiece("");
948  return StringPiece(v.asCString());
949  }
950 
959  void set_insert_time(const StringPiece& value) {
960  *MutableStorage("insertTime") = value.data();
961  }
962 
968  bool has_kind() const {
969  return Storage().isMember("kind");
970  }
971 
975  void clear_kind() {
976  MutableStorage()->removeMember("kind");
977  }
978 
979 
983  const StringPiece get_kind() const {
984  const Json::Value& v = Storage("kind");
985  if (v == Json::Value::null) return StringPiece("");
986  return StringPiece(v.asCString());
987  }
988 
997  void set_kind(const StringPiece& value) {
998  *MutableStorage("kind") = value.data();
999  }
1000 
1006  bool has_name() const {
1007  return Storage().isMember("name");
1008  }
1009 
1013  void clear_name() {
1014  MutableStorage()->removeMember("name");
1015  }
1016 
1017 
1021  const StringPiece get_name() const {
1022  const Json::Value& v = Storage("name");
1023  if (v == Json::Value::null) return StringPiece("");
1024  return StringPiece(v.asCString());
1025  }
1026 
1034  void set_name(const StringPiece& value) {
1035  *MutableStorage("name") = value.data();
1036  }
1037 
1043  bool has_operation_type() const {
1044  return Storage().isMember("operationType");
1045  }
1046 
1051  MutableStorage()->removeMember("operationType");
1052  }
1053 
1054 
1058  const StringPiece get_operation_type() const {
1059  const Json::Value& v = Storage("operationType");
1060  if (v == Json::Value::null) return StringPiece("");
1061  return StringPiece(v.asCString());
1062  }
1063 
1072  void set_operation_type(const StringPiece& value) {
1073  *MutableStorage("operationType") = value.data();
1074  }
1075 
1081  bool has_progress() const {
1082  return Storage().isMember("progress");
1083  }
1084 
1089  MutableStorage()->removeMember("progress");
1090  }
1091 
1092 
1096  int32 get_progress() const {
1097  const Json::Value& storage = Storage("progress");
1098  return client::JsonValueToCppValueHelper<int32 >(storage);
1099  }
1100 
1112  void set_progress(int32 value) {
1113  client::SetJsonValueFromCppValueHelper<int32 >(
1114  value, MutableStorage("progress"));
1115  }
1116 
1122  bool has_region() const {
1123  return Storage().isMember("region");
1124  }
1125 
1129  void clear_region() {
1130  MutableStorage()->removeMember("region");
1131  }
1132 
1133 
1137  const StringPiece get_region() const {
1138  const Json::Value& v = Storage("region");
1139  if (v == Json::Value::null) return StringPiece("");
1140  return StringPiece(v.asCString());
1141  }
1142 
1153  void set_region(const StringPiece& value) {
1154  *MutableStorage("region") = value.data();
1155  }
1156 
1162  bool has_self_link() const {
1163  return Storage().isMember("selfLink");
1164  }
1165 
1170  MutableStorage()->removeMember("selfLink");
1171  }
1172 
1173 
1177  const StringPiece get_self_link() const {
1178  const Json::Value& v = Storage("selfLink");
1179  if (v == Json::Value::null) return StringPiece("");
1180  return StringPiece(v.asCString());
1181  }
1182 
1190  void set_self_link(const StringPiece& value) {
1191  *MutableStorage("selfLink") = value.data();
1192  }
1193 
1199  bool has_start_time() const {
1200  return Storage().isMember("startTime");
1201  }
1202 
1207  MutableStorage()->removeMember("startTime");
1208  }
1209 
1210 
1214  const StringPiece get_start_time() const {
1215  const Json::Value& v = Storage("startTime");
1216  if (v == Json::Value::null) return StringPiece("");
1217  return StringPiece(v.asCString());
1218  }
1219 
1228  void set_start_time(const StringPiece& value) {
1229  *MutableStorage("startTime") = value.data();
1230  }
1231 
1237  bool has_status() const {
1238  return Storage().isMember("status");
1239  }
1240 
1244  void clear_status() {
1245  MutableStorage()->removeMember("status");
1246  }
1247 
1248 
1252  const StringPiece get_status() const {
1253  const Json::Value& v = Storage("status");
1254  if (v == Json::Value::null) return StringPiece("");
1255  return StringPiece(v.asCString());
1256  }
1257 
1266  void set_status(const StringPiece& value) {
1267  *MutableStorage("status") = value.data();
1268  }
1269 
1275  bool has_status_message() const {
1276  return Storage().isMember("statusMessage");
1277  }
1278 
1283  MutableStorage()->removeMember("statusMessage");
1284  }
1285 
1286 
1290  const StringPiece get_status_message() const {
1291  const Json::Value& v = Storage("statusMessage");
1292  if (v == Json::Value::null) return StringPiece("");
1293  return StringPiece(v.asCString());
1294  }
1295 
1304  void set_status_message(const StringPiece& value) {
1305  *MutableStorage("statusMessage") = value.data();
1306  }
1307 
1313  bool has_target_id() const {
1314  return Storage().isMember("targetId");
1315  }
1316 
1321  MutableStorage()->removeMember("targetId");
1322  }
1323 
1324 
1328  uint64 get_target_id() const {
1329  const Json::Value& storage = Storage("targetId");
1330  return client::JsonValueToCppValueHelper<uint64 >(storage);
1331  }
1332 
1341  void set_target_id(uint64 value) {
1342  client::SetJsonValueFromCppValueHelper<uint64 >(
1343  value, MutableStorage("targetId"));
1344  }
1345 
1351  bool has_target_link() const {
1352  return Storage().isMember("targetLink");
1353  }
1354 
1359  MutableStorage()->removeMember("targetLink");
1360  }
1361 
1362 
1366  const StringPiece get_target_link() const {
1367  const Json::Value& v = Storage("targetLink");
1368  if (v == Json::Value::null) return StringPiece("");
1369  return StringPiece(v.asCString());
1370  }
1371 
1381  void set_target_link(const StringPiece& value) {
1382  *MutableStorage("targetLink") = value.data();
1383  }
1384 
1390  bool has_user() const {
1391  return Storage().isMember("user");
1392  }
1393 
1397  void clear_user() {
1398  MutableStorage()->removeMember("user");
1399  }
1400 
1401 
1405  const StringPiece get_user() const {
1406  const Json::Value& v = Storage("user");
1407  if (v == Json::Value::null) return StringPiece("");
1408  return StringPiece(v.asCString());
1409  }
1410 
1419  void set_user(const StringPiece& value) {
1420  *MutableStorage("user") = value.data();
1421  }
1422 
1428  bool has_warnings() const {
1429  return Storage().isMember("warnings");
1430  }
1431 
1436  MutableStorage()->removeMember("warnings");
1437  }
1438 
1439 
1443  const client::JsonCppArray<OperationWarnings > get_warnings() const {
1444  const Json::Value& storage = Storage("warnings");
1445  return client::JsonValueToCppValueHelper<client::JsonCppArray<OperationWarnings > >(storage);
1446  }
1447 
1457  client::JsonCppArray<OperationWarnings > mutable_warnings() {
1458  Json::Value* storage = MutableStorage("warnings");
1459  return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<OperationWarnings > >(storage);
1460  }
1461 
1467  bool has_zone() const {
1468  return Storage().isMember("zone");
1469  }
1470 
1474  void clear_zone() {
1475  MutableStorage()->removeMember("zone");
1476  }
1477 
1478 
1482  const StringPiece get_zone() const {
1483  const Json::Value& v = Storage("zone");
1484  if (v == Json::Value::null) return StringPiece("");
1485  return StringPiece(v.asCString());
1486  }
1487 
1498  void set_zone(const StringPiece& value) {
1499  *MutableStorage("zone") = value.data();
1500  }
1501 
1502  private:
1503  void operator=(const Operation&);
1504 }; // Operation
1505 } // namespace google_deploymentmanager_api
1506 #endif // GOOGLE_DEPLOYMENTMANAGER_API_OPERATION_H_
const StringPiece get_status() const
Definition: operation.h:1252
const StringPiece get_insert_time() const
Definition: operation.h:945
bool has_description() const
Definition: operation.h:701
int32 get_http_error_status_code() const
Definition: operation.h:868
bool has_status_message() const
Definition: operation.h:1275
const StringPiece get_http_error_message() const
Definition: operation.h:830
bool has_name() const
Definition: operation.h:1006
void set_creation_timestamp(const StringPiece &value)
Definition: operation.h:692
void set_region(const StringPiece &value)
Definition: operation.h:1153
const StringPiece get_name() const
Definition: operation.h:1021
void set_start_time(const StringPiece &value)
Definition: operation.h:1228
const StringPiece get_end_time() const
Definition: operation.h:754
void set_description(const StringPiece &value)
Definition: operation.h:730
void clear_operation_type()
Definition: operation.h:1050
const StringPiece get_code() const
Definition: operation.h:127
client::JsonCppArray< OperationWarnings > mutable_warnings()
Definition: operation.h:1457
bool has_id() const
Definition: operation.h:892
void set_code(const StringPiece &value)
Definition: operation.h:501
void clear_region()
Definition: operation.h:1129
void set_status_message(const StringPiece &value)
Definition: operation.h:1304
const client::JsonCppArray< OperationErrorErrors > get_errors() const
Definition: operation.h:277
void set_status(const StringPiece &value)
Definition: operation.h:1266
const StringPiece get_user() const
Definition: operation.h:1405
void set_code(const StringPiece &value)
Definition: operation.h:140
const StringPiece GetTypeName() const
Definition: operation.h:103
bool has_warnings() const
Definition: operation.h:1428
void clear_status()
Definition: operation.h:1244
void clear_errors()
Definition: operation.h:269
void clear_name()
Definition: operation.h:1013
void set_progress(int32 value)
Definition: operation.h:1112
void set_target_link(const StringPiece &value)
Definition: operation.h:1381
void clear_kind()
Definition: operation.h:975
const client::JsonCppArray< OperationWarnings > get_warnings() const
Definition: operation.h:1443
void clear_description()
Definition: operation.h:708
void clear_target_link()
Definition: operation.h:1358
const StringPiece get_description() const
Definition: operation.h:716
const StringPiece get_creation_timestamp() const
Definition: operation.h:677
const StringPiece get_code() const
Definition: operation.h:487
bool has_message() const
Definition: operation.h:549
bool has_http_error_message() const
Definition: operation.h:815
const StringPiece GetTypeName() const
Definition: operation.h:463
void set_target_id(uint64 value)
Definition: operation.h:1341
bool has_target_link() const
Definition: operation.h:1351
void set_operation_type(const StringPiece &value)
Definition: operation.h:1072
void clear_status_message()
Definition: operation.h:1282
void clear_client_operation_id()
Definition: operation.h:631
bool has_target_id() const
Definition: operation.h:1313
const StringPiece get_kind() const
Definition: operation.h:983
const StringPiece get_location() const
Definition: operation.h:164
uint64 get_target_id() const
Definition: operation.h:1328
void set_insert_time(const StringPiece &value)
Definition: operation.h:959
client::JsonCppArray< OperationErrorErrors > mutable_errors()
Definition: operation.h:291
bool has_kind() const
Definition: operation.h:968
const StringPiece GetTypeName() const
Definition: operation.h:253
const StringPiece GetTypeName() const
Definition: operation.h:615
bool has_error() const
Definition: operation.h:777
client::JsonCppArray< OperationWarningsData > mutable_data()
Definition: operation.h:539
void set_message(const StringPiece &value)
Definition: operation.h:215
Definition: operation.h:55
const StringPiece get_key() const
Definition: operation.h:369
OperationError mutable_error()
Definition: operation.h:805
const StringPiece get_region() const
Definition: operation.h:1137
void clear_insert_time()
Definition: operation.h:937
void clear_self_link()
Definition: operation.h:1169
uint64 get_id() const
Definition: operation.h:907
void clear_zone()
Definition: operation.h:1474
bool has_region() const
Definition: operation.h:1122
bool has_progress() const
Definition: operation.h:1081
Definition: audit_config.h:40
const StringPiece get_target_link() const
Definition: operation.h:1366
void set_kind(const StringPiece &value)
Definition: operation.h:997
void set_id(uint64 value)
Definition: operation.h:920
void set_zone(const StringPiece &value)
Definition: operation.h:1498
void clear_user()
Definition: operation.h:1397
const StringPiece get_client_operation_id() const
Definition: operation.h:639
void clear_creation_timestamp()
Definition: operation.h:669
void set_user(const StringPiece &value)
Definition: operation.h:1419
void clear_warnings()
Definition: operation.h:1435
bool has_code() const
Definition: operation.h:472
bool has_creation_timestamp() const
Definition: operation.h:662
void set_name(const StringPiece &value)
Definition: operation.h:1034
bool has_operation_type() const
Definition: operation.h:1043
void set_key(const StringPiece &value)
Definition: operation.h:388
void set_client_operation_id(const StringPiece &value)
Definition: operation.h:653
const StringPiece get_message() const
Definition: operation.h:564
void clear_start_time()
Definition: operation.h:1206
Definition: audit_config.cc:42
void clear_end_time()
Definition: operation.h:746
bool has_end_time() const
Definition: operation.h:739
bool has_user() const
Definition: operation.h:1390
const StringPiece get_zone() const
Definition: operation.h:1482
const StringPiece get_self_link() const
Definition: operation.h:1177
void set_http_error_status_code(int32 value)
Definition: operation.h:882
void clear_http_error_status_code()
Definition: operation.h:860
void clear_progress()
Definition: operation.h:1088
bool has_zone() const
Definition: operation.h:1467
void clear_id()
Definition: operation.h:899
int32 get_progress() const
Definition: operation.h:1096
const StringPiece GetTypeName() const
Definition: operation.h:345
const client::JsonCppArray< OperationWarningsData > get_data() const
Definition: operation.h:525
const StringPiece get_message() const
Definition: operation.h:202
bool has_errors() const
Definition: operation.h:262
const StringPiece get_start_time() const
Definition: operation.h:1214
void set_end_time(const StringPiece &value)
Definition: operation.h:768
bool has_client_operation_id() const
Definition: operation.h:624
bool has_start_time() const
Definition: operation.h:1199
bool has_self_link() const
Definition: operation.h:1162
const StringPiece get_value() const
Definition: operation.h:412
bool has_insert_time() const
Definition: operation.h:930
void clear_target_id()
Definition: operation.h:1320
bool has_http_error_status_code() const
Definition: operation.h:853
void set_message(const StringPiece &value)
Definition: operation.h:577
bool has_data() const
Definition: operation.h:510
const OperationError get_error() const
Definition: operation.h:792
void set_self_link(const StringPiece &value)
Definition: operation.h:1190
bool has_status() const
Definition: operation.h:1237
void clear_http_error_message()
Definition: operation.h:822
void set_location(const StringPiece &value)
Definition: operation.h:178
void set_http_error_message(const StringPiece &value)
Definition: operation.h:844
void set_value(const StringPiece &value)
Definition: operation.h:425
const StringPiece get_status_message() const
Definition: operation.h:1290
void clear_error()
Definition: operation.h:784
const StringPiece get_operation_type() const
Definition: operation.h:1058