Skip to content

Commit

Permalink
Update [vald sha: 3dcc162]
Browse files Browse the repository at this point in the history
  • Loading branch information
vdaas-ci committed Mar 13, 2023
1 parent 3dcc162 commit 26f01ea
Show file tree
Hide file tree
Showing 8 changed files with 117 additions and 49 deletions.
2 changes: 1 addition & 1 deletion VALD_CLIENT_NODE_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.2
1.7.3
2 changes: 1 addition & 1 deletion VALD_SHA
Original file line number Diff line number Diff line change
@@ -1 +1 @@
49d8e88dfc47bd0a1f3a705d8551240947eb707c
3dcc1624ae1188d0ae6e43a51ecde1df02330e26
8 changes: 4 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import v1_agent_core = require("./src/vald/v1/agent/core");
import v1_payload = require("./src/vald/v1/payload");
import v1_vald = require("./src/vald/v1/vald");
import v1_payload = require("./src/vald/v1/payload");
import v1_agent_core = require("./src/vald/v1/agent/core");
declare const _default: {
v1_agent_core: typeof v1_agent_core,
v1_payload: typeof v1_payload,
v1_vald: typeof v1_vald,
v1_payload: typeof v1_payload,
v1_agent_core: typeof v1_agent_core,
};
export = _default;
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports.v1_agent_core = require("./src/vald/v1/agent/core");
module.exports.v1_payload = require("./src/vald/v1/payload");
module.exports.v1_vald = require("./src/vald/v1/vald");
module.exports.v1_payload = require("./src/vald/v1/payload");
module.exports.v1_agent_core = require("./src/vald/v1/agent/core");
76 changes: 38 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vald-client-node",
"version": "1.7.2",
"version": "1.7.3",
"description": "A gRPC client library for Vald",
"main": "index.js",
"types": "index.d.ts",
Expand Down
8 changes: 8 additions & 0 deletions src/vald/v1/payload/payload_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,9 @@ export namespace Update {
getTimestamp(): number;
setTimestamp(value: number): void;

getDisableBalancedUpdate(): boolean;
setDisableBalancedUpdate(value: boolean): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Config.AsObject;
static toObject(includeInstance: boolean, msg: Config): Config.AsObject;
Expand All @@ -672,6 +675,7 @@ export namespace Update {
skipStrictExistCheck: boolean,
filters?: Filter.Config.AsObject,
timestamp: number,
disableBalancedUpdate: boolean,
}
}
}
Expand Down Expand Up @@ -809,6 +813,9 @@ export namespace Upsert {
getTimestamp(): number;
setTimestamp(value: number): void;

getDisableBalancedUpdate(): boolean;
setDisableBalancedUpdate(value: boolean): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Config.AsObject;
static toObject(includeInstance: boolean, msg: Config): Config.AsObject;
Expand All @@ -824,6 +831,7 @@ export namespace Upsert {
skipStrictExistCheck: boolean,
filters?: Filter.Config.AsObject,
timestamp: number,
disableBalancedUpdate: boolean,
}
}
}
Expand Down
64 changes: 62 additions & 2 deletions src/vald/v1/payload/payload_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -6153,7 +6153,8 @@ proto.payload.v1.Update.Config.toObject = function(includeInstance, msg) {
var f, obj = {
skipStrictExistCheck: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
filters: (f = msg.getFilters()) && proto.payload.v1.Filter.Config.toObject(includeInstance, f),
timestamp: jspb.Message.getFieldWithDefault(msg, 3, 0)
timestamp: jspb.Message.getFieldWithDefault(msg, 3, 0),
disableBalancedUpdate: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
};

if (includeInstance) {
Expand Down Expand Up @@ -6203,6 +6204,10 @@ proto.payload.v1.Update.Config.deserializeBinaryFromReader = function(msg, reade
var value = /** @type {number} */ (reader.readInt64());
msg.setTimestamp(value);
break;
case 4:
var value = /** @type {boolean} */ (reader.readBool());
msg.setDisableBalancedUpdate(value);
break;
default:
reader.skipField();
break;
Expand Down Expand Up @@ -6254,6 +6259,13 @@ proto.payload.v1.Update.Config.serializeBinaryToWriter = function(message, write
f
);
}
f = message.getDisableBalancedUpdate();
if (f) {
writer.writeBool(
4,
f
);
}
};


Expand Down Expand Up @@ -6330,6 +6342,24 @@ proto.payload.v1.Update.Config.prototype.setTimestamp = function(value) {
};


/**
* optional bool disable_balanced_update = 4;
* @return {boolean}
*/
proto.payload.v1.Update.Config.prototype.getDisableBalancedUpdate = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};


/**
* @param {boolean} value
* @return {!proto.payload.v1.Update.Config} returns this
*/
proto.payload.v1.Update.Config.prototype.setDisableBalancedUpdate = function(value) {
return jspb.Message.setProto3BooleanField(this, 4, value);
};





Expand Down Expand Up @@ -7240,7 +7270,8 @@ proto.payload.v1.Upsert.Config.toObject = function(includeInstance, msg) {
var f, obj = {
skipStrictExistCheck: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
filters: (f = msg.getFilters()) && proto.payload.v1.Filter.Config.toObject(includeInstance, f),
timestamp: jspb.Message.getFieldWithDefault(msg, 3, 0)
timestamp: jspb.Message.getFieldWithDefault(msg, 3, 0),
disableBalancedUpdate: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
};

if (includeInstance) {
Expand Down Expand Up @@ -7290,6 +7321,10 @@ proto.payload.v1.Upsert.Config.deserializeBinaryFromReader = function(msg, reade
var value = /** @type {number} */ (reader.readInt64());
msg.setTimestamp(value);
break;
case 4:
var value = /** @type {boolean} */ (reader.readBool());
msg.setDisableBalancedUpdate(value);
break;
default:
reader.skipField();
break;
Expand Down Expand Up @@ -7341,6 +7376,13 @@ proto.payload.v1.Upsert.Config.serializeBinaryToWriter = function(message, write
f
);
}
f = message.getDisableBalancedUpdate();
if (f) {
writer.writeBool(
4,
f
);
}
};


Expand Down Expand Up @@ -7417,6 +7459,24 @@ proto.payload.v1.Upsert.Config.prototype.setTimestamp = function(value) {
};


/**
* optional bool disable_balanced_update = 4;
* @return {boolean}
*/
proto.payload.v1.Upsert.Config.prototype.getDisableBalancedUpdate = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};


/**
* @param {boolean} value
* @return {!proto.payload.v1.Upsert.Config} returns this
*/
proto.payload.v1.Upsert.Config.prototype.setDisableBalancedUpdate = function(value) {
return jspb.Message.setProto3BooleanField(this, 4, value);
};





Expand Down

0 comments on commit 26f01ea

Please sign in to comment.