Skip to content

Commit

Permalink
Add organization name to LocationOrganization proto message.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhorowitz committed Dec 6, 2023
1 parent 142d24b commit cae1388
Show file tree
Hide file tree
Showing 54 changed files with 1,342 additions and 1,294 deletions.
2,446 changes: 1,229 additions & 1,217 deletions app/v1/app.pb.go

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions component/board/v1/board.pb.gw.go

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

10 changes: 5 additions & 5 deletions component/camera/v1/camera.pb.gw.go

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

10 changes: 5 additions & 5 deletions component/encoder/v1/encoder.pb.gw.go

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

10 changes: 5 additions & 5 deletions component/gantry/v1/gantry.pb.gw.go

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

10 changes: 5 additions & 5 deletions component/motor/v1/motor.pb.gw.go

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

2 changes: 1 addition & 1 deletion gen/js/app/agent/v1/agent_grpc_web_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
// versions:
// protoc-gen-grpc-web v1.4.2
// protoc-gen-grpc-web v1.5.0
// protoc v0.0.0
// source: app/agent/v1/agent.proto

Expand Down
2 changes: 1 addition & 1 deletion gen/js/app/build/v1/build_grpc_web_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
// versions:
// protoc-gen-grpc-web v1.4.2
// protoc-gen-grpc-web v1.5.0
// protoc v0.0.0
// source: app/build/v1/build.proto

Expand Down
2 changes: 1 addition & 1 deletion gen/js/app/cloudslam/v1/cloud_slam_grpc_web_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
// versions:
// protoc-gen-grpc-web v1.4.2
// protoc-gen-grpc-web v1.5.0
// protoc v0.0.0
// source: app/cloudslam/v1/cloud_slam.proto

Expand Down
2 changes: 1 addition & 1 deletion gen/js/app/data/v1/data_grpc_web_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
// versions:
// protoc-gen-grpc-web v1.4.2
// protoc-gen-grpc-web v1.5.0
// protoc v0.0.0
// source: app/data/v1/data.proto

Expand Down
2 changes: 1 addition & 1 deletion gen/js/app/dataset/v1/dataset_grpc_web_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
// versions:
// protoc-gen-grpc-web v1.4.2
// protoc-gen-grpc-web v1.5.0
// protoc v0.0.0
// source: app/dataset/v1/dataset.proto

Expand Down
2 changes: 1 addition & 1 deletion gen/js/app/datasync/v1/data_sync_grpc_web_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
// versions:
// protoc-gen-grpc-web v1.4.2
// protoc-gen-grpc-web v1.5.0
// protoc v0.0.0
// source: app/datasync/v1/data_sync.proto

Expand Down
2 changes: 1 addition & 1 deletion gen/js/app/mltraining/v1/ml_training_grpc_web_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
// versions:
// protoc-gen-grpc-web v1.4.2
// protoc-gen-grpc-web v1.5.0
// protoc v0.0.0
// source: app/mltraining/v1/ml_training.proto

Expand Down
2 changes: 1 addition & 1 deletion gen/js/app/packages/v1/packages_grpc_web_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
// versions:
// protoc-gen-grpc-web v1.4.2
// protoc-gen-grpc-web v1.5.0
// protoc v0.0.0
// source: app/packages/v1/packages.proto

Expand Down
2 changes: 1 addition & 1 deletion gen/js/app/v1/app_grpc_web_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
// versions:
// protoc-gen-grpc-web v1.4.2
// protoc-gen-grpc-web v1.5.0
// protoc v0.0.0
// source: app/v1/app.proto

Expand Down
4 changes: 4 additions & 0 deletions gen/js/app/v1/app_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,9 @@ export class LocationOrganization extends jspb.Message {
getPrimary(): boolean;
setPrimary(value: boolean): void;

getOrganizationName(): string;
setOrganizationName(value: string): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): LocationOrganization.AsObject;
static toObject(includeInstance: boolean, msg: LocationOrganization): LocationOrganization.AsObject;
Expand All @@ -856,6 +859,7 @@ export namespace LocationOrganization {
export type AsObject = {
organizationId: string,
primary: boolean,
organizationName: string,
}
}

Expand Down
32 changes: 31 additions & 1 deletion gen/js/app/v1/app_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -9501,7 +9501,8 @@ proto.viam.app.v1.LocationOrganization.prototype.toObject = function(opt_include
proto.viam.app.v1.LocationOrganization.toObject = function(includeInstance, msg) {
var f, obj = {
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
primary: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
primary: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
organizationName: jspb.Message.getFieldWithDefault(msg, 3, "")
};

if (includeInstance) {
Expand Down Expand Up @@ -9546,6 +9547,10 @@ proto.viam.app.v1.LocationOrganization.deserializeBinaryFromReader = function(ms
var value = /** @type {boolean} */ (reader.readBool());
msg.setPrimary(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setOrganizationName(value);
break;
default:
reader.skipField();
break;
Expand Down Expand Up @@ -9589,6 +9594,13 @@ proto.viam.app.v1.LocationOrganization.serializeBinaryToWriter = function(messag
f
);
}
f = message.getOrganizationName();
if (f.length > 0) {
writer.writeString(
3,
f
);
}
};


Expand Down Expand Up @@ -9628,6 +9640,24 @@ proto.viam.app.v1.LocationOrganization.prototype.setPrimary = function(value) {
};


/**
* optional string organization_name = 3;
* @return {string}
*/
proto.viam.app.v1.LocationOrganization.prototype.getOrganizationName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
* @param {string} value
* @return {!proto.viam.app.v1.LocationOrganization} returns this
*/
proto.viam.app.v1.LocationOrganization.prototype.setOrganizationName = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};



/**
* List of repeated fields within this message type.
Expand Down
2 changes: 1 addition & 1 deletion gen/js/app/v1/billing_grpc_web_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
// versions:
// protoc-gen-grpc-web v1.4.2
// protoc-gen-grpc-web v1.5.0
// protoc v0.0.0
// source: app/v1/billing.proto

Expand Down
Loading

0 comments on commit cae1388

Please sign in to comment.