PBC Data Type Counter Store

An operation to update a counter.

Request

message CounterOp {
    optional sint64 increment = 1;
}

The increment value specifies how much the counter will be incremented or decremented, depending on whether the increment value is positive or negative. This operation can be used to update counters that are stored on their own in a key or within a map.