@dashevo/dapi-grpc 2.2.0-dev.2 → 3.0.0-dev.5

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.
@@ -21,9 +21,38 @@ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_
21
21
  goog.object.extend(proto, google_protobuf_struct_pb);
22
22
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
23
23
  goog.object.extend(proto, google_protobuf_timestamp_pb);
24
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.AddressInfoEntries', null, { proto });
25
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.AddressInfoEntry', null, { proto });
24
26
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.AllKeys', null, { proto });
27
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.BalanceAndNonce', null, { proto });
25
28
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.BroadcastStateTransitionRequest', null, { proto });
26
29
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.BroadcastStateTransitionResponse', null, { proto });
30
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoRequest', null, { proto });
31
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0', null, { proto });
32
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.VersionCase', null, { proto });
33
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoResponse', null, { proto });
34
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0', null, { proto });
35
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.ResultCase', null, { proto });
36
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.VersionCase', null, { proto });
37
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest', null, { proto });
38
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0', null, { proto });
39
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.VersionCase', null, { proto });
40
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse', null, { proto });
41
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0', null, { proto });
42
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.VersionCase', null, { proto });
43
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest', null, { proto });
44
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0', null, { proto });
45
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.VersionCase', null, { proto });
46
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse', null, { proto });
47
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0', null, { proto });
48
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.ResultCase', null, { proto });
49
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.VersionCase', null, { proto });
50
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest', null, { proto });
51
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0', null, { proto });
52
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.VersionCase', null, { proto });
53
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse', null, { proto });
54
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0', null, { proto });
55
+ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.VersionCase', null, { proto });
27
56
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetConsensusParamsRequest', null, { proto });
28
57
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetConsensusParamsRequest.GetConsensusParamsRequestV0', null, { proto });
29
58
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetConsensusParamsRequest.VersionCase', null, { proto });
@@ -6816,6 +6845,405 @@ if (goog.DEBUG && !COMPILED) {
6816
6845
  */
6817
6846
  proto.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.GetGroupActionSignersResponseV0.GroupActionSigners.displayName = 'proto.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.GetGroupActionSignersResponseV0.GroupActionSigners';
6818
6847
  }
6848
+ /**
6849
+ * Generated by JsPbCodeGenerator.
6850
+ * @param {Array=} opt_data Optional initial data array, typically from a
6851
+ * server response, or constructed directly in Javascript. The array is used
6852
+ * in place and becomes part of the constructed object. It is not cloned.
6853
+ * If no data is provided, the constructed object will be empty, but still
6854
+ * valid.
6855
+ * @extends {jspb.Message}
6856
+ * @constructor
6857
+ */
6858
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest = function(opt_data) {
6859
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.oneofGroups_);
6860
+ };
6861
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressInfoRequest, jspb.Message);
6862
+ if (goog.DEBUG && !COMPILED) {
6863
+ /**
6864
+ * @public
6865
+ * @override
6866
+ */
6867
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressInfoRequest';
6868
+ }
6869
+ /**
6870
+ * Generated by JsPbCodeGenerator.
6871
+ * @param {Array=} opt_data Optional initial data array, typically from a
6872
+ * server response, or constructed directly in Javascript. The array is used
6873
+ * in place and becomes part of the constructed object. It is not cloned.
6874
+ * If no data is provided, the constructed object will be empty, but still
6875
+ * valid.
6876
+ * @extends {jspb.Message}
6877
+ * @constructor
6878
+ */
6879
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0 = function(opt_data) {
6880
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
6881
+ };
6882
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0, jspb.Message);
6883
+ if (goog.DEBUG && !COMPILED) {
6884
+ /**
6885
+ * @public
6886
+ * @override
6887
+ */
6888
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0';
6889
+ }
6890
+ /**
6891
+ * Generated by JsPbCodeGenerator.
6892
+ * @param {Array=} opt_data Optional initial data array, typically from a
6893
+ * server response, or constructed directly in Javascript. The array is used
6894
+ * in place and becomes part of the constructed object. It is not cloned.
6895
+ * If no data is provided, the constructed object will be empty, but still
6896
+ * valid.
6897
+ * @extends {jspb.Message}
6898
+ * @constructor
6899
+ */
6900
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry = function(opt_data) {
6901
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
6902
+ };
6903
+ goog.inherits(proto.org.dash.platform.dapi.v0.AddressInfoEntry, jspb.Message);
6904
+ if (goog.DEBUG && !COMPILED) {
6905
+ /**
6906
+ * @public
6907
+ * @override
6908
+ */
6909
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.displayName = 'proto.org.dash.platform.dapi.v0.AddressInfoEntry';
6910
+ }
6911
+ /**
6912
+ * Generated by JsPbCodeGenerator.
6913
+ * @param {Array=} opt_data Optional initial data array, typically from a
6914
+ * server response, or constructed directly in Javascript. The array is used
6915
+ * in place and becomes part of the constructed object. It is not cloned.
6916
+ * If no data is provided, the constructed object will be empty, but still
6917
+ * valid.
6918
+ * @extends {jspb.Message}
6919
+ * @constructor
6920
+ */
6921
+ proto.org.dash.platform.dapi.v0.BalanceAndNonce = function(opt_data) {
6922
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
6923
+ };
6924
+ goog.inherits(proto.org.dash.platform.dapi.v0.BalanceAndNonce, jspb.Message);
6925
+ if (goog.DEBUG && !COMPILED) {
6926
+ /**
6927
+ * @public
6928
+ * @override
6929
+ */
6930
+ proto.org.dash.platform.dapi.v0.BalanceAndNonce.displayName = 'proto.org.dash.platform.dapi.v0.BalanceAndNonce';
6931
+ }
6932
+ /**
6933
+ * Generated by JsPbCodeGenerator.
6934
+ * @param {Array=} opt_data Optional initial data array, typically from a
6935
+ * server response, or constructed directly in Javascript. The array is used
6936
+ * in place and becomes part of the constructed object. It is not cloned.
6937
+ * If no data is provided, the constructed object will be empty, but still
6938
+ * valid.
6939
+ * @extends {jspb.Message}
6940
+ * @constructor
6941
+ */
6942
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries = function(opt_data) {
6943
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.AddressInfoEntries.repeatedFields_, null);
6944
+ };
6945
+ goog.inherits(proto.org.dash.platform.dapi.v0.AddressInfoEntries, jspb.Message);
6946
+ if (goog.DEBUG && !COMPILED) {
6947
+ /**
6948
+ * @public
6949
+ * @override
6950
+ */
6951
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries.displayName = 'proto.org.dash.platform.dapi.v0.AddressInfoEntries';
6952
+ }
6953
+ /**
6954
+ * Generated by JsPbCodeGenerator.
6955
+ * @param {Array=} opt_data Optional initial data array, typically from a
6956
+ * server response, or constructed directly in Javascript. The array is used
6957
+ * in place and becomes part of the constructed object. It is not cloned.
6958
+ * If no data is provided, the constructed object will be empty, but still
6959
+ * valid.
6960
+ * @extends {jspb.Message}
6961
+ * @constructor
6962
+ */
6963
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse = function(opt_data) {
6964
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.oneofGroups_);
6965
+ };
6966
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressInfoResponse, jspb.Message);
6967
+ if (goog.DEBUG && !COMPILED) {
6968
+ /**
6969
+ * @public
6970
+ * @override
6971
+ */
6972
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressInfoResponse';
6973
+ }
6974
+ /**
6975
+ * Generated by JsPbCodeGenerator.
6976
+ * @param {Array=} opt_data Optional initial data array, typically from a
6977
+ * server response, or constructed directly in Javascript. The array is used
6978
+ * in place and becomes part of the constructed object. It is not cloned.
6979
+ * If no data is provided, the constructed object will be empty, but still
6980
+ * valid.
6981
+ * @extends {jspb.Message}
6982
+ * @constructor
6983
+ */
6984
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0 = function(opt_data) {
6985
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.oneofGroups_);
6986
+ };
6987
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0, jspb.Message);
6988
+ if (goog.DEBUG && !COMPILED) {
6989
+ /**
6990
+ * @public
6991
+ * @override
6992
+ */
6993
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0';
6994
+ }
6995
+ /**
6996
+ * Generated by JsPbCodeGenerator.
6997
+ * @param {Array=} opt_data Optional initial data array, typically from a
6998
+ * server response, or constructed directly in Javascript. The array is used
6999
+ * in place and becomes part of the constructed object. It is not cloned.
7000
+ * If no data is provided, the constructed object will be empty, but still
7001
+ * valid.
7002
+ * @extends {jspb.Message}
7003
+ * @constructor
7004
+ */
7005
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest = function(opt_data) {
7006
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.oneofGroups_);
7007
+ };
7008
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest, jspb.Message);
7009
+ if (goog.DEBUG && !COMPILED) {
7010
+ /**
7011
+ * @public
7012
+ * @override
7013
+ */
7014
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest';
7015
+ }
7016
+ /**
7017
+ * Generated by JsPbCodeGenerator.
7018
+ * @param {Array=} opt_data Optional initial data array, typically from a
7019
+ * server response, or constructed directly in Javascript. The array is used
7020
+ * in place and becomes part of the constructed object. It is not cloned.
7021
+ * If no data is provided, the constructed object will be empty, but still
7022
+ * valid.
7023
+ * @extends {jspb.Message}
7024
+ * @constructor
7025
+ */
7026
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0 = function(opt_data) {
7027
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.repeatedFields_, null);
7028
+ };
7029
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0, jspb.Message);
7030
+ if (goog.DEBUG && !COMPILED) {
7031
+ /**
7032
+ * @public
7033
+ * @override
7034
+ */
7035
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0';
7036
+ }
7037
+ /**
7038
+ * Generated by JsPbCodeGenerator.
7039
+ * @param {Array=} opt_data Optional initial data array, typically from a
7040
+ * server response, or constructed directly in Javascript. The array is used
7041
+ * in place and becomes part of the constructed object. It is not cloned.
7042
+ * If no data is provided, the constructed object will be empty, but still
7043
+ * valid.
7044
+ * @extends {jspb.Message}
7045
+ * @constructor
7046
+ */
7047
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse = function(opt_data) {
7048
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.oneofGroups_);
7049
+ };
7050
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse, jspb.Message);
7051
+ if (goog.DEBUG && !COMPILED) {
7052
+ /**
7053
+ * @public
7054
+ * @override
7055
+ */
7056
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse';
7057
+ }
7058
+ /**
7059
+ * Generated by JsPbCodeGenerator.
7060
+ * @param {Array=} opt_data Optional initial data array, typically from a
7061
+ * server response, or constructed directly in Javascript. The array is used
7062
+ * in place and becomes part of the constructed object. It is not cloned.
7063
+ * If no data is provided, the constructed object will be empty, but still
7064
+ * valid.
7065
+ * @extends {jspb.Message}
7066
+ * @constructor
7067
+ */
7068
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0 = function(opt_data) {
7069
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.oneofGroups_);
7070
+ };
7071
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0, jspb.Message);
7072
+ if (goog.DEBUG && !COMPILED) {
7073
+ /**
7074
+ * @public
7075
+ * @override
7076
+ */
7077
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0';
7078
+ }
7079
+ /**
7080
+ * Generated by JsPbCodeGenerator.
7081
+ * @param {Array=} opt_data Optional initial data array, typically from a
7082
+ * server response, or constructed directly in Javascript. The array is used
7083
+ * in place and becomes part of the constructed object. It is not cloned.
7084
+ * If no data is provided, the constructed object will be empty, but still
7085
+ * valid.
7086
+ * @extends {jspb.Message}
7087
+ * @constructor
7088
+ */
7089
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest = function(opt_data) {
7090
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.oneofGroups_);
7091
+ };
7092
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest, jspb.Message);
7093
+ if (goog.DEBUG && !COMPILED) {
7094
+ /**
7095
+ * @public
7096
+ * @override
7097
+ */
7098
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest';
7099
+ }
7100
+ /**
7101
+ * Generated by JsPbCodeGenerator.
7102
+ * @param {Array=} opt_data Optional initial data array, typically from a
7103
+ * server response, or constructed directly in Javascript. The array is used
7104
+ * in place and becomes part of the constructed object. It is not cloned.
7105
+ * If no data is provided, the constructed object will be empty, but still
7106
+ * valid.
7107
+ * @extends {jspb.Message}
7108
+ * @constructor
7109
+ */
7110
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0 = function(opt_data) {
7111
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7112
+ };
7113
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0, jspb.Message);
7114
+ if (goog.DEBUG && !COMPILED) {
7115
+ /**
7116
+ * @public
7117
+ * @override
7118
+ */
7119
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0';
7120
+ }
7121
+ /**
7122
+ * Generated by JsPbCodeGenerator.
7123
+ * @param {Array=} opt_data Optional initial data array, typically from a
7124
+ * server response, or constructed directly in Javascript. The array is used
7125
+ * in place and becomes part of the constructed object. It is not cloned.
7126
+ * If no data is provided, the constructed object will be empty, but still
7127
+ * valid.
7128
+ * @extends {jspb.Message}
7129
+ * @constructor
7130
+ */
7131
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse = function(opt_data) {
7132
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.oneofGroups_);
7133
+ };
7134
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse, jspb.Message);
7135
+ if (goog.DEBUG && !COMPILED) {
7136
+ /**
7137
+ * @public
7138
+ * @override
7139
+ */
7140
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse';
7141
+ }
7142
+ /**
7143
+ * Generated by JsPbCodeGenerator.
7144
+ * @param {Array=} opt_data Optional initial data array, typically from a
7145
+ * server response, or constructed directly in Javascript. The array is used
7146
+ * in place and becomes part of the constructed object. It is not cloned.
7147
+ * If no data is provided, the constructed object will be empty, but still
7148
+ * valid.
7149
+ * @extends {jspb.Message}
7150
+ * @constructor
7151
+ */
7152
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0 = function(opt_data) {
7153
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7154
+ };
7155
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0, jspb.Message);
7156
+ if (goog.DEBUG && !COMPILED) {
7157
+ /**
7158
+ * @public
7159
+ * @override
7160
+ */
7161
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0';
7162
+ }
7163
+ /**
7164
+ * Generated by JsPbCodeGenerator.
7165
+ * @param {Array=} opt_data Optional initial data array, typically from a
7166
+ * server response, or constructed directly in Javascript. The array is used
7167
+ * in place and becomes part of the constructed object. It is not cloned.
7168
+ * If no data is provided, the constructed object will be empty, but still
7169
+ * valid.
7170
+ * @extends {jspb.Message}
7171
+ * @constructor
7172
+ */
7173
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest = function(opt_data) {
7174
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.oneofGroups_);
7175
+ };
7176
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest, jspb.Message);
7177
+ if (goog.DEBUG && !COMPILED) {
7178
+ /**
7179
+ * @public
7180
+ * @override
7181
+ */
7182
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest';
7183
+ }
7184
+ /**
7185
+ * Generated by JsPbCodeGenerator.
7186
+ * @param {Array=} opt_data Optional initial data array, typically from a
7187
+ * server response, or constructed directly in Javascript. The array is used
7188
+ * in place and becomes part of the constructed object. It is not cloned.
7189
+ * If no data is provided, the constructed object will be empty, but still
7190
+ * valid.
7191
+ * @extends {jspb.Message}
7192
+ * @constructor
7193
+ */
7194
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0 = function(opt_data) {
7195
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7196
+ };
7197
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0, jspb.Message);
7198
+ if (goog.DEBUG && !COMPILED) {
7199
+ /**
7200
+ * @public
7201
+ * @override
7202
+ */
7203
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0';
7204
+ }
7205
+ /**
7206
+ * Generated by JsPbCodeGenerator.
7207
+ * @param {Array=} opt_data Optional initial data array, typically from a
7208
+ * server response, or constructed directly in Javascript. The array is used
7209
+ * in place and becomes part of the constructed object. It is not cloned.
7210
+ * If no data is provided, the constructed object will be empty, but still
7211
+ * valid.
7212
+ * @extends {jspb.Message}
7213
+ * @constructor
7214
+ */
7215
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse = function(opt_data) {
7216
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.oneofGroups_);
7217
+ };
7218
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse, jspb.Message);
7219
+ if (goog.DEBUG && !COMPILED) {
7220
+ /**
7221
+ * @public
7222
+ * @override
7223
+ */
7224
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse';
7225
+ }
7226
+ /**
7227
+ * Generated by JsPbCodeGenerator.
7228
+ * @param {Array=} opt_data Optional initial data array, typically from a
7229
+ * server response, or constructed directly in Javascript. The array is used
7230
+ * in place and becomes part of the constructed object. It is not cloned.
7231
+ * If no data is provided, the constructed object will be empty, but still
7232
+ * valid.
7233
+ * @extends {jspb.Message}
7234
+ * @constructor
7235
+ */
7236
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0 = function(opt_data) {
7237
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7238
+ };
7239
+ goog.inherits(proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0, jspb.Message);
7240
+ if (goog.DEBUG && !COMPILED) {
7241
+ /**
7242
+ * @public
7243
+ * @override
7244
+ */
7245
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0';
7246
+ }
6819
7247
 
