@aneoconsultingfr/armonik.api.angular 3.10.1-edge.4.db1d5c5 → 3.11.0-edge.24.2016d6e
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.
|
@@ -7868,6 +7868,19 @@ var SessionRawField;
|
|
|
7868
7868
|
SessionRawField[SessionRawField["SESSION_RAW_FIELD_CANCELLED_AT"] = 6] = "SESSION_RAW_FIELD_CANCELLED_AT";
|
|
7869
7869
|
SessionRawField[SessionRawField["SESSION_RAW_FIELD_DURATION"] = 7] = "SESSION_RAW_FIELD_DURATION";
|
|
7870
7870
|
})(SessionRawField || (SessionRawField = {}));
|
|
7871
|
+
var TaskOptionField$1;
|
|
7872
|
+
(function (TaskOptionField) {
|
|
7873
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_UNSPECIFIED"] = 0] = "TASK_OPTION_FIELD_UNSPECIFIED";
|
|
7874
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_MAX_DURATION"] = 1] = "TASK_OPTION_FIELD_MAX_DURATION";
|
|
7875
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_MAX_RETRIES"] = 2] = "TASK_OPTION_FIELD_MAX_RETRIES";
|
|
7876
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_PRIORITY"] = 3] = "TASK_OPTION_FIELD_PRIORITY";
|
|
7877
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_PARTITION_ID"] = 4] = "TASK_OPTION_FIELD_PARTITION_ID";
|
|
7878
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_APPLICATION_NAME"] = 5] = "TASK_OPTION_FIELD_APPLICATION_NAME";
|
|
7879
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_APPLICATION_VERSION"] = 6] = "TASK_OPTION_FIELD_APPLICATION_VERSION";
|
|
7880
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_APPLICATION_NAMESPACE"] = 7] = "TASK_OPTION_FIELD_APPLICATION_NAMESPACE";
|
|
7881
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_APPLICATION_SERVICE"] = 8] = "TASK_OPTION_FIELD_APPLICATION_SERVICE";
|
|
7882
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_ENGINE_TYPE"] = 9] = "TASK_OPTION_FIELD_ENGINE_TYPE";
|
|
7883
|
+
})(TaskOptionField$1 || (TaskOptionField$1 = {}));
|
|
7871
7884
|
/**
|
|
7872
7885
|
* Message implementation for armonik.api.grpc.v1.sessions.SessionRaw
|
|
7873
7886
|
*/
|
|
@@ -8079,6 +8092,107 @@ class SessionRaw {
|
|
|
8079
8092
|
};
|
|
8080
8093
|
}
|
|
8081
8094
|
}
|
|
8095
|
+
/**
|
|
8096
|
+
* Message implementation for armonik.api.grpc.v1.sessions.TaskOptionGenericField
|
|
8097
|
+
*/
|
|
8098
|
+
let TaskOptionGenericField$1 = class TaskOptionGenericField {
|
|
8099
|
+
static { this.id = 'armonik.api.grpc.v1.sessions.TaskOptionGenericField'; }
|
|
8100
|
+
/**
|
|
8101
|
+
* Deserialize binary data to message
|
|
8102
|
+
* @param instance message instance
|
|
8103
|
+
*/
|
|
8104
|
+
static deserializeBinary(bytes) {
|
|
8105
|
+
const instance = new TaskOptionGenericField();
|
|
8106
|
+
TaskOptionGenericField.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
8107
|
+
return instance;
|
|
8108
|
+
}
|
|
8109
|
+
/**
|
|
8110
|
+
* Check all the properties and set default protobuf values if necessary
|
|
8111
|
+
* @param _instance message instance
|
|
8112
|
+
*/
|
|
8113
|
+
static refineValues(_instance) {
|
|
8114
|
+
_instance.field = _instance.field || '';
|
|
8115
|
+
}
|
|
8116
|
+
/**
|
|
8117
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
8118
|
+
* @param _instance message instance
|
|
8119
|
+
* @param _reader binary reader instance
|
|
8120
|
+
*/
|
|
8121
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
8122
|
+
while (_reader.nextField()) {
|
|
8123
|
+
if (_reader.isEndGroup())
|
|
8124
|
+
break;
|
|
8125
|
+
switch (_reader.getFieldNumber()) {
|
|
8126
|
+
case 1:
|
|
8127
|
+
_instance.field = _reader.readString();
|
|
8128
|
+
break;
|
|
8129
|
+
default:
|
|
8130
|
+
_reader.skipField();
|
|
8131
|
+
}
|
|
8132
|
+
}
|
|
8133
|
+
TaskOptionGenericField.refineValues(_instance);
|
|
8134
|
+
}
|
|
8135
|
+
/**
|
|
8136
|
+
* Serializes a message to binary format using provided binary reader
|
|
8137
|
+
* @param _instance message instance
|
|
8138
|
+
* @param _writer binary writer instance
|
|
8139
|
+
*/
|
|
8140
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
8141
|
+
if (_instance.field) {
|
|
8142
|
+
_writer.writeString(1, _instance.field);
|
|
8143
|
+
}
|
|
8144
|
+
}
|
|
8145
|
+
/**
|
|
8146
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
8147
|
+
* @param _value initial values object or instance of TaskOptionGenericField to deeply clone from
|
|
8148
|
+
*/
|
|
8149
|
+
constructor(_value) {
|
|
8150
|
+
_value = _value || {};
|
|
8151
|
+
this.field = _value.field;
|
|
8152
|
+
TaskOptionGenericField.refineValues(this);
|
|
8153
|
+
}
|
|
8154
|
+
get field() {
|
|
8155
|
+
return this._field;
|
|
8156
|
+
}
|
|
8157
|
+
set field(value) {
|
|
8158
|
+
this._field = value;
|
|
8159
|
+
}
|
|
8160
|
+
/**
|
|
8161
|
+
* Serialize message to binary data
|
|
8162
|
+
* @param instance message instance
|
|
8163
|
+
*/
|
|
8164
|
+
serializeBinary() {
|
|
8165
|
+
const writer = new BinaryWriter();
|
|
8166
|
+
TaskOptionGenericField.serializeBinaryToWriter(this, writer);
|
|
8167
|
+
return writer.getResultBuffer();
|
|
8168
|
+
}
|
|
8169
|
+
/**
|
|
8170
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
8171
|
+
*/
|
|
8172
|
+
toObject() {
|
|
8173
|
+
return {
|
|
8174
|
+
field: this.field
|
|
8175
|
+
};
|
|
8176
|
+
}
|
|
8177
|
+
/**
|
|
8178
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
8179
|
+
*/
|
|
8180
|
+
toJSON() {
|
|
8181
|
+
return this.toObject();
|
|
8182
|
+
}
|
|
8183
|
+
/**
|
|
8184
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
8185
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
8186
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
8187
|
+
*/
|
|
8188
|
+
toProtobufJSON(
|
|
8189
|
+
// @ts-ignore
|
|
8190
|
+
options) {
|
|
8191
|
+
return {
|
|
8192
|
+
field: this.field
|
|
8193
|
+
};
|
|
8194
|
+
}
|
|
8195
|
+
};
|
|
8082
8196
|
/**
|
|
8083
8197
|
* Message implementation for armonik.api.grpc.v1.sessions.SessionField
|
|
8084
8198
|
*/
|
|
@@ -8111,6 +8225,13 @@ class SessionField {
|
|
|
8111
8225
|
case 1:
|
|
8112
8226
|
_instance.sessionRawField = _reader.readEnum();
|
|
8113
8227
|
break;
|
|
8228
|
+
case 2:
|
|
8229
|
+
_instance.taskOptionField = _reader.readEnum();
|
|
8230
|
+
break;
|
|
8231
|
+
case 3:
|
|
8232
|
+
_instance.taskOptionGenericField = new TaskOptionGenericField$1();
|
|
8233
|
+
_reader.readMessage(_instance.taskOptionGenericField, TaskOptionGenericField$1.deserializeBinaryFromReader);
|
|
8234
|
+
break;
|
|
8114
8235
|
default:
|
|
8115
8236
|
_reader.skipField();
|
|
8116
8237
|
}
|
|
@@ -8126,6 +8247,12 @@ class SessionField {
|
|
|
8126
8247
|
if (_instance.sessionRawField || _instance.sessionRawField === 0) {
|
|
8127
8248
|
_writer.writeEnum(1, _instance.sessionRawField);
|
|
8128
8249
|
}
|
|
8250
|
+
if (_instance.taskOptionField || _instance.taskOptionField === 0) {
|
|
8251
|
+
_writer.writeEnum(2, _instance.taskOptionField);
|
|
8252
|
+
}
|
|
8253
|
+
if (_instance.taskOptionGenericField) {
|
|
8254
|
+
_writer.writeMessage(3, _instance.taskOptionGenericField, TaskOptionGenericField$1.serializeBinaryToWriter);
|
|
8255
|
+
}
|
|
8129
8256
|
}
|
|
8130
8257
|
/**
|
|
8131
8258
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
@@ -8135,6 +8262,10 @@ class SessionField {
|
|
|
8135
8262
|
this._field = SessionField.FieldCase.none;
|
|
8136
8263
|
_value = _value || {};
|
|
8137
8264
|
this.sessionRawField = _value.sessionRawField;
|
|
8265
|
+
this.taskOptionField = _value.taskOptionField;
|
|
8266
|
+
this.taskOptionGenericField = _value.taskOptionGenericField
|
|
8267
|
+
? new TaskOptionGenericField$1(_value.taskOptionGenericField)
|
|
8268
|
+
: undefined;
|
|
8138
8269
|
SessionField.refineValues(this);
|
|
8139
8270
|
}
|
|
8140
8271
|
get sessionRawField() {
|
|
@@ -8142,10 +8273,31 @@ class SessionField {
|
|
|
8142
8273
|
}
|
|
8143
8274
|
set sessionRawField(value) {
|
|
8144
8275
|
if (value !== undefined && value !== null) {
|
|
8276
|
+
this._taskOptionField = this._taskOptionGenericField = undefined;
|
|
8145
8277
|
this._field = SessionField.FieldCase.sessionRawField;
|
|
8146
8278
|
}
|
|
8147
8279
|
this._sessionRawField = value;
|
|
8148
8280
|
}
|
|
8281
|
+
get taskOptionField() {
|
|
8282
|
+
return this._taskOptionField;
|
|
8283
|
+
}
|
|
8284
|
+
set taskOptionField(value) {
|
|
8285
|
+
if (value !== undefined && value !== null) {
|
|
8286
|
+
this._sessionRawField = this._taskOptionGenericField = undefined;
|
|
8287
|
+
this._field = SessionField.FieldCase.taskOptionField;
|
|
8288
|
+
}
|
|
8289
|
+
this._taskOptionField = value;
|
|
8290
|
+
}
|
|
8291
|
+
get taskOptionGenericField() {
|
|
8292
|
+
return this._taskOptionGenericField;
|
|
8293
|
+
}
|
|
8294
|
+
set taskOptionGenericField(value) {
|
|
8295
|
+
if (value !== undefined && value !== null) {
|
|
8296
|
+
this._sessionRawField = this._taskOptionField = undefined;
|
|
8297
|
+
this._field = SessionField.FieldCase.taskOptionGenericField;
|
|
8298
|
+
}
|
|
8299
|
+
this._taskOptionGenericField = value;
|
|
8300
|
+
}
|
|
8149
8301
|
get field() {
|
|
8150
8302
|
return this._field;
|
|
8151
8303
|
}
|
|
@@ -8163,7 +8315,11 @@ class SessionField {
|
|
|
8163
8315
|
*/
|
|
8164
8316
|
toObject() {
|
|
8165
8317
|
return {
|
|
8166
|
-
sessionRawField: this.sessionRawField
|
|
8318
|
+
sessionRawField: this.sessionRawField,
|
|
8319
|
+
taskOptionField: this.taskOptionField,
|
|
8320
|
+
taskOptionGenericField: this.taskOptionGenericField
|
|
8321
|
+
? this.taskOptionGenericField.toObject()
|
|
8322
|
+
: undefined
|
|
8167
8323
|
};
|
|
8168
8324
|
}
|
|
8169
8325
|
/**
|
|
@@ -8186,7 +8342,16 @@ class SessionField {
|
|
|
8186
8342
|
: SessionRawField[this.sessionRawField === null ||
|
|
8187
8343
|
this.sessionRawField === undefined
|
|
8188
8344
|
? 0
|
|
8189
|
-
: this.sessionRawField]
|
|
8345
|
+
: this.sessionRawField],
|
|
8346
|
+
taskOptionField: this.taskOptionField === undefined
|
|
8347
|
+
? null
|
|
8348
|
+
: TaskOptionField$1[this.taskOptionField === null ||
|
|
8349
|
+
this.taskOptionField === undefined
|
|
8350
|
+
? 0
|
|
8351
|
+
: this.taskOptionField],
|
|
8352
|
+
taskOptionGenericField: this.taskOptionGenericField
|
|
8353
|
+
? this.taskOptionGenericField.toProtobufJSON(options)
|
|
8354
|
+
: null
|
|
8190
8355
|
};
|
|
8191
8356
|
}
|
|
8192
8357
|
}
|
|
@@ -8195,6 +8360,8 @@ class SessionField {
|
|
|
8195
8360
|
(function (FieldCase) {
|
|
8196
8361
|
FieldCase[FieldCase["none"] = 0] = "none";
|
|
8197
8362
|
FieldCase[FieldCase["sessionRawField"] = 1] = "sessionRawField";
|
|
8363
|
+
FieldCase[FieldCase["taskOptionField"] = 2] = "taskOptionField";
|
|
8364
|
+
FieldCase[FieldCase["taskOptionGenericField"] = 3] = "taskOptionGenericField";
|
|
8198
8365
|
})(FieldCase = SessionField.FieldCase || (SessionField.FieldCase = {}));
|
|
8199
8366
|
})(SessionField || (SessionField = {}));
|
|
8200
8367
|
/**
|