We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36768e3 commit d08b300Copy full SHA for d08b300
docs/plugin-protocol/tfplugin6.proto
@@ -946,19 +946,23 @@ message ReadStateBytes {
946
947
message WriteStateBytes {
948
message RequestChunk {
949
- // TODO: Can we decouple this outside of the stream?
950
- string type_name = 1;
951
- string state_id = 3;
+ // meta is sent with the first chunk only
+ optional RequestChunkMeta meta = 1;
952
953
bytes bytes = 2;
954
- int64 total_length = 4;
955
- StateRange range = 5;
+ int64 total_length = 3;
+ StateRange range = 4;
956
}
957
message Response {
958
repeated Diagnostic diagnostics = 1;
959
960
961
+message RequestChunkMeta {
962
+ string type_name = 1;
963
+ string state_id = 2;
964
+}
965
+
966
message StateRange {
967
int64 start = 1;
968
int64 end = 2;
0 commit comments