6820
7248
 
6821
7249
 
@@ -72142,6 +72570,3532 @@ proto.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.prototype.hasV0 =
72142
72570
  };
72143
72571
 
72144
72572
 
72573
+
72574
+ /**
72575
+ * Oneof group definitions for this message. Each group defines the field
72576
+ * numbers belonging to that group. When of these fields' value is set, all
72577
+ * other fields in the group are cleared. During deserialization, if multiple
72578
+ * fields are encountered for a group, only the last value seen will be kept.
72579
+ * @private {!Array<!Array<number>>}
72580
+ * @const
72581
+ */
72582
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.oneofGroups_ = [[1]];
72583
+
72584
+ /**
72585
+ * @enum {number}
72586
+ */
72587
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.VersionCase = {
72588
+ VERSION_NOT_SET: 0,
72589
+ V0: 1
72590
+ };
72591
+
72592
+ /**
72593
+ * @return {proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.VersionCase}
72594
+ */
72595
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.prototype.getVersionCase = function() {
72596
+ return /** @type {proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.oneofGroups_[0]));
72597
+ };
72598
+
72599
+
72600
+
72601
+ if (jspb.Message.GENERATE_TO_OBJECT) {
72602
+ /**
72603
+ * Creates an object representation of this proto.
72604
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
72605
+ * Optional fields that are not set will be set to undefined.
72606
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
72607
+ * For the list of reserved names please see:
72608
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
72609
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
72610
+ * JSPB instance for transitional soy proto support:
72611
+ * http://goto/soy-param-migration
72612
+ * @return {!Object}
72613
+ */
72614
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.prototype.toObject = function(opt_includeInstance) {
72615
+ return proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.toObject(opt_includeInstance, this);
72616
+ };
72617
+
72618
+
72619
+ /**
72620
+ * Static version of the {@see toObject} method.
72621
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72622
+ * the JSPB instance for transitional soy proto support:
72623
+ * http://goto/soy-param-migration
72624
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoRequest} msg The msg instance to transform.
72625
+ * @return {!Object}
72626
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72627
+ */
72628
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.toObject = function(includeInstance, msg) {
72629
+ var f, obj = {
72630
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.toObject(includeInstance, f)
72631
+ };
72632
+
72633
+ if (includeInstance) {
72634
+ obj.$jspbMessageInstance = msg;
72635
+ }
72636
+ return obj;
72637
+ };
72638
+ }
72639
+
72640
+
72641
+ /**
72642
+ * Deserializes binary data (in protobuf wire format).
72643
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
72644
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoRequest}
72645
+ */
72646
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.deserializeBinary = function(bytes) {
72647
+ var reader = new jspb.BinaryReader(bytes);
72648
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressInfoRequest;
72649
+ return proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.deserializeBinaryFromReader(msg, reader);
72650
+ };
72651
+
72652
+
72653
+ /**
72654
+ * Deserializes binary data (in protobuf wire format) from the
72655
+ * given reader into the given message object.
72656
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoRequest} msg The message object to deserialize into.
72657
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
72658
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoRequest}
72659
+ */
72660
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.deserializeBinaryFromReader = function(msg, reader) {
72661
+ while (reader.nextField()) {
72662
+ if (reader.isEndGroup()) {
72663
+ break;
72664
+ }
72665
+ var field = reader.getFieldNumber();
72666
+ switch (field) {
72667
+ case 1:
72668
+ var value = new proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0;
72669
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.deserializeBinaryFromReader);
72670
+ msg.setV0(value);
72671
+ break;
72672
+ default:
72673
+ reader.skipField();
72674
+ break;
72675
+ }
72676
+ }
72677
+ return msg;
72678
+ };
72679
+
72680
+
72681
+ /**
72682
+ * Serializes the message to binary data (in protobuf wire format).
72683
+ * @return {!Uint8Array}
72684
+ */
72685
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.prototype.serializeBinary = function() {
72686
+ var writer = new jspb.BinaryWriter();
72687
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.serializeBinaryToWriter(this, writer);
72688
+ return writer.getResultBuffer();
72689
+ };
72690
+
72691
+
72692
+ /**
72693
+ * Serializes the given message to binary data (in protobuf wire
72694
+ * format), writing to the given BinaryWriter.
72695
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoRequest} message
72696
+ * @param {!jspb.BinaryWriter} writer
72697
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72698
+ */
72699
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.serializeBinaryToWriter = function(message, writer) {
72700
+ var f = undefined;
72701
+ f = message.getV0();
72702
+ if (f != null) {
72703
+ writer.writeMessage(
72704
+ 1,
72705
+ f,
72706
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.serializeBinaryToWriter
72707
+ );
72708
+ }
72709
+ };
72710
+
72711
+
72712
+
72713
+
72714
+
72715
+ if (jspb.Message.GENERATE_TO_OBJECT) {
72716
+ /**
72717
+ * Creates an object representation of this proto.
72718
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
72719
+ * Optional fields that are not set will be set to undefined.
72720
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
72721
+ * For the list of reserved names please see:
72722
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
72723
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
72724
+ * JSPB instance for transitional soy proto support:
72725
+ * http://goto/soy-param-migration
72726
+ * @return {!Object}
72727
+ */
72728
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.prototype.toObject = function(opt_includeInstance) {
72729
+ return proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.toObject(opt_includeInstance, this);
72730
+ };
72731
+
72732
+
72733
+ /**
72734
+ * Static version of the {@see toObject} method.
72735
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72736
+ * the JSPB instance for transitional soy proto support:
72737
+ * http://goto/soy-param-migration
72738
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0} msg The msg instance to transform.
72739
+ * @return {!Object}
72740
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72741
+ */
72742
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.toObject = function(includeInstance, msg) {
72743
+ var f, obj = {
72744
+ address: msg.getAddress_asB64(),
72745
+ prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
72746
+ };
72747
+
72748
+ if (includeInstance) {
72749
+ obj.$jspbMessageInstance = msg;
72750
+ }
72751
+ return obj;
72752
+ };
72753
+ }
72754
+
72755
+
72756
+ /**
72757
+ * Deserializes binary data (in protobuf wire format).
72758
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
72759
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0}
72760
+ */
72761
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.deserializeBinary = function(bytes) {
72762
+ var reader = new jspb.BinaryReader(bytes);
72763
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0;
72764
+ return proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.deserializeBinaryFromReader(msg, reader);
72765
+ };
72766
+
72767
+
72768
+ /**
72769
+ * Deserializes binary data (in protobuf wire format) from the
72770
+ * given reader into the given message object.
72771
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0} msg The message object to deserialize into.
72772
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
72773
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0}
72774
+ */
72775
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.deserializeBinaryFromReader = function(msg, reader) {
72776
+ while (reader.nextField()) {
72777
+ if (reader.isEndGroup()) {
72778
+ break;
72779
+ }
72780
+ var field = reader.getFieldNumber();
72781
+ switch (field) {
72782
+ case 1:
72783
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
72784
+ msg.setAddress(value);
72785
+ break;
72786
+ case 2:
72787
+ var value = /** @type {boolean} */ (reader.readBool());
72788
+ msg.setProve(value);
72789
+ break;
72790
+ default:
72791
+ reader.skipField();
72792
+ break;
72793
+ }
72794
+ }
72795
+ return msg;
72796
+ };
72797
+
72798
+
72799
+ /**
72800
+ * Serializes the message to binary data (in protobuf wire format).
72801
+ * @return {!Uint8Array}
72802
+ */
72803
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.prototype.serializeBinary = function() {
72804
+ var writer = new jspb.BinaryWriter();
72805
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.serializeBinaryToWriter(this, writer);
72806
+ return writer.getResultBuffer();
72807
+ };
72808
+
72809
+
72810
+ /**
72811
+ * Serializes the given message to binary data (in protobuf wire
72812
+ * format), writing to the given BinaryWriter.
72813
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0} message
72814
+ * @param {!jspb.BinaryWriter} writer
72815
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72816
+ */
72817
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.serializeBinaryToWriter = function(message, writer) {
72818
+ var f = undefined;
72819
+ f = message.getAddress_asU8();
72820
+ if (f.length > 0) {
72821
+ writer.writeBytes(
72822
+ 1,
72823
+ f
72824
+ );
72825
+ }
72826
+ f = message.getProve();
72827
+ if (f) {
72828
+ writer.writeBool(
72829
+ 2,
72830
+ f
72831
+ );
72832
+ }
72833
+ };
72834
+
72835
+
72836
+ /**
72837
+ * optional bytes address = 1;
72838
+ * @return {string}
72839
+ */
72840
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.prototype.getAddress = function() {
72841
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
72842
+ };
72843
+
72844
+
72845
+ /**
72846
+ * optional bytes address = 1;
72847
+ * This is a type-conversion wrapper around `getAddress()`
72848
+ * @return {string}
72849
+ */
72850
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.prototype.getAddress_asB64 = function() {
72851
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
72852
+ this.getAddress()));
72853
+ };
72854
+
72855
+
72856
+ /**
72857
+ * optional bytes address = 1;
72858
+ * Note that Uint8Array is not supported on all browsers.
72859
+ * @see http://caniuse.com/Uint8Array
72860
+ * This is a type-conversion wrapper around `getAddress()`
72861
+ * @return {!Uint8Array}
72862
+ */
72863
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.prototype.getAddress_asU8 = function() {
72864
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
72865
+ this.getAddress()));
72866
+ };
72867
+
72868
+
72869
+ /**
72870
+ * @param {!(string|Uint8Array)} value
72871
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0} returns this
72872
+ */
72873
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.prototype.setAddress = function(value) {
72874
+ return jspb.Message.setProto3BytesField(this, 1, value);
72875
+ };
72876
+
72877
+
72878
+ /**
72879
+ * optional bool prove = 2;
72880
+ * @return {boolean}
72881
+ */
72882
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.prototype.getProve = function() {
72883
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
72884
+ };
72885
+
72886
+
72887
+ /**
72888
+ * @param {boolean} value
72889
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0} returns this
72890
+ */
72891
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0.prototype.setProve = function(value) {
72892
+ return jspb.Message.setProto3BooleanField(this, 2, value);
72893
+ };
72894
+
72895
+
72896
+ /**
72897
+ * optional GetAddressInfoRequestV0 v0 = 1;
72898
+ * @return {?proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0}
72899
+ */
72900
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.prototype.getV0 = function() {
72901
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0} */ (
72902
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0, 1));
72903
+ };
72904
+
72905
+
72906
+ /**
72907
+ * @param {?proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0|undefined} value
72908
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoRequest} returns this
72909
+ */
72910
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.prototype.setV0 = function(value) {
72911
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.oneofGroups_[0], value);
72912
+ };
72913
+
72914
+
72915
+ /**
72916
+ * Clears the message field making it undefined.
72917
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoRequest} returns this
72918
+ */
72919
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.prototype.clearV0 = function() {
72920
+ return this.setV0(undefined);
72921
+ };
72922
+
72923
+
72924
+ /**
72925
+ * Returns whether this field is set.
72926
+ * @return {boolean}
72927
+ */
72928
+ proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.prototype.hasV0 = function() {
72929
+ return jspb.Message.getField(this, 1) != null;
72930
+ };
72931
+
72932
+
72933
+
72934
+
72935
+
72936
+ if (jspb.Message.GENERATE_TO_OBJECT) {
72937
+ /**
72938
+ * Creates an object representation of this proto.
72939
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
72940
+ * Optional fields that are not set will be set to undefined.
72941
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
72942
+ * For the list of reserved names please see:
72943
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
72944
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
72945
+ * JSPB instance for transitional soy proto support:
72946
+ * http://goto/soy-param-migration
72947
+ * @return {!Object}
72948
+ */
72949
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.prototype.toObject = function(opt_includeInstance) {
72950
+ return proto.org.dash.platform.dapi.v0.AddressInfoEntry.toObject(opt_includeInstance, this);
72951
+ };
72952
+
72953
+
72954
+ /**
72955
+ * Static version of the {@see toObject} method.
72956
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72957
+ * the JSPB instance for transitional soy proto support:
72958
+ * http://goto/soy-param-migration
72959
+ * @param {!proto.org.dash.platform.dapi.v0.AddressInfoEntry} msg The msg instance to transform.
72960
+ * @return {!Object}
72961
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72962
+ */
72963
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.toObject = function(includeInstance, msg) {
72964
+ var f, obj = {
72965
+ address: msg.getAddress_asB64(),
72966
+ balanceAndNonce: (f = msg.getBalanceAndNonce()) && proto.org.dash.platform.dapi.v0.BalanceAndNonce.toObject(includeInstance, f)
72967
+ };
72968
+
72969
+ if (includeInstance) {
72970
+ obj.$jspbMessageInstance = msg;
72971
+ }
72972
+ return obj;
72973
+ };
72974
+ }
72975
+
72976
+
72977
+ /**
72978
+ * Deserializes binary data (in protobuf wire format).
72979
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
72980
+ * @return {!proto.org.dash.platform.dapi.v0.AddressInfoEntry}
72981
+ */
72982
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.deserializeBinary = function(bytes) {
72983
+ var reader = new jspb.BinaryReader(bytes);
72984
+ var msg = new proto.org.dash.platform.dapi.v0.AddressInfoEntry;
72985
+ return proto.org.dash.platform.dapi.v0.AddressInfoEntry.deserializeBinaryFromReader(msg, reader);
72986
+ };
72987
+
72988
+
72989
+ /**
72990
+ * Deserializes binary data (in protobuf wire format) from the
72991
+ * given reader into the given message object.
72992
+ * @param {!proto.org.dash.platform.dapi.v0.AddressInfoEntry} msg The message object to deserialize into.
72993
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
72994
+ * @return {!proto.org.dash.platform.dapi.v0.AddressInfoEntry}
72995
+ */
72996
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.deserializeBinaryFromReader = function(msg, reader) {
72997
+ while (reader.nextField()) {
72998
+ if (reader.isEndGroup()) {
72999
+ break;
73000
+ }
73001
+ var field = reader.getFieldNumber();
73002
+ switch (field) {
73003
+ case 1:
73004
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
73005
+ msg.setAddress(value);
73006
+ break;
73007
+ case 2:
73008
+ var value = new proto.org.dash.platform.dapi.v0.BalanceAndNonce;
73009
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.BalanceAndNonce.deserializeBinaryFromReader);
73010
+ msg.setBalanceAndNonce(value);
73011
+ break;
73012
+ default:
73013
+ reader.skipField();
73014
+ break;
73015
+ }
73016
+ }
73017
+ return msg;
73018
+ };
73019
+
73020
+
73021
+ /**
73022
+ * Serializes the message to binary data (in protobuf wire format).
73023
+ * @return {!Uint8Array}
73024
+ */
73025
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.prototype.serializeBinary = function() {
73026
+ var writer = new jspb.BinaryWriter();
73027
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.serializeBinaryToWriter(this, writer);
73028
+ return writer.getResultBuffer();
73029
+ };
73030
+
73031
+
73032
+ /**
73033
+ * Serializes the given message to binary data (in protobuf wire
73034
+ * format), writing to the given BinaryWriter.
73035
+ * @param {!proto.org.dash.platform.dapi.v0.AddressInfoEntry} message
73036
+ * @param {!jspb.BinaryWriter} writer
73037
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73038
+ */
73039
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.serializeBinaryToWriter = function(message, writer) {
73040
+ var f = undefined;
73041
+ f = message.getAddress_asU8();
73042
+ if (f.length > 0) {
73043
+ writer.writeBytes(
73044
+ 1,
73045
+ f
73046
+ );
73047
+ }
73048
+ f = message.getBalanceAndNonce();
73049
+ if (f != null) {
73050
+ writer.writeMessage(
73051
+ 2,
73052
+ f,
73053
+ proto.org.dash.platform.dapi.v0.BalanceAndNonce.serializeBinaryToWriter
73054
+ );
73055
+ }
73056
+ };
73057
+
73058
+
73059
+ /**
73060
+ * optional bytes address = 1;
73061
+ * @return {string}
73062
+ */
73063
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.prototype.getAddress = function() {
73064
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
73065
+ };
73066
+
73067
+
73068
+ /**
73069
+ * optional bytes address = 1;
73070
+ * This is a type-conversion wrapper around `getAddress()`
73071
+ * @return {string}
73072
+ */
73073
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.prototype.getAddress_asB64 = function() {
73074
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
73075
+ this.getAddress()));
73076
+ };
73077
+
73078
+
73079
+ /**
73080
+ * optional bytes address = 1;
73081
+ * Note that Uint8Array is not supported on all browsers.
73082
+ * @see http://caniuse.com/Uint8Array
73083
+ * This is a type-conversion wrapper around `getAddress()`
73084
+ * @return {!Uint8Array}
73085
+ */
73086
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.prototype.getAddress_asU8 = function() {
73087
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
73088
+ this.getAddress()));
73089
+ };
73090
+
73091
+
73092
+ /**
73093
+ * @param {!(string|Uint8Array)} value
73094
+ * @return {!proto.org.dash.platform.dapi.v0.AddressInfoEntry} returns this
73095
+ */
73096
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.prototype.setAddress = function(value) {
73097
+ return jspb.Message.setProto3BytesField(this, 1, value);
73098
+ };
73099
+
73100
+
73101
+ /**
73102
+ * optional BalanceAndNonce balance_and_nonce = 2;
73103
+ * @return {?proto.org.dash.platform.dapi.v0.BalanceAndNonce}
73104
+ */
73105
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.prototype.getBalanceAndNonce = function() {
73106
+ return /** @type{?proto.org.dash.platform.dapi.v0.BalanceAndNonce} */ (
73107
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.BalanceAndNonce, 2));
73108
+ };
73109
+
73110
+
73111
+ /**
73112
+ * @param {?proto.org.dash.platform.dapi.v0.BalanceAndNonce|undefined} value
73113
+ * @return {!proto.org.dash.platform.dapi.v0.AddressInfoEntry} returns this
73114
+ */
73115
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.prototype.setBalanceAndNonce = function(value) {
73116
+ return jspb.Message.setWrapperField(this, 2, value);
73117
+ };
73118
+
73119
+
73120
+ /**
73121
+ * Clears the message field making it undefined.
73122
+ * @return {!proto.org.dash.platform.dapi.v0.AddressInfoEntry} returns this
73123
+ */
73124
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.prototype.clearBalanceAndNonce = function() {
73125
+ return this.setBalanceAndNonce(undefined);
73126
+ };
73127
+
73128
+
73129
+ /**
73130
+ * Returns whether this field is set.
73131
+ * @return {boolean}
73132
+ */
73133
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.prototype.hasBalanceAndNonce = function() {
73134
+ return jspb.Message.getField(this, 2) != null;
73135
+ };
73136
+
73137
+
73138
+
73139
+
73140
+
73141
+ if (jspb.Message.GENERATE_TO_OBJECT) {
73142
+ /**
73143
+ * Creates an object representation of this proto.
73144
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
73145
+ * Optional fields that are not set will be set to undefined.
73146
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
73147
+ * For the list of reserved names please see:
73148
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
73149
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
73150
+ * JSPB instance for transitional soy proto support:
73151
+ * http://goto/soy-param-migration
73152
+ * @return {!Object}
73153
+ */
73154
+ proto.org.dash.platform.dapi.v0.BalanceAndNonce.prototype.toObject = function(opt_includeInstance) {
73155
+ return proto.org.dash.platform.dapi.v0.BalanceAndNonce.toObject(opt_includeInstance, this);
73156
+ };
73157
+
73158
+
73159
+ /**
73160
+ * Static version of the {@see toObject} method.
73161
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
73162
+ * the JSPB instance for transitional soy proto support:
73163
+ * http://goto/soy-param-migration
73164
+ * @param {!proto.org.dash.platform.dapi.v0.BalanceAndNonce} msg The msg instance to transform.
73165
+ * @return {!Object}
73166
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73167
+ */
73168
+ proto.org.dash.platform.dapi.v0.BalanceAndNonce.toObject = function(includeInstance, msg) {
73169
+ var f, obj = {
73170
+ balance: jspb.Message.getFieldWithDefault(msg, 1, 0),
73171
+ nonce: jspb.Message.getFieldWithDefault(msg, 2, 0)
73172
+ };
73173
+
73174
+ if (includeInstance) {
73175
+ obj.$jspbMessageInstance = msg;
73176
+ }
73177
+ return obj;
73178
+ };
73179
+ }
73180
+
73181
+
73182
+ /**
73183
+ * Deserializes binary data (in protobuf wire format).
73184
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
73185
+ * @return {!proto.org.dash.platform.dapi.v0.BalanceAndNonce}
73186
+ */
73187
+ proto.org.dash.platform.dapi.v0.BalanceAndNonce.deserializeBinary = function(bytes) {
73188
+ var reader = new jspb.BinaryReader(bytes);
73189
+ var msg = new proto.org.dash.platform.dapi.v0.BalanceAndNonce;
73190
+ return proto.org.dash.platform.dapi.v0.BalanceAndNonce.deserializeBinaryFromReader(msg, reader);
73191
+ };
73192
+
73193
+
73194
+ /**
73195
+ * Deserializes binary data (in protobuf wire format) from the
73196
+ * given reader into the given message object.
73197
+ * @param {!proto.org.dash.platform.dapi.v0.BalanceAndNonce} msg The message object to deserialize into.
73198
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
73199
+ * @return {!proto.org.dash.platform.dapi.v0.BalanceAndNonce}
73200
+ */
73201
+ proto.org.dash.platform.dapi.v0.BalanceAndNonce.deserializeBinaryFromReader = function(msg, reader) {
73202
+ while (reader.nextField()) {
73203
+ if (reader.isEndGroup()) {
73204
+ break;
73205
+ }
73206
+ var field = reader.getFieldNumber();
73207
+ switch (field) {
73208
+ case 1:
73209
+ var value = /** @type {number} */ (reader.readUint64());
73210
+ msg.setBalance(value);
73211
+ break;
73212
+ case 2:
73213
+ var value = /** @type {number} */ (reader.readUint32());
73214
+ msg.setNonce(value);
73215
+ break;
73216
+ default:
73217
+ reader.skipField();
73218
+ break;
73219
+ }
73220
+ }
73221
+ return msg;
73222
+ };
73223
+
73224
+
73225
+ /**
73226
+ * Serializes the message to binary data (in protobuf wire format).
73227
+ * @return {!Uint8Array}
73228
+ */
73229
+ proto.org.dash.platform.dapi.v0.BalanceAndNonce.prototype.serializeBinary = function() {
73230
+ var writer = new jspb.BinaryWriter();
73231
+ proto.org.dash.platform.dapi.v0.BalanceAndNonce.serializeBinaryToWriter(this, writer);
73232
+ return writer.getResultBuffer();
73233
+ };
73234
+
73235
+
73236
+ /**
73237
+ * Serializes the given message to binary data (in protobuf wire
73238
+ * format), writing to the given BinaryWriter.
73239
+ * @param {!proto.org.dash.platform.dapi.v0.BalanceAndNonce} message
73240
+ * @param {!jspb.BinaryWriter} writer
73241
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73242
+ */
73243
+ proto.org.dash.platform.dapi.v0.BalanceAndNonce.serializeBinaryToWriter = function(message, writer) {
73244
+ var f = undefined;
73245
+ f = message.getBalance();
73246
+ if (f !== 0) {
73247
+ writer.writeUint64(
73248
+ 1,
73249
+ f
73250
+ );
73251
+ }
73252
+ f = message.getNonce();
73253
+ if (f !== 0) {
73254
+ writer.writeUint32(
73255
+ 2,
73256
+ f
73257
+ );
73258
+ }
73259
+ };
73260
+
73261
+
73262
+ /**
73263
+ * optional uint64 balance = 1;
73264
+ * @return {number}
73265
+ */
73266
+ proto.org.dash.platform.dapi.v0.BalanceAndNonce.prototype.getBalance = function() {
73267
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
73268
+ };
73269
+
73270
+
73271
+ /**
73272
+ * @param {number} value
73273
+ * @return {!proto.org.dash.platform.dapi.v0.BalanceAndNonce} returns this
73274
+ */
73275
+ proto.org.dash.platform.dapi.v0.BalanceAndNonce.prototype.setBalance = function(value) {
73276
+ return jspb.Message.setProto3IntField(this, 1, value);
73277
+ };
73278
+
73279
+
73280
+ /**
73281
+ * optional uint32 nonce = 2;
73282
+ * @return {number}
73283
+ */
73284
+ proto.org.dash.platform.dapi.v0.BalanceAndNonce.prototype.getNonce = function() {
73285
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
73286
+ };
73287
+
73288
+
73289
+ /**
73290
+ * @param {number} value
73291
+ * @return {!proto.org.dash.platform.dapi.v0.BalanceAndNonce} returns this
73292
+ */
73293
+ proto.org.dash.platform.dapi.v0.BalanceAndNonce.prototype.setNonce = function(value) {
73294
+ return jspb.Message.setProto3IntField(this, 2, value);
73295
+ };
73296
+
73297
+
73298
+
73299
+ /**
73300
+ * List of repeated fields within this message type.
73301
+ * @private {!Array<number>}
73302
+ * @const
73303
+ */
73304
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries.repeatedFields_ = [1];
73305
+
73306
+
73307
+
73308
+ if (jspb.Message.GENERATE_TO_OBJECT) {
73309
+ /**
73310
+ * Creates an object representation of this proto.
73311
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
73312
+ * Optional fields that are not set will be set to undefined.
73313
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
73314
+ * For the list of reserved names please see:
73315
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
73316
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
73317
+ * JSPB instance for transitional soy proto support:
73318
+ * http://goto/soy-param-migration
73319
+ * @return {!Object}
73320
+ */
73321
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries.prototype.toObject = function(opt_includeInstance) {
73322
+ return proto.org.dash.platform.dapi.v0.AddressInfoEntries.toObject(opt_includeInstance, this);
73323
+ };
73324
+
73325
+
73326
+ /**
73327
+ * Static version of the {@see toObject} method.
73328
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
73329
+ * the JSPB instance for transitional soy proto support:
73330
+ * http://goto/soy-param-migration
73331
+ * @param {!proto.org.dash.platform.dapi.v0.AddressInfoEntries} msg The msg instance to transform.
73332
+ * @return {!Object}
73333
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73334
+ */
73335
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries.toObject = function(includeInstance, msg) {
73336
+ var f, obj = {
73337
+ addressInfoEntriesList: jspb.Message.toObjectList(msg.getAddressInfoEntriesList(),
73338
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.toObject, includeInstance)
73339
+ };
73340
+
73341
+ if (includeInstance) {
73342
+ obj.$jspbMessageInstance = msg;
73343
+ }
73344
+ return obj;
73345
+ };
73346
+ }
73347
+
73348
+
73349
+ /**
73350
+ * Deserializes binary data (in protobuf wire format).
73351
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
73352
+ * @return {!proto.org.dash.platform.dapi.v0.AddressInfoEntries}
73353
+ */
73354
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries.deserializeBinary = function(bytes) {
73355
+ var reader = new jspb.BinaryReader(bytes);
73356
+ var msg = new proto.org.dash.platform.dapi.v0.AddressInfoEntries;
73357
+ return proto.org.dash.platform.dapi.v0.AddressInfoEntries.deserializeBinaryFromReader(msg, reader);
73358
+ };
73359
+
73360
+
73361
+ /**
73362
+ * Deserializes binary data (in protobuf wire format) from the
73363
+ * given reader into the given message object.
73364
+ * @param {!proto.org.dash.platform.dapi.v0.AddressInfoEntries} msg The message object to deserialize into.
73365
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
73366
+ * @return {!proto.org.dash.platform.dapi.v0.AddressInfoEntries}
73367
+ */
73368
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries.deserializeBinaryFromReader = function(msg, reader) {
73369
+ while (reader.nextField()) {
73370
+ if (reader.isEndGroup()) {
73371
+ break;
73372
+ }
73373
+ var field = reader.getFieldNumber();
73374
+ switch (field) {
73375
+ case 1:
73376
+ var value = new proto.org.dash.platform.dapi.v0.AddressInfoEntry;
73377
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.AddressInfoEntry.deserializeBinaryFromReader);
73378
+ msg.addAddressInfoEntries(value);
73379
+ break;
73380
+ default:
73381
+ reader.skipField();
73382
+ break;
73383
+ }
73384
+ }
73385
+ return msg;
73386
+ };
73387
+
73388
+
73389
+ /**
73390
+ * Serializes the message to binary data (in protobuf wire format).
73391
+ * @return {!Uint8Array}
73392
+ */
73393
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries.prototype.serializeBinary = function() {
73394
+ var writer = new jspb.BinaryWriter();
73395
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries.serializeBinaryToWriter(this, writer);
73396
+ return writer.getResultBuffer();
73397
+ };
73398
+
73399
+
73400
+ /**
73401
+ * Serializes the given message to binary data (in protobuf wire
73402
+ * format), writing to the given BinaryWriter.
73403
+ * @param {!proto.org.dash.platform.dapi.v0.AddressInfoEntries} message
73404
+ * @param {!jspb.BinaryWriter} writer
73405
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73406
+ */
73407
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries.serializeBinaryToWriter = function(message, writer) {
73408
+ var f = undefined;
73409
+ f = message.getAddressInfoEntriesList();
73410
+ if (f.length > 0) {
73411
+ writer.writeRepeatedMessage(
73412
+ 1,
73413
+ f,
73414
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.serializeBinaryToWriter
73415
+ );
73416
+ }
73417
+ };
73418
+
73419
+
73420
+ /**
73421
+ * repeated AddressInfoEntry address_info_entries = 1;
73422
+ * @return {!Array<!proto.org.dash.platform.dapi.v0.AddressInfoEntry>}
73423
+ */
73424
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries.prototype.getAddressInfoEntriesList = function() {
73425
+ return /** @type{!Array<!proto.org.dash.platform.dapi.v0.AddressInfoEntry>} */ (
73426
+ jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.AddressInfoEntry, 1));
73427
+ };
73428
+
73429
+
73430
+ /**
73431
+ * @param {!Array<!proto.org.dash.platform.dapi.v0.AddressInfoEntry>} value
73432
+ * @return {!proto.org.dash.platform.dapi.v0.AddressInfoEntries} returns this
73433
+ */
73434
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries.prototype.setAddressInfoEntriesList = function(value) {
73435
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
73436
+ };
73437
+
73438
+
73439
+ /**
73440
+ * @param {!proto.org.dash.platform.dapi.v0.AddressInfoEntry=} opt_value
73441
+ * @param {number=} opt_index
73442
+ * @return {!proto.org.dash.platform.dapi.v0.AddressInfoEntry}
73443
+ */
73444
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries.prototype.addAddressInfoEntries = function(opt_value, opt_index) {
73445
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.AddressInfoEntry, opt_index);
73446
+ };
73447
+
73448
+
73449
+ /**
73450
+ * Clears the list making it empty but non-null.
73451
+ * @return {!proto.org.dash.platform.dapi.v0.AddressInfoEntries} returns this
73452
+ */
73453
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries.prototype.clearAddressInfoEntriesList = function() {
73454
+ return this.setAddressInfoEntriesList([]);
73455
+ };
73456
+
73457
+
73458
+
73459
+ /**
73460
+ * Oneof group definitions for this message. Each group defines the field
73461
+ * numbers belonging to that group. When of these fields' value is set, all
73462
+ * other fields in the group are cleared. During deserialization, if multiple
73463
+ * fields are encountered for a group, only the last value seen will be kept.
73464
+ * @private {!Array<!Array<number>>}
73465
+ * @const
73466
+ */
73467
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.oneofGroups_ = [[1]];
73468
+
73469
+ /**
73470
+ * @enum {number}
73471
+ */
73472
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.VersionCase = {
73473
+ VERSION_NOT_SET: 0,
73474
+ V0: 1
73475
+ };
73476
+
73477
+ /**
73478
+ * @return {proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.VersionCase}
73479
+ */
73480
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.prototype.getVersionCase = function() {
73481
+ return /** @type {proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.oneofGroups_[0]));
73482
+ };
73483
+
73484
+
73485
+
73486
+ if (jspb.Message.GENERATE_TO_OBJECT) {
73487
+ /**
73488
+ * Creates an object representation of this proto.
73489
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
73490
+ * Optional fields that are not set will be set to undefined.
73491
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
73492
+ * For the list of reserved names please see:
73493
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
73494
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
73495
+ * JSPB instance for transitional soy proto support:
73496
+ * http://goto/soy-param-migration
73497
+ * @return {!Object}
73498
+ */
73499
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.prototype.toObject = function(opt_includeInstance) {
73500
+ return proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.toObject(opt_includeInstance, this);
73501
+ };
73502
+
73503
+
73504
+ /**
73505
+ * Static version of the {@see toObject} method.
73506
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
73507
+ * the JSPB instance for transitional soy proto support:
73508
+ * http://goto/soy-param-migration
73509
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse} msg The msg instance to transform.
73510
+ * @return {!Object}
73511
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73512
+ */
73513
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.toObject = function(includeInstance, msg) {
73514
+ var f, obj = {
73515
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.toObject(includeInstance, f)
73516
+ };
73517
+
73518
+ if (includeInstance) {
73519
+ obj.$jspbMessageInstance = msg;
73520
+ }
73521
+ return obj;
73522
+ };
73523
+ }
73524
+
73525
+
73526
+ /**
73527
+ * Deserializes binary data (in protobuf wire format).
73528
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
73529
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse}
73530
+ */
73531
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.deserializeBinary = function(bytes) {
73532
+ var reader = new jspb.BinaryReader(bytes);
73533
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressInfoResponse;
73534
+ return proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.deserializeBinaryFromReader(msg, reader);
73535
+ };
73536
+
73537
+
73538
+ /**
73539
+ * Deserializes binary data (in protobuf wire format) from the
73540
+ * given reader into the given message object.
73541
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse} msg The message object to deserialize into.
73542
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
73543
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse}
73544
+ */
73545
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.deserializeBinaryFromReader = function(msg, reader) {
73546
+ while (reader.nextField()) {
73547
+ if (reader.isEndGroup()) {
73548
+ break;
73549
+ }
73550
+ var field = reader.getFieldNumber();
73551
+ switch (field) {
73552
+ case 1:
73553
+ var value = new proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0;
73554
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.deserializeBinaryFromReader);
73555
+ msg.setV0(value);
73556
+ break;
73557
+ default:
73558
+ reader.skipField();
73559
+ break;
73560
+ }
73561
+ }
73562
+ return msg;
73563
+ };
73564
+
73565
+
73566
+ /**
73567
+ * Serializes the message to binary data (in protobuf wire format).
73568
+ * @return {!Uint8Array}
73569
+ */
73570
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.prototype.serializeBinary = function() {
73571
+ var writer = new jspb.BinaryWriter();
73572
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.serializeBinaryToWriter(this, writer);
73573
+ return writer.getResultBuffer();
73574
+ };
73575
+
73576
+
73577
+ /**
73578
+ * Serializes the given message to binary data (in protobuf wire
73579
+ * format), writing to the given BinaryWriter.
73580
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse} message
73581
+ * @param {!jspb.BinaryWriter} writer
73582
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73583
+ */
73584
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.serializeBinaryToWriter = function(message, writer) {
73585
+ var f = undefined;
73586
+ f = message.getV0();
73587
+ if (f != null) {
73588
+ writer.writeMessage(
73589
+ 1,
73590
+ f,
73591
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.serializeBinaryToWriter
73592
+ );
73593
+ }
73594
+ };
73595
+
73596
+
73597
+
73598
+ /**
73599
+ * Oneof group definitions for this message. Each group defines the field
73600
+ * numbers belonging to that group. When of these fields' value is set, all
73601
+ * other fields in the group are cleared. During deserialization, if multiple
73602
+ * fields are encountered for a group, only the last value seen will be kept.
73603
+ * @private {!Array<!Array<number>>}
73604
+ * @const
73605
+ */
73606
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.oneofGroups_ = [[1,2]];
73607
+
73608
+ /**
73609
+ * @enum {number}
73610
+ */
73611
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.ResultCase = {
73612
+ RESULT_NOT_SET: 0,
73613
+ ADDRESS_INFO_ENTRY: 1,
73614
+ PROOF: 2
73615
+ };
73616
+
73617
+ /**
73618
+ * @return {proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.ResultCase}
73619
+ */
73620
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.getResultCase = function() {
73621
+ return /** @type {proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.oneofGroups_[0]));
73622
+ };
73623
+
73624
+
73625
+
73626
+ if (jspb.Message.GENERATE_TO_OBJECT) {
73627
+ /**
73628
+ * Creates an object representation of this proto.
73629
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
73630
+ * Optional fields that are not set will be set to undefined.
73631
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
73632
+ * For the list of reserved names please see:
73633
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
73634
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
73635
+ * JSPB instance for transitional soy proto support:
73636
+ * http://goto/soy-param-migration
73637
+ * @return {!Object}
73638
+ */
73639
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.toObject = function(opt_includeInstance) {
73640
+ return proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.toObject(opt_includeInstance, this);
73641
+ };
73642
+
73643
+
73644
+ /**
73645
+ * Static version of the {@see toObject} method.
73646
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
73647
+ * the JSPB instance for transitional soy proto support:
73648
+ * http://goto/soy-param-migration
73649
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} msg The msg instance to transform.
73650
+ * @return {!Object}
73651
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73652
+ */
73653
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.toObject = function(includeInstance, msg) {
73654
+ var f, obj = {
73655
+ addressInfoEntry: (f = msg.getAddressInfoEntry()) && proto.org.dash.platform.dapi.v0.AddressInfoEntry.toObject(includeInstance, f),
73656
+ proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
73657
+ metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
73658
+ };
73659
+
73660
+ if (includeInstance) {
73661
+ obj.$jspbMessageInstance = msg;
73662
+ }
73663
+ return obj;
73664
+ };
73665
+ }
73666
+
73667
+
73668
+ /**
73669
+ * Deserializes binary data (in protobuf wire format).
73670
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
73671
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0}
73672
+ */
73673
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.deserializeBinary = function(bytes) {
73674
+ var reader = new jspb.BinaryReader(bytes);
73675
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0;
73676
+ return proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.deserializeBinaryFromReader(msg, reader);
73677
+ };
73678
+
73679
+
73680
+ /**
73681
+ * Deserializes binary data (in protobuf wire format) from the
73682
+ * given reader into the given message object.
73683
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} msg The message object to deserialize into.
73684
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
73685
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0}
73686
+ */
73687
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.deserializeBinaryFromReader = function(msg, reader) {
73688
+ while (reader.nextField()) {
73689
+ if (reader.isEndGroup()) {
73690
+ break;
73691
+ }
73692
+ var field = reader.getFieldNumber();
73693
+ switch (field) {
73694
+ case 1:
73695
+ var value = new proto.org.dash.platform.dapi.v0.AddressInfoEntry;
73696
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.AddressInfoEntry.deserializeBinaryFromReader);
73697
+ msg.setAddressInfoEntry(value);
73698
+ break;
73699
+ case 2:
73700
+ var value = new proto.org.dash.platform.dapi.v0.Proof;
73701
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
73702
+ msg.setProof(value);
73703
+ break;
73704
+ case 3:
73705
+ var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
73706
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
73707
+ msg.setMetadata(value);
73708
+ break;
73709
+ default:
73710
+ reader.skipField();
73711
+ break;
73712
+ }
73713
+ }
73714
+ return msg;
73715
+ };
73716
+
73717
+
73718
+ /**
73719
+ * Serializes the message to binary data (in protobuf wire format).
73720
+ * @return {!Uint8Array}
73721
+ */
73722
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.serializeBinary = function() {
73723
+ var writer = new jspb.BinaryWriter();
73724
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.serializeBinaryToWriter(this, writer);
73725
+ return writer.getResultBuffer();
73726
+ };
73727
+
73728
+
73729
+ /**
73730
+ * Serializes the given message to binary data (in protobuf wire
73731
+ * format), writing to the given BinaryWriter.
73732
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} message
73733
+ * @param {!jspb.BinaryWriter} writer
73734
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73735
+ */
73736
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.serializeBinaryToWriter = function(message, writer) {
73737
+ var f = undefined;
73738
+ f = message.getAddressInfoEntry();
73739
+ if (f != null) {
73740
+ writer.writeMessage(
73741
+ 1,
73742
+ f,
73743
+ proto.org.dash.platform.dapi.v0.AddressInfoEntry.serializeBinaryToWriter
73744
+ );
73745
+ }
73746
+ f = message.getProof();
73747
+ if (f != null) {
73748
+ writer.writeMessage(
73749
+ 2,
73750
+ f,
73751
+ proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
73752
+ );
73753
+ }
73754
+ f = message.getMetadata();
73755
+ if (f != null) {
73756
+ writer.writeMessage(
73757
+ 3,
73758
+ f,
73759
+ proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
73760
+ );
73761
+ }
73762
+ };
73763
+
73764
+
73765
+ /**
73766
+ * optional AddressInfoEntry address_info_entry = 1;
73767
+ * @return {?proto.org.dash.platform.dapi.v0.AddressInfoEntry}
73768
+ */
73769
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.getAddressInfoEntry = function() {
73770
+ return /** @type{?proto.org.dash.platform.dapi.v0.AddressInfoEntry} */ (
73771
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.AddressInfoEntry, 1));
73772
+ };
73773
+
73774
+
73775
+ /**
73776
+ * @param {?proto.org.dash.platform.dapi.v0.AddressInfoEntry|undefined} value
73777
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} returns this
73778
+ */
73779
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.setAddressInfoEntry = function(value) {
73780
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.oneofGroups_[0], value);
73781
+ };
73782
+
73783
+
73784
+ /**
73785
+ * Clears the message field making it undefined.
73786
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} returns this
73787
+ */
73788
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.clearAddressInfoEntry = function() {
73789
+ return this.setAddressInfoEntry(undefined);
73790
+ };
73791
+
73792
+
73793
+ /**
73794
+ * Returns whether this field is set.
73795
+ * @return {boolean}
73796
+ */
73797
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.hasAddressInfoEntry = function() {
73798
+ return jspb.Message.getField(this, 1) != null;
73799
+ };
73800
+
73801
+
73802
+ /**
73803
+ * optional Proof proof = 2;
73804
+ * @return {?proto.org.dash.platform.dapi.v0.Proof}
73805
+ */
73806
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.getProof = function() {
73807
+ return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
73808
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
73809
+ };
73810
+
73811
+
73812
+ /**
73813
+ * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
73814
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} returns this
73815
+ */
73816
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.setProof = function(value) {
73817
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.oneofGroups_[0], value);
73818
+ };
73819
+
73820
+
73821
+ /**
73822
+ * Clears the message field making it undefined.
73823
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} returns this
73824
+ */
73825
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.clearProof = function() {
73826
+ return this.setProof(undefined);
73827
+ };
73828
+
73829
+
73830
+ /**
73831
+ * Returns whether this field is set.
73832
+ * @return {boolean}
73833
+ */
73834
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.hasProof = function() {
73835
+ return jspb.Message.getField(this, 2) != null;
73836
+ };
73837
+
73838
+
73839
+ /**
73840
+ * optional ResponseMetadata metadata = 3;
73841
+ * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
73842
+ */
73843
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.getMetadata = function() {
73844
+ return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
73845
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
73846
+ };
73847
+
73848
+
73849
+ /**
73850
+ * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
73851
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} returns this
73852
+ */
73853
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.setMetadata = function(value) {
73854
+ return jspb.Message.setWrapperField(this, 3, value);
73855
+ };
73856
+
73857
+
73858
+ /**
73859
+ * Clears the message field making it undefined.
73860
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} returns this
73861
+ */
73862
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.clearMetadata = function() {
73863
+ return this.setMetadata(undefined);
73864
+ };
73865
+
73866
+
73867
+ /**
73868
+ * Returns whether this field is set.
73869
+ * @return {boolean}
73870
+ */
73871
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.hasMetadata = function() {
73872
+ return jspb.Message.getField(this, 3) != null;
73873
+ };
73874
+
73875
+
73876
+ /**
73877
+ * optional GetAddressInfoResponseV0 v0 = 1;
73878
+ * @return {?proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0}
73879
+ */
73880
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.prototype.getV0 = function() {
73881
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} */ (
73882
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0, 1));
73883
+ };
73884
+
73885
+
73886
+ /**
73887
+ * @param {?proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0|undefined} value
73888
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse} returns this
73889
+ */
73890
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.prototype.setV0 = function(value) {
73891
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.oneofGroups_[0], value);
73892
+ };
73893
+
73894
+
73895
+ /**
73896
+ * Clears the message field making it undefined.
73897
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse} returns this
73898
+ */
73899
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.prototype.clearV0 = function() {
73900
+ return this.setV0(undefined);
73901
+ };
73902
+
73903
+
73904
+ /**
73905
+ * Returns whether this field is set.
73906
+ * @return {boolean}
73907
+ */
73908
+ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.prototype.hasV0 = function() {
73909
+ return jspb.Message.getField(this, 1) != null;
73910
+ };
73911
+
73912
+
73913
+
73914
+ /**
73915
+ * Oneof group definitions for this message. Each group defines the field
73916
+ * numbers belonging to that group. When of these fields' value is set, all
73917
+ * other fields in the group are cleared. During deserialization, if multiple
73918
+ * fields are encountered for a group, only the last value seen will be kept.
73919
+ * @private {!Array<!Array<number>>}
73920
+ * @const
73921
+ */
73922
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.oneofGroups_ = [[1]];
73923
+
73924
+ /**
73925
+ * @enum {number}
73926
+ */
73927
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.VersionCase = {
73928
+ VERSION_NOT_SET: 0,
73929
+ V0: 1
73930
+ };
73931
+
73932
+ /**
73933
+ * @return {proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.VersionCase}
73934
+ */
73935
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.prototype.getVersionCase = function() {
73936
+ return /** @type {proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.oneofGroups_[0]));
73937
+ };
73938
+
73939
+
73940
+
73941
+ if (jspb.Message.GENERATE_TO_OBJECT) {
73942
+ /**
73943
+ * Creates an object representation of this proto.
73944
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
73945
+ * Optional fields that are not set will be set to undefined.
73946
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
73947
+ * For the list of reserved names please see:
73948
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
73949
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
73950
+ * JSPB instance for transitional soy proto support:
73951
+ * http://goto/soy-param-migration
73952
+ * @return {!Object}
73953
+ */
73954
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.prototype.toObject = function(opt_includeInstance) {
73955
+ return proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.toObject(opt_includeInstance, this);
73956
+ };
73957
+
73958
+
73959
+ /**
73960
+ * Static version of the {@see toObject} method.
73961
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
73962
+ * the JSPB instance for transitional soy proto support:
73963
+ * http://goto/soy-param-migration
73964
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest} msg The msg instance to transform.
73965
+ * @return {!Object}
73966
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73967
+ */
73968
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.toObject = function(includeInstance, msg) {
73969
+ var f, obj = {
73970
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.toObject(includeInstance, f)
73971
+ };
73972
+
73973
+ if (includeInstance) {
73974
+ obj.$jspbMessageInstance = msg;
73975
+ }
73976
+ return obj;
73977
+ };
73978
+ }
73979
+
73980
+
73981
+ /**
73982
+ * Deserializes binary data (in protobuf wire format).
73983
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
73984
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest}
73985
+ */
73986
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.deserializeBinary = function(bytes) {
73987
+ var reader = new jspb.BinaryReader(bytes);
73988
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest;
73989
+ return proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.deserializeBinaryFromReader(msg, reader);
73990
+ };
73991
+
73992
+
73993
+ /**
73994
+ * Deserializes binary data (in protobuf wire format) from the
73995
+ * given reader into the given message object.
73996
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest} msg The message object to deserialize into.
73997
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
73998
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest}
73999
+ */
74000
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.deserializeBinaryFromReader = function(msg, reader) {
74001
+ while (reader.nextField()) {
74002
+ if (reader.isEndGroup()) {
74003
+ break;
74004
+ }
74005
+ var field = reader.getFieldNumber();
74006
+ switch (field) {
74007
+ case 1:
74008
+ var value = new proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0;
74009
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.deserializeBinaryFromReader);
74010
+ msg.setV0(value);
74011
+ break;
74012
+ default:
74013
+ reader.skipField();
74014
+ break;
74015
+ }
74016
+ }
74017
+ return msg;
74018
+ };
74019
+
74020
+
74021
+ /**
74022
+ * Serializes the message to binary data (in protobuf wire format).
74023
+ * @return {!Uint8Array}
74024
+ */
74025
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.prototype.serializeBinary = function() {
74026
+ var writer = new jspb.BinaryWriter();
74027
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.serializeBinaryToWriter(this, writer);
74028
+ return writer.getResultBuffer();
74029
+ };
74030
+
74031
+
74032
+ /**
74033
+ * Serializes the given message to binary data (in protobuf wire
74034
+ * format), writing to the given BinaryWriter.
74035
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest} message
74036
+ * @param {!jspb.BinaryWriter} writer
74037
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74038
+ */
74039
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.serializeBinaryToWriter = function(message, writer) {
74040
+ var f = undefined;
74041
+ f = message.getV0();
74042
+ if (f != null) {
74043
+ writer.writeMessage(
74044
+ 1,
74045
+ f,
74046
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.serializeBinaryToWriter
74047
+ );
74048
+ }
74049
+ };
74050
+
74051
+
74052
+
74053
+ /**
74054
+ * List of repeated fields within this message type.
74055
+ * @private {!Array<number>}
74056
+ * @const
74057
+ */
74058
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.repeatedFields_ = [1];
74059
+
74060
+
74061
+
74062
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74063
+ /**
74064
+ * Creates an object representation of this proto.
74065
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74066
+ * Optional fields that are not set will be set to undefined.
74067
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74068
+ * For the list of reserved names please see:
74069
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74070
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74071
+ * JSPB instance for transitional soy proto support:
74072
+ * http://goto/soy-param-migration
74073
+ * @return {!Object}
74074
+ */
74075
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.prototype.toObject = function(opt_includeInstance) {
74076
+ return proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.toObject(opt_includeInstance, this);
74077
+ };
74078
+
74079
+
74080
+ /**
74081
+ * Static version of the {@see toObject} method.
74082
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74083
+ * the JSPB instance for transitional soy proto support:
74084
+ * http://goto/soy-param-migration
74085
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0} msg The msg instance to transform.
74086
+ * @return {!Object}
74087
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74088
+ */
74089
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.toObject = function(includeInstance, msg) {
74090
+ var f, obj = {
74091
+ addressesList: msg.getAddressesList_asB64(),
74092
+ prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
74093
+ };
74094
+
74095
+ if (includeInstance) {
74096
+ obj.$jspbMessageInstance = msg;
74097
+ }
74098
+ return obj;
74099
+ };
74100
+ }
74101
+
74102
+
74103
+ /**
74104
+ * Deserializes binary data (in protobuf wire format).
74105
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74106
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0}
74107
+ */
74108
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.deserializeBinary = function(bytes) {
74109
+ var reader = new jspb.BinaryReader(bytes);
74110
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0;
74111
+ return proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.deserializeBinaryFromReader(msg, reader);
74112
+ };
74113
+
74114
+
74115
+ /**
74116
+ * Deserializes binary data (in protobuf wire format) from the
74117
+ * given reader into the given message object.
74118
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0} msg The message object to deserialize into.
74119
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74120
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0}
74121
+ */
74122
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.deserializeBinaryFromReader = function(msg, reader) {
74123
+ while (reader.nextField()) {
74124
+ if (reader.isEndGroup()) {
74125
+ break;
74126
+ }
74127
+ var field = reader.getFieldNumber();
74128
+ switch (field) {
74129
+ case 1:
74130
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
74131
+ msg.addAddresses(value);
74132
+ break;
74133
+ case 2:
74134
+ var value = /** @type {boolean} */ (reader.readBool());
74135
+ msg.setProve(value);
74136
+ break;
74137
+ default:
74138
+ reader.skipField();
74139
+ break;
74140
+ }
74141
+ }
74142
+ return msg;
74143
+ };
74144
+
74145
+
74146
+ /**
74147
+ * Serializes the message to binary data (in protobuf wire format).
74148
+ * @return {!Uint8Array}
74149
+ */
74150
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.prototype.serializeBinary = function() {
74151
+ var writer = new jspb.BinaryWriter();
74152
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.serializeBinaryToWriter(this, writer);
74153
+ return writer.getResultBuffer();
74154
+ };
74155
+
74156
+
74157
+ /**
74158
+ * Serializes the given message to binary data (in protobuf wire
74159
+ * format), writing to the given BinaryWriter.
74160
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0} message
74161
+ * @param {!jspb.BinaryWriter} writer
74162
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74163
+ */
74164
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.serializeBinaryToWriter = function(message, writer) {
74165
+ var f = undefined;
74166
+ f = message.getAddressesList_asU8();
74167
+ if (f.length > 0) {
74168
+ writer.writeRepeatedBytes(
74169
+ 1,
74170
+ f
74171
+ );
74172
+ }
74173
+ f = message.getProve();
74174
+ if (f) {
74175
+ writer.writeBool(
74176
+ 2,
74177
+ f
74178
+ );
74179
+ }
74180
+ };
74181
+
74182
+
74183
+ /**
74184
+ * repeated bytes addresses = 1;
74185
+ * @return {!Array<string>}
74186
+ */
74187
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.prototype.getAddressesList = function() {
74188
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
74189
+ };
74190
+
74191
+
74192
+ /**
74193
+ * repeated bytes addresses = 1;
74194
+ * This is a type-conversion wrapper around `getAddressesList()`
74195
+ * @return {!Array<string>}
74196
+ */
74197
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.prototype.getAddressesList_asB64 = function() {
74198
+ return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
74199
+ this.getAddressesList()));
74200
+ };
74201
+
74202
+
74203
+ /**
74204
+ * repeated bytes addresses = 1;
74205
+ * Note that Uint8Array is not supported on all browsers.
74206
+ * @see http://caniuse.com/Uint8Array
74207
+ * This is a type-conversion wrapper around `getAddressesList()`
74208
+ * @return {!Array<!Uint8Array>}
74209
+ */
74210
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.prototype.getAddressesList_asU8 = function() {
74211
+ return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
74212
+ this.getAddressesList()));
74213
+ };
74214
+
74215
+
74216
+ /**
74217
+ * @param {!(Array<!Uint8Array>|Array<string>)} value
74218
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0} returns this
74219
+ */
74220
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.prototype.setAddressesList = function(value) {
74221
+ return jspb.Message.setField(this, 1, value || []);
74222
+ };
74223
+
74224
+
74225
+ /**
74226
+ * @param {!(string|Uint8Array)} value
74227
+ * @param {number=} opt_index
74228
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0} returns this
74229
+ */
74230
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.prototype.addAddresses = function(value, opt_index) {
74231
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
74232
+ };
74233
+
74234
+
74235
+ /**
74236
+ * Clears the list making it empty but non-null.
74237
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0} returns this
74238
+ */
74239
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.prototype.clearAddressesList = function() {
74240
+ return this.setAddressesList([]);
74241
+ };
74242
+
74243
+
74244
+ /**
74245
+ * optional bool prove = 2;
74246
+ * @return {boolean}
74247
+ */
74248
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.prototype.getProve = function() {
74249
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
74250
+ };
74251
+
74252
+
74253
+ /**
74254
+ * @param {boolean} value
74255
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0} returns this
74256
+ */
74257
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0.prototype.setProve = function(value) {
74258
+ return jspb.Message.setProto3BooleanField(this, 2, value);
74259
+ };
74260
+
74261
+
74262
+ /**
74263
+ * optional GetAddressesInfosRequestV0 v0 = 1;
74264
+ * @return {?proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0}
74265
+ */
74266
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.prototype.getV0 = function() {
74267
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0} */ (
74268
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0, 1));
74269
+ };
74270
+
74271
+
74272
+ /**
74273
+ * @param {?proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0|undefined} value
74274
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest} returns this
74275
+ */
74276
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.prototype.setV0 = function(value) {
74277
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.oneofGroups_[0], value);
74278
+ };
74279
+
74280
+
74281
+ /**
74282
+ * Clears the message field making it undefined.
74283
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest} returns this
74284
+ */
74285
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.prototype.clearV0 = function() {
74286
+ return this.setV0(undefined);
74287
+ };
74288
+
74289
+
74290
+ /**
74291
+ * Returns whether this field is set.
74292
+ * @return {boolean}
74293
+ */
74294
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosRequest.prototype.hasV0 = function() {
74295
+ return jspb.Message.getField(this, 1) != null;
74296
+ };
74297
+
74298
+
74299
+
74300
+ /**
74301
+ * Oneof group definitions for this message. Each group defines the field
74302
+ * numbers belonging to that group. When of these fields' value is set, all
74303
+ * other fields in the group are cleared. During deserialization, if multiple
74304
+ * fields are encountered for a group, only the last value seen will be kept.
74305
+ * @private {!Array<!Array<number>>}
74306
+ * @const
74307
+ */
74308
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.oneofGroups_ = [[1]];
74309
+
74310
+ /**
74311
+ * @enum {number}
74312
+ */
74313
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.VersionCase = {
74314
+ VERSION_NOT_SET: 0,
74315
+ V0: 1
74316
+ };
74317
+
74318
+ /**
74319
+ * @return {proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.VersionCase}
74320
+ */
74321
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.prototype.getVersionCase = function() {
74322
+ return /** @type {proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.oneofGroups_[0]));
74323
+ };
74324
+
74325
+
74326
+
74327
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74328
+ /**
74329
+ * Creates an object representation of this proto.
74330
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74331
+ * Optional fields that are not set will be set to undefined.
74332
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74333
+ * For the list of reserved names please see:
74334
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74335
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74336
+ * JSPB instance for transitional soy proto support:
74337
+ * http://goto/soy-param-migration
74338
+ * @return {!Object}
74339
+ */
74340
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.prototype.toObject = function(opt_includeInstance) {
74341
+ return proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.toObject(opt_includeInstance, this);
74342
+ };
74343
+
74344
+
74345
+ /**
74346
+ * Static version of the {@see toObject} method.
74347
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74348
+ * the JSPB instance for transitional soy proto support:
74349
+ * http://goto/soy-param-migration
74350
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse} msg The msg instance to transform.
74351
+ * @return {!Object}
74352
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74353
+ */
74354
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.toObject = function(includeInstance, msg) {
74355
+ var f, obj = {
74356
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.toObject(includeInstance, f)
74357
+ };
74358
+
74359
+ if (includeInstance) {
74360
+ obj.$jspbMessageInstance = msg;
74361
+ }
74362
+ return obj;
74363
+ };
74364
+ }
74365
+
74366
+
74367
+ /**
74368
+ * Deserializes binary data (in protobuf wire format).
74369
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74370
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse}
74371
+ */
74372
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.deserializeBinary = function(bytes) {
74373
+ var reader = new jspb.BinaryReader(bytes);
74374
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse;
74375
+ return proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.deserializeBinaryFromReader(msg, reader);
74376
+ };
74377
+
74378
+
74379
+ /**
74380
+ * Deserializes binary data (in protobuf wire format) from the
74381
+ * given reader into the given message object.
74382
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse} msg The message object to deserialize into.
74383
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74384
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse}
74385
+ */
74386
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.deserializeBinaryFromReader = function(msg, reader) {
74387
+ while (reader.nextField()) {
74388
+ if (reader.isEndGroup()) {
74389
+ break;
74390
+ }
74391
+ var field = reader.getFieldNumber();
74392
+ switch (field) {
74393
+ case 1:
74394
+ var value = new proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0;
74395
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.deserializeBinaryFromReader);
74396
+ msg.setV0(value);
74397
+ break;
74398
+ default:
74399
+ reader.skipField();
74400
+ break;
74401
+ }
74402
+ }
74403
+ return msg;
74404
+ };
74405
+
74406
+
74407
+ /**
74408
+ * Serializes the message to binary data (in protobuf wire format).
74409
+ * @return {!Uint8Array}
74410
+ */
74411
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.prototype.serializeBinary = function() {
74412
+ var writer = new jspb.BinaryWriter();
74413
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.serializeBinaryToWriter(this, writer);
74414
+ return writer.getResultBuffer();
74415
+ };
74416
+
74417
+
74418
+ /**
74419
+ * Serializes the given message to binary data (in protobuf wire
74420
+ * format), writing to the given BinaryWriter.
74421
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse} message
74422
+ * @param {!jspb.BinaryWriter} writer
74423
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74424
+ */
74425
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.serializeBinaryToWriter = function(message, writer) {
74426
+ var f = undefined;
74427
+ f = message.getV0();
74428
+ if (f != null) {
74429
+ writer.writeMessage(
74430
+ 1,
74431
+ f,
74432
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.serializeBinaryToWriter
74433
+ );
74434
+ }
74435
+ };
74436
+
74437
+
74438
+
74439
+ /**
74440
+ * Oneof group definitions for this message. Each group defines the field
74441
+ * numbers belonging to that group. When of these fields' value is set, all
74442
+ * other fields in the group are cleared. During deserialization, if multiple
74443
+ * fields are encountered for a group, only the last value seen will be kept.
74444
+ * @private {!Array<!Array<number>>}
74445
+ * @const
74446
+ */
74447
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.oneofGroups_ = [[1,2]];
74448
+
74449
+ /**
74450
+ * @enum {number}
74451
+ */
74452
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.ResultCase = {
74453
+ RESULT_NOT_SET: 0,
74454
+ ADDRESS_INFO_ENTRIES: 1,
74455
+ PROOF: 2
74456
+ };
74457
+
74458
+ /**
74459
+ * @return {proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.ResultCase}
74460
+ */
74461
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.getResultCase = function() {
74462
+ return /** @type {proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.oneofGroups_[0]));
74463
+ };
74464
+
74465
+
74466
+
74467
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74468
+ /**
74469
+ * Creates an object representation of this proto.
74470
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74471
+ * Optional fields that are not set will be set to undefined.
74472
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74473
+ * For the list of reserved names please see:
74474
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74475
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74476
+ * JSPB instance for transitional soy proto support:
74477
+ * http://goto/soy-param-migration
74478
+ * @return {!Object}
74479
+ */
74480
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.toObject = function(opt_includeInstance) {
74481
+ return proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.toObject(opt_includeInstance, this);
74482
+ };
74483
+
74484
+
74485
+ /**
74486
+ * Static version of the {@see toObject} method.
74487
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74488
+ * the JSPB instance for transitional soy proto support:
74489
+ * http://goto/soy-param-migration
74490
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0} msg The msg instance to transform.
74491
+ * @return {!Object}
74492
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74493
+ */
74494
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.toObject = function(includeInstance, msg) {
74495
+ var f, obj = {
74496
+ addressInfoEntries: (f = msg.getAddressInfoEntries()) && proto.org.dash.platform.dapi.v0.AddressInfoEntries.toObject(includeInstance, f),
74497
+ proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
74498
+ metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
74499
+ };
74500
+
74501
+ if (includeInstance) {
74502
+ obj.$jspbMessageInstance = msg;
74503
+ }
74504
+ return obj;
74505
+ };
74506
+ }
74507
+
74508
+
74509
+ /**
74510
+ * Deserializes binary data (in protobuf wire format).
74511
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74512
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0}
74513
+ */
74514
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.deserializeBinary = function(bytes) {
74515
+ var reader = new jspb.BinaryReader(bytes);
74516
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0;
74517
+ return proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.deserializeBinaryFromReader(msg, reader);
74518
+ };
74519
+
74520
+
74521
+ /**
74522
+ * Deserializes binary data (in protobuf wire format) from the
74523
+ * given reader into the given message object.
74524
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0} msg The message object to deserialize into.
74525
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74526
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0}
74527
+ */
74528
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.deserializeBinaryFromReader = function(msg, reader) {
74529
+ while (reader.nextField()) {
74530
+ if (reader.isEndGroup()) {
74531
+ break;
74532
+ }
74533
+ var field = reader.getFieldNumber();
74534
+ switch (field) {
74535
+ case 1:
74536
+ var value = new proto.org.dash.platform.dapi.v0.AddressInfoEntries;
74537
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.AddressInfoEntries.deserializeBinaryFromReader);
74538
+ msg.setAddressInfoEntries(value);
74539
+ break;
74540
+ case 2:
74541
+ var value = new proto.org.dash.platform.dapi.v0.Proof;
74542
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
74543
+ msg.setProof(value);
74544
+ break;
74545
+ case 3:
74546
+ var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
74547
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
74548
+ msg.setMetadata(value);
74549
+ break;
74550
+ default:
74551
+ reader.skipField();
74552
+ break;
74553
+ }
74554
+ }
74555
+ return msg;
74556
+ };
74557
+
74558
+
74559
+ /**
74560
+ * Serializes the message to binary data (in protobuf wire format).
74561
+ * @return {!Uint8Array}
74562
+ */
74563
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.serializeBinary = function() {
74564
+ var writer = new jspb.BinaryWriter();
74565
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.serializeBinaryToWriter(this, writer);
74566
+ return writer.getResultBuffer();
74567
+ };
74568
+
74569
+
74570
+ /**
74571
+ * Serializes the given message to binary data (in protobuf wire
74572
+ * format), writing to the given BinaryWriter.
74573
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0} message
74574
+ * @param {!jspb.BinaryWriter} writer
74575
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74576
+ */
74577
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.serializeBinaryToWriter = function(message, writer) {
74578
+ var f = undefined;
74579
+ f = message.getAddressInfoEntries();
74580
+ if (f != null) {
74581
+ writer.writeMessage(
74582
+ 1,
74583
+ f,
74584
+ proto.org.dash.platform.dapi.v0.AddressInfoEntries.serializeBinaryToWriter
74585
+ );
74586
+ }
74587
+ f = message.getProof();
74588
+ if (f != null) {
74589
+ writer.writeMessage(
74590
+ 2,
74591
+ f,
74592
+ proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
74593
+ );
74594
+ }
74595
+ f = message.getMetadata();
74596
+ if (f != null) {
74597
+ writer.writeMessage(
74598
+ 3,
74599
+ f,
74600
+ proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
74601
+ );
74602
+ }
74603
+ };
74604
+
74605
+
74606
+ /**
74607
+ * optional AddressInfoEntries address_info_entries = 1;
74608
+ * @return {?proto.org.dash.platform.dapi.v0.AddressInfoEntries}
74609
+ */
74610
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.getAddressInfoEntries = function() {
74611
+ return /** @type{?proto.org.dash.platform.dapi.v0.AddressInfoEntries} */ (
74612
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.AddressInfoEntries, 1));
74613
+ };
74614
+
74615
+
74616
+ /**
74617
+ * @param {?proto.org.dash.platform.dapi.v0.AddressInfoEntries|undefined} value
74618
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0} returns this
74619
+ */
74620
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.setAddressInfoEntries = function(value) {
74621
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.oneofGroups_[0], value);
74622
+ };
74623
+
74624
+
74625
+ /**
74626
+ * Clears the message field making it undefined.
74627
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0} returns this
74628
+ */
74629
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.clearAddressInfoEntries = function() {
74630
+ return this.setAddressInfoEntries(undefined);
74631
+ };
74632
+
74633
+
74634
+ /**
74635
+ * Returns whether this field is set.
74636
+ * @return {boolean}
74637
+ */
74638
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.hasAddressInfoEntries = function() {
74639
+ return jspb.Message.getField(this, 1) != null;
74640
+ };
74641
+
74642
+
74643
+ /**
74644
+ * optional Proof proof = 2;
74645
+ * @return {?proto.org.dash.platform.dapi.v0.Proof}
74646
+ */
74647
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.getProof = function() {
74648
+ return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
74649
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
74650
+ };
74651
+
74652
+
74653
+ /**
74654
+ * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
74655
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0} returns this
74656
+ */
74657
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.setProof = function(value) {
74658
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.oneofGroups_[0], value);
74659
+ };
74660
+
74661
+
74662
+ /**
74663
+ * Clears the message field making it undefined.
74664
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0} returns this
74665
+ */
74666
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.clearProof = function() {
74667
+ return this.setProof(undefined);
74668
+ };
74669
+
74670
+
74671
+ /**
74672
+ * Returns whether this field is set.
74673
+ * @return {boolean}
74674
+ */
74675
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.hasProof = function() {
74676
+ return jspb.Message.getField(this, 2) != null;
74677
+ };
74678
+
74679
+
74680
+ /**
74681
+ * optional ResponseMetadata metadata = 3;
74682
+ * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
74683
+ */
74684
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.getMetadata = function() {
74685
+ return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
74686
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
74687
+ };
74688
+
74689
+
74690
+ /**
74691
+ * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
74692
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0} returns this
74693
+ */
74694
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.setMetadata = function(value) {
74695
+ return jspb.Message.setWrapperField(this, 3, value);
74696
+ };
74697
+
74698
+
74699
+ /**
74700
+ * Clears the message field making it undefined.
74701
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0} returns this
74702
+ */
74703
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.clearMetadata = function() {
74704
+ return this.setMetadata(undefined);
74705
+ };
74706
+
74707
+
74708
+ /**
74709
+ * Returns whether this field is set.
74710
+ * @return {boolean}
74711
+ */
74712
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0.prototype.hasMetadata = function() {
74713
+ return jspb.Message.getField(this, 3) != null;
74714
+ };
74715
+
74716
+
74717
+ /**
74718
+ * optional GetAddressesInfosResponseV0 v0 = 1;
74719
+ * @return {?proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0}
74720
+ */
74721
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.prototype.getV0 = function() {
74722
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0} */ (
74723
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0, 1));
74724
+ };
74725
+
74726
+
74727
+ /**
74728
+ * @param {?proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0|undefined} value
74729
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse} returns this
74730
+ */
74731
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.prototype.setV0 = function(value) {
74732
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.oneofGroups_[0], value);
74733
+ };
74734
+
74735
+
74736
+ /**
74737
+ * Clears the message field making it undefined.
74738
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse} returns this
74739
+ */
74740
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.prototype.clearV0 = function() {
74741
+ return this.setV0(undefined);
74742
+ };
74743
+
74744
+
74745
+ /**
74746
+ * Returns whether this field is set.
74747
+ * @return {boolean}
74748
+ */
74749
+ proto.org.dash.platform.dapi.v0.GetAddressesInfosResponse.prototype.hasV0 = function() {
74750
+ return jspb.Message.getField(this, 1) != null;
74751
+ };
74752
+
74753
+
74754
+
74755
+ /**
74756
+ * Oneof group definitions for this message. Each group defines the field
74757
+ * numbers belonging to that group. When of these fields' value is set, all
74758
+ * other fields in the group are cleared. During deserialization, if multiple
74759
+ * fields are encountered for a group, only the last value seen will be kept.
74760
+ * @private {!Array<!Array<number>>}
74761
+ * @const
74762
+ */
74763
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.oneofGroups_ = [[1]];
74764
+
74765
+ /**
74766
+ * @enum {number}
74767
+ */
74768
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.VersionCase = {
74769
+ VERSION_NOT_SET: 0,
74770
+ V0: 1
74771
+ };
74772
+
74773
+ /**
74774
+ * @return {proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.VersionCase}
74775
+ */
74776
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.prototype.getVersionCase = function() {
74777
+ return /** @type {proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.oneofGroups_[0]));
74778
+ };
74779
+
74780
+
74781
+
74782
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74783
+ /**
74784
+ * Creates an object representation of this proto.
74785
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74786
+ * Optional fields that are not set will be set to undefined.
74787
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74788
+ * For the list of reserved names please see:
74789
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74790
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74791
+ * JSPB instance for transitional soy proto support:
74792
+ * http://goto/soy-param-migration
74793
+ * @return {!Object}
74794
+ */
74795
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.prototype.toObject = function(opt_includeInstance) {
74796
+ return proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.toObject(opt_includeInstance, this);
74797
+ };
74798
+
74799
+
74800
+ /**
74801
+ * Static version of the {@see toObject} method.
74802
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74803
+ * the JSPB instance for transitional soy proto support:
74804
+ * http://goto/soy-param-migration
74805
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest} msg The msg instance to transform.
74806
+ * @return {!Object}
74807
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74808
+ */
74809
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.toObject = function(includeInstance, msg) {
74810
+ var f, obj = {
74811
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0.toObject(includeInstance, f)
74812
+ };
74813
+
74814
+ if (includeInstance) {
74815
+ obj.$jspbMessageInstance = msg;
74816
+ }
74817
+ return obj;
74818
+ };
74819
+ }
74820
+
74821
+
74822
+ /**
74823
+ * Deserializes binary data (in protobuf wire format).
74824
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74825
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest}
74826
+ */
74827
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.deserializeBinary = function(bytes) {
74828
+ var reader = new jspb.BinaryReader(bytes);
74829
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest;
74830
+ return proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.deserializeBinaryFromReader(msg, reader);
74831
+ };
74832
+
74833
+
74834
+ /**
74835
+ * Deserializes binary data (in protobuf wire format) from the
74836
+ * given reader into the given message object.
74837
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest} msg The message object to deserialize into.
74838
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74839
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest}
74840
+ */
74841
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.deserializeBinaryFromReader = function(msg, reader) {
74842
+ while (reader.nextField()) {
74843
+ if (reader.isEndGroup()) {
74844
+ break;
74845
+ }
74846
+ var field = reader.getFieldNumber();
74847
+ switch (field) {
74848
+ case 1:
74849
+ var value = new proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0;
74850
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0.deserializeBinaryFromReader);
74851
+ msg.setV0(value);
74852
+ break;
74853
+ default:
74854
+ reader.skipField();
74855
+ break;
74856
+ }
74857
+ }
74858
+ return msg;
74859
+ };
74860
+
74861
+
74862
+ /**
74863
+ * Serializes the message to binary data (in protobuf wire format).
74864
+ * @return {!Uint8Array}
74865
+ */
74866
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.prototype.serializeBinary = function() {
74867
+ var writer = new jspb.BinaryWriter();
74868
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.serializeBinaryToWriter(this, writer);
74869
+ return writer.getResultBuffer();
74870
+ };
74871
+
74872
+
74873
+ /**
74874
+ * Serializes the given message to binary data (in protobuf wire
74875
+ * format), writing to the given BinaryWriter.
74876
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest} message
74877
+ * @param {!jspb.BinaryWriter} writer
74878
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74879
+ */
74880
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.serializeBinaryToWriter = function(message, writer) {
74881
+ var f = undefined;
74882
+ f = message.getV0();
74883
+ if (f != null) {
74884
+ writer.writeMessage(
74885
+ 1,
74886
+ f,
74887
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0.serializeBinaryToWriter
74888
+ );
74889
+ }
74890
+ };
74891
+
74892
+
74893
+
74894
+
74895
+
74896
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74897
+ /**
74898
+ * Creates an object representation of this proto.
74899
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74900
+ * Optional fields that are not set will be set to undefined.
74901
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74902
+ * For the list of reserved names please see:
74903
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74904
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74905
+ * JSPB instance for transitional soy proto support:
74906
+ * http://goto/soy-param-migration
74907
+ * @return {!Object}
74908
+ */
74909
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0.prototype.toObject = function(opt_includeInstance) {
74910
+ return proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0.toObject(opt_includeInstance, this);
74911
+ };
74912
+
74913
+
74914
+ /**
74915
+ * Static version of the {@see toObject} method.
74916
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74917
+ * the JSPB instance for transitional soy proto support:
74918
+ * http://goto/soy-param-migration
74919
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0} msg The msg instance to transform.
74920
+ * @return {!Object}
74921
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74922
+ */
74923
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0.toObject = function(includeInstance, msg) {
74924
+ var f, obj = {
74925
+
74926
+ };
74927
+
74928
+ if (includeInstance) {
74929
+ obj.$jspbMessageInstance = msg;
74930
+ }
74931
+ return obj;
74932
+ };
74933
+ }
74934
+
74935
+
74936
+ /**
74937
+ * Deserializes binary data (in protobuf wire format).
74938
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74939
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0}
74940
+ */
74941
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0.deserializeBinary = function(bytes) {
74942
+ var reader = new jspb.BinaryReader(bytes);
74943
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0;
74944
+ return proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0.deserializeBinaryFromReader(msg, reader);
74945
+ };
74946
+
74947
+
74948
+ /**
74949
+ * Deserializes binary data (in protobuf wire format) from the
74950
+ * given reader into the given message object.
74951
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0} msg The message object to deserialize into.
74952
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74953
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0}
74954
+ */
74955
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0.deserializeBinaryFromReader = function(msg, reader) {
74956
+ while (reader.nextField()) {
74957
+ if (reader.isEndGroup()) {
74958
+ break;
74959
+ }
74960
+ var field = reader.getFieldNumber();
74961
+ switch (field) {
74962
+ default:
74963
+ reader.skipField();
74964
+ break;
74965
+ }
74966
+ }
74967
+ return msg;
74968
+ };
74969
+
74970
+
74971
+ /**
74972
+ * Serializes the message to binary data (in protobuf wire format).
74973
+ * @return {!Uint8Array}
74974
+ */
74975
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0.prototype.serializeBinary = function() {
74976
+ var writer = new jspb.BinaryWriter();
74977
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0.serializeBinaryToWriter(this, writer);
74978
+ return writer.getResultBuffer();
74979
+ };
74980
+
74981
+
74982
+ /**
74983
+ * Serializes the given message to binary data (in protobuf wire
74984
+ * format), writing to the given BinaryWriter.
74985
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0} message
74986
+ * @param {!jspb.BinaryWriter} writer
74987
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74988
+ */
74989
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0.serializeBinaryToWriter = function(message, writer) {
74990
+ var f = undefined;
74991
+ };
74992
+
74993
+
74994
+ /**
74995
+ * optional GetAddressesTrunkStateRequestV0 v0 = 1;
74996
+ * @return {?proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0}
74997
+ */
74998
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.prototype.getV0 = function() {
74999
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0} */ (
75000
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0, 1));
75001
+ };
75002
+
75003
+
75004
+ /**
75005
+ * @param {?proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0|undefined} value
75006
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest} returns this
75007
+ */
75008
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.prototype.setV0 = function(value) {
75009
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.oneofGroups_[0], value);
75010
+ };
75011
+
75012
+
75013
+ /**
75014
+ * Clears the message field making it undefined.
75015
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest} returns this
75016
+ */
75017
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.prototype.clearV0 = function() {
75018
+ return this.setV0(undefined);
75019
+ };
75020
+
75021
+
75022
+ /**
75023
+ * Returns whether this field is set.
75024
+ * @return {boolean}
75025
+ */
75026
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.prototype.hasV0 = function() {
75027
+ return jspb.Message.getField(this, 1) != null;
75028
+ };
75029
+
75030
+
75031
+
75032
+ /**
75033
+ * Oneof group definitions for this message. Each group defines the field
75034
+ * numbers belonging to that group. When of these fields' value is set, all
75035
+ * other fields in the group are cleared. During deserialization, if multiple
75036
+ * fields are encountered for a group, only the last value seen will be kept.
75037
+ * @private {!Array<!Array<number>>}
75038
+ * @const
75039
+ */
75040
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.oneofGroups_ = [[1]];
75041
+
75042
+ /**
75043
+ * @enum {number}
75044
+ */
75045
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.VersionCase = {
75046
+ VERSION_NOT_SET: 0,
75047
+ V0: 1
75048
+ };
75049
+
75050
+ /**
75051
+ * @return {proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.VersionCase}
75052
+ */
75053
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.prototype.getVersionCase = function() {
75054
+ return /** @type {proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.oneofGroups_[0]));
75055
+ };
75056
+
75057
+
75058
+
75059
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75060
+ /**
75061
+ * Creates an object representation of this proto.
75062
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75063
+ * Optional fields that are not set will be set to undefined.
75064
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75065
+ * For the list of reserved names please see:
75066
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75067
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75068
+ * JSPB instance for transitional soy proto support:
75069
+ * http://goto/soy-param-migration
75070
+ * @return {!Object}
75071
+ */
75072
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.prototype.toObject = function(opt_includeInstance) {
75073
+ return proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.toObject(opt_includeInstance, this);
75074
+ };
75075
+
75076
+
75077
+ /**
75078
+ * Static version of the {@see toObject} method.
75079
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75080
+ * the JSPB instance for transitional soy proto support:
75081
+ * http://goto/soy-param-migration
75082
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse} msg The msg instance to transform.
75083
+ * @return {!Object}
75084
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75085
+ */
75086
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.toObject = function(includeInstance, msg) {
75087
+ var f, obj = {
75088
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.toObject(includeInstance, f)
75089
+ };
75090
+
75091
+ if (includeInstance) {
75092
+ obj.$jspbMessageInstance = msg;
75093
+ }
75094
+ return obj;
75095
+ };
75096
+ }
75097
+
75098
+
75099
+ /**
75100
+ * Deserializes binary data (in protobuf wire format).
75101
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75102
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse}
75103
+ */
75104
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.deserializeBinary = function(bytes) {
75105
+ var reader = new jspb.BinaryReader(bytes);
75106
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse;
75107
+ return proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.deserializeBinaryFromReader(msg, reader);
75108
+ };
75109
+
75110
+
75111
+ /**
75112
+ * Deserializes binary data (in protobuf wire format) from the
75113
+ * given reader into the given message object.
75114
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse} msg The message object to deserialize into.
75115
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75116
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse}
75117
+ */
75118
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.deserializeBinaryFromReader = function(msg, reader) {
75119
+ while (reader.nextField()) {
75120
+ if (reader.isEndGroup()) {
75121
+ break;
75122
+ }
75123
+ var field = reader.getFieldNumber();
75124
+ switch (field) {
75125
+ case 1:
75126
+ var value = new proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0;
75127
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.deserializeBinaryFromReader);
75128
+ msg.setV0(value);
75129
+ break;
75130
+ default:
75131
+ reader.skipField();
75132
+ break;
75133
+ }
75134
+ }
75135
+ return msg;
75136
+ };
75137
+
75138
+
75139
+ /**
75140
+ * Serializes the message to binary data (in protobuf wire format).
75141
+ * @return {!Uint8Array}
75142
+ */
75143
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.prototype.serializeBinary = function() {
75144
+ var writer = new jspb.BinaryWriter();
75145
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.serializeBinaryToWriter(this, writer);
75146
+ return writer.getResultBuffer();
75147
+ };
75148
+
75149
+
75150
+ /**
75151
+ * Serializes the given message to binary data (in protobuf wire
75152
+ * format), writing to the given BinaryWriter.
75153
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse} message
75154
+ * @param {!jspb.BinaryWriter} writer
75155
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75156
+ */
75157
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.serializeBinaryToWriter = function(message, writer) {
75158
+ var f = undefined;
75159
+ f = message.getV0();
75160
+ if (f != null) {
75161
+ writer.writeMessage(
75162
+ 1,
75163
+ f,
75164
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.serializeBinaryToWriter
75165
+ );
75166
+ }
75167
+ };
75168
+
75169
+
75170
+
75171
+
75172
+
75173
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75174
+ /**
75175
+ * Creates an object representation of this proto.
75176
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75177
+ * Optional fields that are not set will be set to undefined.
75178
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75179
+ * For the list of reserved names please see:
75180
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75181
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75182
+ * JSPB instance for transitional soy proto support:
75183
+ * http://goto/soy-param-migration
75184
+ * @return {!Object}
75185
+ */
75186
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.prototype.toObject = function(opt_includeInstance) {
75187
+ return proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.toObject(opt_includeInstance, this);
75188
+ };
75189
+
75190
+
75191
+ /**
75192
+ * Static version of the {@see toObject} method.
75193
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75194
+ * the JSPB instance for transitional soy proto support:
75195
+ * http://goto/soy-param-migration
75196
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0} msg The msg instance to transform.
75197
+ * @return {!Object}
75198
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75199
+ */
75200
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.toObject = function(includeInstance, msg) {
75201
+ var f, obj = {
75202
+ proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
75203
+ metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
75204
+ };
75205
+
75206
+ if (includeInstance) {
75207
+ obj.$jspbMessageInstance = msg;
75208
+ }
75209
+ return obj;
75210
+ };
75211
+ }
75212
+
75213
+
75214
+ /**
75215
+ * Deserializes binary data (in protobuf wire format).
75216
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75217
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0}
75218
+ */
75219
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.deserializeBinary = function(bytes) {
75220
+ var reader = new jspb.BinaryReader(bytes);
75221
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0;
75222
+ return proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.deserializeBinaryFromReader(msg, reader);
75223
+ };
75224
+
75225
+
75226
+ /**
75227
+ * Deserializes binary data (in protobuf wire format) from the
75228
+ * given reader into the given message object.
75229
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0} msg The message object to deserialize into.
75230
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75231
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0}
75232
+ */
75233
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.deserializeBinaryFromReader = function(msg, reader) {
75234
+ while (reader.nextField()) {
75235
+ if (reader.isEndGroup()) {
75236
+ break;
75237
+ }
75238
+ var field = reader.getFieldNumber();
75239
+ switch (field) {
75240
+ case 2:
75241
+ var value = new proto.org.dash.platform.dapi.v0.Proof;
75242
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
75243
+ msg.setProof(value);
75244
+ break;
75245
+ case 3:
75246
+ var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
75247
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
75248
+ msg.setMetadata(value);
75249
+ break;
75250
+ default:
75251
+ reader.skipField();
75252
+ break;
75253
+ }
75254
+ }
75255
+ return msg;
75256
+ };
75257
+
75258
+
75259
+ /**
75260
+ * Serializes the message to binary data (in protobuf wire format).
75261
+ * @return {!Uint8Array}
75262
+ */
75263
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.prototype.serializeBinary = function() {
75264
+ var writer = new jspb.BinaryWriter();
75265
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.serializeBinaryToWriter(this, writer);
75266
+ return writer.getResultBuffer();
75267
+ };
75268
+
75269
+
75270
+ /**
75271
+ * Serializes the given message to binary data (in protobuf wire
75272
+ * format), writing to the given BinaryWriter.
75273
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0} message
75274
+ * @param {!jspb.BinaryWriter} writer
75275
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75276
+ */
75277
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.serializeBinaryToWriter = function(message, writer) {
75278
+ var f = undefined;
75279
+ f = message.getProof();
75280
+ if (f != null) {
75281
+ writer.writeMessage(
75282
+ 2,
75283
+ f,
75284
+ proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
75285
+ );
75286
+ }
75287
+ f = message.getMetadata();
75288
+ if (f != null) {
75289
+ writer.writeMessage(
75290
+ 3,
75291
+ f,
75292
+ proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
75293
+ );
75294
+ }
75295
+ };
75296
+
75297
+
75298
+ /**
75299
+ * optional Proof proof = 2;
75300
+ * @return {?proto.org.dash.platform.dapi.v0.Proof}
75301
+ */
75302
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.prototype.getProof = function() {
75303
+ return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
75304
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
75305
+ };
75306
+
75307
+
75308
+ /**
75309
+ * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
75310
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0} returns this
75311
+ */
75312
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.prototype.setProof = function(value) {
75313
+ return jspb.Message.setWrapperField(this, 2, value);
75314
+ };
75315
+
75316
+
75317
+ /**
75318
+ * Clears the message field making it undefined.
75319
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0} returns this
75320
+ */
75321
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.prototype.clearProof = function() {
75322
+ return this.setProof(undefined);
75323
+ };
75324
+
75325
+
75326
+ /**
75327
+ * Returns whether this field is set.
75328
+ * @return {boolean}
75329
+ */
75330
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.prototype.hasProof = function() {
75331
+ return jspb.Message.getField(this, 2) != null;
75332
+ };
75333
+
75334
+
75335
+ /**
75336
+ * optional ResponseMetadata metadata = 3;
75337
+ * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
75338
+ */
75339
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.prototype.getMetadata = function() {
75340
+ return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
75341
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
75342
+ };
75343
+
75344
+
75345
+ /**
75346
+ * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
75347
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0} returns this
75348
+ */
75349
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.prototype.setMetadata = function(value) {
75350
+ return jspb.Message.setWrapperField(this, 3, value);
75351
+ };
75352
+
75353
+
75354
+ /**
75355
+ * Clears the message field making it undefined.
75356
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0} returns this
75357
+ */
75358
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.prototype.clearMetadata = function() {
75359
+ return this.setMetadata(undefined);
75360
+ };
75361
+
75362
+
75363
+ /**
75364
+ * Returns whether this field is set.
75365
+ * @return {boolean}
75366
+ */
75367
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0.prototype.hasMetadata = function() {
75368
+ return jspb.Message.getField(this, 3) != null;
75369
+ };
75370
+
75371
+
75372
+ /**
75373
+ * optional GetAddressesTrunkStateResponseV0 v0 = 1;
75374
+ * @return {?proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0}
75375
+ */
75376
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.prototype.getV0 = function() {
75377
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0} */ (
75378
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0, 1));
75379
+ };
75380
+
75381
+
75382
+ /**
75383
+ * @param {?proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0|undefined} value
75384
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse} returns this
75385
+ */
75386
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.prototype.setV0 = function(value) {
75387
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.oneofGroups_[0], value);
75388
+ };
75389
+
75390
+
75391
+ /**
75392
+ * Clears the message field making it undefined.
75393
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse} returns this
75394
+ */
75395
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.prototype.clearV0 = function() {
75396
+ return this.setV0(undefined);
75397
+ };
75398
+
75399
+
75400
+ /**
75401
+ * Returns whether this field is set.
75402
+ * @return {boolean}
75403
+ */
75404
+ proto.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.prototype.hasV0 = function() {
75405
+ return jspb.Message.getField(this, 1) != null;
75406
+ };
75407
+
75408
+
75409
+
75410
+ /**
75411
+ * Oneof group definitions for this message. Each group defines the field
75412
+ * numbers belonging to that group. When of these fields' value is set, all
75413
+ * other fields in the group are cleared. During deserialization, if multiple
75414
+ * fields are encountered for a group, only the last value seen will be kept.
75415
+ * @private {!Array<!Array<number>>}
75416
+ * @const
75417
+ */
75418
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.oneofGroups_ = [[1]];
75419
+
75420
+ /**
75421
+ * @enum {number}
75422
+ */
75423
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.VersionCase = {
75424
+ VERSION_NOT_SET: 0,
75425
+ V0: 1
75426
+ };
75427
+
75428
+ /**
75429
+ * @return {proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.VersionCase}
75430
+ */
75431
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.prototype.getVersionCase = function() {
75432
+ return /** @type {proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.oneofGroups_[0]));
75433
+ };
75434
+
75435
+
75436
+
75437
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75438
+ /**
75439
+ * Creates an object representation of this proto.
75440
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75441
+ * Optional fields that are not set will be set to undefined.
75442
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75443
+ * For the list of reserved names please see:
75444
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75445
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75446
+ * JSPB instance for transitional soy proto support:
75447
+ * http://goto/soy-param-migration
75448
+ * @return {!Object}
75449
+ */
75450
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.prototype.toObject = function(opt_includeInstance) {
75451
+ return proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.toObject(opt_includeInstance, this);
75452
+ };
75453
+
75454
+
75455
+ /**
75456
+ * Static version of the {@see toObject} method.
75457
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75458
+ * the JSPB instance for transitional soy proto support:
75459
+ * http://goto/soy-param-migration
75460
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest} msg The msg instance to transform.
75461
+ * @return {!Object}
75462
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75463
+ */
75464
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.toObject = function(includeInstance, msg) {
75465
+ var f, obj = {
75466
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.toObject(includeInstance, f)
75467
+ };
75468
+
75469
+ if (includeInstance) {
75470
+ obj.$jspbMessageInstance = msg;
75471
+ }
75472
+ return obj;
75473
+ };
75474
+ }
75475
+
75476
+
75477
+ /**
75478
+ * Deserializes binary data (in protobuf wire format).
75479
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75480
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest}
75481
+ */
75482
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.deserializeBinary = function(bytes) {
75483
+ var reader = new jspb.BinaryReader(bytes);
75484
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest;
75485
+ return proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.deserializeBinaryFromReader(msg, reader);
75486
+ };
75487
+
75488
+
75489
+ /**
75490
+ * Deserializes binary data (in protobuf wire format) from the
75491
+ * given reader into the given message object.
75492
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest} msg The message object to deserialize into.
75493
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75494
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest}
75495
+ */
75496
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.deserializeBinaryFromReader = function(msg, reader) {
75497
+ while (reader.nextField()) {
75498
+ if (reader.isEndGroup()) {
75499
+ break;
75500
+ }
75501
+ var field = reader.getFieldNumber();
75502
+ switch (field) {
75503
+ case 1:
75504
+ var value = new proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0;
75505
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.deserializeBinaryFromReader);
75506
+ msg.setV0(value);
75507
+ break;
75508
+ default:
75509
+ reader.skipField();
75510
+ break;
75511
+ }
75512
+ }
75513
+ return msg;
75514
+ };
75515
+
75516
+
75517
+ /**
75518
+ * Serializes the message to binary data (in protobuf wire format).
75519
+ * @return {!Uint8Array}
75520
+ */
75521
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.prototype.serializeBinary = function() {
75522
+ var writer = new jspb.BinaryWriter();
75523
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.serializeBinaryToWriter(this, writer);
75524
+ return writer.getResultBuffer();
75525
+ };
75526
+
75527
+
75528
+ /**
75529
+ * Serializes the given message to binary data (in protobuf wire
75530
+ * format), writing to the given BinaryWriter.
75531
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest} message
75532
+ * @param {!jspb.BinaryWriter} writer
75533
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75534
+ */
75535
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.serializeBinaryToWriter = function(message, writer) {
75536
+ var f = undefined;
75537
+ f = message.getV0();
75538
+ if (f != null) {
75539
+ writer.writeMessage(
75540
+ 1,
75541
+ f,
75542
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.serializeBinaryToWriter
75543
+ );
75544
+ }
75545
+ };
75546
+
75547
+
75548
+
75549
+
75550
+
75551
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75552
+ /**
75553
+ * Creates an object representation of this proto.
75554
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75555
+ * Optional fields that are not set will be set to undefined.
75556
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75557
+ * For the list of reserved names please see:
75558
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75559
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75560
+ * JSPB instance for transitional soy proto support:
75561
+ * http://goto/soy-param-migration
75562
+ * @return {!Object}
75563
+ */
75564
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.prototype.toObject = function(opt_includeInstance) {
75565
+ return proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.toObject(opt_includeInstance, this);
75566
+ };
75567
+
75568
+
75569
+ /**
75570
+ * Static version of the {@see toObject} method.
75571
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75572
+ * the JSPB instance for transitional soy proto support:
75573
+ * http://goto/soy-param-migration
75574
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0} msg The msg instance to transform.
75575
+ * @return {!Object}
75576
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75577
+ */
75578
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.toObject = function(includeInstance, msg) {
75579
+ var f, obj = {
75580
+ key: msg.getKey_asB64(),
75581
+ depth: jspb.Message.getFieldWithDefault(msg, 2, 0)
75582
+ };
75583
+
75584
+ if (includeInstance) {
75585
+ obj.$jspbMessageInstance = msg;
75586
+ }
75587
+ return obj;
75588
+ };
75589
+ }
75590
+
75591
+
75592
+ /**
75593
+ * Deserializes binary data (in protobuf wire format).
75594
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75595
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0}
75596
+ */
75597
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.deserializeBinary = function(bytes) {
75598
+ var reader = new jspb.BinaryReader(bytes);
75599
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0;
75600
+ return proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.deserializeBinaryFromReader(msg, reader);
75601
+ };
75602
+
75603
+
75604
+ /**
75605
+ * Deserializes binary data (in protobuf wire format) from the
75606
+ * given reader into the given message object.
75607
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0} msg The message object to deserialize into.
75608
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75609
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0}
75610
+ */
75611
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.deserializeBinaryFromReader = function(msg, reader) {
75612
+ while (reader.nextField()) {
75613
+ if (reader.isEndGroup()) {
75614
+ break;
75615
+ }
75616
+ var field = reader.getFieldNumber();
75617
+ switch (field) {
75618
+ case 1:
75619
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
75620
+ msg.setKey(value);
75621
+ break;
75622
+ case 2:
75623
+ var value = /** @type {number} */ (reader.readUint32());
75624
+ msg.setDepth(value);
75625
+ break;
75626
+ default:
75627
+ reader.skipField();
75628
+ break;
75629
+ }
75630
+ }
75631
+ return msg;
75632
+ };
75633
+
75634
+
75635
+ /**
75636
+ * Serializes the message to binary data (in protobuf wire format).
75637
+ * @return {!Uint8Array}
75638
+ */
75639
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.prototype.serializeBinary = function() {
75640
+ var writer = new jspb.BinaryWriter();
75641
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.serializeBinaryToWriter(this, writer);
75642
+ return writer.getResultBuffer();
75643
+ };
75644
+
75645
+
75646
+ /**
75647
+ * Serializes the given message to binary data (in protobuf wire
75648
+ * format), writing to the given BinaryWriter.
75649
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0} message
75650
+ * @param {!jspb.BinaryWriter} writer
75651
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75652
+ */
75653
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.serializeBinaryToWriter = function(message, writer) {
75654
+ var f = undefined;
75655
+ f = message.getKey_asU8();
75656
+ if (f.length > 0) {
75657
+ writer.writeBytes(
75658
+ 1,
75659
+ f
75660
+ );
75661
+ }
75662
+ f = message.getDepth();
75663
+ if (f !== 0) {
75664
+ writer.writeUint32(
75665
+ 2,
75666
+ f
75667
+ );
75668
+ }
75669
+ };
75670
+
75671
+
75672
+ /**
75673
+ * optional bytes key = 1;
75674
+ * @return {string}
75675
+ */
75676
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.prototype.getKey = function() {
75677
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
75678
+ };
75679
+
75680
+
75681
+ /**
75682
+ * optional bytes key = 1;
75683
+ * This is a type-conversion wrapper around `getKey()`
75684
+ * @return {string}
75685
+ */
75686
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.prototype.getKey_asB64 = function() {
75687
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
75688
+ this.getKey()));
75689
+ };
75690
+
75691
+
75692
+ /**
75693
+ * optional bytes key = 1;
75694
+ * Note that Uint8Array is not supported on all browsers.
75695
+ * @see http://caniuse.com/Uint8Array
75696
+ * This is a type-conversion wrapper around `getKey()`
75697
+ * @return {!Uint8Array}
75698
+ */
75699
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.prototype.getKey_asU8 = function() {
75700
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
75701
+ this.getKey()));
75702
+ };
75703
+
75704
+
75705
+ /**
75706
+ * @param {!(string|Uint8Array)} value
75707
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0} returns this
75708
+ */
75709
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.prototype.setKey = function(value) {
75710
+ return jspb.Message.setProto3BytesField(this, 1, value);
75711
+ };
75712
+
75713
+
75714
+ /**
75715
+ * optional uint32 depth = 2;
75716
+ * @return {number}
75717
+ */
75718
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.prototype.getDepth = function() {
75719
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
75720
+ };
75721
+
75722
+
75723
+ /**
75724
+ * @param {number} value
75725
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0} returns this
75726
+ */
75727
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.prototype.setDepth = function(value) {
75728
+ return jspb.Message.setProto3IntField(this, 2, value);
75729
+ };
75730
+
75731
+
75732
+ /**
75733
+ * optional GetAddressesBranchStateRequestV0 v0 = 1;
75734
+ * @return {?proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0}
75735
+ */
75736
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.prototype.getV0 = function() {
75737
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0} */ (
75738
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0, 1));
75739
+ };
75740
+
75741
+
75742
+ /**
75743
+ * @param {?proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0|undefined} value
75744
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest} returns this
75745
+ */
75746
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.prototype.setV0 = function(value) {
75747
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.oneofGroups_[0], value);
75748
+ };
75749
+
75750
+
75751
+ /**
75752
+ * Clears the message field making it undefined.
75753
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest} returns this
75754
+ */
75755
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.prototype.clearV0 = function() {
75756
+ return this.setV0(undefined);
75757
+ };
75758
+
75759
+
75760
+ /**
75761
+ * Returns whether this field is set.
75762
+ * @return {boolean}
75763
+ */
75764
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.prototype.hasV0 = function() {
75765
+ return jspb.Message.getField(this, 1) != null;
75766
+ };
75767
+
75768
+
75769
+
75770
+ /**
75771
+ * Oneof group definitions for this message. Each group defines the field
75772
+ * numbers belonging to that group. When of these fields' value is set, all
75773
+ * other fields in the group are cleared. During deserialization, if multiple
75774
+ * fields are encountered for a group, only the last value seen will be kept.
75775
+ * @private {!Array<!Array<number>>}
75776
+ * @const
75777
+ */
75778
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.oneofGroups_ = [[1]];
75779
+
75780
+ /**
75781
+ * @enum {number}
75782
+ */
75783
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.VersionCase = {
75784
+ VERSION_NOT_SET: 0,
75785
+ V0: 1
75786
+ };
75787
+
75788
+ /**
75789
+ * @return {proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.VersionCase}
75790
+ */
75791
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.prototype.getVersionCase = function() {
75792
+ return /** @type {proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.oneofGroups_[0]));
75793
+ };
75794
+
75795
+
75796
+
75797
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75798
+ /**
75799
+ * Creates an object representation of this proto.
75800
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75801
+ * Optional fields that are not set will be set to undefined.
75802
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75803
+ * For the list of reserved names please see:
75804
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75805
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75806
+ * JSPB instance for transitional soy proto support:
75807
+ * http://goto/soy-param-migration
75808
+ * @return {!Object}
75809
+ */
75810
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.prototype.toObject = function(opt_includeInstance) {
75811
+ return proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.toObject(opt_includeInstance, this);
75812
+ };
75813
+
75814
+
75815
+ /**
75816
+ * Static version of the {@see toObject} method.
75817
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75818
+ * the JSPB instance for transitional soy proto support:
75819
+ * http://goto/soy-param-migration
75820
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse} msg The msg instance to transform.
75821
+ * @return {!Object}
75822
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75823
+ */
75824
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.toObject = function(includeInstance, msg) {
75825
+ var f, obj = {
75826
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.toObject(includeInstance, f)
75827
+ };
75828
+
75829
+ if (includeInstance) {
75830
+ obj.$jspbMessageInstance = msg;
75831
+ }
75832
+ return obj;
75833
+ };
75834
+ }
75835
+
75836
+
75837
+ /**
75838
+ * Deserializes binary data (in protobuf wire format).
75839
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75840
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse}
75841
+ */
75842
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.deserializeBinary = function(bytes) {
75843
+ var reader = new jspb.BinaryReader(bytes);
75844
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse;
75845
+ return proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.deserializeBinaryFromReader(msg, reader);
75846
+ };
75847
+
75848
+
75849
+ /**
75850
+ * Deserializes binary data (in protobuf wire format) from the
75851
+ * given reader into the given message object.
75852
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse} msg The message object to deserialize into.
75853
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75854
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse}
75855
+ */
75856
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.deserializeBinaryFromReader = function(msg, reader) {
75857
+ while (reader.nextField()) {
75858
+ if (reader.isEndGroup()) {
75859
+ break;
75860
+ }
75861
+ var field = reader.getFieldNumber();
75862
+ switch (field) {
75863
+ case 1:
75864
+ var value = new proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0;
75865
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.deserializeBinaryFromReader);
75866
+ msg.setV0(value);
75867
+ break;
75868
+ default:
75869
+ reader.skipField();
75870
+ break;
75871
+ }
75872
+ }
75873
+ return msg;
75874
+ };
75875
+
75876
+
75877
+ /**
75878
+ * Serializes the message to binary data (in protobuf wire format).
75879
+ * @return {!Uint8Array}
75880
+ */
75881
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.prototype.serializeBinary = function() {
75882
+ var writer = new jspb.BinaryWriter();
75883
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.serializeBinaryToWriter(this, writer);
75884
+ return writer.getResultBuffer();
75885
+ };
75886
+
75887
+
75888
+ /**
75889
+ * Serializes the given message to binary data (in protobuf wire
75890
+ * format), writing to the given BinaryWriter.
75891
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse} message
75892
+ * @param {!jspb.BinaryWriter} writer
75893
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75894
+ */
75895
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.serializeBinaryToWriter = function(message, writer) {
75896
+ var f = undefined;
75897
+ f = message.getV0();
75898
+ if (f != null) {
75899
+ writer.writeMessage(
75900
+ 1,
75901
+ f,
75902
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.serializeBinaryToWriter
75903
+ );
75904
+ }
75905
+ };
75906
+
75907
+
75908
+
75909
+
75910
+
75911
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75912
+ /**
75913
+ * Creates an object representation of this proto.
75914
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75915
+ * Optional fields that are not set will be set to undefined.
75916
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75917
+ * For the list of reserved names please see:
75918
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75919
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75920
+ * JSPB instance for transitional soy proto support:
75921
+ * http://goto/soy-param-migration
75922
+ * @return {!Object}
75923
+ */
75924
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.prototype.toObject = function(opt_includeInstance) {
75925
+ return proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.toObject(opt_includeInstance, this);
75926
+ };
75927
+
75928
+
75929
+ /**
75930
+ * Static version of the {@see toObject} method.
75931
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75932
+ * the JSPB instance for transitional soy proto support:
75933
+ * http://goto/soy-param-migration
75934
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0} msg The msg instance to transform.
75935
+ * @return {!Object}
75936
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75937
+ */
75938
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.toObject = function(includeInstance, msg) {
75939
+ var f, obj = {
75940
+ merkProof: msg.getMerkProof_asB64()
75941
+ };
75942
+
75943
+ if (includeInstance) {
75944
+ obj.$jspbMessageInstance = msg;
75945
+ }
75946
+ return obj;
75947
+ };
75948
+ }
75949
+
75950
+
75951
+ /**
75952
+ * Deserializes binary data (in protobuf wire format).
75953
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75954
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0}
75955
+ */
75956
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.deserializeBinary = function(bytes) {
75957
+ var reader = new jspb.BinaryReader(bytes);
75958
+ var msg = new proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0;
75959
+ return proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.deserializeBinaryFromReader(msg, reader);
75960
+ };
75961
+
75962
+
75963
+ /**
75964
+ * Deserializes binary data (in protobuf wire format) from the
75965
+ * given reader into the given message object.
75966
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0} msg The message object to deserialize into.
75967
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75968
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0}
75969
+ */
75970
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.deserializeBinaryFromReader = function(msg, reader) {
75971
+ while (reader.nextField()) {
75972
+ if (reader.isEndGroup()) {
75973
+ break;
75974
+ }
75975
+ var field = reader.getFieldNumber();
75976
+ switch (field) {
75977
+ case 2:
75978
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
75979
+ msg.setMerkProof(value);
75980
+ break;
75981
+ default:
75982
+ reader.skipField();
75983
+ break;
75984
+ }
75985
+ }
75986
+ return msg;
75987
+ };
75988
+
75989
+
75990
+ /**
75991
+ * Serializes the message to binary data (in protobuf wire format).
75992
+ * @return {!Uint8Array}
75993
+ */
75994
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.prototype.serializeBinary = function() {
75995
+ var writer = new jspb.BinaryWriter();
75996
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.serializeBinaryToWriter(this, writer);
75997
+ return writer.getResultBuffer();
75998
+ };
75999
+
76000
+
76001
+ /**
76002
+ * Serializes the given message to binary data (in protobuf wire
76003
+ * format), writing to the given BinaryWriter.
76004
+ * @param {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0} message
76005
+ * @param {!jspb.BinaryWriter} writer
76006
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76007
+ */
76008
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.serializeBinaryToWriter = function(message, writer) {
76009
+ var f = undefined;
76010
+ f = message.getMerkProof_asU8();
76011
+ if (f.length > 0) {
76012
+ writer.writeBytes(
76013
+ 2,
76014
+ f
76015
+ );
76016
+ }
76017
+ };
76018
+
76019
+
76020
+ /**
76021
+ * optional bytes merk_proof = 2;
76022
+ * @return {string}
76023
+ */
76024
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.prototype.getMerkProof = function() {
76025
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
76026
+ };
76027
+
76028
+
76029
+ /**
76030
+ * optional bytes merk_proof = 2;
76031
+ * This is a type-conversion wrapper around `getMerkProof()`
76032
+ * @return {string}
76033
+ */
76034
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.prototype.getMerkProof_asB64 = function() {
76035
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
76036
+ this.getMerkProof()));
76037
+ };
76038
+
76039
+
76040
+ /**
76041
+ * optional bytes merk_proof = 2;
76042
+ * Note that Uint8Array is not supported on all browsers.
76043
+ * @see http://caniuse.com/Uint8Array
76044
+ * This is a type-conversion wrapper around `getMerkProof()`
76045
+ * @return {!Uint8Array}
76046
+ */
76047
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.prototype.getMerkProof_asU8 = function() {
76048
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
76049
+ this.getMerkProof()));
76050
+ };
76051
+
76052
+
76053
+ /**
76054
+ * @param {!(string|Uint8Array)} value
76055
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0} returns this
76056
+ */
76057
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.prototype.setMerkProof = function(value) {
76058
+ return jspb.Message.setProto3BytesField(this, 2, value);
76059
+ };
76060
+
76061
+
76062
+ /**
76063
+ * optional GetAddressesBranchStateResponseV0 v0 = 1;
76064
+ * @return {?proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0}
76065
+ */
76066
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.prototype.getV0 = function() {
76067
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0} */ (
76068
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0, 1));
76069
+ };
76070
+
76071
+
76072
+ /**
76073
+ * @param {?proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0|undefined} value
76074
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse} returns this
76075
+ */
76076
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.prototype.setV0 = function(value) {
76077
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.oneofGroups_[0], value);
76078
+ };
76079
+
76080
+
76081
+ /**
76082
+ * Clears the message field making it undefined.
76083
+ * @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse} returns this
76084
+ */
76085
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.prototype.clearV0 = function() {
76086
+ return this.setV0(undefined);
76087
+ };
76088
+
76089
+
76090
+ /**
76091
+ * Returns whether this field is set.
76092
+ * @return {boolean}
76093
+ */
76094
+ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.prototype.hasV0 = function() {
76095
+ return jspb.Message.getField(this, 1) != null;
76096
+ };
76097
+
76098
+
72145
76099
  /**
72146
76100
  * @enum {number}
72147
76101
  */