protobuf-platform 1.2.97 → 1.2.99
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.
- package/config/config.proto +5 -0
- package/config/config_grpc_pb.js +11 -0
- package/config/config_pb.js +194 -2
- package/package.json +1 -1
package/config/config.proto
CHANGED
|
@@ -31,6 +31,7 @@ service Config {
|
|
|
31
31
|
rpc getMirrorsList(PaginationRequest) returns (MirrorItemsResponse);
|
|
32
32
|
rpc deleteSingleMirror(GetZoneRequest) returns (MirrorStatusResponse);
|
|
33
33
|
rpc enableSingleMirror(GetZoneRequest) returns (MirrorStatusResponse);
|
|
34
|
+
rpc setDefaultMirror(GetZoneRequest) returns (MirrorStatusResponse);
|
|
34
35
|
rpc syncActivatedMirrors(GetZoneRequest) returns (ActivatedMirrorsResponse);
|
|
35
36
|
}
|
|
36
37
|
|
|
@@ -151,6 +152,8 @@ message R2FileListResponse {
|
|
|
151
152
|
message GetZoneRequest {
|
|
152
153
|
optional string domain = 1;
|
|
153
154
|
optional string id = 2;
|
|
155
|
+
optional string environment = 3;
|
|
156
|
+
optional string customer = 4;
|
|
154
157
|
}
|
|
155
158
|
message ZoneItem {
|
|
156
159
|
string id = 1;
|
|
@@ -199,6 +202,8 @@ message ModifyMirrorRequest {
|
|
|
199
202
|
optional string priority = 3;
|
|
200
203
|
optional string status = 4;
|
|
201
204
|
optional int32 is_active = 5;
|
|
205
|
+
optional string environment = 6;
|
|
206
|
+
optional string customer = 7;
|
|
202
207
|
}
|
|
203
208
|
message ActivatedMirrorsResponse {
|
|
204
209
|
repeated string domains = 1;
|
package/config/config_grpc_pb.js
CHANGED
|
@@ -564,6 +564,17 @@ getZonesList: {
|
|
|
564
564
|
responseSerialize: serialize_config_MirrorStatusResponse,
|
|
565
565
|
responseDeserialize: deserialize_config_MirrorStatusResponse,
|
|
566
566
|
},
|
|
567
|
+
setDefaultMirror: {
|
|
568
|
+
path: '/config.Config/setDefaultMirror',
|
|
569
|
+
requestStream: false,
|
|
570
|
+
responseStream: false,
|
|
571
|
+
requestType: config_pb.GetZoneRequest,
|
|
572
|
+
responseType: config_pb.MirrorStatusResponse,
|
|
573
|
+
requestSerialize: serialize_config_GetZoneRequest,
|
|
574
|
+
requestDeserialize: deserialize_config_GetZoneRequest,
|
|
575
|
+
responseSerialize: serialize_config_MirrorStatusResponse,
|
|
576
|
+
responseDeserialize: deserialize_config_MirrorStatusResponse,
|
|
577
|
+
},
|
|
567
578
|
syncActivatedMirrors: {
|
|
568
579
|
path: '/config.Config/syncActivatedMirrors',
|
|
569
580
|
requestStream: false,
|
package/config/config_pb.js
CHANGED
|
@@ -5612,7 +5612,9 @@ proto.config.GetZoneRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
5612
5612
|
proto.config.GetZoneRequest.toObject = function(includeInstance, msg) {
|
|
5613
5613
|
var f, obj = {
|
|
5614
5614
|
domain: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5615
|
-
id: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
5615
|
+
id: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5616
|
+
environment: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5617
|
+
customer: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
5616
5618
|
};
|
|
5617
5619
|
|
|
5618
5620
|
if (includeInstance) {
|
|
@@ -5657,6 +5659,14 @@ proto.config.GetZoneRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
5657
5659
|
var value = /** @type {string} */ (reader.readString());
|
|
5658
5660
|
msg.setId(value);
|
|
5659
5661
|
break;
|
|
5662
|
+
case 3:
|
|
5663
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5664
|
+
msg.setEnvironment(value);
|
|
5665
|
+
break;
|
|
5666
|
+
case 4:
|
|
5667
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5668
|
+
msg.setCustomer(value);
|
|
5669
|
+
break;
|
|
5660
5670
|
default:
|
|
5661
5671
|
reader.skipField();
|
|
5662
5672
|
break;
|
|
@@ -5700,6 +5710,20 @@ proto.config.GetZoneRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
5700
5710
|
f
|
|
5701
5711
|
);
|
|
5702
5712
|
}
|
|
5713
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
5714
|
+
if (f != null) {
|
|
5715
|
+
writer.writeString(
|
|
5716
|
+
3,
|
|
5717
|
+
f
|
|
5718
|
+
);
|
|
5719
|
+
}
|
|
5720
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
5721
|
+
if (f != null) {
|
|
5722
|
+
writer.writeString(
|
|
5723
|
+
4,
|
|
5724
|
+
f
|
|
5725
|
+
);
|
|
5726
|
+
}
|
|
5703
5727
|
};
|
|
5704
5728
|
|
|
5705
5729
|
|
|
@@ -5775,6 +5799,78 @@ proto.config.GetZoneRequest.prototype.hasId = function() {
|
|
|
5775
5799
|
};
|
|
5776
5800
|
|
|
5777
5801
|
|
|
5802
|
+
/**
|
|
5803
|
+
* optional string environment = 3;
|
|
5804
|
+
* @return {string}
|
|
5805
|
+
*/
|
|
5806
|
+
proto.config.GetZoneRequest.prototype.getEnvironment = function() {
|
|
5807
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5808
|
+
};
|
|
5809
|
+
|
|
5810
|
+
|
|
5811
|
+
/**
|
|
5812
|
+
* @param {string} value
|
|
5813
|
+
* @return {!proto.config.GetZoneRequest} returns this
|
|
5814
|
+
*/
|
|
5815
|
+
proto.config.GetZoneRequest.prototype.setEnvironment = function(value) {
|
|
5816
|
+
return jspb.Message.setField(this, 3, value);
|
|
5817
|
+
};
|
|
5818
|
+
|
|
5819
|
+
|
|
5820
|
+
/**
|
|
5821
|
+
* Clears the field making it undefined.
|
|
5822
|
+
* @return {!proto.config.GetZoneRequest} returns this
|
|
5823
|
+
*/
|
|
5824
|
+
proto.config.GetZoneRequest.prototype.clearEnvironment = function() {
|
|
5825
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
5826
|
+
};
|
|
5827
|
+
|
|
5828
|
+
|
|
5829
|
+
/**
|
|
5830
|
+
* Returns whether this field is set.
|
|
5831
|
+
* @return {boolean}
|
|
5832
|
+
*/
|
|
5833
|
+
proto.config.GetZoneRequest.prototype.hasEnvironment = function() {
|
|
5834
|
+
return jspb.Message.getField(this, 3) != null;
|
|
5835
|
+
};
|
|
5836
|
+
|
|
5837
|
+
|
|
5838
|
+
/**
|
|
5839
|
+
* optional string customer = 4;
|
|
5840
|
+
* @return {string}
|
|
5841
|
+
*/
|
|
5842
|
+
proto.config.GetZoneRequest.prototype.getCustomer = function() {
|
|
5843
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5844
|
+
};
|
|
5845
|
+
|
|
5846
|
+
|
|
5847
|
+
/**
|
|
5848
|
+
* @param {string} value
|
|
5849
|
+
* @return {!proto.config.GetZoneRequest} returns this
|
|
5850
|
+
*/
|
|
5851
|
+
proto.config.GetZoneRequest.prototype.setCustomer = function(value) {
|
|
5852
|
+
return jspb.Message.setField(this, 4, value);
|
|
5853
|
+
};
|
|
5854
|
+
|
|
5855
|
+
|
|
5856
|
+
/**
|
|
5857
|
+
* Clears the field making it undefined.
|
|
5858
|
+
* @return {!proto.config.GetZoneRequest} returns this
|
|
5859
|
+
*/
|
|
5860
|
+
proto.config.GetZoneRequest.prototype.clearCustomer = function() {
|
|
5861
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
5862
|
+
};
|
|
5863
|
+
|
|
5864
|
+
|
|
5865
|
+
/**
|
|
5866
|
+
* Returns whether this field is set.
|
|
5867
|
+
* @return {boolean}
|
|
5868
|
+
*/
|
|
5869
|
+
proto.config.GetZoneRequest.prototype.hasCustomer = function() {
|
|
5870
|
+
return jspb.Message.getField(this, 4) != null;
|
|
5871
|
+
};
|
|
5872
|
+
|
|
5873
|
+
|
|
5778
5874
|
|
|
5779
5875
|
|
|
5780
5876
|
|
|
@@ -7759,7 +7855,9 @@ proto.config.ModifyMirrorRequest.toObject = function(includeInstance, msg) {
|
|
|
7759
7855
|
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7760
7856
|
priority: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7761
7857
|
status: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7762
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
7858
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
7859
|
+
environment: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
7860
|
+
customer: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
7763
7861
|
};
|
|
7764
7862
|
|
|
7765
7863
|
if (includeInstance) {
|
|
@@ -7816,6 +7914,14 @@ proto.config.ModifyMirrorRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
7816
7914
|
var value = /** @type {number} */ (reader.readInt32());
|
|
7817
7915
|
msg.setIsActive(value);
|
|
7818
7916
|
break;
|
|
7917
|
+
case 6:
|
|
7918
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7919
|
+
msg.setEnvironment(value);
|
|
7920
|
+
break;
|
|
7921
|
+
case 7:
|
|
7922
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7923
|
+
msg.setCustomer(value);
|
|
7924
|
+
break;
|
|
7819
7925
|
default:
|
|
7820
7926
|
reader.skipField();
|
|
7821
7927
|
break;
|
|
@@ -7880,6 +7986,20 @@ proto.config.ModifyMirrorRequest.serializeBinaryToWriter = function(message, wri
|
|
|
7880
7986
|
f
|
|
7881
7987
|
);
|
|
7882
7988
|
}
|
|
7989
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
7990
|
+
if (f != null) {
|
|
7991
|
+
writer.writeString(
|
|
7992
|
+
6,
|
|
7993
|
+
f
|
|
7994
|
+
);
|
|
7995
|
+
}
|
|
7996
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
7997
|
+
if (f != null) {
|
|
7998
|
+
writer.writeString(
|
|
7999
|
+
7,
|
|
8000
|
+
f
|
|
8001
|
+
);
|
|
8002
|
+
}
|
|
7883
8003
|
};
|
|
7884
8004
|
|
|
7885
8005
|
|
|
@@ -8063,6 +8183,78 @@ proto.config.ModifyMirrorRequest.prototype.hasIsActive = function() {
|
|
|
8063
8183
|
};
|
|
8064
8184
|
|
|
8065
8185
|
|
|
8186
|
+
/**
|
|
8187
|
+
* optional string environment = 6;
|
|
8188
|
+
* @return {string}
|
|
8189
|
+
*/
|
|
8190
|
+
proto.config.ModifyMirrorRequest.prototype.getEnvironment = function() {
|
|
8191
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
8192
|
+
};
|
|
8193
|
+
|
|
8194
|
+
|
|
8195
|
+
/**
|
|
8196
|
+
* @param {string} value
|
|
8197
|
+
* @return {!proto.config.ModifyMirrorRequest} returns this
|
|
8198
|
+
*/
|
|
8199
|
+
proto.config.ModifyMirrorRequest.prototype.setEnvironment = function(value) {
|
|
8200
|
+
return jspb.Message.setField(this, 6, value);
|
|
8201
|
+
};
|
|
8202
|
+
|
|
8203
|
+
|
|
8204
|
+
/**
|
|
8205
|
+
* Clears the field making it undefined.
|
|
8206
|
+
* @return {!proto.config.ModifyMirrorRequest} returns this
|
|
8207
|
+
*/
|
|
8208
|
+
proto.config.ModifyMirrorRequest.prototype.clearEnvironment = function() {
|
|
8209
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
8210
|
+
};
|
|
8211
|
+
|
|
8212
|
+
|
|
8213
|
+
/**
|
|
8214
|
+
* Returns whether this field is set.
|
|
8215
|
+
* @return {boolean}
|
|
8216
|
+
*/
|
|
8217
|
+
proto.config.ModifyMirrorRequest.prototype.hasEnvironment = function() {
|
|
8218
|
+
return jspb.Message.getField(this, 6) != null;
|
|
8219
|
+
};
|
|
8220
|
+
|
|
8221
|
+
|
|
8222
|
+
/**
|
|
8223
|
+
* optional string customer = 7;
|
|
8224
|
+
* @return {string}
|
|
8225
|
+
*/
|
|
8226
|
+
proto.config.ModifyMirrorRequest.prototype.getCustomer = function() {
|
|
8227
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
8228
|
+
};
|
|
8229
|
+
|
|
8230
|
+
|
|
8231
|
+
/**
|
|
8232
|
+
* @param {string} value
|
|
8233
|
+
* @return {!proto.config.ModifyMirrorRequest} returns this
|
|
8234
|
+
*/
|
|
8235
|
+
proto.config.ModifyMirrorRequest.prototype.setCustomer = function(value) {
|
|
8236
|
+
return jspb.Message.setField(this, 7, value);
|
|
8237
|
+
};
|
|
8238
|
+
|
|
8239
|
+
|
|
8240
|
+
/**
|
|
8241
|
+
* Clears the field making it undefined.
|
|
8242
|
+
* @return {!proto.config.ModifyMirrorRequest} returns this
|
|
8243
|
+
*/
|
|
8244
|
+
proto.config.ModifyMirrorRequest.prototype.clearCustomer = function() {
|
|
8245
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
8246
|
+
};
|
|
8247
|
+
|
|
8248
|
+
|
|
8249
|
+
/**
|
|
8250
|
+
* Returns whether this field is set.
|
|
8251
|
+
* @return {boolean}
|
|
8252
|
+
*/
|
|
8253
|
+
proto.config.ModifyMirrorRequest.prototype.hasCustomer = function() {
|
|
8254
|
+
return jspb.Message.getField(this, 7) != null;
|
|
8255
|
+
};
|
|
8256
|
+
|
|
8257
|
+
|
|
8066
8258
|
|
|
8067
8259
|
/**
|
|
8068
8260
|
* List of repeated fields within this message type.
|