Skip to content

Commit

Permalink
bytes to map<string, Any> for metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebriskin committed Oct 24, 2023
1 parent 37f5f7f commit 2d35136
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions proto/viam/app/v1/app.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ syntax = "proto3";

package viam.app.v1;

import "google/protobuf/any.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
import "tagger/v1/tagger.proto";
Expand Down Expand Up @@ -340,12 +341,12 @@ message GetOrganizationMetadataRequest {
}

message GetOrganizationMetadataResponse {
bytes data = 1;
map<string, google.protobuf.Any> data = 1;
}

message UpdateOrganizationMetadataRequest {
string organization_id = 1;
bytes data = 2;
map<string, google.protobuf.Any> data = 2;
}

message UpdateOrganizationMetadataResponse {}
Expand Down Expand Up @@ -524,12 +525,12 @@ message GetLocationMetadataRequest {
}

message GetLocationMetadataResponse {
bytes data = 1;
map<string, google.protobuf.Any> data = 1;
}

message UpdateLocationMetadataRequest {
string location_id = 1;
bytes data = 2;
map<string, google.protobuf.Any> data = 2;
}

message UpdateLocationMetadataResponse {}
Expand Down Expand Up @@ -694,12 +695,12 @@ message GetRobotPartMetadataRequest {
}

message GetRobotPartMetadataResponse {
bytes data = 1;
map<string, google.protobuf.Any> data = 1;
}

message UpdateRobotPartMetadataRequest {
string id = 1;
bytes data = 2;
map<string, google.protobuf.Any> data = 2;
}

message UpdateRobotPartMetadataResponse {}
Expand Down Expand Up @@ -819,12 +820,12 @@ message GetRobotMetadataRequest {
}

message GetRobotMetadataResponse {
bytes data = 1;
map<string, google.protobuf.Any> data = 1;
}

message UpdateRobotMetadataRequest {
string id = 1;
bytes data = 2;
map<string, google.protobuf.Any> data = 2;
}

message UpdateRobotMetadataResponse {}
Expand Down

0 comments on commit 2d35136

Please sign in to comment.