protobuf-platform 1.2.587 → 1.2.590

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,6 +22,10 @@ var global = (function() {
22
22
  }.call(null));
23
23
 
24
24
  goog.exportSymbol('proto.config.ActivatedMirrorsResponse', null, global);
25
+ goog.exportSymbol('proto.config.CloudflareCacheInvalidationAction', null, global);
26
+ goog.exportSymbol('proto.config.CloudflareCacheInvalidationDimension', null, global);
27
+ goog.exportSymbol('proto.config.CloudflareCacheInvalidationTarget', null, global);
28
+ goog.exportSymbol('proto.config.CloudflareCacheInvalidationTargetResult', null, global);
25
29
  goog.exportSymbol('proto.config.CommonCountriesRequest', null, global);
26
30
  goog.exportSymbol('proto.config.CommonCountriesResponse', null, global);
27
31
  goog.exportSymbol('proto.config.ConfigDataResponse', null, global);
@@ -45,6 +49,8 @@ goog.exportSymbol('proto.config.GetPrivateR2DownloadUrlRequest', null, global);
45
49
  goog.exportSymbol('proto.config.GetPrivateR2DownloadUrlResponse', null, global);
46
50
  goog.exportSymbol('proto.config.GetZoneRequest', null, global);
47
51
  goog.exportSymbol('proto.config.GlobalDataRequest', null, global);
52
+ goog.exportSymbol('proto.config.InvalidateCloudflareCacheRequest', null, global);
53
+ goog.exportSymbol('proto.config.InvalidateCloudflareCacheResponse', null, global);
48
54
  goog.exportSymbol('proto.config.MirrorCountriesRequest', null, global);
49
55
  goog.exportSymbol('proto.config.MirrorCountriesResponse', null, global);
50
56
  goog.exportSymbol('proto.config.MirrorItem', null, global);
@@ -1165,6 +1171,111 @@ if (goog.DEBUG && !COMPILED) {
1165
1171
  */
1166
1172
  proto.config.MirrorCountriesResponse.displayName = 'proto.config.MirrorCountriesResponse';
1167
1173
  }
1174
+ /**
1175
+ * Generated by JsPbCodeGenerator.
1176
+ * @param {Array=} opt_data Optional initial data array, typically from a
1177
+ * server response, or constructed directly in Javascript. The array is used
1178
+ * in place and becomes part of the constructed object. It is not cloned.
1179
+ * If no data is provided, the constructed object will be empty, but still
1180
+ * valid.
1181
+ * @extends {jspb.Message}
1182
+ * @constructor
1183
+ */
1184
+ proto.config.CloudflareCacheInvalidationDimension = function(opt_data) {
1185
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1186
+ };
1187
+ goog.inherits(proto.config.CloudflareCacheInvalidationDimension, jspb.Message);
1188
+ if (goog.DEBUG && !COMPILED) {
1189
+ /**
1190
+ * @public
1191
+ * @override
1192
+ */
1193
+ proto.config.CloudflareCacheInvalidationDimension.displayName = 'proto.config.CloudflareCacheInvalidationDimension';
1194
+ }
1195
+ /**
1196
+ * Generated by JsPbCodeGenerator.
1197
+ * @param {Array=} opt_data Optional initial data array, typically from a
1198
+ * server response, or constructed directly in Javascript. The array is used
1199
+ * in place and becomes part of the constructed object. It is not cloned.
1200
+ * If no data is provided, the constructed object will be empty, but still
1201
+ * valid.
1202
+ * @extends {jspb.Message}
1203
+ * @constructor
1204
+ */
1205
+ proto.config.CloudflareCacheInvalidationTarget = function(opt_data) {
1206
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.config.CloudflareCacheInvalidationTarget.repeatedFields_, null);
1207
+ };
1208
+ goog.inherits(proto.config.CloudflareCacheInvalidationTarget, jspb.Message);
1209
+ if (goog.DEBUG && !COMPILED) {
1210
+ /**
1211
+ * @public
1212
+ * @override
1213
+ */
1214
+ proto.config.CloudflareCacheInvalidationTarget.displayName = 'proto.config.CloudflareCacheInvalidationTarget';
1215
+ }
1216
+ /**
1217
+ * Generated by JsPbCodeGenerator.
1218
+ * @param {Array=} opt_data Optional initial data array, typically from a
1219
+ * server response, or constructed directly in Javascript. The array is used
1220
+ * in place and becomes part of the constructed object. It is not cloned.
1221
+ * If no data is provided, the constructed object will be empty, but still
1222
+ * valid.
1223
+ * @extends {jspb.Message}
1224
+ * @constructor
1225
+ */
1226
+ proto.config.InvalidateCloudflareCacheRequest = function(opt_data) {
1227
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.config.InvalidateCloudflareCacheRequest.repeatedFields_, null);
1228
+ };
1229
+ goog.inherits(proto.config.InvalidateCloudflareCacheRequest, jspb.Message);
1230
+ if (goog.DEBUG && !COMPILED) {
1231
+ /**
1232
+ * @public
1233
+ * @override
1234
+ */
1235
+ proto.config.InvalidateCloudflareCacheRequest.displayName = 'proto.config.InvalidateCloudflareCacheRequest';
1236
+ }
1237
+ /**
1238
+ * Generated by JsPbCodeGenerator.
1239
+ * @param {Array=} opt_data Optional initial data array, typically from a
1240
+ * server response, or constructed directly in Javascript. The array is used
1241
+ * in place and becomes part of the constructed object. It is not cloned.
1242
+ * If no data is provided, the constructed object will be empty, but still
1243
+ * valid.
1244
+ * @extends {jspb.Message}
1245
+ * @constructor
1246
+ */
1247
+ proto.config.CloudflareCacheInvalidationTargetResult = function(opt_data) {
1248
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.config.CloudflareCacheInvalidationTargetResult.repeatedFields_, null);
1249
+ };
1250
+ goog.inherits(proto.config.CloudflareCacheInvalidationTargetResult, jspb.Message);
1251
+ if (goog.DEBUG && !COMPILED) {
1252
+ /**
1253
+ * @public
1254
+ * @override
1255
+ */
1256
+ proto.config.CloudflareCacheInvalidationTargetResult.displayName = 'proto.config.CloudflareCacheInvalidationTargetResult';
1257
+ }
1258
+ /**
1259
+ * Generated by JsPbCodeGenerator.
1260
+ * @param {Array=} opt_data Optional initial data array, typically from a
1261
+ * server response, or constructed directly in Javascript. The array is used
1262
+ * in place and becomes part of the constructed object. It is not cloned.
1263
+ * If no data is provided, the constructed object will be empty, but still
1264
+ * valid.
1265
+ * @extends {jspb.Message}
1266
+ * @constructor
1267
+ */
1268
+ proto.config.InvalidateCloudflareCacheResponse = function(opt_data) {
1269
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.config.InvalidateCloudflareCacheResponse.repeatedFields_, null);
1270
+ };
1271
+ goog.inherits(proto.config.InvalidateCloudflareCacheResponse, jspb.Message);
1272
+ if (goog.DEBUG && !COMPILED) {
1273
+ /**
1274
+ * @public
1275
+ * @override
1276
+ */
1277
+ proto.config.InvalidateCloudflareCacheResponse.displayName = 'proto.config.InvalidateCloudflareCacheResponse';
1278
+ }
1168
1279
 
