Skip to content

Commit

Permalink
chore: update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
pgautier404 committed Feb 28, 2024
1 parent 61ee673 commit 75fd9f6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions proto/cacheclient.proto
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@ message _SetIfRequest {
bytes cache_body = 2;
uint64 ttl_milliseconds = 3;
oneof condition {
common.Exists exists = 4;
common.ExistsAndNotEqual exists_and_not_equal = 5;
common.NotExists not_exists = 6;
common.Present present = 4;
common.PresentAndNotEqual present_and_not_equal = 5;
common.Absent absent = 6;
common.Equal equal = 7;
common.EqualOrNotExists equal_or_not_exists = 8;
common.AbsentOrEqual absent_or_equal = 8;
common.NotEqual not_equal = 9;
}
}
Expand Down Expand Up @@ -481,7 +481,7 @@ message _SetPopResponse {
oneof set {
_Found found = 1;
_Missing missing = 2;
}
}
}

message _ListConcatenateFrontRequest {
Expand Down
10 changes: 5 additions & 5 deletions proto/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@ syntax = "proto3";

package common;

message Exists { }
message Present { }

message ExistsAndNotEqual {
message PresentAndNotEqual {
bytes value_to_check = 1;
}

message NotExists { }
message Absent { }

message Equal {
bytes value_to_check = 1;
}

message EqualOrNotExists {
message AbsentOrEqual {
bytes value_to_check = 1;
}

message NotEqual {
bytes value_to_check = 1;
}
}

0 comments on commit 75fd9f6

Please sign in to comment.