@fintekkers/ledger-models 0.4.16 → 0.4.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node/fintekkers/requests/util/errors/error_pb.d.ts +6 -0
- package/node/fintekkers/requests/util/errors/error_pb.js +64 -2
- package/node/fintekkers/requests/util/errors/field_violation_grpc_pb.js +1 -0
- package/node/fintekkers/requests/util/errors/field_violation_pb.d.ts +37 -0
- package/node/fintekkers/requests/util/errors/field_violation_pb.js +259 -0
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import * as jspb from "google-protobuf";
|
|
8
8
|
import * as fintekkers_requests_util_errors_message_pb from "../../../../fintekkers/requests/util/errors/message_pb";
|
|
9
|
+
import * as fintekkers_requests_util_errors_field_violation_pb from "../../../../fintekkers/requests/util/errors/field_violation_pb";
|
|
9
10
|
|
|
10
11
|
export class ErrorProto extends jspb.Message {
|
|
11
12
|
getCode(): ErrorCode;
|
|
@@ -15,6 +16,10 @@ export class ErrorProto extends jspb.Message {
|
|
|
15
16
|
clearDetail(): void;
|
|
16
17
|
getDetail(): fintekkers_requests_util_errors_message_pb.Message | undefined;
|
|
17
18
|
setDetail(value?: fintekkers_requests_util_errors_message_pb.Message): ErrorProto;
|
|
19
|
+
clearViolationsList(): void;
|
|
20
|
+
getViolationsList(): Array<fintekkers_requests_util_errors_field_violation_pb.FieldViolationProto>;
|
|
21
|
+
setViolationsList(value: Array<fintekkers_requests_util_errors_field_violation_pb.FieldViolationProto>): ErrorProto;
|
|
22
|
+
addViolations(value?: fintekkers_requests_util_errors_field_violation_pb.FieldViolationProto, index?: number): fintekkers_requests_util_errors_field_violation_pb.FieldViolationProto;
|
|
18
23
|
|
|
19
24
|
serializeBinary(): Uint8Array;
|
|
20
25
|
toObject(includeInstance?: boolean): ErrorProto.AsObject;
|
|
@@ -30,6 +35,7 @@ export namespace ErrorProto {
|
|
|
30
35
|
export type AsObject = {
|
|
31
36
|
code: ErrorCode,
|
|
32
37
|
detail?: fintekkers_requests_util_errors_message_pb.Message.AsObject,
|
|
38
|
+
violationsList: Array<fintekkers_requests_util_errors_field_violation_pb.FieldViolationProto.AsObject>,
|
|
33
39
|
}
|
|
34
40
|
}
|
|
35
41
|
|
|
@@ -23,6 +23,8 @@ var global = (function() {
|
|
|
23
23
|
|
|
24
24
|
var fintekkers_requests_util_errors_message_pb = require('../../../../fintekkers/requests/util/errors/message_pb.js');
|
|
25
25
|
goog.object.extend(proto, fintekkers_requests_util_errors_message_pb);
|
|
26
|
+
var fintekkers_requests_util_errors_field_violation_pb = require('../../../../fintekkers/requests/util/errors/field_violation_pb.js');
|
|
27
|
+
goog.object.extend(proto, fintekkers_requests_util_errors_field_violation_pb);
|
|
26
28
|
goog.exportSymbol('proto.fintekkers.requests.util.errors.ErrorCode', null, global);
|
|
27
29
|
goog.exportSymbol('proto.fintekkers.requests.util.errors.ErrorProto', null, global);
|
|
28
30
|
goog.exportSymbol('proto.fintekkers.requests.util.errors.WarningProto', null, global);
|
|
@@ -37,7 +39,7 @@ goog.exportSymbol('proto.fintekkers.requests.util.errors.WarningProto', null, gl
|
|
|
37
39
|
* @constructor
|
|
38
40
|
*/
|
|
39
41
|
proto.fintekkers.requests.util.errors.ErrorProto = function(opt_data) {
|
|
40
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
42
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.fintekkers.requests.util.errors.ErrorProto.repeatedFields_, null);
|
|
41
43
|
};
|
|
42
44
|
goog.inherits(proto.fintekkers.requests.util.errors.ErrorProto, jspb.Message);
|
|
43
45
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -69,6 +71,13 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
69
71
|
proto.fintekkers.requests.util.errors.WarningProto.displayName = 'proto.fintekkers.requests.util.errors.WarningProto';
|
|
70
72
|
}
|
|
71
73
|
|
|
74
|
+
/**
|
|
75
|
+
* List of repeated fields within this message type.
|
|
76
|
+
* @private {!Array<number>}
|
|
77
|
+
* @const
|
|
78
|
+
*/
|
|
79
|
+
proto.fintekkers.requests.util.errors.ErrorProto.repeatedFields_ = [3];
|
|
80
|
+
|
|
72
81
|
|
|
73
82
|
|
|
74
83
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -101,7 +110,9 @@ proto.fintekkers.requests.util.errors.ErrorProto.prototype.toObject = function(o
|
|
|
101
110
|
proto.fintekkers.requests.util.errors.ErrorProto.toObject = function(includeInstance, msg) {
|
|
102
111
|
var f, obj = {
|
|
103
112
|
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
104
|
-
detail: (f = msg.getDetail()) && fintekkers_requests_util_errors_message_pb.Message.toObject(includeInstance, f)
|
|
113
|
+
detail: (f = msg.getDetail()) && fintekkers_requests_util_errors_message_pb.Message.toObject(includeInstance, f),
|
|
114
|
+
violationsList: jspb.Message.toObjectList(msg.getViolationsList(),
|
|
115
|
+
fintekkers_requests_util_errors_field_violation_pb.FieldViolationProto.toObject, includeInstance)
|
|
105
116
|
};
|
|
106
117
|
|
|
107
118
|
if (includeInstance) {
|
|
@@ -147,6 +158,11 @@ proto.fintekkers.requests.util.errors.ErrorProto.deserializeBinaryFromReader = f
|
|
|
147
158
|
reader.readMessage(value,fintekkers_requests_util_errors_message_pb.Message.deserializeBinaryFromReader);
|
|
148
159
|
msg.setDetail(value);
|
|
149
160
|
break;
|
|
161
|
+
case 3:
|
|
162
|
+
var value = new fintekkers_requests_util_errors_field_violation_pb.FieldViolationProto;
|
|
163
|
+
reader.readMessage(value,fintekkers_requests_util_errors_field_violation_pb.FieldViolationProto.deserializeBinaryFromReader);
|
|
164
|
+
msg.addViolations(value);
|
|
165
|
+
break;
|
|
150
166
|
default:
|
|
151
167
|
reader.skipField();
|
|
152
168
|
break;
|
|
@@ -191,6 +207,14 @@ proto.fintekkers.requests.util.errors.ErrorProto.serializeBinaryToWriter = funct
|
|
|
191
207
|
fintekkers_requests_util_errors_message_pb.Message.serializeBinaryToWriter
|
|
192
208
|
);
|
|
193
209
|
}
|
|
210
|
+
f = message.getViolationsList();
|
|
211
|
+
if (f.length > 0) {
|
|
212
|
+
writer.writeRepeatedMessage(
|
|
213
|
+
3,
|
|
214
|
+
f,
|
|
215
|
+
fintekkers_requests_util_errors_field_violation_pb.FieldViolationProto.serializeBinaryToWriter
|
|
216
|
+
);
|
|
217
|
+
}
|
|
194
218
|
};
|
|
195
219
|
|
|
196
220
|
|
|
@@ -249,6 +273,44 @@ proto.fintekkers.requests.util.errors.ErrorProto.prototype.hasDetail = function(
|
|
|
249
273
|
};
|
|
250
274
|
|
|
251
275
|
|
|
276
|
+
/**
|
|
277
|
+
* repeated FieldViolationProto violations = 3;
|
|
278
|
+
* @return {!Array<!proto.fintekkers.requests.util.errors.FieldViolationProto>}
|
|
279
|
+
*/
|
|
280
|
+
proto.fintekkers.requests.util.errors.ErrorProto.prototype.getViolationsList = function() {
|
|
281
|
+
return /** @type{!Array<!proto.fintekkers.requests.util.errors.FieldViolationProto>} */ (
|
|
282
|
+
jspb.Message.getRepeatedWrapperField(this, fintekkers_requests_util_errors_field_violation_pb.FieldViolationProto, 3));
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @param {!Array<!proto.fintekkers.requests.util.errors.FieldViolationProto>} value
|
|
288
|
+
* @return {!proto.fintekkers.requests.util.errors.ErrorProto} returns this
|
|
289
|
+
*/
|
|
290
|
+
proto.fintekkers.requests.util.errors.ErrorProto.prototype.setViolationsList = function(value) {
|
|
291
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* @param {!proto.fintekkers.requests.util.errors.FieldViolationProto=} opt_value
|
|
297
|
+
* @param {number=} opt_index
|
|
298
|
+
* @return {!proto.fintekkers.requests.util.errors.FieldViolationProto}
|
|
299
|
+
*/
|
|
300
|
+
proto.fintekkers.requests.util.errors.ErrorProto.prototype.addViolations = function(opt_value, opt_index) {
|
|
301
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.fintekkers.requests.util.errors.FieldViolationProto, opt_index);
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Clears the list making it empty but non-null.
|
|
307
|
+
* @return {!proto.fintekkers.requests.util.errors.ErrorProto} returns this
|
|
308
|
+
*/
|
|
309
|
+
proto.fintekkers.requests.util.errors.ErrorProto.prototype.clearViolationsList = function() {
|
|
310
|
+
return this.setViolationsList([]);
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
|
|
252
314
|
|
|
253
315
|
|
|
254
316
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// package: fintekkers.requests.util.errors
|
|
2
|
+
// file: fintekkers/requests/util/errors/field_violation.proto
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import * as jspb from "google-protobuf";
|
|
8
|
+
import * as fintekkers_models_util_uuid_pb from "../../../../fintekkers/models/util/uuid_pb";
|
|
9
|
+
|
|
10
|
+
export class FieldViolationProto extends jspb.Message {
|
|
11
|
+
getField(): string;
|
|
12
|
+
setField(value: string): FieldViolationProto;
|
|
13
|
+
|
|
14
|
+
hasObjectId(): boolean;
|
|
15
|
+
clearObjectId(): void;
|
|
16
|
+
getObjectId(): fintekkers_models_util_uuid_pb.UUIDProto | undefined;
|
|
17
|
+
setObjectId(value?: fintekkers_models_util_uuid_pb.UUIDProto): FieldViolationProto;
|
|
18
|
+
getMessage(): string;
|
|
19
|
+
setMessage(value: string): FieldViolationProto;
|
|
20
|
+
|
|
21
|
+
serializeBinary(): Uint8Array;
|
|
22
|
+
toObject(includeInstance?: boolean): FieldViolationProto.AsObject;
|
|
23
|
+
static toObject(includeInstance: boolean, msg: FieldViolationProto): FieldViolationProto.AsObject;
|
|
24
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
25
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
26
|
+
static serializeBinaryToWriter(message: FieldViolationProto, writer: jspb.BinaryWriter): void;
|
|
27
|
+
static deserializeBinary(bytes: Uint8Array): FieldViolationProto;
|
|
28
|
+
static deserializeBinaryFromReader(message: FieldViolationProto, reader: jspb.BinaryReader): FieldViolationProto;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export namespace FieldViolationProto {
|
|
32
|
+
export type AsObject = {
|
|
33
|
+
field: string,
|
|
34
|
+
objectId?: fintekkers_models_util_uuid_pb.UUIDProto.AsObject,
|
|
35
|
+
message: string,
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
// source: fintekkers/requests/util/errors/field_violation.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
23
|
+
|
|
24
|
+
var fintekkers_models_util_uuid_pb = require('../../../../fintekkers/models/util/uuid_pb.js');
|
|
25
|
+
goog.object.extend(proto, fintekkers_models_util_uuid_pb);
|
|
26
|
+
goog.exportSymbol('proto.fintekkers.requests.util.errors.FieldViolationProto', null, global);
|
|
27
|
+
/**
|
|
28
|
+
* Generated by JsPbCodeGenerator.
|
|
29
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
30
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
31
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
32
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
33
|
+
* valid.
|
|
34
|
+
* @extends {jspb.Message}
|
|
35
|
+
* @constructor
|
|
36
|
+
*/
|
|
37
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto = function(opt_data) {
|
|
38
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
39
|
+
};
|
|
40
|
+
goog.inherits(proto.fintekkers.requests.util.errors.FieldViolationProto, jspb.Message);
|
|
41
|
+
if (goog.DEBUG && !COMPILED) {
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* @override
|
|
45
|
+
*/
|
|
46
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.displayName = 'proto.fintekkers.requests.util.errors.FieldViolationProto';
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52
|
+
/**
|
|
53
|
+
* Creates an object representation of this proto.
|
|
54
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
55
|
+
* Optional fields that are not set will be set to undefined.
|
|
56
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
57
|
+
* For the list of reserved names please see:
|
|
58
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
59
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
60
|
+
* JSPB instance for transitional soy proto support:
|
|
61
|
+
* http://goto/soy-param-migration
|
|
62
|
+
* @return {!Object}
|
|
63
|
+
*/
|
|
64
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.prototype.toObject = function(opt_includeInstance) {
|
|
65
|
+
return proto.fintekkers.requests.util.errors.FieldViolationProto.toObject(opt_includeInstance, this);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Static version of the {@see toObject} method.
|
|
71
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72
|
+
* the JSPB instance for transitional soy proto support:
|
|
73
|
+
* http://goto/soy-param-migration
|
|
74
|
+
* @param {!proto.fintekkers.requests.util.errors.FieldViolationProto} msg The msg instance to transform.
|
|
75
|
+
* @return {!Object}
|
|
76
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77
|
+
*/
|
|
78
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.toObject = function(includeInstance, msg) {
|
|
79
|
+
var f, obj = {
|
|
80
|
+
field: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
81
|
+
objectId: (f = msg.getObjectId()) && fintekkers_models_util_uuid_pb.UUIDProto.toObject(includeInstance, f),
|
|
82
|
+
message: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
if (includeInstance) {
|
|
86
|
+
obj.$jspbMessageInstance = msg;
|
|
87
|
+
}
|
|
88
|
+
return obj;
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Deserializes binary data (in protobuf wire format).
|
|
95
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
96
|
+
* @return {!proto.fintekkers.requests.util.errors.FieldViolationProto}
|
|
97
|
+
*/
|
|
98
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.deserializeBinary = function(bytes) {
|
|
99
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
100
|
+
var msg = new proto.fintekkers.requests.util.errors.FieldViolationProto;
|
|
101
|
+
return proto.fintekkers.requests.util.errors.FieldViolationProto.deserializeBinaryFromReader(msg, reader);
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
107
|
+
* given reader into the given message object.
|
|
108
|
+
* @param {!proto.fintekkers.requests.util.errors.FieldViolationProto} msg The message object to deserialize into.
|
|
109
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
110
|
+
* @return {!proto.fintekkers.requests.util.errors.FieldViolationProto}
|
|
111
|
+
*/
|
|
112
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
113
|
+
while (reader.nextField()) {
|
|
114
|
+
if (reader.isEndGroup()) {
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
var field = reader.getFieldNumber();
|
|
118
|
+
switch (field) {
|
|
119
|
+
case 1:
|
|
120
|
+
var value = /** @type {string} */ (reader.readString());
|
|
121
|
+
msg.setField(value);
|
|
122
|
+
break;
|
|
123
|
+
case 2:
|
|
124
|
+
var value = new fintekkers_models_util_uuid_pb.UUIDProto;
|
|
125
|
+
reader.readMessage(value,fintekkers_models_util_uuid_pb.UUIDProto.deserializeBinaryFromReader);
|
|
126
|
+
msg.setObjectId(value);
|
|
127
|
+
break;
|
|
128
|
+
case 3:
|
|
129
|
+
var value = /** @type {string} */ (reader.readString());
|
|
130
|
+
msg.setMessage(value);
|
|
131
|
+
break;
|
|
132
|
+
default:
|
|
133
|
+
reader.skipField();
|
|
134
|
+
break;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
return msg;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
143
|
+
* @return {!Uint8Array}
|
|
144
|
+
*/
|
|
145
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.prototype.serializeBinary = function() {
|
|
146
|
+
var writer = new jspb.BinaryWriter();
|
|
147
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.serializeBinaryToWriter(this, writer);
|
|
148
|
+
return writer.getResultBuffer();
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
154
|
+
* format), writing to the given BinaryWriter.
|
|
155
|
+
* @param {!proto.fintekkers.requests.util.errors.FieldViolationProto} message
|
|
156
|
+
* @param {!jspb.BinaryWriter} writer
|
|
157
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
158
|
+
*/
|
|
159
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.serializeBinaryToWriter = function(message, writer) {
|
|
160
|
+
var f = undefined;
|
|
161
|
+
f = message.getField();
|
|
162
|
+
if (f.length > 0) {
|
|
163
|
+
writer.writeString(
|
|
164
|
+
1,
|
|
165
|
+
f
|
|
166
|
+
);
|
|
167
|
+
}
|
|
168
|
+
f = message.getObjectId();
|
|
169
|
+
if (f != null) {
|
|
170
|
+
writer.writeMessage(
|
|
171
|
+
2,
|
|
172
|
+
f,
|
|
173
|
+
fintekkers_models_util_uuid_pb.UUIDProto.serializeBinaryToWriter
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
f = message.getMessage();
|
|
177
|
+
if (f.length > 0) {
|
|
178
|
+
writer.writeString(
|
|
179
|
+
3,
|
|
180
|
+
f
|
|
181
|
+
);
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* optional string field = 1;
|
|
188
|
+
* @return {string}
|
|
189
|
+
*/
|
|
190
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.prototype.getField = function() {
|
|
191
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* @param {string} value
|
|
197
|
+
* @return {!proto.fintekkers.requests.util.errors.FieldViolationProto} returns this
|
|
198
|
+
*/
|
|
199
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.prototype.setField = function(value) {
|
|
200
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* optional fintekkers.models.util.UUIDProto object_id = 2;
|
|
206
|
+
* @return {?proto.fintekkers.models.util.UUIDProto}
|
|
207
|
+
*/
|
|
208
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.prototype.getObjectId = function() {
|
|
209
|
+
return /** @type{?proto.fintekkers.models.util.UUIDProto} */ (
|
|
210
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_uuid_pb.UUIDProto, 2));
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @param {?proto.fintekkers.models.util.UUIDProto|undefined} value
|
|
216
|
+
* @return {!proto.fintekkers.requests.util.errors.FieldViolationProto} returns this
|
|
217
|
+
*/
|
|
218
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.prototype.setObjectId = function(value) {
|
|
219
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Clears the message field making it undefined.
|
|
225
|
+
* @return {!proto.fintekkers.requests.util.errors.FieldViolationProto} returns this
|
|
226
|
+
*/
|
|
227
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.prototype.clearObjectId = function() {
|
|
228
|
+
return this.setObjectId(undefined);
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Returns whether this field is set.
|
|
234
|
+
* @return {boolean}
|
|
235
|
+
*/
|
|
236
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.prototype.hasObjectId = function() {
|
|
237
|
+
return jspb.Message.getField(this, 2) != null;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* optional string message = 3;
|
|
243
|
+
* @return {string}
|
|
244
|
+
*/
|
|
245
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.prototype.getMessage = function() {
|
|
246
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* @param {string} value
|
|
252
|
+
* @return {!proto.fintekkers.requests.util.errors.FieldViolationProto} returns this
|
|
253
|
+
*/
|
|
254
|
+
proto.fintekkers.requests.util.errors.FieldViolationProto.prototype.setMessage = function(value) {
|
|
255
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
goog.object.extend(exports, proto.fintekkers.requests.util.errors);
|