@@ -11,7 +11,7 @@ import type {
11
11
PartialMessage ,
12
12
PlainMessage ,
13
13
} from '@bufbuild/protobuf'
14
- import { Message , Timestamp , proto3 } from '@bufbuild/protobuf'
14
+ import { Message , Timestamp , proto3 , protoInt64 } from '@bufbuild/protobuf'
15
15
16
16
/**
17
17
* @generated from message depot.core.v1.Project
@@ -246,9 +246,9 @@ export class CreateProjectRequest extends Message<CreateProjectRequest> {
246
246
name = ''
247
247
248
248
/**
249
- * @generated from field: string organization_id = 2;
249
+ * @generated from field: optional string organization_id = 2;
250
250
*/
251
- organizationId = ''
251
+ organizationId ?: string
252
252
253
253
/**
254
254
* @generated from field: string region_id = 3;
@@ -269,7 +269,7 @@ export class CreateProjectRequest extends Message<CreateProjectRequest> {
269
269
static readonly typeName = 'depot.core.v1.CreateProjectRequest'
270
270
static readonly fields : FieldList = proto3 . util . newFieldList ( ( ) => [
271
271
{ no : 1 , name : 'name' , kind : 'scalar' , T : 9 /* ScalarType.STRING */ } ,
272
- { no : 2 , name : 'organization_id' , kind : 'scalar' , T : 9 /* ScalarType.STRING */ } ,
272
+ { no : 2 , name : 'organization_id' , kind : 'scalar' , T : 9 /* ScalarType.STRING */ , opt : true } ,
273
273
{ no : 3 , name : 'region_id' , kind : 'scalar' , T : 9 /* ScalarType.STRING */ } ,
274
274
{ no : 4 , name : 'cache_policy' , kind : 'message' , T : CachePolicy , opt : true } ,
275
275
] )
@@ -510,9 +510,9 @@ export class DeleteProjectResponse extends Message<DeleteProjectResponse> {
510
510
*/
511
511
export class CachePolicy extends Message < CachePolicy > {
512
512
/**
513
- * @generated from field: int32 keep_bytes = 1;
513
+ * @generated from field: int64 keep_bytes = 1;
514
514
*/
515
- keepBytes = 0
515
+ keepBytes = protoInt64 . zero
516
516
517
517
/**
518
518
* @generated from field: int32 keep_days = 2;
@@ -527,7 +527,7 @@ export class CachePolicy extends Message<CachePolicy> {
527
527
static readonly runtime : typeof proto3 = proto3
528
528
static readonly typeName = 'depot.core.v1.CachePolicy'
529
529
static readonly fields : FieldList = proto3 . util . newFieldList ( ( ) => [
530
- { no : 1 , name : 'keep_bytes' , kind : 'scalar' , T : 5 /* ScalarType.INT32 */ } ,
530
+ { no : 1 , name : 'keep_bytes' , kind : 'scalar' , T : 3 /* ScalarType.INT64 */ } ,
531
531
{ no : 2 , name : 'keep_days' , kind : 'scalar' , T : 5 /* ScalarType.INT32 */ } ,
532
532
] )
533
533
0 commit comments