public sealed class ReadChangeStreamResponse.Types.CloseStream : IMessage<ReadChangeStreamResponse.Types.CloseStream>, IEquatable<ReadChangeStreamResponse.Types.CloseStream>, IDeepCloneable<ReadChangeStreamResponse.Types.CloseStream>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Bigtable v2 API class ReadChangeStreamResponse.Types.CloseStream.
A message indicating that the client should stop reading from the stream.
If status is OK and continuation_tokens & new_partitions are empty, the
stream has finished (for example if there was an end_time specified).
If continuation_tokens & new_partitions are present, then a change in
partitioning requires the client to open a new stream for each token to
resume reading. Example:
To read the new partition [A,C), supply the continuation tokens whose
ranges cover the new partition, for example ContinuationToken[A,B) &
ContinuationToken[B,C).
public RepeatedField<StreamPartition> NewPartitions { get; }
If non-empty, contains the new partitions to start reading from, which
are related to but not necessarily identical to the partitions for the
above continuation_tokens.
[[["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\u003eThis document provides reference information for the \u003ccode\u003eReadChangeStreamResponse.Types.CloseStream\u003c/code\u003e class within the Google Bigtable v2 API for .NET, including its properties, constructors, and implemented interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloseStream\u003c/code\u003e class signals that a client should stop reading from a stream, and that the stream has either ended, or that new partitioning requires the client to open a new stream for each continuation token.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this \u003ccode\u003eReadChangeStreamResponse.Types.CloseStream\u003c/code\u003e class is 3.17.0, and the documentation covers versions going back to 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCloseStream\u003c/code\u003e class include \u003ccode\u003eContinuationTokens\u003c/code\u003e for resuming partition reads, \u003ccode\u003eNewPartitions\u003c/code\u003e for identifying new partitions, and \u003ccode\u003eStatus\u003c/code\u003e for indicating the stream's status.\u003c/p\u003e\n"]]],[],null,["# Google Bigtable v2 API - Class ReadChangeStreamResponse.Types.CloseStream (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.ReadChangeStreamResponse.Types.CloseStream)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.22.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.21.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.20.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.19.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.18.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.17.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.16.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.15.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.14.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.13.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.12.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.11.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.10.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.9.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.8.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.7.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.6.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.5.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.4.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.3.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.2.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.1.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.0.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.6.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.5.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.4.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.3.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.2.0/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream) \n\n public sealed class ReadChangeStreamResponse.Types.CloseStream : IMessage\u003cReadChangeStreamResponse.Types.CloseStream\u003e, IEquatable\u003cReadChangeStreamResponse.Types.CloseStream\u003e, IDeepCloneable\u003cReadChangeStreamResponse.Types.CloseStream\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Bigtable v2 API class ReadChangeStreamResponse.Types.CloseStream.\n\nA message indicating that the client should stop reading from the stream.\nIf status is OK and `continuation_tokens` \\& `new_partitions` are empty, the\nstream has finished (for example if there was an `end_time` specified).\nIf `continuation_tokens` \\& `new_partitions` are present, then a change in\npartitioning requires the client to open a new stream for each token to\nresume reading. Example: \n\n [B, D) ends\n |\n v\n new_partitions: [A, C) [C, E)\n continuation_tokens.partitions: [B,C) [C,D)\n ^---^ ^---^\n ^ ^\n | |\n | StreamContinuationToken 2\n |\n StreamContinuationToken 1\n\nTo read the new partition \\[A,C), supply the continuation tokens whose\nranges cover the new partition, for example ContinuationToken\\[A,B) \\&\nContinuationToken\\[B,C). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ReadChangeStreamResponse.Types.CloseStream \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ReadChangeStreamResponse](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse)[Types](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types)[CloseStream](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ReadChangeStreamResponse](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse)[Types](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types)[CloseStream](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ReadChangeStreamResponse](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse)[Types](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types)[CloseStream](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ReadChangeStreamResponse.Types.CloseStream), [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### CloseStream()\n\n public CloseStream()\n\n### CloseStream(CloseStream)\n\n public CloseStream(ReadChangeStreamResponse.Types.CloseStream other)\n\nProperties\n----------\n\n### ContinuationTokens\n\n public RepeatedField\u003cStreamContinuationToken\u003e ContinuationTokens { get; }\n\nIf non-empty, contains the information needed to resume reading their\nassociated partitions.\n\n### NewPartitions\n\n public RepeatedField\u003cStreamPartition\u003e NewPartitions { get; }\n\nIf non-empty, contains the new partitions to start reading from, which\nare related to but not necessarily identical to the partitions for the\nabove `continuation_tokens`.\n\n### Status\n\n public Status Status { get; set; }\n\nThe status of the stream."]]