Skip to content

Commit 78cb524

Browse files
chore: generate libraries at Thu Dec 12 02:29:50 UTC 2024
1 parent 1cdbc19 commit 78cb524

File tree

3 files changed

+38
-10
lines changed

3 files changed

+38
-10
lines changed

proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,17 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
228228
* <code>INTERVAL = 16;</code>
229229
*/
230230
INTERVAL(16),
231+
/**
232+
*
233+
*
234+
* <pre>
235+
* Encoded as `string`, in lower-case hexa-decimal format, as described
236+
* in RFC 9562, section 4.
237+
* </pre>
238+
*
239+
* <code>UUID = 17;</code>
240+
*/
241+
UUID(17),
231242
UNRECOGNIZED(-1),
232243
;
233244

@@ -424,6 +435,17 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
424435
* <code>INTERVAL = 16;</code>
425436
*/
426437
public static final int INTERVAL_VALUE = 16;
438+
/**
439+
*
440+
*
441+
* <pre>
442+
* Encoded as `string`, in lower-case hexa-decimal format, as described
443+
* in RFC 9562, section 4.
444+
* </pre>
445+
*
446+
* <code>UUID = 17;</code>
447+
*/
448+
public static final int UUID_VALUE = 17;
427449

428450
public final int getNumber() {
429451
if (this == UNRECOGNIZED) {
@@ -481,6 +503,8 @@ public static TypeCode forNumber(int value) {
481503
return ENUM;
482504
case 16:
483505
return INTERVAL;
506+
case 17:
507+
return UUID;
484508
default:
485509
return null;
486510
}

proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,20 +60,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
6060
+ "pe_fqn\030\005 \001(\t\"\177\n\nStructType\0223\n\006fields\030\001 \003"
6161
+ "(\0132#.google.spanner.v1.StructType.Field\032"
6262
+ "<\n\005Field\022\014\n\004name\030\001 \001(\t\022%\n\004type\030\002 \001(\0132\027.g"
63-
+ "oogle.spanner.v1.Type*\325\001\n\010TypeCode\022\031\n\025TY"
63+
+ "oogle.spanner.v1.Type*\337\001\n\010TypeCode\022\031\n\025TY"
6464
+ "PE_CODE_UNSPECIFIED\020\000\022\010\n\004BOOL\020\001\022\t\n\005INT64"
6565
+ "\020\002\022\013\n\007FLOAT64\020\003\022\013\n\007FLOAT32\020\017\022\r\n\tTIMESTAM"
6666
+ "P\020\004\022\010\n\004DATE\020\005\022\n\n\006STRING\020\006\022\t\n\005BYTES\020\007\022\t\n\005"
6767
+ "ARRAY\020\010\022\n\n\006STRUCT\020\t\022\013\n\007NUMERIC\020\n\022\010\n\004JSON"
68-
+ "\020\013\022\t\n\005PROTO\020\r\022\010\n\004ENUM\020\016\022\014\n\010INTERVAL\020\020*d\n"
69-
+ "\022TypeAnnotationCode\022$\n TYPE_ANNOTATION_C"
70-
+ "ODE_UNSPECIFIED\020\000\022\016\n\nPG_NUMERIC\020\002\022\014\n\010PG_"
71-
+ "JSONB\020\003\022\n\n\006PG_OID\020\004B\254\001\n\025com.google.spann"
72-
+ "er.v1B\tTypeProtoP\001Z5cloud.google.com/go/"
73-
+ "spanner/apiv1/spannerpb;spannerpb\252\002\027Goog"
74-
+ "le.Cloud.Spanner.V1\312\002\027Google\\Cloud\\Spann"
75-
+ "er\\V1\352\002\032Google::Cloud::Spanner::V1b\006prot"
76-
+ "o3"
68+
+ "\020\013\022\t\n\005PROTO\020\r\022\010\n\004ENUM\020\016\022\014\n\010INTERVAL\020\020\022\010\n"
69+
+ "\004UUID\020\021*d\n\022TypeAnnotationCode\022$\n TYPE_AN"
70+
+ "NOTATION_CODE_UNSPECIFIED\020\000\022\016\n\nPG_NUMERI"
71+
+ "C\020\002\022\014\n\010PG_JSONB\020\003\022\n\n\006PG_OID\020\004B\254\001\n\025com.go"
72+
+ "ogle.spanner.v1B\tTypeProtoP\001Z5cloud.goog"
73+
+ "le.com/go/spanner/apiv1/spannerpb;spanne"
74+
+ "rpb\252\002\027Google.Cloud.Spanner.V1\312\002\027Google\\C"
75+
+ "loud\\Spanner\\V1\352\002\032Google::Cloud::Spanner"
76+
+ "::V1b\006proto3"
7777
};
7878
descriptor =
7979
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(

proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ enum TypeCode {
175175
// For example, `P1Y2M3DT4H5M6.5S` represents time duration of 1 year, 2
176176
// months, 3 days, 4 hours, 5 minutes, and 6.5 seconds.
177177
INTERVAL = 16;
178+
179+
// Encoded as `string`, in lower-case hexa-decimal format, as described
180+
// in RFC 9562, section 4.
181+
UUID = 17;
178182
}
179183

180184
// `TypeAnnotationCode` is used as a part of [Type][google.spanner.v1.Type] to

0 commit comments

Comments
 (0)