File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,13 @@ message Type {
47
47
// typically is not needed to process the content of a value (it doesn't
48
48
// affect serialization) and clients can ignore it on the read path.
49
49
TypeAnnotationCode type_annotation = 4 ;
50
+
51
+ // If [code][google.spanner.v1.Type.code] ==
52
+ // [PROTO][google.spanner.v1.TypeCode.PROTO] or
53
+ // [code][google.spanner.v1.Type.code] ==
54
+ // [ENUM][google.spanner.v1.TypeCode.ENUM], then `proto_type_fqn` is the fully
55
+ // qualified name of the proto type representing the proto/enum definition.
56
+ string proto_type_fqn = 5 ;
50
57
}
51
58
52
59
// `StructType` defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type.
@@ -145,6 +152,13 @@ enum TypeCode {
145
152
// preserved.
146
153
// - JSON array elements will have their order preserved.
147
154
JSON = 11 ;
155
+
156
+ // Encoded as a base64-encoded `string`, as described in RFC 4648,
157
+ // section 4.
158
+ PROTO = 13 ;
159
+
160
+ // Encoded as `string`, in decimal format.
161
+ ENUM = 14 ;
148
162
}
149
163
150
164
// `TypeAnnotationCode` is used as a part of [Type][google.spanner.v1.Type] to
You can’t perform that action at this time.
0 commit comments