public sealed class ReadModifyWriteRule : IMessage<ReadModifyWriteRule>, IEquatable<ReadModifyWriteRule>, IDeepCloneable<ReadModifyWriteRule>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Bigtable v2 API class ReadModifyWriteRule.
Specifies an atomic read/modify/write operation on the latest value of the
specified column.
Rule specifying that increment_amount be added to the existing value.
If the targeted cell is unset, it will be treated as containing a zero.
Otherwise, the targeted cell must contain an 8-byte value (interpreted
as a 64-bit big-endian signed integer), or the entire request will fail.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eReadModifyWriteRule\u003c/code\u003e class in the Google Bigtable v2 API is version 3.17.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows for atomic read/modify/write operations on specific columns within the Bigtable database.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReadModifyWriteRule\u003c/code\u003e class supports appending values (\u003ccode\u003eAppendValue\u003c/code\u003e) to existing cell data or incrementing the cell's value by a specified amount (\u003ccode\u003eIncrementAmount\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for advanced handling and manipulation of data.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003eFamilyName\u003c/code\u003e, \u003ccode\u003eColumnQualifier\u003c/code\u003e, and \u003ccode\u003eRuleCase\u003c/code\u003e to specify the context and type of modification to apply to a cell.\u003c/p\u003e\n"]]],[],null,["# Google Bigtable v2 API - Class ReadModifyWriteRule (3.23.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.23.0 (latest)](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.22.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.21.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.20.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.19.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.18.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.17.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.16.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.15.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.14.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.13.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.12.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.11.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.10.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.9.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.8.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.7.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.6.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.5.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.4.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.3.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.2.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.1.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.0.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.6.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.5.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.4.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.3.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.2.0/Google.Cloud.Bigtable.V2.ReadModifyWriteRule) \n\n public sealed class ReadModifyWriteRule : IMessage\u003cReadModifyWriteRule\u003e, IEquatable\u003cReadModifyWriteRule\u003e, IDeepCloneable\u003cReadModifyWriteRule\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Bigtable v2 API class ReadModifyWriteRule.\n\nSpecifies an atomic read/modify/write operation on the latest value of the\nspecified column. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ReadModifyWriteRule \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ReadModifyWriteRule](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ReadModifyWriteRule), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ReadModifyWriteRule](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ReadModifyWriteRule), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ReadModifyWriteRule](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ReadModifyWriteRule), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Bigtable.V2](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Bigtable.V2.dll\n\nConstructors\n------------\n\n### ReadModifyWriteRule()\n\n public ReadModifyWriteRule()\n\n### ReadModifyWriteRule(ReadModifyWriteRule)\n\n public ReadModifyWriteRule(ReadModifyWriteRule other)\n\nProperties\n----------\n\n### AppendValue\n\n public ByteString AppendValue { get; set; }\n\nRule specifying that `append_value` be appended to the existing value.\nIf the targeted cell is unset, it will be treated as containing the\nempty string.\n\n### ColumnQualifier\n\n public ByteString ColumnQualifier { get; set; }\n\nThe qualifier of the column to which the read/modify/write should be\napplied.\nCan be any byte string, including the empty string.\n\n### FamilyName\n\n public string FamilyName { get; set; }\n\nThe name of the family to which the read/modify/write should be applied.\nMust match `[-_.a-zA-Z0-9]+`\n\n### HasAppendValue\n\n public bool HasAppendValue { get; }\n\nGets whether the \"append_value\" field is set\n\n### HasIncrementAmount\n\n public bool HasIncrementAmount { get; }\n\nGets whether the \"increment_amount\" field is set\n\n### IncrementAmount\n\n public long IncrementAmount { get; set; }\n\nRule specifying that `increment_amount` be added to the existing value.\nIf the targeted cell is unset, it will be treated as containing a zero.\nOtherwise, the targeted cell must contain an 8-byte value (interpreted\nas a 64-bit big-endian signed integer), or the entire request will fail.\n\n### RuleCase\n\n public ReadModifyWriteRule.RuleOneofCase RuleCase { get; }"]]