1169
1280
 
1170
1281
 
@@ -14722,4 +14833,1088 @@ proto.config.MirrorCountriesResponse.prototype.hasTotalItems = function() {
14722
14833
  };
14723
14834
 
14724
14835
 
14836
+
14837
+
14838
+
14839
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14840
+ /**
14841
+ * Creates an object representation of this proto.
14842
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14843
+ * Optional fields that are not set will be set to undefined.
14844
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14845
+ * For the list of reserved names please see:
14846
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14847
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14848
+ * JSPB instance for transitional soy proto support:
14849
+ * http://goto/soy-param-migration
14850
+ * @return {!Object}
14851
+ */
14852
+ proto.config.CloudflareCacheInvalidationDimension.prototype.toObject = function(opt_includeInstance) {
14853
+ return proto.config.CloudflareCacheInvalidationDimension.toObject(opt_includeInstance, this);
14854
+ };
14855
+
14856
+
14857
+ /**
14858
+ * Static version of the {@see toObject} method.
14859
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14860
+ * the JSPB instance for transitional soy proto support:
14861
+ * http://goto/soy-param-migration
14862
+ * @param {!proto.config.CloudflareCacheInvalidationDimension} msg The msg instance to transform.
14863
+ * @return {!Object}
14864
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14865
+ */
14866
+ proto.config.CloudflareCacheInvalidationDimension.toObject = function(includeInstance, msg) {
14867
+ var f, obj = {
14868
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
14869
+ value: jspb.Message.getFieldWithDefault(msg, 2, "")
14870
+ };
14871
+
14872
+ if (includeInstance) {
14873
+ obj.$jspbMessageInstance = msg;
14874
+ }
14875
+ return obj;
14876
+ };
14877
+ }
14878
+
14879
+
14880
+ /**
14881
+ * Deserializes binary data (in protobuf wire format).
14882
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14883
+ * @return {!proto.config.CloudflareCacheInvalidationDimension}
14884
+ */
14885
+ proto.config.CloudflareCacheInvalidationDimension.deserializeBinary = function(bytes) {
14886
+ var reader = new jspb.BinaryReader(bytes);
14887
+ var msg = new proto.config.CloudflareCacheInvalidationDimension;
14888
+ return proto.config.CloudflareCacheInvalidationDimension.deserializeBinaryFromReader(msg, reader);
14889
+ };
14890
+
14891
+
14892
+ /**
14893
+ * Deserializes binary data (in protobuf wire format) from the
14894
+ * given reader into the given message object.
14895
+ * @param {!proto.config.CloudflareCacheInvalidationDimension} msg The message object to deserialize into.
14896
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14897
+ * @return {!proto.config.CloudflareCacheInvalidationDimension}
14898
+ */
14899
+ proto.config.CloudflareCacheInvalidationDimension.deserializeBinaryFromReader = function(msg, reader) {
14900
+ while (reader.nextField()) {
14901
+ if (reader.isEndGroup()) {
14902
+ break;
14903
+ }
14904
+ var field = reader.getFieldNumber();
14905
+ switch (field) {
14906
+ case 1:
14907
+ var value = /** @type {string} */ (reader.readString());
14908
+ msg.setKey(value);
14909
+ break;
14910
+ case 2:
14911
+ var value = /** @type {string} */ (reader.readString());
14912
+ msg.setValue(value);
14913
+ break;
14914
+ default:
14915
+ reader.skipField();
14916
+ break;
14917
+ }
14918
+ }
14919
+ return msg;
14920
+ };
14921
+
14922
+
14923
+ /**
14924
+ * Serializes the message to binary data (in protobuf wire format).
14925
+ * @return {!Uint8Array}
14926
+ */
14927
+ proto.config.CloudflareCacheInvalidationDimension.prototype.serializeBinary = function() {
14928
+ var writer = new jspb.BinaryWriter();
14929
+ proto.config.CloudflareCacheInvalidationDimension.serializeBinaryToWriter(this, writer);
14930
+ return writer.getResultBuffer();
14931
+ };
14932
+
14933
+
14934
+ /**
14935
+ * Serializes the given message to binary data (in protobuf wire
14936
+ * format), writing to the given BinaryWriter.
14937
+ * @param {!proto.config.CloudflareCacheInvalidationDimension} message
14938
+ * @param {!jspb.BinaryWriter} writer
14939
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14940
+ */
14941
+ proto.config.CloudflareCacheInvalidationDimension.serializeBinaryToWriter = function(message, writer) {
14942
+ var f = undefined;
14943
+ f = message.getKey();
14944
+ if (f.length > 0) {
14945
+ writer.writeString(
14946
+ 1,
14947
+ f
14948
+ );
14949
+ }
14950
+ f = message.getValue();
14951
+ if (f.length > 0) {
14952
+ writer.writeString(
14953
+ 2,
14954
+ f
14955
+ );
14956
+ }
14957
+ };
14958
+
14959
+
14960
+ /**
14961
+ * optional string key = 1;
14962
+ * @return {string}
14963
+ */
14964
+ proto.config.CloudflareCacheInvalidationDimension.prototype.getKey = function() {
14965
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
14966
+ };
14967
+
14968
+
14969
+ /**
14970
+ * @param {string} value
14971
+ * @return {!proto.config.CloudflareCacheInvalidationDimension} returns this
14972
+ */
14973
+ proto.config.CloudflareCacheInvalidationDimension.prototype.setKey = function(value) {
14974
+ return jspb.Message.setProto3StringField(this, 1, value);
14975
+ };
14976
+
14977
+
14978
+ /**
14979
+ * optional string value = 2;
14980
+ * @return {string}
14981
+ */
14982
+ proto.config.CloudflareCacheInvalidationDimension.prototype.getValue = function() {
14983
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
14984
+ };
14985
+
14986
+
14987
+ /**
14988
+ * @param {string} value
14989
+ * @return {!proto.config.CloudflareCacheInvalidationDimension} returns this
14990
+ */
14991
+ proto.config.CloudflareCacheInvalidationDimension.prototype.setValue = function(value) {
14992
+ return jspb.Message.setProto3StringField(this, 2, value);
14993
+ };
14994
+
14995
+
14996
+
14997
+ /**
14998
+ * List of repeated fields within this message type.
14999
+ * @private {!Array<number>}
15000
+ * @const
15001
+ */
15002
+ proto.config.CloudflareCacheInvalidationTarget.repeatedFields_ = [2];
15003
+
15004
+
15005
+
15006
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15007
+ /**
15008
+ * Creates an object representation of this proto.
15009
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15010
+ * Optional fields that are not set will be set to undefined.
15011
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15012
+ * For the list of reserved names please see:
15013
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15014
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15015
+ * JSPB instance for transitional soy proto support:
15016
+ * http://goto/soy-param-migration
15017
+ * @return {!Object}
15018
+ */
15019
+ proto.config.CloudflareCacheInvalidationTarget.prototype.toObject = function(opt_includeInstance) {
15020
+ return proto.config.CloudflareCacheInvalidationTarget.toObject(opt_includeInstance, this);
15021
+ };
15022
+
15023
+
15024
+ /**
15025
+ * Static version of the {@see toObject} method.
15026
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15027
+ * the JSPB instance for transitional soy proto support:
15028
+ * http://goto/soy-param-migration
15029
+ * @param {!proto.config.CloudflareCacheInvalidationTarget} msg The msg instance to transform.
15030
+ * @return {!Object}
15031
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15032
+ */
15033
+ proto.config.CloudflareCacheInvalidationTarget.toObject = function(includeInstance, msg) {
15034
+ var f, obj = {
15035
+ namespace: jspb.Message.getFieldWithDefault(msg, 1, ""),
15036
+ dimensionsList: jspb.Message.toObjectList(msg.getDimensionsList(),
15037
+ proto.config.CloudflareCacheInvalidationDimension.toObject, includeInstance)
15038
+ };
15039
+
15040
+ if (includeInstance) {
15041
+ obj.$jspbMessageInstance = msg;
15042
+ }
15043
+ return obj;
15044
+ };
15045
+ }
15046
+
15047
+
15048
+ /**
15049
+ * Deserializes binary data (in protobuf wire format).
15050
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15051
+ * @return {!proto.config.CloudflareCacheInvalidationTarget}
15052
+ */
15053
+ proto.config.CloudflareCacheInvalidationTarget.deserializeBinary = function(bytes) {
15054
+ var reader = new jspb.BinaryReader(bytes);
15055
+ var msg = new proto.config.CloudflareCacheInvalidationTarget;
15056
+ return proto.config.CloudflareCacheInvalidationTarget.deserializeBinaryFromReader(msg, reader);
15057
+ };
15058
+
15059
+
15060
+ /**
15061
+ * Deserializes binary data (in protobuf wire format) from the
15062
+ * given reader into the given message object.
15063
+ * @param {!proto.config.CloudflareCacheInvalidationTarget} msg The message object to deserialize into.
15064
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15065
+ * @return {!proto.config.CloudflareCacheInvalidationTarget}
15066
+ */
15067
+ proto.config.CloudflareCacheInvalidationTarget.deserializeBinaryFromReader = function(msg, reader) {
15068
+ while (reader.nextField()) {
15069
+ if (reader.isEndGroup()) {
15070
+ break;
15071
+ }
15072
+ var field = reader.getFieldNumber();
15073
+ switch (field) {
15074
+ case 1:
15075
+ var value = /** @type {string} */ (reader.readString());
15076
+ msg.setNamespace(value);
15077
+ break;
15078
+ case 2:
15079
+ var value = new proto.config.CloudflareCacheInvalidationDimension;
15080
+ reader.readMessage(value,proto.config.CloudflareCacheInvalidationDimension.deserializeBinaryFromReader);
15081
+ msg.addDimensions(value);
15082
+ break;
15083
+ default:
15084
+ reader.skipField();
15085
+ break;
15086
+ }
15087
+ }
15088
+ return msg;
15089
+ };
15090
+
15091
+
15092
+ /**
15093
+ * Serializes the message to binary data (in protobuf wire format).
15094
+ * @return {!Uint8Array}
15095
+ */
15096
+ proto.config.CloudflareCacheInvalidationTarget.prototype.serializeBinary = function() {
15097
+ var writer = new jspb.BinaryWriter();
15098
+ proto.config.CloudflareCacheInvalidationTarget.serializeBinaryToWriter(this, writer);
15099
+ return writer.getResultBuffer();
15100
+ };
15101
+
15102
+
15103
+ /**
15104
+ * Serializes the given message to binary data (in protobuf wire
15105
+ * format), writing to the given BinaryWriter.
15106
+ * @param {!proto.config.CloudflareCacheInvalidationTarget} message
15107
+ * @param {!jspb.BinaryWriter} writer
15108
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15109
+ */
15110
+ proto.config.CloudflareCacheInvalidationTarget.serializeBinaryToWriter = function(message, writer) {
15111
+ var f = undefined;
15112
+ f = message.getNamespace();
15113
+ if (f.length > 0) {
15114
+ writer.writeString(
15115
+ 1,
15116
+ f
15117
+ );
15118
+ }
15119
+ f = message.getDimensionsList();
15120
+ if (f.length > 0) {
15121
+ writer.writeRepeatedMessage(
15122
+ 2,
15123
+ f,
15124
+ proto.config.CloudflareCacheInvalidationDimension.serializeBinaryToWriter
15125
+ );
15126
+ }
15127
+ };
15128
+
15129
+
15130
+ /**
15131
+ * optional string namespace = 1;
15132
+ * @return {string}
15133
+ */
15134
+ proto.config.CloudflareCacheInvalidationTarget.prototype.getNamespace = function() {
15135
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
15136
+ };
15137
+
15138
+
15139
+ /**
15140
+ * @param {string} value
15141
+ * @return {!proto.config.CloudflareCacheInvalidationTarget} returns this
15142
+ */
15143
+ proto.config.CloudflareCacheInvalidationTarget.prototype.setNamespace = function(value) {
15144
+ return jspb.Message.setProto3StringField(this, 1, value);
15145
+ };
15146
+
15147
+
15148
+ /**
15149
+ * repeated CloudflareCacheInvalidationDimension dimensions = 2;
15150
+ * @return {!Array<!proto.config.CloudflareCacheInvalidationDimension>}
15151
+ */
15152
+ proto.config.CloudflareCacheInvalidationTarget.prototype.getDimensionsList = function() {
15153
+ return /** @type{!Array<!proto.config.CloudflareCacheInvalidationDimension>} */ (
15154
+ jspb.Message.getRepeatedWrapperField(this, proto.config.CloudflareCacheInvalidationDimension, 2));
15155
+ };
15156
+
15157
+
15158
+ /**
15159
+ * @param {!Array<!proto.config.CloudflareCacheInvalidationDimension>} value
15160
+ * @return {!proto.config.CloudflareCacheInvalidationTarget} returns this
15161
+ */
15162
+ proto.config.CloudflareCacheInvalidationTarget.prototype.setDimensionsList = function(value) {
15163
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
15164
+ };
15165
+
15166
+
15167
+ /**
15168
+ * @param {!proto.config.CloudflareCacheInvalidationDimension=} opt_value
15169
+ * @param {number=} opt_index
15170
+ * @return {!proto.config.CloudflareCacheInvalidationDimension}
15171
+ */
15172
+ proto.config.CloudflareCacheInvalidationTarget.prototype.addDimensions = function(opt_value, opt_index) {
15173
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.config.CloudflareCacheInvalidationDimension, opt_index);
15174
+ };
15175
+
15176
+
15177
+ /**
15178
+ * Clears the list making it empty but non-null.
15179
+ * @return {!proto.config.CloudflareCacheInvalidationTarget} returns this
15180
+ */
15181
+ proto.config.CloudflareCacheInvalidationTarget.prototype.clearDimensionsList = function() {
15182
+ return this.setDimensionsList([]);
15183
+ };
15184
+
15185
+
15186
+
15187
+ /**
15188
+ * List of repeated fields within this message type.
15189
+ * @private {!Array<number>}
15190
+ * @const
15191
+ */
15192
+ proto.config.InvalidateCloudflareCacheRequest.repeatedFields_ = [3];
15193
+
15194
+
15195
+
15196
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15197
+ /**
15198
+ * Creates an object representation of this proto.
15199
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15200
+ * Optional fields that are not set will be set to undefined.
15201
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15202
+ * For the list of reserved names please see:
15203
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15204
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15205
+ * JSPB instance for transitional soy proto support:
15206
+ * http://goto/soy-param-migration
15207
+ * @return {!Object}
15208
+ */
15209
+ proto.config.InvalidateCloudflareCacheRequest.prototype.toObject = function(opt_includeInstance) {
15210
+ return proto.config.InvalidateCloudflareCacheRequest.toObject(opt_includeInstance, this);
15211
+ };
15212
+
15213
+
15214
+ /**
15215
+ * Static version of the {@see toObject} method.
15216
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15217
+ * the JSPB instance for transitional soy proto support:
15218
+ * http://goto/soy-param-migration
15219
+ * @param {!proto.config.InvalidateCloudflareCacheRequest} msg The msg instance to transform.
15220
+ * @return {!Object}
15221
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15222
+ */
15223
+ proto.config.InvalidateCloudflareCacheRequest.toObject = function(includeInstance, msg) {
15224
+ var f, obj = {
15225
+ environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
15226
+ action: jspb.Message.getFieldWithDefault(msg, 2, 0),
15227
+ targetsList: jspb.Message.toObjectList(msg.getTargetsList(),
15228
+ proto.config.CloudflareCacheInvalidationTarget.toObject, includeInstance)
15229
+ };
15230
+
15231
+ if (includeInstance) {
15232
+ obj.$jspbMessageInstance = msg;
15233
+ }
15234
+ return obj;
15235
+ };
15236
+ }
15237
+
15238
+
15239
+ /**
15240
+ * Deserializes binary data (in protobuf wire format).
15241
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15242
+ * @return {!proto.config.InvalidateCloudflareCacheRequest}
15243
+ */
15244
+ proto.config.InvalidateCloudflareCacheRequest.deserializeBinary = function(bytes) {
15245
+ var reader = new jspb.BinaryReader(bytes);
15246
+ var msg = new proto.config.InvalidateCloudflareCacheRequest;
15247
+ return proto.config.InvalidateCloudflareCacheRequest.deserializeBinaryFromReader(msg, reader);
15248
+ };
15249
+
15250
+
15251
+ /**
15252
+ * Deserializes binary data (in protobuf wire format) from the
15253
+ * given reader into the given message object.
15254
+ * @param {!proto.config.InvalidateCloudflareCacheRequest} msg The message object to deserialize into.
15255
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15256
+ * @return {!proto.config.InvalidateCloudflareCacheRequest}
15257
+ */
15258
+ proto.config.InvalidateCloudflareCacheRequest.deserializeBinaryFromReader = function(msg, reader) {
15259
+ while (reader.nextField()) {
15260
+ if (reader.isEndGroup()) {
15261
+ break;
15262
+ }
15263
+ var field = reader.getFieldNumber();
15264
+ switch (field) {
15265
+ case 1:
15266
+ var value = /** @type {string} */ (reader.readString());
15267
+ msg.setEnvironment(value);
15268
+ break;
15269
+ case 2:
15270
+ var value = /** @type {!proto.config.CloudflareCacheInvalidationAction} */ (reader.readEnum());
15271
+ msg.setAction(value);
15272
+ break;
15273
+ case 3:
15274
+ var value = new proto.config.CloudflareCacheInvalidationTarget;
15275
+ reader.readMessage(value,proto.config.CloudflareCacheInvalidationTarget.deserializeBinaryFromReader);
15276
+ msg.addTargets(value);
15277
+ break;
15278
+ default:
15279
+ reader.skipField();
15280
+ break;
15281
+ }
15282
+ }
15283
+ return msg;
15284
+ };
15285
+
15286
+
15287
+ /**
15288
+ * Serializes the message to binary data (in protobuf wire format).
15289
+ * @return {!Uint8Array}
15290
+ */
15291
+ proto.config.InvalidateCloudflareCacheRequest.prototype.serializeBinary = function() {
15292
+ var writer = new jspb.BinaryWriter();
15293
+ proto.config.InvalidateCloudflareCacheRequest.serializeBinaryToWriter(this, writer);
15294
+ return writer.getResultBuffer();
15295
+ };
15296
+
15297
+
15298
+ /**
15299
+ * Serializes the given message to binary data (in protobuf wire
15300
+ * format), writing to the given BinaryWriter.
15301
+ * @param {!proto.config.InvalidateCloudflareCacheRequest} message
15302
+ * @param {!jspb.BinaryWriter} writer
15303
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15304
+ */
15305
+ proto.config.InvalidateCloudflareCacheRequest.serializeBinaryToWriter = function(message, writer) {
15306
+ var f = undefined;
15307
+ f = message.getEnvironment();
15308
+ if (f.length > 0) {
15309
+ writer.writeString(
15310
+ 1,
15311
+ f
15312
+ );
15313
+ }
15314
+ f = message.getAction();
15315
+ if (f !== 0.0) {
15316
+ writer.writeEnum(
15317
+ 2,
15318
+ f
15319
+ );
15320
+ }
15321
+ f = message.getTargetsList();
15322
+ if (f.length > 0) {
15323
+ writer.writeRepeatedMessage(
15324
+ 3,
15325
+ f,
15326
+ proto.config.CloudflareCacheInvalidationTarget.serializeBinaryToWriter
15327
+ );
15328
+ }
15329
+ };
15330
+
15331
+
15332
+ /**
15333
+ * optional string environment = 1;
15334
+ * @return {string}
15335
+ */
15336
+ proto.config.InvalidateCloudflareCacheRequest.prototype.getEnvironment = function() {
15337
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
15338
+ };
15339
+
15340
+
15341
+ /**
15342
+ * @param {string} value
15343
+ * @return {!proto.config.InvalidateCloudflareCacheRequest} returns this
15344
+ */
15345
+ proto.config.InvalidateCloudflareCacheRequest.prototype.setEnvironment = function(value) {
15346
+ return jspb.Message.setProto3StringField(this, 1, value);
15347
+ };
15348
+
15349
+
15350
+ /**
15351
+ * optional CloudflareCacheInvalidationAction action = 2;
15352
+ * @return {!proto.config.CloudflareCacheInvalidationAction}
15353
+ */
15354
+ proto.config.InvalidateCloudflareCacheRequest.prototype.getAction = function() {
15355
+ return /** @type {!proto.config.CloudflareCacheInvalidationAction} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
15356
+ };
15357
+
15358
+
15359
+ /**
15360
+ * @param {!proto.config.CloudflareCacheInvalidationAction} value
15361
+ * @return {!proto.config.InvalidateCloudflareCacheRequest} returns this
15362
+ */
15363
+ proto.config.InvalidateCloudflareCacheRequest.prototype.setAction = function(value) {
15364
+ return jspb.Message.setProto3EnumField(this, 2, value);
15365
+ };
15366
+
15367
+
15368
+ /**
15369
+ * repeated CloudflareCacheInvalidationTarget targets = 3;
15370
+ * @return {!Array<!proto.config.CloudflareCacheInvalidationTarget>}
15371
+ */
15372
+ proto.config.InvalidateCloudflareCacheRequest.prototype.getTargetsList = function() {
15373
+ return /** @type{!Array<!proto.config.CloudflareCacheInvalidationTarget>} */ (
15374
+ jspb.Message.getRepeatedWrapperField(this, proto.config.CloudflareCacheInvalidationTarget, 3));
15375
+ };
15376
+
15377
+
15378
+ /**
15379
+ * @param {!Array<!proto.config.CloudflareCacheInvalidationTarget>} value
15380
+ * @return {!proto.config.InvalidateCloudflareCacheRequest} returns this
15381
+ */
15382
+ proto.config.InvalidateCloudflareCacheRequest.prototype.setTargetsList = function(value) {
15383
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
15384
+ };
15385
+
15386
+
15387
+ /**
15388
+ * @param {!proto.config.CloudflareCacheInvalidationTarget=} opt_value
15389
+ * @param {number=} opt_index
15390
+ * @return {!proto.config.CloudflareCacheInvalidationTarget}
15391
+ */
15392
+ proto.config.InvalidateCloudflareCacheRequest.prototype.addTargets = function(opt_value, opt_index) {
15393
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.config.CloudflareCacheInvalidationTarget, opt_index);
15394
+ };
15395
+
15396
+
15397
+ /**
15398
+ * Clears the list making it empty but non-null.
15399
+ * @return {!proto.config.InvalidateCloudflareCacheRequest} returns this
15400
+ */
15401
+ proto.config.InvalidateCloudflareCacheRequest.prototype.clearTargetsList = function() {
15402
+ return this.setTargetsList([]);
15403
+ };
15404
+
15405
+
15406
+
15407
+ /**
15408
+ * List of repeated fields within this message type.
15409
+ * @private {!Array<number>}
15410
+ * @const
15411
+ */
15412
+ proto.config.CloudflareCacheInvalidationTargetResult.repeatedFields_ = [2];
15413
+
15414
+
15415
+
15416
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15417
+ /**
15418
+ * Creates an object representation of this proto.
15419
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15420
+ * Optional fields that are not set will be set to undefined.
15421
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15422
+ * For the list of reserved names please see:
15423
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15424
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15425
+ * JSPB instance for transitional soy proto support:
15426
+ * http://goto/soy-param-migration
15427
+ * @return {!Object}
15428
+ */
15429
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.toObject = function(opt_includeInstance) {
15430
+ return proto.config.CloudflareCacheInvalidationTargetResult.toObject(opt_includeInstance, this);
15431
+ };
15432
+
15433
+
15434
+ /**
15435
+ * Static version of the {@see toObject} method.
15436
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15437
+ * the JSPB instance for transitional soy proto support:
15438
+ * http://goto/soy-param-migration
15439
+ * @param {!proto.config.CloudflareCacheInvalidationTargetResult} msg The msg instance to transform.
15440
+ * @return {!Object}
15441
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15442
+ */
15443
+ proto.config.CloudflareCacheInvalidationTargetResult.toObject = function(includeInstance, msg) {
15444
+ var f, obj = {
15445
+ namespace: jspb.Message.getFieldWithDefault(msg, 1, ""),
15446
+ dimensionsList: jspb.Message.toObjectList(msg.getDimensionsList(),
15447
+ proto.config.CloudflareCacheInvalidationDimension.toObject, includeInstance),
15448
+ status: jspb.Message.getFieldWithDefault(msg, 3, ""),
15449
+ resultingVersion: jspb.Message.getFieldWithDefault(msg, 4, 0),
15450
+ errorMessage: jspb.Message.getFieldWithDefault(msg, 5, "")
15451
+ };
15452
+
15453
+ if (includeInstance) {
15454
+ obj.$jspbMessageInstance = msg;
15455
+ }
15456
+ return obj;
15457
+ };
15458
+ }
15459
+
15460
+
15461
+ /**
15462
+ * Deserializes binary data (in protobuf wire format).
15463
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15464
+ * @return {!proto.config.CloudflareCacheInvalidationTargetResult}
15465
+ */
15466
+ proto.config.CloudflareCacheInvalidationTargetResult.deserializeBinary = function(bytes) {
15467
+ var reader = new jspb.BinaryReader(bytes);
15468
+ var msg = new proto.config.CloudflareCacheInvalidationTargetResult;
15469
+ return proto.config.CloudflareCacheInvalidationTargetResult.deserializeBinaryFromReader(msg, reader);
15470
+ };
15471
+
15472
+
15473
+ /**
15474
+ * Deserializes binary data (in protobuf wire format) from the
15475
+ * given reader into the given message object.
15476
+ * @param {!proto.config.CloudflareCacheInvalidationTargetResult} msg The message object to deserialize into.
15477
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15478
+ * @return {!proto.config.CloudflareCacheInvalidationTargetResult}
15479
+ */
15480
+ proto.config.CloudflareCacheInvalidationTargetResult.deserializeBinaryFromReader = function(msg, reader) {
15481
+ while (reader.nextField()) {
15482
+ if (reader.isEndGroup()) {
15483
+ break;
15484
+ }
15485
+ var field = reader.getFieldNumber();
15486
+ switch (field) {
15487
+ case 1:
15488
+ var value = /** @type {string} */ (reader.readString());
15489
+ msg.setNamespace(value);
15490
+ break;
15491
+ case 2:
15492
+ var value = new proto.config.CloudflareCacheInvalidationDimension;
15493
+ reader.readMessage(value,proto.config.CloudflareCacheInvalidationDimension.deserializeBinaryFromReader);
15494
+ msg.addDimensions(value);
15495
+ break;
15496
+ case 3:
15497
+ var value = /** @type {string} */ (reader.readString());
15498
+ msg.setStatus(value);
15499
+ break;
15500
+ case 4:
15501
+ var value = /** @type {number} */ (reader.readInt64());
15502
+ msg.setResultingVersion(value);
15503
+ break;
15504
+ case 5:
15505
+ var value = /** @type {string} */ (reader.readString());
15506
+ msg.setErrorMessage(value);
15507
+ break;
15508
+ default:
15509
+ reader.skipField();
15510
+ break;
15511
+ }
15512
+ }
15513
+ return msg;
15514
+ };
15515
+
15516
+
15517
+ /**
15518
+ * Serializes the message to binary data (in protobuf wire format).
15519
+ * @return {!Uint8Array}
15520
+ */
15521
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.serializeBinary = function() {
15522
+ var writer = new jspb.BinaryWriter();
15523
+ proto.config.CloudflareCacheInvalidationTargetResult.serializeBinaryToWriter(this, writer);
15524
+ return writer.getResultBuffer();
15525
+ };
15526
+
15527
+
15528
+ /**
15529
+ * Serializes the given message to binary data (in protobuf wire
15530
+ * format), writing to the given BinaryWriter.
15531
+ * @param {!proto.config.CloudflareCacheInvalidationTargetResult} message
15532
+ * @param {!jspb.BinaryWriter} writer
15533
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15534
+ */
15535
+ proto.config.CloudflareCacheInvalidationTargetResult.serializeBinaryToWriter = function(message, writer) {
15536
+ var f = undefined;
15537
+ f = message.getNamespace();
15538
+ if (f.length > 0) {
15539
+ writer.writeString(
15540
+ 1,
15541
+ f
15542
+ );
15543
+ }
15544
+ f = message.getDimensionsList();
15545
+ if (f.length > 0) {
15546
+ writer.writeRepeatedMessage(
15547
+ 2,
15548
+ f,
15549
+ proto.config.CloudflareCacheInvalidationDimension.serializeBinaryToWriter
15550
+ );
15551
+ }
15552
+ f = message.getStatus();
15553
+ if (f.length > 0) {
15554
+ writer.writeString(
15555
+ 3,
15556
+ f
15557
+ );
15558
+ }
15559
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
15560
+ if (f != null) {
15561
+ writer.writeInt64(
15562
+ 4,
15563
+ f
15564
+ );
15565
+ }
15566
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
15567
+ if (f != null) {
15568
+ writer.writeString(
15569
+ 5,
15570
+ f
15571
+ );
15572
+ }
15573
+ };
15574
+
15575
+
15576
+ /**
15577
+ * optional string namespace = 1;
15578
+ * @return {string}
15579
+ */
15580
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.getNamespace = function() {
15581
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
15582
+ };
15583
+
15584
+
15585
+ /**
15586
+ * @param {string} value
15587
+ * @return {!proto.config.CloudflareCacheInvalidationTargetResult} returns this
15588
+ */
15589
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.setNamespace = function(value) {
15590
+ return jspb.Message.setProto3StringField(this, 1, value);
15591
+ };
15592
+
15593
+
15594
+ /**
15595
+ * repeated CloudflareCacheInvalidationDimension dimensions = 2;
15596
+ * @return {!Array<!proto.config.CloudflareCacheInvalidationDimension>}
15597
+ */
15598
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.getDimensionsList = function() {
15599
+ return /** @type{!Array<!proto.config.CloudflareCacheInvalidationDimension>} */ (
15600
+ jspb.Message.getRepeatedWrapperField(this, proto.config.CloudflareCacheInvalidationDimension, 2));
15601
+ };
15602
+
15603
+
15604
+ /**
15605
+ * @param {!Array<!proto.config.CloudflareCacheInvalidationDimension>} value
15606
+ * @return {!proto.config.CloudflareCacheInvalidationTargetResult} returns this
15607
+ */
15608
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.setDimensionsList = function(value) {
15609
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
15610
+ };
15611
+
15612
+
15613
+ /**
15614
+ * @param {!proto.config.CloudflareCacheInvalidationDimension=} opt_value
15615
+ * @param {number=} opt_index
15616
+ * @return {!proto.config.CloudflareCacheInvalidationDimension}
15617
+ */
15618
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.addDimensions = function(opt_value, opt_index) {
15619
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.config.CloudflareCacheInvalidationDimension, opt_index);
15620
+ };
15621
+
15622
+
15623
+ /**
15624
+ * Clears the list making it empty but non-null.
15625
+ * @return {!proto.config.CloudflareCacheInvalidationTargetResult} returns this
15626
+ */
15627
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.clearDimensionsList = function() {
15628
+ return this.setDimensionsList([]);
15629
+ };
15630
+
15631
+
15632
+ /**
15633
+ * optional string status = 3;
15634
+ * @return {string}
15635
+ */
15636
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.getStatus = function() {
15637
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
15638
+ };
15639
+
15640
+
15641
+ /**
15642
+ * @param {string} value
15643
+ * @return {!proto.config.CloudflareCacheInvalidationTargetResult} returns this
15644
+ */
15645
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.setStatus = function(value) {
15646
+ return jspb.Message.setProto3StringField(this, 3, value);
15647
+ };
15648
+
15649
+
15650
+ /**
15651
+ * optional int64 resulting_version = 4;
15652
+ * @return {number}
15653
+ */
15654
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.getResultingVersion = function() {
15655
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
15656
+ };
15657
+
15658
+
15659
+ /**
15660
+ * @param {number} value
15661
+ * @return {!proto.config.CloudflareCacheInvalidationTargetResult} returns this
15662
+ */
15663
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.setResultingVersion = function(value) {
15664
+ return jspb.Message.setField(this, 4, value);
15665
+ };
15666
+
15667
+
15668
+ /**
15669
+ * Clears the field making it undefined.
15670
+ * @return {!proto.config.CloudflareCacheInvalidationTargetResult} returns this
15671
+ */
15672
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.clearResultingVersion = function() {
15673
+ return jspb.Message.setField(this, 4, undefined);
15674
+ };
15675
+
15676
+
15677
+ /**
15678
+ * Returns whether this field is set.
15679
+ * @return {boolean}
15680
+ */
15681
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.hasResultingVersion = function() {
15682
+ return jspb.Message.getField(this, 4) != null;
15683
+ };
15684
+
15685
+
15686
+ /**
15687
+ * optional string error_message = 5;
15688
+ * @return {string}
15689
+ */
15690
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.getErrorMessage = function() {
15691
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
15692
+ };
15693
+
15694
+
15695
+ /**
15696
+ * @param {string} value
15697
+ * @return {!proto.config.CloudflareCacheInvalidationTargetResult} returns this
15698
+ */
15699
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.setErrorMessage = function(value) {
15700
+ return jspb.Message.setField(this, 5, value);
15701
+ };
15702
+
15703
+
15704
+ /**
15705
+ * Clears the field making it undefined.
15706
+ * @return {!proto.config.CloudflareCacheInvalidationTargetResult} returns this
15707
+ */
15708
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.clearErrorMessage = function() {
15709
+ return jspb.Message.setField(this, 5, undefined);
15710
+ };
15711
+
15712
+
15713
+ /**
15714
+ * Returns whether this field is set.
15715
+ * @return {boolean}
15716
+ */
15717
+ proto.config.CloudflareCacheInvalidationTargetResult.prototype.hasErrorMessage = function() {
15718
+ return jspb.Message.getField(this, 5) != null;
15719
+ };
15720
+
15721
+
15722
+
15723
+ /**
15724
+ * List of repeated fields within this message type.
15725
+ * @private {!Array<number>}
15726
+ * @const
15727
+ */
15728
+ proto.config.InvalidateCloudflareCacheResponse.repeatedFields_ = [2];
15729
+
15730
+
15731
+
15732
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15733
+ /**
15734
+ * Creates an object representation of this proto.
15735
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15736
+ * Optional fields that are not set will be set to undefined.
15737
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15738
+ * For the list of reserved names please see:
15739
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15740
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15741
+ * JSPB instance for transitional soy proto support:
15742
+ * http://goto/soy-param-migration
15743
+ * @return {!Object}
15744
+ */
15745
+ proto.config.InvalidateCloudflareCacheResponse.prototype.toObject = function(opt_includeInstance) {
15746
+ return proto.config.InvalidateCloudflareCacheResponse.toObject(opt_includeInstance, this);
15747
+ };
15748
+
15749
+
15750
+ /**
15751
+ * Static version of the {@see toObject} method.
15752
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15753
+ * the JSPB instance for transitional soy proto support:
15754
+ * http://goto/soy-param-migration
15755
+ * @param {!proto.config.InvalidateCloudflareCacheResponse} msg The msg instance to transform.
15756
+ * @return {!Object}
15757
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15758
+ */
15759
+ proto.config.InvalidateCloudflareCacheResponse.toObject = function(includeInstance, msg) {
15760
+ var f, obj = {
15761
+ status: jspb.Message.getFieldWithDefault(msg, 1, ""),
15762
+ resultsList: jspb.Message.toObjectList(msg.getResultsList(),
15763
+ proto.config.CloudflareCacheInvalidationTargetResult.toObject, includeInstance)
15764
+ };
15765
+
15766
+ if (includeInstance) {
15767
+ obj.$jspbMessageInstance = msg;
15768
+ }
15769
+ return obj;
15770
+ };
15771
+ }
15772
+
15773
+
15774
+ /**
15775
+ * Deserializes binary data (in protobuf wire format).
15776
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15777
+ * @return {!proto.config.InvalidateCloudflareCacheResponse}
15778
+ */
15779
+ proto.config.InvalidateCloudflareCacheResponse.deserializeBinary = function(bytes) {
15780
+ var reader = new jspb.BinaryReader(bytes);
15781
+ var msg = new proto.config.InvalidateCloudflareCacheResponse;
15782
+ return proto.config.InvalidateCloudflareCacheResponse.deserializeBinaryFromReader(msg, reader);
15783
+ };
15784
+
15785
+
15786
+ /**
15787
+ * Deserializes binary data (in protobuf wire format) from the
15788
+ * given reader into the given message object.
15789
+ * @param {!proto.config.InvalidateCloudflareCacheResponse} msg The message object to deserialize into.
15790
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15791
+ * @return {!proto.config.InvalidateCloudflareCacheResponse}
15792
+ */
15793
+ proto.config.InvalidateCloudflareCacheResponse.deserializeBinaryFromReader = function(msg, reader) {
15794
+ while (reader.nextField()) {
15795
+ if (reader.isEndGroup()) {
15796
+ break;
15797
+ }
15798
+ var field = reader.getFieldNumber();
15799
+ switch (field) {
15800
+ case 1:
15801
+ var value = /** @type {string} */ (reader.readString());
15802
+ msg.setStatus(value);
15803
+ break;
15804
+ case 2:
15805
+ var value = new proto.config.CloudflareCacheInvalidationTargetResult;
15806
+ reader.readMessage(value,proto.config.CloudflareCacheInvalidationTargetResult.deserializeBinaryFromReader);
15807
+ msg.addResults(value);
15808
+ break;
15809
+ default:
15810
+ reader.skipField();
15811
+ break;
15812
+ }
15813
+ }
15814
+ return msg;
15815
+ };
15816
+
15817
+
15818
+ /**
15819
+ * Serializes the message to binary data (in protobuf wire format).
15820
+ * @return {!Uint8Array}
15821
+ */
15822
+ proto.config.InvalidateCloudflareCacheResponse.prototype.serializeBinary = function() {
15823
+ var writer = new jspb.BinaryWriter();
15824
+ proto.config.InvalidateCloudflareCacheResponse.serializeBinaryToWriter(this, writer);
15825
+ return writer.getResultBuffer();
15826
+ };
15827
+
15828
+
15829
+ /**
15830
+ * Serializes the given message to binary data (in protobuf wire
15831
+ * format), writing to the given BinaryWriter.
15832
+ * @param {!proto.config.InvalidateCloudflareCacheResponse} message
15833
+ * @param {!jspb.BinaryWriter} writer
15834
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15835
+ */
15836
+ proto.config.InvalidateCloudflareCacheResponse.serializeBinaryToWriter = function(message, writer) {
15837
+ var f = undefined;
15838
+ f = message.getStatus();
15839
+ if (f.length > 0) {
15840
+ writer.writeString(
15841
+ 1,
15842
+ f
15843
+ );
15844
+ }
15845
+ f = message.getResultsList();
15846
+ if (f.length > 0) {
15847
+ writer.writeRepeatedMessage(
15848
+ 2,
15849
+ f,
15850
+ proto.config.CloudflareCacheInvalidationTargetResult.serializeBinaryToWriter
15851
+ );
15852
+ }
15853
+ };
15854
+
15855
+
15856
+ /**
15857
+ * optional string status = 1;
15858
+ * @return {string}
15859
+ */
15860
+ proto.config.InvalidateCloudflareCacheResponse.prototype.getStatus = function() {
15861
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
15862
+ };
15863
+
15864
+
15865
+ /**
15866
+ * @param {string} value
15867
+ * @return {!proto.config.InvalidateCloudflareCacheResponse} returns this
15868
+ */
15869
+ proto.config.InvalidateCloudflareCacheResponse.prototype.setStatus = function(value) {
15870
+ return jspb.Message.setProto3StringField(this, 1, value);
15871
+ };
15872
+
15873
+
15874
+ /**
15875
+ * repeated CloudflareCacheInvalidationTargetResult results = 2;
15876
+ * @return {!Array<!proto.config.CloudflareCacheInvalidationTargetResult>}
15877
+ */
15878
+ proto.config.InvalidateCloudflareCacheResponse.prototype.getResultsList = function() {
15879
+ return /** @type{!Array<!proto.config.CloudflareCacheInvalidationTargetResult>} */ (
15880
+ jspb.Message.getRepeatedWrapperField(this, proto.config.CloudflareCacheInvalidationTargetResult, 2));
15881
+ };
15882
+
15883
+
15884
+ /**
15885
+ * @param {!Array<!proto.config.CloudflareCacheInvalidationTargetResult>} value
15886
+ * @return {!proto.config.InvalidateCloudflareCacheResponse} returns this
15887
+ */
15888
+ proto.config.InvalidateCloudflareCacheResponse.prototype.setResultsList = function(value) {
15889
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
15890
+ };
15891
+
15892
+
15893
+ /**
15894
+ * @param {!proto.config.CloudflareCacheInvalidationTargetResult=} opt_value
15895
+ * @param {number=} opt_index
15896
+ * @return {!proto.config.CloudflareCacheInvalidationTargetResult}
15897
+ */
15898
+ proto.config.InvalidateCloudflareCacheResponse.prototype.addResults = function(opt_value, opt_index) {
15899
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.config.CloudflareCacheInvalidationTargetResult, opt_index);
15900
+ };
15901
+
15902
+
15903
+ /**
15904
+ * Clears the list making it empty but non-null.
15905
+ * @return {!proto.config.InvalidateCloudflareCacheResponse} returns this
15906
+ */
15907
+ proto.config.InvalidateCloudflareCacheResponse.prototype.clearResultsList = function() {
15908
+ return this.setResultsList([]);
15909
+ };
15910
+
15911
+
15912
+ /**
15913
+ * @enum {number}
15914
+ */
15915
+ proto.config.CloudflareCacheInvalidationAction = {
15916
+ CLOUDFLARE_CACHE_INVALIDATION_ACTION_UNSPECIFIED: 0,
15917
+ CLOUDFLARE_CACHE_INVALIDATION_ACTION_BUMP_VERSION: 1
15918
+ };
15919
+
14725
15920
  goog.object.extend(exports, proto.config);