protobuf-platform 1.2.86 → 1.2.88
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 +28 -0
- package/config/config_grpc_pb.js +88 -0
- package/config/config_pb.js +1278 -89
- package/package.json +1 -1
package/config/config_pb.js
CHANGED
|
@@ -34,6 +34,11 @@ goog.exportSymbol('proto.config.ErrorStatusResponse', null, global);
|
|
|
34
34
|
goog.exportSymbol('proto.config.GeneratedTextResponse', null, global);
|
|
35
35
|
goog.exportSymbol('proto.config.GetZoneRequest', null, global);
|
|
36
36
|
goog.exportSymbol('proto.config.GlobalDataRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.config.MirrorItem', null, global);
|
|
38
|
+
goog.exportSymbol('proto.config.MirrorItemsResponse', null, global);
|
|
39
|
+
goog.exportSymbol('proto.config.MirrorResponse', null, global);
|
|
40
|
+
goog.exportSymbol('proto.config.MirrorStatusResponse', null, global);
|
|
41
|
+
goog.exportSymbol('proto.config.PaginationRequest', null, global);
|
|
37
42
|
goog.exportSymbol('proto.config.PingRequest', null, global);
|
|
38
43
|
goog.exportSymbol('proto.config.PongResponse', null, global);
|
|
39
44
|
goog.exportSymbol('proto.config.PromptRequest', null, global);
|
|
@@ -88,6 +93,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
88
93
|
*/
|
|
89
94
|
proto.config.PongResponse.displayName = 'proto.config.PongResponse';
|
|
90
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* Generated by JsPbCodeGenerator.
|
|
98
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
99
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
100
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
101
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
102
|
+
* valid.
|
|
103
|
+
* @extends {jspb.Message}
|
|
104
|
+
* @constructor
|
|
105
|
+
*/
|
|
106
|
+
proto.config.PaginationRequest = function(opt_data) {
|
|
107
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
108
|
+
};
|
|
109
|
+
goog.inherits(proto.config.PaginationRequest, jspb.Message);
|
|
110
|
+
if (goog.DEBUG && !COMPILED) {
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
* @override
|
|
114
|
+
*/
|
|
115
|
+
proto.config.PaginationRequest.displayName = 'proto.config.PaginationRequest';
|
|
116
|
+
}
|
|
91
117
|
/**
|
|
92
118
|
* Generated by JsPbCodeGenerator.
|
|
93
119
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -571,6 +597,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
571
597
|
*/
|
|
572
598
|
proto.config.ZonesResponse.displayName = 'proto.config.ZonesResponse';
|
|
573
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* Generated by JsPbCodeGenerator.
|
|
602
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
603
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
604
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
605
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
606
|
+
* valid.
|
|
607
|
+
* @extends {jspb.Message}
|
|
608
|
+
* @constructor
|
|
609
|
+
*/
|
|
610
|
+
proto.config.MirrorItem = function(opt_data) {
|
|
611
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
612
|
+
};
|
|
613
|
+
goog.inherits(proto.config.MirrorItem, jspb.Message);
|
|
614
|
+
if (goog.DEBUG && !COMPILED) {
|
|
615
|
+
/**
|
|
616
|
+
* @public
|
|
617
|
+
* @override
|
|
618
|
+
*/
|
|
619
|
+
proto.config.MirrorItem.displayName = 'proto.config.MirrorItem';
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* Generated by JsPbCodeGenerator.
|
|
623
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
624
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
625
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
626
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
627
|
+
* valid.
|
|
628
|
+
* @extends {jspb.Message}
|
|
629
|
+
* @constructor
|
|
630
|
+
*/
|
|
631
|
+
proto.config.MirrorResponse = function(opt_data) {
|
|
632
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
633
|
+
};
|
|
634
|
+
goog.inherits(proto.config.MirrorResponse, jspb.Message);
|
|
635
|
+
if (goog.DEBUG && !COMPILED) {
|
|
636
|
+
/**
|
|
637
|
+
* @public
|
|
638
|
+
* @override
|
|
639
|
+
*/
|
|
640
|
+
proto.config.MirrorResponse.displayName = 'proto.config.MirrorResponse';
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* Generated by JsPbCodeGenerator.
|
|
644
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
645
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
646
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
647
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
648
|
+
* valid.
|
|
649
|
+
* @extends {jspb.Message}
|
|
650
|
+
* @constructor
|
|
651
|
+
*/
|
|
652
|
+
proto.config.MirrorItemsResponse = function(opt_data) {
|
|
653
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.config.MirrorItemsResponse.repeatedFields_, null);
|
|
654
|
+
};
|
|
655
|
+
goog.inherits(proto.config.MirrorItemsResponse, jspb.Message);
|
|
656
|
+
if (goog.DEBUG && !COMPILED) {
|
|
657
|
+
/**
|
|
658
|
+
* @public
|
|
659
|
+
* @override
|
|
660
|
+
*/
|
|
661
|
+
proto.config.MirrorItemsResponse.displayName = 'proto.config.MirrorItemsResponse';
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* Generated by JsPbCodeGenerator.
|
|
665
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
666
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
667
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
668
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
669
|
+
* valid.
|
|
670
|
+
* @extends {jspb.Message}
|
|
671
|
+
* @constructor
|
|
672
|
+
*/
|
|
673
|
+
proto.config.MirrorStatusResponse = function(opt_data) {
|
|
674
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
675
|
+
};
|
|
676
|
+
goog.inherits(proto.config.MirrorStatusResponse, jspb.Message);
|
|
677
|
+
if (goog.DEBUG && !COMPILED) {
|
|
678
|
+
/**
|
|
679
|
+
* @public
|
|
680
|
+
* @override
|
|
681
|
+
*/
|
|
682
|
+
proto.config.MirrorStatusResponse.displayName = 'proto.config.MirrorStatusResponse';
|
|
683
|
+
}
|
|
574
684
|
|
|
575
685
|
|
|
576
686
|
|
|
@@ -847,8 +957,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
847
957
|
* http://goto/soy-param-migration
|
|
848
958
|
* @return {!Object}
|
|
849
959
|
*/
|
|
850
|
-
proto.config.
|
|
851
|
-
return proto.config.
|
|
960
|
+
proto.config.PaginationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
961
|
+
return proto.config.PaginationRequest.toObject(opt_includeInstance, this);
|
|
852
962
|
};
|
|
853
963
|
|
|
854
964
|
|
|
@@ -857,14 +967,15 @@ proto.config.SettingsRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
857
967
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
858
968
|
* the JSPB instance for transitional soy proto support:
|
|
859
969
|
* http://goto/soy-param-migration
|
|
860
|
-
* @param {!proto.config.
|
|
970
|
+
* @param {!proto.config.PaginationRequest} msg The msg instance to transform.
|
|
861
971
|
* @return {!Object}
|
|
862
972
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
863
973
|
*/
|
|
864
|
-
proto.config.
|
|
974
|
+
proto.config.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
865
975
|
var f, obj = {
|
|
866
|
-
|
|
867
|
-
|
|
976
|
+
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
977
|
+
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
978
|
+
order: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
868
979
|
};
|
|
869
980
|
|
|
870
981
|
if (includeInstance) {
|
|
@@ -878,23 +989,23 @@ proto.config.SettingsRequest.toObject = function(includeInstance, msg) {
|
|
|
878
989
|
/**
|
|
879
990
|
* Deserializes binary data (in protobuf wire format).
|
|
880
991
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
881
|
-
* @return {!proto.config.
|
|
992
|
+
* @return {!proto.config.PaginationRequest}
|
|
882
993
|
*/
|
|
883
|
-
proto.config.
|
|
994
|
+
proto.config.PaginationRequest.deserializeBinary = function(bytes) {
|
|
884
995
|
var reader = new jspb.BinaryReader(bytes);
|
|
885
|
-
var msg = new proto.config.
|
|
886
|
-
return proto.config.
|
|
996
|
+
var msg = new proto.config.PaginationRequest;
|
|
997
|
+
return proto.config.PaginationRequest.deserializeBinaryFromReader(msg, reader);
|
|
887
998
|
};
|
|
888
999
|
|
|
889
1000
|
|
|
890
1001
|
/**
|
|
891
1002
|
* Deserializes binary data (in protobuf wire format) from the
|
|
892
1003
|
* given reader into the given message object.
|
|
893
|
-
* @param {!proto.config.
|
|
1004
|
+
* @param {!proto.config.PaginationRequest} msg The message object to deserialize into.
|
|
894
1005
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
895
|
-
* @return {!proto.config.
|
|
1006
|
+
* @return {!proto.config.PaginationRequest}
|
|
896
1007
|
*/
|
|
897
|
-
proto.config.
|
|
1008
|
+
proto.config.PaginationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
898
1009
|
while (reader.nextField()) {
|
|
899
1010
|
if (reader.isEndGroup()) {
|
|
900
1011
|
break;
|
|
@@ -902,12 +1013,16 @@ proto.config.SettingsRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
902
1013
|
var field = reader.getFieldNumber();
|
|
903
1014
|
switch (field) {
|
|
904
1015
|
case 1:
|
|
905
|
-
var value = /** @type {
|
|
906
|
-
msg.
|
|
1016
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1017
|
+
msg.setLimit(value);
|
|
907
1018
|
break;
|
|
908
1019
|
case 2:
|
|
1020
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1021
|
+
msg.setOffset(value);
|
|
1022
|
+
break;
|
|
1023
|
+
case 3:
|
|
909
1024
|
var value = /** @type {string} */ (reader.readString());
|
|
910
|
-
msg.
|
|
1025
|
+
msg.setOrder(value);
|
|
911
1026
|
break;
|
|
912
1027
|
default:
|
|
913
1028
|
reader.skipField();
|
|
@@ -922,9 +1037,9 @@ proto.config.SettingsRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
922
1037
|
* Serializes the message to binary data (in protobuf wire format).
|
|
923
1038
|
* @return {!Uint8Array}
|
|
924
1039
|
*/
|
|
925
|
-
proto.config.
|
|
1040
|
+
proto.config.PaginationRequest.prototype.serializeBinary = function() {
|
|
926
1041
|
var writer = new jspb.BinaryWriter();
|
|
927
|
-
proto.config.
|
|
1042
|
+
proto.config.PaginationRequest.serializeBinaryToWriter(this, writer);
|
|
928
1043
|
return writer.getResultBuffer();
|
|
929
1044
|
};
|
|
930
1045
|
|
|
@@ -932,62 +1047,105 @@ proto.config.SettingsRequest.prototype.serializeBinary = function() {
|
|
|
932
1047
|
/**
|
|
933
1048
|
* Serializes the given message to binary data (in protobuf wire
|
|
934
1049
|
* format), writing to the given BinaryWriter.
|
|
935
|
-
* @param {!proto.config.
|
|
1050
|
+
* @param {!proto.config.PaginationRequest} message
|
|
936
1051
|
* @param {!jspb.BinaryWriter} writer
|
|
937
1052
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
938
1053
|
*/
|
|
939
|
-
proto.config.
|
|
1054
|
+
proto.config.PaginationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
940
1055
|
var f = undefined;
|
|
941
|
-
f = message.
|
|
942
|
-
if (f
|
|
943
|
-
writer.
|
|
1056
|
+
f = message.getLimit();
|
|
1057
|
+
if (f !== 0) {
|
|
1058
|
+
writer.writeInt32(
|
|
944
1059
|
1,
|
|
945
1060
|
f
|
|
946
1061
|
);
|
|
947
1062
|
}
|
|
948
|
-
f = message.
|
|
949
|
-
if (f
|
|
950
|
-
writer.
|
|
1063
|
+
f = message.getOffset();
|
|
1064
|
+
if (f !== 0) {
|
|
1065
|
+
writer.writeInt32(
|
|
951
1066
|
2,
|
|
952
1067
|
f
|
|
953
1068
|
);
|
|
954
1069
|
}
|
|
1070
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
1071
|
+
if (f != null) {
|
|
1072
|
+
writer.writeString(
|
|
1073
|
+
3,
|
|
1074
|
+
f
|
|
1075
|
+
);
|
|
1076
|
+
}
|
|
955
1077
|
};
|
|
956
1078
|
|
|
957
1079
|
|
|
958
1080
|
/**
|
|
959
|
-
* optional
|
|
960
|
-
* @return {
|
|
1081
|
+
* optional int32 limit = 1;
|
|
1082
|
+
* @return {number}
|
|
961
1083
|
*/
|
|
962
|
-
proto.config.
|
|
963
|
-
return /** @type {
|
|
1084
|
+
proto.config.PaginationRequest.prototype.getLimit = function() {
|
|
1085
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
964
1086
|
};
|
|
965
1087
|
|
|
966
1088
|
|
|
967
1089
|
/**
|
|
968
|
-
* @param {
|
|
969
|
-
* @return {!proto.config.
|
|
1090
|
+
* @param {number} value
|
|
1091
|
+
* @return {!proto.config.PaginationRequest} returns this
|
|
970
1092
|
*/
|
|
971
|
-
proto.config.
|
|
972
|
-
return jspb.Message.
|
|
1093
|
+
proto.config.PaginationRequest.prototype.setLimit = function(value) {
|
|
1094
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
973
1095
|
};
|
|
974
1096
|
|
|
975
1097
|
|
|
976
1098
|
/**
|
|
977
|
-
* optional
|
|
1099
|
+
* optional int32 offset = 2;
|
|
1100
|
+
* @return {number}
|
|
1101
|
+
*/
|
|
1102
|
+
proto.config.PaginationRequest.prototype.getOffset = function() {
|
|
1103
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1104
|
+
};
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* @param {number} value
|
|
1109
|
+
* @return {!proto.config.PaginationRequest} returns this
|
|
1110
|
+
*/
|
|
1111
|
+
proto.config.PaginationRequest.prototype.setOffset = function(value) {
|
|
1112
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* optional string order = 3;
|
|
978
1118
|
* @return {string}
|
|
979
1119
|
*/
|
|
980
|
-
proto.config.
|
|
981
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1120
|
+
proto.config.PaginationRequest.prototype.getOrder = function() {
|
|
1121
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
982
1122
|
};
|
|
983
1123
|
|
|
984
1124
|
|
|
985
1125
|
/**
|
|
986
1126
|
* @param {string} value
|
|
987
|
-
* @return {!proto.config.
|
|
1127
|
+
* @return {!proto.config.PaginationRequest} returns this
|
|
988
1128
|
*/
|
|
989
|
-
proto.config.
|
|
990
|
-
return jspb.Message.
|
|
1129
|
+
proto.config.PaginationRequest.prototype.setOrder = function(value) {
|
|
1130
|
+
return jspb.Message.setField(this, 3, value);
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* Clears the field making it undefined.
|
|
1136
|
+
* @return {!proto.config.PaginationRequest} returns this
|
|
1137
|
+
*/
|
|
1138
|
+
proto.config.PaginationRequest.prototype.clearOrder = function() {
|
|
1139
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
1140
|
+
};
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* Returns whether this field is set.
|
|
1145
|
+
* @return {boolean}
|
|
1146
|
+
*/
|
|
1147
|
+
proto.config.PaginationRequest.prototype.hasOrder = function() {
|
|
1148
|
+
return jspb.Message.getField(this, 3) != null;
|
|
991
1149
|
};
|
|
992
1150
|
|
|
993
1151
|
|
|
@@ -1007,8 +1165,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1007
1165
|
* http://goto/soy-param-migration
|
|
1008
1166
|
* @return {!Object}
|
|
1009
1167
|
*/
|
|
1010
|
-
proto.config.
|
|
1011
|
-
return proto.config.
|
|
1168
|
+
proto.config.SettingsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1169
|
+
return proto.config.SettingsRequest.toObject(opt_includeInstance, this);
|
|
1012
1170
|
};
|
|
1013
1171
|
|
|
1014
1172
|
|
|
@@ -1017,16 +1175,14 @@ proto.config.SettingsResponse.prototype.toObject = function(opt_includeInstance)
|
|
|
1017
1175
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1018
1176
|
* the JSPB instance for transitional soy proto support:
|
|
1019
1177
|
* http://goto/soy-param-migration
|
|
1020
|
-
* @param {!proto.config.
|
|
1178
|
+
* @param {!proto.config.SettingsRequest} msg The msg instance to transform.
|
|
1021
1179
|
* @return {!Object}
|
|
1022
1180
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1023
1181
|
*/
|
|
1024
|
-
proto.config.
|
|
1182
|
+
proto.config.SettingsRequest.toObject = function(includeInstance, msg) {
|
|
1025
1183
|
var f, obj = {
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
mySql: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1029
|
-
redis: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1184
|
+
environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1185
|
+
customer: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1030
1186
|
};
|
|
1031
1187
|
|
|
1032
1188
|
if (includeInstance) {
|
|
@@ -1040,23 +1196,23 @@ proto.config.SettingsResponse.toObject = function(includeInstance, msg) {
|
|
|
1040
1196
|
/**
|
|
1041
1197
|
* Deserializes binary data (in protobuf wire format).
|
|
1042
1198
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1043
|
-
* @return {!proto.config.
|
|
1199
|
+
* @return {!proto.config.SettingsRequest}
|
|
1044
1200
|
*/
|
|
1045
|
-
proto.config.
|
|
1201
|
+
proto.config.SettingsRequest.deserializeBinary = function(bytes) {
|
|
1046
1202
|
var reader = new jspb.BinaryReader(bytes);
|
|
1047
|
-
var msg = new proto.config.
|
|
1048
|
-
return proto.config.
|
|
1203
|
+
var msg = new proto.config.SettingsRequest;
|
|
1204
|
+
return proto.config.SettingsRequest.deserializeBinaryFromReader(msg, reader);
|
|
1049
1205
|
};
|
|
1050
1206
|
|
|
1051
1207
|
|
|
1052
1208
|
/**
|
|
1053
1209
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1054
1210
|
* given reader into the given message object.
|
|
1055
|
-
* @param {!proto.config.
|
|
1211
|
+
* @param {!proto.config.SettingsRequest} msg The message object to deserialize into.
|
|
1056
1212
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1057
|
-
* @return {!proto.config.
|
|
1213
|
+
* @return {!proto.config.SettingsRequest}
|
|
1058
1214
|
*/
|
|
1059
|
-
proto.config.
|
|
1215
|
+
proto.config.SettingsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1060
1216
|
while (reader.nextField()) {
|
|
1061
1217
|
if (reader.isEndGroup()) {
|
|
1062
1218
|
break;
|
|
@@ -1065,19 +1221,11 @@ proto.config.SettingsResponse.deserializeBinaryFromReader = function(msg, reader
|
|
|
1065
1221
|
switch (field) {
|
|
1066
1222
|
case 1:
|
|
1067
1223
|
var value = /** @type {string} */ (reader.readString());
|
|
1068
|
-
msg.
|
|
1224
|
+
msg.setEnvironment(value);
|
|
1069
1225
|
break;
|
|
1070
1226
|
case 2:
|
|
1071
1227
|
var value = /** @type {string} */ (reader.readString());
|
|
1072
|
-
msg.
|
|
1073
|
-
break;
|
|
1074
|
-
case 3:
|
|
1075
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1076
|
-
msg.setMySql(value);
|
|
1077
|
-
break;
|
|
1078
|
-
case 4:
|
|
1079
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1080
|
-
msg.setRedis(value);
|
|
1228
|
+
msg.setCustomer(value);
|
|
1081
1229
|
break;
|
|
1082
1230
|
default:
|
|
1083
1231
|
reader.skipField();
|
|
@@ -1092,9 +1240,9 @@ proto.config.SettingsResponse.deserializeBinaryFromReader = function(msg, reader
|
|
|
1092
1240
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1093
1241
|
* @return {!Uint8Array}
|
|
1094
1242
|
*/
|
|
1095
|
-
proto.config.
|
|
1243
|
+
proto.config.SettingsRequest.prototype.serializeBinary = function() {
|
|
1096
1244
|
var writer = new jspb.BinaryWriter();
|
|
1097
|
-
proto.config.
|
|
1245
|
+
proto.config.SettingsRequest.serializeBinaryToWriter(this, writer);
|
|
1098
1246
|
return writer.getResultBuffer();
|
|
1099
1247
|
};
|
|
1100
1248
|
|
|
@@ -1102,48 +1250,218 @@ proto.config.SettingsResponse.prototype.serializeBinary = function() {
|
|
|
1102
1250
|
/**
|
|
1103
1251
|
* Serializes the given message to binary data (in protobuf wire
|
|
1104
1252
|
* format), writing to the given BinaryWriter.
|
|
1105
|
-
* @param {!proto.config.
|
|
1253
|
+
* @param {!proto.config.SettingsRequest} message
|
|
1106
1254
|
* @param {!jspb.BinaryWriter} writer
|
|
1107
1255
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1108
1256
|
*/
|
|
1109
|
-
proto.config.
|
|
1257
|
+
proto.config.SettingsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1110
1258
|
var f = undefined;
|
|
1111
|
-
f =
|
|
1112
|
-
if (f
|
|
1259
|
+
f = message.getEnvironment();
|
|
1260
|
+
if (f.length > 0) {
|
|
1113
1261
|
writer.writeString(
|
|
1114
1262
|
1,
|
|
1115
1263
|
f
|
|
1116
1264
|
);
|
|
1117
1265
|
}
|
|
1118
|
-
f =
|
|
1119
|
-
if (f
|
|
1266
|
+
f = message.getCustomer();
|
|
1267
|
+
if (f.length > 0) {
|
|
1120
1268
|
writer.writeString(
|
|
1121
1269
|
2,
|
|
1122
1270
|
f
|
|
1123
1271
|
);
|
|
1124
1272
|
}
|
|
1125
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
1126
|
-
if (f != null) {
|
|
1127
|
-
writer.writeString(
|
|
1128
|
-
3,
|
|
1129
|
-
f
|
|
1130
|
-
);
|
|
1131
|
-
}
|
|
1132
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
1133
|
-
if (f != null) {
|
|
1134
|
-
writer.writeString(
|
|
1135
|
-
4,
|
|
1136
|
-
f
|
|
1137
|
-
);
|
|
1138
|
-
}
|
|
1139
1273
|
};
|
|
1140
1274
|
|
|
1141
1275
|
|
|
1142
1276
|
/**
|
|
1143
|
-
* optional string
|
|
1277
|
+
* optional string environment = 1;
|
|
1144
1278
|
* @return {string}
|
|
1145
1279
|
*/
|
|
1146
|
-
proto.config.
|
|
1280
|
+
proto.config.SettingsRequest.prototype.getEnvironment = function() {
|
|
1281
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1282
|
+
};
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* @param {string} value
|
|
1287
|
+
* @return {!proto.config.SettingsRequest} returns this
|
|
1288
|
+
*/
|
|
1289
|
+
proto.config.SettingsRequest.prototype.setEnvironment = function(value) {
|
|
1290
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1291
|
+
};
|
|
1292
|
+
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* optional string customer = 2;
|
|
1296
|
+
* @return {string}
|
|
1297
|
+
*/
|
|
1298
|
+
proto.config.SettingsRequest.prototype.getCustomer = function() {
|
|
1299
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1300
|
+
};
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* @param {string} value
|
|
1305
|
+
* @return {!proto.config.SettingsRequest} returns this
|
|
1306
|
+
*/
|
|
1307
|
+
proto.config.SettingsRequest.prototype.setCustomer = function(value) {
|
|
1308
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1309
|
+
};
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1316
|
+
/**
|
|
1317
|
+
* Creates an object representation of this proto.
|
|
1318
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1319
|
+
* Optional fields that are not set will be set to undefined.
|
|
1320
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1321
|
+
* For the list of reserved names please see:
|
|
1322
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1323
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1324
|
+
* JSPB instance for transitional soy proto support:
|
|
1325
|
+
* http://goto/soy-param-migration
|
|
1326
|
+
* @return {!Object}
|
|
1327
|
+
*/
|
|
1328
|
+
proto.config.SettingsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1329
|
+
return proto.config.SettingsResponse.toObject(opt_includeInstance, this);
|
|
1330
|
+
};
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* Static version of the {@see toObject} method.
|
|
1335
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1336
|
+
* the JSPB instance for transitional soy proto support:
|
|
1337
|
+
* http://goto/soy-param-migration
|
|
1338
|
+
* @param {!proto.config.SettingsResponse} msg The msg instance to transform.
|
|
1339
|
+
* @return {!Object}
|
|
1340
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1341
|
+
*/
|
|
1342
|
+
proto.config.SettingsResponse.toObject = function(includeInstance, msg) {
|
|
1343
|
+
var f, obj = {
|
|
1344
|
+
rabbit: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1345
|
+
mongo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1346
|
+
mySql: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1347
|
+
redis: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1348
|
+
};
|
|
1349
|
+
|
|
1350
|
+
if (includeInstance) {
|
|
1351
|
+
obj.$jspbMessageInstance = msg;
|
|
1352
|
+
}
|
|
1353
|
+
return obj;
|
|
1354
|
+
};
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1360
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1361
|
+
* @return {!proto.config.SettingsResponse}
|
|
1362
|
+
*/
|
|
1363
|
+
proto.config.SettingsResponse.deserializeBinary = function(bytes) {
|
|
1364
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1365
|
+
var msg = new proto.config.SettingsResponse;
|
|
1366
|
+
return proto.config.SettingsResponse.deserializeBinaryFromReader(msg, reader);
|
|
1367
|
+
};
|
|
1368
|
+
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1372
|
+
* given reader into the given message object.
|
|
1373
|
+
* @param {!proto.config.SettingsResponse} msg The message object to deserialize into.
|
|
1374
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1375
|
+
* @return {!proto.config.SettingsResponse}
|
|
1376
|
+
*/
|
|
1377
|
+
proto.config.SettingsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1378
|
+
while (reader.nextField()) {
|
|
1379
|
+
if (reader.isEndGroup()) {
|
|
1380
|
+
break;
|
|
1381
|
+
}
|
|
1382
|
+
var field = reader.getFieldNumber();
|
|
1383
|
+
switch (field) {
|
|
1384
|
+
case 1:
|
|
1385
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1386
|
+
msg.setRabbit(value);
|
|
1387
|
+
break;
|
|
1388
|
+
case 2:
|
|
1389
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1390
|
+
msg.setMongo(value);
|
|
1391
|
+
break;
|
|
1392
|
+
case 3:
|
|
1393
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1394
|
+
msg.setMySql(value);
|
|
1395
|
+
break;
|
|
1396
|
+
case 4:
|
|
1397
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1398
|
+
msg.setRedis(value);
|
|
1399
|
+
break;
|
|
1400
|
+
default:
|
|
1401
|
+
reader.skipField();
|
|
1402
|
+
break;
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
return msg;
|
|
1406
|
+
};
|
|
1407
|
+
|
|
1408
|
+
|
|
1409
|
+
/**
|
|
1410
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1411
|
+
* @return {!Uint8Array}
|
|
1412
|
+
*/
|
|
1413
|
+
proto.config.SettingsResponse.prototype.serializeBinary = function() {
|
|
1414
|
+
var writer = new jspb.BinaryWriter();
|
|
1415
|
+
proto.config.SettingsResponse.serializeBinaryToWriter(this, writer);
|
|
1416
|
+
return writer.getResultBuffer();
|
|
1417
|
+
};
|
|
1418
|
+
|
|
1419
|
+
|
|
1420
|
+
/**
|
|
1421
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1422
|
+
* format), writing to the given BinaryWriter.
|
|
1423
|
+
* @param {!proto.config.SettingsResponse} message
|
|
1424
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1425
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1426
|
+
*/
|
|
1427
|
+
proto.config.SettingsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1428
|
+
var f = undefined;
|
|
1429
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
1430
|
+
if (f != null) {
|
|
1431
|
+
writer.writeString(
|
|
1432
|
+
1,
|
|
1433
|
+
f
|
|
1434
|
+
);
|
|
1435
|
+
}
|
|
1436
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
1437
|
+
if (f != null) {
|
|
1438
|
+
writer.writeString(
|
|
1439
|
+
2,
|
|
1440
|
+
f
|
|
1441
|
+
);
|
|
1442
|
+
}
|
|
1443
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
1444
|
+
if (f != null) {
|
|
1445
|
+
writer.writeString(
|
|
1446
|
+
3,
|
|
1447
|
+
f
|
|
1448
|
+
);
|
|
1449
|
+
}
|
|
1450
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
1451
|
+
if (f != null) {
|
|
1452
|
+
writer.writeString(
|
|
1453
|
+
4,
|
|
1454
|
+
f
|
|
1455
|
+
);
|
|
1456
|
+
}
|
|
1457
|
+
};
|
|
1458
|
+
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* optional string rabbit = 1;
|
|
1462
|
+
* @return {string}
|
|
1463
|
+
*/
|
|
1464
|
+
proto.config.SettingsResponse.prototype.getRabbit = function() {
|
|
1147
1465
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1148
1466
|
};
|
|
1149
1467
|
|
|
@@ -5565,4 +5883,875 @@ proto.config.ZonesResponse.prototype.clearItemsList = function() {
|
|
|
5565
5883
|
};
|
|
5566
5884
|
|
|
5567
5885
|
|
|
5886
|
+
|
|
5887
|
+
|
|
5888
|
+
|
|
5889
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5890
|
+
/**
|
|
5891
|
+
* Creates an object representation of this proto.
|
|
5892
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5893
|
+
* Optional fields that are not set will be set to undefined.
|
|
5894
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5895
|
+
* For the list of reserved names please see:
|
|
5896
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5897
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5898
|
+
* JSPB instance for transitional soy proto support:
|
|
5899
|
+
* http://goto/soy-param-migration
|
|
5900
|
+
* @return {!Object}
|
|
5901
|
+
*/
|
|
5902
|
+
proto.config.MirrorItem.prototype.toObject = function(opt_includeInstance) {
|
|
5903
|
+
return proto.config.MirrorItem.toObject(opt_includeInstance, this);
|
|
5904
|
+
};
|
|
5905
|
+
|
|
5906
|
+
|
|
5907
|
+
/**
|
|
5908
|
+
* Static version of the {@see toObject} method.
|
|
5909
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5910
|
+
* the JSPB instance for transitional soy proto support:
|
|
5911
|
+
* http://goto/soy-param-migration
|
|
5912
|
+
* @param {!proto.config.MirrorItem} msg The msg instance to transform.
|
|
5913
|
+
* @return {!Object}
|
|
5914
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5915
|
+
*/
|
|
5916
|
+
proto.config.MirrorItem.toObject = function(includeInstance, msg) {
|
|
5917
|
+
var f, obj = {
|
|
5918
|
+
zoneId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5919
|
+
zoneName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5920
|
+
zoneStatus: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5921
|
+
mainRecord: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5922
|
+
apiRecord: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
5923
|
+
cdnRecord: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
5924
|
+
};
|
|
5925
|
+
|
|
5926
|
+
if (includeInstance) {
|
|
5927
|
+
obj.$jspbMessageInstance = msg;
|
|
5928
|
+
}
|
|
5929
|
+
return obj;
|
|
5930
|
+
};
|
|
5931
|
+
}
|
|
5932
|
+
|
|
5933
|
+
|
|
5934
|
+
/**
|
|
5935
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5936
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5937
|
+
* @return {!proto.config.MirrorItem}
|
|
5938
|
+
*/
|
|
5939
|
+
proto.config.MirrorItem.deserializeBinary = function(bytes) {
|
|
5940
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5941
|
+
var msg = new proto.config.MirrorItem;
|
|
5942
|
+
return proto.config.MirrorItem.deserializeBinaryFromReader(msg, reader);
|
|
5943
|
+
};
|
|
5944
|
+
|
|
5945
|
+
|
|
5946
|
+
/**
|
|
5947
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5948
|
+
* given reader into the given message object.
|
|
5949
|
+
* @param {!proto.config.MirrorItem} msg The message object to deserialize into.
|
|
5950
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5951
|
+
* @return {!proto.config.MirrorItem}
|
|
5952
|
+
*/
|
|
5953
|
+
proto.config.MirrorItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
5954
|
+
while (reader.nextField()) {
|
|
5955
|
+
if (reader.isEndGroup()) {
|
|
5956
|
+
break;
|
|
5957
|
+
}
|
|
5958
|
+
var field = reader.getFieldNumber();
|
|
5959
|
+
switch (field) {
|
|
5960
|
+
case 1:
|
|
5961
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5962
|
+
msg.setZoneId(value);
|
|
5963
|
+
break;
|
|
5964
|
+
case 2:
|
|
5965
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5966
|
+
msg.setZoneName(value);
|
|
5967
|
+
break;
|
|
5968
|
+
case 3:
|
|
5969
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5970
|
+
msg.setZoneStatus(value);
|
|
5971
|
+
break;
|
|
5972
|
+
case 4:
|
|
5973
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5974
|
+
msg.setMainRecord(value);
|
|
5975
|
+
break;
|
|
5976
|
+
case 5:
|
|
5977
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5978
|
+
msg.setApiRecord(value);
|
|
5979
|
+
break;
|
|
5980
|
+
case 6:
|
|
5981
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5982
|
+
msg.setCdnRecord(value);
|
|
5983
|
+
break;
|
|
5984
|
+
default:
|
|
5985
|
+
reader.skipField();
|
|
5986
|
+
break;
|
|
5987
|
+
}
|
|
5988
|
+
}
|
|
5989
|
+
return msg;
|
|
5990
|
+
};
|
|
5991
|
+
|
|
5992
|
+
|
|
5993
|
+
/**
|
|
5994
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5995
|
+
* @return {!Uint8Array}
|
|
5996
|
+
*/
|
|
5997
|
+
proto.config.MirrorItem.prototype.serializeBinary = function() {
|
|
5998
|
+
var writer = new jspb.BinaryWriter();
|
|
5999
|
+
proto.config.MirrorItem.serializeBinaryToWriter(this, writer);
|
|
6000
|
+
return writer.getResultBuffer();
|
|
6001
|
+
};
|
|
6002
|
+
|
|
6003
|
+
|
|
6004
|
+
/**
|
|
6005
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6006
|
+
* format), writing to the given BinaryWriter.
|
|
6007
|
+
* @param {!proto.config.MirrorItem} message
|
|
6008
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6009
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6010
|
+
*/
|
|
6011
|
+
proto.config.MirrorItem.serializeBinaryToWriter = function(message, writer) {
|
|
6012
|
+
var f = undefined;
|
|
6013
|
+
f = message.getZoneId();
|
|
6014
|
+
if (f.length > 0) {
|
|
6015
|
+
writer.writeString(
|
|
6016
|
+
1,
|
|
6017
|
+
f
|
|
6018
|
+
);
|
|
6019
|
+
}
|
|
6020
|
+
f = message.getZoneName();
|
|
6021
|
+
if (f.length > 0) {
|
|
6022
|
+
writer.writeString(
|
|
6023
|
+
2,
|
|
6024
|
+
f
|
|
6025
|
+
);
|
|
6026
|
+
}
|
|
6027
|
+
f = message.getZoneStatus();
|
|
6028
|
+
if (f.length > 0) {
|
|
6029
|
+
writer.writeString(
|
|
6030
|
+
3,
|
|
6031
|
+
f
|
|
6032
|
+
);
|
|
6033
|
+
}
|
|
6034
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
6035
|
+
if (f != null) {
|
|
6036
|
+
writer.writeString(
|
|
6037
|
+
4,
|
|
6038
|
+
f
|
|
6039
|
+
);
|
|
6040
|
+
}
|
|
6041
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
6042
|
+
if (f != null) {
|
|
6043
|
+
writer.writeString(
|
|
6044
|
+
5,
|
|
6045
|
+
f
|
|
6046
|
+
);
|
|
6047
|
+
}
|
|
6048
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
6049
|
+
if (f != null) {
|
|
6050
|
+
writer.writeString(
|
|
6051
|
+
6,
|
|
6052
|
+
f
|
|
6053
|
+
);
|
|
6054
|
+
}
|
|
6055
|
+
};
|
|
6056
|
+
|
|
6057
|
+
|
|
6058
|
+
/**
|
|
6059
|
+
* optional string zone_id = 1;
|
|
6060
|
+
* @return {string}
|
|
6061
|
+
*/
|
|
6062
|
+
proto.config.MirrorItem.prototype.getZoneId = function() {
|
|
6063
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6064
|
+
};
|
|
6065
|
+
|
|
6066
|
+
|
|
6067
|
+
/**
|
|
6068
|
+
* @param {string} value
|
|
6069
|
+
* @return {!proto.config.MirrorItem} returns this
|
|
6070
|
+
*/
|
|
6071
|
+
proto.config.MirrorItem.prototype.setZoneId = function(value) {
|
|
6072
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6073
|
+
};
|
|
6074
|
+
|
|
6075
|
+
|
|
6076
|
+
/**
|
|
6077
|
+
* optional string zone_name = 2;
|
|
6078
|
+
* @return {string}
|
|
6079
|
+
*/
|
|
6080
|
+
proto.config.MirrorItem.prototype.getZoneName = function() {
|
|
6081
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6082
|
+
};
|
|
6083
|
+
|
|
6084
|
+
|
|
6085
|
+
/**
|
|
6086
|
+
* @param {string} value
|
|
6087
|
+
* @return {!proto.config.MirrorItem} returns this
|
|
6088
|
+
*/
|
|
6089
|
+
proto.config.MirrorItem.prototype.setZoneName = function(value) {
|
|
6090
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
6091
|
+
};
|
|
6092
|
+
|
|
6093
|
+
|
|
6094
|
+
/**
|
|
6095
|
+
* optional string zone_status = 3;
|
|
6096
|
+
* @return {string}
|
|
6097
|
+
*/
|
|
6098
|
+
proto.config.MirrorItem.prototype.getZoneStatus = function() {
|
|
6099
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6100
|
+
};
|
|
6101
|
+
|
|
6102
|
+
|
|
6103
|
+
/**
|
|
6104
|
+
* @param {string} value
|
|
6105
|
+
* @return {!proto.config.MirrorItem} returns this
|
|
6106
|
+
*/
|
|
6107
|
+
proto.config.MirrorItem.prototype.setZoneStatus = function(value) {
|
|
6108
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
6109
|
+
};
|
|
6110
|
+
|
|
6111
|
+
|
|
6112
|
+
/**
|
|
6113
|
+
* optional string main_record = 4;
|
|
6114
|
+
* @return {string}
|
|
6115
|
+
*/
|
|
6116
|
+
proto.config.MirrorItem.prototype.getMainRecord = function() {
|
|
6117
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
6118
|
+
};
|
|
6119
|
+
|
|
6120
|
+
|
|
6121
|
+
/**
|
|
6122
|
+
* @param {string} value
|
|
6123
|
+
* @return {!proto.config.MirrorItem} returns this
|
|
6124
|
+
*/
|
|
6125
|
+
proto.config.MirrorItem.prototype.setMainRecord = function(value) {
|
|
6126
|
+
return jspb.Message.setField(this, 4, value);
|
|
6127
|
+
};
|
|
6128
|
+
|
|
6129
|
+
|
|
6130
|
+
/**
|
|
6131
|
+
* Clears the field making it undefined.
|
|
6132
|
+
* @return {!proto.config.MirrorItem} returns this
|
|
6133
|
+
*/
|
|
6134
|
+
proto.config.MirrorItem.prototype.clearMainRecord = function() {
|
|
6135
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
6136
|
+
};
|
|
6137
|
+
|
|
6138
|
+
|
|
6139
|
+
/**
|
|
6140
|
+
* Returns whether this field is set.
|
|
6141
|
+
* @return {boolean}
|
|
6142
|
+
*/
|
|
6143
|
+
proto.config.MirrorItem.prototype.hasMainRecord = function() {
|
|
6144
|
+
return jspb.Message.getField(this, 4) != null;
|
|
6145
|
+
};
|
|
6146
|
+
|
|
6147
|
+
|
|
6148
|
+
/**
|
|
6149
|
+
* optional string api_record = 5;
|
|
6150
|
+
* @return {string}
|
|
6151
|
+
*/
|
|
6152
|
+
proto.config.MirrorItem.prototype.getApiRecord = function() {
|
|
6153
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
6154
|
+
};
|
|
6155
|
+
|
|
6156
|
+
|
|
6157
|
+
/**
|
|
6158
|
+
* @param {string} value
|
|
6159
|
+
* @return {!proto.config.MirrorItem} returns this
|
|
6160
|
+
*/
|
|
6161
|
+
proto.config.MirrorItem.prototype.setApiRecord = function(value) {
|
|
6162
|
+
return jspb.Message.setField(this, 5, value);
|
|
6163
|
+
};
|
|
6164
|
+
|
|
6165
|
+
|
|
6166
|
+
/**
|
|
6167
|
+
* Clears the field making it undefined.
|
|
6168
|
+
* @return {!proto.config.MirrorItem} returns this
|
|
6169
|
+
*/
|
|
6170
|
+
proto.config.MirrorItem.prototype.clearApiRecord = function() {
|
|
6171
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
6172
|
+
};
|
|
6173
|
+
|
|
6174
|
+
|
|
6175
|
+
/**
|
|
6176
|
+
* Returns whether this field is set.
|
|
6177
|
+
* @return {boolean}
|
|
6178
|
+
*/
|
|
6179
|
+
proto.config.MirrorItem.prototype.hasApiRecord = function() {
|
|
6180
|
+
return jspb.Message.getField(this, 5) != null;
|
|
6181
|
+
};
|
|
6182
|
+
|
|
6183
|
+
|
|
6184
|
+
/**
|
|
6185
|
+
* optional string cdn_record = 6;
|
|
6186
|
+
* @return {string}
|
|
6187
|
+
*/
|
|
6188
|
+
proto.config.MirrorItem.prototype.getCdnRecord = function() {
|
|
6189
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
6190
|
+
};
|
|
6191
|
+
|
|
6192
|
+
|
|
6193
|
+
/**
|
|
6194
|
+
* @param {string} value
|
|
6195
|
+
* @return {!proto.config.MirrorItem} returns this
|
|
6196
|
+
*/
|
|
6197
|
+
proto.config.MirrorItem.prototype.setCdnRecord = function(value) {
|
|
6198
|
+
return jspb.Message.setField(this, 6, value);
|
|
6199
|
+
};
|
|
6200
|
+
|
|
6201
|
+
|
|
6202
|
+
/**
|
|
6203
|
+
* Clears the field making it undefined.
|
|
6204
|
+
* @return {!proto.config.MirrorItem} returns this
|
|
6205
|
+
*/
|
|
6206
|
+
proto.config.MirrorItem.prototype.clearCdnRecord = function() {
|
|
6207
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
6208
|
+
};
|
|
6209
|
+
|
|
6210
|
+
|
|
6211
|
+
/**
|
|
6212
|
+
* Returns whether this field is set.
|
|
6213
|
+
* @return {boolean}
|
|
6214
|
+
*/
|
|
6215
|
+
proto.config.MirrorItem.prototype.hasCdnRecord = function() {
|
|
6216
|
+
return jspb.Message.getField(this, 6) != null;
|
|
6217
|
+
};
|
|
6218
|
+
|
|
6219
|
+
|
|
6220
|
+
|
|
6221
|
+
|
|
6222
|
+
|
|
6223
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6224
|
+
/**
|
|
6225
|
+
* Creates an object representation of this proto.
|
|
6226
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6227
|
+
* Optional fields that are not set will be set to undefined.
|
|
6228
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6229
|
+
* For the list of reserved names please see:
|
|
6230
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6231
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6232
|
+
* JSPB instance for transitional soy proto support:
|
|
6233
|
+
* http://goto/soy-param-migration
|
|
6234
|
+
* @return {!Object}
|
|
6235
|
+
*/
|
|
6236
|
+
proto.config.MirrorResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6237
|
+
return proto.config.MirrorResponse.toObject(opt_includeInstance, this);
|
|
6238
|
+
};
|
|
6239
|
+
|
|
6240
|
+
|
|
6241
|
+
/**
|
|
6242
|
+
* Static version of the {@see toObject} method.
|
|
6243
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6244
|
+
* the JSPB instance for transitional soy proto support:
|
|
6245
|
+
* http://goto/soy-param-migration
|
|
6246
|
+
* @param {!proto.config.MirrorResponse} msg The msg instance to transform.
|
|
6247
|
+
* @return {!Object}
|
|
6248
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6249
|
+
*/
|
|
6250
|
+
proto.config.MirrorResponse.toObject = function(includeInstance, msg) {
|
|
6251
|
+
var f, obj = {
|
|
6252
|
+
data: (f = msg.getData()) && proto.config.MirrorItem.toObject(includeInstance, f)
|
|
6253
|
+
};
|
|
6254
|
+
|
|
6255
|
+
if (includeInstance) {
|
|
6256
|
+
obj.$jspbMessageInstance = msg;
|
|
6257
|
+
}
|
|
6258
|
+
return obj;
|
|
6259
|
+
};
|
|
6260
|
+
}
|
|
6261
|
+
|
|
6262
|
+
|
|
6263
|
+
/**
|
|
6264
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6265
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6266
|
+
* @return {!proto.config.MirrorResponse}
|
|
6267
|
+
*/
|
|
6268
|
+
proto.config.MirrorResponse.deserializeBinary = function(bytes) {
|
|
6269
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6270
|
+
var msg = new proto.config.MirrorResponse;
|
|
6271
|
+
return proto.config.MirrorResponse.deserializeBinaryFromReader(msg, reader);
|
|
6272
|
+
};
|
|
6273
|
+
|
|
6274
|
+
|
|
6275
|
+
/**
|
|
6276
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6277
|
+
* given reader into the given message object.
|
|
6278
|
+
* @param {!proto.config.MirrorResponse} msg The message object to deserialize into.
|
|
6279
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6280
|
+
* @return {!proto.config.MirrorResponse}
|
|
6281
|
+
*/
|
|
6282
|
+
proto.config.MirrorResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6283
|
+
while (reader.nextField()) {
|
|
6284
|
+
if (reader.isEndGroup()) {
|
|
6285
|
+
break;
|
|
6286
|
+
}
|
|
6287
|
+
var field = reader.getFieldNumber();
|
|
6288
|
+
switch (field) {
|
|
6289
|
+
case 1:
|
|
6290
|
+
var value = new proto.config.MirrorItem;
|
|
6291
|
+
reader.readMessage(value,proto.config.MirrorItem.deserializeBinaryFromReader);
|
|
6292
|
+
msg.setData(value);
|
|
6293
|
+
break;
|
|
6294
|
+
default:
|
|
6295
|
+
reader.skipField();
|
|
6296
|
+
break;
|
|
6297
|
+
}
|
|
6298
|
+
}
|
|
6299
|
+
return msg;
|
|
6300
|
+
};
|
|
6301
|
+
|
|
6302
|
+
|
|
6303
|
+
/**
|
|
6304
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6305
|
+
* @return {!Uint8Array}
|
|
6306
|
+
*/
|
|
6307
|
+
proto.config.MirrorResponse.prototype.serializeBinary = function() {
|
|
6308
|
+
var writer = new jspb.BinaryWriter();
|
|
6309
|
+
proto.config.MirrorResponse.serializeBinaryToWriter(this, writer);
|
|
6310
|
+
return writer.getResultBuffer();
|
|
6311
|
+
};
|
|
6312
|
+
|
|
6313
|
+
|
|
6314
|
+
/**
|
|
6315
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6316
|
+
* format), writing to the given BinaryWriter.
|
|
6317
|
+
* @param {!proto.config.MirrorResponse} message
|
|
6318
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6319
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6320
|
+
*/
|
|
6321
|
+
proto.config.MirrorResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6322
|
+
var f = undefined;
|
|
6323
|
+
f = message.getData();
|
|
6324
|
+
if (f != null) {
|
|
6325
|
+
writer.writeMessage(
|
|
6326
|
+
1,
|
|
6327
|
+
f,
|
|
6328
|
+
proto.config.MirrorItem.serializeBinaryToWriter
|
|
6329
|
+
);
|
|
6330
|
+
}
|
|
6331
|
+
};
|
|
6332
|
+
|
|
6333
|
+
|
|
6334
|
+
/**
|
|
6335
|
+
* optional MirrorItem data = 1;
|
|
6336
|
+
* @return {?proto.config.MirrorItem}
|
|
6337
|
+
*/
|
|
6338
|
+
proto.config.MirrorResponse.prototype.getData = function() {
|
|
6339
|
+
return /** @type{?proto.config.MirrorItem} */ (
|
|
6340
|
+
jspb.Message.getWrapperField(this, proto.config.MirrorItem, 1));
|
|
6341
|
+
};
|
|
6342
|
+
|
|
6343
|
+
|
|
6344
|
+
/**
|
|
6345
|
+
* @param {?proto.config.MirrorItem|undefined} value
|
|
6346
|
+
* @return {!proto.config.MirrorResponse} returns this
|
|
6347
|
+
*/
|
|
6348
|
+
proto.config.MirrorResponse.prototype.setData = function(value) {
|
|
6349
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
6350
|
+
};
|
|
6351
|
+
|
|
6352
|
+
|
|
6353
|
+
/**
|
|
6354
|
+
* Clears the message field making it undefined.
|
|
6355
|
+
* @return {!proto.config.MirrorResponse} returns this
|
|
6356
|
+
*/
|
|
6357
|
+
proto.config.MirrorResponse.prototype.clearData = function() {
|
|
6358
|
+
return this.setData(undefined);
|
|
6359
|
+
};
|
|
6360
|
+
|
|
6361
|
+
|
|
6362
|
+
/**
|
|
6363
|
+
* Returns whether this field is set.
|
|
6364
|
+
* @return {boolean}
|
|
6365
|
+
*/
|
|
6366
|
+
proto.config.MirrorResponse.prototype.hasData = function() {
|
|
6367
|
+
return jspb.Message.getField(this, 1) != null;
|
|
6368
|
+
};
|
|
6369
|
+
|
|
6370
|
+
|
|
6371
|
+
|
|
6372
|
+
/**
|
|
6373
|
+
* List of repeated fields within this message type.
|
|
6374
|
+
* @private {!Array<number>}
|
|
6375
|
+
* @const
|
|
6376
|
+
*/
|
|
6377
|
+
proto.config.MirrorItemsResponse.repeatedFields_ = [1];
|
|
6378
|
+
|
|
6379
|
+
|
|
6380
|
+
|
|
6381
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6382
|
+
/**
|
|
6383
|
+
* Creates an object representation of this proto.
|
|
6384
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6385
|
+
* Optional fields that are not set will be set to undefined.
|
|
6386
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6387
|
+
* For the list of reserved names please see:
|
|
6388
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6389
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6390
|
+
* JSPB instance for transitional soy proto support:
|
|
6391
|
+
* http://goto/soy-param-migration
|
|
6392
|
+
* @return {!Object}
|
|
6393
|
+
*/
|
|
6394
|
+
proto.config.MirrorItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6395
|
+
return proto.config.MirrorItemsResponse.toObject(opt_includeInstance, this);
|
|
6396
|
+
};
|
|
6397
|
+
|
|
6398
|
+
|
|
6399
|
+
/**
|
|
6400
|
+
* Static version of the {@see toObject} method.
|
|
6401
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6402
|
+
* the JSPB instance for transitional soy proto support:
|
|
6403
|
+
* http://goto/soy-param-migration
|
|
6404
|
+
* @param {!proto.config.MirrorItemsResponse} msg The msg instance to transform.
|
|
6405
|
+
* @return {!Object}
|
|
6406
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6407
|
+
*/
|
|
6408
|
+
proto.config.MirrorItemsResponse.toObject = function(includeInstance, msg) {
|
|
6409
|
+
var f, obj = {
|
|
6410
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
6411
|
+
proto.config.MirrorItem.toObject, includeInstance),
|
|
6412
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6413
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
6414
|
+
};
|
|
6415
|
+
|
|
6416
|
+
if (includeInstance) {
|
|
6417
|
+
obj.$jspbMessageInstance = msg;
|
|
6418
|
+
}
|
|
6419
|
+
return obj;
|
|
6420
|
+
};
|
|
6421
|
+
}
|
|
6422
|
+
|
|
6423
|
+
|
|
6424
|
+
/**
|
|
6425
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6426
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6427
|
+
* @return {!proto.config.MirrorItemsResponse}
|
|
6428
|
+
*/
|
|
6429
|
+
proto.config.MirrorItemsResponse.deserializeBinary = function(bytes) {
|
|
6430
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6431
|
+
var msg = new proto.config.MirrorItemsResponse;
|
|
6432
|
+
return proto.config.MirrorItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
6433
|
+
};
|
|
6434
|
+
|
|
6435
|
+
|
|
6436
|
+
/**
|
|
6437
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6438
|
+
* given reader into the given message object.
|
|
6439
|
+
* @param {!proto.config.MirrorItemsResponse} msg The message object to deserialize into.
|
|
6440
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6441
|
+
* @return {!proto.config.MirrorItemsResponse}
|
|
6442
|
+
*/
|
|
6443
|
+
proto.config.MirrorItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6444
|
+
while (reader.nextField()) {
|
|
6445
|
+
if (reader.isEndGroup()) {
|
|
6446
|
+
break;
|
|
6447
|
+
}
|
|
6448
|
+
var field = reader.getFieldNumber();
|
|
6449
|
+
switch (field) {
|
|
6450
|
+
case 1:
|
|
6451
|
+
var value = new proto.config.MirrorItem;
|
|
6452
|
+
reader.readMessage(value,proto.config.MirrorItem.deserializeBinaryFromReader);
|
|
6453
|
+
msg.addItems(value);
|
|
6454
|
+
break;
|
|
6455
|
+
case 2:
|
|
6456
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6457
|
+
msg.setTotalPages(value);
|
|
6458
|
+
break;
|
|
6459
|
+
case 3:
|
|
6460
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6461
|
+
msg.setTotalItems(value);
|
|
6462
|
+
break;
|
|
6463
|
+
default:
|
|
6464
|
+
reader.skipField();
|
|
6465
|
+
break;
|
|
6466
|
+
}
|
|
6467
|
+
}
|
|
6468
|
+
return msg;
|
|
6469
|
+
};
|
|
6470
|
+
|
|
6471
|
+
|
|
6472
|
+
/**
|
|
6473
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6474
|
+
* @return {!Uint8Array}
|
|
6475
|
+
*/
|
|
6476
|
+
proto.config.MirrorItemsResponse.prototype.serializeBinary = function() {
|
|
6477
|
+
var writer = new jspb.BinaryWriter();
|
|
6478
|
+
proto.config.MirrorItemsResponse.serializeBinaryToWriter(this, writer);
|
|
6479
|
+
return writer.getResultBuffer();
|
|
6480
|
+
};
|
|
6481
|
+
|
|
6482
|
+
|
|
6483
|
+
/**
|
|
6484
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6485
|
+
* format), writing to the given BinaryWriter.
|
|
6486
|
+
* @param {!proto.config.MirrorItemsResponse} message
|
|
6487
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6488
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6489
|
+
*/
|
|
6490
|
+
proto.config.MirrorItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6491
|
+
var f = undefined;
|
|
6492
|
+
f = message.getItemsList();
|
|
6493
|
+
if (f.length > 0) {
|
|
6494
|
+
writer.writeRepeatedMessage(
|
|
6495
|
+
1,
|
|
6496
|
+
f,
|
|
6497
|
+
proto.config.MirrorItem.serializeBinaryToWriter
|
|
6498
|
+
);
|
|
6499
|
+
}
|
|
6500
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
6501
|
+
if (f != null) {
|
|
6502
|
+
writer.writeInt32(
|
|
6503
|
+
2,
|
|
6504
|
+
f
|
|
6505
|
+
);
|
|
6506
|
+
}
|
|
6507
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
6508
|
+
if (f != null) {
|
|
6509
|
+
writer.writeInt32(
|
|
6510
|
+
3,
|
|
6511
|
+
f
|
|
6512
|
+
);
|
|
6513
|
+
}
|
|
6514
|
+
};
|
|
6515
|
+
|
|
6516
|
+
|
|
6517
|
+
/**
|
|
6518
|
+
* repeated MirrorItem items = 1;
|
|
6519
|
+
* @return {!Array<!proto.config.MirrorItem>}
|
|
6520
|
+
*/
|
|
6521
|
+
proto.config.MirrorItemsResponse.prototype.getItemsList = function() {
|
|
6522
|
+
return /** @type{!Array<!proto.config.MirrorItem>} */ (
|
|
6523
|
+
jspb.Message.getRepeatedWrapperField(this, proto.config.MirrorItem, 1));
|
|
6524
|
+
};
|
|
6525
|
+
|
|
6526
|
+
|
|
6527
|
+
/**
|
|
6528
|
+
* @param {!Array<!proto.config.MirrorItem>} value
|
|
6529
|
+
* @return {!proto.config.MirrorItemsResponse} returns this
|
|
6530
|
+
*/
|
|
6531
|
+
proto.config.MirrorItemsResponse.prototype.setItemsList = function(value) {
|
|
6532
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
6533
|
+
};
|
|
6534
|
+
|
|
6535
|
+
|
|
6536
|
+
/**
|
|
6537
|
+
* @param {!proto.config.MirrorItem=} opt_value
|
|
6538
|
+
* @param {number=} opt_index
|
|
6539
|
+
* @return {!proto.config.MirrorItem}
|
|
6540
|
+
*/
|
|
6541
|
+
proto.config.MirrorItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
6542
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.config.MirrorItem, opt_index);
|
|
6543
|
+
};
|
|
6544
|
+
|
|
6545
|
+
|
|
6546
|
+
/**
|
|
6547
|
+
* Clears the list making it empty but non-null.
|
|
6548
|
+
* @return {!proto.config.MirrorItemsResponse} returns this
|
|
6549
|
+
*/
|
|
6550
|
+
proto.config.MirrorItemsResponse.prototype.clearItemsList = function() {
|
|
6551
|
+
return this.setItemsList([]);
|
|
6552
|
+
};
|
|
6553
|
+
|
|
6554
|
+
|
|
6555
|
+
/**
|
|
6556
|
+
* optional int32 total_pages = 2;
|
|
6557
|
+
* @return {number}
|
|
6558
|
+
*/
|
|
6559
|
+
proto.config.MirrorItemsResponse.prototype.getTotalPages = function() {
|
|
6560
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
6561
|
+
};
|
|
6562
|
+
|
|
6563
|
+
|
|
6564
|
+
/**
|
|
6565
|
+
* @param {number} value
|
|
6566
|
+
* @return {!proto.config.MirrorItemsResponse} returns this
|
|
6567
|
+
*/
|
|
6568
|
+
proto.config.MirrorItemsResponse.prototype.setTotalPages = function(value) {
|
|
6569
|
+
return jspb.Message.setField(this, 2, value);
|
|
6570
|
+
};
|
|
6571
|
+
|
|
6572
|
+
|
|
6573
|
+
/**
|
|
6574
|
+
* Clears the field making it undefined.
|
|
6575
|
+
* @return {!proto.config.MirrorItemsResponse} returns this
|
|
6576
|
+
*/
|
|
6577
|
+
proto.config.MirrorItemsResponse.prototype.clearTotalPages = function() {
|
|
6578
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
6579
|
+
};
|
|
6580
|
+
|
|
6581
|
+
|
|
6582
|
+
/**
|
|
6583
|
+
* Returns whether this field is set.
|
|
6584
|
+
* @return {boolean}
|
|
6585
|
+
*/
|
|
6586
|
+
proto.config.MirrorItemsResponse.prototype.hasTotalPages = function() {
|
|
6587
|
+
return jspb.Message.getField(this, 2) != null;
|
|
6588
|
+
};
|
|
6589
|
+
|
|
6590
|
+
|
|
6591
|
+
/**
|
|
6592
|
+
* optional int32 total_items = 3;
|
|
6593
|
+
* @return {number}
|
|
6594
|
+
*/
|
|
6595
|
+
proto.config.MirrorItemsResponse.prototype.getTotalItems = function() {
|
|
6596
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
6597
|
+
};
|
|
6598
|
+
|
|
6599
|
+
|
|
6600
|
+
/**
|
|
6601
|
+
* @param {number} value
|
|
6602
|
+
* @return {!proto.config.MirrorItemsResponse} returns this
|
|
6603
|
+
*/
|
|
6604
|
+
proto.config.MirrorItemsResponse.prototype.setTotalItems = function(value) {
|
|
6605
|
+
return jspb.Message.setField(this, 3, value);
|
|
6606
|
+
};
|
|
6607
|
+
|
|
6608
|
+
|
|
6609
|
+
/**
|
|
6610
|
+
* Clears the field making it undefined.
|
|
6611
|
+
* @return {!proto.config.MirrorItemsResponse} returns this
|
|
6612
|
+
*/
|
|
6613
|
+
proto.config.MirrorItemsResponse.prototype.clearTotalItems = function() {
|
|
6614
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
6615
|
+
};
|
|
6616
|
+
|
|
6617
|
+
|
|
6618
|
+
/**
|
|
6619
|
+
* Returns whether this field is set.
|
|
6620
|
+
* @return {boolean}
|
|
6621
|
+
*/
|
|
6622
|
+
proto.config.MirrorItemsResponse.prototype.hasTotalItems = function() {
|
|
6623
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6624
|
+
};
|
|
6625
|
+
|
|
6626
|
+
|
|
6627
|
+
|
|
6628
|
+
|
|
6629
|
+
|
|
6630
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6631
|
+
/**
|
|
6632
|
+
* Creates an object representation of this proto.
|
|
6633
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6634
|
+
* Optional fields that are not set will be set to undefined.
|
|
6635
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6636
|
+
* For the list of reserved names please see:
|
|
6637
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6638
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6639
|
+
* JSPB instance for transitional soy proto support:
|
|
6640
|
+
* http://goto/soy-param-migration
|
|
6641
|
+
* @return {!Object}
|
|
6642
|
+
*/
|
|
6643
|
+
proto.config.MirrorStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6644
|
+
return proto.config.MirrorStatusResponse.toObject(opt_includeInstance, this);
|
|
6645
|
+
};
|
|
6646
|
+
|
|
6647
|
+
|
|
6648
|
+
/**
|
|
6649
|
+
* Static version of the {@see toObject} method.
|
|
6650
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6651
|
+
* the JSPB instance for transitional soy proto support:
|
|
6652
|
+
* http://goto/soy-param-migration
|
|
6653
|
+
* @param {!proto.config.MirrorStatusResponse} msg The msg instance to transform.
|
|
6654
|
+
* @return {!Object}
|
|
6655
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6656
|
+
*/
|
|
6657
|
+
proto.config.MirrorStatusResponse.toObject = function(includeInstance, msg) {
|
|
6658
|
+
var f, obj = {
|
|
6659
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
6660
|
+
};
|
|
6661
|
+
|
|
6662
|
+
if (includeInstance) {
|
|
6663
|
+
obj.$jspbMessageInstance = msg;
|
|
6664
|
+
}
|
|
6665
|
+
return obj;
|
|
6666
|
+
};
|
|
6667
|
+
}
|
|
6668
|
+
|
|
6669
|
+
|
|
6670
|
+
/**
|
|
6671
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6672
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6673
|
+
* @return {!proto.config.MirrorStatusResponse}
|
|
6674
|
+
*/
|
|
6675
|
+
proto.config.MirrorStatusResponse.deserializeBinary = function(bytes) {
|
|
6676
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6677
|
+
var msg = new proto.config.MirrorStatusResponse;
|
|
6678
|
+
return proto.config.MirrorStatusResponse.deserializeBinaryFromReader(msg, reader);
|
|
6679
|
+
};
|
|
6680
|
+
|
|
6681
|
+
|
|
6682
|
+
/**
|
|
6683
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6684
|
+
* given reader into the given message object.
|
|
6685
|
+
* @param {!proto.config.MirrorStatusResponse} msg The message object to deserialize into.
|
|
6686
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6687
|
+
* @return {!proto.config.MirrorStatusResponse}
|
|
6688
|
+
*/
|
|
6689
|
+
proto.config.MirrorStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6690
|
+
while (reader.nextField()) {
|
|
6691
|
+
if (reader.isEndGroup()) {
|
|
6692
|
+
break;
|
|
6693
|
+
}
|
|
6694
|
+
var field = reader.getFieldNumber();
|
|
6695
|
+
switch (field) {
|
|
6696
|
+
case 1:
|
|
6697
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6698
|
+
msg.setStatus(value);
|
|
6699
|
+
break;
|
|
6700
|
+
default:
|
|
6701
|
+
reader.skipField();
|
|
6702
|
+
break;
|
|
6703
|
+
}
|
|
6704
|
+
}
|
|
6705
|
+
return msg;
|
|
6706
|
+
};
|
|
6707
|
+
|
|
6708
|
+
|
|
6709
|
+
/**
|
|
6710
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6711
|
+
* @return {!Uint8Array}
|
|
6712
|
+
*/
|
|
6713
|
+
proto.config.MirrorStatusResponse.prototype.serializeBinary = function() {
|
|
6714
|
+
var writer = new jspb.BinaryWriter();
|
|
6715
|
+
proto.config.MirrorStatusResponse.serializeBinaryToWriter(this, writer);
|
|
6716
|
+
return writer.getResultBuffer();
|
|
6717
|
+
};
|
|
6718
|
+
|
|
6719
|
+
|
|
6720
|
+
/**
|
|
6721
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6722
|
+
* format), writing to the given BinaryWriter.
|
|
6723
|
+
* @param {!proto.config.MirrorStatusResponse} message
|
|
6724
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6725
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6726
|
+
*/
|
|
6727
|
+
proto.config.MirrorStatusResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6728
|
+
var f = undefined;
|
|
6729
|
+
f = message.getStatus();
|
|
6730
|
+
if (f.length > 0) {
|
|
6731
|
+
writer.writeString(
|
|
6732
|
+
1,
|
|
6733
|
+
f
|
|
6734
|
+
);
|
|
6735
|
+
}
|
|
6736
|
+
};
|
|
6737
|
+
|
|
6738
|
+
|
|
6739
|
+
/**
|
|
6740
|
+
* optional string status = 1;
|
|
6741
|
+
* @return {string}
|
|
6742
|
+
*/
|
|
6743
|
+
proto.config.MirrorStatusResponse.prototype.getStatus = function() {
|
|
6744
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6745
|
+
};
|
|
6746
|
+
|
|
6747
|
+
|
|
6748
|
+
/**
|
|
6749
|
+
* @param {string} value
|
|
6750
|
+
* @return {!proto.config.MirrorStatusResponse} returns this
|
|
6751
|
+
*/
|
|
6752
|
+
proto.config.MirrorStatusResponse.prototype.setStatus = function(value) {
|
|
6753
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6754
|
+
};
|
|
6755
|
+
|
|
6756
|
+
|
|
5568
6757
|
goog.object.extend(exports, proto.config);
|