1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/storage/v1/storage.proto 3 4package storage 5 6import ( 7 context "context" 8 fmt "fmt" 9 math "math" 10 11 proto "github.com/golang/protobuf/proto" 12 empty "github.com/golang/protobuf/ptypes/empty" 13 wrappers "github.com/golang/protobuf/ptypes/wrappers" 14 _ "google.golang.org/genproto/googleapis/api/annotations" 15 v1 "google.golang.org/genproto/googleapis/iam/v1" 16 field_mask "google.golang.org/genproto/protobuf/field_mask" 17 grpc "google.golang.org/grpc" 18 codes "google.golang.org/grpc/codes" 19 status "google.golang.org/grpc/status" 20) 21 22// Reference imports to suppress errors if they are not otherwise used. 23var _ = proto.Marshal 24var _ = fmt.Errorf 25var _ = math.Inf 26 27// This is a compile-time assertion to ensure that this generated file 28// is compatible with the proto package it is being compiled against. 29// A compilation error at this line likely means your copy of the 30// proto package needs to be updated. 31const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 32 33// A collection of constant values meaningful to the Storage API. 34type ServiceConstants_Values int32 35 36const ( 37 // Unused. Proto3 requires first enum to be 0. 38 ServiceConstants_VALUES_UNSPECIFIED ServiceConstants_Values = 0 39 // The maximum size chunk that can will be returned in a single 40 // ReadRequest. 41 // 2 MiB. 42 ServiceConstants_MAX_READ_CHUNK_BYTES ServiceConstants_Values = 2097152 43 // The maximum size chunk that can be sent in a single InsertObjectRequest. 44 // 2 MiB. 45 ServiceConstants_MAX_WRITE_CHUNK_BYTES ServiceConstants_Values = 2097152 46 // The maximum size of an object in MB - whether written in a single stream 47 // or composed from multiple other objects. 48 // 5 TiB. 49 ServiceConstants_MAX_OBJECT_SIZE_MB ServiceConstants_Values = 5242880 50 // The maximum length field name that can be sent in a single 51 // custom metadata field. 52 // 1 KiB. 53 ServiceConstants_MAX_CUSTOM_METADATA_FIELD_NAME_BYTES ServiceConstants_Values = 1024 54 // The maximum length field value that can be sent in a single 55 // custom_metadata field. 56 // 4 KiB. 57 ServiceConstants_MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES ServiceConstants_Values = 4096 58 // The maximum total bytes that can be populated into all field names and 59 // values of the custom_metadata for one object. 60 // 8 KiB. 61 ServiceConstants_MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES ServiceConstants_Values = 8192 62 // The maximum total bytes that can be populated into all bucket metadata 63 // fields. 64 // 20 KiB. 65 ServiceConstants_MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES ServiceConstants_Values = 20480 66 // The maximum number of NotificationConfigurations that can be registered 67 // for a given bucket. 68 ServiceConstants_MAX_NOTIFICATION_CONFIGS_PER_BUCKET ServiceConstants_Values = 100 69 // The maximum number of LifecycleRules that can be registered for a given 70 // bucket. 71 ServiceConstants_MAX_LIFECYCLE_RULES_PER_BUCKET ServiceConstants_Values = 100 72 // The maximum number of custom attributes per NotificationConfig. 73 ServiceConstants_MAX_NOTIFICATION_CUSTOM_ATTRIBUTES ServiceConstants_Values = 5 74 // The maximum length of a custom attribute key included in 75 // NotificationConfig. 76 ServiceConstants_MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH ServiceConstants_Values = 256 77 // The maximum length of a custom attribute value included in a 78 // NotificationConfig. 79 ServiceConstants_MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH ServiceConstants_Values = 1024 80 // The maximum number of key/value entries per bucket label. 81 ServiceConstants_MAX_LABELS_ENTRIES_COUNT ServiceConstants_Values = 64 82 // The maximum character length of the key or value in a bucket 83 // label map. 84 ServiceConstants_MAX_LABELS_KEY_VALUE_LENGTH ServiceConstants_Values = 63 85 // The maximum byte size of the key or value in a bucket label 86 // map. 87 ServiceConstants_MAX_LABELS_KEY_VALUE_BYTES ServiceConstants_Values = 128 88 // The maximum number of object IDs that can be included in a 89 // DeleteObjectsRequest. 90 ServiceConstants_MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST ServiceConstants_Values = 1000 91 // The maximum number of days for which a token returned by the 92 // GetListObjectsSplitPoints RPC is valid. 93 ServiceConstants_SPLIT_TOKEN_MAX_VALID_DAYS ServiceConstants_Values = 14 94) 95 96var ServiceConstants_Values_name = map[int32]string{ 97 0: "VALUES_UNSPECIFIED", 98 2097152: "MAX_READ_CHUNK_BYTES", 99 // Duplicate value: 2097152: "MAX_WRITE_CHUNK_BYTES", 100 5242880: "MAX_OBJECT_SIZE_MB", 101 1024: "MAX_CUSTOM_METADATA_FIELD_NAME_BYTES", 102 4096: "MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES", 103 8192: "MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES", 104 20480: "MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES", 105 100: "MAX_NOTIFICATION_CONFIGS_PER_BUCKET", 106 // Duplicate value: 100: "MAX_LIFECYCLE_RULES_PER_BUCKET", 107 5: "MAX_NOTIFICATION_CUSTOM_ATTRIBUTES", 108 256: "MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH", 109 // Duplicate value: 1024: "MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH", 110 64: "MAX_LABELS_ENTRIES_COUNT", 111 63: "MAX_LABELS_KEY_VALUE_LENGTH", 112 128: "MAX_LABELS_KEY_VALUE_BYTES", 113 1000: "MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST", 114 14: "SPLIT_TOKEN_MAX_VALID_DAYS", 115} 116 117var ServiceConstants_Values_value = map[string]int32{ 118 "VALUES_UNSPECIFIED": 0, 119 "MAX_READ_CHUNK_BYTES": 2097152, 120 "MAX_WRITE_CHUNK_BYTES": 2097152, 121 "MAX_OBJECT_SIZE_MB": 5242880, 122 "MAX_CUSTOM_METADATA_FIELD_NAME_BYTES": 1024, 123 "MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES": 4096, 124 "MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES": 8192, 125 "MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES": 20480, 126 "MAX_NOTIFICATION_CONFIGS_PER_BUCKET": 100, 127 "MAX_LIFECYCLE_RULES_PER_BUCKET": 100, 128 "MAX_NOTIFICATION_CUSTOM_ATTRIBUTES": 5, 129 "MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH": 256, 130 "MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH": 1024, 131 "MAX_LABELS_ENTRIES_COUNT": 64, 132 "MAX_LABELS_KEY_VALUE_LENGTH": 63, 133 "MAX_LABELS_KEY_VALUE_BYTES": 128, 134 "MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST": 1000, 135 "SPLIT_TOKEN_MAX_VALID_DAYS": 14, 136} 137 138func (x ServiceConstants_Values) String() string { 139 return proto.EnumName(ServiceConstants_Values_name, int32(x)) 140} 141 142func (ServiceConstants_Values) EnumDescriptor() ([]byte, []int) { 143 return fileDescriptor_cfff1fb85921a0a4, []int{62, 0} 144} 145 146// Request message for DeleteBucketAccessControl. 147type DeleteBucketAccessControlRequest struct { 148 // Required. Name of a bucket. 149 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 150 // Required. The entity holding the permission. Can be one of: 151 // * `user-`*userId* 152 // * `user-`*emailAddress* 153 // * `group-`*groupId* 154 // * `group-`*emailAddress* 155 // * `allUsers` 156 // * `allAuthenticatedUsers` 157 Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` 158 // A set of parameters common to all Storage API requests. 159 CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 160 XXX_NoUnkeyedLiteral struct{} `json:"-"` 161 XXX_unrecognized []byte `json:"-"` 162 XXX_sizecache int32 `json:"-"` 163} 164 165func (m *DeleteBucketAccessControlRequest) Reset() { *m = DeleteBucketAccessControlRequest{} } 166func (m *DeleteBucketAccessControlRequest) String() string { return proto.CompactTextString(m) } 167func (*DeleteBucketAccessControlRequest) ProtoMessage() {} 168func (*DeleteBucketAccessControlRequest) Descriptor() ([]byte, []int) { 169 return fileDescriptor_cfff1fb85921a0a4, []int{0} 170} 171 172func (m *DeleteBucketAccessControlRequest) XXX_Unmarshal(b []byte) error { 173 return xxx_messageInfo_DeleteBucketAccessControlRequest.Unmarshal(m, b) 174} 175func (m *DeleteBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 176 return xxx_messageInfo_DeleteBucketAccessControlRequest.Marshal(b, m, deterministic) 177} 178func (m *DeleteBucketAccessControlRequest) XXX_Merge(src proto.Message) { 179 xxx_messageInfo_DeleteBucketAccessControlRequest.Merge(m, src) 180} 181func (m *DeleteBucketAccessControlRequest) XXX_Size() int { 182 return xxx_messageInfo_DeleteBucketAccessControlRequest.Size(m) 183} 184func (m *DeleteBucketAccessControlRequest) XXX_DiscardUnknown() { 185 xxx_messageInfo_DeleteBucketAccessControlRequest.DiscardUnknown(m) 186} 187 188var xxx_messageInfo_DeleteBucketAccessControlRequest proto.InternalMessageInfo 189 190func (m *DeleteBucketAccessControlRequest) GetBucket() string { 191 if m != nil { 192 return m.Bucket 193 } 194 return "" 195} 196 197func (m *DeleteBucketAccessControlRequest) GetEntity() string { 198 if m != nil { 199 return m.Entity 200 } 201 return "" 202} 203 204func (m *DeleteBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 205 if m != nil { 206 return m.CommonRequestParams 207 } 208 return nil 209} 210 211// Request message for GetBucketAccessControl. 212type GetBucketAccessControlRequest struct { 213 // Required. Name of a bucket. 214 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 215 // Required. The entity holding the permission. Can be one of: 216 // * `user-`*userId* 217 // * `user-`*emailAddress* 218 // * `group-`*groupId* 219 // * `group-`*emailAddress* 220 // * `allUsers` 221 // * `allAuthenticatedUsers` 222 Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` 223 // A set of parameters common to all Storage API requests. 224 CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 225 XXX_NoUnkeyedLiteral struct{} `json:"-"` 226 XXX_unrecognized []byte `json:"-"` 227 XXX_sizecache int32 `json:"-"` 228} 229 230func (m *GetBucketAccessControlRequest) Reset() { *m = GetBucketAccessControlRequest{} } 231func (m *GetBucketAccessControlRequest) String() string { return proto.CompactTextString(m) } 232func (*GetBucketAccessControlRequest) ProtoMessage() {} 233func (*GetBucketAccessControlRequest) Descriptor() ([]byte, []int) { 234 return fileDescriptor_cfff1fb85921a0a4, []int{1} 235} 236 237func (m *GetBucketAccessControlRequest) XXX_Unmarshal(b []byte) error { 238 return xxx_messageInfo_GetBucketAccessControlRequest.Unmarshal(m, b) 239} 240func (m *GetBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 241 return xxx_messageInfo_GetBucketAccessControlRequest.Marshal(b, m, deterministic) 242} 243func (m *GetBucketAccessControlRequest) XXX_Merge(src proto.Message) { 244 xxx_messageInfo_GetBucketAccessControlRequest.Merge(m, src) 245} 246func (m *GetBucketAccessControlRequest) XXX_Size() int { 247 return xxx_messageInfo_GetBucketAccessControlRequest.Size(m) 248} 249func (m *GetBucketAccessControlRequest) XXX_DiscardUnknown() { 250 xxx_messageInfo_GetBucketAccessControlRequest.DiscardUnknown(m) 251} 252 253var xxx_messageInfo_GetBucketAccessControlRequest proto.InternalMessageInfo 254 255func (m *GetBucketAccessControlRequest) GetBucket() string { 256 if m != nil { 257 return m.Bucket 258 } 259 return "" 260} 261 262func (m *GetBucketAccessControlRequest) GetEntity() string { 263 if m != nil { 264 return m.Entity 265 } 266 return "" 267} 268 269func (m *GetBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 270 if m != nil { 271 return m.CommonRequestParams 272 } 273 return nil 274} 275 276// Request message for InsertBucketAccessControl. 277type InsertBucketAccessControlRequest struct { 278 // Required. Name of a bucket. 279 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 280 // Properties of the new bucket access control being inserted. 281 BucketAccessControl *BucketAccessControl `protobuf:"bytes,3,opt,name=bucket_access_control,json=bucketAccessControl,proto3" json:"bucket_access_control,omitempty"` 282 // A set of parameters common to all Storage API requests. 283 CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 284 XXX_NoUnkeyedLiteral struct{} `json:"-"` 285 XXX_unrecognized []byte `json:"-"` 286 XXX_sizecache int32 `json:"-"` 287} 288 289func (m *InsertBucketAccessControlRequest) Reset() { *m = InsertBucketAccessControlRequest{} } 290func (m *InsertBucketAccessControlRequest) String() string { return proto.CompactTextString(m) } 291func (*InsertBucketAccessControlRequest) ProtoMessage() {} 292func (*InsertBucketAccessControlRequest) Descriptor() ([]byte, []int) { 293 return fileDescriptor_cfff1fb85921a0a4, []int{2} 294} 295 296func (m *InsertBucketAccessControlRequest) XXX_Unmarshal(b []byte) error { 297 return xxx_messageInfo_InsertBucketAccessControlRequest.Unmarshal(m, b) 298} 299func (m *InsertBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 300 return xxx_messageInfo_InsertBucketAccessControlRequest.Marshal(b, m, deterministic) 301} 302func (m *InsertBucketAccessControlRequest) XXX_Merge(src proto.Message) { 303 xxx_messageInfo_InsertBucketAccessControlRequest.Merge(m, src) 304} 305func (m *InsertBucketAccessControlRequest) XXX_Size() int { 306 return xxx_messageInfo_InsertBucketAccessControlRequest.Size(m) 307} 308func (m *InsertBucketAccessControlRequest) XXX_DiscardUnknown() { 309 xxx_messageInfo_InsertBucketAccessControlRequest.DiscardUnknown(m) 310} 311 312var xxx_messageInfo_InsertBucketAccessControlRequest proto.InternalMessageInfo 313 314func (m *InsertBucketAccessControlRequest) GetBucket() string { 315 if m != nil { 316 return m.Bucket 317 } 318 return "" 319} 320 321func (m *InsertBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl { 322 if m != nil { 323 return m.BucketAccessControl 324 } 325 return nil 326} 327 328func (m *InsertBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 329 if m != nil { 330 return m.CommonRequestParams 331 } 332 return nil 333} 334 335// Request message for ListBucketAccessControl. 336type ListBucketAccessControlsRequest struct { 337 // Required. Name of a bucket. 338 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 339 // A set of parameters common to all Storage API requests. 340 CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 341 XXX_NoUnkeyedLiteral struct{} `json:"-"` 342 XXX_unrecognized []byte `json:"-"` 343 XXX_sizecache int32 `json:"-"` 344} 345 346func (m *ListBucketAccessControlsRequest) Reset() { *m = ListBucketAccessControlsRequest{} } 347func (m *ListBucketAccessControlsRequest) String() string { return proto.CompactTextString(m) } 348func (*ListBucketAccessControlsRequest) ProtoMessage() {} 349func (*ListBucketAccessControlsRequest) Descriptor() ([]byte, []int) { 350 return fileDescriptor_cfff1fb85921a0a4, []int{3} 351} 352 353func (m *ListBucketAccessControlsRequest) XXX_Unmarshal(b []byte) error { 354 return xxx_messageInfo_ListBucketAccessControlsRequest.Unmarshal(m, b) 355} 356func (m *ListBucketAccessControlsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 357 return xxx_messageInfo_ListBucketAccessControlsRequest.Marshal(b, m, deterministic) 358} 359func (m *ListBucketAccessControlsRequest) XXX_Merge(src proto.Message) { 360 xxx_messageInfo_ListBucketAccessControlsRequest.Merge(m, src) 361} 362func (m *ListBucketAccessControlsRequest) XXX_Size() int { 363 return xxx_messageInfo_ListBucketAccessControlsRequest.Size(m) 364} 365func (m *ListBucketAccessControlsRequest) XXX_DiscardUnknown() { 366 xxx_messageInfo_ListBucketAccessControlsRequest.DiscardUnknown(m) 367} 368 369var xxx_messageInfo_ListBucketAccessControlsRequest proto.InternalMessageInfo 370 371func (m *ListBucketAccessControlsRequest) GetBucket() string { 372 if m != nil { 373 return m.Bucket 374 } 375 return "" 376} 377 378func (m *ListBucketAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams { 379 if m != nil { 380 return m.CommonRequestParams 381 } 382 return nil 383} 384 385// Request for PatchBucketAccessControl. 386type PatchBucketAccessControlRequest struct { 387 // Required. Name of a bucket. 388 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 389 // Required. The entity holding the permission. Can be one of: 390 // * `user-`*userId* 391 // * `user-`*emailAddress* 392 // * `group-`*groupId* 393 // * `group-`*emailAddress* 394 // * `allUsers` 395 // * `allAuthenticatedUsers` 396 Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` 397 // The BucketAccessControl for updating. 398 BucketAccessControl *BucketAccessControl `protobuf:"bytes,4,opt,name=bucket_access_control,json=bucketAccessControl,proto3" json:"bucket_access_control,omitempty"` 399 // List of fields to be updated. 400 // 401 // To specify ALL fields, equivalent to the JSON API's "update" function, 402 // specify a single field with the value `*`. 403 // 404 // 405 // Not specifying any fields is an error. 406 // Not specifying a field while setting that field to a non-default value is 407 // an error. 408 UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 409 // A set of parameters common to all Storage API requests. 410 CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 411 XXX_NoUnkeyedLiteral struct{} `json:"-"` 412 XXX_unrecognized []byte `json:"-"` 413 XXX_sizecache int32 `json:"-"` 414} 415 416func (m *PatchBucketAccessControlRequest) Reset() { *m = PatchBucketAccessControlRequest{} } 417func (m *PatchBucketAccessControlRequest) String() string { return proto.CompactTextString(m) } 418func (*PatchBucketAccessControlRequest) ProtoMessage() {} 419func (*PatchBucketAccessControlRequest) Descriptor() ([]byte, []int) { 420 return fileDescriptor_cfff1fb85921a0a4, []int{4} 421} 422 423func (m *PatchBucketAccessControlRequest) XXX_Unmarshal(b []byte) error { 424 return xxx_messageInfo_PatchBucketAccessControlRequest.Unmarshal(m, b) 425} 426func (m *PatchBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 427 return xxx_messageInfo_PatchBucketAccessControlRequest.Marshal(b, m, deterministic) 428} 429func (m *PatchBucketAccessControlRequest) XXX_Merge(src proto.Message) { 430 xxx_messageInfo_PatchBucketAccessControlRequest.Merge(m, src) 431} 432func (m *PatchBucketAccessControlRequest) XXX_Size() int { 433 return xxx_messageInfo_PatchBucketAccessControlRequest.Size(m) 434} 435func (m *PatchBucketAccessControlRequest) XXX_DiscardUnknown() { 436 xxx_messageInfo_PatchBucketAccessControlRequest.DiscardUnknown(m) 437} 438 439var xxx_messageInfo_PatchBucketAccessControlRequest proto.InternalMessageInfo 440 441func (m *PatchBucketAccessControlRequest) GetBucket() string { 442 if m != nil { 443 return m.Bucket 444 } 445 return "" 446} 447 448func (m *PatchBucketAccessControlRequest) GetEntity() string { 449 if m != nil { 450 return m.Entity 451 } 452 return "" 453} 454 455func (m *PatchBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl { 456 if m != nil { 457 return m.BucketAccessControl 458 } 459 return nil 460} 461 462func (m *PatchBucketAccessControlRequest) GetUpdateMask() *field_mask.FieldMask { 463 if m != nil { 464 return m.UpdateMask 465 } 466 return nil 467} 468 469func (m *PatchBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 470 if m != nil { 471 return m.CommonRequestParams 472 } 473 return nil 474} 475 476// Request for UpdateBucketAccessControl. 477type UpdateBucketAccessControlRequest struct { 478 // Required. Name of a bucket. 479 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 480 // Required. The entity holding the permission. Can be one of: 481 // * `user-`*userId* 482 // * `user-`*emailAddress* 483 // * `group-`*groupId* 484 // * `group-`*emailAddress* 485 // * `allUsers` 486 // * `allAuthenticatedUsers` 487 Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` 488 // The BucketAccessControl for updating. 489 BucketAccessControl *BucketAccessControl `protobuf:"bytes,4,opt,name=bucket_access_control,json=bucketAccessControl,proto3" json:"bucket_access_control,omitempty"` 490 // A set of parameters common to all Storage API requests. 491 CommonRequestParams *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 492 XXX_NoUnkeyedLiteral struct{} `json:"-"` 493 XXX_unrecognized []byte `json:"-"` 494 XXX_sizecache int32 `json:"-"` 495} 496 497func (m *UpdateBucketAccessControlRequest) Reset() { *m = UpdateBucketAccessControlRequest{} } 498func (m *UpdateBucketAccessControlRequest) String() string { return proto.CompactTextString(m) } 499func (*UpdateBucketAccessControlRequest) ProtoMessage() {} 500func (*UpdateBucketAccessControlRequest) Descriptor() ([]byte, []int) { 501 return fileDescriptor_cfff1fb85921a0a4, []int{5} 502} 503 504func (m *UpdateBucketAccessControlRequest) XXX_Unmarshal(b []byte) error { 505 return xxx_messageInfo_UpdateBucketAccessControlRequest.Unmarshal(m, b) 506} 507func (m *UpdateBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 508 return xxx_messageInfo_UpdateBucketAccessControlRequest.Marshal(b, m, deterministic) 509} 510func (m *UpdateBucketAccessControlRequest) XXX_Merge(src proto.Message) { 511 xxx_messageInfo_UpdateBucketAccessControlRequest.Merge(m, src) 512} 513func (m *UpdateBucketAccessControlRequest) XXX_Size() int { 514 return xxx_messageInfo_UpdateBucketAccessControlRequest.Size(m) 515} 516func (m *UpdateBucketAccessControlRequest) XXX_DiscardUnknown() { 517 xxx_messageInfo_UpdateBucketAccessControlRequest.DiscardUnknown(m) 518} 519 520var xxx_messageInfo_UpdateBucketAccessControlRequest proto.InternalMessageInfo 521 522func (m *UpdateBucketAccessControlRequest) GetBucket() string { 523 if m != nil { 524 return m.Bucket 525 } 526 return "" 527} 528 529func (m *UpdateBucketAccessControlRequest) GetEntity() string { 530 if m != nil { 531 return m.Entity 532 } 533 return "" 534} 535 536func (m *UpdateBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl { 537 if m != nil { 538 return m.BucketAccessControl 539 } 540 return nil 541} 542 543func (m *UpdateBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 544 if m != nil { 545 return m.CommonRequestParams 546 } 547 return nil 548} 549 550// Request message for DeleteBucket. 551type DeleteBucketRequest struct { 552 // Required. Name of a bucket. 553 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 554 // If set, only deletes the bucket if its metageneration matches this value. 555 IfMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,2,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 556 // If set, only deletes the bucket if its metageneration does not match this 557 // value. 558 IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,3,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"` 559 // A set of parameters common to all Storage API requests. 560 CommonRequestParams *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 561 XXX_NoUnkeyedLiteral struct{} `json:"-"` 562 XXX_unrecognized []byte `json:"-"` 563 XXX_sizecache int32 `json:"-"` 564} 565 566func (m *DeleteBucketRequest) Reset() { *m = DeleteBucketRequest{} } 567func (m *DeleteBucketRequest) String() string { return proto.CompactTextString(m) } 568func (*DeleteBucketRequest) ProtoMessage() {} 569func (*DeleteBucketRequest) Descriptor() ([]byte, []int) { 570 return fileDescriptor_cfff1fb85921a0a4, []int{6} 571} 572 573func (m *DeleteBucketRequest) XXX_Unmarshal(b []byte) error { 574 return xxx_messageInfo_DeleteBucketRequest.Unmarshal(m, b) 575} 576func (m *DeleteBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 577 return xxx_messageInfo_DeleteBucketRequest.Marshal(b, m, deterministic) 578} 579func (m *DeleteBucketRequest) XXX_Merge(src proto.Message) { 580 xxx_messageInfo_DeleteBucketRequest.Merge(m, src) 581} 582func (m *DeleteBucketRequest) XXX_Size() int { 583 return xxx_messageInfo_DeleteBucketRequest.Size(m) 584} 585func (m *DeleteBucketRequest) XXX_DiscardUnknown() { 586 xxx_messageInfo_DeleteBucketRequest.DiscardUnknown(m) 587} 588 589var xxx_messageInfo_DeleteBucketRequest proto.InternalMessageInfo 590 591func (m *DeleteBucketRequest) GetBucket() string { 592 if m != nil { 593 return m.Bucket 594 } 595 return "" 596} 597 598func (m *DeleteBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value { 599 if m != nil { 600 return m.IfMetagenerationMatch 601 } 602 return nil 603} 604 605func (m *DeleteBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value { 606 if m != nil { 607 return m.IfMetagenerationNotMatch 608 } 609 return nil 610} 611 612func (m *DeleteBucketRequest) GetCommonRequestParams() *CommonRequestParams { 613 if m != nil { 614 return m.CommonRequestParams 615 } 616 return nil 617} 618 619// Request message for GetBucket. 620type GetBucketRequest struct { 621 // Required. Name of a bucket. 622 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 623 // Makes the return of the bucket metadata conditional on whether the bucket's 624 // current metageneration matches the given value. 625 IfMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,2,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 626 // Makes the return of the bucket metadata conditional on whether the bucket's 627 // current metageneration does not match the given value. 628 IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,3,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"` 629 // Set of properties to return. Defaults to `NO_ACL`. 630 Projection CommonEnums_Projection `protobuf:"varint,4,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` 631 // A set of parameters common to all Storage API requests. 632 CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 633 XXX_NoUnkeyedLiteral struct{} `json:"-"` 634 XXX_unrecognized []byte `json:"-"` 635 XXX_sizecache int32 `json:"-"` 636} 637 638func (m *GetBucketRequest) Reset() { *m = GetBucketRequest{} } 639func (m *GetBucketRequest) String() string { return proto.CompactTextString(m) } 640func (*GetBucketRequest) ProtoMessage() {} 641func (*GetBucketRequest) Descriptor() ([]byte, []int) { 642 return fileDescriptor_cfff1fb85921a0a4, []int{7} 643} 644 645func (m *GetBucketRequest) XXX_Unmarshal(b []byte) error { 646 return xxx_messageInfo_GetBucketRequest.Unmarshal(m, b) 647} 648func (m *GetBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 649 return xxx_messageInfo_GetBucketRequest.Marshal(b, m, deterministic) 650} 651func (m *GetBucketRequest) XXX_Merge(src proto.Message) { 652 xxx_messageInfo_GetBucketRequest.Merge(m, src) 653} 654func (m *GetBucketRequest) XXX_Size() int { 655 return xxx_messageInfo_GetBucketRequest.Size(m) 656} 657func (m *GetBucketRequest) XXX_DiscardUnknown() { 658 xxx_messageInfo_GetBucketRequest.DiscardUnknown(m) 659} 660 661var xxx_messageInfo_GetBucketRequest proto.InternalMessageInfo 662 663func (m *GetBucketRequest) GetBucket() string { 664 if m != nil { 665 return m.Bucket 666 } 667 return "" 668} 669 670func (m *GetBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value { 671 if m != nil { 672 return m.IfMetagenerationMatch 673 } 674 return nil 675} 676 677func (m *GetBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value { 678 if m != nil { 679 return m.IfMetagenerationNotMatch 680 } 681 return nil 682} 683 684func (m *GetBucketRequest) GetProjection() CommonEnums_Projection { 685 if m != nil { 686 return m.Projection 687 } 688 return CommonEnums_PROJECTION_UNSPECIFIED 689} 690 691func (m *GetBucketRequest) GetCommonRequestParams() *CommonRequestParams { 692 if m != nil { 693 return m.CommonRequestParams 694 } 695 return nil 696} 697 698// Request message for InsertBucket. 699type InsertBucketRequest struct { 700 // Apply a predefined set of access controls to this bucket. 701 PredefinedAcl CommonEnums_PredefinedBucketAcl `protobuf:"varint,1,opt,name=predefined_acl,json=predefinedAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedBucketAcl" json:"predefined_acl,omitempty"` 702 // Apply a predefined set of default object access controls to this bucket. 703 PredefinedDefaultObjectAcl CommonEnums_PredefinedObjectAcl `protobuf:"varint,2,opt,name=predefined_default_object_acl,json=predefinedDefaultObjectAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedObjectAcl" json:"predefined_default_object_acl,omitempty"` 704 // Required. A valid API project identifier. 705 Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` 706 // Set of properties to return. Defaults to `NO_ACL`, unless the 707 // bucket resource specifies `acl` or `defaultObjectAcl` 708 // properties, when it defaults to `FULL`. 709 Projection CommonEnums_Projection `protobuf:"varint,4,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` 710 // Properties of the new bucket being inserted, including its name. 711 Bucket *Bucket `protobuf:"bytes,6,opt,name=bucket,proto3" json:"bucket,omitempty"` 712 // A set of parameters common to all Storage API requests. 713 CommonRequestParams *CommonRequestParams `protobuf:"bytes,7,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 714 XXX_NoUnkeyedLiteral struct{} `json:"-"` 715 XXX_unrecognized []byte `json:"-"` 716 XXX_sizecache int32 `json:"-"` 717} 718 719func (m *InsertBucketRequest) Reset() { *m = InsertBucketRequest{} } 720func (m *InsertBucketRequest) String() string { return proto.CompactTextString(m) } 721func (*InsertBucketRequest) ProtoMessage() {} 722func (*InsertBucketRequest) Descriptor() ([]byte, []int) { 723 return fileDescriptor_cfff1fb85921a0a4, []int{8} 724} 725 726func (m *InsertBucketRequest) XXX_Unmarshal(b []byte) error { 727 return xxx_messageInfo_InsertBucketRequest.Unmarshal(m, b) 728} 729func (m *InsertBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 730 return xxx_messageInfo_InsertBucketRequest.Marshal(b, m, deterministic) 731} 732func (m *InsertBucketRequest) XXX_Merge(src proto.Message) { 733 xxx_messageInfo_InsertBucketRequest.Merge(m, src) 734} 735func (m *InsertBucketRequest) XXX_Size() int { 736 return xxx_messageInfo_InsertBucketRequest.Size(m) 737} 738func (m *InsertBucketRequest) XXX_DiscardUnknown() { 739 xxx_messageInfo_InsertBucketRequest.DiscardUnknown(m) 740} 741 742var xxx_messageInfo_InsertBucketRequest proto.InternalMessageInfo 743 744func (m *InsertBucketRequest) GetPredefinedAcl() CommonEnums_PredefinedBucketAcl { 745 if m != nil { 746 return m.PredefinedAcl 747 } 748 return CommonEnums_PREDEFINED_BUCKET_ACL_UNSPECIFIED 749} 750 751func (m *InsertBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl { 752 if m != nil { 753 return m.PredefinedDefaultObjectAcl 754 } 755 return CommonEnums_PREDEFINED_OBJECT_ACL_UNSPECIFIED 756} 757 758func (m *InsertBucketRequest) GetProject() string { 759 if m != nil { 760 return m.Project 761 } 762 return "" 763} 764 765func (m *InsertBucketRequest) GetProjection() CommonEnums_Projection { 766 if m != nil { 767 return m.Projection 768 } 769 return CommonEnums_PROJECTION_UNSPECIFIED 770} 771 772func (m *InsertBucketRequest) GetBucket() *Bucket { 773 if m != nil { 774 return m.Bucket 775 } 776 return nil 777} 778 779func (m *InsertBucketRequest) GetCommonRequestParams() *CommonRequestParams { 780 if m != nil { 781 return m.CommonRequestParams 782 } 783 return nil 784} 785 786// Request message for ListChannels. 787type ListChannelsRequest struct { 788 // Required. Name of a bucket. 789 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 790 // A set of parameters common to all Storage API requests. 791 CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 792 XXX_NoUnkeyedLiteral struct{} `json:"-"` 793 XXX_unrecognized []byte `json:"-"` 794 XXX_sizecache int32 `json:"-"` 795} 796 797func (m *ListChannelsRequest) Reset() { *m = ListChannelsRequest{} } 798func (m *ListChannelsRequest) String() string { return proto.CompactTextString(m) } 799func (*ListChannelsRequest) ProtoMessage() {} 800func (*ListChannelsRequest) Descriptor() ([]byte, []int) { 801 return fileDescriptor_cfff1fb85921a0a4, []int{9} 802} 803 804func (m *ListChannelsRequest) XXX_Unmarshal(b []byte) error { 805 return xxx_messageInfo_ListChannelsRequest.Unmarshal(m, b) 806} 807func (m *ListChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 808 return xxx_messageInfo_ListChannelsRequest.Marshal(b, m, deterministic) 809} 810func (m *ListChannelsRequest) XXX_Merge(src proto.Message) { 811 xxx_messageInfo_ListChannelsRequest.Merge(m, src) 812} 813func (m *ListChannelsRequest) XXX_Size() int { 814 return xxx_messageInfo_ListChannelsRequest.Size(m) 815} 816func (m *ListChannelsRequest) XXX_DiscardUnknown() { 817 xxx_messageInfo_ListChannelsRequest.DiscardUnknown(m) 818} 819 820var xxx_messageInfo_ListChannelsRequest proto.InternalMessageInfo 821 822func (m *ListChannelsRequest) GetBucket() string { 823 if m != nil { 824 return m.Bucket 825 } 826 return "" 827} 828 829func (m *ListChannelsRequest) GetCommonRequestParams() *CommonRequestParams { 830 if m != nil { 831 return m.CommonRequestParams 832 } 833 return nil 834} 835 836// Request message for ListBuckets. 837type ListBucketsRequest struct { 838 // Maximum number of buckets to return in a single response. The service will 839 // use this parameter or 1,000 items, whichever is smaller. 840 MaxResults int32 `protobuf:"varint,1,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` 841 // A previously-returned page token representing part of the larger set of 842 // results to view. 843 PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 844 // Filter results to buckets whose names begin with this prefix. 845 Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` 846 // Required. A valid API project identifier. 847 Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` 848 // Set of properties to return. Defaults to `NO_ACL`. 849 Projection CommonEnums_Projection `protobuf:"varint,5,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` 850 // A set of parameters common to all Storage API requests. 851 CommonRequestParams *CommonRequestParams `protobuf:"bytes,7,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 852 XXX_NoUnkeyedLiteral struct{} `json:"-"` 853 XXX_unrecognized []byte `json:"-"` 854 XXX_sizecache int32 `json:"-"` 855} 856 857func (m *ListBucketsRequest) Reset() { *m = ListBucketsRequest{} } 858func (m *ListBucketsRequest) String() string { return proto.CompactTextString(m) } 859func (*ListBucketsRequest) ProtoMessage() {} 860func (*ListBucketsRequest) Descriptor() ([]byte, []int) { 861 return fileDescriptor_cfff1fb85921a0a4, []int{10} 862} 863 864func (m *ListBucketsRequest) XXX_Unmarshal(b []byte) error { 865 return xxx_messageInfo_ListBucketsRequest.Unmarshal(m, b) 866} 867func (m *ListBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 868 return xxx_messageInfo_ListBucketsRequest.Marshal(b, m, deterministic) 869} 870func (m *ListBucketsRequest) XXX_Merge(src proto.Message) { 871 xxx_messageInfo_ListBucketsRequest.Merge(m, src) 872} 873func (m *ListBucketsRequest) XXX_Size() int { 874 return xxx_messageInfo_ListBucketsRequest.Size(m) 875} 876func (m *ListBucketsRequest) XXX_DiscardUnknown() { 877 xxx_messageInfo_ListBucketsRequest.DiscardUnknown(m) 878} 879 880var xxx_messageInfo_ListBucketsRequest proto.InternalMessageInfo 881 882func (m *ListBucketsRequest) GetMaxResults() int32 { 883 if m != nil { 884 return m.MaxResults 885 } 886 return 0 887} 888 889func (m *ListBucketsRequest) GetPageToken() string { 890 if m != nil { 891 return m.PageToken 892 } 893 return "" 894} 895 896func (m *ListBucketsRequest) GetPrefix() string { 897 if m != nil { 898 return m.Prefix 899 } 900 return "" 901} 902 903func (m *ListBucketsRequest) GetProject() string { 904 if m != nil { 905 return m.Project 906 } 907 return "" 908} 909 910func (m *ListBucketsRequest) GetProjection() CommonEnums_Projection { 911 if m != nil { 912 return m.Projection 913 } 914 return CommonEnums_PROJECTION_UNSPECIFIED 915} 916 917func (m *ListBucketsRequest) GetCommonRequestParams() *CommonRequestParams { 918 if m != nil { 919 return m.CommonRequestParams 920 } 921 return nil 922} 923 924// Request message for LockRetentionPolicy. 925type LockRetentionPolicyRequest struct { 926 // Required. Name of a bucket. 927 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 928 // Makes the operation conditional on whether bucket's current metageneration 929 // matches the given value. Must be positive. 930 IfMetagenerationMatch int64 `protobuf:"varint,2,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 931 // A set of parameters common to all Storage API requests. 932 CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 933 XXX_NoUnkeyedLiteral struct{} `json:"-"` 934 XXX_unrecognized []byte `json:"-"` 935 XXX_sizecache int32 `json:"-"` 936} 937 938func (m *LockRetentionPolicyRequest) Reset() { *m = LockRetentionPolicyRequest{} } 939func (m *LockRetentionPolicyRequest) String() string { return proto.CompactTextString(m) } 940func (*LockRetentionPolicyRequest) ProtoMessage() {} 941func (*LockRetentionPolicyRequest) Descriptor() ([]byte, []int) { 942 return fileDescriptor_cfff1fb85921a0a4, []int{11} 943} 944 945func (m *LockRetentionPolicyRequest) XXX_Unmarshal(b []byte) error { 946 return xxx_messageInfo_LockRetentionPolicyRequest.Unmarshal(m, b) 947} 948func (m *LockRetentionPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 949 return xxx_messageInfo_LockRetentionPolicyRequest.Marshal(b, m, deterministic) 950} 951func (m *LockRetentionPolicyRequest) XXX_Merge(src proto.Message) { 952 xxx_messageInfo_LockRetentionPolicyRequest.Merge(m, src) 953} 954func (m *LockRetentionPolicyRequest) XXX_Size() int { 955 return xxx_messageInfo_LockRetentionPolicyRequest.Size(m) 956} 957func (m *LockRetentionPolicyRequest) XXX_DiscardUnknown() { 958 xxx_messageInfo_LockRetentionPolicyRequest.DiscardUnknown(m) 959} 960 961var xxx_messageInfo_LockRetentionPolicyRequest proto.InternalMessageInfo 962 963func (m *LockRetentionPolicyRequest) GetBucket() string { 964 if m != nil { 965 return m.Bucket 966 } 967 return "" 968} 969 970func (m *LockRetentionPolicyRequest) GetIfMetagenerationMatch() int64 { 971 if m != nil { 972 return m.IfMetagenerationMatch 973 } 974 return 0 975} 976 977func (m *LockRetentionPolicyRequest) GetCommonRequestParams() *CommonRequestParams { 978 if m != nil { 979 return m.CommonRequestParams 980 } 981 return nil 982} 983 984// Request for PatchBucket method. 985type PatchBucketRequest struct { 986 // Required. Name of a bucket. 987 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 988 // Makes the return of the bucket metadata conditional on whether the bucket's 989 // current metageneration matches the given value. 990 IfMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,2,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 991 // Makes the return of the bucket metadata conditional on whether the bucket's 992 // current metageneration does not match the given value. 993 IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,3,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"` 994 // Apply a predefined set of access controls to this bucket. 995 PredefinedAcl CommonEnums_PredefinedBucketAcl `protobuf:"varint,4,opt,name=predefined_acl,json=predefinedAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedBucketAcl" json:"predefined_acl,omitempty"` 996 // Apply a predefined set of default object access controls to this bucket. 997 PredefinedDefaultObjectAcl CommonEnums_PredefinedObjectAcl `protobuf:"varint,5,opt,name=predefined_default_object_acl,json=predefinedDefaultObjectAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedObjectAcl" json:"predefined_default_object_acl,omitempty"` 998 // Set of properties to return. Defaults to `FULL`. 999 Projection CommonEnums_Projection `protobuf:"varint,6,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` 1000 // The Bucket metadata for updating. 1001 Metadata *Bucket `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` 1002 // List of fields to be updated. 1003 // 1004 // To specify ALL fields, equivalent to the JSON API's "update" function, 1005 // specify a single field with the value `*`. Note: not recommended. If a new 1006 // field is introduced at a later time, an older client updating with the `*` 1007 // may accidentally reset the new field's value. 1008 // 1009 // Not specifying any fields is an error. 1010 // Not specifying a field while setting that field to a non-default value is 1011 // an error. 1012 UpdateMask *field_mask.FieldMask `protobuf:"bytes,9,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1013 // A set of parameters common to all Storage API requests. 1014 CommonRequestParams *CommonRequestParams `protobuf:"bytes,10,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 1015 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1016 XXX_unrecognized []byte `json:"-"` 1017 XXX_sizecache int32 `json:"-"` 1018} 1019 1020func (m *PatchBucketRequest) Reset() { *m = PatchBucketRequest{} } 1021func (m *PatchBucketRequest) String() string { return proto.CompactTextString(m) } 1022func (*PatchBucketRequest) ProtoMessage() {} 1023func (*PatchBucketRequest) Descriptor() ([]byte, []int) { 1024 return fileDescriptor_cfff1fb85921a0a4, []int{12} 1025} 1026 1027func (m *PatchBucketRequest) XXX_Unmarshal(b []byte) error { 1028 return xxx_messageInfo_PatchBucketRequest.Unmarshal(m, b) 1029} 1030func (m *PatchBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1031 return xxx_messageInfo_PatchBucketRequest.Marshal(b, m, deterministic) 1032} 1033func (m *PatchBucketRequest) XXX_Merge(src proto.Message) { 1034 xxx_messageInfo_PatchBucketRequest.Merge(m, src) 1035} 1036func (m *PatchBucketRequest) XXX_Size() int { 1037 return xxx_messageInfo_PatchBucketRequest.Size(m) 1038} 1039func (m *PatchBucketRequest) XXX_DiscardUnknown() { 1040 xxx_messageInfo_PatchBucketRequest.DiscardUnknown(m) 1041} 1042 1043var xxx_messageInfo_PatchBucketRequest proto.InternalMessageInfo 1044 1045func (m *PatchBucketRequest) GetBucket() string { 1046 if m != nil { 1047 return m.Bucket 1048 } 1049 return "" 1050} 1051 1052func (m *PatchBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value { 1053 if m != nil { 1054 return m.IfMetagenerationMatch 1055 } 1056 return nil 1057} 1058 1059func (m *PatchBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value { 1060 if m != nil { 1061 return m.IfMetagenerationNotMatch 1062 } 1063 return nil 1064} 1065 1066func (m *PatchBucketRequest) GetPredefinedAcl() CommonEnums_PredefinedBucketAcl { 1067 if m != nil { 1068 return m.PredefinedAcl 1069 } 1070 return CommonEnums_PREDEFINED_BUCKET_ACL_UNSPECIFIED 1071} 1072 1073func (m *PatchBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl { 1074 if m != nil { 1075 return m.PredefinedDefaultObjectAcl 1076 } 1077 return CommonEnums_PREDEFINED_OBJECT_ACL_UNSPECIFIED 1078} 1079 1080func (m *PatchBucketRequest) GetProjection() CommonEnums_Projection { 1081 if m != nil { 1082 return m.Projection 1083 } 1084 return CommonEnums_PROJECTION_UNSPECIFIED 1085} 1086 1087func (m *PatchBucketRequest) GetMetadata() *Bucket { 1088 if m != nil { 1089 return m.Metadata 1090 } 1091 return nil 1092} 1093 1094func (m *PatchBucketRequest) GetUpdateMask() *field_mask.FieldMask { 1095 if m != nil { 1096 return m.UpdateMask 1097 } 1098 return nil 1099} 1100 1101func (m *PatchBucketRequest) GetCommonRequestParams() *CommonRequestParams { 1102 if m != nil { 1103 return m.CommonRequestParams 1104 } 1105 return nil 1106} 1107 1108// Request for UpdateBucket method. 1109type UpdateBucketRequest struct { 1110 // Required. Name of a bucket. 1111 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 1112 // Makes the return of the bucket metadata conditional on whether the bucket's 1113 // current metageneration matches the given value. 1114 IfMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,2,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 1115 // Makes the return of the bucket metadata conditional on whether the bucket's 1116 // current metageneration does not match the given value. 1117 IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,3,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"` 1118 // Apply a predefined set of access controls to this bucket. 1119 PredefinedAcl CommonEnums_PredefinedBucketAcl `protobuf:"varint,4,opt,name=predefined_acl,json=predefinedAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedBucketAcl" json:"predefined_acl,omitempty"` 1120 // Apply a predefined set of default object access controls to this bucket. 1121 PredefinedDefaultObjectAcl CommonEnums_PredefinedObjectAcl `protobuf:"varint,5,opt,name=predefined_default_object_acl,json=predefinedDefaultObjectAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedObjectAcl" json:"predefined_default_object_acl,omitempty"` 1122 // Set of properties to return. Defaults to `FULL`. 1123 Projection CommonEnums_Projection `protobuf:"varint,6,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` 1124 // The Bucket metadata for updating. 1125 Metadata *Bucket `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` 1126 // A set of parameters common to all Storage API requests. 1127 CommonRequestParams *CommonRequestParams `protobuf:"bytes,9,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 1128 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1129 XXX_unrecognized []byte `json:"-"` 1130 XXX_sizecache int32 `json:"-"` 1131} 1132 1133func (m *UpdateBucketRequest) Reset() { *m = UpdateBucketRequest{} } 1134func (m *UpdateBucketRequest) String() string { return proto.CompactTextString(m) } 1135func (*UpdateBucketRequest) ProtoMessage() {} 1136func (*UpdateBucketRequest) Descriptor() ([]byte, []int) { 1137 return fileDescriptor_cfff1fb85921a0a4, []int{13} 1138} 1139 1140func (m *UpdateBucketRequest) XXX_Unmarshal(b []byte) error { 1141 return xxx_messageInfo_UpdateBucketRequest.Unmarshal(m, b) 1142} 1143func (m *UpdateBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1144 return xxx_messageInfo_UpdateBucketRequest.Marshal(b, m, deterministic) 1145} 1146func (m *UpdateBucketRequest) XXX_Merge(src proto.Message) { 1147 xxx_messageInfo_UpdateBucketRequest.Merge(m, src) 1148} 1149func (m *UpdateBucketRequest) XXX_Size() int { 1150 return xxx_messageInfo_UpdateBucketRequest.Size(m) 1151} 1152func (m *UpdateBucketRequest) XXX_DiscardUnknown() { 1153 xxx_messageInfo_UpdateBucketRequest.DiscardUnknown(m) 1154} 1155 1156var xxx_messageInfo_UpdateBucketRequest proto.InternalMessageInfo 1157 1158func (m *UpdateBucketRequest) GetBucket() string { 1159 if m != nil { 1160 return m.Bucket 1161 } 1162 return "" 1163} 1164 1165func (m *UpdateBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value { 1166 if m != nil { 1167 return m.IfMetagenerationMatch 1168 } 1169 return nil 1170} 1171 1172func (m *UpdateBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value { 1173 if m != nil { 1174 return m.IfMetagenerationNotMatch 1175 } 1176 return nil 1177} 1178 1179func (m *UpdateBucketRequest) GetPredefinedAcl() CommonEnums_PredefinedBucketAcl { 1180 if m != nil { 1181 return m.PredefinedAcl 1182 } 1183 return CommonEnums_PREDEFINED_BUCKET_ACL_UNSPECIFIED 1184} 1185 1186func (m *UpdateBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl { 1187 if m != nil { 1188 return m.PredefinedDefaultObjectAcl 1189 } 1190 return CommonEnums_PREDEFINED_OBJECT_ACL_UNSPECIFIED 1191} 1192 1193func (m *UpdateBucketRequest) GetProjection() CommonEnums_Projection { 1194 if m != nil { 1195 return m.Projection 1196 } 1197 return CommonEnums_PROJECTION_UNSPECIFIED 1198} 1199 1200func (m *UpdateBucketRequest) GetMetadata() *Bucket { 1201 if m != nil { 1202 return m.Metadata 1203 } 1204 return nil 1205} 1206 1207func (m *UpdateBucketRequest) GetCommonRequestParams() *CommonRequestParams { 1208 if m != nil { 1209 return m.CommonRequestParams 1210 } 1211 return nil 1212} 1213 1214// Request message for StopChannel. 1215type StopChannelRequest struct { 1216 // The channel to be stopped. 1217 Channel *Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` 1218 // A set of parameters common to all Storage API requests. 1219 CommonRequestParams *CommonRequestParams `protobuf:"bytes,2,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 1220 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1221 XXX_unrecognized []byte `json:"-"` 1222 XXX_sizecache int32 `json:"-"` 1223} 1224 1225func (m *StopChannelRequest) Reset() { *m = StopChannelRequest{} } 1226func (m *StopChannelRequest) String() string { return proto.CompactTextString(m) } 1227func (*StopChannelRequest) ProtoMessage() {} 1228func (*StopChannelRequest) Descriptor() ([]byte, []int) { 1229 return fileDescriptor_cfff1fb85921a0a4, []int{14} 1230} 1231 1232func (m *StopChannelRequest) XXX_Unmarshal(b []byte) error { 1233 return xxx_messageInfo_StopChannelRequest.Unmarshal(m, b) 1234} 1235func (m *StopChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1236 return xxx_messageInfo_StopChannelRequest.Marshal(b, m, deterministic) 1237} 1238func (m *StopChannelRequest) XXX_Merge(src proto.Message) { 1239 xxx_messageInfo_StopChannelRequest.Merge(m, src) 1240} 1241func (m *StopChannelRequest) XXX_Size() int { 1242 return xxx_messageInfo_StopChannelRequest.Size(m) 1243} 1244func (m *StopChannelRequest) XXX_DiscardUnknown() { 1245 xxx_messageInfo_StopChannelRequest.DiscardUnknown(m) 1246} 1247 1248var xxx_messageInfo_StopChannelRequest proto.InternalMessageInfo 1249 1250func (m *StopChannelRequest) GetChannel() *Channel { 1251 if m != nil { 1252 return m.Channel 1253 } 1254 return nil 1255} 1256 1257func (m *StopChannelRequest) GetCommonRequestParams() *CommonRequestParams { 1258 if m != nil { 1259 return m.CommonRequestParams 1260 } 1261 return nil 1262} 1263 1264// Request message for DeleteDefaultObjectAccessControl. 1265type DeleteDefaultObjectAccessControlRequest struct { 1266 // Required. Name of a bucket. 1267 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 1268 // Required. The entity holding the permission. Can be one of: 1269 // * `user-`*userId* 1270 // * `user-`*emailAddress* 1271 // * `group-`*groupId* 1272 // * `group-`*emailAddress* 1273 // * `allUsers` 1274 // * `allAuthenticatedUsers` 1275 Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` 1276 // A set of parameters common to all Storage API requests. 1277 CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 1278 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1279 XXX_unrecognized []byte `json:"-"` 1280 XXX_sizecache int32 `json:"-"` 1281} 1282 1283func (m *DeleteDefaultObjectAccessControlRequest) Reset() { 1284 *m = DeleteDefaultObjectAccessControlRequest{} 1285} 1286func (m *DeleteDefaultObjectAccessControlRequest) String() string { return proto.CompactTextString(m) } 1287func (*DeleteDefaultObjectAccessControlRequest) ProtoMessage() {} 1288func (*DeleteDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int) { 1289 return fileDescriptor_cfff1fb85921a0a4, []int{15} 1290} 1291 1292func (m *DeleteDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error { 1293 return xxx_messageInfo_DeleteDefaultObjectAccessControlRequest.Unmarshal(m, b) 1294} 1295func (m *DeleteDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1296 return xxx_messageInfo_DeleteDefaultObjectAccessControlRequest.Marshal(b, m, deterministic) 1297} 1298func (m *DeleteDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message) { 1299 xxx_messageInfo_DeleteDefaultObjectAccessControlRequest.Merge(m, src) 1300} 1301func (m *DeleteDefaultObjectAccessControlRequest) XXX_Size() int { 1302 return xxx_messageInfo_DeleteDefaultObjectAccessControlRequest.Size(m) 1303} 1304func (m *DeleteDefaultObjectAccessControlRequest) XXX_DiscardUnknown() { 1305 xxx_messageInfo_DeleteDefaultObjectAccessControlRequest.DiscardUnknown(m) 1306} 1307 1308var xxx_messageInfo_DeleteDefaultObjectAccessControlRequest proto.InternalMessageInfo 1309 1310func (m *DeleteDefaultObjectAccessControlRequest) GetBucket() string { 1311 if m != nil { 1312 return m.Bucket 1313 } 1314 return "" 1315} 1316 1317func (m *DeleteDefaultObjectAccessControlRequest) GetEntity() string { 1318 if m != nil { 1319 return m.Entity 1320 } 1321 return "" 1322} 1323 1324func (m *DeleteDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 1325 if m != nil { 1326 return m.CommonRequestParams 1327 } 1328 return nil 1329} 1330 1331// Request message for GetDefaultObjectAccessControl. 1332type GetDefaultObjectAccessControlRequest struct { 1333 // Required. Name of a bucket. 1334 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 1335 // Required. The entity holding the permission. Can be one of: 1336 // * `user-`*userId* 1337 // * `user-`*emailAddress* 1338 // * `group-`*groupId* 1339 // * `group-`*emailAddress* 1340 // * `allUsers` 1341 // * `allAuthenticatedUsers` 1342 Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` 1343 // A set of parameters common to all Storage API requests. 1344 CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 1345 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1346 XXX_unrecognized []byte `json:"-"` 1347 XXX_sizecache int32 `json:"-"` 1348} 1349 1350func (m *GetDefaultObjectAccessControlRequest) Reset() { *m = GetDefaultObjectAccessControlRequest{} } 1351func (m *GetDefaultObjectAccessControlRequest) String() string { return proto.CompactTextString(m) } 1352func (*GetDefaultObjectAccessControlRequest) ProtoMessage() {} 1353func (*GetDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int) { 1354 return fileDescriptor_cfff1fb85921a0a4, []int{16} 1355} 1356 1357func (m *GetDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error { 1358 return xxx_messageInfo_GetDefaultObjectAccessControlRequest.Unmarshal(m, b) 1359} 1360func (m *GetDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1361 return xxx_messageInfo_GetDefaultObjectAccessControlRequest.Marshal(b, m, deterministic) 1362} 1363func (m *GetDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message) { 1364 xxx_messageInfo_GetDefaultObjectAccessControlRequest.Merge(m, src) 1365} 1366func (m *GetDefaultObjectAccessControlRequest) XXX_Size() int { 1367 return xxx_messageInfo_GetDefaultObjectAccessControlRequest.Size(m) 1368} 1369func (m *GetDefaultObjectAccessControlRequest) XXX_DiscardUnknown() { 1370 xxx_messageInfo_GetDefaultObjectAccessControlRequest.DiscardUnknown(m) 1371} 1372 1373var xxx_messageInfo_GetDefaultObjectAccessControlRequest proto.InternalMessageInfo 1374 1375func (m *GetDefaultObjectAccessControlRequest) GetBucket() string { 1376 if m != nil { 1377 return m.Bucket 1378 } 1379 return "" 1380} 1381 1382func (m *GetDefaultObjectAccessControlRequest) GetEntity() string { 1383 if m != nil { 1384 return m.Entity 1385 } 1386 return "" 1387} 1388 1389func (m *GetDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 1390 if m != nil { 1391 return m.CommonRequestParams 1392 } 1393 return nil 1394} 1395 1396// Request message for InsertDefaultObjectAccessControl. 1397type InsertDefaultObjectAccessControlRequest struct { 1398 // Required. Name of a bucket. 1399 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 1400 // Properties of the object access control being inserted. 1401 ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,3,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"` 1402 // A set of parameters common to all Storage API requests. 1403 CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 1404 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1405 XXX_unrecognized []byte `json:"-"` 1406 XXX_sizecache int32 `json:"-"` 1407} 1408 1409func (m *InsertDefaultObjectAccessControlRequest) Reset() { 1410 *m = InsertDefaultObjectAccessControlRequest{} 1411} 1412func (m *InsertDefaultObjectAccessControlRequest) String() string { return proto.CompactTextString(m) } 1413func (*InsertDefaultObjectAccessControlRequest) ProtoMessage() {} 1414func (*InsertDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int) { 1415 return fileDescriptor_cfff1fb85921a0a4, []int{17} 1416} 1417 1418func (m *InsertDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error { 1419 return xxx_messageInfo_InsertDefaultObjectAccessControlRequest.Unmarshal(m, b) 1420} 1421func (m *InsertDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1422 return xxx_messageInfo_InsertDefaultObjectAccessControlRequest.Marshal(b, m, deterministic) 1423} 1424func (m *InsertDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message) { 1425 xxx_messageInfo_InsertDefaultObjectAccessControlRequest.Merge(m, src) 1426} 1427func (m *InsertDefaultObjectAccessControlRequest) XXX_Size() int { 1428 return xxx_messageInfo_InsertDefaultObjectAccessControlRequest.Size(m) 1429} 1430func (m *InsertDefaultObjectAccessControlRequest) XXX_DiscardUnknown() { 1431 xxx_messageInfo_InsertDefaultObjectAccessControlRequest.DiscardUnknown(m) 1432} 1433 1434var xxx_messageInfo_InsertDefaultObjectAccessControlRequest proto.InternalMessageInfo 1435 1436func (m *InsertDefaultObjectAccessControlRequest) GetBucket() string { 1437 if m != nil { 1438 return m.Bucket 1439 } 1440 return "" 1441} 1442 1443func (m *InsertDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl { 1444 if m != nil { 1445 return m.ObjectAccessControl 1446 } 1447 return nil 1448} 1449 1450func (m *InsertDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 1451 if m != nil { 1452 return m.CommonRequestParams 1453 } 1454 return nil 1455} 1456 1457// Request message for ListDefaultObjectAccessControls. 1458type ListDefaultObjectAccessControlsRequest struct { 1459 // Required. Name of a bucket. 1460 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 1461 // If present, only return default ACL listing if the bucket's current 1462 // metageneration matches this value. 1463 IfMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,2,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 1464 // If present, only return default ACL listing if the bucket's current 1465 // metageneration does not match the given value. 1466 IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,3,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"` 1467 // A set of parameters common to all Storage API requests. 1468 CommonRequestParams *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 1469 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1470 XXX_unrecognized []byte `json:"-"` 1471 XXX_sizecache int32 `json:"-"` 1472} 1473 1474func (m *ListDefaultObjectAccessControlsRequest) Reset() { 1475 *m = ListDefaultObjectAccessControlsRequest{} 1476} 1477func (m *ListDefaultObjectAccessControlsRequest) String() string { return proto.CompactTextString(m) } 1478func (*ListDefaultObjectAccessControlsRequest) ProtoMessage() {} 1479func (*ListDefaultObjectAccessControlsRequest) Descriptor() ([]byte, []int) { 1480 return fileDescriptor_cfff1fb85921a0a4, []int{18} 1481} 1482 1483func (m *ListDefaultObjectAccessControlsRequest) XXX_Unmarshal(b []byte) error { 1484 return xxx_messageInfo_ListDefaultObjectAccessControlsRequest.Unmarshal(m, b) 1485} 1486func (m *ListDefaultObjectAccessControlsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1487 return xxx_messageInfo_ListDefaultObjectAccessControlsRequest.Marshal(b, m, deterministic) 1488} 1489func (m *ListDefaultObjectAccessControlsRequest) XXX_Merge(src proto.Message) { 1490 xxx_messageInfo_ListDefaultObjectAccessControlsRequest.Merge(m, src) 1491} 1492func (m *ListDefaultObjectAccessControlsRequest) XXX_Size() int { 1493 return xxx_messageInfo_ListDefaultObjectAccessControlsRequest.Size(m) 1494} 1495func (m *ListDefaultObjectAccessControlsRequest) XXX_DiscardUnknown() { 1496 xxx_messageInfo_ListDefaultObjectAccessControlsRequest.DiscardUnknown(m) 1497} 1498 1499var xxx_messageInfo_ListDefaultObjectAccessControlsRequest proto.InternalMessageInfo 1500 1501func (m *ListDefaultObjectAccessControlsRequest) GetBucket() string { 1502 if m != nil { 1503 return m.Bucket 1504 } 1505 return "" 1506} 1507 1508func (m *ListDefaultObjectAccessControlsRequest) GetIfMetagenerationMatch() *wrappers.Int64Value { 1509 if m != nil { 1510 return m.IfMetagenerationMatch 1511 } 1512 return nil 1513} 1514 1515func (m *ListDefaultObjectAccessControlsRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value { 1516 if m != nil { 1517 return m.IfMetagenerationNotMatch 1518 } 1519 return nil 1520} 1521 1522func (m *ListDefaultObjectAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams { 1523 if m != nil { 1524 return m.CommonRequestParams 1525 } 1526 return nil 1527} 1528 1529// Request message for PatchDefaultObjectAccessControl. 1530type PatchDefaultObjectAccessControlRequest struct { 1531 // Required. Name of a bucket. 1532 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 1533 // Required. The entity holding the permission. Can be one of: 1534 // * `user-`*userId* 1535 // * `user-`*emailAddress* 1536 // * `group-`*groupId* 1537 // * `group-`*emailAddress* 1538 // * `allUsers` 1539 // * `allAuthenticatedUsers` 1540 Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` 1541 // The ObjectAccessControl for updating. 1542 ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,4,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"` 1543 // List of fields to be updated. 1544 // 1545 // To specify ALL fields, equivalent to the JSON API's "update" function, 1546 // specify a single field with the value `*`. Note: not recommended. If a new 1547 // field is introduced at a later time, an older client updating with the `*` 1548 // may accidentally reset the new field's value. 1549 // 1550 // Not specifying any fields is an error. 1551 // Not specifying a field while setting that field to a non-default value is 1552 // an error. 1553 UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1554 // A set of parameters common to all Storage API requests. 1555 CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 1556 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1557 XXX_unrecognized []byte `json:"-"` 1558 XXX_sizecache int32 `json:"-"` 1559} 1560 1561func (m *PatchDefaultObjectAccessControlRequest) Reset() { 1562 *m = PatchDefaultObjectAccessControlRequest{} 1563} 1564func (m *PatchDefaultObjectAccessControlRequest) String() string { return proto.CompactTextString(m) } 1565func (*PatchDefaultObjectAccessControlRequest) ProtoMessage() {} 1566func (*PatchDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int) { 1567 return fileDescriptor_cfff1fb85921a0a4, []int{19} 1568} 1569 1570func (m *PatchDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error { 1571 return xxx_messageInfo_PatchDefaultObjectAccessControlRequest.Unmarshal(m, b) 1572} 1573func (m *PatchDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1574 return xxx_messageInfo_PatchDefaultObjectAccessControlRequest.Marshal(b, m, deterministic) 1575} 1576func (m *PatchDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message) { 1577 xxx_messageInfo_PatchDefaultObjectAccessControlRequest.Merge(m, src) 1578} 1579func (m *PatchDefaultObjectAccessControlRequest) XXX_Size() int { 1580 return xxx_messageInfo_PatchDefaultObjectAccessControlRequest.Size(m) 1581} 1582func (m *PatchDefaultObjectAccessControlRequest) XXX_DiscardUnknown() { 1583 xxx_messageInfo_PatchDefaultObjectAccessControlRequest.DiscardUnknown(m) 1584} 1585 1586var xxx_messageInfo_PatchDefaultObjectAccessControlRequest proto.InternalMessageInfo 1587 1588func (m *PatchDefaultObjectAccessControlRequest) GetBucket() string { 1589 if m != nil { 1590 return m.Bucket 1591 } 1592 return "" 1593} 1594 1595func (m *PatchDefaultObjectAccessControlRequest) GetEntity() string { 1596 if m != nil { 1597 return m.Entity 1598 } 1599 return "" 1600} 1601 1602func (m *PatchDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl { 1603 if m != nil { 1604 return m.ObjectAccessControl 1605 } 1606 return nil 1607} 1608 1609func (m *PatchDefaultObjectAccessControlRequest) GetUpdateMask() *field_mask.FieldMask { 1610 if m != nil { 1611 return m.UpdateMask 1612 } 1613 return nil 1614} 1615 1616func (m *PatchDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 1617 if m != nil { 1618 return m.CommonRequestParams 1619 } 1620 return nil 1621} 1622 1623// Request message for UpdateDefaultObjectAccessControl. 1624type UpdateDefaultObjectAccessControlRequest struct { 1625 // Required. Name of a bucket. 1626 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 1627 // Required. The entity holding the permission. Can be one of: 1628 // * `user-`*userId* 1629 // * `user-`*emailAddress* 1630 // * `group-`*groupId* 1631 // * `group-`*emailAddress* 1632 // * `allUsers` 1633 // * `allAuthenticatedUsers` 1634 Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` 1635 // The ObjectAccessControl for updating. 1636 ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,4,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"` 1637 // A set of parameters common to all Storage API requests. 1638 CommonRequestParams *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 1639 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1640 XXX_unrecognized []byte `json:"-"` 1641 XXX_sizecache int32 `json:"-"` 1642} 1643 1644func (m *UpdateDefaultObjectAccessControlRequest) Reset() { 1645 *m = UpdateDefaultObjectAccessControlRequest{} 1646} 1647func (m *UpdateDefaultObjectAccessControlRequest) String() string { return proto.CompactTextString(m) } 1648func (*UpdateDefaultObjectAccessControlRequest) ProtoMessage() {} 1649func (*UpdateDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int) { 1650 return fileDescriptor_cfff1fb85921a0a4, []int{20} 1651} 1652 1653func (m *UpdateDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error { 1654 return xxx_messageInfo_UpdateDefaultObjectAccessControlRequest.Unmarshal(m, b) 1655} 1656func (m *UpdateDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1657 return xxx_messageInfo_UpdateDefaultObjectAccessControlRequest.Marshal(b, m, deterministic) 1658} 1659func (m *UpdateDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message) { 1660 xxx_messageInfo_UpdateDefaultObjectAccessControlRequest.Merge(m, src) 1661} 1662func (m *UpdateDefaultObjectAccessControlRequest) XXX_Size() int { 1663 return xxx_messageInfo_UpdateDefaultObjectAccessControlRequest.Size(m) 1664} 1665func (m *UpdateDefaultObjectAccessControlRequest) XXX_DiscardUnknown() { 1666 xxx_messageInfo_UpdateDefaultObjectAccessControlRequest.DiscardUnknown(m) 1667} 1668 1669var xxx_messageInfo_UpdateDefaultObjectAccessControlRequest proto.InternalMessageInfo 1670 1671func (m *UpdateDefaultObjectAccessControlRequest) GetBucket() string { 1672 if m != nil { 1673 return m.Bucket 1674 } 1675 return "" 1676} 1677 1678func (m *UpdateDefaultObjectAccessControlRequest) GetEntity() string { 1679 if m != nil { 1680 return m.Entity 1681 } 1682 return "" 1683} 1684 1685func (m *UpdateDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl { 1686 if m != nil { 1687 return m.ObjectAccessControl 1688 } 1689 return nil 1690} 1691 1692func (m *UpdateDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 1693 if m != nil { 1694 return m.CommonRequestParams 1695 } 1696 return nil 1697} 1698 1699// Request message for DeleteNotification. 1700type DeleteNotificationRequest struct { 1701 // Required. The parent bucket of the notification. 1702 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 1703 // Required. ID of the notification to delete. 1704 Notification string `protobuf:"bytes,2,opt,name=notification,proto3" json:"notification,omitempty"` 1705 // A set of parameters common to all Storage API requests. 1706 CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 1707 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1708 XXX_unrecognized []byte `json:"-"` 1709 XXX_sizecache int32 `json:"-"` 1710} 1711 1712func (m *DeleteNotificationRequest) Reset() { *m = DeleteNotificationRequest{} } 1713func (m *DeleteNotificationRequest) String() string { return proto.CompactTextString(m) } 1714func (*DeleteNotificationRequest) ProtoMessage() {} 1715func (*DeleteNotificationRequest) Descriptor() ([]byte, []int) { 1716 return fileDescriptor_cfff1fb85921a0a4, []int{21} 1717} 1718 1719func (m *DeleteNotificationRequest) XXX_Unmarshal(b []byte) error { 1720 return xxx_messageInfo_DeleteNotificationRequest.Unmarshal(m, b) 1721} 1722func (m *DeleteNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1723 return xxx_messageInfo_DeleteNotificationRequest.Marshal(b, m, deterministic) 1724} 1725func (m *DeleteNotificationRequest) XXX_Merge(src proto.Message) { 1726 xxx_messageInfo_DeleteNotificationRequest.Merge(m, src) 1727} 1728func (m *DeleteNotificationRequest) XXX_Size() int { 1729 return xxx_messageInfo_DeleteNotificationRequest.Size(m) 1730} 1731func (m *DeleteNotificationRequest) XXX_DiscardUnknown() { 1732 xxx_messageInfo_DeleteNotificationRequest.DiscardUnknown(m) 1733} 1734 1735var xxx_messageInfo_DeleteNotificationRequest proto.InternalMessageInfo 1736 1737func (m *DeleteNotificationRequest) GetBucket() string { 1738 if m != nil { 1739 return m.Bucket 1740 } 1741 return "" 1742} 1743 1744func (m *DeleteNotificationRequest) GetNotification() string { 1745 if m != nil { 1746 return m.Notification 1747 } 1748 return "" 1749} 1750 1751func (m *DeleteNotificationRequest) GetCommonRequestParams() *CommonRequestParams { 1752 if m != nil { 1753 return m.CommonRequestParams 1754 } 1755 return nil 1756} 1757 1758// Request message for GetNotification. 1759type GetNotificationRequest struct { 1760 // Required. The parent bucket of the notification. 1761 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 1762 // Required. Notification ID. 1763 // Required. 1764 Notification string `protobuf:"bytes,2,opt,name=notification,proto3" json:"notification,omitempty"` 1765 // A set of parameters common to all Storage API requests. 1766 CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 1767 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1768 XXX_unrecognized []byte `json:"-"` 1769 XXX_sizecache int32 `json:"-"` 1770} 1771 1772func (m *GetNotificationRequest) Reset() { *m = GetNotificationRequest{} } 1773func (m *GetNotificationRequest) String() string { return proto.CompactTextString(m) } 1774func (*GetNotificationRequest) ProtoMessage() {} 1775func (*GetNotificationRequest) Descriptor() ([]byte, []int) { 1776 return fileDescriptor_cfff1fb85921a0a4, []int{22} 1777} 1778 1779func (m *GetNotificationRequest) XXX_Unmarshal(b []byte) error { 1780 return xxx_messageInfo_GetNotificationRequest.Unmarshal(m, b) 1781} 1782func (m *GetNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1783 return xxx_messageInfo_GetNotificationRequest.Marshal(b, m, deterministic) 1784} 1785func (m *GetNotificationRequest) XXX_Merge(src proto.Message) { 1786 xxx_messageInfo_GetNotificationRequest.Merge(m, src) 1787} 1788func (m *GetNotificationRequest) XXX_Size() int { 1789 return xxx_messageInfo_GetNotificationRequest.Size(m) 1790} 1791func (m *GetNotificationRequest) XXX_DiscardUnknown() { 1792 xxx_messageInfo_GetNotificationRequest.DiscardUnknown(m) 1793} 1794 1795var xxx_messageInfo_GetNotificationRequest proto.InternalMessageInfo 1796 1797func (m *GetNotificationRequest) GetBucket() string { 1798 if m != nil { 1799 return m.Bucket 1800 } 1801 return "" 1802} 1803 1804func (m *GetNotificationRequest) GetNotification() string { 1805 if m != nil { 1806 return m.Notification 1807 } 1808 return "" 1809} 1810 1811func (m *GetNotificationRequest) GetCommonRequestParams() *CommonRequestParams { 1812 if m != nil { 1813 return m.CommonRequestParams 1814 } 1815 return nil 1816} 1817 1818// Request message for InsertNotification. 1819type InsertNotificationRequest struct { 1820 // Required. The parent bucket of the notification. 1821 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 1822 // Properties of the notification to be inserted. 1823 Notification *Notification `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification,omitempty"` 1824 // A set of parameters common to all Storage API requests. 1825 CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 1826 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1827 XXX_unrecognized []byte `json:"-"` 1828 XXX_sizecache int32 `json:"-"` 1829} 1830 1831func (m *InsertNotificationRequest) Reset() { *m = InsertNotificationRequest{} } 1832func (m *InsertNotificationRequest) String() string { return proto.CompactTextString(m) } 1833func (*InsertNotificationRequest) ProtoMessage() {} 1834func (*InsertNotificationRequest) Descriptor() ([]byte, []int) { 1835 return fileDescriptor_cfff1fb85921a0a4, []int{23} 1836} 1837 1838func (m *InsertNotificationRequest) XXX_Unmarshal(b []byte) error { 1839 return xxx_messageInfo_InsertNotificationRequest.Unmarshal(m, b) 1840} 1841func (m *InsertNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1842 return xxx_messageInfo_InsertNotificationRequest.Marshal(b, m, deterministic) 1843} 1844func (m *InsertNotificationRequest) XXX_Merge(src proto.Message) { 1845 xxx_messageInfo_InsertNotificationRequest.Merge(m, src) 1846} 1847func (m *InsertNotificationRequest) XXX_Size() int { 1848 return xxx_messageInfo_InsertNotificationRequest.Size(m) 1849} 1850func (m *InsertNotificationRequest) XXX_DiscardUnknown() { 1851 xxx_messageInfo_InsertNotificationRequest.DiscardUnknown(m) 1852} 1853 1854var xxx_messageInfo_InsertNotificationRequest proto.InternalMessageInfo 1855 1856func (m *InsertNotificationRequest) GetBucket() string { 1857 if m != nil { 1858 return m.Bucket 1859 } 1860 return "" 1861} 1862 1863func (m *InsertNotificationRequest) GetNotification() *Notification { 1864 if m != nil { 1865 return m.Notification 1866 } 1867 return nil 1868} 1869 1870func (m *InsertNotificationRequest) GetCommonRequestParams() *CommonRequestParams { 1871 if m != nil { 1872 return m.CommonRequestParams 1873 } 1874 return nil 1875} 1876 1877// Request message for ListNotifications. 1878type ListNotificationsRequest struct { 1879 // Required. Name of a Google Cloud Storage bucket. 1880 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 1881 // A set of parameters common to all Storage API requests. 1882 CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 1883 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1884 XXX_unrecognized []byte `json:"-"` 1885 XXX_sizecache int32 `json:"-"` 1886} 1887 1888func (m *ListNotificationsRequest) Reset() { *m = ListNotificationsRequest{} } 1889func (m *ListNotificationsRequest) String() string { return proto.CompactTextString(m) } 1890func (*ListNotificationsRequest) ProtoMessage() {} 1891func (*ListNotificationsRequest) Descriptor() ([]byte, []int) { 1892 return fileDescriptor_cfff1fb85921a0a4, []int{24} 1893} 1894 1895func (m *ListNotificationsRequest) XXX_Unmarshal(b []byte) error { 1896 return xxx_messageInfo_ListNotificationsRequest.Unmarshal(m, b) 1897} 1898func (m *ListNotificationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1899 return xxx_messageInfo_ListNotificationsRequest.Marshal(b, m, deterministic) 1900} 1901func (m *ListNotificationsRequest) XXX_Merge(src proto.Message) { 1902 xxx_messageInfo_ListNotificationsRequest.Merge(m, src) 1903} 1904func (m *ListNotificationsRequest) XXX_Size() int { 1905 return xxx_messageInfo_ListNotificationsRequest.Size(m) 1906} 1907func (m *ListNotificationsRequest) XXX_DiscardUnknown() { 1908 xxx_messageInfo_ListNotificationsRequest.DiscardUnknown(m) 1909} 1910 1911var xxx_messageInfo_ListNotificationsRequest proto.InternalMessageInfo 1912 1913func (m *ListNotificationsRequest) GetBucket() string { 1914 if m != nil { 1915 return m.Bucket 1916 } 1917 return "" 1918} 1919 1920func (m *ListNotificationsRequest) GetCommonRequestParams() *CommonRequestParams { 1921 if m != nil { 1922 return m.CommonRequestParams 1923 } 1924 return nil 1925} 1926 1927// Request message for DeleteObjectAccessControl. 1928type DeleteObjectAccessControlRequest struct { 1929 // Required. Name of a bucket. 1930 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 1931 // Required. The entity holding the permission. Can be one of: 1932 // * `user-`*userId* 1933 // * `user-`*emailAddress* 1934 // * `group-`*groupId* 1935 // * `group-`*emailAddress* 1936 // * `allUsers` 1937 // * `allAuthenticatedUsers` 1938 Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` 1939 // Required. Name of the object. 1940 Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` 1941 // If present, selects a specific revision of this object (as opposed to the 1942 // latest version, the default). 1943 Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` 1944 // A set of parameters common to all Storage API requests. 1945 CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 1946 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1947 XXX_unrecognized []byte `json:"-"` 1948 XXX_sizecache int32 `json:"-"` 1949} 1950 1951func (m *DeleteObjectAccessControlRequest) Reset() { *m = DeleteObjectAccessControlRequest{} } 1952func (m *DeleteObjectAccessControlRequest) String() string { return proto.CompactTextString(m) } 1953func (*DeleteObjectAccessControlRequest) ProtoMessage() {} 1954func (*DeleteObjectAccessControlRequest) Descriptor() ([]byte, []int) { 1955 return fileDescriptor_cfff1fb85921a0a4, []int{25} 1956} 1957 1958func (m *DeleteObjectAccessControlRequest) XXX_Unmarshal(b []byte) error { 1959 return xxx_messageInfo_DeleteObjectAccessControlRequest.Unmarshal(m, b) 1960} 1961func (m *DeleteObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1962 return xxx_messageInfo_DeleteObjectAccessControlRequest.Marshal(b, m, deterministic) 1963} 1964func (m *DeleteObjectAccessControlRequest) XXX_Merge(src proto.Message) { 1965 xxx_messageInfo_DeleteObjectAccessControlRequest.Merge(m, src) 1966} 1967func (m *DeleteObjectAccessControlRequest) XXX_Size() int { 1968 return xxx_messageInfo_DeleteObjectAccessControlRequest.Size(m) 1969} 1970func (m *DeleteObjectAccessControlRequest) XXX_DiscardUnknown() { 1971 xxx_messageInfo_DeleteObjectAccessControlRequest.DiscardUnknown(m) 1972} 1973 1974var xxx_messageInfo_DeleteObjectAccessControlRequest proto.InternalMessageInfo 1975 1976func (m *DeleteObjectAccessControlRequest) GetBucket() string { 1977 if m != nil { 1978 return m.Bucket 1979 } 1980 return "" 1981} 1982 1983func (m *DeleteObjectAccessControlRequest) GetEntity() string { 1984 if m != nil { 1985 return m.Entity 1986 } 1987 return "" 1988} 1989 1990func (m *DeleteObjectAccessControlRequest) GetObject() string { 1991 if m != nil { 1992 return m.Object 1993 } 1994 return "" 1995} 1996 1997func (m *DeleteObjectAccessControlRequest) GetGeneration() int64 { 1998 if m != nil { 1999 return m.Generation 2000 } 2001 return 0 2002} 2003 2004func (m *DeleteObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 2005 if m != nil { 2006 return m.CommonRequestParams 2007 } 2008 return nil 2009} 2010 2011// Request message for GetObjectAccessControl. 2012type GetObjectAccessControlRequest struct { 2013 // Required. Name of a bucket. 2014 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 2015 // Required. The entity holding the permission. Can be one of: 2016 // * `user-`*userId* 2017 // * `user-`*emailAddress* 2018 // * `group-`*groupId* 2019 // * `group-`*emailAddress* 2020 // * `allUsers` 2021 // * `allAuthenticatedUsers` 2022 Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` 2023 // Required. Name of the object. 2024 Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` 2025 // If present, selects a specific revision of this object (as opposed to the 2026 // latest version, the default). 2027 Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` 2028 // A set of parameters common to all Storage API requests. 2029 CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 2030 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2031 XXX_unrecognized []byte `json:"-"` 2032 XXX_sizecache int32 `json:"-"` 2033} 2034 2035func (m *GetObjectAccessControlRequest) Reset() { *m = GetObjectAccessControlRequest{} } 2036func (m *GetObjectAccessControlRequest) String() string { return proto.CompactTextString(m) } 2037func (*GetObjectAccessControlRequest) ProtoMessage() {} 2038func (*GetObjectAccessControlRequest) Descriptor() ([]byte, []int) { 2039 return fileDescriptor_cfff1fb85921a0a4, []int{26} 2040} 2041 2042func (m *GetObjectAccessControlRequest) XXX_Unmarshal(b []byte) error { 2043 return xxx_messageInfo_GetObjectAccessControlRequest.Unmarshal(m, b) 2044} 2045func (m *GetObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2046 return xxx_messageInfo_GetObjectAccessControlRequest.Marshal(b, m, deterministic) 2047} 2048func (m *GetObjectAccessControlRequest) XXX_Merge(src proto.Message) { 2049 xxx_messageInfo_GetObjectAccessControlRequest.Merge(m, src) 2050} 2051func (m *GetObjectAccessControlRequest) XXX_Size() int { 2052 return xxx_messageInfo_GetObjectAccessControlRequest.Size(m) 2053} 2054func (m *GetObjectAccessControlRequest) XXX_DiscardUnknown() { 2055 xxx_messageInfo_GetObjectAccessControlRequest.DiscardUnknown(m) 2056} 2057 2058var xxx_messageInfo_GetObjectAccessControlRequest proto.InternalMessageInfo 2059 2060func (m *GetObjectAccessControlRequest) GetBucket() string { 2061 if m != nil { 2062 return m.Bucket 2063 } 2064 return "" 2065} 2066 2067func (m *GetObjectAccessControlRequest) GetEntity() string { 2068 if m != nil { 2069 return m.Entity 2070 } 2071 return "" 2072} 2073 2074func (m *GetObjectAccessControlRequest) GetObject() string { 2075 if m != nil { 2076 return m.Object 2077 } 2078 return "" 2079} 2080 2081func (m *GetObjectAccessControlRequest) GetGeneration() int64 { 2082 if m != nil { 2083 return m.Generation 2084 } 2085 return 0 2086} 2087 2088func (m *GetObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 2089 if m != nil { 2090 return m.CommonRequestParams 2091 } 2092 return nil 2093} 2094 2095// Request message for InsertObjectAccessControl. 2096type InsertObjectAccessControlRequest struct { 2097 // Required. Name of a bucket. 2098 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 2099 // Required. Name of the object. 2100 Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 2101 // If present, selects a specific revision of this object (as opposed to the 2102 // latest version, the default). 2103 Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` 2104 // Properties of the object access control to be inserted. 2105 ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,5,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"` 2106 // A set of parameters common to all Storage API requests. 2107 CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 2108 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2109 XXX_unrecognized []byte `json:"-"` 2110 XXX_sizecache int32 `json:"-"` 2111} 2112 2113func (m *InsertObjectAccessControlRequest) Reset() { *m = InsertObjectAccessControlRequest{} } 2114func (m *InsertObjectAccessControlRequest) String() string { return proto.CompactTextString(m) } 2115func (*InsertObjectAccessControlRequest) ProtoMessage() {} 2116func (*InsertObjectAccessControlRequest) Descriptor() ([]byte, []int) { 2117 return fileDescriptor_cfff1fb85921a0a4, []int{27} 2118} 2119 2120func (m *InsertObjectAccessControlRequest) XXX_Unmarshal(b []byte) error { 2121 return xxx_messageInfo_InsertObjectAccessControlRequest.Unmarshal(m, b) 2122} 2123func (m *InsertObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2124 return xxx_messageInfo_InsertObjectAccessControlRequest.Marshal(b, m, deterministic) 2125} 2126func (m *InsertObjectAccessControlRequest) XXX_Merge(src proto.Message) { 2127 xxx_messageInfo_InsertObjectAccessControlRequest.Merge(m, src) 2128} 2129func (m *InsertObjectAccessControlRequest) XXX_Size() int { 2130 return xxx_messageInfo_InsertObjectAccessControlRequest.Size(m) 2131} 2132func (m *InsertObjectAccessControlRequest) XXX_DiscardUnknown() { 2133 xxx_messageInfo_InsertObjectAccessControlRequest.DiscardUnknown(m) 2134} 2135 2136var xxx_messageInfo_InsertObjectAccessControlRequest proto.InternalMessageInfo 2137 2138func (m *InsertObjectAccessControlRequest) GetBucket() string { 2139 if m != nil { 2140 return m.Bucket 2141 } 2142 return "" 2143} 2144 2145func (m *InsertObjectAccessControlRequest) GetObject() string { 2146 if m != nil { 2147 return m.Object 2148 } 2149 return "" 2150} 2151 2152func (m *InsertObjectAccessControlRequest) GetGeneration() int64 { 2153 if m != nil { 2154 return m.Generation 2155 } 2156 return 0 2157} 2158 2159func (m *InsertObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl { 2160 if m != nil { 2161 return m.ObjectAccessControl 2162 } 2163 return nil 2164} 2165 2166func (m *InsertObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 2167 if m != nil { 2168 return m.CommonRequestParams 2169 } 2170 return nil 2171} 2172 2173// Request message for ListObjectAccessControls. 2174type ListObjectAccessControlsRequest struct { 2175 // Required. Name of a bucket. 2176 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 2177 // Required. Name of the object. 2178 Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 2179 // If present, selects a specific revision of this object (as opposed to the 2180 // latest version, the default). 2181 Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` 2182 // A set of parameters common to all Storage API requests. 2183 CommonRequestParams *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 2184 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2185 XXX_unrecognized []byte `json:"-"` 2186 XXX_sizecache int32 `json:"-"` 2187} 2188 2189func (m *ListObjectAccessControlsRequest) Reset() { *m = ListObjectAccessControlsRequest{} } 2190func (m *ListObjectAccessControlsRequest) String() string { return proto.CompactTextString(m) } 2191func (*ListObjectAccessControlsRequest) ProtoMessage() {} 2192func (*ListObjectAccessControlsRequest) Descriptor() ([]byte, []int) { 2193 return fileDescriptor_cfff1fb85921a0a4, []int{28} 2194} 2195 2196func (m *ListObjectAccessControlsRequest) XXX_Unmarshal(b []byte) error { 2197 return xxx_messageInfo_ListObjectAccessControlsRequest.Unmarshal(m, b) 2198} 2199func (m *ListObjectAccessControlsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2200 return xxx_messageInfo_ListObjectAccessControlsRequest.Marshal(b, m, deterministic) 2201} 2202func (m *ListObjectAccessControlsRequest) XXX_Merge(src proto.Message) { 2203 xxx_messageInfo_ListObjectAccessControlsRequest.Merge(m, src) 2204} 2205func (m *ListObjectAccessControlsRequest) XXX_Size() int { 2206 return xxx_messageInfo_ListObjectAccessControlsRequest.Size(m) 2207} 2208func (m *ListObjectAccessControlsRequest) XXX_DiscardUnknown() { 2209 xxx_messageInfo_ListObjectAccessControlsRequest.DiscardUnknown(m) 2210} 2211 2212var xxx_messageInfo_ListObjectAccessControlsRequest proto.InternalMessageInfo 2213 2214func (m *ListObjectAccessControlsRequest) GetBucket() string { 2215 if m != nil { 2216 return m.Bucket 2217 } 2218 return "" 2219} 2220 2221func (m *ListObjectAccessControlsRequest) GetObject() string { 2222 if m != nil { 2223 return m.Object 2224 } 2225 return "" 2226} 2227 2228func (m *ListObjectAccessControlsRequest) GetGeneration() int64 { 2229 if m != nil { 2230 return m.Generation 2231 } 2232 return 0 2233} 2234 2235func (m *ListObjectAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams { 2236 if m != nil { 2237 return m.CommonRequestParams 2238 } 2239 return nil 2240} 2241 2242// Request message for PatchObjectAccessControl. 2243type PatchObjectAccessControlRequest struct { 2244 // Required. Name of a bucket. 2245 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 2246 // Required. The entity holding the permission. Can be one of: 2247 // * `user-`*userId* 2248 // * `user-`*emailAddress* 2249 // * `group-`*groupId* 2250 // * `group-`*emailAddress* 2251 // * `allUsers` 2252 // * `allAuthenticatedUsers` 2253 Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` 2254 // Required. Name of the object. 2255 // Required. 2256 Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` 2257 // If present, selects a specific revision of this object (as opposed to the 2258 // latest version, the default). 2259 Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` 2260 // The ObjectAccessControl for updating. 2261 ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,5,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"` 2262 // A set of parameters common to all Storage API requests. 2263 CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 2264 // List of fields to be updated. 2265 // 2266 // To specify ALL fields, equivalent to the JSON API's "update" function, 2267 // specify a single field with the value `*`. Note: not recommended. If a new 2268 // field is introduced at a later time, an older client updating with the `*` 2269 // may accidentally reset the new field's value. 2270 // 2271 // Not specifying any fields is an error. 2272 // Not specifying a field while setting that field to a non-default value is 2273 // an error. 2274 UpdateMask *field_mask.FieldMask `protobuf:"bytes,7,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 2275 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2276 XXX_unrecognized []byte `json:"-"` 2277 XXX_sizecache int32 `json:"-"` 2278} 2279 2280func (m *PatchObjectAccessControlRequest) Reset() { *m = PatchObjectAccessControlRequest{} } 2281func (m *PatchObjectAccessControlRequest) String() string { return proto.CompactTextString(m) } 2282func (*PatchObjectAccessControlRequest) ProtoMessage() {} 2283func (*PatchObjectAccessControlRequest) Descriptor() ([]byte, []int) { 2284 return fileDescriptor_cfff1fb85921a0a4, []int{29} 2285} 2286 2287func (m *PatchObjectAccessControlRequest) XXX_Unmarshal(b []byte) error { 2288 return xxx_messageInfo_PatchObjectAccessControlRequest.Unmarshal(m, b) 2289} 2290func (m *PatchObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2291 return xxx_messageInfo_PatchObjectAccessControlRequest.Marshal(b, m, deterministic) 2292} 2293func (m *PatchObjectAccessControlRequest) XXX_Merge(src proto.Message) { 2294 xxx_messageInfo_PatchObjectAccessControlRequest.Merge(m, src) 2295} 2296func (m *PatchObjectAccessControlRequest) XXX_Size() int { 2297 return xxx_messageInfo_PatchObjectAccessControlRequest.Size(m) 2298} 2299func (m *PatchObjectAccessControlRequest) XXX_DiscardUnknown() { 2300 xxx_messageInfo_PatchObjectAccessControlRequest.DiscardUnknown(m) 2301} 2302 2303var xxx_messageInfo_PatchObjectAccessControlRequest proto.InternalMessageInfo 2304 2305func (m *PatchObjectAccessControlRequest) GetBucket() string { 2306 if m != nil { 2307 return m.Bucket 2308 } 2309 return "" 2310} 2311 2312func (m *PatchObjectAccessControlRequest) GetEntity() string { 2313 if m != nil { 2314 return m.Entity 2315 } 2316 return "" 2317} 2318 2319func (m *PatchObjectAccessControlRequest) GetObject() string { 2320 if m != nil { 2321 return m.Object 2322 } 2323 return "" 2324} 2325 2326func (m *PatchObjectAccessControlRequest) GetGeneration() int64 { 2327 if m != nil { 2328 return m.Generation 2329 } 2330 return 0 2331} 2332 2333func (m *PatchObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl { 2334 if m != nil { 2335 return m.ObjectAccessControl 2336 } 2337 return nil 2338} 2339 2340func (m *PatchObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 2341 if m != nil { 2342 return m.CommonRequestParams 2343 } 2344 return nil 2345} 2346 2347func (m *PatchObjectAccessControlRequest) GetUpdateMask() *field_mask.FieldMask { 2348 if m != nil { 2349 return m.UpdateMask 2350 } 2351 return nil 2352} 2353 2354// Request message for UpdateObjectAccessControl. 2355type UpdateObjectAccessControlRequest struct { 2356 // Required. Name of a bucket. 2357 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 2358 // Required. The entity holding the permission. Can be one of: 2359 // * `user-`*userId* 2360 // * `user-`*emailAddress* 2361 // * `group-`*groupId* 2362 // * `group-`*emailAddress* 2363 // * `allUsers` 2364 // * `allAuthenticatedUsers` 2365 Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` 2366 // Required. Name of the object. 2367 // Required. 2368 Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` 2369 // If present, selects a specific revision of this object (as opposed to the 2370 // latest version, the default). 2371 Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` 2372 // The ObjectAccessControl for updating. 2373 ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,6,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"` 2374 // A set of parameters common to all Storage API requests. 2375 CommonRequestParams *CommonRequestParams `protobuf:"bytes,7,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 2376 // List of fields to be updated. 2377 // 2378 // To specify ALL fields, equivalent to the JSON API's "update" function, 2379 // specify a single field with the value `*`. Note: not recommended. If a new 2380 // field is introduced at a later time, an older client updating with the `*` 2381 // may accidentally reset the new field's value. 2382 // 2383 // Not specifying any fields is an error. 2384 // Not specifying a field while setting that field to a non-default value is 2385 // an error. 2386 UpdateMask *field_mask.FieldMask `protobuf:"bytes,8,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 2387 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2388 XXX_unrecognized []byte `json:"-"` 2389 XXX_sizecache int32 `json:"-"` 2390} 2391 2392func (m *UpdateObjectAccessControlRequest) Reset() { *m = UpdateObjectAccessControlRequest{} } 2393func (m *UpdateObjectAccessControlRequest) String() string { return proto.CompactTextString(m) } 2394func (*UpdateObjectAccessControlRequest) ProtoMessage() {} 2395func (*UpdateObjectAccessControlRequest) Descriptor() ([]byte, []int) { 2396 return fileDescriptor_cfff1fb85921a0a4, []int{30} 2397} 2398 2399func (m *UpdateObjectAccessControlRequest) XXX_Unmarshal(b []byte) error { 2400 return xxx_messageInfo_UpdateObjectAccessControlRequest.Unmarshal(m, b) 2401} 2402func (m *UpdateObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2403 return xxx_messageInfo_UpdateObjectAccessControlRequest.Marshal(b, m, deterministic) 2404} 2405func (m *UpdateObjectAccessControlRequest) XXX_Merge(src proto.Message) { 2406 xxx_messageInfo_UpdateObjectAccessControlRequest.Merge(m, src) 2407} 2408func (m *UpdateObjectAccessControlRequest) XXX_Size() int { 2409 return xxx_messageInfo_UpdateObjectAccessControlRequest.Size(m) 2410} 2411func (m *UpdateObjectAccessControlRequest) XXX_DiscardUnknown() { 2412 xxx_messageInfo_UpdateObjectAccessControlRequest.DiscardUnknown(m) 2413} 2414 2415var xxx_messageInfo_UpdateObjectAccessControlRequest proto.InternalMessageInfo 2416 2417func (m *UpdateObjectAccessControlRequest) GetBucket() string { 2418 if m != nil { 2419 return m.Bucket 2420 } 2421 return "" 2422} 2423 2424func (m *UpdateObjectAccessControlRequest) GetEntity() string { 2425 if m != nil { 2426 return m.Entity 2427 } 2428 return "" 2429} 2430 2431func (m *UpdateObjectAccessControlRequest) GetObject() string { 2432 if m != nil { 2433 return m.Object 2434 } 2435 return "" 2436} 2437 2438func (m *UpdateObjectAccessControlRequest) GetGeneration() int64 { 2439 if m != nil { 2440 return m.Generation 2441 } 2442 return 0 2443} 2444 2445func (m *UpdateObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl { 2446 if m != nil { 2447 return m.ObjectAccessControl 2448 } 2449 return nil 2450} 2451 2452func (m *UpdateObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams { 2453 if m != nil { 2454 return m.CommonRequestParams 2455 } 2456 return nil 2457} 2458 2459func (m *UpdateObjectAccessControlRequest) GetUpdateMask() *field_mask.FieldMask { 2460 if m != nil { 2461 return m.UpdateMask 2462 } 2463 return nil 2464} 2465 2466// Request message for ComposeObject. 2467type ComposeObjectRequest struct { 2468 // Required. Name of the bucket containing the source objects. The destination object is 2469 // stored in this bucket. 2470 DestinationBucket string `protobuf:"bytes,1,opt,name=destination_bucket,json=destinationBucket,proto3" json:"destination_bucket,omitempty"` 2471 // Required. Name of the new object. 2472 DestinationObject string `protobuf:"bytes,2,opt,name=destination_object,json=destinationObject,proto3" json:"destination_object,omitempty"` 2473 // Apply a predefined set of access controls to the destination object. 2474 DestinationPredefinedAcl CommonEnums_PredefinedObjectAcl `protobuf:"varint,3,opt,name=destination_predefined_acl,json=destinationPredefinedAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedObjectAcl" json:"destination_predefined_acl,omitempty"` 2475 // Properties of the resulting object. 2476 Destination *Object `protobuf:"bytes,11,opt,name=destination,proto3" json:"destination,omitempty"` 2477 // The list of source objects that will be concatenated into a single object. 2478 SourceObjects []*ComposeObjectRequest_SourceObjects `protobuf:"bytes,12,rep,name=source_objects,json=sourceObjects,proto3" json:"source_objects,omitempty"` 2479 // Makes the operation conditional on whether the object's current generation 2480 // matches the given value. Setting to 0 makes the operation succeed only if 2481 // there are no live versions of the object. 2482 IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` 2483 // Makes the operation conditional on whether the object's current 2484 // metageneration matches the given value. 2485 IfMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 2486 // Resource name of the Cloud KMS key, of the form 2487 // `projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`, 2488 // that will be used to encrypt the object. Overrides the object 2489 // metadata's `kms_key_name` value, if any. 2490 KmsKeyName string `protobuf:"bytes,6,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` 2491 // A set of parameters common to Storage API requests concerning an object. 2492 CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,9,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"` 2493 // A set of parameters common to all Storage API requests. 2494 CommonRequestParams *CommonRequestParams `protobuf:"bytes,10,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 2495 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2496 XXX_unrecognized []byte `json:"-"` 2497 XXX_sizecache int32 `json:"-"` 2498} 2499 2500func (m *ComposeObjectRequest) Reset() { *m = ComposeObjectRequest{} } 2501func (m *ComposeObjectRequest) String() string { return proto.CompactTextString(m) } 2502func (*ComposeObjectRequest) ProtoMessage() {} 2503func (*ComposeObjectRequest) Descriptor() ([]byte, []int) { 2504 return fileDescriptor_cfff1fb85921a0a4, []int{31} 2505} 2506 2507func (m *ComposeObjectRequest) XXX_Unmarshal(b []byte) error { 2508 return xxx_messageInfo_ComposeObjectRequest.Unmarshal(m, b) 2509} 2510func (m *ComposeObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2511 return xxx_messageInfo_ComposeObjectRequest.Marshal(b, m, deterministic) 2512} 2513func (m *ComposeObjectRequest) XXX_Merge(src proto.Message) { 2514 xxx_messageInfo_ComposeObjectRequest.Merge(m, src) 2515} 2516func (m *ComposeObjectRequest) XXX_Size() int { 2517 return xxx_messageInfo_ComposeObjectRequest.Size(m) 2518} 2519func (m *ComposeObjectRequest) XXX_DiscardUnknown() { 2520 xxx_messageInfo_ComposeObjectRequest.DiscardUnknown(m) 2521} 2522 2523var xxx_messageInfo_ComposeObjectRequest proto.InternalMessageInfo 2524 2525func (m *ComposeObjectRequest) GetDestinationBucket() string { 2526 if m != nil { 2527 return m.DestinationBucket 2528 } 2529 return "" 2530} 2531 2532func (m *ComposeObjectRequest) GetDestinationObject() string { 2533 if m != nil { 2534 return m.DestinationObject 2535 } 2536 return "" 2537} 2538 2539func (m *ComposeObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl { 2540 if m != nil { 2541 return m.DestinationPredefinedAcl 2542 } 2543 return CommonEnums_PREDEFINED_OBJECT_ACL_UNSPECIFIED 2544} 2545 2546func (m *ComposeObjectRequest) GetDestination() *Object { 2547 if m != nil { 2548 return m.Destination 2549 } 2550 return nil 2551} 2552 2553func (m *ComposeObjectRequest) GetSourceObjects() []*ComposeObjectRequest_SourceObjects { 2554 if m != nil { 2555 return m.SourceObjects 2556 } 2557 return nil 2558} 2559 2560func (m *ComposeObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value { 2561 if m != nil { 2562 return m.IfGenerationMatch 2563 } 2564 return nil 2565} 2566 2567func (m *ComposeObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value { 2568 if m != nil { 2569 return m.IfMetagenerationMatch 2570 } 2571 return nil 2572} 2573 2574func (m *ComposeObjectRequest) GetKmsKeyName() string { 2575 if m != nil { 2576 return m.KmsKeyName 2577 } 2578 return "" 2579} 2580 2581func (m *ComposeObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams { 2582 if m != nil { 2583 return m.CommonObjectRequestParams 2584 } 2585 return nil 2586} 2587 2588func (m *ComposeObjectRequest) GetCommonRequestParams() *CommonRequestParams { 2589 if m != nil { 2590 return m.CommonRequestParams 2591 } 2592 return nil 2593} 2594 2595// Description of a source object for a composition request. 2596type ComposeObjectRequest_SourceObjects struct { 2597 // The source object's name. All source objects must reside in the same 2598 // bucket. 2599 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2600 // The generation of this object to use as the source. 2601 Generation int64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"` 2602 // Conditions that must be met for this operation to execute. 2603 ObjectPreconditions *ComposeObjectRequest_SourceObjects_ObjectPreconditions `protobuf:"bytes,3,opt,name=object_preconditions,json=objectPreconditions,proto3" json:"object_preconditions,omitempty"` 2604 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2605 XXX_unrecognized []byte `json:"-"` 2606 XXX_sizecache int32 `json:"-"` 2607} 2608 2609func (m *ComposeObjectRequest_SourceObjects) Reset() { *m = ComposeObjectRequest_SourceObjects{} } 2610func (m *ComposeObjectRequest_SourceObjects) String() string { return proto.CompactTextString(m) } 2611func (*ComposeObjectRequest_SourceObjects) ProtoMessage() {} 2612func (*ComposeObjectRequest_SourceObjects) Descriptor() ([]byte, []int) { 2613 return fileDescriptor_cfff1fb85921a0a4, []int{31, 0} 2614} 2615 2616func (m *ComposeObjectRequest_SourceObjects) XXX_Unmarshal(b []byte) error { 2617 return xxx_messageInfo_ComposeObjectRequest_SourceObjects.Unmarshal(m, b) 2618} 2619func (m *ComposeObjectRequest_SourceObjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2620 return xxx_messageInfo_ComposeObjectRequest_SourceObjects.Marshal(b, m, deterministic) 2621} 2622func (m *ComposeObjectRequest_SourceObjects) XXX_Merge(src proto.Message) { 2623 xxx_messageInfo_ComposeObjectRequest_SourceObjects.Merge(m, src) 2624} 2625func (m *ComposeObjectRequest_SourceObjects) XXX_Size() int { 2626 return xxx_messageInfo_ComposeObjectRequest_SourceObjects.Size(m) 2627} 2628func (m *ComposeObjectRequest_SourceObjects) XXX_DiscardUnknown() { 2629 xxx_messageInfo_ComposeObjectRequest_SourceObjects.DiscardUnknown(m) 2630} 2631 2632var xxx_messageInfo_ComposeObjectRequest_SourceObjects proto.InternalMessageInfo 2633 2634func (m *ComposeObjectRequest_SourceObjects) GetName() string { 2635 if m != nil { 2636 return m.Name 2637 } 2638 return "" 2639} 2640 2641func (m *ComposeObjectRequest_SourceObjects) GetGeneration() int64 { 2642 if m != nil { 2643 return m.Generation 2644 } 2645 return 0 2646} 2647 2648func (m *ComposeObjectRequest_SourceObjects) GetObjectPreconditions() *ComposeObjectRequest_SourceObjects_ObjectPreconditions { 2649 if m != nil { 2650 return m.ObjectPreconditions 2651 } 2652 return nil 2653} 2654 2655// Preconditions for a source object of a composition request. 2656type ComposeObjectRequest_SourceObjects_ObjectPreconditions struct { 2657 // Only perform the composition if the generation of the source object 2658 // that would be used matches this value. If this value and a generation 2659 // are both specified, they must be the same value or the call will fail. 2660 IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,1,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` 2661 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2662 XXX_unrecognized []byte `json:"-"` 2663 XXX_sizecache int32 `json:"-"` 2664} 2665 2666func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) Reset() { 2667 *m = ComposeObjectRequest_SourceObjects_ObjectPreconditions{} 2668} 2669func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) String() string { 2670 return proto.CompactTextString(m) 2671} 2672func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoMessage() {} 2673func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) Descriptor() ([]byte, []int) { 2674 return fileDescriptor_cfff1fb85921a0a4, []int{31, 0, 0} 2675} 2676 2677func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Unmarshal(b []byte) error { 2678 return xxx_messageInfo_ComposeObjectRequest_SourceObjects_ObjectPreconditions.Unmarshal(m, b) 2679} 2680func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2681 return xxx_messageInfo_ComposeObjectRequest_SourceObjects_ObjectPreconditions.Marshal(b, m, deterministic) 2682} 2683func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Merge(src proto.Message) { 2684 xxx_messageInfo_ComposeObjectRequest_SourceObjects_ObjectPreconditions.Merge(m, src) 2685} 2686func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Size() int { 2687 return xxx_messageInfo_ComposeObjectRequest_SourceObjects_ObjectPreconditions.Size(m) 2688} 2689func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_DiscardUnknown() { 2690 xxx_messageInfo_ComposeObjectRequest_SourceObjects_ObjectPreconditions.DiscardUnknown(m) 2691} 2692 2693var xxx_messageInfo_ComposeObjectRequest_SourceObjects_ObjectPreconditions proto.InternalMessageInfo 2694 2695func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) GetIfGenerationMatch() *wrappers.Int64Value { 2696 if m != nil { 2697 return m.IfGenerationMatch 2698 } 2699 return nil 2700} 2701 2702// Request message for CopyObject. 2703type CopyObjectRequest struct { 2704 // Required. Name of the bucket in which to store the new object. Overrides the provided 2705 // object 2706 // metadata's `bucket` value, if any. 2707 DestinationBucket string `protobuf:"bytes,1,opt,name=destination_bucket,json=destinationBucket,proto3" json:"destination_bucket,omitempty"` 2708 // Required. Name of the new object. 2709 // Required when the object metadata is not otherwise provided. Overrides the 2710 // object metadata's `name` value, if any. 2711 DestinationObject string `protobuf:"bytes,2,opt,name=destination_object,json=destinationObject,proto3" json:"destination_object,omitempty"` 2712 // Apply a predefined set of access controls to the destination object. 2713 DestinationPredefinedAcl CommonEnums_PredefinedObjectAcl `protobuf:"varint,3,opt,name=destination_predefined_acl,json=destinationPredefinedAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedObjectAcl" json:"destination_predefined_acl,omitempty"` 2714 // Makes the operation conditional on whether the destination object's current 2715 // generation matches the given value. Setting to 0 makes the operation 2716 // succeed only if there are no live versions of the object. 2717 IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` 2718 // Makes the operation conditional on whether the destination object's current 2719 // generation does not match the given value. If no live object exists, the 2720 // precondition fails. Setting to 0 makes the operation succeed only if there 2721 // is a live version of the object. 2722 IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` 2723 // Makes the operation conditional on whether the destination object's current 2724 // metageneration matches the given value. 2725 IfMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 2726 // Makes the operation conditional on whether the destination object's current 2727 // metageneration does not match the given value. 2728 IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,7,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"` 2729 // Makes the operation conditional on whether the source object's current 2730 // generation matches the given value. 2731 IfSourceGenerationMatch *wrappers.Int64Value `protobuf:"bytes,8,opt,name=if_source_generation_match,json=ifSourceGenerationMatch,proto3" json:"if_source_generation_match,omitempty"` 2732 // Makes the operation conditional on whether the source object's current 2733 // generation does not match the given value. 2734 IfSourceGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,9,opt,name=if_source_generation_not_match,json=ifSourceGenerationNotMatch,proto3" json:"if_source_generation_not_match,omitempty"` 2735 // Makes the operation conditional on whether the source object's current 2736 // metageneration matches the given value. 2737 IfSourceMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,10,opt,name=if_source_metageneration_match,json=ifSourceMetagenerationMatch,proto3" json:"if_source_metageneration_match,omitempty"` 2738 // Makes the operation conditional on whether the source object's current 2739 // metageneration does not match the given value. 2740 IfSourceMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,11,opt,name=if_source_metageneration_not_match,json=ifSourceMetagenerationNotMatch,proto3" json:"if_source_metageneration_not_match,omitempty"` 2741 // Set of properties to return. Defaults to `NO_ACL`, unless the 2742 // object resource specifies the `acl` property, when it defaults 2743 // to `full`. 2744 Projection CommonEnums_Projection `protobuf:"varint,12,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` 2745 // Required. Name of the bucket in which to find the source object. 2746 SourceBucket string `protobuf:"bytes,13,opt,name=source_bucket,json=sourceBucket,proto3" json:"source_bucket,omitempty"` 2747 // Required. Name of the source object. 2748 SourceObject string `protobuf:"bytes,14,opt,name=source_object,json=sourceObject,proto3" json:"source_object,omitempty"` 2749 // If present, selects a specific revision of the source object (as opposed to 2750 // the latest version, the default). 2751 SourceGeneration int64 `protobuf:"varint,15,opt,name=source_generation,json=sourceGeneration,proto3" json:"source_generation,omitempty"` 2752 // Properties of the resulting object. If not set, duplicate properties of 2753 // source object. 2754 Destination *Object `protobuf:"bytes,17,opt,name=destination,proto3" json:"destination,omitempty"` 2755 // Resource name of the Cloud KMS key, of the form 2756 // `projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`, 2757 // that will be used to encrypt the object. Overrides the object 2758 // metadata's `kms_key_name` value, if any. 2759 DestinationKmsKeyName string `protobuf:"bytes,20,opt,name=destination_kms_key_name,json=destinationKmsKeyName,proto3" json:"destination_kms_key_name,omitempty"` 2760 // A set of parameters common to Storage API requests concerning an object. 2761 CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,18,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"` 2762 // A set of parameters common to all Storage API requests. 2763 CommonRequestParams *CommonRequestParams `protobuf:"bytes,19,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 2764 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2765 XXX_unrecognized []byte `json:"-"` 2766 XXX_sizecache int32 `json:"-"` 2767} 2768 2769func (m *CopyObjectRequest) Reset() { *m = CopyObjectRequest{} } 2770func (m *CopyObjectRequest) String() string { return proto.CompactTextString(m) } 2771func (*CopyObjectRequest) ProtoMessage() {} 2772func (*CopyObjectRequest) Descriptor() ([]byte, []int) { 2773 return fileDescriptor_cfff1fb85921a0a4, []int{32} 2774} 2775 2776func (m *CopyObjectRequest) XXX_Unmarshal(b []byte) error { 2777 return xxx_messageInfo_CopyObjectRequest.Unmarshal(m, b) 2778} 2779func (m *CopyObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2780 return xxx_messageInfo_CopyObjectRequest.Marshal(b, m, deterministic) 2781} 2782func (m *CopyObjectRequest) XXX_Merge(src proto.Message) { 2783 xxx_messageInfo_CopyObjectRequest.Merge(m, src) 2784} 2785func (m *CopyObjectRequest) XXX_Size() int { 2786 return xxx_messageInfo_CopyObjectRequest.Size(m) 2787} 2788func (m *CopyObjectRequest) XXX_DiscardUnknown() { 2789 xxx_messageInfo_CopyObjectRequest.DiscardUnknown(m) 2790} 2791 2792var xxx_messageInfo_CopyObjectRequest proto.InternalMessageInfo 2793 2794func (m *CopyObjectRequest) GetDestinationBucket() string { 2795 if m != nil { 2796 return m.DestinationBucket 2797 } 2798 return "" 2799} 2800 2801func (m *CopyObjectRequest) GetDestinationObject() string { 2802 if m != nil { 2803 return m.DestinationObject 2804 } 2805 return "" 2806} 2807 2808func (m *CopyObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl { 2809 if m != nil { 2810 return m.DestinationPredefinedAcl 2811 } 2812 return CommonEnums_PREDEFINED_OBJECT_ACL_UNSPECIFIED 2813} 2814 2815func (m *CopyObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value { 2816 if m != nil { 2817 return m.IfGenerationMatch 2818 } 2819 return nil 2820} 2821 2822func (m *CopyObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value { 2823 if m != nil { 2824 return m.IfGenerationNotMatch 2825 } 2826 return nil 2827} 2828 2829func (m *CopyObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value { 2830 if m != nil { 2831 return m.IfMetagenerationMatch 2832 } 2833 return nil 2834} 2835 2836func (m *CopyObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value { 2837 if m != nil { 2838 return m.IfMetagenerationNotMatch 2839 } 2840 return nil 2841} 2842 2843func (m *CopyObjectRequest) GetIfSourceGenerationMatch() *wrappers.Int64Value { 2844 if m != nil { 2845 return m.IfSourceGenerationMatch 2846 } 2847 return nil 2848} 2849 2850func (m *CopyObjectRequest) GetIfSourceGenerationNotMatch() *wrappers.Int64Value { 2851 if m != nil { 2852 return m.IfSourceGenerationNotMatch 2853 } 2854 return nil 2855} 2856 2857func (m *CopyObjectRequest) GetIfSourceMetagenerationMatch() *wrappers.Int64Value { 2858 if m != nil { 2859 return m.IfSourceMetagenerationMatch 2860 } 2861 return nil 2862} 2863 2864func (m *CopyObjectRequest) GetIfSourceMetagenerationNotMatch() *wrappers.Int64Value { 2865 if m != nil { 2866 return m.IfSourceMetagenerationNotMatch 2867 } 2868 return nil 2869} 2870 2871func (m *CopyObjectRequest) GetProjection() CommonEnums_Projection { 2872 if m != nil { 2873 return m.Projection 2874 } 2875 return CommonEnums_PROJECTION_UNSPECIFIED 2876} 2877 2878func (m *CopyObjectRequest) GetSourceBucket() string { 2879 if m != nil { 2880 return m.SourceBucket 2881 } 2882 return "" 2883} 2884 2885func (m *CopyObjectRequest) GetSourceObject() string { 2886 if m != nil { 2887 return m.SourceObject 2888 } 2889 return "" 2890} 2891 2892func (m *CopyObjectRequest) GetSourceGeneration() int64 { 2893 if m != nil { 2894 return m.SourceGeneration 2895 } 2896 return 0 2897} 2898 2899func (m *CopyObjectRequest) GetDestination() *Object { 2900 if m != nil { 2901 return m.Destination 2902 } 2903 return nil 2904} 2905 2906func (m *CopyObjectRequest) GetDestinationKmsKeyName() string { 2907 if m != nil { 2908 return m.DestinationKmsKeyName 2909 } 2910 return "" 2911} 2912 2913func (m *CopyObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams { 2914 if m != nil { 2915 return m.CommonObjectRequestParams 2916 } 2917 return nil 2918} 2919 2920func (m *CopyObjectRequest) GetCommonRequestParams() *CommonRequestParams { 2921 if m != nil { 2922 return m.CommonRequestParams 2923 } 2924 return nil 2925} 2926 2927// Message for deleting an object. 2928// Either `bucket` and `object` *or* `upload_id` **must** be set (but not both). 2929type DeleteObjectRequest struct { 2930 // Required. Name of the bucket in which the object resides. 2931 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 2932 // Required. The name of the object to delete (when not using a resumable write). 2933 Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 2934 // The resumable upload_id of the object to delete (when using a 2935 // resumable write). This should be copied from the `upload_id` field of 2936 // `StartResumableWriteResponse`. 2937 UploadId string `protobuf:"bytes,3,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` 2938 // If present, permanently deletes a specific revision of this object (as 2939 // opposed to the latest version, the default). 2940 Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` 2941 // Makes the operation conditional on whether the object's current generation 2942 // matches the given value. Setting to 0 makes the operation succeed only if 2943 // there are no live versions of the object. 2944 IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` 2945 // Makes the operation conditional on whether the object's current generation 2946 // does not match the given value. If no live object exists, the precondition 2947 // fails. Setting to 0 makes the operation succeed only if there is a live 2948 // version of the object. 2949 IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` 2950 // Makes the operation conditional on whether the object's current 2951 // metageneration matches the given value. 2952 IfMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,7,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 2953 // Makes the operation conditional on whether the object's current 2954 // metageneration does not match the given value. 2955 IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,8,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"` 2956 // A set of parameters common to Storage API requests concerning an object. 2957 CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,10,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"` 2958 // A set of parameters common to all Storage API requests. 2959 CommonRequestParams *CommonRequestParams `protobuf:"bytes,11,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 2960 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2961 XXX_unrecognized []byte `json:"-"` 2962 XXX_sizecache int32 `json:"-"` 2963} 2964 2965func (m *DeleteObjectRequest) Reset() { *m = DeleteObjectRequest{} } 2966func (m *DeleteObjectRequest) String() string { return proto.CompactTextString(m) } 2967func (*DeleteObjectRequest) ProtoMessage() {} 2968func (*DeleteObjectRequest) Descriptor() ([]byte, []int) { 2969 return fileDescriptor_cfff1fb85921a0a4, []int{33} 2970} 2971 2972func (m *DeleteObjectRequest) XXX_Unmarshal(b []byte) error { 2973 return xxx_messageInfo_DeleteObjectRequest.Unmarshal(m, b) 2974} 2975func (m *DeleteObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2976 return xxx_messageInfo_DeleteObjectRequest.Marshal(b, m, deterministic) 2977} 2978func (m *DeleteObjectRequest) XXX_Merge(src proto.Message) { 2979 xxx_messageInfo_DeleteObjectRequest.Merge(m, src) 2980} 2981func (m *DeleteObjectRequest) XXX_Size() int { 2982 return xxx_messageInfo_DeleteObjectRequest.Size(m) 2983} 2984func (m *DeleteObjectRequest) XXX_DiscardUnknown() { 2985 xxx_messageInfo_DeleteObjectRequest.DiscardUnknown(m) 2986} 2987 2988var xxx_messageInfo_DeleteObjectRequest proto.InternalMessageInfo 2989 2990func (m *DeleteObjectRequest) GetBucket() string { 2991 if m != nil { 2992 return m.Bucket 2993 } 2994 return "" 2995} 2996 2997func (m *DeleteObjectRequest) GetObject() string { 2998 if m != nil { 2999 return m.Object 3000 } 3001 return "" 3002} 3003 3004func (m *DeleteObjectRequest) GetUploadId() string { 3005 if m != nil { 3006 return m.UploadId 3007 } 3008 return "" 3009} 3010 3011func (m *DeleteObjectRequest) GetGeneration() int64 { 3012 if m != nil { 3013 return m.Generation 3014 } 3015 return 0 3016} 3017 3018func (m *DeleteObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value { 3019 if m != nil { 3020 return m.IfGenerationMatch 3021 } 3022 return nil 3023} 3024 3025func (m *DeleteObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value { 3026 if m != nil { 3027 return m.IfGenerationNotMatch 3028 } 3029 return nil 3030} 3031 3032func (m *DeleteObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value { 3033 if m != nil { 3034 return m.IfMetagenerationMatch 3035 } 3036 return nil 3037} 3038 3039func (m *DeleteObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value { 3040 if m != nil { 3041 return m.IfMetagenerationNotMatch 3042 } 3043 return nil 3044} 3045 3046func (m *DeleteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams { 3047 if m != nil { 3048 return m.CommonObjectRequestParams 3049 } 3050 return nil 3051} 3052 3053func (m *DeleteObjectRequest) GetCommonRequestParams() *CommonRequestParams { 3054 if m != nil { 3055 return m.CommonRequestParams 3056 } 3057 return nil 3058} 3059 3060// Request message for GetObjectMedia. 3061type GetObjectMediaRequest struct { 3062 // The name of the bucket containing the object to read. 3063 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 3064 // The name of the object to read. 3065 Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 3066 // If present, selects a specific revision of this object (as opposed 3067 // to the latest version, the default). 3068 Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` 3069 // The offset for the first byte to return in the read, relative to the start 3070 // of the object. 3071 // 3072 // A negative `read_offset` value will be interpreted as the number of bytes 3073 // back from the end of the object to be returned. For example, if an object's 3074 // length is 15 bytes, a GetObjectMediaRequest with `read_offset` = -5 and 3075 // `read_limit` = 3 would return bytes 10 through 12 of the object. 3076 ReadOffset int64 `protobuf:"varint,4,opt,name=read_offset,json=readOffset,proto3" json:"read_offset,omitempty"` 3077 // The maximum number of `data` bytes the server is allowed to return in the 3078 // sum of all `Object` messages. A `read_limit` of zero indicates that there 3079 // is no limit, and a negative `read_limit` will cause an error. 3080 // 3081 // If the stream returns fewer bytes than allowed by the `read_limit` and no 3082 // error occurred, the stream includes all data from the `read_offset` to the 3083 // end of the resource. 3084 ReadLimit int64 `protobuf:"varint,5,opt,name=read_limit,json=readLimit,proto3" json:"read_limit,omitempty"` 3085 // Makes the operation conditional on whether the object's current generation 3086 // matches the given value. Setting to 0 makes the operation succeed only if 3087 // there are no live versions of the object. 3088 IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` 3089 // Makes the operation conditional on whether the object's current generation 3090 // does not match the given value. If no live object exists, the precondition 3091 // fails. Setting to 0 makes the operation succeed only if there is a live 3092 // version of the object. 3093 IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,7,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` 3094 // Makes the operation conditional on whether the object's current 3095 // metageneration matches the given value. 3096 IfMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,8,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 3097 // Makes the operation conditional on whether the object's current 3098 // metageneration does not match the given value. 3099 IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,9,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"` 3100 // A set of parameters common to Storage API requests concerning an object. 3101 CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,11,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"` 3102 // A set of parameters common to all Storage API requests. 3103 CommonRequestParams *CommonRequestParams `protobuf:"bytes,12,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 3104 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3105 XXX_unrecognized []byte `json:"-"` 3106 XXX_sizecache int32 `json:"-"` 3107} 3108 3109func (m *GetObjectMediaRequest) Reset() { *m = GetObjectMediaRequest{} } 3110func (m *GetObjectMediaRequest) String() string { return proto.CompactTextString(m) } 3111func (*GetObjectMediaRequest) ProtoMessage() {} 3112func (*GetObjectMediaRequest) Descriptor() ([]byte, []int) { 3113 return fileDescriptor_cfff1fb85921a0a4, []int{34} 3114} 3115 3116func (m *GetObjectMediaRequest) XXX_Unmarshal(b []byte) error { 3117 return xxx_messageInfo_GetObjectMediaRequest.Unmarshal(m, b) 3118} 3119func (m *GetObjectMediaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3120 return xxx_messageInfo_GetObjectMediaRequest.Marshal(b, m, deterministic) 3121} 3122func (m *GetObjectMediaRequest) XXX_Merge(src proto.Message) { 3123 xxx_messageInfo_GetObjectMediaRequest.Merge(m, src) 3124} 3125func (m *GetObjectMediaRequest) XXX_Size() int { 3126 return xxx_messageInfo_GetObjectMediaRequest.Size(m) 3127} 3128func (m *GetObjectMediaRequest) XXX_DiscardUnknown() { 3129 xxx_messageInfo_GetObjectMediaRequest.DiscardUnknown(m) 3130} 3131 3132var xxx_messageInfo_GetObjectMediaRequest proto.InternalMessageInfo 3133 3134func (m *GetObjectMediaRequest) GetBucket() string { 3135 if m != nil { 3136 return m.Bucket 3137 } 3138 return "" 3139} 3140 3141func (m *GetObjectMediaRequest) GetObject() string { 3142 if m != nil { 3143 return m.Object 3144 } 3145 return "" 3146} 3147 3148func (m *GetObjectMediaRequest) GetGeneration() int64 { 3149 if m != nil { 3150 return m.Generation 3151 } 3152 return 0 3153} 3154 3155func (m *GetObjectMediaRequest) GetReadOffset() int64 { 3156 if m != nil { 3157 return m.ReadOffset 3158 } 3159 return 0 3160} 3161 3162func (m *GetObjectMediaRequest) GetReadLimit() int64 { 3163 if m != nil { 3164 return m.ReadLimit 3165 } 3166 return 0 3167} 3168 3169func (m *GetObjectMediaRequest) GetIfGenerationMatch() *wrappers.Int64Value { 3170 if m != nil { 3171 return m.IfGenerationMatch 3172 } 3173 return nil 3174} 3175 3176func (m *GetObjectMediaRequest) GetIfGenerationNotMatch() *wrappers.Int64Value { 3177 if m != nil { 3178 return m.IfGenerationNotMatch 3179 } 3180 return nil 3181} 3182 3183func (m *GetObjectMediaRequest) GetIfMetagenerationMatch() *wrappers.Int64Value { 3184 if m != nil { 3185 return m.IfMetagenerationMatch 3186 } 3187 return nil 3188} 3189 3190func (m *GetObjectMediaRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value { 3191 if m != nil { 3192 return m.IfMetagenerationNotMatch 3193 } 3194 return nil 3195} 3196 3197func (m *GetObjectMediaRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams { 3198 if m != nil { 3199 return m.CommonObjectRequestParams 3200 } 3201 return nil 3202} 3203 3204func (m *GetObjectMediaRequest) GetCommonRequestParams() *CommonRequestParams { 3205 if m != nil { 3206 return m.CommonRequestParams 3207 } 3208 return nil 3209} 3210 3211// Request message for GetObject. 3212type GetObjectRequest struct { 3213 // Required. Name of the bucket in which the object resides. 3214 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 3215 // Required. Name of the object. 3216 Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 3217 // If present, selects a specific revision of this object (as opposed to the 3218 // latest version, the default). 3219 Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` 3220 // Makes the operation conditional on whether the object's current generation 3221 // matches the given value. Setting to 0 makes the operation succeed only if 3222 // there are no live versions of the object. 3223 IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` 3224 // Makes the operation conditional on whether the object's current generation 3225 // does not match the given value. If no live object exists, the precondition 3226 // fails. Setting to 0 makes the operation succeed only if there is a live 3227 // version of the object. 3228 IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` 3229 // Makes the operation conditional on whether the object's current 3230 // metageneration matches the given value. 3231 IfMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 3232 // Makes the operation conditional on whether the object's current 3233 // metageneration does not match the given value. 3234 IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,7,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"` 3235 // Set of properties to return. Defaults to `NO_ACL`. 3236 Projection CommonEnums_Projection `protobuf:"varint,8,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` 3237 // A set of parameters common to Storage API requests concerning an object. 3238 CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,10,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"` 3239 // A set of parameters common to all Storage API requests. 3240 CommonRequestParams *CommonRequestParams `protobuf:"bytes,11,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 3241 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3242 XXX_unrecognized []byte `json:"-"` 3243 XXX_sizecache int32 `json:"-"` 3244} 3245 3246func (m *GetObjectRequest) Reset() { *m = GetObjectRequest{} } 3247func (m *GetObjectRequest) String() string { return proto.CompactTextString(m) } 3248func (*GetObjectRequest) ProtoMessage() {} 3249func (*GetObjectRequest) Descriptor() ([]byte, []int) { 3250 return fileDescriptor_cfff1fb85921a0a4, []int{35} 3251} 3252 3253func (m *GetObjectRequest) XXX_Unmarshal(b []byte) error { 3254 return xxx_messageInfo_GetObjectRequest.Unmarshal(m, b) 3255} 3256func (m *GetObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3257 return xxx_messageInfo_GetObjectRequest.Marshal(b, m, deterministic) 3258} 3259func (m *GetObjectRequest) XXX_Merge(src proto.Message) { 3260 xxx_messageInfo_GetObjectRequest.Merge(m, src) 3261} 3262func (m *GetObjectRequest) XXX_Size() int { 3263 return xxx_messageInfo_GetObjectRequest.Size(m) 3264} 3265func (m *GetObjectRequest) XXX_DiscardUnknown() { 3266 xxx_messageInfo_GetObjectRequest.DiscardUnknown(m) 3267} 3268 3269var xxx_messageInfo_GetObjectRequest proto.InternalMessageInfo 3270 3271func (m *GetObjectRequest) GetBucket() string { 3272 if m != nil { 3273 return m.Bucket 3274 } 3275 return "" 3276} 3277 3278func (m *GetObjectRequest) GetObject() string { 3279 if m != nil { 3280 return m.Object 3281 } 3282 return "" 3283} 3284 3285func (m *GetObjectRequest) GetGeneration() int64 { 3286 if m != nil { 3287 return m.Generation 3288 } 3289 return 0 3290} 3291 3292func (m *GetObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value { 3293 if m != nil { 3294 return m.IfGenerationMatch 3295 } 3296 return nil 3297} 3298 3299func (m *GetObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value { 3300 if m != nil { 3301 return m.IfGenerationNotMatch 3302 } 3303 return nil 3304} 3305 3306func (m *GetObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value { 3307 if m != nil { 3308 return m.IfMetagenerationMatch 3309 } 3310 return nil 3311} 3312 3313func (m *GetObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value { 3314 if m != nil { 3315 return m.IfMetagenerationNotMatch 3316 } 3317 return nil 3318} 3319 3320func (m *GetObjectRequest) GetProjection() CommonEnums_Projection { 3321 if m != nil { 3322 return m.Projection 3323 } 3324 return CommonEnums_PROJECTION_UNSPECIFIED 3325} 3326 3327func (m *GetObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams { 3328 if m != nil { 3329 return m.CommonObjectRequestParams 3330 } 3331 return nil 3332} 3333 3334func (m *GetObjectRequest) GetCommonRequestParams() *CommonRequestParams { 3335 if m != nil { 3336 return m.CommonRequestParams 3337 } 3338 return nil 3339} 3340 3341// Response message for GetObject. 3342type GetObjectMediaResponse struct { 3343 // A portion of the data for the object. The service **may** leave `data` 3344 // empty for any given `ReadResponse`. This enables the service to inform the 3345 // client that the request is still live while it is running an operation to 3346 // generate more data. 3347 ChecksummedData *ChecksummedData `protobuf:"bytes,1,opt,name=checksummed_data,json=checksummedData,proto3" json:"checksummed_data,omitempty"` 3348 // The checksums of the complete object. The client should compute one of 3349 // these checksums over the downloaded object and compare it against the value 3350 // provided here. 3351 ObjectChecksums *ObjectChecksums `protobuf:"bytes,2,opt,name=object_checksums,json=objectChecksums,proto3" json:"object_checksums,omitempty"` 3352 // If read_offset and or read_limit was specified on the 3353 // GetObjectMediaRequest, ContentRange will be populated on the first 3354 // GetObjectMediaResponse message of the read stream. 3355 ContentRange *ContentRange `protobuf:"bytes,3,opt,name=content_range,json=contentRange,proto3" json:"content_range,omitempty"` 3356 // Metadata of the object whose media is being returned. 3357 // Only populated in the first response in the stream. 3358 Metadata *Object `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` 3359 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3360 XXX_unrecognized []byte `json:"-"` 3361 XXX_sizecache int32 `json:"-"` 3362} 3363 3364func (m *GetObjectMediaResponse) Reset() { *m = GetObjectMediaResponse{} } 3365func (m *GetObjectMediaResponse) String() string { return proto.CompactTextString(m) } 3366func (*GetObjectMediaResponse) ProtoMessage() {} 3367func (*GetObjectMediaResponse) Descriptor() ([]byte, []int) { 3368 return fileDescriptor_cfff1fb85921a0a4, []int{36} 3369} 3370 3371func (m *GetObjectMediaResponse) XXX_Unmarshal(b []byte) error { 3372 return xxx_messageInfo_GetObjectMediaResponse.Unmarshal(m, b) 3373} 3374func (m *GetObjectMediaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3375 return xxx_messageInfo_GetObjectMediaResponse.Marshal(b, m, deterministic) 3376} 3377func (m *GetObjectMediaResponse) XXX_Merge(src proto.Message) { 3378 xxx_messageInfo_GetObjectMediaResponse.Merge(m, src) 3379} 3380func (m *GetObjectMediaResponse) XXX_Size() int { 3381 return xxx_messageInfo_GetObjectMediaResponse.Size(m) 3382} 3383func (m *GetObjectMediaResponse) XXX_DiscardUnknown() { 3384 xxx_messageInfo_GetObjectMediaResponse.DiscardUnknown(m) 3385} 3386 3387var xxx_messageInfo_GetObjectMediaResponse proto.InternalMessageInfo 3388 3389func (m *GetObjectMediaResponse) GetChecksummedData() *ChecksummedData { 3390 if m != nil { 3391 return m.ChecksummedData 3392 } 3393 return nil 3394} 3395 3396func (m *GetObjectMediaResponse) GetObjectChecksums() *ObjectChecksums { 3397 if m != nil { 3398 return m.ObjectChecksums 3399 } 3400 return nil 3401} 3402 3403func (m *GetObjectMediaResponse) GetContentRange() *ContentRange { 3404 if m != nil { 3405 return m.ContentRange 3406 } 3407 return nil 3408} 3409 3410func (m *GetObjectMediaResponse) GetMetadata() *Object { 3411 if m != nil { 3412 return m.Metadata 3413 } 3414 return nil 3415} 3416 3417// Describes an attempt to insert an object, possibly over multiple requests. 3418type InsertObjectSpec struct { 3419 // Destination object, including its name and its metadata. 3420 Resource *Object `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` 3421 // Apply a predefined set of access controls to this object. 3422 PredefinedAcl CommonEnums_PredefinedObjectAcl `protobuf:"varint,2,opt,name=predefined_acl,json=predefinedAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedObjectAcl" json:"predefined_acl,omitempty"` 3423 // Makes the operation conditional on whether the object's current 3424 // generation matches the given value. Setting to 0 makes the operation 3425 // succeed only if there are no live versions of the object. 3426 IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,3,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` 3427 // Makes the operation conditional on whether the object's current 3428 // generation does not match the given value. If no live object exists, the 3429 // precondition fails. Setting to 0 makes the operation succeed only if 3430 // there is a live version of the object. 3431 IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` 3432 // Makes the operation conditional on whether the object's current 3433 // metageneration matches the given value. 3434 IfMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 3435 // Makes the operation conditional on whether the object's current 3436 // metageneration does not match the given value. 3437 IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"` 3438 // Set of properties to return. Defaults to `NO_ACL`, unless the 3439 // object resource specifies the `acl` property, when it defaults 3440 // to `full`. 3441 Projection CommonEnums_Projection `protobuf:"varint,7,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` 3442 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3443 XXX_unrecognized []byte `json:"-"` 3444 XXX_sizecache int32 `json:"-"` 3445} 3446 3447func (m *InsertObjectSpec) Reset() { *m = InsertObjectSpec{} } 3448func (m *InsertObjectSpec) String() string { return proto.CompactTextString(m) } 3449func (*InsertObjectSpec) ProtoMessage() {} 3450func (*InsertObjectSpec) Descriptor() ([]byte, []int) { 3451 return fileDescriptor_cfff1fb85921a0a4, []int{37} 3452} 3453 3454func (m *InsertObjectSpec) XXX_Unmarshal(b []byte) error { 3455 return xxx_messageInfo_InsertObjectSpec.Unmarshal(m, b) 3456} 3457func (m *InsertObjectSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3458 return xxx_messageInfo_InsertObjectSpec.Marshal(b, m, deterministic) 3459} 3460func (m *InsertObjectSpec) XXX_Merge(src proto.Message) { 3461 xxx_messageInfo_InsertObjectSpec.Merge(m, src) 3462} 3463func (m *InsertObjectSpec) XXX_Size() int { 3464 return xxx_messageInfo_InsertObjectSpec.Size(m) 3465} 3466func (m *InsertObjectSpec) XXX_DiscardUnknown() { 3467 xxx_messageInfo_InsertObjectSpec.DiscardUnknown(m) 3468} 3469 3470var xxx_messageInfo_InsertObjectSpec proto.InternalMessageInfo 3471 3472func (m *InsertObjectSpec) GetResource() *Object { 3473 if m != nil { 3474 return m.Resource 3475 } 3476 return nil 3477} 3478 3479func (m *InsertObjectSpec) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl { 3480 if m != nil { 3481 return m.PredefinedAcl 3482 } 3483 return CommonEnums_PREDEFINED_OBJECT_ACL_UNSPECIFIED 3484} 3485 3486func (m *InsertObjectSpec) GetIfGenerationMatch() *wrappers.Int64Value { 3487 if m != nil { 3488 return m.IfGenerationMatch 3489 } 3490 return nil 3491} 3492 3493func (m *InsertObjectSpec) GetIfGenerationNotMatch() *wrappers.Int64Value { 3494 if m != nil { 3495 return m.IfGenerationNotMatch 3496 } 3497 return nil 3498} 3499 3500func (m *InsertObjectSpec) GetIfMetagenerationMatch() *wrappers.Int64Value { 3501 if m != nil { 3502 return m.IfMetagenerationMatch 3503 } 3504 return nil 3505} 3506 3507func (m *InsertObjectSpec) GetIfMetagenerationNotMatch() *wrappers.Int64Value { 3508 if m != nil { 3509 return m.IfMetagenerationNotMatch 3510 } 3511 return nil 3512} 3513 3514func (m *InsertObjectSpec) GetProjection() CommonEnums_Projection { 3515 if m != nil { 3516 return m.Projection 3517 } 3518 return CommonEnums_PROJECTION_UNSPECIFIED 3519} 3520 3521// Message for writing an object. 3522type InsertObjectRequest struct { 3523 // The first message of each stream should set one of the following. 3524 // 3525 // Types that are valid to be assigned to FirstMessage: 3526 // *InsertObjectRequest_UploadId 3527 // *InsertObjectRequest_InsertObjectSpec 3528 FirstMessage isInsertObjectRequest_FirstMessage `protobuf_oneof:"first_message"` 3529 // Required. The offset from the beginning of the object at which the data should be 3530 // written. 3531 // 3532 // In the first `InsertObjectRequest` of a `InsertObject()` action, it 3533 // indicates the initial offset for the `Insert()` call. The value **must** be 3534 // equal to the `committed_size` that a call to `QueryWriteStatus()` would 3535 // return (0 if this is the first write to the object). 3536 // 3537 // On subsequent calls, this value **must** be no larger than the sum of the 3538 // first `write_offset` and the sizes of all `data` chunks sent previously on 3539 // this stream. 3540 // 3541 // An incorrect value will cause an error. 3542 WriteOffset int64 `protobuf:"varint,3,opt,name=write_offset,json=writeOffset,proto3" json:"write_offset,omitempty"` 3543 // A portion of the data for the object. 3544 // 3545 // Types that are valid to be assigned to Data: 3546 // *InsertObjectRequest_ChecksummedData 3547 // *InsertObjectRequest_Reference 3548 Data isInsertObjectRequest_Data `protobuf_oneof:"data"` 3549 // Checksums for the complete object. If the checksums computed by the service 3550 // don't match the specifified checksums the call will fail. May only be 3551 // provided in the first or last request (either with first_message, or 3552 // finish_write set). 3553 ObjectChecksums *ObjectChecksums `protobuf:"bytes,6,opt,name=object_checksums,json=objectChecksums,proto3" json:"object_checksums,omitempty"` 3554 // If `true`, this indicates that the write is complete. Sending any 3555 // `InsertObjectRequest`s subsequent to one in which `finish_write` is `true` 3556 // will cause an error. 3557 // For a non-resumable write (where the upload_id was not set in the first 3558 // message), it is an error not to set this field in the final message of the 3559 // stream. 3560 FinishWrite bool `protobuf:"varint,7,opt,name=finish_write,json=finishWrite,proto3" json:"finish_write,omitempty"` 3561 // A set of parameters common to Storage API requests concerning an object. 3562 CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,8,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"` 3563 // A set of parameters common to all Storage API requests. 3564 CommonRequestParams *CommonRequestParams `protobuf:"bytes,9,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 3565 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3566 XXX_unrecognized []byte `json:"-"` 3567 XXX_sizecache int32 `json:"-"` 3568} 3569 3570func (m *InsertObjectRequest) Reset() { *m = InsertObjectRequest{} } 3571func (m *InsertObjectRequest) String() string { return proto.CompactTextString(m) } 3572func (*InsertObjectRequest) ProtoMessage() {} 3573func (*InsertObjectRequest) Descriptor() ([]byte, []int) { 3574 return fileDescriptor_cfff1fb85921a0a4, []int{38} 3575} 3576 3577func (m *InsertObjectRequest) XXX_Unmarshal(b []byte) error { 3578 return xxx_messageInfo_InsertObjectRequest.Unmarshal(m, b) 3579} 3580func (m *InsertObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3581 return xxx_messageInfo_InsertObjectRequest.Marshal(b, m, deterministic) 3582} 3583func (m *InsertObjectRequest) XXX_Merge(src proto.Message) { 3584 xxx_messageInfo_InsertObjectRequest.Merge(m, src) 3585} 3586func (m *InsertObjectRequest) XXX_Size() int { 3587 return xxx_messageInfo_InsertObjectRequest.Size(m) 3588} 3589func (m *InsertObjectRequest) XXX_DiscardUnknown() { 3590 xxx_messageInfo_InsertObjectRequest.DiscardUnknown(m) 3591} 3592 3593var xxx_messageInfo_InsertObjectRequest proto.InternalMessageInfo 3594 3595type isInsertObjectRequest_FirstMessage interface { 3596 isInsertObjectRequest_FirstMessage() 3597} 3598 3599type InsertObjectRequest_UploadId struct { 3600 UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3,oneof"` 3601} 3602 3603type InsertObjectRequest_InsertObjectSpec struct { 3604 InsertObjectSpec *InsertObjectSpec `protobuf:"bytes,2,opt,name=insert_object_spec,json=insertObjectSpec,proto3,oneof"` 3605} 3606 3607func (*InsertObjectRequest_UploadId) isInsertObjectRequest_FirstMessage() {} 3608 3609func (*InsertObjectRequest_InsertObjectSpec) isInsertObjectRequest_FirstMessage() {} 3610 3611func (m *InsertObjectRequest) GetFirstMessage() isInsertObjectRequest_FirstMessage { 3612 if m != nil { 3613 return m.FirstMessage 3614 } 3615 return nil 3616} 3617 3618func (m *InsertObjectRequest) GetUploadId() string { 3619 if x, ok := m.GetFirstMessage().(*InsertObjectRequest_UploadId); ok { 3620 return x.UploadId 3621 } 3622 return "" 3623} 3624 3625func (m *InsertObjectRequest) GetInsertObjectSpec() *InsertObjectSpec { 3626 if x, ok := m.GetFirstMessage().(*InsertObjectRequest_InsertObjectSpec); ok { 3627 return x.InsertObjectSpec 3628 } 3629 return nil 3630} 3631 3632func (m *InsertObjectRequest) GetWriteOffset() int64 { 3633 if m != nil { 3634 return m.WriteOffset 3635 } 3636 return 0 3637} 3638 3639type isInsertObjectRequest_Data interface { 3640 isInsertObjectRequest_Data() 3641} 3642 3643type InsertObjectRequest_ChecksummedData struct { 3644 ChecksummedData *ChecksummedData `protobuf:"bytes,4,opt,name=checksummed_data,json=checksummedData,proto3,oneof"` 3645} 3646 3647type InsertObjectRequest_Reference struct { 3648 Reference *GetObjectMediaRequest `protobuf:"bytes,5,opt,name=reference,proto3,oneof"` 3649} 3650 3651func (*InsertObjectRequest_ChecksummedData) isInsertObjectRequest_Data() {} 3652 3653func (*InsertObjectRequest_Reference) isInsertObjectRequest_Data() {} 3654 3655func (m *InsertObjectRequest) GetData() isInsertObjectRequest_Data { 3656 if m != nil { 3657 return m.Data 3658 } 3659 return nil 3660} 3661 3662func (m *InsertObjectRequest) GetChecksummedData() *ChecksummedData { 3663 if x, ok := m.GetData().(*InsertObjectRequest_ChecksummedData); ok { 3664 return x.ChecksummedData 3665 } 3666 return nil 3667} 3668 3669func (m *InsertObjectRequest) GetReference() *GetObjectMediaRequest { 3670 if x, ok := m.GetData().(*InsertObjectRequest_Reference); ok { 3671 return x.Reference 3672 } 3673 return nil 3674} 3675 3676func (m *InsertObjectRequest) GetObjectChecksums() *ObjectChecksums { 3677 if m != nil { 3678 return m.ObjectChecksums 3679 } 3680 return nil 3681} 3682 3683func (m *InsertObjectRequest) GetFinishWrite() bool { 3684 if m != nil { 3685 return m.FinishWrite 3686 } 3687 return false 3688} 3689 3690func (m *InsertObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams { 3691 if m != nil { 3692 return m.CommonObjectRequestParams 3693 } 3694 return nil 3695} 3696 3697func (m *InsertObjectRequest) GetCommonRequestParams() *CommonRequestParams { 3698 if m != nil { 3699 return m.CommonRequestParams 3700 } 3701 return nil 3702} 3703 3704// XXX_OneofWrappers is for the internal use of the proto package. 3705func (*InsertObjectRequest) XXX_OneofWrappers() []interface{} { 3706 return []interface{}{ 3707 (*InsertObjectRequest_UploadId)(nil), 3708 (*InsertObjectRequest_InsertObjectSpec)(nil), 3709 (*InsertObjectRequest_ChecksummedData)(nil), 3710 (*InsertObjectRequest_Reference)(nil), 3711 } 3712} 3713 3714// Request message for ListObjects. 3715type ListObjectsRequest struct { 3716 // Required. Name of the bucket in which to look for objects. 3717 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 3718 // Returns results in a directory-like mode. `items` will contain 3719 // only objects whose names, aside from the `prefix`, do not 3720 // contain `delimiter`. Objects whose names, aside from the 3721 // `prefix`, contain `delimiter` will have their name, 3722 // truncated after the `delimiter`, returned in 3723 // `prefixes`. Duplicate `prefixes` are omitted. 3724 Delimiter string `protobuf:"bytes,2,opt,name=delimiter,proto3" json:"delimiter,omitempty"` 3725 // If true, objects that end in exactly one instance of `delimiter` 3726 // will have their metadata included in `items` in addition to 3727 // `prefixes`. 3728 IncludeTrailingDelimiter bool `protobuf:"varint,3,opt,name=include_trailing_delimiter,json=includeTrailingDelimiter,proto3" json:"include_trailing_delimiter,omitempty"` 3729 // Maximum number of `items` plus `prefixes` to return 3730 // in a single page of responses. As duplicate `prefixes` are 3731 // omitted, fewer total results may be returned than requested. The service 3732 // will use this parameter or 1,000 items, whichever is smaller. 3733 MaxResults int32 `protobuf:"varint,4,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` 3734 // A previously-returned page token representing part of the larger set of 3735 // results to view. 3736 PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 3737 // Filter results to objects whose names begin with this prefix. 3738 Prefix string `protobuf:"bytes,6,opt,name=prefix,proto3" json:"prefix,omitempty"` 3739 // Set of properties to return. Defaults to `NO_ACL`. 3740 Projection CommonEnums_Projection `protobuf:"varint,7,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` 3741 // If `true`, lists all versions of an object as distinct results. 3742 // The default is `false`. For more information, see 3743 // [Object 3744 // Versioning](https://cloud.google.com/storage/docs/object-versioning). 3745 Versions bool `protobuf:"varint,9,opt,name=versions,proto3" json:"versions,omitempty"` 3746 // A set of parameters common to all Storage API requests. 3747 CommonRequestParams *CommonRequestParams `protobuf:"bytes,10,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 3748 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3749 XXX_unrecognized []byte `json:"-"` 3750 XXX_sizecache int32 `json:"-"` 3751} 3752 3753func (m *ListObjectsRequest) Reset() { *m = ListObjectsRequest{} } 3754func (m *ListObjectsRequest) String() string { return proto.CompactTextString(m) } 3755func (*ListObjectsRequest) ProtoMessage() {} 3756func (*ListObjectsRequest) Descriptor() ([]byte, []int) { 3757 return fileDescriptor_cfff1fb85921a0a4, []int{39} 3758} 3759 3760func (m *ListObjectsRequest) XXX_Unmarshal(b []byte) error { 3761 return xxx_messageInfo_ListObjectsRequest.Unmarshal(m, b) 3762} 3763func (m *ListObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3764 return xxx_messageInfo_ListObjectsRequest.Marshal(b, m, deterministic) 3765} 3766func (m *ListObjectsRequest) XXX_Merge(src proto.Message) { 3767 xxx_messageInfo_ListObjectsRequest.Merge(m, src) 3768} 3769func (m *ListObjectsRequest) XXX_Size() int { 3770 return xxx_messageInfo_ListObjectsRequest.Size(m) 3771} 3772func (m *ListObjectsRequest) XXX_DiscardUnknown() { 3773 xxx_messageInfo_ListObjectsRequest.DiscardUnknown(m) 3774} 3775 3776var xxx_messageInfo_ListObjectsRequest proto.InternalMessageInfo 3777 3778func (m *ListObjectsRequest) GetBucket() string { 3779 if m != nil { 3780 return m.Bucket 3781 } 3782 return "" 3783} 3784 3785func (m *ListObjectsRequest) GetDelimiter() string { 3786 if m != nil { 3787 return m.Delimiter 3788 } 3789 return "" 3790} 3791 3792func (m *ListObjectsRequest) GetIncludeTrailingDelimiter() bool { 3793 if m != nil { 3794 return m.IncludeTrailingDelimiter 3795 } 3796 return false 3797} 3798 3799func (m *ListObjectsRequest) GetMaxResults() int32 { 3800 if m != nil { 3801 return m.MaxResults 3802 } 3803 return 0 3804} 3805 3806func (m *ListObjectsRequest) GetPageToken() string { 3807 if m != nil { 3808 return m.PageToken 3809 } 3810 return "" 3811} 3812 3813func (m *ListObjectsRequest) GetPrefix() string { 3814 if m != nil { 3815 return m.Prefix 3816 } 3817 return "" 3818} 3819 3820func (m *ListObjectsRequest) GetProjection() CommonEnums_Projection { 3821 if m != nil { 3822 return m.Projection 3823 } 3824 return CommonEnums_PROJECTION_UNSPECIFIED 3825} 3826 3827func (m *ListObjectsRequest) GetVersions() bool { 3828 if m != nil { 3829 return m.Versions 3830 } 3831 return false 3832} 3833 3834func (m *ListObjectsRequest) GetCommonRequestParams() *CommonRequestParams { 3835 if m != nil { 3836 return m.CommonRequestParams 3837 } 3838 return nil 3839} 3840 3841// Request object for `ByteStream.QueryWriteStatus`. 3842type QueryWriteStatusRequest struct { 3843 // Required. The name of the resume token for the object whose write status is being 3844 // requested. 3845 UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` 3846 // A set of parameters common to Storage API requests concerning an object. 3847 CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,2,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"` 3848 // A set of parameters common to all Storage API requests. 3849 CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 3850 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3851 XXX_unrecognized []byte `json:"-"` 3852 XXX_sizecache int32 `json:"-"` 3853} 3854 3855func (m *QueryWriteStatusRequest) Reset() { *m = QueryWriteStatusRequest{} } 3856func (m *QueryWriteStatusRequest) String() string { return proto.CompactTextString(m) } 3857func (*QueryWriteStatusRequest) ProtoMessage() {} 3858func (*QueryWriteStatusRequest) Descriptor() ([]byte, []int) { 3859 return fileDescriptor_cfff1fb85921a0a4, []int{40} 3860} 3861 3862func (m *QueryWriteStatusRequest) XXX_Unmarshal(b []byte) error { 3863 return xxx_messageInfo_QueryWriteStatusRequest.Unmarshal(m, b) 3864} 3865func (m *QueryWriteStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3866 return xxx_messageInfo_QueryWriteStatusRequest.Marshal(b, m, deterministic) 3867} 3868func (m *QueryWriteStatusRequest) XXX_Merge(src proto.Message) { 3869 xxx_messageInfo_QueryWriteStatusRequest.Merge(m, src) 3870} 3871func (m *QueryWriteStatusRequest) XXX_Size() int { 3872 return xxx_messageInfo_QueryWriteStatusRequest.Size(m) 3873} 3874func (m *QueryWriteStatusRequest) XXX_DiscardUnknown() { 3875 xxx_messageInfo_QueryWriteStatusRequest.DiscardUnknown(m) 3876} 3877 3878var xxx_messageInfo_QueryWriteStatusRequest proto.InternalMessageInfo 3879 3880func (m *QueryWriteStatusRequest) GetUploadId() string { 3881 if m != nil { 3882 return m.UploadId 3883 } 3884 return "" 3885} 3886 3887func (m *QueryWriteStatusRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams { 3888 if m != nil { 3889 return m.CommonObjectRequestParams 3890 } 3891 return nil 3892} 3893 3894func (m *QueryWriteStatusRequest) GetCommonRequestParams() *CommonRequestParams { 3895 if m != nil { 3896 return m.CommonRequestParams 3897 } 3898 return nil 3899} 3900 3901// Response object for `ByteStream.QueryWriteStatus`. 3902type QueryWriteStatusResponse struct { 3903 // The number of bytes that have been processed for the given object. 3904 CommittedSize int64 `protobuf:"varint,1,opt,name=committed_size,json=committedSize,proto3" json:"committed_size,omitempty"` 3905 // `complete` is `true` only if the client has sent a `InsertObjectRequest` 3906 // with `finish_write` set to true, and the server has processed that request. 3907 Complete bool `protobuf:"varint,2,opt,name=complete,proto3" json:"complete,omitempty"` 3908 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3909 XXX_unrecognized []byte `json:"-"` 3910 XXX_sizecache int32 `json:"-"` 3911} 3912 3913func (m *QueryWriteStatusResponse) Reset() { *m = QueryWriteStatusResponse{} } 3914func (m *QueryWriteStatusResponse) String() string { return proto.CompactTextString(m) } 3915func (*QueryWriteStatusResponse) ProtoMessage() {} 3916func (*QueryWriteStatusResponse) Descriptor() ([]byte, []int) { 3917 return fileDescriptor_cfff1fb85921a0a4, []int{41} 3918} 3919 3920func (m *QueryWriteStatusResponse) XXX_Unmarshal(b []byte) error { 3921 return xxx_messageInfo_QueryWriteStatusResponse.Unmarshal(m, b) 3922} 3923func (m *QueryWriteStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3924 return xxx_messageInfo_QueryWriteStatusResponse.Marshal(b, m, deterministic) 3925} 3926func (m *QueryWriteStatusResponse) XXX_Merge(src proto.Message) { 3927 xxx_messageInfo_QueryWriteStatusResponse.Merge(m, src) 3928} 3929func (m *QueryWriteStatusResponse) XXX_Size() int { 3930 return xxx_messageInfo_QueryWriteStatusResponse.Size(m) 3931} 3932func (m *QueryWriteStatusResponse) XXX_DiscardUnknown() { 3933 xxx_messageInfo_QueryWriteStatusResponse.DiscardUnknown(m) 3934} 3935 3936var xxx_messageInfo_QueryWriteStatusResponse proto.InternalMessageInfo 3937 3938func (m *QueryWriteStatusResponse) GetCommittedSize() int64 { 3939 if m != nil { 3940 return m.CommittedSize 3941 } 3942 return 0 3943} 3944 3945func (m *QueryWriteStatusResponse) GetComplete() bool { 3946 if m != nil { 3947 return m.Complete 3948 } 3949 return false 3950} 3951 3952// Request message for RewriteObject. 3953type RewriteObjectRequest struct { 3954 // Required. Name of the bucket in which to store the new object. Overrides the provided 3955 // object metadata's `bucket` value, if any. 3956 DestinationBucket string `protobuf:"bytes,1,opt,name=destination_bucket,json=destinationBucket,proto3" json:"destination_bucket,omitempty"` 3957 // Required. Name of the new object. 3958 // Required when the object metadata is not otherwise provided. Overrides the 3959 // object metadata's `name` value, if any. 3960 DestinationObject string `protobuf:"bytes,2,opt,name=destination_object,json=destinationObject,proto3" json:"destination_object,omitempty"` 3961 // Resource name of the Cloud KMS key, of the form 3962 // `projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`, 3963 // that will be used to encrypt the object. Overrides the object 3964 // metadata's `kms_key_name` value, if any. 3965 DestinationKmsKeyName string `protobuf:"bytes,3,opt,name=destination_kms_key_name,json=destinationKmsKeyName,proto3" json:"destination_kms_key_name,omitempty"` 3966 // Apply a predefined set of access controls to the destination object. 3967 DestinationPredefinedAcl CommonEnums_PredefinedObjectAcl `protobuf:"varint,4,opt,name=destination_predefined_acl,json=destinationPredefinedAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedObjectAcl" json:"destination_predefined_acl,omitempty"` 3968 // Makes the operation conditional on whether the object's current generation 3969 // matches the given value. Setting to 0 makes the operation succeed only if 3970 // there are no live versions of the object. 3971 IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` 3972 // Makes the operation conditional on whether the object's current generation 3973 // does not match the given value. If no live object exists, the precondition 3974 // fails. Setting to 0 makes the operation succeed only if there is a live 3975 // version of the object. 3976 IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` 3977 // Makes the operation conditional on whether the destination object's current 3978 // metageneration matches the given value. 3979 IfMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,7,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 3980 // Makes the operation conditional on whether the destination object's current 3981 // metageneration does not match the given value. 3982 IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,8,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"` 3983 // Makes the operation conditional on whether the source object's current 3984 // generation matches the given value. 3985 IfSourceGenerationMatch *wrappers.Int64Value `protobuf:"bytes,9,opt,name=if_source_generation_match,json=ifSourceGenerationMatch,proto3" json:"if_source_generation_match,omitempty"` 3986 // Makes the operation conditional on whether the source object's current 3987 // generation does not match the given value. 3988 IfSourceGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,10,opt,name=if_source_generation_not_match,json=ifSourceGenerationNotMatch,proto3" json:"if_source_generation_not_match,omitempty"` 3989 // Makes the operation conditional on whether the source object's current 3990 // metageneration matches the given value. 3991 IfSourceMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,11,opt,name=if_source_metageneration_match,json=ifSourceMetagenerationMatch,proto3" json:"if_source_metageneration_match,omitempty"` 3992 // Makes the operation conditional on whether the source object's current 3993 // metageneration does not match the given value. 3994 IfSourceMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,12,opt,name=if_source_metageneration_not_match,json=ifSourceMetagenerationNotMatch,proto3" json:"if_source_metageneration_not_match,omitempty"` 3995 // The maximum number of bytes that will be rewritten per rewrite request. 3996 // Most callers 3997 // shouldn't need to specify this parameter - it is primarily in place to 3998 // support testing. If specified the value must be an integral multiple of 3999 // 1 MiB (1048576). Also, this only applies to requests where the source and 4000 // destination span locations and/or storage classes. Finally, this value must 4001 // not change across rewrite calls else you'll get an error that the 4002 // `rewriteToken` is invalid. 4003 MaxBytesRewrittenPerCall int64 `protobuf:"varint,13,opt,name=max_bytes_rewritten_per_call,json=maxBytesRewrittenPerCall,proto3" json:"max_bytes_rewritten_per_call,omitempty"` 4004 // Set of properties to return. Defaults to `NO_ACL`, unless the 4005 // object resource specifies the `acl` property, when it defaults 4006 // to `full`. 4007 Projection CommonEnums_Projection `protobuf:"varint,14,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` 4008 // Include this field (from the previous rewrite response) on each rewrite 4009 // request after the first one, until the rewrite response 'done' flag is 4010 // true. Calls that provide a rewriteToken can omit all other request fields, 4011 // but if included those fields must match the values provided in the first 4012 // rewrite request. 4013 RewriteToken string `protobuf:"bytes,15,opt,name=rewrite_token,json=rewriteToken,proto3" json:"rewrite_token,omitempty"` 4014 // Required. Name of the bucket in which to find the source object. 4015 SourceBucket string `protobuf:"bytes,16,opt,name=source_bucket,json=sourceBucket,proto3" json:"source_bucket,omitempty"` 4016 // Required. Name of the source object. 4017 SourceObject string `protobuf:"bytes,17,opt,name=source_object,json=sourceObject,proto3" json:"source_object,omitempty"` 4018 // If present, selects a specific revision of the source object (as opposed to 4019 // the latest version, the default). 4020 SourceGeneration int64 `protobuf:"varint,18,opt,name=source_generation,json=sourceGeneration,proto3" json:"source_generation,omitempty"` 4021 // Properties of the destination, post-rewrite object. 4022 Object *Object `protobuf:"bytes,20,opt,name=object,proto3" json:"object,omitempty"` 4023 // The algorithm used to encrypt the source object, if any. 4024 CopySourceEncryptionAlgorithm string `protobuf:"bytes,21,opt,name=copy_source_encryption_algorithm,json=copySourceEncryptionAlgorithm,proto3" json:"copy_source_encryption_algorithm,omitempty"` 4025 // The encryption key used to encrypt the source object, if any. 4026 CopySourceEncryptionKey string `protobuf:"bytes,22,opt,name=copy_source_encryption_key,json=copySourceEncryptionKey,proto3" json:"copy_source_encryption_key,omitempty"` 4027 // The SHA-256 hash of the key used to encrypt the source object, if any. 4028 CopySourceEncryptionKeySha256 string `protobuf:"bytes,23,opt,name=copy_source_encryption_key_sha256,json=copySourceEncryptionKeySha256,proto3" json:"copy_source_encryption_key_sha256,omitempty"` 4029 // A set of parameters common to Storage API requests concerning an object. 4030 CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,24,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"` 4031 // A set of parameters common to all Storage API requests. 4032 CommonRequestParams *CommonRequestParams `protobuf:"bytes,25,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 4033 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4034 XXX_unrecognized []byte `json:"-"` 4035 XXX_sizecache int32 `json:"-"` 4036} 4037 4038func (m *RewriteObjectRequest) Reset() { *m = RewriteObjectRequest{} } 4039func (m *RewriteObjectRequest) String() string { return proto.CompactTextString(m) } 4040func (*RewriteObjectRequest) ProtoMessage() {} 4041func (*RewriteObjectRequest) Descriptor() ([]byte, []int) { 4042 return fileDescriptor_cfff1fb85921a0a4, []int{42} 4043} 4044 4045func (m *RewriteObjectRequest) XXX_Unmarshal(b []byte) error { 4046 return xxx_messageInfo_RewriteObjectRequest.Unmarshal(m, b) 4047} 4048func (m *RewriteObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4049 return xxx_messageInfo_RewriteObjectRequest.Marshal(b, m, deterministic) 4050} 4051func (m *RewriteObjectRequest) XXX_Merge(src proto.Message) { 4052 xxx_messageInfo_RewriteObjectRequest.Merge(m, src) 4053} 4054func (m *RewriteObjectRequest) XXX_Size() int { 4055 return xxx_messageInfo_RewriteObjectRequest.Size(m) 4056} 4057func (m *RewriteObjectRequest) XXX_DiscardUnknown() { 4058 xxx_messageInfo_RewriteObjectRequest.DiscardUnknown(m) 4059} 4060 4061var xxx_messageInfo_RewriteObjectRequest proto.InternalMessageInfo 4062 4063func (m *RewriteObjectRequest) GetDestinationBucket() string { 4064 if m != nil { 4065 return m.DestinationBucket 4066 } 4067 return "" 4068} 4069 4070func (m *RewriteObjectRequest) GetDestinationObject() string { 4071 if m != nil { 4072 return m.DestinationObject 4073 } 4074 return "" 4075} 4076 4077func (m *RewriteObjectRequest) GetDestinationKmsKeyName() string { 4078 if m != nil { 4079 return m.DestinationKmsKeyName 4080 } 4081 return "" 4082} 4083 4084func (m *RewriteObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl { 4085 if m != nil { 4086 return m.DestinationPredefinedAcl 4087 } 4088 return CommonEnums_PREDEFINED_OBJECT_ACL_UNSPECIFIED 4089} 4090 4091func (m *RewriteObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value { 4092 if m != nil { 4093 return m.IfGenerationMatch 4094 } 4095 return nil 4096} 4097 4098func (m *RewriteObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value { 4099 if m != nil { 4100 return m.IfGenerationNotMatch 4101 } 4102 return nil 4103} 4104 4105func (m *RewriteObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value { 4106 if m != nil { 4107 return m.IfMetagenerationMatch 4108 } 4109 return nil 4110} 4111 4112func (m *RewriteObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value { 4113 if m != nil { 4114 return m.IfMetagenerationNotMatch 4115 } 4116 return nil 4117} 4118 4119func (m *RewriteObjectRequest) GetIfSourceGenerationMatch() *wrappers.Int64Value { 4120 if m != nil { 4121 return m.IfSourceGenerationMatch 4122 } 4123 return nil 4124} 4125 4126func (m *RewriteObjectRequest) GetIfSourceGenerationNotMatch() *wrappers.Int64Value { 4127 if m != nil { 4128 return m.IfSourceGenerationNotMatch 4129 } 4130 return nil 4131} 4132 4133func (m *RewriteObjectRequest) GetIfSourceMetagenerationMatch() *wrappers.Int64Value { 4134 if m != nil { 4135 return m.IfSourceMetagenerationMatch 4136 } 4137 return nil 4138} 4139 4140func (m *RewriteObjectRequest) GetIfSourceMetagenerationNotMatch() *wrappers.Int64Value { 4141 if m != nil { 4142 return m.IfSourceMetagenerationNotMatch 4143 } 4144 return nil 4145} 4146 4147func (m *RewriteObjectRequest) GetMaxBytesRewrittenPerCall() int64 { 4148 if m != nil { 4149 return m.MaxBytesRewrittenPerCall 4150 } 4151 return 0 4152} 4153 4154func (m *RewriteObjectRequest) GetProjection() CommonEnums_Projection { 4155 if m != nil { 4156 return m.Projection 4157 } 4158 return CommonEnums_PROJECTION_UNSPECIFIED 4159} 4160 4161func (m *RewriteObjectRequest) GetRewriteToken() string { 4162 if m != nil { 4163 return m.RewriteToken 4164 } 4165 return "" 4166} 4167 4168func (m *RewriteObjectRequest) GetSourceBucket() string { 4169 if m != nil { 4170 return m.SourceBucket 4171 } 4172 return "" 4173} 4174 4175func (m *RewriteObjectRequest) GetSourceObject() string { 4176 if m != nil { 4177 return m.SourceObject 4178 } 4179 return "" 4180} 4181 4182func (m *RewriteObjectRequest) GetSourceGeneration() int64 { 4183 if m != nil { 4184 return m.SourceGeneration 4185 } 4186 return 0 4187} 4188 4189func (m *RewriteObjectRequest) GetObject() *Object { 4190 if m != nil { 4191 return m.Object 4192 } 4193 return nil 4194} 4195 4196func (m *RewriteObjectRequest) GetCopySourceEncryptionAlgorithm() string { 4197 if m != nil { 4198 return m.CopySourceEncryptionAlgorithm 4199 } 4200 return "" 4201} 4202 4203func (m *RewriteObjectRequest) GetCopySourceEncryptionKey() string { 4204 if m != nil { 4205 return m.CopySourceEncryptionKey 4206 } 4207 return "" 4208} 4209 4210func (m *RewriteObjectRequest) GetCopySourceEncryptionKeySha256() string { 4211 if m != nil { 4212 return m.CopySourceEncryptionKeySha256 4213 } 4214 return "" 4215} 4216 4217func (m *RewriteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams { 4218 if m != nil { 4219 return m.CommonObjectRequestParams 4220 } 4221 return nil 4222} 4223 4224func (m *RewriteObjectRequest) GetCommonRequestParams() *CommonRequestParams { 4225 if m != nil { 4226 return m.CommonRequestParams 4227 } 4228 return nil 4229} 4230 4231// A rewrite response. 4232type RewriteResponse struct { 4233 // The total bytes written so far, which can be used to provide a waiting user 4234 // with a progress indicator. This property is always present in the response. 4235 TotalBytesRewritten int64 `protobuf:"varint,1,opt,name=total_bytes_rewritten,json=totalBytesRewritten,proto3" json:"total_bytes_rewritten,omitempty"` 4236 // The total size of the object being copied in bytes. This property is always 4237 // present in the response. 4238 ObjectSize int64 `protobuf:"varint,2,opt,name=object_size,json=objectSize,proto3" json:"object_size,omitempty"` 4239 // `true` if the copy is finished; otherwise, `false` if 4240 // the copy is in progress. This property is always present in the response. 4241 Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"` 4242 // A token to use in subsequent requests to continue copying data. This token 4243 // is present in the response only when there is more data to copy. 4244 RewriteToken string `protobuf:"bytes,4,opt,name=rewrite_token,json=rewriteToken,proto3" json:"rewrite_token,omitempty"` 4245 // A resource containing the metadata for the copied-to object. This property 4246 // is present in the response only when copying completes. 4247 Resource *Object `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"` 4248 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4249 XXX_unrecognized []byte `json:"-"` 4250 XXX_sizecache int32 `json:"-"` 4251} 4252 4253func (m *RewriteResponse) Reset() { *m = RewriteResponse{} } 4254func (m *RewriteResponse) String() string { return proto.CompactTextString(m) } 4255func (*RewriteResponse) ProtoMessage() {} 4256func (*RewriteResponse) Descriptor() ([]byte, []int) { 4257 return fileDescriptor_cfff1fb85921a0a4, []int{43} 4258} 4259 4260func (m *RewriteResponse) XXX_Unmarshal(b []byte) error { 4261 return xxx_messageInfo_RewriteResponse.Unmarshal(m, b) 4262} 4263func (m *RewriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4264 return xxx_messageInfo_RewriteResponse.Marshal(b, m, deterministic) 4265} 4266func (m *RewriteResponse) XXX_Merge(src proto.Message) { 4267 xxx_messageInfo_RewriteResponse.Merge(m, src) 4268} 4269func (m *RewriteResponse) XXX_Size() int { 4270 return xxx_messageInfo_RewriteResponse.Size(m) 4271} 4272func (m *RewriteResponse) XXX_DiscardUnknown() { 4273 xxx_messageInfo_RewriteResponse.DiscardUnknown(m) 4274} 4275 4276var xxx_messageInfo_RewriteResponse proto.InternalMessageInfo 4277 4278func (m *RewriteResponse) GetTotalBytesRewritten() int64 { 4279 if m != nil { 4280 return m.TotalBytesRewritten 4281 } 4282 return 0 4283} 4284 4285func (m *RewriteResponse) GetObjectSize() int64 { 4286 if m != nil { 4287 return m.ObjectSize 4288 } 4289 return 0 4290} 4291 4292func (m *RewriteResponse) GetDone() bool { 4293 if m != nil { 4294 return m.Done 4295 } 4296 return false 4297} 4298 4299func (m *RewriteResponse) GetRewriteToken() string { 4300 if m != nil { 4301 return m.RewriteToken 4302 } 4303 return "" 4304} 4305 4306func (m *RewriteResponse) GetResource() *Object { 4307 if m != nil { 4308 return m.Resource 4309 } 4310 return nil 4311} 4312 4313// Request message StartResumableWrite. 4314type StartResumableWriteRequest struct { 4315 // The destination bucket, object, and metadata, as well as any preconditions. 4316 InsertObjectSpec *InsertObjectSpec `protobuf:"bytes,1,opt,name=insert_object_spec,json=insertObjectSpec,proto3" json:"insert_object_spec,omitempty"` 4317 // A set of parameters common to Storage API requests concerning an object. 4318 CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,3,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"` 4319 // A set of parameters common to all Storage API requests. 4320 CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 4321 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4322 XXX_unrecognized []byte `json:"-"` 4323 XXX_sizecache int32 `json:"-"` 4324} 4325 4326func (m *StartResumableWriteRequest) Reset() { *m = StartResumableWriteRequest{} } 4327func (m *StartResumableWriteRequest) String() string { return proto.CompactTextString(m) } 4328func (*StartResumableWriteRequest) ProtoMessage() {} 4329func (*StartResumableWriteRequest) Descriptor() ([]byte, []int) { 4330 return fileDescriptor_cfff1fb85921a0a4, []int{44} 4331} 4332 4333func (m *StartResumableWriteRequest) XXX_Unmarshal(b []byte) error { 4334 return xxx_messageInfo_StartResumableWriteRequest.Unmarshal(m, b) 4335} 4336func (m *StartResumableWriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4337 return xxx_messageInfo_StartResumableWriteRequest.Marshal(b, m, deterministic) 4338} 4339func (m *StartResumableWriteRequest) XXX_Merge(src proto.Message) { 4340 xxx_messageInfo_StartResumableWriteRequest.Merge(m, src) 4341} 4342func (m *StartResumableWriteRequest) XXX_Size() int { 4343 return xxx_messageInfo_StartResumableWriteRequest.Size(m) 4344} 4345func (m *StartResumableWriteRequest) XXX_DiscardUnknown() { 4346 xxx_messageInfo_StartResumableWriteRequest.DiscardUnknown(m) 4347} 4348 4349var xxx_messageInfo_StartResumableWriteRequest proto.InternalMessageInfo 4350 4351func (m *StartResumableWriteRequest) GetInsertObjectSpec() *InsertObjectSpec { 4352 if m != nil { 4353 return m.InsertObjectSpec 4354 } 4355 return nil 4356} 4357 4358func (m *StartResumableWriteRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams { 4359 if m != nil { 4360 return m.CommonObjectRequestParams 4361 } 4362 return nil 4363} 4364 4365func (m *StartResumableWriteRequest) GetCommonRequestParams() *CommonRequestParams { 4366 if m != nil { 4367 return m.CommonRequestParams 4368 } 4369 return nil 4370} 4371 4372// Response object for ByteStream.StartResumableWrite. 4373type StartResumableWriteResponse struct { 4374 // The upload_id of the newly started resumable write operation. This 4375 // value should be copied into the `InsertObjectRequest.upload_id` field. 4376 UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` 4377 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4378 XXX_unrecognized []byte `json:"-"` 4379 XXX_sizecache int32 `json:"-"` 4380} 4381 4382func (m *StartResumableWriteResponse) Reset() { *m = StartResumableWriteResponse{} } 4383func (m *StartResumableWriteResponse) String() string { return proto.CompactTextString(m) } 4384func (*StartResumableWriteResponse) ProtoMessage() {} 4385func (*StartResumableWriteResponse) Descriptor() ([]byte, []int) { 4386 return fileDescriptor_cfff1fb85921a0a4, []int{45} 4387} 4388 4389func (m *StartResumableWriteResponse) XXX_Unmarshal(b []byte) error { 4390 return xxx_messageInfo_StartResumableWriteResponse.Unmarshal(m, b) 4391} 4392func (m *StartResumableWriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4393 return xxx_messageInfo_StartResumableWriteResponse.Marshal(b, m, deterministic) 4394} 4395func (m *StartResumableWriteResponse) XXX_Merge(src proto.Message) { 4396 xxx_messageInfo_StartResumableWriteResponse.Merge(m, src) 4397} 4398func (m *StartResumableWriteResponse) XXX_Size() int { 4399 return xxx_messageInfo_StartResumableWriteResponse.Size(m) 4400} 4401func (m *StartResumableWriteResponse) XXX_DiscardUnknown() { 4402 xxx_messageInfo_StartResumableWriteResponse.DiscardUnknown(m) 4403} 4404 4405var xxx_messageInfo_StartResumableWriteResponse proto.InternalMessageInfo 4406 4407func (m *StartResumableWriteResponse) GetUploadId() string { 4408 if m != nil { 4409 return m.UploadId 4410 } 4411 return "" 4412} 4413 4414// Request message for PatchObject. 4415type PatchObjectRequest struct { 4416 // Required. Name of the bucket in which the object resides. 4417 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 4418 // Required. Name of the object. 4419 Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 4420 // If present, selects a specific revision of this object (as opposed to the 4421 // latest version, the default). 4422 Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` 4423 // Makes the operation conditional on whether the object's current generation 4424 // matches the given value. Setting to 0 makes the operation succeed only if 4425 // there are no live versions of the object. 4426 IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` 4427 // Makes the operation conditional on whether the object's current generation 4428 // does not match the given value. If no live object exists, the precondition 4429 // fails. Setting to 0 makes the operation succeed only if there is a live 4430 // version of the object. 4431 IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` 4432 // Makes the operation conditional on whether the object's current 4433 // metageneration matches the given value. 4434 IfMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 4435 // Makes the operation conditional on whether the object's current 4436 // metageneration does not match the given value. 4437 IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,7,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"` 4438 // Apply a predefined set of access controls to this object. 4439 PredefinedAcl CommonEnums_PredefinedObjectAcl `protobuf:"varint,8,opt,name=predefined_acl,json=predefinedAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedObjectAcl" json:"predefined_acl,omitempty"` 4440 // Set of properties to return. Defaults to `FULL`. 4441 Projection CommonEnums_Projection `protobuf:"varint,9,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` 4442 // The Object metadata for updating. 4443 Metadata *Object `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` 4444 // List of fields to be updated. 4445 // 4446 // To specify ALL fields, equivalent to the JSON API's "update" function, 4447 // specify a single field with the value `*`. Note: not recommended. If a new 4448 // field is introduced at a later time, an older client updating with the `*` 4449 // may accidentally reset the new field's value. 4450 // 4451 // Not specifying any fields is an error. 4452 // Not specifying a field while setting that field to a non-default value is 4453 // an error. 4454 UpdateMask *field_mask.FieldMask `protobuf:"bytes,12,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 4455 // A set of parameters common to Storage API requests concerning an object. 4456 CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,13,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"` 4457 // A set of parameters common to all Storage API requests. 4458 CommonRequestParams *CommonRequestParams `protobuf:"bytes,14,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 4459 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4460 XXX_unrecognized []byte `json:"-"` 4461 XXX_sizecache int32 `json:"-"` 4462} 4463 4464func (m *PatchObjectRequest) Reset() { *m = PatchObjectRequest{} } 4465func (m *PatchObjectRequest) String() string { return proto.CompactTextString(m) } 4466func (*PatchObjectRequest) ProtoMessage() {} 4467func (*PatchObjectRequest) Descriptor() ([]byte, []int) { 4468 return fileDescriptor_cfff1fb85921a0a4, []int{46} 4469} 4470 4471func (m *PatchObjectRequest) XXX_Unmarshal(b []byte) error { 4472 return xxx_messageInfo_PatchObjectRequest.Unmarshal(m, b) 4473} 4474func (m *PatchObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4475 return xxx_messageInfo_PatchObjectRequest.Marshal(b, m, deterministic) 4476} 4477func (m *PatchObjectRequest) XXX_Merge(src proto.Message) { 4478 xxx_messageInfo_PatchObjectRequest.Merge(m, src) 4479} 4480func (m *PatchObjectRequest) XXX_Size() int { 4481 return xxx_messageInfo_PatchObjectRequest.Size(m) 4482} 4483func (m *PatchObjectRequest) XXX_DiscardUnknown() { 4484 xxx_messageInfo_PatchObjectRequest.DiscardUnknown(m) 4485} 4486 4487var xxx_messageInfo_PatchObjectRequest proto.InternalMessageInfo 4488 4489func (m *PatchObjectRequest) GetBucket() string { 4490 if m != nil { 4491 return m.Bucket 4492 } 4493 return "" 4494} 4495 4496func (m *PatchObjectRequest) GetObject() string { 4497 if m != nil { 4498 return m.Object 4499 } 4500 return "" 4501} 4502 4503func (m *PatchObjectRequest) GetGeneration() int64 { 4504 if m != nil { 4505 return m.Generation 4506 } 4507 return 0 4508} 4509 4510func (m *PatchObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value { 4511 if m != nil { 4512 return m.IfGenerationMatch 4513 } 4514 return nil 4515} 4516 4517func (m *PatchObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value { 4518 if m != nil { 4519 return m.IfGenerationNotMatch 4520 } 4521 return nil 4522} 4523 4524func (m *PatchObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value { 4525 if m != nil { 4526 return m.IfMetagenerationMatch 4527 } 4528 return nil 4529} 4530 4531func (m *PatchObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value { 4532 if m != nil { 4533 return m.IfMetagenerationNotMatch 4534 } 4535 return nil 4536} 4537 4538func (m *PatchObjectRequest) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl { 4539 if m != nil { 4540 return m.PredefinedAcl 4541 } 4542 return CommonEnums_PREDEFINED_OBJECT_ACL_UNSPECIFIED 4543} 4544 4545func (m *PatchObjectRequest) GetProjection() CommonEnums_Projection { 4546 if m != nil { 4547 return m.Projection 4548 } 4549 return CommonEnums_PROJECTION_UNSPECIFIED 4550} 4551 4552func (m *PatchObjectRequest) GetMetadata() *Object { 4553 if m != nil { 4554 return m.Metadata 4555 } 4556 return nil 4557} 4558 4559func (m *PatchObjectRequest) GetUpdateMask() *field_mask.FieldMask { 4560 if m != nil { 4561 return m.UpdateMask 4562 } 4563 return nil 4564} 4565 4566func (m *PatchObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams { 4567 if m != nil { 4568 return m.CommonObjectRequestParams 4569 } 4570 return nil 4571} 4572 4573func (m *PatchObjectRequest) GetCommonRequestParams() *CommonRequestParams { 4574 if m != nil { 4575 return m.CommonRequestParams 4576 } 4577 return nil 4578} 4579 4580// Request message for UpdateObject. 4581type UpdateObjectRequest struct { 4582 // Required. Name of the bucket in which the object resides. 4583 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 4584 // Required. Name of the object. 4585 Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 4586 // If present, selects a specific revision of this object (as opposed to the 4587 // latest version, the default). 4588 Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` 4589 // Makes the operation conditional on whether the object's current generation 4590 // matches the given value. Setting to 0 makes the operation succeed only if 4591 // there are no live versions of the object. 4592 IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` 4593 // Makes the operation conditional on whether the object's current generation 4594 // does not match the given value. If no live object exists, the precondition 4595 // fails. Setting to 0 makes the operation succeed only if there is a live 4596 // version of the object. 4597 IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` 4598 // Makes the operation conditional on whether the object's current 4599 // metageneration matches the given value. 4600 IfMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"` 4601 // Makes the operation conditional on whether the object's current 4602 // metageneration does not match the given value. 4603 IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,7,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"` 4604 // Apply a predefined set of access controls to this object. 4605 PredefinedAcl CommonEnums_PredefinedObjectAcl `protobuf:"varint,8,opt,name=predefined_acl,json=predefinedAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedObjectAcl" json:"predefined_acl,omitempty"` 4606 // Set of properties to return. Defaults to `FULL`. 4607 Projection CommonEnums_Projection `protobuf:"varint,9,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` 4608 // The Object metadata for updating. 4609 Metadata *Object `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` 4610 // A set of parameters common to Storage API requests concerning an object. 4611 CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,12,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"` 4612 // A set of parameters common to all Storage API requests. 4613 CommonRequestParams *CommonRequestParams `protobuf:"bytes,13,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 4614 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4615 XXX_unrecognized []byte `json:"-"` 4616 XXX_sizecache int32 `json:"-"` 4617} 4618 4619func (m *UpdateObjectRequest) Reset() { *m = UpdateObjectRequest{} } 4620func (m *UpdateObjectRequest) String() string { return proto.CompactTextString(m) } 4621func (*UpdateObjectRequest) ProtoMessage() {} 4622func (*UpdateObjectRequest) Descriptor() ([]byte, []int) { 4623 return fileDescriptor_cfff1fb85921a0a4, []int{47} 4624} 4625 4626func (m *UpdateObjectRequest) XXX_Unmarshal(b []byte) error { 4627 return xxx_messageInfo_UpdateObjectRequest.Unmarshal(m, b) 4628} 4629func (m *UpdateObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4630 return xxx_messageInfo_UpdateObjectRequest.Marshal(b, m, deterministic) 4631} 4632func (m *UpdateObjectRequest) XXX_Merge(src proto.Message) { 4633 xxx_messageInfo_UpdateObjectRequest.Merge(m, src) 4634} 4635func (m *UpdateObjectRequest) XXX_Size() int { 4636 return xxx_messageInfo_UpdateObjectRequest.Size(m) 4637} 4638func (m *UpdateObjectRequest) XXX_DiscardUnknown() { 4639 xxx_messageInfo_UpdateObjectRequest.DiscardUnknown(m) 4640} 4641 4642var xxx_messageInfo_UpdateObjectRequest proto.InternalMessageInfo 4643 4644func (m *UpdateObjectRequest) GetBucket() string { 4645 if m != nil { 4646 return m.Bucket 4647 } 4648 return "" 4649} 4650 4651func (m *UpdateObjectRequest) GetObject() string { 4652 if m != nil { 4653 return m.Object 4654 } 4655 return "" 4656} 4657 4658func (m *UpdateObjectRequest) GetGeneration() int64 { 4659 if m != nil { 4660 return m.Generation 4661 } 4662 return 0 4663} 4664 4665func (m *UpdateObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value { 4666 if m != nil { 4667 return m.IfGenerationMatch 4668 } 4669 return nil 4670} 4671 4672func (m *UpdateObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value { 4673 if m != nil { 4674 return m.IfGenerationNotMatch 4675 } 4676 return nil 4677} 4678 4679func (m *UpdateObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value { 4680 if m != nil { 4681 return m.IfMetagenerationMatch 4682 } 4683 return nil 4684} 4685 4686func (m *UpdateObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value { 4687 if m != nil { 4688 return m.IfMetagenerationNotMatch 4689 } 4690 return nil 4691} 4692 4693func (m *UpdateObjectRequest) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl { 4694 if m != nil { 4695 return m.PredefinedAcl 4696 } 4697 return CommonEnums_PREDEFINED_OBJECT_ACL_UNSPECIFIED 4698} 4699 4700func (m *UpdateObjectRequest) GetProjection() CommonEnums_Projection { 4701 if m != nil { 4702 return m.Projection 4703 } 4704 return CommonEnums_PROJECTION_UNSPECIFIED 4705} 4706 4707func (m *UpdateObjectRequest) GetMetadata() *Object { 4708 if m != nil { 4709 return m.Metadata 4710 } 4711 return nil 4712} 4713 4714func (m *UpdateObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams { 4715 if m != nil { 4716 return m.CommonObjectRequestParams 4717 } 4718 return nil 4719} 4720 4721func (m *UpdateObjectRequest) GetCommonRequestParams() *CommonRequestParams { 4722 if m != nil { 4723 return m.CommonRequestParams 4724 } 4725 return nil 4726} 4727 4728// Request message for WatchAllObjects. 4729type WatchAllObjectsRequest struct { 4730 // Name of the bucket in which to look for objects. 4731 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` 4732 // If `true`, lists all versions of an object as distinct results. 4733 // The default is `false`. For more information, see 4734 // [Object 4735 // Versioning](https://cloud.google.com/storage/docs/object-versioning). 4736 Versions bool `protobuf:"varint,2,opt,name=versions,proto3" json:"versions,omitempty"` 4737 // Returns results in a directory-like mode. `items` will contain 4738 // only objects whose names, aside from the `prefix`, do not 4739 // contain `delimiter`. Objects whose names, aside from the 4740 // `prefix`, contain `delimiter` will have their name, 4741 // truncated after the `delimiter`, returned in 4742 // `prefixes`. Duplicate `prefixes` are omitted. 4743 Delimiter string `protobuf:"bytes,3,opt,name=delimiter,proto3" json:"delimiter,omitempty"` 4744 // Maximum number of `items` plus `prefixes` to return 4745 // in a single page of responses. As duplicate `prefixes` are 4746 // omitted, fewer total results may be returned than requested. The service 4747 // will use this parameter or 1,000 items, whichever is smaller. 4748 MaxResults int32 `protobuf:"varint,4,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` 4749 // Filter results to objects whose names begin with this prefix. 4750 Prefix string `protobuf:"bytes,5,opt,name=prefix,proto3" json:"prefix,omitempty"` 4751 // If true, objects that end in exactly one instance of `delimiter` 4752 // will have their metadata included in `items` in addition to 4753 // `prefixes`. 4754 IncludeTrailingDelimiter bool `protobuf:"varint,6,opt,name=include_trailing_delimiter,json=includeTrailingDelimiter,proto3" json:"include_trailing_delimiter,omitempty"` 4755 // A previously-returned page token representing part of the larger set of 4756 // results to view. 4757 PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 4758 // Set of properties to return. Defaults to `NO_ACL`. 4759 Projection CommonEnums_Projection `protobuf:"varint,8,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` 4760 // Properties of the channel to be inserted. 4761 Channel *Channel `protobuf:"bytes,10,opt,name=channel,proto3" json:"channel,omitempty"` 4762 // A set of parameters common to all Storage API requests. 4763 CommonRequestParams *CommonRequestParams `protobuf:"bytes,11,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 4764 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4765 XXX_unrecognized []byte `json:"-"` 4766 XXX_sizecache int32 `json:"-"` 4767} 4768 4769func (m *WatchAllObjectsRequest) Reset() { *m = WatchAllObjectsRequest{} } 4770func (m *WatchAllObjectsRequest) String() string { return proto.CompactTextString(m) } 4771func (*WatchAllObjectsRequest) ProtoMessage() {} 4772func (*WatchAllObjectsRequest) Descriptor() ([]byte, []int) { 4773 return fileDescriptor_cfff1fb85921a0a4, []int{48} 4774} 4775 4776func (m *WatchAllObjectsRequest) XXX_Unmarshal(b []byte) error { 4777 return xxx_messageInfo_WatchAllObjectsRequest.Unmarshal(m, b) 4778} 4779func (m *WatchAllObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4780 return xxx_messageInfo_WatchAllObjectsRequest.Marshal(b, m, deterministic) 4781} 4782func (m *WatchAllObjectsRequest) XXX_Merge(src proto.Message) { 4783 xxx_messageInfo_WatchAllObjectsRequest.Merge(m, src) 4784} 4785func (m *WatchAllObjectsRequest) XXX_Size() int { 4786 return xxx_messageInfo_WatchAllObjectsRequest.Size(m) 4787} 4788func (m *WatchAllObjectsRequest) XXX_DiscardUnknown() { 4789 xxx_messageInfo_WatchAllObjectsRequest.DiscardUnknown(m) 4790} 4791 4792var xxx_messageInfo_WatchAllObjectsRequest proto.InternalMessageInfo 4793 4794func (m *WatchAllObjectsRequest) GetBucket() string { 4795 if m != nil { 4796 return m.Bucket 4797 } 4798 return "" 4799} 4800 4801func (m *WatchAllObjectsRequest) GetVersions() bool { 4802 if m != nil { 4803 return m.Versions 4804 } 4805 return false 4806} 4807 4808func (m *WatchAllObjectsRequest) GetDelimiter() string { 4809 if m != nil { 4810 return m.Delimiter 4811 } 4812 return "" 4813} 4814 4815func (m *WatchAllObjectsRequest) GetMaxResults() int32 { 4816 if m != nil { 4817 return m.MaxResults 4818 } 4819 return 0 4820} 4821 4822func (m *WatchAllObjectsRequest) GetPrefix() string { 4823 if m != nil { 4824 return m.Prefix 4825 } 4826 return "" 4827} 4828 4829func (m *WatchAllObjectsRequest) GetIncludeTrailingDelimiter() bool { 4830 if m != nil { 4831 return m.IncludeTrailingDelimiter 4832 } 4833 return false 4834} 4835 4836func (m *WatchAllObjectsRequest) GetPageToken() string { 4837 if m != nil { 4838 return m.PageToken 4839 } 4840 return "" 4841} 4842 4843func (m *WatchAllObjectsRequest) GetProjection() CommonEnums_Projection { 4844 if m != nil { 4845 return m.Projection 4846 } 4847 return CommonEnums_PROJECTION_UNSPECIFIED 4848} 4849 4850func (m *WatchAllObjectsRequest) GetChannel() *Channel { 4851 if m != nil { 4852 return m.Channel 4853 } 4854 return nil 4855} 4856 4857func (m *WatchAllObjectsRequest) GetCommonRequestParams() *CommonRequestParams { 4858 if m != nil { 4859 return m.CommonRequestParams 4860 } 4861 return nil 4862} 4863 4864// Request message for GetProjectServiceAccount. 4865type GetProjectServiceAccountRequest struct { 4866 // Required. Project ID. 4867 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 4868 // A set of parameters common to all Storage API requests. 4869 CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 4870 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4871 XXX_unrecognized []byte `json:"-"` 4872 XXX_sizecache int32 `json:"-"` 4873} 4874 4875func (m *GetProjectServiceAccountRequest) Reset() { *m = GetProjectServiceAccountRequest{} } 4876func (m *GetProjectServiceAccountRequest) String() string { return proto.CompactTextString(m) } 4877func (*GetProjectServiceAccountRequest) ProtoMessage() {} 4878func (*GetProjectServiceAccountRequest) Descriptor() ([]byte, []int) { 4879 return fileDescriptor_cfff1fb85921a0a4, []int{49} 4880} 4881 4882func (m *GetProjectServiceAccountRequest) XXX_Unmarshal(b []byte) error { 4883 return xxx_messageInfo_GetProjectServiceAccountRequest.Unmarshal(m, b) 4884} 4885func (m *GetProjectServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4886 return xxx_messageInfo_GetProjectServiceAccountRequest.Marshal(b, m, deterministic) 4887} 4888func (m *GetProjectServiceAccountRequest) XXX_Merge(src proto.Message) { 4889 xxx_messageInfo_GetProjectServiceAccountRequest.Merge(m, src) 4890} 4891func (m *GetProjectServiceAccountRequest) XXX_Size() int { 4892 return xxx_messageInfo_GetProjectServiceAccountRequest.Size(m) 4893} 4894func (m *GetProjectServiceAccountRequest) XXX_DiscardUnknown() { 4895 xxx_messageInfo_GetProjectServiceAccountRequest.DiscardUnknown(m) 4896} 4897 4898var xxx_messageInfo_GetProjectServiceAccountRequest proto.InternalMessageInfo 4899 4900func (m *GetProjectServiceAccountRequest) GetProjectId() string { 4901 if m != nil { 4902 return m.ProjectId 4903 } 4904 return "" 4905} 4906 4907func (m *GetProjectServiceAccountRequest) GetCommonRequestParams() *CommonRequestParams { 4908 if m != nil { 4909 return m.CommonRequestParams 4910 } 4911 return nil 4912} 4913 4914type CreateHmacKeyRequest struct { 4915 // Required. The project that the HMAC-owning service account lives in. 4916 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 4917 // Required. The service account to create the HMAC for. 4918 ServiceAccountEmail string `protobuf:"bytes,2,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"` 4919 // A set of parameters common to all Storage API requests. 4920 CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 4921 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4922 XXX_unrecognized []byte `json:"-"` 4923 XXX_sizecache int32 `json:"-"` 4924} 4925 4926func (m *CreateHmacKeyRequest) Reset() { *m = CreateHmacKeyRequest{} } 4927func (m *CreateHmacKeyRequest) String() string { return proto.CompactTextString(m) } 4928func (*CreateHmacKeyRequest) ProtoMessage() {} 4929func (*CreateHmacKeyRequest) Descriptor() ([]byte, []int) { 4930 return fileDescriptor_cfff1fb85921a0a4, []int{50} 4931} 4932 4933func (m *CreateHmacKeyRequest) XXX_Unmarshal(b []byte) error { 4934 return xxx_messageInfo_CreateHmacKeyRequest.Unmarshal(m, b) 4935} 4936func (m *CreateHmacKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4937 return xxx_messageInfo_CreateHmacKeyRequest.Marshal(b, m, deterministic) 4938} 4939func (m *CreateHmacKeyRequest) XXX_Merge(src proto.Message) { 4940 xxx_messageInfo_CreateHmacKeyRequest.Merge(m, src) 4941} 4942func (m *CreateHmacKeyRequest) XXX_Size() int { 4943 return xxx_messageInfo_CreateHmacKeyRequest.Size(m) 4944} 4945func (m *CreateHmacKeyRequest) XXX_DiscardUnknown() { 4946 xxx_messageInfo_CreateHmacKeyRequest.DiscardUnknown(m) 4947} 4948 4949var xxx_messageInfo_CreateHmacKeyRequest proto.InternalMessageInfo 4950 4951func (m *CreateHmacKeyRequest) GetProjectId() string { 4952 if m != nil { 4953 return m.ProjectId 4954 } 4955 return "" 4956} 4957 4958func (m *CreateHmacKeyRequest) GetServiceAccountEmail() string { 4959 if m != nil { 4960 return m.ServiceAccountEmail 4961 } 4962 return "" 4963} 4964 4965func (m *CreateHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams { 4966 if m != nil { 4967 return m.CommonRequestParams 4968 } 4969 return nil 4970} 4971 4972// Create hmac response. The only time the secret for an HMAC will be returned. 4973type CreateHmacKeyResponse struct { 4974 // Key metadata. 4975 Metadata *HmacKeyMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` 4976 // HMAC key secret material. 4977 Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` 4978 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4979 XXX_unrecognized []byte `json:"-"` 4980 XXX_sizecache int32 `json:"-"` 4981} 4982 4983func (m *CreateHmacKeyResponse) Reset() { *m = CreateHmacKeyResponse{} } 4984func (m *CreateHmacKeyResponse) String() string { return proto.CompactTextString(m) } 4985func (*CreateHmacKeyResponse) ProtoMessage() {} 4986func (*CreateHmacKeyResponse) Descriptor() ([]byte, []int) { 4987 return fileDescriptor_cfff1fb85921a0a4, []int{51} 4988} 4989 4990func (m *CreateHmacKeyResponse) XXX_Unmarshal(b []byte) error { 4991 return xxx_messageInfo_CreateHmacKeyResponse.Unmarshal(m, b) 4992} 4993func (m *CreateHmacKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4994 return xxx_messageInfo_CreateHmacKeyResponse.Marshal(b, m, deterministic) 4995} 4996func (m *CreateHmacKeyResponse) XXX_Merge(src proto.Message) { 4997 xxx_messageInfo_CreateHmacKeyResponse.Merge(m, src) 4998} 4999func (m *CreateHmacKeyResponse) XXX_Size() int { 5000 return xxx_messageInfo_CreateHmacKeyResponse.Size(m) 5001} 5002func (m *CreateHmacKeyResponse) XXX_DiscardUnknown() { 5003 xxx_messageInfo_CreateHmacKeyResponse.DiscardUnknown(m) 5004} 5005 5006var xxx_messageInfo_CreateHmacKeyResponse proto.InternalMessageInfo 5007 5008func (m *CreateHmacKeyResponse) GetMetadata() *HmacKeyMetadata { 5009 if m != nil { 5010 return m.Metadata 5011 } 5012 return nil 5013} 5014 5015func (m *CreateHmacKeyResponse) GetSecret() string { 5016 if m != nil { 5017 return m.Secret 5018 } 5019 return "" 5020} 5021 5022// Request object to delete a given HMAC key. 5023type DeleteHmacKeyRequest struct { 5024 // Required. The identifying key for the HMAC to delete. 5025 AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` 5026 // Required. The project id the HMAC key lies in. 5027 ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 5028 // A set of parameters common to all Storage API requests. 5029 CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 5030 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5031 XXX_unrecognized []byte `json:"-"` 5032 XXX_sizecache int32 `json:"-"` 5033} 5034 5035func (m *DeleteHmacKeyRequest) Reset() { *m = DeleteHmacKeyRequest{} } 5036func (m *DeleteHmacKeyRequest) String() string { return proto.CompactTextString(m) } 5037func (*DeleteHmacKeyRequest) ProtoMessage() {} 5038func (*DeleteHmacKeyRequest) Descriptor() ([]byte, []int) { 5039 return fileDescriptor_cfff1fb85921a0a4, []int{52} 5040} 5041 5042func (m *DeleteHmacKeyRequest) XXX_Unmarshal(b []byte) error { 5043 return xxx_messageInfo_DeleteHmacKeyRequest.Unmarshal(m, b) 5044} 5045func (m *DeleteHmacKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5046 return xxx_messageInfo_DeleteHmacKeyRequest.Marshal(b, m, deterministic) 5047} 5048func (m *DeleteHmacKeyRequest) XXX_Merge(src proto.Message) { 5049 xxx_messageInfo_DeleteHmacKeyRequest.Merge(m, src) 5050} 5051func (m *DeleteHmacKeyRequest) XXX_Size() int { 5052 return xxx_messageInfo_DeleteHmacKeyRequest.Size(m) 5053} 5054func (m *DeleteHmacKeyRequest) XXX_DiscardUnknown() { 5055 xxx_messageInfo_DeleteHmacKeyRequest.DiscardUnknown(m) 5056} 5057 5058var xxx_messageInfo_DeleteHmacKeyRequest proto.InternalMessageInfo 5059 5060func (m *DeleteHmacKeyRequest) GetAccessId() string { 5061 if m != nil { 5062 return m.AccessId 5063 } 5064 return "" 5065} 5066 5067func (m *DeleteHmacKeyRequest) GetProjectId() string { 5068 if m != nil { 5069 return m.ProjectId 5070 } 5071 return "" 5072} 5073 5074func (m *DeleteHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams { 5075 if m != nil { 5076 return m.CommonRequestParams 5077 } 5078 return nil 5079} 5080 5081// Request object to get metadata on a given HMAC key. 5082type GetHmacKeyRequest struct { 5083 // Required. The identifying key for the HMAC to delete. 5084 AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` 5085 // Required. The project id the HMAC key lies in. 5086 ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 5087 // A set of parameters common to all Storage API requests. 5088 CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 5089 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5090 XXX_unrecognized []byte `json:"-"` 5091 XXX_sizecache int32 `json:"-"` 5092} 5093 5094func (m *GetHmacKeyRequest) Reset() { *m = GetHmacKeyRequest{} } 5095func (m *GetHmacKeyRequest) String() string { return proto.CompactTextString(m) } 5096func (*GetHmacKeyRequest) ProtoMessage() {} 5097func (*GetHmacKeyRequest) Descriptor() ([]byte, []int) { 5098 return fileDescriptor_cfff1fb85921a0a4, []int{53} 5099} 5100 5101func (m *GetHmacKeyRequest) XXX_Unmarshal(b []byte) error { 5102 return xxx_messageInfo_GetHmacKeyRequest.Unmarshal(m, b) 5103} 5104func (m *GetHmacKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5105 return xxx_messageInfo_GetHmacKeyRequest.Marshal(b, m, deterministic) 5106} 5107func (m *GetHmacKeyRequest) XXX_Merge(src proto.Message) { 5108 xxx_messageInfo_GetHmacKeyRequest.Merge(m, src) 5109} 5110func (m *GetHmacKeyRequest) XXX_Size() int { 5111 return xxx_messageInfo_GetHmacKeyRequest.Size(m) 5112} 5113func (m *GetHmacKeyRequest) XXX_DiscardUnknown() { 5114 xxx_messageInfo_GetHmacKeyRequest.DiscardUnknown(m) 5115} 5116 5117var xxx_messageInfo_GetHmacKeyRequest proto.InternalMessageInfo 5118 5119func (m *GetHmacKeyRequest) GetAccessId() string { 5120 if m != nil { 5121 return m.AccessId 5122 } 5123 return "" 5124} 5125 5126func (m *GetHmacKeyRequest) GetProjectId() string { 5127 if m != nil { 5128 return m.ProjectId 5129 } 5130 return "" 5131} 5132 5133func (m *GetHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams { 5134 if m != nil { 5135 return m.CommonRequestParams 5136 } 5137 return nil 5138} 5139 5140// Request to fetch a list of HMAC keys under a given project. 5141type ListHmacKeysRequest struct { 5142 // Required. The project id to list HMAC keys for. 5143 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 5144 // An optional filter to only return HMAC keys for one service account. 5145 ServiceAccountEmail string `protobuf:"bytes,2,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"` 5146 // An optional bool to return deleted keys that have not been wiped out yet. 5147 ShowDeletedKeys bool `protobuf:"varint,3,opt,name=show_deleted_keys,json=showDeletedKeys,proto3" json:"show_deleted_keys,omitempty"` 5148 // The maximum number of keys to return. 5149 MaxResults int32 `protobuf:"varint,4,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` 5150 // A previously returned token from ListHmacKeysResponse to get the next page. 5151 PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 5152 // A set of parameters common to all Storage API requests. 5153 CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 5154 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5155 XXX_unrecognized []byte `json:"-"` 5156 XXX_sizecache int32 `json:"-"` 5157} 5158 5159func (m *ListHmacKeysRequest) Reset() { *m = ListHmacKeysRequest{} } 5160func (m *ListHmacKeysRequest) String() string { return proto.CompactTextString(m) } 5161func (*ListHmacKeysRequest) ProtoMessage() {} 5162func (*ListHmacKeysRequest) Descriptor() ([]byte, []int) { 5163 return fileDescriptor_cfff1fb85921a0a4, []int{54} 5164} 5165 5166func (m *ListHmacKeysRequest) XXX_Unmarshal(b []byte) error { 5167 return xxx_messageInfo_ListHmacKeysRequest.Unmarshal(m, b) 5168} 5169func (m *ListHmacKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5170 return xxx_messageInfo_ListHmacKeysRequest.Marshal(b, m, deterministic) 5171} 5172func (m *ListHmacKeysRequest) XXX_Merge(src proto.Message) { 5173 xxx_messageInfo_ListHmacKeysRequest.Merge(m, src) 5174} 5175func (m *ListHmacKeysRequest) XXX_Size() int { 5176 return xxx_messageInfo_ListHmacKeysRequest.Size(m) 5177} 5178func (m *ListHmacKeysRequest) XXX_DiscardUnknown() { 5179 xxx_messageInfo_ListHmacKeysRequest.DiscardUnknown(m) 5180} 5181 5182var xxx_messageInfo_ListHmacKeysRequest proto.InternalMessageInfo 5183 5184func (m *ListHmacKeysRequest) GetProjectId() string { 5185 if m != nil { 5186 return m.ProjectId 5187 } 5188 return "" 5189} 5190 5191func (m *ListHmacKeysRequest) GetServiceAccountEmail() string { 5192 if m != nil { 5193 return m.ServiceAccountEmail 5194 } 5195 return "" 5196} 5197 5198func (m *ListHmacKeysRequest) GetShowDeletedKeys() bool { 5199 if m != nil { 5200 return m.ShowDeletedKeys 5201 } 5202 return false 5203} 5204 5205func (m *ListHmacKeysRequest) GetMaxResults() int32 { 5206 if m != nil { 5207 return m.MaxResults 5208 } 5209 return 0 5210} 5211 5212func (m *ListHmacKeysRequest) GetPageToken() string { 5213 if m != nil { 5214 return m.PageToken 5215 } 5216 return "" 5217} 5218 5219func (m *ListHmacKeysRequest) GetCommonRequestParams() *CommonRequestParams { 5220 if m != nil { 5221 return m.CommonRequestParams 5222 } 5223 return nil 5224} 5225 5226// Hmac key list response with next page information. 5227type ListHmacKeysResponse struct { 5228 // The continuation token, used to page through large result sets. Provide 5229 // this value in a subsequent request to return the next page of results. 5230 NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 5231 // The list of items. 5232 Items []*HmacKeyMetadata `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` 5233 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5234 XXX_unrecognized []byte `json:"-"` 5235 XXX_sizecache int32 `json:"-"` 5236} 5237 5238func (m *ListHmacKeysResponse) Reset() { *m = ListHmacKeysResponse{} } 5239func (m *ListHmacKeysResponse) String() string { return proto.CompactTextString(m) } 5240func (*ListHmacKeysResponse) ProtoMessage() {} 5241func (*ListHmacKeysResponse) Descriptor() ([]byte, []int) { 5242 return fileDescriptor_cfff1fb85921a0a4, []int{55} 5243} 5244 5245func (m *ListHmacKeysResponse) XXX_Unmarshal(b []byte) error { 5246 return xxx_messageInfo_ListHmacKeysResponse.Unmarshal(m, b) 5247} 5248func (m *ListHmacKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5249 return xxx_messageInfo_ListHmacKeysResponse.Marshal(b, m, deterministic) 5250} 5251func (m *ListHmacKeysResponse) XXX_Merge(src proto.Message) { 5252 xxx_messageInfo_ListHmacKeysResponse.Merge(m, src) 5253} 5254func (m *ListHmacKeysResponse) XXX_Size() int { 5255 return xxx_messageInfo_ListHmacKeysResponse.Size(m) 5256} 5257func (m *ListHmacKeysResponse) XXX_DiscardUnknown() { 5258 xxx_messageInfo_ListHmacKeysResponse.DiscardUnknown(m) 5259} 5260 5261var xxx_messageInfo_ListHmacKeysResponse proto.InternalMessageInfo 5262 5263func (m *ListHmacKeysResponse) GetNextPageToken() string { 5264 if m != nil { 5265 return m.NextPageToken 5266 } 5267 return "" 5268} 5269 5270func (m *ListHmacKeysResponse) GetItems() []*HmacKeyMetadata { 5271 if m != nil { 5272 return m.Items 5273 } 5274 return nil 5275} 5276 5277// Request object to update an HMAC key state. 5278type UpdateHmacKeyRequest struct { 5279 // Required. The id of the HMAC key. 5280 AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` 5281 // Required. The project id the HMAC's service account lies in. 5282 ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 5283 // Required. The service account owner of the HMAC key. 5284 Metadata *HmacKeyMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` 5285 // A set of parameters common to all Storage API requests. 5286 CommonRequestParams *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 5287 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5288 XXX_unrecognized []byte `json:"-"` 5289 XXX_sizecache int32 `json:"-"` 5290} 5291 5292func (m *UpdateHmacKeyRequest) Reset() { *m = UpdateHmacKeyRequest{} } 5293func (m *UpdateHmacKeyRequest) String() string { return proto.CompactTextString(m) } 5294func (*UpdateHmacKeyRequest) ProtoMessage() {} 5295func (*UpdateHmacKeyRequest) Descriptor() ([]byte, []int) { 5296 return fileDescriptor_cfff1fb85921a0a4, []int{56} 5297} 5298 5299func (m *UpdateHmacKeyRequest) XXX_Unmarshal(b []byte) error { 5300 return xxx_messageInfo_UpdateHmacKeyRequest.Unmarshal(m, b) 5301} 5302func (m *UpdateHmacKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5303 return xxx_messageInfo_UpdateHmacKeyRequest.Marshal(b, m, deterministic) 5304} 5305func (m *UpdateHmacKeyRequest) XXX_Merge(src proto.Message) { 5306 xxx_messageInfo_UpdateHmacKeyRequest.Merge(m, src) 5307} 5308func (m *UpdateHmacKeyRequest) XXX_Size() int { 5309 return xxx_messageInfo_UpdateHmacKeyRequest.Size(m) 5310} 5311func (m *UpdateHmacKeyRequest) XXX_DiscardUnknown() { 5312 xxx_messageInfo_UpdateHmacKeyRequest.DiscardUnknown(m) 5313} 5314 5315var xxx_messageInfo_UpdateHmacKeyRequest proto.InternalMessageInfo 5316 5317func (m *UpdateHmacKeyRequest) GetAccessId() string { 5318 if m != nil { 5319 return m.AccessId 5320 } 5321 return "" 5322} 5323 5324func (m *UpdateHmacKeyRequest) GetProjectId() string { 5325 if m != nil { 5326 return m.ProjectId 5327 } 5328 return "" 5329} 5330 5331func (m *UpdateHmacKeyRequest) GetMetadata() *HmacKeyMetadata { 5332 if m != nil { 5333 return m.Metadata 5334 } 5335 return nil 5336} 5337 5338func (m *UpdateHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams { 5339 if m != nil { 5340 return m.CommonRequestParams 5341 } 5342 return nil 5343} 5344 5345// A wrapper around the IAM get policy request to support our 5346// common_request_params. 5347type GetIamPolicyRequest struct { 5348 // The request sent to IAM. 5349 IamRequest *v1.GetIamPolicyRequest `protobuf:"bytes,1,opt,name=iam_request,json=iamRequest,proto3" json:"iam_request,omitempty"` 5350 // A set of parameters common to all Storage API requests. 5351 CommonRequestParams *CommonRequestParams `protobuf:"bytes,2,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 5352 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5353 XXX_unrecognized []byte `json:"-"` 5354 XXX_sizecache int32 `json:"-"` 5355} 5356 5357func (m *GetIamPolicyRequest) Reset() { *m = GetIamPolicyRequest{} } 5358func (m *GetIamPolicyRequest) String() string { return proto.CompactTextString(m) } 5359func (*GetIamPolicyRequest) ProtoMessage() {} 5360func (*GetIamPolicyRequest) Descriptor() ([]byte, []int) { 5361 return fileDescriptor_cfff1fb85921a0a4, []int{57} 5362} 5363 5364func (m *GetIamPolicyRequest) XXX_Unmarshal(b []byte) error { 5365 return xxx_messageInfo_GetIamPolicyRequest.Unmarshal(m, b) 5366} 5367func (m *GetIamPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5368 return xxx_messageInfo_GetIamPolicyRequest.Marshal(b, m, deterministic) 5369} 5370func (m *GetIamPolicyRequest) XXX_Merge(src proto.Message) { 5371 xxx_messageInfo_GetIamPolicyRequest.Merge(m, src) 5372} 5373func (m *GetIamPolicyRequest) XXX_Size() int { 5374 return xxx_messageInfo_GetIamPolicyRequest.Size(m) 5375} 5376func (m *GetIamPolicyRequest) XXX_DiscardUnknown() { 5377 xxx_messageInfo_GetIamPolicyRequest.DiscardUnknown(m) 5378} 5379 5380var xxx_messageInfo_GetIamPolicyRequest proto.InternalMessageInfo 5381 5382func (m *GetIamPolicyRequest) GetIamRequest() *v1.GetIamPolicyRequest { 5383 if m != nil { 5384 return m.IamRequest 5385 } 5386 return nil 5387} 5388 5389func (m *GetIamPolicyRequest) GetCommonRequestParams() *CommonRequestParams { 5390 if m != nil { 5391 return m.CommonRequestParams 5392 } 5393 return nil 5394} 5395 5396// A wrapper around the IAM set policy request to support our 5397// common_request_params. 5398type SetIamPolicyRequest struct { 5399 // The request sent to IAM. 5400 IamRequest *v1.SetIamPolicyRequest `protobuf:"bytes,1,opt,name=iam_request,json=iamRequest,proto3" json:"iam_request,omitempty"` 5401 // A set of parameters common to all Storage API requests. 5402 CommonRequestParams *CommonRequestParams `protobuf:"bytes,2,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 5403 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5404 XXX_unrecognized []byte `json:"-"` 5405 XXX_sizecache int32 `json:"-"` 5406} 5407 5408func (m *SetIamPolicyRequest) Reset() { *m = SetIamPolicyRequest{} } 5409func (m *SetIamPolicyRequest) String() string { return proto.CompactTextString(m) } 5410func (*SetIamPolicyRequest) ProtoMessage() {} 5411func (*SetIamPolicyRequest) Descriptor() ([]byte, []int) { 5412 return fileDescriptor_cfff1fb85921a0a4, []int{58} 5413} 5414 5415func (m *SetIamPolicyRequest) XXX_Unmarshal(b []byte) error { 5416 return xxx_messageInfo_SetIamPolicyRequest.Unmarshal(m, b) 5417} 5418func (m *SetIamPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5419 return xxx_messageInfo_SetIamPolicyRequest.Marshal(b, m, deterministic) 5420} 5421func (m *SetIamPolicyRequest) XXX_Merge(src proto.Message) { 5422 xxx_messageInfo_SetIamPolicyRequest.Merge(m, src) 5423} 5424func (m *SetIamPolicyRequest) XXX_Size() int { 5425 return xxx_messageInfo_SetIamPolicyRequest.Size(m) 5426} 5427func (m *SetIamPolicyRequest) XXX_DiscardUnknown() { 5428 xxx_messageInfo_SetIamPolicyRequest.DiscardUnknown(m) 5429} 5430 5431var xxx_messageInfo_SetIamPolicyRequest proto.InternalMessageInfo 5432 5433func (m *SetIamPolicyRequest) GetIamRequest() *v1.SetIamPolicyRequest { 5434 if m != nil { 5435 return m.IamRequest 5436 } 5437 return nil 5438} 5439 5440func (m *SetIamPolicyRequest) GetCommonRequestParams() *CommonRequestParams { 5441 if m != nil { 5442 return m.CommonRequestParams 5443 } 5444 return nil 5445} 5446 5447// A wrapper around the IAM test iam permissions request to support our 5448// common_request_params. 5449type TestIamPermissionsRequest struct { 5450 // The request sent to IAM. 5451 IamRequest *v1.TestIamPermissionsRequest `protobuf:"bytes,1,opt,name=iam_request,json=iamRequest,proto3" json:"iam_request,omitempty"` 5452 // A set of parameters common to all Storage API requests. 5453 CommonRequestParams *CommonRequestParams `protobuf:"bytes,2,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` 5454 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5455 XXX_unrecognized []byte `json:"-"` 5456 XXX_sizecache int32 `json:"-"` 5457} 5458 5459func (m *TestIamPermissionsRequest) Reset() { *m = TestIamPermissionsRequest{} } 5460func (m *TestIamPermissionsRequest) String() string { return proto.CompactTextString(m) } 5461func (*TestIamPermissionsRequest) ProtoMessage() {} 5462func (*TestIamPermissionsRequest) Descriptor() ([]byte, []int) { 5463 return fileDescriptor_cfff1fb85921a0a4, []int{59} 5464} 5465 5466func (m *TestIamPermissionsRequest) XXX_Unmarshal(b []byte) error { 5467 return xxx_messageInfo_TestIamPermissionsRequest.Unmarshal(m, b) 5468} 5469func (m *TestIamPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5470 return xxx_messageInfo_TestIamPermissionsRequest.Marshal(b, m, deterministic) 5471} 5472func (m *TestIamPermissionsRequest) XXX_Merge(src proto.Message) { 5473 xxx_messageInfo_TestIamPermissionsRequest.Merge(m, src) 5474} 5475func (m *TestIamPermissionsRequest) XXX_Size() int { 5476 return xxx_messageInfo_TestIamPermissionsRequest.Size(m) 5477} 5478func (m *TestIamPermissionsRequest) XXX_DiscardUnknown() { 5479 xxx_messageInfo_TestIamPermissionsRequest.DiscardUnknown(m) 5480} 5481 5482var xxx_messageInfo_TestIamPermissionsRequest proto.InternalMessageInfo 5483 5484func (m *TestIamPermissionsRequest) GetIamRequest() *v1.TestIamPermissionsRequest { 5485 if m != nil { 5486 return m.IamRequest 5487 } 5488 return nil 5489} 5490 5491func (m *TestIamPermissionsRequest) GetCommonRequestParams() *CommonRequestParams { 5492 if m != nil { 5493 return m.CommonRequestParams 5494 } 5495 return nil 5496} 5497 5498// Parameters that can be passed to any object request. 5499type CommonObjectRequestParams struct { 5500 // Encryption algorithm used with Customer-Supplied Encryption Keys feature. 5501 EncryptionAlgorithm string `protobuf:"bytes,1,opt,name=encryption_algorithm,json=encryptionAlgorithm,proto3" json:"encryption_algorithm,omitempty"` 5502 // Encryption key used with Customer-Supplied Encryption Keys feature. 5503 EncryptionKey string `protobuf:"bytes,2,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"` 5504 // SHA256 hash of encryption key used with Customer-Supplied Encryption Keys 5505 // feature. 5506 EncryptionKeySha256 string `protobuf:"bytes,3,opt,name=encryption_key_sha256,json=encryptionKeySha256,proto3" json:"encryption_key_sha256,omitempty"` 5507 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5508 XXX_unrecognized []byte `json:"-"` 5509 XXX_sizecache int32 `json:"-"` 5510} 5511 5512func (m *CommonObjectRequestParams) Reset() { *m = CommonObjectRequestParams{} } 5513func (m *CommonObjectRequestParams) String() string { return proto.CompactTextString(m) } 5514func (*CommonObjectRequestParams) ProtoMessage() {} 5515func (*CommonObjectRequestParams) Descriptor() ([]byte, []int) { 5516 return fileDescriptor_cfff1fb85921a0a4, []int{60} 5517} 5518 5519func (m *CommonObjectRequestParams) XXX_Unmarshal(b []byte) error { 5520 return xxx_messageInfo_CommonObjectRequestParams.Unmarshal(m, b) 5521} 5522func (m *CommonObjectRequestParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5523 return xxx_messageInfo_CommonObjectRequestParams.Marshal(b, m, deterministic) 5524} 5525func (m *CommonObjectRequestParams) XXX_Merge(src proto.Message) { 5526 xxx_messageInfo_CommonObjectRequestParams.Merge(m, src) 5527} 5528func (m *CommonObjectRequestParams) XXX_Size() int { 5529 return xxx_messageInfo_CommonObjectRequestParams.Size(m) 5530} 5531func (m *CommonObjectRequestParams) XXX_DiscardUnknown() { 5532 xxx_messageInfo_CommonObjectRequestParams.DiscardUnknown(m) 5533} 5534 5535var xxx_messageInfo_CommonObjectRequestParams proto.InternalMessageInfo 5536 5537func (m *CommonObjectRequestParams) GetEncryptionAlgorithm() string { 5538 if m != nil { 5539 return m.EncryptionAlgorithm 5540 } 5541 return "" 5542} 5543 5544func (m *CommonObjectRequestParams) GetEncryptionKey() string { 5545 if m != nil { 5546 return m.EncryptionKey 5547 } 5548 return "" 5549} 5550 5551func (m *CommonObjectRequestParams) GetEncryptionKeySha256() string { 5552 if m != nil { 5553 return m.EncryptionKeySha256 5554 } 5555 return "" 5556} 5557 5558// Parameters that can be passed to any request. 5559type CommonRequestParams struct { 5560 // Required. Required when using buckets with Requestor Pays feature enabled. 5561 UserProject string `protobuf:"bytes,1,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` 5562 // Lets you enforce per-user quotas from a server-side application even in 5563 // cases when the user's IP address is unknown. This can occur, for example, 5564 // with applications that run cron jobs on App Engine on a user's behalf. 5565 // You can choose any arbitrary string that uniquely identifies a user, but it 5566 // is limited to 40 characters. 5567 // Overrides user_ip if both are provided. 5568 QuotaUser string `protobuf:"bytes,2,opt,name=quota_user,json=quotaUser,proto3" json:"quota_user,omitempty"` 5569 // Subset of fields to include in the response. 5570 Fields *field_mask.FieldMask `protobuf:"bytes,4,opt,name=fields,proto3" json:"fields,omitempty"` 5571 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5572 XXX_unrecognized []byte `json:"-"` 5573 XXX_sizecache int32 `json:"-"` 5574} 5575 5576func (m *CommonRequestParams) Reset() { *m = CommonRequestParams{} } 5577func (m *CommonRequestParams) String() string { return proto.CompactTextString(m) } 5578func (*CommonRequestParams) ProtoMessage() {} 5579func (*CommonRequestParams) Descriptor() ([]byte, []int) { 5580 return fileDescriptor_cfff1fb85921a0a4, []int{61} 5581} 5582 5583func (m *CommonRequestParams) XXX_Unmarshal(b []byte) error { 5584 return xxx_messageInfo_CommonRequestParams.Unmarshal(m, b) 5585} 5586func (m *CommonRequestParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5587 return xxx_messageInfo_CommonRequestParams.Marshal(b, m, deterministic) 5588} 5589func (m *CommonRequestParams) XXX_Merge(src proto.Message) { 5590 xxx_messageInfo_CommonRequestParams.Merge(m, src) 5591} 5592func (m *CommonRequestParams) XXX_Size() int { 5593 return xxx_messageInfo_CommonRequestParams.Size(m) 5594} 5595func (m *CommonRequestParams) XXX_DiscardUnknown() { 5596 xxx_messageInfo_CommonRequestParams.DiscardUnknown(m) 5597} 5598 5599var xxx_messageInfo_CommonRequestParams proto.InternalMessageInfo 5600 5601func (m *CommonRequestParams) GetUserProject() string { 5602 if m != nil { 5603 return m.UserProject 5604 } 5605 return "" 5606} 5607 5608func (m *CommonRequestParams) GetQuotaUser() string { 5609 if m != nil { 5610 return m.QuotaUser 5611 } 5612 return "" 5613} 5614 5615func (m *CommonRequestParams) GetFields() *field_mask.FieldMask { 5616 if m != nil { 5617 return m.Fields 5618 } 5619 return nil 5620} 5621 5622// Shared constants. 5623type ServiceConstants struct { 5624 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5625 XXX_unrecognized []byte `json:"-"` 5626 XXX_sizecache int32 `json:"-"` 5627} 5628 5629func (m *ServiceConstants) Reset() { *m = ServiceConstants{} } 5630func (m *ServiceConstants) String() string { return proto.CompactTextString(m) } 5631func (*ServiceConstants) ProtoMessage() {} 5632func (*ServiceConstants) Descriptor() ([]byte, []int) { 5633 return fileDescriptor_cfff1fb85921a0a4, []int{62} 5634} 5635 5636func (m *ServiceConstants) XXX_Unmarshal(b []byte) error { 5637 return xxx_messageInfo_ServiceConstants.Unmarshal(m, b) 5638} 5639func (m *ServiceConstants) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5640 return xxx_messageInfo_ServiceConstants.Marshal(b, m, deterministic) 5641} 5642func (m *ServiceConstants) XXX_Merge(src proto.Message) { 5643 xxx_messageInfo_ServiceConstants.Merge(m, src) 5644} 5645func (m *ServiceConstants) XXX_Size() int { 5646 return xxx_messageInfo_ServiceConstants.Size(m) 5647} 5648func (m *ServiceConstants) XXX_DiscardUnknown() { 5649 xxx_messageInfo_ServiceConstants.DiscardUnknown(m) 5650} 5651 5652var xxx_messageInfo_ServiceConstants proto.InternalMessageInfo 5653 5654func init() { 5655 proto.RegisterEnum("google.storage.v1.ServiceConstants_Values", ServiceConstants_Values_name, ServiceConstants_Values_value) 5656 proto.RegisterType((*DeleteBucketAccessControlRequest)(nil), "google.storage.v1.DeleteBucketAccessControlRequest") 5657 proto.RegisterType((*GetBucketAccessControlRequest)(nil), "google.storage.v1.GetBucketAccessControlRequest") 5658 proto.RegisterType((*InsertBucketAccessControlRequest)(nil), "google.storage.v1.InsertBucketAccessControlRequest") 5659 proto.RegisterType((*ListBucketAccessControlsRequest)(nil), "google.storage.v1.ListBucketAccessControlsRequest") 5660 proto.RegisterType((*PatchBucketAccessControlRequest)(nil), "google.storage.v1.PatchBucketAccessControlRequest") 5661 proto.RegisterType((*UpdateBucketAccessControlRequest)(nil), "google.storage.v1.UpdateBucketAccessControlRequest") 5662 proto.RegisterType((*DeleteBucketRequest)(nil), "google.storage.v1.DeleteBucketRequest") 5663 proto.RegisterType((*GetBucketRequest)(nil), "google.storage.v1.GetBucketRequest") 5664 proto.RegisterType((*InsertBucketRequest)(nil), "google.storage.v1.InsertBucketRequest") 5665 proto.RegisterType((*ListChannelsRequest)(nil), "google.storage.v1.ListChannelsRequest") 5666 proto.RegisterType((*ListBucketsRequest)(nil), "google.storage.v1.ListBucketsRequest") 5667 proto.RegisterType((*LockRetentionPolicyRequest)(nil), "google.storage.v1.LockRetentionPolicyRequest") 5668 proto.RegisterType((*PatchBucketRequest)(nil), "google.storage.v1.PatchBucketRequest") 5669 proto.RegisterType((*UpdateBucketRequest)(nil), "google.storage.v1.UpdateBucketRequest") 5670 proto.RegisterType((*StopChannelRequest)(nil), "google.storage.v1.StopChannelRequest") 5671 proto.RegisterType((*DeleteDefaultObjectAccessControlRequest)(nil), "google.storage.v1.DeleteDefaultObjectAccessControlRequest") 5672 proto.RegisterType((*GetDefaultObjectAccessControlRequest)(nil), "google.storage.v1.GetDefaultObjectAccessControlRequest") 5673 proto.RegisterType((*InsertDefaultObjectAccessControlRequest)(nil), "google.storage.v1.InsertDefaultObjectAccessControlRequest") 5674 proto.RegisterType((*ListDefaultObjectAccessControlsRequest)(nil), "google.storage.v1.ListDefaultObjectAccessControlsRequest") 5675 proto.RegisterType((*PatchDefaultObjectAccessControlRequest)(nil), "google.storage.v1.PatchDefaultObjectAccessControlRequest") 5676 proto.RegisterType((*UpdateDefaultObjectAccessControlRequest)(nil), "google.storage.v1.UpdateDefaultObjectAccessControlRequest") 5677 proto.RegisterType((*DeleteNotificationRequest)(nil), "google.storage.v1.DeleteNotificationRequest") 5678 proto.RegisterType((*GetNotificationRequest)(nil), "google.storage.v1.GetNotificationRequest") 5679 proto.RegisterType((*InsertNotificationRequest)(nil), "google.storage.v1.InsertNotificationRequest") 5680 proto.RegisterType((*ListNotificationsRequest)(nil), "google.storage.v1.ListNotificationsRequest") 5681 proto.RegisterType((*DeleteObjectAccessControlRequest)(nil), "google.storage.v1.DeleteObjectAccessControlRequest") 5682 proto.RegisterType((*GetObjectAccessControlRequest)(nil), "google.storage.v1.GetObjectAccessControlRequest") 5683 proto.RegisterType((*InsertObjectAccessControlRequest)(nil), "google.storage.v1.InsertObjectAccessControlRequest") 5684 proto.RegisterType((*ListObjectAccessControlsRequest)(nil), "google.storage.v1.ListObjectAccessControlsRequest") 5685 proto.RegisterType((*PatchObjectAccessControlRequest)(nil), "google.storage.v1.PatchObjectAccessControlRequest") 5686 proto.RegisterType((*UpdateObjectAccessControlRequest)(nil), "google.storage.v1.UpdateObjectAccessControlRequest") 5687 proto.RegisterType((*ComposeObjectRequest)(nil), "google.storage.v1.ComposeObjectRequest") 5688 proto.RegisterType((*ComposeObjectRequest_SourceObjects)(nil), "google.storage.v1.ComposeObjectRequest.SourceObjects") 5689 proto.RegisterType((*ComposeObjectRequest_SourceObjects_ObjectPreconditions)(nil), "google.storage.v1.ComposeObjectRequest.SourceObjects.ObjectPreconditions") 5690 proto.RegisterType((*CopyObjectRequest)(nil), "google.storage.v1.CopyObjectRequest") 5691 proto.RegisterType((*DeleteObjectRequest)(nil), "google.storage.v1.DeleteObjectRequest") 5692 proto.RegisterType((*GetObjectMediaRequest)(nil), "google.storage.v1.GetObjectMediaRequest") 5693 proto.RegisterType((*GetObjectRequest)(nil), "google.storage.v1.GetObjectRequest") 5694 proto.RegisterType((*GetObjectMediaResponse)(nil), "google.storage.v1.GetObjectMediaResponse") 5695 proto.RegisterType((*InsertObjectSpec)(nil), "google.storage.v1.InsertObjectSpec") 5696 proto.RegisterType((*InsertObjectRequest)(nil), "google.storage.v1.InsertObjectRequest") 5697 proto.RegisterType((*ListObjectsRequest)(nil), "google.storage.v1.ListObjectsRequest") 5698 proto.RegisterType((*QueryWriteStatusRequest)(nil), "google.storage.v1.QueryWriteStatusRequest") 5699 proto.RegisterType((*QueryWriteStatusResponse)(nil), "google.storage.v1.QueryWriteStatusResponse") 5700 proto.RegisterType((*RewriteObjectRequest)(nil), "google.storage.v1.RewriteObjectRequest") 5701 proto.RegisterType((*RewriteResponse)(nil), "google.storage.v1.RewriteResponse") 5702 proto.RegisterType((*StartResumableWriteRequest)(nil), "google.storage.v1.StartResumableWriteRequest") 5703 proto.RegisterType((*StartResumableWriteResponse)(nil), "google.storage.v1.StartResumableWriteResponse") 5704 proto.RegisterType((*PatchObjectRequest)(nil), "google.storage.v1.PatchObjectRequest") 5705 proto.RegisterType((*UpdateObjectRequest)(nil), "google.storage.v1.UpdateObjectRequest") 5706 proto.RegisterType((*WatchAllObjectsRequest)(nil), "google.storage.v1.WatchAllObjectsRequest") 5707 proto.RegisterType((*GetProjectServiceAccountRequest)(nil), "google.storage.v1.GetProjectServiceAccountRequest") 5708 proto.RegisterType((*CreateHmacKeyRequest)(nil), "google.storage.v1.CreateHmacKeyRequest") 5709 proto.RegisterType((*CreateHmacKeyResponse)(nil), "google.storage.v1.CreateHmacKeyResponse") 5710 proto.RegisterType((*DeleteHmacKeyRequest)(nil), "google.storage.v1.DeleteHmacKeyRequest") 5711 proto.RegisterType((*GetHmacKeyRequest)(nil), "google.storage.v1.GetHmacKeyRequest") 5712 proto.RegisterType((*ListHmacKeysRequest)(nil), "google.storage.v1.ListHmacKeysRequest") 5713 proto.RegisterType((*ListHmacKeysResponse)(nil), "google.storage.v1.ListHmacKeysResponse") 5714 proto.RegisterType((*UpdateHmacKeyRequest)(nil), "google.storage.v1.UpdateHmacKeyRequest") 5715 proto.RegisterType((*GetIamPolicyRequest)(nil), "google.storage.v1.GetIamPolicyRequest") 5716 proto.RegisterType((*SetIamPolicyRequest)(nil), "google.storage.v1.SetIamPolicyRequest") 5717 proto.RegisterType((*TestIamPermissionsRequest)(nil), "google.storage.v1.TestIamPermissionsRequest") 5718 proto.RegisterType((*CommonObjectRequestParams)(nil), "google.storage.v1.CommonObjectRequestParams") 5719 proto.RegisterType((*CommonRequestParams)(nil), "google.storage.v1.CommonRequestParams") 5720 proto.RegisterType((*ServiceConstants)(nil), "google.storage.v1.ServiceConstants") 5721} 5722 5723func init() { 5724 proto.RegisterFile("google/storage/v1/storage.proto", fileDescriptor_cfff1fb85921a0a4) 5725} 5726 5727var fileDescriptor_cfff1fb85921a0a4 = []byte{ 5728 // 4489 bytes of a gzipped FileDescriptorProto 5729 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x3d, 0x5d, 0x6c, 0x23, 0x49, 5730 0x5a, 0x69, 0x3b, 0x76, 0x92, 0xcf, 0xf9, 0xad, 0x24, 0x33, 0x1e, 0x67, 0x7e, 0xb2, 0x9e, 0x9d, 5731 0xbf, 0xfd, 0x49, 0x76, 0xb2, 0xb7, 0xbb, 0x77, 0xbb, 0xe8, 0x38, 0xc7, 0xf1, 0x64, 0x4c, 0x7e, 5732 0xb7, 0xed, 0xec, 0xee, 0x8c, 0x0e, 0x9a, 0x4e, 0xbb, 0x9c, 0xf4, 0xc5, 0xdd, 0xed, 0xeb, 0x6e, 5733 0xcf, 0x4c, 0x56, 0x3c, 0x8c, 0x90, 0x38, 0x10, 0x12, 0x27, 0xa4, 0x45, 0x3c, 0xc0, 0x0b, 0x20, 5734 0x1d, 0x70, 0xaf, 0xc0, 0xa2, 0xd3, 0x09, 0x04, 0x9c, 0x78, 0x3a, 0x09, 0x1d, 0x5a, 0x21, 0x4e, 5735 0x3c, 0x20, 0xdd, 0x23, 0xbc, 0x22, 0x21, 0x9e, 0x40, 0xa8, 0xbb, 0xaa, 0xdb, 0xdd, 0xed, 0x6a, 5736 0x77, 0x3b, 0xb6, 0xb3, 0x9b, 0xbd, 0x79, 0x8b, 0xab, 0xbe, 0xfa, 0xea, 0xab, 0xaf, 0xbe, 0xbf, 5737 0xfa, 0xaa, 0xfa, 0x0b, 0xdc, 0x38, 0xd2, 0xb4, 0xa3, 0x06, 0x5e, 0x35, 0x4c, 0x4d, 0x17, 0x8f, 5738 0xf0, 0xea, 0x93, 0xfb, 0xce, 0x9f, 0x2b, 0x4d, 0x5d, 0x33, 0x35, 0x34, 0x47, 0x00, 0x56, 0x9c, 5739 0xd6, 0x27, 0xf7, 0x73, 0xce, 0x18, 0xb1, 0x29, 0xaf, 0xd6, 0x65, 0xdc, 0xa8, 0x09, 0x87, 0xf8, 5740 0x58, 0x7c, 0x22, 0x6b, 0x3a, 0x19, 0x93, 0xbb, 0x4e, 0x01, 0x64, 0x51, 0xb1, 0x10, 0xca, 0xa2, 5741 0x22, 0x34, 0xb5, 0x86, 0x2c, 0x9d, 0xd2, 0xfe, 0x9c, 0xbf, 0xdf, 0xd7, 0xb7, 0x44, 0xfb, 0xec, 5742 0x5f, 0x87, 0xad, 0xfa, 0x2a, 0x56, 0x9a, 0xa6, 0xd3, 0xb9, 0x1c, 0xec, 0x24, 0xd3, 0x2b, 0xa2, 5743 0x71, 0x12, 0x98, 0xda, 0x85, 0x78, 0xaa, 0x8b, 0xcd, 0x26, 0xd6, 0x0d, 0xda, 0x7f, 0x2f, 0x74, 5744 0xbd, 0x82, 0x8e, 0x0d, 0xad, 0xa5, 0x4b, 0xd8, 0x01, 0xbd, 0xec, 0x59, 0xa6, 0xd4, 0x90, 0xb1, 5745 0x6a, 0x92, 0x8e, 0xfc, 0x0f, 0x38, 0x58, 0xde, 0xc0, 0x0d, 0x6c, 0xe2, 0xf5, 0x96, 0x74, 0x82, 5746 0xcd, 0x82, 0x24, 0x61, 0xc3, 0x28, 0x6a, 0xaa, 0xa9, 0x6b, 0x0d, 0x1e, 0x7f, 0xbb, 0x85, 0x0d, 5747 0x13, 0x2d, 0x41, 0xfa, 0xd0, 0xee, 0xcd, 0x72, 0xcb, 0xdc, 0xdd, 0x89, 0xf5, 0xe4, 0xcf, 0x0a, 5748 0x09, 0x9e, 0x36, 0x59, 0x9d, 0x58, 0x35, 0x65, 0xf3, 0x34, 0x9b, 0xf0, 0x74, 0x92, 0x26, 0xf4, 5749 0x18, 0x16, 0x25, 0x4d, 0x51, 0x34, 0x55, 0xd0, 0x09, 0x2e, 0xa1, 0x29, 0xea, 0xa2, 0x62, 0x64, 5750 0x47, 0x97, 0xb9, 0xbb, 0x99, 0xb5, 0xdb, 0x2b, 0x1d, 0x3b, 0xb2, 0x52, 0xb4, 0xe1, 0xe9, 0xd4, 5751 0xfb, 0x36, 0x34, 0x3f, 0x2f, 0x75, 0x36, 0xe6, 0x3f, 0xe5, 0xe0, 0xda, 0x26, 0x36, 0x2f, 0x1c, 5752 0xdd, 0xff, 0xc3, 0xc1, 0x72, 0x59, 0x35, 0xb0, 0x7e, 0x66, 0xd2, 0x1f, 0xc3, 0x22, 0xf9, 0x4b, 5753 0x10, 0xed, 0xb1, 0x82, 0x44, 0x06, 0x67, 0x93, 0xa1, 0xd4, 0xb1, 0xa6, 0x9a, 0x3f, 0xec, 0x6c, 5754 0x1c, 0xea, 0xca, 0xff, 0x80, 0x83, 0x1b, 0xdb, 0xb2, 0xc1, 0x5a, 0xb7, 0x11, 0x77, 0xe1, 0x6c, 5755 0xe2, 0x92, 0xfd, 0x13, 0xf7, 0xcf, 0x09, 0xb8, 0xb1, 0x2f, 0x9a, 0xd2, 0xf1, 0xb0, 0x04, 0x8a, 5756 0xbd, 0x65, 0xa3, 0xfd, 0x6f, 0xd9, 0x7b, 0x90, 0x69, 0x35, 0x6b, 0xa2, 0x89, 0x6d, 0xe3, 0x91, 5757 0x4d, 0xd9, 0x18, 0x73, 0x0e, 0x46, 0xc7, 0x7a, 0xac, 0x3c, 0xb0, 0xec, 0xcb, 0x8e, 0x68, 0x9c, 5758 0xf0, 0x40, 0xc0, 0xad, 0xbf, 0xc3, 0x59, 0x9a, 0xee, 0x9f, 0xa5, 0xbf, 0x97, 0x80, 0xe5, 0x03, 5759 0x7b, 0xaa, 0x0b, 0xc7, 0xd3, 0x50, 0xb6, 0xa4, 0xfa, 0x67, 0xcb, 0xdf, 0x25, 0x60, 0xde, 0x6b, 5760 0x73, 0x63, 0x71, 0xa2, 0x02, 0x97, 0xe5, 0xba, 0xa0, 0x60, 0x53, 0x3c, 0xc2, 0x2a, 0xd6, 0x45, 5761 0x53, 0xd6, 0x54, 0x41, 0xb1, 0xe4, 0xd5, 0x66, 0x4d, 0x66, 0x6d, 0xa9, 0x63, 0xc3, 0xcb, 0xaa, 5762 0xf9, 0xf6, 0x57, 0x3e, 0x10, 0x1b, 0x2d, 0xcc, 0x2f, 0xca, 0xf5, 0x1d, 0xdf, 0xd0, 0x1d, 0x6b, 5763 0x24, 0x7a, 0x0c, 0x4b, 0x9d, 0x48, 0x55, 0xcd, 0xa4, 0x88, 0x93, 0xd1, 0x88, 0xb3, 0x41, 0xc4, 5764 0xbb, 0x9a, 0xe9, 0xe0, 0x1e, 0x1e, 0x07, 0x7f, 0x33, 0x09, 0xb3, 0xae, 0xe9, 0xff, 0x72, 0xb2, 5765 0xaf, 0x0c, 0xd0, 0xd4, 0xb5, 0x6f, 0x61, 0xc9, 0x6a, 0xb5, 0x25, 0x7a, 0x7a, 0xed, 0x5e, 0x28, 5766 0xcf, 0x4a, 0x6a, 0x4b, 0x31, 0x56, 0xf6, 0xdd, 0x01, 0xbc, 0x67, 0xf0, 0x50, 0x55, 0xfc, 0x67, 5767 0x49, 0x98, 0xf7, 0x3a, 0x33, 0x67, 0x33, 0x1e, 0xc1, 0x74, 0x53, 0xc7, 0x35, 0x5c, 0x97, 0x55, 5768 0x5c, 0x13, 0x44, 0xa9, 0x61, 0x6f, 0xca, 0xf4, 0xda, 0x5a, 0xe4, 0x12, 0x9c, 0x41, 0x8e, 0xaa, 5769 0x36, 0xf8, 0xa9, 0x36, 0xa6, 0x82, 0xd4, 0x40, 0x2d, 0xb8, 0xe6, 0x41, 0x5d, 0xc3, 0x75, 0xb1, 5770 0xd5, 0x30, 0x05, 0xed, 0xd0, 0x5a, 0xae, 0x3d, 0x53, 0xa2, 0xc7, 0x99, 0xf6, 0xec, 0xa1, 0xd6, 5771 0x4c, 0xb9, 0x36, 0xe2, 0x0d, 0x82, 0xd7, 0xed, 0x43, 0xd7, 0x60, 0x8c, 0xf2, 0xd4, 0xde, 0x58, 5772 0x2a, 0x5f, 0x4e, 0xdb, 0x20, 0xf7, 0xeb, 0xbe, 0x2b, 0xc8, 0x64, 0x83, 0xae, 0x84, 0x1a, 0xb2, 5773 0x68, 0xc7, 0x38, 0xd6, 0xff, 0x16, 0x7f, 0x97, 0x83, 0x79, 0xcb, 0x6b, 0x17, 0x8f, 0x45, 0x55, 5774 0xc5, 0x5f, 0x00, 0x4f, 0xfd, 0x17, 0x09, 0x40, 0xed, 0x30, 0xc2, 0xa5, 0xe7, 0x06, 0x64, 0x14, 5775 0xf1, 0x99, 0x15, 0xfa, 0xb6, 0x1a, 0xa6, 0x61, 0x13, 0x95, 0xe2, 0x41, 0x11, 0x9f, 0xf1, 0xa4, 5776 0x05, 0x5d, 0x03, 0x68, 0x5a, 0xc1, 0xb1, 0xa9, 0x9d, 0x60, 0x95, 0x38, 0x14, 0x7e, 0xc2, 0x6a, 5777 0xa9, 0x5a, 0x0d, 0xe8, 0x12, 0xa4, 0x9b, 0x3a, 0xae, 0xcb, 0xcf, 0xc8, 0xfe, 0xf2, 0xf4, 0x97, 5778 0x77, 0xe3, 0x47, 0x23, 0x37, 0x3e, 0x35, 0x14, 0x45, 0x1d, 0xc0, 0x2e, 0xfe, 0x13, 0x07, 0xb9, 5779 0x6d, 0x4d, 0x3a, 0xe1, 0xb1, 0x69, 0xb9, 0x4f, 0x4d, 0xdd, 0xb7, 0x4f, 0x2a, 0xb1, 0x36, 0xf3, 5780 0xed, 0xee, 0xc6, 0x33, 0x19, 0x6e, 0x1f, 0x87, 0x17, 0x4b, 0xfe, 0x24, 0x05, 0xc8, 0x13, 0xae, 5781 0x7d, 0x39, 0x9d, 0x40, 0xa7, 0x15, 0x1d, 0x3d, 0x37, 0x2b, 0x9a, 0x1a, 0x8a, 0x15, 0xf5, 0x6b, 5782 0x4b, 0xba, 0x1f, 0x6d, 0x79, 0x0b, 0xc6, 0x2d, 0xae, 0xd7, 0x44, 0x53, 0xcc, 0x8e, 0x47, 0x19, 5783 0x4a, 0x17, 0x34, 0x18, 0x2d, 0x4f, 0x0c, 0x26, 0x5a, 0x86, 0xfe, 0x25, 0xfa, 0x93, 0x14, 0xcc, 5784 0x7b, 0xa3, 0xe5, 0x17, 0x22, 0xfd, 0x42, 0xa4, 0xe3, 0x89, 0x74, 0xa8, 0x54, 0x4e, 0xf4, 0x2f, 5785 0x95, 0x7f, 0xca, 0x01, 0xaa, 0x98, 0x5a, 0x93, 0x7a, 0x7f, 0x47, 0x28, 0xbf, 0x02, 0x63, 0x12, 5786 0x69, 0xb1, 0xa5, 0xd2, 0xa3, 0x41, 0xde, 0x49, 0xe8, 0x18, 0x07, 0x34, 0x9c, 0xd0, 0xc4, 0x00, 5787 0x4e, 0x55, 0x1c, 0xdc, 0x21, 0xa7, 0xaa, 0xc0, 0x0e, 0x5d, 0x98, 0xc4, 0xd0, 0xdf, 0x70, 0xf0, 5788 0xf2, 0x26, 0x36, 0x2f, 0x2a, 0xf9, 0xff, 0xc7, 0xc1, 0x1d, 0x72, 0x14, 0xe8, 0x73, 0x05, 0x8f, 5789 0x61, 0xd1, 0x55, 0xda, 0x98, 0xe9, 0x2d, 0xd6, 0x54, 0xf3, 0x5a, 0x67, 0xe3, 0x50, 0x19, 0xf0, 5790 0x59, 0x02, 0x6e, 0x5b, 0x71, 0x69, 0xf8, 0xf2, 0x8d, 0x17, 0x47, 0xfd, 0x5e, 0x99, 0xfa, 0xd3, 5791 0x04, 0xdc, 0xb6, 0xe3, 0xbc, 0x21, 0xab, 0x05, 0x5b, 0xe2, 0x46, 0xfb, 0x97, 0xb8, 0x2f, 0x6c, 5792 0x76, 0xee, 0x0f, 0x13, 0x70, 0x87, 0xc4, 0x1b, 0x17, 0x95, 0xb5, 0xc3, 0x94, 0xbb, 0xbf, 0xe5, 5793 0xe0, 0x0a, 0x71, 0x27, 0xbb, 0x9a, 0x29, 0xd7, 0x65, 0xc9, 0x16, 0xf9, 0x58, 0xfc, 0xb8, 0x03, 5794 0x93, 0xaa, 0x67, 0x8c, 0x97, 0x2b, 0xbe, 0x8e, 0xa1, 0x1a, 0xa3, 0x1f, 0x72, 0x70, 0x69, 0x13, 5795 0x9b, 0x17, 0x93, 0xf8, 0x7f, 0xe3, 0xe0, 0x0a, 0x71, 0x25, 0x3d, 0xd3, 0x5f, 0x0c, 0xd0, 0x4f, 5796 0x0c, 0xdb, 0x0d, 0x06, 0x35, 0x3e, 0xd4, 0xe7, 0xb7, 0xb6, 0x4f, 0x38, 0xc8, 0x5a, 0x5e, 0xc2, 5797 0x3b, 0xfd, 0xe7, 0x9f, 0x53, 0xf9, 0x6f, 0xf7, 0x1e, 0x70, 0x28, 0x56, 0x60, 0x09, 0xd2, 0x44, 5798 0x81, 0xbd, 0xb9, 0x33, 0xda, 0x84, 0xae, 0x03, 0xb4, 0x9d, 0x8a, 0xcd, 0xe2, 0x24, 0xef, 0x69, 5799 0x19, 0xaa, 0x11, 0xfc, 0x2f, 0x72, 0x89, 0xf8, 0xf3, 0xb5, 0xe8, 0xbf, 0x4a, 0x38, 0x37, 0x90, 5800 0x7d, 0xac, 0x9b, 0x2e, 0x2d, 0x11, 0xb5, 0xb4, 0x24, 0x6b, 0x69, 0x6c, 0x97, 0x90, 0x1a, 0xa2, 5801 0x4b, 0x18, 0x00, 0xdb, 0x7e, 0x4a, 0xaf, 0x2f, 0xcf, 0x1c, 0xd8, 0xf5, 0xcb, 0xb5, 0xa1, 0x39, 5802 0xbb, 0xdf, 0x49, 0xd2, 0xbb, 0xcf, 0x2f, 0xa4, 0x1e, 0x5c, 0x44, 0x61, 0x09, 0x86, 0x7d, 0x63, 5803 0xbd, 0x84, 0x7d, 0xf9, 0xef, 0x26, 0x9d, 0x8b, 0xd3, 0x0b, 0xb4, 0x21, 0xe9, 0x21, 0x6e, 0xc8, 5804 0xd8, 0xc0, 0x37, 0x64, 0xbc, 0xa7, 0x0d, 0xf9, 0xd1, 0x38, 0x2c, 0x14, 0x35, 0xa5, 0xa9, 0x19, 5805 0x74, 0x47, 0x9c, 0x4d, 0x58, 0x03, 0x54, 0xc3, 0x86, 0x29, 0xab, 0xe4, 0x40, 0xd5, 0xb9, 0x21, 5806 0x73, 0x9e, 0x6e, 0x92, 0xb8, 0x09, 0x8e, 0xe9, 0x34, 0x09, 0xde, 0x31, 0x64, 0x3a, 0xd4, 0x84, 5807 0x9c, 0x77, 0x4c, 0x20, 0x85, 0x96, 0x3c, 0x73, 0x62, 0x2b, 0xeb, 0xc1, 0xba, 0xef, 0xcb, 0xa6, 5808 0xbd, 0x07, 0x19, 0x4f, 0x5f, 0x36, 0x13, 0x9a, 0x8e, 0xa2, 0x0c, 0xf1, 0x42, 0xa3, 0x6f, 0xc2, 5809 0x34, 0x79, 0x80, 0x44, 0x57, 0x67, 0x64, 0x27, 0x97, 0x93, 0x77, 0x33, 0x6b, 0x6f, 0xb1, 0x49, 5810 0xec, 0xe0, 0xeb, 0x4a, 0xc5, 0x1e, 0x4d, 0xda, 0x0c, 0x7e, 0xca, 0xf0, 0xfe, 0x44, 0x5b, 0x30, 5811 0x2f, 0xd7, 0x85, 0x8e, 0xc3, 0xf1, 0x68, 0xf4, 0x19, 0x76, 0x4e, 0xae, 0x6f, 0x06, 0x0e, 0xc6, 5812 0x5d, 0x4e, 0xdb, 0xa9, 0x33, 0x9f, 0xb6, 0x97, 0x61, 0xf2, 0x44, 0x31, 0x84, 0x13, 0x7c, 0x2a, 5813 0xa8, 0xa2, 0x82, 0x6d, 0xdd, 0x98, 0xe0, 0xe1, 0x44, 0x31, 0xb6, 0xf0, 0xe9, 0xae, 0xa8, 0x60, 5814 0xa4, 0xc0, 0x55, 0x2a, 0xea, 0x54, 0x9b, 0x98, 0xa9, 0xbb, 0xd7, 0x42, 0xb7, 0xd4, 0xc7, 0x2e, 5815 0x2a, 0xf7, 0x57, 0xa4, 0xb0, 0xae, 0x61, 0x26, 0xae, 0x73, 0xdf, 0x4b, 0xc0, 0x94, 0x6f, 0xbf, 5816 0x10, 0x82, 0x51, 0x7b, 0xd9, 0xb6, 0x1e, 0xf0, 0xf6, 0xdf, 0x01, 0xbb, 0x92, 0xe8, 0xb0, 0x2b, 5817 0xbf, 0x06, 0x0b, 0x94, 0x13, 0x4d, 0x1d, 0x4b, 0x9a, 0x5a, 0x93, 0xed, 0xc8, 0x98, 0x06, 0xb7, 5818 0xe5, 0x33, 0x09, 0x0e, 0x95, 0xcd, 0x7d, 0x2f, 0x42, 0xc7, 0xf2, 0xf8, 0x1a, 0x73, 0x87, 0x30, 5819 0xcf, 0x80, 0x0d, 0x93, 0x34, 0xee, 0x2c, 0x92, 0x96, 0xff, 0x2c, 0x03, 0x73, 0x45, 0xad, 0x79, 5820 0xfa, 0xf3, 0x62, 0x41, 0x06, 0xaa, 0xa6, 0xbc, 0xad, 0xa6, 0xcc, 0xdc, 0x55, 0x0c, 0x35, 0x5d, 5821 0xf0, 0x22, 0x74, 0xf3, 0x56, 0x5d, 0x54, 0x3f, 0x3d, 0xac, 0x44, 0xdb, 0x58, 0x3f, 0x89, 0xb6, 5822 0x8f, 0x20, 0x27, 0xd7, 0x05, 0x6a, 0x59, 0x3b, 0x68, 0x1e, 0x8f, 0x46, 0x7d, 0x59, 0xae, 0x13, 5823 0x05, 0x09, 0xb2, 0x57, 0x80, 0xeb, 0x4c, 0xcc, 0x6d, 0xc2, 0x27, 0xa2, 0xb1, 0xe7, 0x3a, 0xb1, 5824 0xbb, 0xa4, 0xff, 0xaa, 0x77, 0x02, 0x26, 0xcb, 0x21, 0x7a, 0x82, 0x25, 0x67, 0x02, 0x16, 0xe3, 5825 0x8f, 0x20, 0x1f, 0x3a, 0x43, 0x7b, 0x19, 0x99, 0xe8, 0x59, 0xae, 0xb3, 0x67, 0x09, 0x79, 0x9a, 5826 0x33, 0xd9, 0xcf, 0x85, 0xcf, 0x5d, 0xa0, 0xae, 0xcd, 0xd1, 0xfb, 0x29, 0x4f, 0xba, 0x85, 0xf4, 5827 0x50, 0x95, 0x6f, 0x43, 0x52, 0x6d, 0x9f, 0xee, 0x80, 0xa4, 0x8a, 0xfe, 0x2a, 0xcc, 0x75, 0xec, 5828 0x63, 0x76, 0xc6, 0xb6, 0xb7, 0xb3, 0x46, 0x60, 0x7b, 0x82, 0x5e, 0x7e, 0xae, 0x27, 0x2f, 0xff, 5829 0x0e, 0x78, 0x95, 0x5f, 0xf0, 0x79, 0xbc, 0x05, 0xdb, 0xf4, 0x2f, 0x7a, 0xfa, 0xb7, 0xe2, 0x3b, 5830 0x3f, 0x74, 0x4e, 0xce, 0x6f, 0xbe, 0xff, 0xa3, 0xd3, 0xf7, 0x53, 0xce, 0x63, 0x3e, 0xbf, 0x59, 5831 0x3f, 0xfb, 0x41, 0x70, 0x09, 0x26, 0x5a, 0xcd, 0x86, 0x26, 0xd6, 0x04, 0xb9, 0x46, 0x9f, 0xa2, 5832 0x8c, 0x93, 0x86, 0x72, 0x2d, 0x32, 0x3a, 0x0f, 0xb1, 0xb9, 0xa9, 0x41, 0xdb, 0xdc, 0xf4, 0x10, 5833 0x6c, 0xee, 0xd8, 0xb0, 0x6c, 0xee, 0x78, 0x3f, 0x36, 0x37, 0x4a, 0x56, 0xe1, 0x9c, 0x64, 0x35, 5834 0xd3, 0xbf, 0xac, 0xfe, 0x63, 0x0a, 0x16, 0xdd, 0x64, 0xd7, 0x0e, 0xae, 0xc9, 0xa2, 0x23, 0xad, 5835 0x97, 0xfc, 0xd2, 0xea, 0x0a, 0xea, 0x25, 0xbf, 0xa0, 0xc6, 0x4e, 0x56, 0xdc, 0x80, 0x8c, 0x8e, 5836 0xc5, 0x9a, 0xa0, 0xd5, 0xeb, 0x06, 0x36, 0x1d, 0x39, 0xb5, 0x9a, 0xf6, 0xec, 0x16, 0x74, 0x0d, 5837 0xec, 0x5f, 0x42, 0x43, 0x56, 0x64, 0xd3, 0x16, 0xcf, 0x24, 0x3f, 0x61, 0xb5, 0x6c, 0x5b, 0x0d, 5838 0x61, 0x62, 0x9c, 0x1e, 0xb4, 0x18, 0x8f, 0x0d, 0x41, 0x8c, 0xc7, 0x87, 0x25, 0xc6, 0x13, 0xc3, 5839 0x14, 0xe3, 0xcc, 0x39, 0x89, 0xf1, 0x64, 0xff, 0x62, 0xfc, 0x2f, 0x29, 0xfb, 0xf5, 0xef, 0xa0, 5840 0xec, 0x6d, 0x94, 0x2c, 0xbf, 0x08, 0x63, 0x07, 0x1d, 0xc6, 0xfa, 0x03, 0xa8, 0xf1, 0x7e, 0x02, 5841 0xa8, 0x2f, 0x91, 0x75, 0xfe, 0xcb, 0x84, 0x7d, 0x63, 0xe7, 0xb3, 0xce, 0x46, 0x53, 0x53, 0x0d, 5842 0x8c, 0x76, 0x60, 0x56, 0x3a, 0xc6, 0xd2, 0x89, 0xd1, 0x52, 0x14, 0x5c, 0x13, 0xec, 0xf7, 0x41, 5843 0xe4, 0x0c, 0x9a, 0x67, 0x3e, 0xbb, 0x71, 0x41, 0x37, 0x44, 0x53, 0xe4, 0x67, 0x24, 0x7f, 0x83, 5844 0x85, 0x8e, 0x72, 0xcb, 0xe9, 0x71, 0x5e, 0xe0, 0xe4, 0x43, 0x23, 0x3f, 0x07, 0xa9, 0xc1, 0xcf, 5845 0x68, 0xfe, 0x06, 0xb4, 0x01, 0x53, 0x92, 0xa6, 0x9a, 0x58, 0x35, 0x05, 0x5d, 0x54, 0x8f, 0x70, 5846 0x97, 0x3b, 0xb7, 0x22, 0x81, 0xe3, 0x2d, 0x30, 0x7e, 0x52, 0xf2, 0xfc, 0xf2, 0xbd, 0x7d, 0x1a, 5847 0x8d, 0x0a, 0x43, 0x5d, 0xd0, 0xfc, 0x3f, 0x8c, 0xc2, 0xac, 0xf7, 0x2e, 0xa3, 0xd2, 0xc4, 0x92, 5848 0x85, 0xcb, 0xf9, 0x02, 0x8e, 0xf2, 0xa9, 0x1b, 0x2e, 0x07, 0x94, 0xf1, 0x36, 0xed, 0xec, 0x4f, 5849 0xc9, 0x03, 0x6f, 0xd3, 0x42, 0x8c, 0x48, 0x72, 0xd0, 0x46, 0x64, 0x74, 0x08, 0x46, 0x24, 0x35, 5850 0x2c, 0x23, 0x92, 0x1e, 0x9c, 0x11, 0x19, 0xeb, 0xc3, 0x88, 0xe4, 0xff, 0x24, 0xe5, 0x7c, 0xc4, 5851 0xe0, 0xf7, 0x29, 0xd7, 0xbc, 0x91, 0xb8, 0xed, 0x56, 0x1e, 0x8e, 0x78, 0x62, 0xf1, 0x0a, 0x20, 5852 0xd9, 0x1e, 0xe5, 0xd8, 0x1e, 0xa3, 0x89, 0x25, 0xaa, 0x48, 0x37, 0x19, 0x94, 0x04, 0xc5, 0xf4, 5853 0xe1, 0x08, 0x3f, 0x2b, 0x07, 0x45, 0xf7, 0x36, 0x4c, 0x3e, 0xd5, 0x65, 0x13, 0x3b, 0xa1, 0x93, 5854 0xed, 0x8f, 0x88, 0xc3, 0xca, 0xd8, 0x1d, 0x34, 0x80, 0xda, 0x63, 0x98, 0x84, 0xd1, 0xb8, 0x26, 5855 0xe1, 0x21, 0xd7, 0x69, 0x14, 0x1e, 0xc2, 0x84, 0x8e, 0xeb, 0x58, 0xc7, 0xaa, 0x84, 0xe9, 0x96, 5856 0xdf, 0x65, 0x60, 0x62, 0xc6, 0x8f, 0x0f, 0x39, 0xbe, 0x3d, 0x98, 0x69, 0x5e, 0xd2, 0x67, 0x37, 5857 0x2f, 0x2f, 0xc1, 0x64, 0x5d, 0x56, 0x65, 0xe3, 0x58, 0xb0, 0xd7, 0x6f, 0x6f, 0xf5, 0x38, 0x9f, 5858 0x21, 0x6d, 0x1f, 0x5a, 0x4d, 0x91, 0x5e, 0x60, 0xfc, 0x9c, 0xbc, 0x40, 0xff, 0xef, 0x2d, 0xd7, 5859 0x67, 0x60, 0xaa, 0x2e, 0xeb, 0x86, 0x29, 0x28, 0xd8, 0x30, 0xc4, 0x23, 0xbc, 0x9e, 0x86, 0x51, 5860 0xdb, 0xd0, 0xfd, 0x79, 0x92, 0x7c, 0xf5, 0xe0, 0xe4, 0xc4, 0xe3, 0xc4, 0x3d, 0x57, 0x61, 0xa2, 5861 0x86, 0xed, 0x10, 0x1b, 0xeb, 0xce, 0x07, 0x0f, 0x6e, 0x03, 0xfa, 0x05, 0xc8, 0xc9, 0xaa, 0xd4, 5862 0x68, 0xd5, 0xb0, 0x60, 0xea, 0xa2, 0xdc, 0x90, 0xd5, 0x23, 0xa1, 0x0d, 0x9e, 0xb4, 0xd9, 0x9c, 5863 0xa5, 0x10, 0x55, 0x0a, 0xb0, 0xe1, 0x8e, 0x0e, 0x7c, 0x6e, 0x31, 0x1a, 0xf1, 0xb9, 0x45, 0x2a, 5864 0xfc, 0x73, 0x8b, 0xb4, 0xef, 0x73, 0x8b, 0xc1, 0xe9, 0x35, 0xca, 0xc1, 0xf8, 0x13, 0xac, 0x1b, 5865 0x76, 0x1a, 0x79, 0xc2, 0x5e, 0x8e, 0xfb, 0x7b, 0xa8, 0x2f, 0xb9, 0xbf, 0x93, 0x80, 0xcb, 0xef, 5866 0xb7, 0xb0, 0x7e, 0x6a, 0x4b, 0x67, 0xc5, 0x14, 0xcd, 0x96, 0xbb, 0x5f, 0xcb, 0x1d, 0x36, 0x85, 5867 0x6c, 0x59, 0xdb, 0xac, 0x44, 0x09, 0x73, 0xe2, 0x9c, 0x84, 0x79, 0x00, 0xaf, 0x4a, 0x7e, 0x19, 5868 0xb2, 0x9d, 0x7c, 0xa0, 0x31, 0xcd, 0x2d, 0x98, 0xb6, 0x86, 0xc8, 0xa6, 0x89, 0x6b, 0x82, 0x21, 5869 0x7f, 0x4c, 0x3c, 0x75, 0x92, 0x9f, 0x72, 0x5b, 0x2b, 0xf2, 0xc7, 0xd8, 0xda, 0x43, 0x49, 0x53, 5870 0x9a, 0x0d, 0x6c, 0x62, 0x7b, 0xe5, 0xe3, 0xbc, 0xfb, 0x3b, 0xff, 0x7c, 0x1a, 0x16, 0x78, 0x4c, 5871 0xac, 0xe2, 0xe7, 0x92, 0x53, 0xef, 0x96, 0x00, 0x4b, 0x76, 0x4b, 0x80, 0x75, 0x4f, 0xc6, 0x8f, 5872 0x9e, 0x5f, 0x32, 0xfe, 0x45, 0x62, 0x68, 0x48, 0xc9, 0xf8, 0x89, 0xa1, 0x26, 0xe3, 0x61, 0xd8, 5873 0xc9, 0xf8, 0xcc, 0xb9, 0x24, 0xe3, 0x27, 0xfb, 0x4f, 0xc6, 0x7f, 0x1d, 0xae, 0x5a, 0x6e, 0xe8, 5874 0xf0, 0xd4, 0xc4, 0x86, 0xa0, 0xdb, 0xc6, 0xc0, 0xc4, 0xaa, 0xd0, 0xc4, 0xba, 0x20, 0x89, 0x8d, 5875 0x86, 0x9d, 0x50, 0x4f, 0xf2, 0x59, 0x45, 0x7c, 0xb6, 0x6e, 0x81, 0xf0, 0x0e, 0xc4, 0x3e, 0xd6, 5876 0x8b, 0x62, 0x23, 0xf8, 0xf5, 0xc6, 0x74, 0x3f, 0xee, 0xe6, 0x26, 0x4c, 0x11, 0x02, 0x1c, 0x9f, 5877 0x37, 0x63, 0x9b, 0x80, 0x49, 0xda, 0x48, 0xdc, 0x5e, 0x47, 0xc6, 0x7f, 0x36, 0x76, 0xc6, 0x7f, 5878 0xae, 0xa7, 0x8c, 0x3f, 0x0a, 0xc9, 0xf8, 0xdf, 0x77, 0x73, 0x21, 0x0b, 0x51, 0x27, 0x23, 0x27, 5879 0x43, 0xb2, 0x09, 0xcb, 0x92, 0xd6, 0x3c, 0x75, 0xb6, 0x13, 0xab, 0x92, 0x7e, 0xda, 0xb4, 0xb7, 5880 0x52, 0x6c, 0x1c, 0x69, 0xba, 0x6c, 0x1e, 0x2b, 0xd9, 0x45, 0x7b, 0xad, 0xd7, 0x2c, 0x38, 0xb2, 5881 0x5f, 0x25, 0x17, 0xaa, 0xe0, 0x00, 0xa1, 0xf7, 0x20, 0x17, 0x82, 0xe8, 0x04, 0x9f, 0x66, 0x2f, 5882 0xd9, 0x28, 0x2e, 0xb3, 0x50, 0x6c, 0xe1, 0x53, 0xf4, 0x10, 0x5e, 0x0a, 0x1f, 0x2c, 0x18, 0xc7, 5883 0xe2, 0xda, 0x5b, 0x6f, 0x67, 0x2f, 0x87, 0x93, 0xb1, 0x85, 0x4f, 0x2b, 0x36, 0x50, 0xa4, 0x87, 5884 0xcd, 0x9e, 0x93, 0x87, 0xbd, 0xd2, 0xbf, 0x87, 0xfd, 0x57, 0x0e, 0x66, 0xa8, 0x0b, 0x74, 0x3d, 5885 0xeb, 0x1a, 0x2c, 0x9a, 0x9a, 0x29, 0x36, 0x82, 0x4a, 0x41, 0x1d, 0xec, 0xbc, 0xdd, 0xe9, 0xd7, 5886 0x06, 0x2b, 0x9a, 0x73, 0x0e, 0x31, 0x96, 0x2b, 0xa6, 0xd7, 0xf3, 0xa4, 0xc9, 0xf6, 0xc3, 0x08, 5887 0x46, 0x6b, 0x9a, 0x8a, 0x69, 0x58, 0x68, 0xff, 0xdd, 0x29, 0xf0, 0xa3, 0x0c, 0x81, 0xf7, 0x9e, 5888 0xc5, 0x53, 0xb1, 0xcf, 0xe2, 0xf9, 0x1f, 0x26, 0x20, 0x57, 0x31, 0x45, 0xdd, 0xb4, 0xc2, 0x49, 5889 0x45, 0x3c, 0x6c, 0xe0, 0x0f, 0xc9, 0x22, 0x89, 0x87, 0x7f, 0x9f, 0x79, 0xf6, 0xe2, 0x62, 0x9f, 5890 0xbd, 0x18, 0x27, 0xaf, 0x28, 0xa9, 0x48, 0x9e, 0x93, 0x54, 0x0c, 0xe0, 0x8d, 0xf1, 0xbb, 0xb0, 5891 0xc4, 0xe4, 0x1d, 0x15, 0x90, 0xa5, 0x8e, 0x18, 0xb4, 0x1d, 0x7e, 0xe6, 0xbf, 0x37, 0x46, 0x3f, 5892 0xac, 0x7d, 0x91, 0x5f, 0xbd, 0xa8, 0xf9, 0xd5, 0xce, 0x3c, 0xd6, 0xf8, 0xa0, 0xf2, 0x58, 0x7e, 5893 0x77, 0x39, 0x31, 0xa8, 0x8f, 0x1d, 0x33, 0xb1, 0x13, 0x7e, 0xc1, 0x77, 0x7c, 0x93, 0x3d, 0x7d, 5894 0x4f, 0x13, 0xa5, 0xe3, 0x53, 0xe7, 0xa4, 0xe3, 0xd3, 0xfd, 0xeb, 0xf8, 0x7f, 0xa6, 0x9d, 0xcf, 5895 0x85, 0x5f, 0x28, 0xea, 0x0b, 0x45, 0xfd, 0x02, 0x2a, 0x6a, 0x94, 0xae, 0x4d, 0x9e, 0x93, 0xae, 5896 0x4d, 0xf5, 0xaf, 0x6b, 0xff, 0x9e, 0x84, 0x4b, 0x1f, 0x5a, 0x3b, 0x56, 0x68, 0x34, 0x02, 0xf9, 5897 0xb7, 0xb0, 0x9b, 0x73, 0x6f, 0xee, 0x29, 0x11, 0xc8, 0x3d, 0xf9, 0xd2, 0x72, 0xc9, 0x60, 0x5a, 5898 0x2e, 0x32, 0xb1, 0xd6, 0xce, 0x9c, 0xa5, 0x7c, 0x99, 0xb3, 0xee, 0xf9, 0xbc, 0x74, 0x44, 0x3e, 5899 0xcf, 0x9f, 0xae, 0x1b, 0x0b, 0xa6, 0xeb, 0x06, 0x78, 0x67, 0xe7, 0xf9, 0x76, 0x1c, 0x06, 0xf0, 5900 0xed, 0xf8, 0x00, 0xae, 0xde, 0xfe, 0x98, 0x83, 0x1b, 0x9b, 0xd8, 0xa4, 0xf4, 0x56, 0xb0, 0xfe, 5901 0x44, 0x96, 0x70, 0x41, 0x92, 0xb4, 0x96, 0xea, 0xda, 0xd5, 0xbc, 0xcb, 0x80, 0x40, 0xe6, 0x6e, 5902 0x82, 0x36, 0x97, 0x6b, 0x43, 0xcd, 0xa5, 0xfd, 0x84, 0x83, 0x85, 0xa2, 0x8e, 0x45, 0x13, 0x3f, 5903 0x54, 0x44, 0x69, 0x0b, 0x9f, 0xf6, 0x42, 0xd8, 0x3b, 0xb0, 0x68, 0x90, 0x55, 0x09, 0x22, 0x59, 5904 0x96, 0x80, 0x15, 0x51, 0x6e, 0x78, 0xdd, 0xc0, 0xbc, 0xe1, 0x5b, 0x77, 0xc9, 0xea, 0x1f, 0xea, 5905 0x8a, 0x34, 0x58, 0x0c, 0x2c, 0x88, 0xc6, 0xa7, 0x5f, 0xf7, 0x18, 0x9c, 0xf0, 0x6b, 0x4e, 0x3a, 5906 0x6a, 0x87, 0x42, 0x7a, 0x2c, 0xcf, 0x25, 0x48, 0x1b, 0x58, 0xd2, 0xb1, 0xfb, 0x6a, 0x85, 0xfc, 5907 0xca, 0xff, 0x80, 0x83, 0x05, 0xf2, 0x56, 0x2b, 0xc0, 0xc2, 0x65, 0x98, 0xa0, 0x1f, 0x33, 0x04, 5908 0x92, 0xb2, 0xa4, 0xb5, 0x5c, 0x0b, 0x30, 0x39, 0x71, 0xee, 0xbb, 0xff, 0x29, 0x07, 0x73, 0x9b, 5909 0xd8, 0xbc, 0x78, 0x74, 0x27, 0x48, 0xf1, 0x28, 0x4a, 0xb8, 0xd1, 0x8b, 0xd0, 0xae, 0x75, 0x15, 5910 0x5a, 0xb6, 0xbc, 0xbe, 0x02, 0x73, 0xc6, 0xb1, 0xf6, 0xd4, 0xb2, 0x7b, 0xd8, 0xc4, 0x35, 0xe1, 5911 0x04, 0x9f, 0x1a, 0xf4, 0xcc, 0x3a, 0x63, 0x75, 0x90, 0xed, 0xaf, 0x59, 0xa4, 0xf4, 0x7d, 0x83, 5912 0x31, 0xcc, 0x6f, 0xcd, 0x9e, 0xc1, 0x82, 0x9f, 0x6d, 0x54, 0x35, 0x6e, 0xc3, 0x8c, 0x8a, 0x9f, 5913 0x59, 0x33, 0xb9, 0x74, 0x11, 0xbf, 0x33, 0x65, 0x35, 0xef, 0xbb, 0xb4, 0x7d, 0x15, 0x52, 0xb2, 5914 0x89, 0xed, 0xdb, 0x82, 0x64, 0x4c, 0xfd, 0x21, 0x03, 0xf2, 0xff, 0xcb, 0xc1, 0x02, 0x89, 0x2b, 5915 0x87, 0x22, 0x6c, 0x45, 0x8f, 0x6e, 0x27, 0xe3, 0xea, 0x36, 0x9d, 0x28, 0xba, 0xe0, 0xc9, 0x00, 5916 0xbe, 0x85, 0xfb, 0x6b, 0x0e, 0xe6, 0x37, 0xb1, 0x59, 0x16, 0x15, 0x7f, 0x85, 0xac, 0x22, 0x64, 5917 0x64, 0x51, 0x71, 0x26, 0x0c, 0xda, 0x25, 0x59, 0x54, 0xe8, 0xed, 0x68, 0x70, 0x20, 0x0f, 0xb2, 5918 0xa8, 0x38, 0x48, 0x86, 0x59, 0x00, 0xc5, 0x22, 0xbc, 0x72, 0x56, 0xc2, 0x2b, 0x9f, 0x23, 0xe1, 5919 0x3f, 0xe2, 0xe0, 0x4a, 0x15, 0x1b, 0x36, 0x01, 0x58, 0x57, 0x64, 0xc3, 0xf0, 0x7e, 0x12, 0x5d, 5920 0x66, 0x91, 0x7f, 0x37, 0x40, 0x7e, 0xe8, 0xf0, 0x73, 0x5b, 0xc4, 0xf7, 0x39, 0xb8, 0x12, 0x1a, 5921 0xb7, 0xa2, 0xfb, 0xb0, 0xc0, 0xcc, 0x9a, 0x12, 0xdd, 0x9d, 0xc7, 0x8c, 0x5c, 0xe9, 0x2d, 0x98, 5922 0x0e, 0xe4, 0x47, 0x89, 0xd9, 0x9b, 0xc2, 0xbe, 0xac, 0xe8, 0x1a, 0x2c, 0xb2, 0x33, 0xa1, 0xc9, 5923 0x20, 0x6a, 0x37, 0xff, 0x99, 0xff, 0x5d, 0x0e, 0xe6, 0x19, 0x0b, 0x43, 0xb7, 0x61, 0xb2, 0x65, 5924 0x60, 0x5d, 0x70, 0xca, 0xdd, 0x79, 0x94, 0x3c, 0x63, 0x75, 0xd0, 0xf8, 0xc8, 0xb2, 0x8b, 0xdf, 5925 0x6e, 0x69, 0xa6, 0x28, 0x58, 0x8d, 0xce, 0xbd, 0xb2, 0xdd, 0x72, 0x60, 0x60, 0x1d, 0xad, 0x41, 5926 0xda, 0xae, 0x65, 0xed, 0xa4, 0xb2, 0xba, 0x1d, 0xce, 0x29, 0x64, 0xfe, 0xc7, 0x29, 0x98, 0xa5, 5927 0x71, 0x57, 0x51, 0x53, 0x0d, 0x53, 0x54, 0x4d, 0x23, 0xff, 0x69, 0x0a, 0xd2, 0xf6, 0x11, 0xca, 5928 0x8a, 0x79, 0xd1, 0x07, 0x85, 0xed, 0x83, 0x52, 0x45, 0x38, 0xd8, 0xad, 0xec, 0x97, 0x8a, 0xe5, 5929 0x07, 0xe5, 0xd2, 0xc6, 0xec, 0x08, 0x5a, 0x82, 0x85, 0x9d, 0xc2, 0x47, 0x02, 0x5f, 0x2a, 0x6c, 5930 0x08, 0xc5, 0x87, 0x07, 0xbb, 0x5b, 0xc2, 0xfa, 0xa3, 0x6a, 0xa9, 0x32, 0xfb, 0xfc, 0xf9, 0x73, 5931 0x0e, 0x5d, 0x85, 0x45, 0xab, 0xf3, 0x43, 0xbe, 0x5c, 0x2d, 0x75, 0xf6, 0x5e, 0x01, 0x64, 0xf5, 5932 0xee, 0xad, 0xff, 0x52, 0xa9, 0x58, 0x15, 0x2a, 0xe5, 0xc7, 0x25, 0x61, 0x67, 0x7d, 0xf6, 0xf9, 5933 0xf3, 0xbf, 0x4f, 0xa0, 0x7b, 0xf0, 0xb2, 0xd5, 0x55, 0x3c, 0xa8, 0x54, 0xf7, 0x76, 0x84, 0x9d, 5934 0x52, 0xb5, 0xb0, 0x51, 0xa8, 0x16, 0x84, 0x07, 0xe5, 0xd2, 0xf6, 0x86, 0xb0, 0x5b, 0xd8, 0x29, 5935 0x39, 0x78, 0xc6, 0xd1, 0x2b, 0x70, 0x2b, 0x1c, 0xd4, 0x26, 0xd9, 0x81, 0x5d, 0x0e, 0x43, 0x5b, 5936 0xdd, 0xab, 0x16, 0xb6, 0x09, 0x01, 0x14, 0xf4, 0x1b, 0xe8, 0x15, 0x02, 0xba, 0x7e, 0x50, 0xdc, 5937 0x2a, 0x55, 0xbb, 0x81, 0xfe, 0x11, 0x87, 0xee, 0xc0, 0x4d, 0x0b, 0x76, 0x77, 0xaf, 0x5a, 0x7e, 5938 0x50, 0x2e, 0x16, 0xaa, 0xe5, 0xbd, 0x5d, 0xa1, 0xb8, 0xb7, 0xfb, 0xa0, 0xbc, 0x59, 0x11, 0xf6, 5939 0x4b, 0x3c, 0x45, 0x32, 0x6b, 0xd9, 0xe7, 0xeb, 0x16, 0xe0, 0x76, 0xf9, 0x41, 0xa9, 0xf8, 0xa8, 5940 0xb8, 0x5d, 0x12, 0xf8, 0x83, 0xed, 0x52, 0x00, 0xe6, 0x36, 0xe4, 0x3b, 0x91, 0x11, 0x82, 0x0b, 5941 0xd5, 0x2a, 0x5f, 0x5e, 0x3f, 0xb0, 0xa6, 0x4d, 0xa1, 0xfb, 0xf0, 0x5a, 0x24, 0x9c, 0xb0, 0x55, 5942 0x7a, 0x24, 0x6c, 0x97, 0x76, 0x37, 0xab, 0x0f, 0x67, 0x9f, 0x27, 0xd0, 0x9b, 0xb0, 0x12, 0x3d, 5943 0x84, 0xb0, 0xcc, 0x19, 0x34, 0x8e, 0xae, 0x42, 0xd6, 0xa6, 0xb9, 0xb0, 0x5e, 0xda, 0xae, 0x08, 5944 0xa5, 0xdd, 0x2a, 0x5f, 0x2e, 0x55, 0x84, 0xe2, 0xde, 0xc1, 0x6e, 0x75, 0xf6, 0x1b, 0xe8, 0x06, 5945 0x2c, 0x79, 0x7a, 0xad, 0xe9, 0x7c, 0xe3, 0x7f, 0x11, 0xdd, 0x80, 0x1c, 0x13, 0x80, 0x72, 0x8f, 5946 0x43, 0x2b, 0x70, 0xcf, 0x23, 0x05, 0xe5, 0x0d, 0xc2, 0x8e, 0x8d, 0xd2, 0x76, 0xa9, 0x5a, 0xa2, 5947 0xad, 0x15, 0x81, 0x2f, 0xbd, 0x7f, 0x50, 0xaa, 0x54, 0x67, 0xff, 0x63, 0x0c, 0x5d, 0x87, 0x5c, 5948 0x65, 0x7f, 0xbb, 0x5c, 0x15, 0xaa, 0x7b, 0x5b, 0xa5, 0x5d, 0xc1, 0x1a, 0xfb, 0x41, 0x61, 0xbb, 5949 0xbc, 0x21, 0x6c, 0x14, 0x1e, 0x55, 0x66, 0xa7, 0x73, 0x89, 0x59, 0x6e, 0xed, 0xf7, 0xdf, 0x80, 5950 0xb1, 0x0a, 0xb1, 0x21, 0xe8, 0x5b, 0x4e, 0x19, 0x11, 0x46, 0xe9, 0x61, 0xf4, 0x26, 0xc3, 0xe2, 5951 0x44, 0x55, 0x63, 0xcf, 0x5d, 0xea, 0x50, 0xa7, 0x92, 0xd2, 0x34, 0x4f, 0xf3, 0x23, 0xc8, 0xb4, 5952 0x1f, 0x10, 0xb2, 0x26, 0x7a, 0x83, 0xfd, 0x92, 0xa7, 0xcb, 0x2c, 0x31, 0xab, 0x27, 0xe7, 0x47, 5953 0xd0, 0xc7, 0x4e, 0xad, 0x8e, 0xb8, 0x2b, 0x8c, 0x2a, 0x7e, 0xde, 0xc3, 0xdc, 0xbf, 0x41, 0x8b, 5954 0x69, 0xb0, 0x2a, 0x8a, 0x23, 0x56, 0x16, 0x25, 0xa2, 0xfc, 0x78, 0xee, 0xcd, 0x9e, 0xc6, 0x90, 5955 0xa0, 0x8c, 0xf0, 0x20, 0xb4, 0xd0, 0x35, 0x93, 0x07, 0x51, 0x65, 0xb1, 0x7b, 0xe0, 0xc1, 0x33, 5956 0xc8, 0x86, 0xd5, 0x2d, 0x67, 0xb2, 0x20, 0xa2, 0xc8, 0x79, 0x0f, 0x33, 0xef, 0xc3, 0xa4, 0x57, 5957 0x5a, 0xd1, 0xed, 0x08, 0x71, 0x8e, 0x96, 0xe0, 0x1d, 0x98, 0x70, 0xc5, 0x12, 0xdd, 0xec, 0x26, 5958 0xb4, 0x0e, 0xae, 0xf0, 0x02, 0x79, 0xf9, 0x11, 0x54, 0x81, 0x49, 0xaf, 0xb0, 0x31, 0x09, 0x64, 5959 0x54, 0x2f, 0xee, 0x8e, 0x54, 0x84, 0x49, 0x6f, 0x39, 0x5c, 0x26, 0x52, 0x46, 0xbd, 0xdc, 0xdc, 5960 0x9d, 0x48, 0x38, 0x57, 0x9c, 0x7e, 0x05, 0x32, 0x9e, 0x02, 0xb7, 0xe8, 0x56, 0x57, 0xa1, 0x34, 5961 0xba, 0x6d, 0x9c, 0x0f, 0xcc, 0xc5, 0x7f, 0x04, 0x57, 0xb6, 0x35, 0xe9, 0xc4, 0x59, 0xb4, 0xaf, 5962 0x22, 0x2c, 0x7a, 0x9d, 0x85, 0x26, 0xb4, 0x72, 0x6c, 0x77, 0x5e, 0x1d, 0x00, 0x72, 0x77, 0xcc, 5963 0x8d, 0x2f, 0x99, 0x1c, 0x63, 0x44, 0xce, 0xb9, 0xc5, 0x40, 0x94, 0x47, 0x7a, 0x09, 0xda, 0x4a, 5964 0x3c, 0xb4, 0x95, 0x5e, 0xd0, 0xb6, 0x20, 0x6b, 0x05, 0x92, 0x6d, 0xbc, 0xed, 0x70, 0x12, 0xb1, 5965 0xf2, 0x94, 0xa1, 0x51, 0x67, 0xee, 0x5e, 0x8c, 0xf8, 0xd4, 0xdd, 0x8d, 0xf7, 0x21, 0xe3, 0xd1, 5966 0x49, 0xe6, 0x6e, 0x77, 0x56, 0xba, 0x8d, 0x14, 0x7c, 0xaf, 0x85, 0x61, 0xb2, 0x86, 0x51, 0x6b, 5967 0xb4, 0x3b, 0xd2, 0x5d, 0xc8, 0x78, 0x2a, 0x41, 0x32, 0xe9, 0xec, 0xac, 0x14, 0xd9, 0x45, 0xd9, 5968 0x9f, 0x39, 0x25, 0x87, 0xc2, 0xeb, 0x8f, 0xa1, 0x77, 0x43, 0x4d, 0x4a, 0x64, 0xd1, 0xb2, 0x2e, 5969 0x33, 0xff, 0x3a, 0xa9, 0xfa, 0xd3, 0x65, 0xde, 0x77, 0xd8, 0x22, 0x1a, 0x3d, 0x69, 0xcc, 0xfa, 5970 0x17, 0xf9, 0x11, 0xf4, 0x5b, 0xee, 0xff, 0x01, 0xe9, 0x71, 0xfd, 0x31, 0x8b, 0x2c, 0xf6, 0x40, 5971 0xca, 0x27, 0xb4, 0xb2, 0x4d, 0x97, 0xca, 0x85, 0xe8, 0x6b, 0x21, 0xd6, 0x25, 0xba, 0xda, 0x61, 5972 0xa8, 0x53, 0x65, 0x8f, 0x71, 0xf5, 0xe2, 0x3b, 0x1c, 0xad, 0x4a, 0xd3, 0x85, 0x3f, 0x5f, 0x0b, 5973 0x53, 0x96, 0x41, 0xef, 0x54, 0x54, 0xa5, 0x3c, 0xe6, 0x4e, 0xc5, 0x2c, 0xaf, 0xd7, 0x03, 0x29, 5974 0xdf, 0x04, 0xd4, 0x59, 0x95, 0x8e, 0x69, 0x9c, 0x42, 0x8b, 0xd7, 0x75, 0xd1, 0x0b, 0x01, 0x66, 5975 0x02, 0x35, 0xe3, 0xd0, 0x3d, 0xb6, 0x22, 0xb0, 0xf0, 0x46, 0x15, 0x59, 0xcb, 0x8f, 0x20, 0x0c, 5976 0xa8, 0xb3, 0xae, 0x1b, 0x93, 0xfc, 0xd0, 0xf2, 0x6f, 0x71, 0xa6, 0x69, 0xc2, 0x5c, 0x47, 0x89, 5977 0x35, 0xf4, 0x6a, 0x88, 0x14, 0xb2, 0x0a, 0xb1, 0xe5, 0x5e, 0x8b, 0x07, 0xec, 0xca, 0xaa, 0x1b, 5978 0xe6, 0xb3, 0x44, 0x23, 0x3c, 0xcc, 0x3f, 0x93, 0xf5, 0x32, 0x3d, 0xdf, 0x09, 0xc5, 0x0a, 0xf3, 5979 0x07, 0x22, 0x79, 0x6e, 0x98, 0x1f, 0x77, 0x85, 0x51, 0x15, 0xc6, 0x7a, 0x98, 0xdb, 0x09, 0xf3, 5980 0x99, 0x86, 0x69, 0xad, 0x27, 0xeb, 0xd2, 0x97, 0x45, 0x72, 0x42, 0x6d, 0x16, 0x0b, 0x42, 0x43, 5981 0xed, 0x41, 0x71, 0x3f, 0xb4, 0x20, 0x54, 0x97, 0x03, 0xc6, 0x40, 0xe6, 0x3e, 0x80, 0x29, 0x5f, 5982 0xa9, 0x15, 0x74, 0x27, 0x66, 0x31, 0x96, 0x5c, 0xf8, 0x3d, 0x71, 0x7e, 0x04, 0xed, 0x01, 0xb4, 5983 0xab, 0xa1, 0xa0, 0x97, 0x99, 0x38, 0x03, 0xc5, 0x52, 0xba, 0x23, 0x74, 0x8f, 0x23, 0x14, 0xe5, 5984 0xed, 0x08, 0xb5, 0x8b, 0x7b, 0x1c, 0xa1, 0xe8, 0x6e, 0x76, 0x53, 0xae, 0x58, 0x04, 0xca, 0x30, 5985 0xed, 0xff, 0x7c, 0x06, 0xc5, 0xfe, 0xc2, 0x26, 0x77, 0x2f, 0x06, 0xa4, 0x23, 0xa7, 0x6f, 0x70, 5986 0xe8, 0xc0, 0x39, 0xf9, 0x74, 0xe1, 0x05, 0xe3, 0x93, 0xa7, 0xae, 0xf4, 0xdf, 0xe5, 0x9c, 0x83, 5987 0x89, 0x53, 0xe7, 0xe7, 0x56, 0x57, 0x35, 0x8a, 0x3c, 0x98, 0xb8, 0x60, 0x9e, 0x83, 0xcf, 0x94, 5988 0xef, 0x41, 0x3f, 0x53, 0xd4, 0x58, 0x4f, 0xfe, 0x73, 0xf9, 0x70, 0x40, 0x0f, 0xfe, 0x27, 0x30, 5989 0xcf, 0x78, 0x18, 0xc7, 0x3c, 0xf2, 0x84, 0x3f, 0x3e, 0xcc, 0xad, 0xc4, 0x05, 0x77, 0xe7, 0x55, 5990 0x60, 0x36, 0xf8, 0x21, 0x04, 0x7a, 0x85, 0x81, 0x25, 0xe4, 0xab, 0x91, 0xdc, 0xab, 0xb1, 0x60, 5991 0x3b, 0x4e, 0x14, 0x94, 0x89, 0xb7, 0xba, 0x9b, 0xa6, 0x58, 0xb2, 0xeb, 0x9e, 0x28, 0xba, 0x08, 5992 0x14, 0xe3, 0x39, 0x52, 0x77, 0xa4, 0xe4, 0x78, 0x48, 0x7e, 0x0e, 0xfc, 0x78, 0x18, 0x07, 0xed, 5993 0x59, 0x8e, 0x87, 0x6d, 0xbc, 0xe7, 0x73, 0x3c, 0x7c, 0x0c, 0x33, 0x81, 0xb7, 0x27, 0xcc, 0xa0, 5994 0x8c, 0xfd, 0x3e, 0x25, 0xd7, 0xe5, 0x6d, 0x45, 0x7e, 0x04, 0x35, 0xec, 0x5b, 0x65, 0xff, 0x83, 5995 0x07, 0xa6, 0x27, 0x8b, 0x78, 0x1d, 0x91, 0x7b, 0x89, 0xc9, 0x5c, 0x2f, 0x64, 0x7e, 0x04, 0xd5, 5996 0x60, 0xca, 0x77, 0xe1, 0xcf, 0x76, 0x24, 0x8c, 0x37, 0x0e, 0xb9, 0xbb, 0xd1, 0x80, 0x2e, 0xbf, 5997 0x78, 0x98, 0xf2, 0x5d, 0xf2, 0x33, 0x67, 0x61, 0x3d, 0x03, 0xe8, 0xe2, 0x08, 0x3e, 0x02, 0x68, 5998 0xdf, 0xbe, 0x33, 0x7d, 0x55, 0xc7, 0xe5, 0x7c, 0x2e, 0xc6, 0xbd, 0x66, 0x3b, 0x9b, 0xe4, 0x5c, 5999 0xf4, 0x86, 0x66, 0x93, 0x02, 0x17, 0xe8, 0xa1, 0xd9, 0xa4, 0xe0, 0x8d, 0x31, 0x31, 0xaa, 0xbe, 6000 0x0b, 0x5d, 0x26, 0x43, 0x58, 0x57, 0xbe, 0xf1, 0x96, 0x90, 0xfb, 0xb3, 0xc4, 0x8f, 0x0b, 0x97, 6001 0x1c, 0x08, 0x32, 0x40, 0x6c, 0xca, 0xc6, 0x8a, 0xa4, 0x29, 0x9f, 0x15, 0x7e, 0x3b, 0x71, 0x6c, 6002 0x9a, 0x4d, 0xe3, 0xdd, 0xd5, 0xd5, 0xa7, 0x4f, 0x9f, 0x06, 0x7a, 0x57, 0xc5, 0x96, 0x79, 0xbc, 6003 0x2a, 0x35, 0xb4, 0x56, 0xed, 0xf5, 0x66, 0x43, 0x34, 0xeb, 0x9a, 0xae, 0xbc, 0xd6, 0x1b, 0xf8, 6004 0x8a, 0x8e, 0xc5, 0xda, 0xeb, 0x9a, 0xda, 0x38, 0x8d, 0x1c, 0x58, 0xc3, 0x4f, 0x1c, 0x22, 0xeb, 6005 0xad, 0x46, 0xc3, 0xa9, 0x5b, 0xd9, 0xcb, 0x38, 0x52, 0xd3, 0xa4, 0xc7, 0xc9, 0xec, 0x41, 0xb6, 6006 0x23, 0x5a, 0xaf, 0xd8, 0x17, 0x90, 0x9d, 0x4c, 0xdd, 0xe7, 0x1e, 0x7f, 0x95, 0x36, 0x1e, 0x69, 6007 0x0d, 0x51, 0x3d, 0x5a, 0xd1, 0xf4, 0xa3, 0xd5, 0x23, 0xac, 0xda, 0x82, 0xb8, 0xda, 0x9e, 0xc0, 6008 0xf3, 0xbf, 0x5e, 0xdf, 0xa3, 0x7f, 0x1e, 0xa6, 0x6d, 0xa0, 0x37, 0xff, 0x3f, 0x00, 0x00, 0xff, 6009 0xff, 0x2d, 0x66, 0x89, 0xdc, 0xff, 0x76, 0x00, 0x00, 6010} 6011 6012// Reference imports to suppress errors if they are not otherwise used. 6013var _ context.Context 6014var _ grpc.ClientConnInterface 6015 6016// This is a compile-time assertion to ensure that this generated file 6017// is compatible with the grpc package it is being compiled against. 6018const _ = grpc.SupportPackageIsVersion6 6019 6020// StorageClient is the client API for Storage service. 6021// 6022// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 6023type StorageClient interface { 6024 // Permanently deletes the ACL entry for the specified entity on the specified 6025 // bucket. 6026 DeleteBucketAccessControl(ctx context.Context, in *DeleteBucketAccessControlRequest, opts ...grpc.CallOption) (*empty.Empty, error) 6027 // Returns the ACL entry for the specified entity on the specified bucket. 6028 GetBucketAccessControl(ctx context.Context, in *GetBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error) 6029 // Creates a new ACL entry on the specified bucket. 6030 InsertBucketAccessControl(ctx context.Context, in *InsertBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error) 6031 // Retrieves ACL entries on the specified bucket. 6032 ListBucketAccessControls(ctx context.Context, in *ListBucketAccessControlsRequest, opts ...grpc.CallOption) (*ListBucketAccessControlsResponse, error) 6033 // Updates an ACL entry on the specified bucket. Equivalent to 6034 // PatchBucketAccessControl, but all unspecified fields will be 6035 // reset to their default values. 6036 UpdateBucketAccessControl(ctx context.Context, in *UpdateBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error) 6037 // Updates an ACL entry on the specified bucket. 6038 PatchBucketAccessControl(ctx context.Context, in *PatchBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error) 6039 // Permanently deletes an empty bucket. 6040 DeleteBucket(ctx context.Context, in *DeleteBucketRequest, opts ...grpc.CallOption) (*empty.Empty, error) 6041 // Returns metadata for the specified bucket. 6042 GetBucket(ctx context.Context, in *GetBucketRequest, opts ...grpc.CallOption) (*Bucket, error) 6043 // Creates a new bucket. 6044 InsertBucket(ctx context.Context, in *InsertBucketRequest, opts ...grpc.CallOption) (*Bucket, error) 6045 // List active object change notification channels for this bucket. 6046 ListChannels(ctx context.Context, in *ListChannelsRequest, opts ...grpc.CallOption) (*ListChannelsResponse, error) 6047 // Retrieves a list of buckets for a given project. 6048 ListBuckets(ctx context.Context, in *ListBucketsRequest, opts ...grpc.CallOption) (*ListBucketsResponse, error) 6049 // Locks retention policy on a bucket. 6050 LockBucketRetentionPolicy(ctx context.Context, in *LockRetentionPolicyRequest, opts ...grpc.CallOption) (*Bucket, error) 6051 // Gets the IAM policy for the specified bucket. 6052 GetBucketIamPolicy(ctx context.Context, in *GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) 6053 // Updates an IAM policy for the specified bucket. 6054 SetBucketIamPolicy(ctx context.Context, in *SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) 6055 // Tests a set of permissions on the given bucket to see which, if 6056 // any, are held by the caller. 6057 TestBucketIamPermissions(ctx context.Context, in *TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) 6058 // Updates a bucket. Changes to the bucket will be readable immediately after 6059 // writing, but configuration changes may take time to propagate. 6060 PatchBucket(ctx context.Context, in *PatchBucketRequest, opts ...grpc.CallOption) (*Bucket, error) 6061 // Updates a bucket. Equivalent to PatchBucket, but always replaces all 6062 // mutatable fields of the bucket with new values, reverting all 6063 // unspecified fields to their default values. 6064 // Like PatchBucket, Changes to the bucket will be readable immediately after 6065 // writing, but configuration changes may take time to propagate. 6066 UpdateBucket(ctx context.Context, in *UpdateBucketRequest, opts ...grpc.CallOption) (*Bucket, error) 6067 // Halts "Object Change Notification" push messagages. 6068 // See https://cloud.google.com/storage/docs/object-change-notification 6069 // Note: this is not related to the newer "Notifications" resource, which 6070 // are stopped using DeleteNotification. 6071 StopChannel(ctx context.Context, in *StopChannelRequest, opts ...grpc.CallOption) (*empty.Empty, error) 6072 // Permanently deletes the default object ACL entry for the specified entity 6073 // on the specified bucket. 6074 DeleteDefaultObjectAccessControl(ctx context.Context, in *DeleteDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*empty.Empty, error) 6075 // Returns the default object ACL entry for the specified entity on the 6076 // specified bucket. 6077 GetDefaultObjectAccessControl(ctx context.Context, in *GetDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) 6078 // Creates a new default object ACL entry on the specified bucket. 6079 InsertDefaultObjectAccessControl(ctx context.Context, in *InsertDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) 6080 // Retrieves default object ACL entries on the specified bucket. 6081 ListDefaultObjectAccessControls(ctx context.Context, in *ListDefaultObjectAccessControlsRequest, opts ...grpc.CallOption) (*ListObjectAccessControlsResponse, error) 6082 // Updates a default object ACL entry on the specified bucket. 6083 PatchDefaultObjectAccessControl(ctx context.Context, in *PatchDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) 6084 // Updates a default object ACL entry on the specified bucket. Equivalent to 6085 // PatchDefaultObjectAccessControl, but modifies all unspecified fields to 6086 // their default values. 6087 UpdateDefaultObjectAccessControl(ctx context.Context, in *UpdateDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) 6088 // Permanently deletes a notification subscription. 6089 // Note: Older, "Object Change Notification" push subscriptions should be 6090 // deleted using StopChannel instead. 6091 DeleteNotification(ctx context.Context, in *DeleteNotificationRequest, opts ...grpc.CallOption) (*empty.Empty, error) 6092 // View a notification configuration. 6093 GetNotification(ctx context.Context, in *GetNotificationRequest, opts ...grpc.CallOption) (*Notification, error) 6094 // Creates a notification subscription for a given bucket. 6095 // These notifications, when triggered, publish messages to the specified 6096 // Cloud Pub/Sub topics. 6097 // See https://cloud.google.com/storage/docs/pubsub-notifications. 6098 InsertNotification(ctx context.Context, in *InsertNotificationRequest, opts ...grpc.CallOption) (*Notification, error) 6099 // Retrieves a list of notification subscriptions for a given bucket. 6100 ListNotifications(ctx context.Context, in *ListNotificationsRequest, opts ...grpc.CallOption) (*ListNotificationsResponse, error) 6101 // Permanently deletes the ACL entry for the specified entity on the specified 6102 // object. 6103 DeleteObjectAccessControl(ctx context.Context, in *DeleteObjectAccessControlRequest, opts ...grpc.CallOption) (*empty.Empty, error) 6104 // Returns the ACL entry for the specified entity on the specified object. 6105 GetObjectAccessControl(ctx context.Context, in *GetObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) 6106 // Creates a new ACL entry on the specified object. 6107 InsertObjectAccessControl(ctx context.Context, in *InsertObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) 6108 // Retrieves ACL entries on the specified object. 6109 ListObjectAccessControls(ctx context.Context, in *ListObjectAccessControlsRequest, opts ...grpc.CallOption) (*ListObjectAccessControlsResponse, error) 6110 // Patches an ACL entry on the specified object. Patch is similar to update, 6111 // but only applies or appends the specified fields in the 6112 // object_access_control object. Other fields are unaffected. 6113 PatchObjectAccessControl(ctx context.Context, in *PatchObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) 6114 // Updates an ACL entry on the specified object. 6115 UpdateObjectAccessControl(ctx context.Context, in *UpdateObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) 6116 // Concatenates a list of existing objects into a new object in the same 6117 // bucket. 6118 ComposeObject(ctx context.Context, in *ComposeObjectRequest, opts ...grpc.CallOption) (*Object, error) 6119 // Copies a source object to a destination object. Optionally overrides 6120 // metadata. 6121 CopyObject(ctx context.Context, in *CopyObjectRequest, opts ...grpc.CallOption) (*Object, error) 6122 // Deletes an object and its metadata. Deletions are permanent if versioning 6123 // is not enabled for the bucket, or if the `generation` parameter 6124 // is used. 6125 DeleteObject(ctx context.Context, in *DeleteObjectRequest, opts ...grpc.CallOption) (*empty.Empty, error) 6126 // Retrieves an object's metadata. 6127 GetObject(ctx context.Context, in *GetObjectRequest, opts ...grpc.CallOption) (*Object, error) 6128 // Reads an object's data. 6129 GetObjectMedia(ctx context.Context, in *GetObjectMediaRequest, opts ...grpc.CallOption) (Storage_GetObjectMediaClient, error) 6130 // Stores a new object and metadata. 6131 // 6132 // An object can be written either in a single message stream or in a 6133 // resumable sequence of message streams. To write using a single stream, 6134 // the client should include in the first message of the stream an 6135 // `InsertObjectSpec` describing the destination bucket, object, and any 6136 // preconditions. Additionally, the final message must set 'finish_write' to 6137 // true, or else it is an error. 6138 // 6139 // For a resumable write, the client should instead call 6140 // `StartResumableWrite()` and provide that method an `InsertObjectSpec.` 6141 // They should then attach the returned `upload_id` to the first message of 6142 // each following call to `Insert`. If there is an error or the connection is 6143 // broken during the resumable `Insert()`, the client should check the status 6144 // of the `Insert()` by calling `QueryWriteStatus()` and continue writing from 6145 // the returned `committed_size`. This may be less than the amount of data the 6146 // client previously sent. 6147 // 6148 // The service will not view the object as complete until the client has 6149 // sent an `Insert` with `finish_write` set to `true`. Sending any 6150 // requests on a stream after sending a request with `finish_write` set to 6151 // `true` will cause an error. The client **should** check the 6152 // `Object` it receives to determine how much data the service was 6153 // able to commit and whether the service views the object as complete. 6154 InsertObject(ctx context.Context, opts ...grpc.CallOption) (Storage_InsertObjectClient, error) 6155 // Retrieves a list of objects matching the criteria. 6156 ListObjects(ctx context.Context, in *ListObjectsRequest, opts ...grpc.CallOption) (*ListObjectsResponse, error) 6157 // Rewrites a source object to a destination object. Optionally overrides 6158 // metadata. 6159 RewriteObject(ctx context.Context, in *RewriteObjectRequest, opts ...grpc.CallOption) (*RewriteResponse, error) 6160 // Starts a resumable write. How long the write operation remains valid, and 6161 // what happens when the write operation becomes invalid, are 6162 // service-dependent. 6163 StartResumableWrite(ctx context.Context, in *StartResumableWriteRequest, opts ...grpc.CallOption) (*StartResumableWriteResponse, error) 6164 // Determines the `committed_size` for an object that is being written, which 6165 // can then be used as the `write_offset` for the next `Write()` call. 6166 // 6167 // If the object does not exist (i.e., the object has been deleted, or the 6168 // first `Write()` has not yet reached the service), this method returns the 6169 // error `NOT_FOUND`. 6170 // 6171 // The client **may** call `QueryWriteStatus()` at any time to determine how 6172 // much data has been processed for this object. This is useful if the 6173 // client is buffering data and needs to know which data can be safely 6174 // evicted. For any sequence of `QueryWriteStatus()` calls for a given 6175 // object name, the sequence of returned `committed_size` values will be 6176 // non-decreasing. 6177 QueryWriteStatus(ctx context.Context, in *QueryWriteStatusRequest, opts ...grpc.CallOption) (*QueryWriteStatusResponse, error) 6178 // Updates an object's metadata. 6179 PatchObject(ctx context.Context, in *PatchObjectRequest, opts ...grpc.CallOption) (*Object, error) 6180 // Updates an object's metadata. Equivalent to PatchObject, but always 6181 // replaces all mutatable fields of the bucket with new values, reverting all 6182 // unspecified fields to their default values. 6183 UpdateObject(ctx context.Context, in *UpdateObjectRequest, opts ...grpc.CallOption) (*Object, error) 6184 // Gets the IAM policy for the specified object. 6185 GetObjectIamPolicy(ctx context.Context, in *GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) 6186 // Updates an IAM policy for the specified object. 6187 SetObjectIamPolicy(ctx context.Context, in *SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) 6188 // Tests a set of permissions on the given object to see which, if 6189 // any, are held by the caller. 6190 TestObjectIamPermissions(ctx context.Context, in *TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) 6191 // Watch for changes on all objects in a bucket. 6192 WatchAllObjects(ctx context.Context, in *WatchAllObjectsRequest, opts ...grpc.CallOption) (*Channel, error) 6193 // Retrieves the name of a project's Google Cloud Storage service account. 6194 GetServiceAccount(ctx context.Context, in *GetProjectServiceAccountRequest, opts ...grpc.CallOption) (*ServiceAccount, error) 6195 // Creates a new HMAC key for the given service account. 6196 CreateHmacKey(ctx context.Context, in *CreateHmacKeyRequest, opts ...grpc.CallOption) (*CreateHmacKeyResponse, error) 6197 // Deletes a given HMAC key. Key must be in an INACTIVE state. 6198 DeleteHmacKey(ctx context.Context, in *DeleteHmacKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) 6199 // Gets an existing HMAC key metadata for the given id. 6200 GetHmacKey(ctx context.Context, in *GetHmacKeyRequest, opts ...grpc.CallOption) (*HmacKeyMetadata, error) 6201 // Lists HMAC keys under a given project with the additional filters provided. 6202 ListHmacKeys(ctx context.Context, in *ListHmacKeysRequest, opts ...grpc.CallOption) (*ListHmacKeysResponse, error) 6203 // Updates a given HMAC key state between ACTIVE and INACTIVE. 6204 UpdateHmacKey(ctx context.Context, in *UpdateHmacKeyRequest, opts ...grpc.CallOption) (*HmacKeyMetadata, error) 6205} 6206 6207type storageClient struct { 6208 cc grpc.ClientConnInterface 6209} 6210 6211func NewStorageClient(cc grpc.ClientConnInterface) StorageClient { 6212 return &storageClient{cc} 6213} 6214 6215func (c *storageClient) DeleteBucketAccessControl(ctx context.Context, in *DeleteBucketAccessControlRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 6216 out := new(empty.Empty) 6217 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/DeleteBucketAccessControl", in, out, opts...) 6218 if err != nil { 6219 return nil, err 6220 } 6221 return out, nil 6222} 6223 6224func (c *storageClient) GetBucketAccessControl(ctx context.Context, in *GetBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error) { 6225 out := new(BucketAccessControl) 6226 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/GetBucketAccessControl", in, out, opts...) 6227 if err != nil { 6228 return nil, err 6229 } 6230 return out, nil 6231} 6232 6233func (c *storageClient) InsertBucketAccessControl(ctx context.Context, in *InsertBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error) { 6234 out := new(BucketAccessControl) 6235 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/InsertBucketAccessControl", in, out, opts...) 6236 if err != nil { 6237 return nil, err 6238 } 6239 return out, nil 6240} 6241 6242func (c *storageClient) ListBucketAccessControls(ctx context.Context, in *ListBucketAccessControlsRequest, opts ...grpc.CallOption) (*ListBucketAccessControlsResponse, error) { 6243 out := new(ListBucketAccessControlsResponse) 6244 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/ListBucketAccessControls", in, out, opts...) 6245 if err != nil { 6246 return nil, err 6247 } 6248 return out, nil 6249} 6250 6251func (c *storageClient) UpdateBucketAccessControl(ctx context.Context, in *UpdateBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error) { 6252 out := new(BucketAccessControl) 6253 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/UpdateBucketAccessControl", in, out, opts...) 6254 if err != nil { 6255 return nil, err 6256 } 6257 return out, nil 6258} 6259 6260func (c *storageClient) PatchBucketAccessControl(ctx context.Context, in *PatchBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error) { 6261 out := new(BucketAccessControl) 6262 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/PatchBucketAccessControl", in, out, opts...) 6263 if err != nil { 6264 return nil, err 6265 } 6266 return out, nil 6267} 6268 6269func (c *storageClient) DeleteBucket(ctx context.Context, in *DeleteBucketRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 6270 out := new(empty.Empty) 6271 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/DeleteBucket", in, out, opts...) 6272 if err != nil { 6273 return nil, err 6274 } 6275 return out, nil 6276} 6277 6278func (c *storageClient) GetBucket(ctx context.Context, in *GetBucketRequest, opts ...grpc.CallOption) (*Bucket, error) { 6279 out := new(Bucket) 6280 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/GetBucket", in, out, opts...) 6281 if err != nil { 6282 return nil, err 6283 } 6284 return out, nil 6285} 6286 6287func (c *storageClient) InsertBucket(ctx context.Context, in *InsertBucketRequest, opts ...grpc.CallOption) (*Bucket, error) { 6288 out := new(Bucket) 6289 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/InsertBucket", in, out, opts...) 6290 if err != nil { 6291 return nil, err 6292 } 6293 return out, nil 6294} 6295 6296func (c *storageClient) ListChannels(ctx context.Context, in *ListChannelsRequest, opts ...grpc.CallOption) (*ListChannelsResponse, error) { 6297 out := new(ListChannelsResponse) 6298 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/ListChannels", in, out, opts...) 6299 if err != nil { 6300 return nil, err 6301 } 6302 return out, nil 6303} 6304 6305func (c *storageClient) ListBuckets(ctx context.Context, in *ListBucketsRequest, opts ...grpc.CallOption) (*ListBucketsResponse, error) { 6306 out := new(ListBucketsResponse) 6307 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/ListBuckets", in, out, opts...) 6308 if err != nil { 6309 return nil, err 6310 } 6311 return out, nil 6312} 6313 6314func (c *storageClient) LockBucketRetentionPolicy(ctx context.Context, in *LockRetentionPolicyRequest, opts ...grpc.CallOption) (*Bucket, error) { 6315 out := new(Bucket) 6316 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/LockBucketRetentionPolicy", in, out, opts...) 6317 if err != nil { 6318 return nil, err 6319 } 6320 return out, nil 6321} 6322 6323func (c *storageClient) GetBucketIamPolicy(ctx context.Context, in *GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { 6324 out := new(v1.Policy) 6325 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/GetBucketIamPolicy", in, out, opts...) 6326 if err != nil { 6327 return nil, err 6328 } 6329 return out, nil 6330} 6331 6332func (c *storageClient) SetBucketIamPolicy(ctx context.Context, in *SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { 6333 out := new(v1.Policy) 6334 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/SetBucketIamPolicy", in, out, opts...) 6335 if err != nil { 6336 return nil, err 6337 } 6338 return out, nil 6339} 6340 6341func (c *storageClient) TestBucketIamPermissions(ctx context.Context, in *TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { 6342 out := new(v1.TestIamPermissionsResponse) 6343 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/TestBucketIamPermissions", in, out, opts...) 6344 if err != nil { 6345 return nil, err 6346 } 6347 return out, nil 6348} 6349 6350func (c *storageClient) PatchBucket(ctx context.Context, in *PatchBucketRequest, opts ...grpc.CallOption) (*Bucket, error) { 6351 out := new(Bucket) 6352 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/PatchBucket", in, out, opts...) 6353 if err != nil { 6354 return nil, err 6355 } 6356 return out, nil 6357} 6358 6359func (c *storageClient) UpdateBucket(ctx context.Context, in *UpdateBucketRequest, opts ...grpc.CallOption) (*Bucket, error) { 6360 out := new(Bucket) 6361 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/UpdateBucket", in, out, opts...) 6362 if err != nil { 6363 return nil, err 6364 } 6365 return out, nil 6366} 6367 6368func (c *storageClient) StopChannel(ctx context.Context, in *StopChannelRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 6369 out := new(empty.Empty) 6370 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/StopChannel", in, out, opts...) 6371 if err != nil { 6372 return nil, err 6373 } 6374 return out, nil 6375} 6376 6377func (c *storageClient) DeleteDefaultObjectAccessControl(ctx context.Context, in *DeleteDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 6378 out := new(empty.Empty) 6379 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/DeleteDefaultObjectAccessControl", in, out, opts...) 6380 if err != nil { 6381 return nil, err 6382 } 6383 return out, nil 6384} 6385 6386func (c *storageClient) GetDefaultObjectAccessControl(ctx context.Context, in *GetDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) { 6387 out := new(ObjectAccessControl) 6388 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/GetDefaultObjectAccessControl", in, out, opts...) 6389 if err != nil { 6390 return nil, err 6391 } 6392 return out, nil 6393} 6394 6395func (c *storageClient) InsertDefaultObjectAccessControl(ctx context.Context, in *InsertDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) { 6396 out := new(ObjectAccessControl) 6397 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/InsertDefaultObjectAccessControl", in, out, opts...) 6398 if err != nil { 6399 return nil, err 6400 } 6401 return out, nil 6402} 6403 6404func (c *storageClient) ListDefaultObjectAccessControls(ctx context.Context, in *ListDefaultObjectAccessControlsRequest, opts ...grpc.CallOption) (*ListObjectAccessControlsResponse, error) { 6405 out := new(ListObjectAccessControlsResponse) 6406 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/ListDefaultObjectAccessControls", in, out, opts...) 6407 if err != nil { 6408 return nil, err 6409 } 6410 return out, nil 6411} 6412 6413func (c *storageClient) PatchDefaultObjectAccessControl(ctx context.Context, in *PatchDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) { 6414 out := new(ObjectAccessControl) 6415 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/PatchDefaultObjectAccessControl", in, out, opts...) 6416 if err != nil { 6417 return nil, err 6418 } 6419 return out, nil 6420} 6421 6422func (c *storageClient) UpdateDefaultObjectAccessControl(ctx context.Context, in *UpdateDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) { 6423 out := new(ObjectAccessControl) 6424 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/UpdateDefaultObjectAccessControl", in, out, opts...) 6425 if err != nil { 6426 return nil, err 6427 } 6428 return out, nil 6429} 6430 6431func (c *storageClient) DeleteNotification(ctx context.Context, in *DeleteNotificationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 6432 out := new(empty.Empty) 6433 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/DeleteNotification", in, out, opts...) 6434 if err != nil { 6435 return nil, err 6436 } 6437 return out, nil 6438} 6439 6440func (c *storageClient) GetNotification(ctx context.Context, in *GetNotificationRequest, opts ...grpc.CallOption) (*Notification, error) { 6441 out := new(Notification) 6442 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/GetNotification", in, out, opts...) 6443 if err != nil { 6444 return nil, err 6445 } 6446 return out, nil 6447} 6448 6449func (c *storageClient) InsertNotification(ctx context.Context, in *InsertNotificationRequest, opts ...grpc.CallOption) (*Notification, error) { 6450 out := new(Notification) 6451 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/InsertNotification", in, out, opts...) 6452 if err != nil { 6453 return nil, err 6454 } 6455 return out, nil 6456} 6457 6458func (c *storageClient) ListNotifications(ctx context.Context, in *ListNotificationsRequest, opts ...grpc.CallOption) (*ListNotificationsResponse, error) { 6459 out := new(ListNotificationsResponse) 6460 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/ListNotifications", in, out, opts...) 6461 if err != nil { 6462 return nil, err 6463 } 6464 return out, nil 6465} 6466 6467func (c *storageClient) DeleteObjectAccessControl(ctx context.Context, in *DeleteObjectAccessControlRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 6468 out := new(empty.Empty) 6469 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/DeleteObjectAccessControl", in, out, opts...) 6470 if err != nil { 6471 return nil, err 6472 } 6473 return out, nil 6474} 6475 6476func (c *storageClient) GetObjectAccessControl(ctx context.Context, in *GetObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) { 6477 out := new(ObjectAccessControl) 6478 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/GetObjectAccessControl", in, out, opts...) 6479 if err != nil { 6480 return nil, err 6481 } 6482 return out, nil 6483} 6484 6485func (c *storageClient) InsertObjectAccessControl(ctx context.Context, in *InsertObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) { 6486 out := new(ObjectAccessControl) 6487 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/InsertObjectAccessControl", in, out, opts...) 6488 if err != nil { 6489 return nil, err 6490 } 6491 return out, nil 6492} 6493 6494func (c *storageClient) ListObjectAccessControls(ctx context.Context, in *ListObjectAccessControlsRequest, opts ...grpc.CallOption) (*ListObjectAccessControlsResponse, error) { 6495 out := new(ListObjectAccessControlsResponse) 6496 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/ListObjectAccessControls", in, out, opts...) 6497 if err != nil { 6498 return nil, err 6499 } 6500 return out, nil 6501} 6502 6503func (c *storageClient) PatchObjectAccessControl(ctx context.Context, in *PatchObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) { 6504 out := new(ObjectAccessControl) 6505 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/PatchObjectAccessControl", in, out, opts...) 6506 if err != nil { 6507 return nil, err 6508 } 6509 return out, nil 6510} 6511 6512func (c *storageClient) UpdateObjectAccessControl(ctx context.Context, in *UpdateObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) { 6513 out := new(ObjectAccessControl) 6514 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/UpdateObjectAccessControl", in, out, opts...) 6515 if err != nil { 6516 return nil, err 6517 } 6518 return out, nil 6519} 6520 6521func (c *storageClient) ComposeObject(ctx context.Context, in *ComposeObjectRequest, opts ...grpc.CallOption) (*Object, error) { 6522 out := new(Object) 6523 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/ComposeObject", in, out, opts...) 6524 if err != nil { 6525 return nil, err 6526 } 6527 return out, nil 6528} 6529 6530func (c *storageClient) CopyObject(ctx context.Context, in *CopyObjectRequest, opts ...grpc.CallOption) (*Object, error) { 6531 out := new(Object) 6532 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/CopyObject", in, out, opts...) 6533 if err != nil { 6534 return nil, err 6535 } 6536 return out, nil 6537} 6538 6539func (c *storageClient) DeleteObject(ctx context.Context, in *DeleteObjectRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 6540 out := new(empty.Empty) 6541 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/DeleteObject", in, out, opts...) 6542 if err != nil { 6543 return nil, err 6544 } 6545 return out, nil 6546} 6547 6548func (c *storageClient) GetObject(ctx context.Context, in *GetObjectRequest, opts ...grpc.CallOption) (*Object, error) { 6549 out := new(Object) 6550 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/GetObject", in, out, opts...) 6551 if err != nil { 6552 return nil, err 6553 } 6554 return out, nil 6555} 6556 6557func (c *storageClient) GetObjectMedia(ctx context.Context, in *GetObjectMediaRequest, opts ...grpc.CallOption) (Storage_GetObjectMediaClient, error) { 6558 stream, err := c.cc.NewStream(ctx, &_Storage_serviceDesc.Streams[0], "/google.storage.v1.Storage/GetObjectMedia", opts...) 6559 if err != nil { 6560 return nil, err 6561 } 6562 x := &storageGetObjectMediaClient{stream} 6563 if err := x.ClientStream.SendMsg(in); err != nil { 6564 return nil, err 6565 } 6566 if err := x.ClientStream.CloseSend(); err != nil { 6567 return nil, err 6568 } 6569 return x, nil 6570} 6571 6572type Storage_GetObjectMediaClient interface { 6573 Recv() (*GetObjectMediaResponse, error) 6574 grpc.ClientStream 6575} 6576 6577type storageGetObjectMediaClient struct { 6578 grpc.ClientStream 6579} 6580 6581func (x *storageGetObjectMediaClient) Recv() (*GetObjectMediaResponse, error) { 6582 m := new(GetObjectMediaResponse) 6583 if err := x.ClientStream.RecvMsg(m); err != nil { 6584 return nil, err 6585 } 6586 return m, nil 6587} 6588 6589func (c *storageClient) InsertObject(ctx context.Context, opts ...grpc.CallOption) (Storage_InsertObjectClient, error) { 6590 stream, err := c.cc.NewStream(ctx, &_Storage_serviceDesc.Streams[1], "/google.storage.v1.Storage/InsertObject", opts...) 6591 if err != nil { 6592 return nil, err 6593 } 6594 x := &storageInsertObjectClient{stream} 6595 return x, nil 6596} 6597 6598type Storage_InsertObjectClient interface { 6599 Send(*InsertObjectRequest) error 6600 CloseAndRecv() (*Object, error) 6601 grpc.ClientStream 6602} 6603 6604type storageInsertObjectClient struct { 6605 grpc.ClientStream 6606} 6607 6608func (x *storageInsertObjectClient) Send(m *InsertObjectRequest) error { 6609 return x.ClientStream.SendMsg(m) 6610} 6611 6612func (x *storageInsertObjectClient) CloseAndRecv() (*Object, error) { 6613 if err := x.ClientStream.CloseSend(); err != nil { 6614 return nil, err 6615 } 6616 m := new(Object) 6617 if err := x.ClientStream.RecvMsg(m); err != nil { 6618 return nil, err 6619 } 6620 return m, nil 6621} 6622 6623func (c *storageClient) ListObjects(ctx context.Context, in *ListObjectsRequest, opts ...grpc.CallOption) (*ListObjectsResponse, error) { 6624 out := new(ListObjectsResponse) 6625 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/ListObjects", in, out, opts...) 6626 if err != nil { 6627 return nil, err 6628 } 6629 return out, nil 6630} 6631 6632func (c *storageClient) RewriteObject(ctx context.Context, in *RewriteObjectRequest, opts ...grpc.CallOption) (*RewriteResponse, error) { 6633 out := new(RewriteResponse) 6634 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/RewriteObject", in, out, opts...) 6635 if err != nil { 6636 return nil, err 6637 } 6638 return out, nil 6639} 6640 6641func (c *storageClient) StartResumableWrite(ctx context.Context, in *StartResumableWriteRequest, opts ...grpc.CallOption) (*StartResumableWriteResponse, error) { 6642 out := new(StartResumableWriteResponse) 6643 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/StartResumableWrite", in, out, opts...) 6644 if err != nil { 6645 return nil, err 6646 } 6647 return out, nil 6648} 6649 6650func (c *storageClient) QueryWriteStatus(ctx context.Context, in *QueryWriteStatusRequest, opts ...grpc.CallOption) (*QueryWriteStatusResponse, error) { 6651 out := new(QueryWriteStatusResponse) 6652 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/QueryWriteStatus", in, out, opts...) 6653 if err != nil { 6654 return nil, err 6655 } 6656 return out, nil 6657} 6658 6659func (c *storageClient) PatchObject(ctx context.Context, in *PatchObjectRequest, opts ...grpc.CallOption) (*Object, error) { 6660 out := new(Object) 6661 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/PatchObject", in, out, opts...) 6662 if err != nil { 6663 return nil, err 6664 } 6665 return out, nil 6666} 6667 6668func (c *storageClient) UpdateObject(ctx context.Context, in *UpdateObjectRequest, opts ...grpc.CallOption) (*Object, error) { 6669 out := new(Object) 6670 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/UpdateObject", in, out, opts...) 6671 if err != nil { 6672 return nil, err 6673 } 6674 return out, nil 6675} 6676 6677func (c *storageClient) GetObjectIamPolicy(ctx context.Context, in *GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { 6678 out := new(v1.Policy) 6679 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/GetObjectIamPolicy", in, out, opts...) 6680 if err != nil { 6681 return nil, err 6682 } 6683 return out, nil 6684} 6685 6686func (c *storageClient) SetObjectIamPolicy(ctx context.Context, in *SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { 6687 out := new(v1.Policy) 6688 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/SetObjectIamPolicy", in, out, opts...) 6689 if err != nil { 6690 return nil, err 6691 } 6692 return out, nil 6693} 6694 6695func (c *storageClient) TestObjectIamPermissions(ctx context.Context, in *TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { 6696 out := new(v1.TestIamPermissionsResponse) 6697 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/TestObjectIamPermissions", in, out, opts...) 6698 if err != nil { 6699 return nil, err 6700 } 6701 return out, nil 6702} 6703 6704func (c *storageClient) WatchAllObjects(ctx context.Context, in *WatchAllObjectsRequest, opts ...grpc.CallOption) (*Channel, error) { 6705 out := new(Channel) 6706 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/WatchAllObjects", in, out, opts...) 6707 if err != nil { 6708 return nil, err 6709 } 6710 return out, nil 6711} 6712 6713func (c *storageClient) GetServiceAccount(ctx context.Context, in *GetProjectServiceAccountRequest, opts ...grpc.CallOption) (*ServiceAccount, error) { 6714 out := new(ServiceAccount) 6715 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/GetServiceAccount", in, out, opts...) 6716 if err != nil { 6717 return nil, err 6718 } 6719 return out, nil 6720} 6721 6722func (c *storageClient) CreateHmacKey(ctx context.Context, in *CreateHmacKeyRequest, opts ...grpc.CallOption) (*CreateHmacKeyResponse, error) { 6723 out := new(CreateHmacKeyResponse) 6724 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/CreateHmacKey", in, out, opts...) 6725 if err != nil { 6726 return nil, err 6727 } 6728 return out, nil 6729} 6730 6731func (c *storageClient) DeleteHmacKey(ctx context.Context, in *DeleteHmacKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 6732 out := new(empty.Empty) 6733 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/DeleteHmacKey", in, out, opts...) 6734 if err != nil { 6735 return nil, err 6736 } 6737 return out, nil 6738} 6739 6740func (c *storageClient) GetHmacKey(ctx context.Context, in *GetHmacKeyRequest, opts ...grpc.CallOption) (*HmacKeyMetadata, error) { 6741 out := new(HmacKeyMetadata) 6742 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/GetHmacKey", in, out, opts...) 6743 if err != nil { 6744 return nil, err 6745 } 6746 return out, nil 6747} 6748 6749func (c *storageClient) ListHmacKeys(ctx context.Context, in *ListHmacKeysRequest, opts ...grpc.CallOption) (*ListHmacKeysResponse, error) { 6750 out := new(ListHmacKeysResponse) 6751 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/ListHmacKeys", in, out, opts...) 6752 if err != nil { 6753 return nil, err 6754 } 6755 return out, nil 6756} 6757 6758func (c *storageClient) UpdateHmacKey(ctx context.Context, in *UpdateHmacKeyRequest, opts ...grpc.CallOption) (*HmacKeyMetadata, error) { 6759 out := new(HmacKeyMetadata) 6760 err := c.cc.Invoke(ctx, "/google.storage.v1.Storage/UpdateHmacKey", in, out, opts...) 6761 if err != nil { 6762 return nil, err 6763 } 6764 return out, nil 6765} 6766 6767// StorageServer is the server API for Storage service. 6768type StorageServer interface { 6769 // Permanently deletes the ACL entry for the specified entity on the specified 6770 // bucket. 6771 DeleteBucketAccessControl(context.Context, *DeleteBucketAccessControlRequest) (*empty.Empty, error) 6772 // Returns the ACL entry for the specified entity on the specified bucket. 6773 GetBucketAccessControl(context.Context, *GetBucketAccessControlRequest) (*BucketAccessControl, error) 6774 // Creates a new ACL entry on the specified bucket. 6775 InsertBucketAccessControl(context.Context, *InsertBucketAccessControlRequest) (*BucketAccessControl, error) 6776 // Retrieves ACL entries on the specified bucket. 6777 ListBucketAccessControls(context.Context, *ListBucketAccessControlsRequest) (*ListBucketAccessControlsResponse, error) 6778 // Updates an ACL entry on the specified bucket. Equivalent to 6779 // PatchBucketAccessControl, but all unspecified fields will be 6780 // reset to their default values. 6781 UpdateBucketAccessControl(context.Context, *UpdateBucketAccessControlRequest) (*BucketAccessControl, error) 6782 // Updates an ACL entry on the specified bucket. 6783 PatchBucketAccessControl(context.Context, *PatchBucketAccessControlRequest) (*BucketAccessControl, error) 6784 // Permanently deletes an empty bucket. 6785 DeleteBucket(context.Context, *DeleteBucketRequest) (*empty.Empty, error) 6786 // Returns metadata for the specified bucket. 6787 GetBucket(context.Context, *GetBucketRequest) (*Bucket, error) 6788 // Creates a new bucket. 6789 InsertBucket(context.Context, *InsertBucketRequest) (*Bucket, error) 6790 // List active object change notification channels for this bucket. 6791 ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error) 6792 // Retrieves a list of buckets for a given project. 6793 ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error) 6794 // Locks retention policy on a bucket. 6795 LockBucketRetentionPolicy(context.Context, *LockRetentionPolicyRequest) (*Bucket, error) 6796 // Gets the IAM policy for the specified bucket. 6797 GetBucketIamPolicy(context.Context, *GetIamPolicyRequest) (*v1.Policy, error) 6798 // Updates an IAM policy for the specified bucket. 6799 SetBucketIamPolicy(context.Context, *SetIamPolicyRequest) (*v1.Policy, error) 6800 // Tests a set of permissions on the given bucket to see which, if 6801 // any, are held by the caller. 6802 TestBucketIamPermissions(context.Context, *TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) 6803 // Updates a bucket. Changes to the bucket will be readable immediately after 6804 // writing, but configuration changes may take time to propagate. 6805 PatchBucket(context.Context, *PatchBucketRequest) (*Bucket, error) 6806 // Updates a bucket. Equivalent to PatchBucket, but always replaces all 6807 // mutatable fields of the bucket with new values, reverting all 6808 // unspecified fields to their default values. 6809 // Like PatchBucket, Changes to the bucket will be readable immediately after 6810 // writing, but configuration changes may take time to propagate. 6811 UpdateBucket(context.Context, *UpdateBucketRequest) (*Bucket, error) 6812 // Halts "Object Change Notification" push messagages. 6813 // See https://cloud.google.com/storage/docs/object-change-notification 6814 // Note: this is not related to the newer "Notifications" resource, which 6815 // are stopped using DeleteNotification. 6816 StopChannel(context.Context, *StopChannelRequest) (*empty.Empty, error) 6817 // Permanently deletes the default object ACL entry for the specified entity 6818 // on the specified bucket. 6819 DeleteDefaultObjectAccessControl(context.Context, *DeleteDefaultObjectAccessControlRequest) (*empty.Empty, error) 6820 // Returns the default object ACL entry for the specified entity on the 6821 // specified bucket. 6822 GetDefaultObjectAccessControl(context.Context, *GetDefaultObjectAccessControlRequest) (*ObjectAccessControl, error) 6823 // Creates a new default object ACL entry on the specified bucket. 6824 InsertDefaultObjectAccessControl(context.Context, *InsertDefaultObjectAccessControlRequest) (*ObjectAccessControl, error) 6825 // Retrieves default object ACL entries on the specified bucket. 6826 ListDefaultObjectAccessControls(context.Context, *ListDefaultObjectAccessControlsRequest) (*ListObjectAccessControlsResponse, error) 6827 // Updates a default object ACL entry on the specified bucket. 6828 PatchDefaultObjectAccessControl(context.Context, *PatchDefaultObjectAccessControlRequest) (*ObjectAccessControl, error) 6829 // Updates a default object ACL entry on the specified bucket. Equivalent to 6830 // PatchDefaultObjectAccessControl, but modifies all unspecified fields to 6831 // their default values. 6832 UpdateDefaultObjectAccessControl(context.Context, *UpdateDefaultObjectAccessControlRequest) (*ObjectAccessControl, error) 6833 // Permanently deletes a notification subscription. 6834 // Note: Older, "Object Change Notification" push subscriptions should be 6835 // deleted using StopChannel instead. 6836 DeleteNotification(context.Context, *DeleteNotificationRequest) (*empty.Empty, error) 6837 // View a notification configuration. 6838 GetNotification(context.Context, *GetNotificationRequest) (*Notification, error) 6839 // Creates a notification subscription for a given bucket. 6840 // These notifications, when triggered, publish messages to the specified 6841 // Cloud Pub/Sub topics. 6842 // See https://cloud.google.com/storage/docs/pubsub-notifications. 6843 InsertNotification(context.Context, *InsertNotificationRequest) (*Notification, error) 6844 // Retrieves a list of notification subscriptions for a given bucket. 6845 ListNotifications(context.Context, *ListNotificationsRequest) (*ListNotificationsResponse, error) 6846 // Permanently deletes the ACL entry for the specified entity on the specified 6847 // object. 6848 DeleteObjectAccessControl(context.Context, *DeleteObjectAccessControlRequest) (*empty.Empty, error) 6849 // Returns the ACL entry for the specified entity on the specified object. 6850 GetObjectAccessControl(context.Context, *GetObjectAccessControlRequest) (*ObjectAccessControl, error) 6851 // Creates a new ACL entry on the specified object. 6852 InsertObjectAccessControl(context.Context, *InsertObjectAccessControlRequest) (*ObjectAccessControl, error) 6853 // Retrieves ACL entries on the specified object. 6854 ListObjectAccessControls(context.Context, *ListObjectAccessControlsRequest) (*ListObjectAccessControlsResponse, error) 6855 // Patches an ACL entry on the specified object. Patch is similar to update, 6856 // but only applies or appends the specified fields in the 6857 // object_access_control object. Other fields are unaffected. 6858 PatchObjectAccessControl(context.Context, *PatchObjectAccessControlRequest) (*ObjectAccessControl, error) 6859 // Updates an ACL entry on the specified object. 6860 UpdateObjectAccessControl(context.Context, *UpdateObjectAccessControlRequest) (*ObjectAccessControl, error) 6861 // Concatenates a list of existing objects into a new object in the same 6862 // bucket. 6863 ComposeObject(context.Context, *ComposeObjectRequest) (*Object, error) 6864 // Copies a source object to a destination object. Optionally overrides 6865 // metadata. 6866 CopyObject(context.Context, *CopyObjectRequest) (*Object, error) 6867 // Deletes an object and its metadata. Deletions are permanent if versioning 6868 // is not enabled for the bucket, or if the `generation` parameter 6869 // is used. 6870 DeleteObject(context.Context, *DeleteObjectRequest) (*empty.Empty, error) 6871 // Retrieves an object's metadata. 6872 GetObject(context.Context, *GetObjectRequest) (*Object, error) 6873 // Reads an object's data. 6874 GetObjectMedia(*GetObjectMediaRequest, Storage_GetObjectMediaServer) error 6875 // Stores a new object and metadata. 6876 // 6877 // An object can be written either in a single message stream or in a 6878 // resumable sequence of message streams. To write using a single stream, 6879 // the client should include in the first message of the stream an 6880 // `InsertObjectSpec` describing the destination bucket, object, and any 6881 // preconditions. Additionally, the final message must set 'finish_write' to 6882 // true, or else it is an error. 6883 // 6884 // For a resumable write, the client should instead call 6885 // `StartResumableWrite()` and provide that method an `InsertObjectSpec.` 6886 // They should then attach the returned `upload_id` to the first message of 6887 // each following call to `Insert`. If there is an error or the connection is 6888 // broken during the resumable `Insert()`, the client should check the status 6889 // of the `Insert()` by calling `QueryWriteStatus()` and continue writing from 6890 // the returned `committed_size`. This may be less than the amount of data the 6891 // client previously sent. 6892 // 6893 // The service will not view the object as complete until the client has 6894 // sent an `Insert` with `finish_write` set to `true`. Sending any 6895 // requests on a stream after sending a request with `finish_write` set to 6896 // `true` will cause an error. The client **should** check the 6897 // `Object` it receives to determine how much data the service was 6898 // able to commit and whether the service views the object as complete. 6899 InsertObject(Storage_InsertObjectServer) error 6900 // Retrieves a list of objects matching the criteria. 6901 ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error) 6902 // Rewrites a source object to a destination object. Optionally overrides 6903 // metadata. 6904 RewriteObject(context.Context, *RewriteObjectRequest) (*RewriteResponse, error) 6905 // Starts a resumable write. How long the write operation remains valid, and 6906 // what happens when the write operation becomes invalid, are 6907 // service-dependent. 6908 StartResumableWrite(context.Context, *StartResumableWriteRequest) (*StartResumableWriteResponse, error) 6909 // Determines the `committed_size` for an object that is being written, which 6910 // can then be used as the `write_offset` for the next `Write()` call. 6911 // 6912 // If the object does not exist (i.e., the object has been deleted, or the 6913 // first `Write()` has not yet reached the service), this method returns the 6914 // error `NOT_FOUND`. 6915 // 6916 // The client **may** call `QueryWriteStatus()` at any time to determine how 6917 // much data has been processed for this object. This is useful if the 6918 // client is buffering data and needs to know which data can be safely 6919 // evicted. For any sequence of `QueryWriteStatus()` calls for a given 6920 // object name, the sequence of returned `committed_size` values will be 6921 // non-decreasing. 6922 QueryWriteStatus(context.Context, *QueryWriteStatusRequest) (*QueryWriteStatusResponse, error) 6923 // Updates an object's metadata. 6924 PatchObject(context.Context, *PatchObjectRequest) (*Object, error) 6925 // Updates an object's metadata. Equivalent to PatchObject, but always 6926 // replaces all mutatable fields of the bucket with new values, reverting all 6927 // unspecified fields to their default values. 6928 UpdateObject(context.Context, *UpdateObjectRequest) (*Object, error) 6929 // Gets the IAM policy for the specified object. 6930 GetObjectIamPolicy(context.Context, *GetIamPolicyRequest) (*v1.Policy, error) 6931 // Updates an IAM policy for the specified object. 6932 SetObjectIamPolicy(context.Context, *SetIamPolicyRequest) (*v1.Policy, error) 6933 // Tests a set of permissions on the given object to see which, if 6934 // any, are held by the caller. 6935 TestObjectIamPermissions(context.Context, *TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) 6936 // Watch for changes on all objects in a bucket. 6937 WatchAllObjects(context.Context, *WatchAllObjectsRequest) (*Channel, error) 6938 // Retrieves the name of a project's Google Cloud Storage service account. 6939 GetServiceAccount(context.Context, *GetProjectServiceAccountRequest) (*ServiceAccount, error) 6940 // Creates a new HMAC key for the given service account. 6941 CreateHmacKey(context.Context, *CreateHmacKeyRequest) (*CreateHmacKeyResponse, error) 6942 // Deletes a given HMAC key. Key must be in an INACTIVE state. 6943 DeleteHmacKey(context.Context, *DeleteHmacKeyRequest) (*empty.Empty, error) 6944 // Gets an existing HMAC key metadata for the given id. 6945 GetHmacKey(context.Context, *GetHmacKeyRequest) (*HmacKeyMetadata, error) 6946 // Lists HMAC keys under a given project with the additional filters provided. 6947 ListHmacKeys(context.Context, *ListHmacKeysRequest) (*ListHmacKeysResponse, error) 6948 // Updates a given HMAC key state between ACTIVE and INACTIVE. 6949 UpdateHmacKey(context.Context, *UpdateHmacKeyRequest) (*HmacKeyMetadata, error) 6950} 6951 6952// UnimplementedStorageServer can be embedded to have forward compatible implementations. 6953type UnimplementedStorageServer struct { 6954} 6955 6956func (*UnimplementedStorageServer) DeleteBucketAccessControl(ctx context.Context, req *DeleteBucketAccessControlRequest) (*empty.Empty, error) { 6957 return nil, status.Errorf(codes.Unimplemented, "method DeleteBucketAccessControl not implemented") 6958} 6959func (*UnimplementedStorageServer) GetBucketAccessControl(ctx context.Context, req *GetBucketAccessControlRequest) (*BucketAccessControl, error) { 6960 return nil, status.Errorf(codes.Unimplemented, "method GetBucketAccessControl not implemented") 6961} 6962func (*UnimplementedStorageServer) InsertBucketAccessControl(ctx context.Context, req *InsertBucketAccessControlRequest) (*BucketAccessControl, error) { 6963 return nil, status.Errorf(codes.Unimplemented, "method InsertBucketAccessControl not implemented") 6964} 6965func (*UnimplementedStorageServer) ListBucketAccessControls(ctx context.Context, req *ListBucketAccessControlsRequest) (*ListBucketAccessControlsResponse, error) { 6966 return nil, status.Errorf(codes.Unimplemented, "method ListBucketAccessControls not implemented") 6967} 6968func (*UnimplementedStorageServer) UpdateBucketAccessControl(ctx context.Context, req *UpdateBucketAccessControlRequest) (*BucketAccessControl, error) { 6969 return nil, status.Errorf(codes.Unimplemented, "method UpdateBucketAccessControl not implemented") 6970} 6971func (*UnimplementedStorageServer) PatchBucketAccessControl(ctx context.Context, req *PatchBucketAccessControlRequest) (*BucketAccessControl, error) { 6972 return nil, status.Errorf(codes.Unimplemented, "method PatchBucketAccessControl not implemented") 6973} 6974func (*UnimplementedStorageServer) DeleteBucket(ctx context.Context, req *DeleteBucketRequest) (*empty.Empty, error) { 6975 return nil, status.Errorf(codes.Unimplemented, "method DeleteBucket not implemented") 6976} 6977func (*UnimplementedStorageServer) GetBucket(ctx context.Context, req *GetBucketRequest) (*Bucket, error) { 6978 return nil, status.Errorf(codes.Unimplemented, "method GetBucket not implemented") 6979} 6980func (*UnimplementedStorageServer) InsertBucket(ctx context.Context, req *InsertBucketRequest) (*Bucket, error) { 6981 return nil, status.Errorf(codes.Unimplemented, "method InsertBucket not implemented") 6982} 6983func (*UnimplementedStorageServer) ListChannels(ctx context.Context, req *ListChannelsRequest) (*ListChannelsResponse, error) { 6984 return nil, status.Errorf(codes.Unimplemented, "method ListChannels not implemented") 6985} 6986func (*UnimplementedStorageServer) ListBuckets(ctx context.Context, req *ListBucketsRequest) (*ListBucketsResponse, error) { 6987 return nil, status.Errorf(codes.Unimplemented, "method ListBuckets not implemented") 6988} 6989func (*UnimplementedStorageServer) LockBucketRetentionPolicy(ctx context.Context, req *LockRetentionPolicyRequest) (*Bucket, error) { 6990 return nil, status.Errorf(codes.Unimplemented, "method LockBucketRetentionPolicy not implemented") 6991} 6992func (*UnimplementedStorageServer) GetBucketIamPolicy(ctx context.Context, req *GetIamPolicyRequest) (*v1.Policy, error) { 6993 return nil, status.Errorf(codes.Unimplemented, "method GetBucketIamPolicy not implemented") 6994} 6995func (*UnimplementedStorageServer) SetBucketIamPolicy(ctx context.Context, req *SetIamPolicyRequest) (*v1.Policy, error) { 6996 return nil, status.Errorf(codes.Unimplemented, "method SetBucketIamPolicy not implemented") 6997} 6998func (*UnimplementedStorageServer) TestBucketIamPermissions(ctx context.Context, req *TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { 6999 return nil, status.Errorf(codes.Unimplemented, "method TestBucketIamPermissions not implemented") 7000} 7001func (*UnimplementedStorageServer) PatchBucket(ctx context.Context, req *PatchBucketRequest) (*Bucket, error) { 7002 return nil, status.Errorf(codes.Unimplemented, "method PatchBucket not implemented") 7003} 7004func (*UnimplementedStorageServer) UpdateBucket(ctx context.Context, req *UpdateBucketRequest) (*Bucket, error) { 7005 return nil, status.Errorf(codes.Unimplemented, "method UpdateBucket not implemented") 7006} 7007func (*UnimplementedStorageServer) StopChannel(ctx context.Context, req *StopChannelRequest) (*empty.Empty, error) { 7008 return nil, status.Errorf(codes.Unimplemented, "method StopChannel not implemented") 7009} 7010func (*UnimplementedStorageServer) DeleteDefaultObjectAccessControl(ctx context.Context, req *DeleteDefaultObjectAccessControlRequest) (*empty.Empty, error) { 7011 return nil, status.Errorf(codes.Unimplemented, "method DeleteDefaultObjectAccessControl not implemented") 7012} 7013func (*UnimplementedStorageServer) GetDefaultObjectAccessControl(ctx context.Context, req *GetDefaultObjectAccessControlRequest) (*ObjectAccessControl, error) { 7014 return nil, status.Errorf(codes.Unimplemented, "method GetDefaultObjectAccessControl not implemented") 7015} 7016func (*UnimplementedStorageServer) InsertDefaultObjectAccessControl(ctx context.Context, req *InsertDefaultObjectAccessControlRequest) (*ObjectAccessControl, error) { 7017 return nil, status.Errorf(codes.Unimplemented, "method InsertDefaultObjectAccessControl not implemented") 7018} 7019func (*UnimplementedStorageServer) ListDefaultObjectAccessControls(ctx context.Context, req *ListDefaultObjectAccessControlsRequest) (*ListObjectAccessControlsResponse, error) { 7020 return nil, status.Errorf(codes.Unimplemented, "method ListDefaultObjectAccessControls not implemented") 7021} 7022func (*UnimplementedStorageServer) PatchDefaultObjectAccessControl(ctx context.Context, req *PatchDefaultObjectAccessControlRequest) (*ObjectAccessControl, error) { 7023 return nil, status.Errorf(codes.Unimplemented, "method PatchDefaultObjectAccessControl not implemented") 7024} 7025func (*UnimplementedStorageServer) UpdateDefaultObjectAccessControl(ctx context.Context, req *UpdateDefaultObjectAccessControlRequest) (*ObjectAccessControl, error) { 7026 return nil, status.Errorf(codes.Unimplemented, "method UpdateDefaultObjectAccessControl not implemented") 7027} 7028func (*UnimplementedStorageServer) DeleteNotification(ctx context.Context, req *DeleteNotificationRequest) (*empty.Empty, error) { 7029 return nil, status.Errorf(codes.Unimplemented, "method DeleteNotification not implemented") 7030} 7031func (*UnimplementedStorageServer) GetNotification(ctx context.Context, req *GetNotificationRequest) (*Notification, error) { 7032 return nil, status.Errorf(codes.Unimplemented, "method GetNotification not implemented") 7033} 7034func (*UnimplementedStorageServer) InsertNotification(ctx context.Context, req *InsertNotificationRequest) (*Notification, error) { 7035 return nil, status.Errorf(codes.Unimplemented, "method InsertNotification not implemented") 7036} 7037func (*UnimplementedStorageServer) ListNotifications(ctx context.Context, req *ListNotificationsRequest) (*ListNotificationsResponse, error) { 7038 return nil, status.Errorf(codes.Unimplemented, "method ListNotifications not implemented") 7039} 7040func (*UnimplementedStorageServer) DeleteObjectAccessControl(ctx context.Context, req *DeleteObjectAccessControlRequest) (*empty.Empty, error) { 7041 return nil, status.Errorf(codes.Unimplemented, "method DeleteObjectAccessControl not implemented") 7042} 7043func (*UnimplementedStorageServer) GetObjectAccessControl(ctx context.Context, req *GetObjectAccessControlRequest) (*ObjectAccessControl, error) { 7044 return nil, status.Errorf(codes.Unimplemented, "method GetObjectAccessControl not implemented") 7045} 7046func (*UnimplementedStorageServer) InsertObjectAccessControl(ctx context.Context, req *InsertObjectAccessControlRequest) (*ObjectAccessControl, error) { 7047 return nil, status.Errorf(codes.Unimplemented, "method InsertObjectAccessControl not implemented") 7048} 7049func (*UnimplementedStorageServer) ListObjectAccessControls(ctx context.Context, req *ListObjectAccessControlsRequest) (*ListObjectAccessControlsResponse, error) { 7050 return nil, status.Errorf(codes.Unimplemented, "method ListObjectAccessControls not implemented") 7051} 7052func (*UnimplementedStorageServer) PatchObjectAccessControl(ctx context.Context, req *PatchObjectAccessControlRequest) (*ObjectAccessControl, error) { 7053 return nil, status.Errorf(codes.Unimplemented, "method PatchObjectAccessControl not implemented") 7054} 7055func (*UnimplementedStorageServer) UpdateObjectAccessControl(ctx context.Context, req *UpdateObjectAccessControlRequest) (*ObjectAccessControl, error) { 7056 return nil, status.Errorf(codes.Unimplemented, "method UpdateObjectAccessControl not implemented") 7057} 7058func (*UnimplementedStorageServer) ComposeObject(ctx context.Context, req *ComposeObjectRequest) (*Object, error) { 7059 return nil, status.Errorf(codes.Unimplemented, "method ComposeObject not implemented") 7060} 7061func (*UnimplementedStorageServer) CopyObject(ctx context.Context, req *CopyObjectRequest) (*Object, error) { 7062 return nil, status.Errorf(codes.Unimplemented, "method CopyObject not implemented") 7063} 7064func (*UnimplementedStorageServer) DeleteObject(ctx context.Context, req *DeleteObjectRequest) (*empty.Empty, error) { 7065 return nil, status.Errorf(codes.Unimplemented, "method DeleteObject not implemented") 7066} 7067func (*UnimplementedStorageServer) GetObject(ctx context.Context, req *GetObjectRequest) (*Object, error) { 7068 return nil, status.Errorf(codes.Unimplemented, "method GetObject not implemented") 7069} 7070func (*UnimplementedStorageServer) GetObjectMedia(req *GetObjectMediaRequest, srv Storage_GetObjectMediaServer) error { 7071 return status.Errorf(codes.Unimplemented, "method GetObjectMedia not implemented") 7072} 7073func (*UnimplementedStorageServer) InsertObject(srv Storage_InsertObjectServer) error { 7074 return status.Errorf(codes.Unimplemented, "method InsertObject not implemented") 7075} 7076func (*UnimplementedStorageServer) ListObjects(ctx context.Context, req *ListObjectsRequest) (*ListObjectsResponse, error) { 7077 return nil, status.Errorf(codes.Unimplemented, "method ListObjects not implemented") 7078} 7079func (*UnimplementedStorageServer) RewriteObject(ctx context.Context, req *RewriteObjectRequest) (*RewriteResponse, error) { 7080 return nil, status.Errorf(codes.Unimplemented, "method RewriteObject not implemented") 7081} 7082func (*UnimplementedStorageServer) StartResumableWrite(ctx context.Context, req *StartResumableWriteRequest) (*StartResumableWriteResponse, error) { 7083 return nil, status.Errorf(codes.Unimplemented, "method StartResumableWrite not implemented") 7084} 7085func (*UnimplementedStorageServer) QueryWriteStatus(ctx context.Context, req *QueryWriteStatusRequest) (*QueryWriteStatusResponse, error) { 7086 return nil, status.Errorf(codes.Unimplemented, "method QueryWriteStatus not implemented") 7087} 7088func (*UnimplementedStorageServer) PatchObject(ctx context.Context, req *PatchObjectRequest) (*Object, error) { 7089 return nil, status.Errorf(codes.Unimplemented, "method PatchObject not implemented") 7090} 7091func (*UnimplementedStorageServer) UpdateObject(ctx context.Context, req *UpdateObjectRequest) (*Object, error) { 7092 return nil, status.Errorf(codes.Unimplemented, "method UpdateObject not implemented") 7093} 7094func (*UnimplementedStorageServer) GetObjectIamPolicy(ctx context.Context, req *GetIamPolicyRequest) (*v1.Policy, error) { 7095 return nil, status.Errorf(codes.Unimplemented, "method GetObjectIamPolicy not implemented") 7096} 7097func (*UnimplementedStorageServer) SetObjectIamPolicy(ctx context.Context, req *SetIamPolicyRequest) (*v1.Policy, error) { 7098 return nil, status.Errorf(codes.Unimplemented, "method SetObjectIamPolicy not implemented") 7099} 7100func (*UnimplementedStorageServer) TestObjectIamPermissions(ctx context.Context, req *TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { 7101 return nil, status.Errorf(codes.Unimplemented, "method TestObjectIamPermissions not implemented") 7102} 7103func (*UnimplementedStorageServer) WatchAllObjects(ctx context.Context, req *WatchAllObjectsRequest) (*Channel, error) { 7104 return nil, status.Errorf(codes.Unimplemented, "method WatchAllObjects not implemented") 7105} 7106func (*UnimplementedStorageServer) GetServiceAccount(ctx context.Context, req *GetProjectServiceAccountRequest) (*ServiceAccount, error) { 7107 return nil, status.Errorf(codes.Unimplemented, "method GetServiceAccount not implemented") 7108} 7109func (*UnimplementedStorageServer) CreateHmacKey(ctx context.Context, req *CreateHmacKeyRequest) (*CreateHmacKeyResponse, error) { 7110 return nil, status.Errorf(codes.Unimplemented, "method CreateHmacKey not implemented") 7111} 7112func (*UnimplementedStorageServer) DeleteHmacKey(ctx context.Context, req *DeleteHmacKeyRequest) (*empty.Empty, error) { 7113 return nil, status.Errorf(codes.Unimplemented, "method DeleteHmacKey not implemented") 7114} 7115func (*UnimplementedStorageServer) GetHmacKey(ctx context.Context, req *GetHmacKeyRequest) (*HmacKeyMetadata, error) { 7116 return nil, status.Errorf(codes.Unimplemented, "method GetHmacKey not implemented") 7117} 7118func (*UnimplementedStorageServer) ListHmacKeys(ctx context.Context, req *ListHmacKeysRequest) (*ListHmacKeysResponse, error) { 7119 return nil, status.Errorf(codes.Unimplemented, "method ListHmacKeys not implemented") 7120} 7121func (*UnimplementedStorageServer) UpdateHmacKey(ctx context.Context, req *UpdateHmacKeyRequest) (*HmacKeyMetadata, error) { 7122 return nil, status.Errorf(codes.Unimplemented, "method UpdateHmacKey not implemented") 7123} 7124 7125func RegisterStorageServer(s *grpc.Server, srv StorageServer) { 7126 s.RegisterService(&_Storage_serviceDesc, srv) 7127} 7128 7129func _Storage_DeleteBucketAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7130 in := new(DeleteBucketAccessControlRequest) 7131 if err := dec(in); err != nil { 7132 return nil, err 7133 } 7134 if interceptor == nil { 7135 return srv.(StorageServer).DeleteBucketAccessControl(ctx, in) 7136 } 7137 info := &grpc.UnaryServerInfo{ 7138 Server: srv, 7139 FullMethod: "/google.storage.v1.Storage/DeleteBucketAccessControl", 7140 } 7141 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7142 return srv.(StorageServer).DeleteBucketAccessControl(ctx, req.(*DeleteBucketAccessControlRequest)) 7143 } 7144 return interceptor(ctx, in, info, handler) 7145} 7146 7147func _Storage_GetBucketAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7148 in := new(GetBucketAccessControlRequest) 7149 if err := dec(in); err != nil { 7150 return nil, err 7151 } 7152 if interceptor == nil { 7153 return srv.(StorageServer).GetBucketAccessControl(ctx, in) 7154 } 7155 info := &grpc.UnaryServerInfo{ 7156 Server: srv, 7157 FullMethod: "/google.storage.v1.Storage/GetBucketAccessControl", 7158 } 7159 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7160 return srv.(StorageServer).GetBucketAccessControl(ctx, req.(*GetBucketAccessControlRequest)) 7161 } 7162 return interceptor(ctx, in, info, handler) 7163} 7164 7165func _Storage_InsertBucketAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7166 in := new(InsertBucketAccessControlRequest) 7167 if err := dec(in); err != nil { 7168 return nil, err 7169 } 7170 if interceptor == nil { 7171 return srv.(StorageServer).InsertBucketAccessControl(ctx, in) 7172 } 7173 info := &grpc.UnaryServerInfo{ 7174 Server: srv, 7175 FullMethod: "/google.storage.v1.Storage/InsertBucketAccessControl", 7176 } 7177 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7178 return srv.(StorageServer).InsertBucketAccessControl(ctx, req.(*InsertBucketAccessControlRequest)) 7179 } 7180 return interceptor(ctx, in, info, handler) 7181} 7182 7183func _Storage_ListBucketAccessControls_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7184 in := new(ListBucketAccessControlsRequest) 7185 if err := dec(in); err != nil { 7186 return nil, err 7187 } 7188 if interceptor == nil { 7189 return srv.(StorageServer).ListBucketAccessControls(ctx, in) 7190 } 7191 info := &grpc.UnaryServerInfo{ 7192 Server: srv, 7193 FullMethod: "/google.storage.v1.Storage/ListBucketAccessControls", 7194 } 7195 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7196 return srv.(StorageServer).ListBucketAccessControls(ctx, req.(*ListBucketAccessControlsRequest)) 7197 } 7198 return interceptor(ctx, in, info, handler) 7199} 7200 7201func _Storage_UpdateBucketAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7202 in := new(UpdateBucketAccessControlRequest) 7203 if err := dec(in); err != nil { 7204 return nil, err 7205 } 7206 if interceptor == nil { 7207 return srv.(StorageServer).UpdateBucketAccessControl(ctx, in) 7208 } 7209 info := &grpc.UnaryServerInfo{ 7210 Server: srv, 7211 FullMethod: "/google.storage.v1.Storage/UpdateBucketAccessControl", 7212 } 7213 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7214 return srv.(StorageServer).UpdateBucketAccessControl(ctx, req.(*UpdateBucketAccessControlRequest)) 7215 } 7216 return interceptor(ctx, in, info, handler) 7217} 7218 7219func _Storage_PatchBucketAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7220 in := new(PatchBucketAccessControlRequest) 7221 if err := dec(in); err != nil { 7222 return nil, err 7223 } 7224 if interceptor == nil { 7225 return srv.(StorageServer).PatchBucketAccessControl(ctx, in) 7226 } 7227 info := &grpc.UnaryServerInfo{ 7228 Server: srv, 7229 FullMethod: "/google.storage.v1.Storage/PatchBucketAccessControl", 7230 } 7231 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7232 return srv.(StorageServer).PatchBucketAccessControl(ctx, req.(*PatchBucketAccessControlRequest)) 7233 } 7234 return interceptor(ctx, in, info, handler) 7235} 7236 7237func _Storage_DeleteBucket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7238 in := new(DeleteBucketRequest) 7239 if err := dec(in); err != nil { 7240 return nil, err 7241 } 7242 if interceptor == nil { 7243 return srv.(StorageServer).DeleteBucket(ctx, in) 7244 } 7245 info := &grpc.UnaryServerInfo{ 7246 Server: srv, 7247 FullMethod: "/google.storage.v1.Storage/DeleteBucket", 7248 } 7249 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7250 return srv.(StorageServer).DeleteBucket(ctx, req.(*DeleteBucketRequest)) 7251 } 7252 return interceptor(ctx, in, info, handler) 7253} 7254 7255func _Storage_GetBucket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7256 in := new(GetBucketRequest) 7257 if err := dec(in); err != nil { 7258 return nil, err 7259 } 7260 if interceptor == nil { 7261 return srv.(StorageServer).GetBucket(ctx, in) 7262 } 7263 info := &grpc.UnaryServerInfo{ 7264 Server: srv, 7265 FullMethod: "/google.storage.v1.Storage/GetBucket", 7266 } 7267 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7268 return srv.(StorageServer).GetBucket(ctx, req.(*GetBucketRequest)) 7269 } 7270 return interceptor(ctx, in, info, handler) 7271} 7272 7273func _Storage_InsertBucket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7274 in := new(InsertBucketRequest) 7275 if err := dec(in); err != nil { 7276 return nil, err 7277 } 7278 if interceptor == nil { 7279 return srv.(StorageServer).InsertBucket(ctx, in) 7280 } 7281 info := &grpc.UnaryServerInfo{ 7282 Server: srv, 7283 FullMethod: "/google.storage.v1.Storage/InsertBucket", 7284 } 7285 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7286 return srv.(StorageServer).InsertBucket(ctx, req.(*InsertBucketRequest)) 7287 } 7288 return interceptor(ctx, in, info, handler) 7289} 7290 7291func _Storage_ListChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7292 in := new(ListChannelsRequest) 7293 if err := dec(in); err != nil { 7294 return nil, err 7295 } 7296 if interceptor == nil { 7297 return srv.(StorageServer).ListChannels(ctx, in) 7298 } 7299 info := &grpc.UnaryServerInfo{ 7300 Server: srv, 7301 FullMethod: "/google.storage.v1.Storage/ListChannels", 7302 } 7303 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7304 return srv.(StorageServer).ListChannels(ctx, req.(*ListChannelsRequest)) 7305 } 7306 return interceptor(ctx, in, info, handler) 7307} 7308 7309func _Storage_ListBuckets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7310 in := new(ListBucketsRequest) 7311 if err := dec(in); err != nil { 7312 return nil, err 7313 } 7314 if interceptor == nil { 7315 return srv.(StorageServer).ListBuckets(ctx, in) 7316 } 7317 info := &grpc.UnaryServerInfo{ 7318 Server: srv, 7319 FullMethod: "/google.storage.v1.Storage/ListBuckets", 7320 } 7321 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7322 return srv.(StorageServer).ListBuckets(ctx, req.(*ListBucketsRequest)) 7323 } 7324 return interceptor(ctx, in, info, handler) 7325} 7326 7327func _Storage_LockBucketRetentionPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7328 in := new(LockRetentionPolicyRequest) 7329 if err := dec(in); err != nil { 7330 return nil, err 7331 } 7332 if interceptor == nil { 7333 return srv.(StorageServer).LockBucketRetentionPolicy(ctx, in) 7334 } 7335 info := &grpc.UnaryServerInfo{ 7336 Server: srv, 7337 FullMethod: "/google.storage.v1.Storage/LockBucketRetentionPolicy", 7338 } 7339 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7340 return srv.(StorageServer).LockBucketRetentionPolicy(ctx, req.(*LockRetentionPolicyRequest)) 7341 } 7342 return interceptor(ctx, in, info, handler) 7343} 7344 7345func _Storage_GetBucketIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7346 in := new(GetIamPolicyRequest) 7347 if err := dec(in); err != nil { 7348 return nil, err 7349 } 7350 if interceptor == nil { 7351 return srv.(StorageServer).GetBucketIamPolicy(ctx, in) 7352 } 7353 info := &grpc.UnaryServerInfo{ 7354 Server: srv, 7355 FullMethod: "/google.storage.v1.Storage/GetBucketIamPolicy", 7356 } 7357 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7358 return srv.(StorageServer).GetBucketIamPolicy(ctx, req.(*GetIamPolicyRequest)) 7359 } 7360 return interceptor(ctx, in, info, handler) 7361} 7362 7363func _Storage_SetBucketIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7364 in := new(SetIamPolicyRequest) 7365 if err := dec(in); err != nil { 7366 return nil, err 7367 } 7368 if interceptor == nil { 7369 return srv.(StorageServer).SetBucketIamPolicy(ctx, in) 7370 } 7371 info := &grpc.UnaryServerInfo{ 7372 Server: srv, 7373 FullMethod: "/google.storage.v1.Storage/SetBucketIamPolicy", 7374 } 7375 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7376 return srv.(StorageServer).SetBucketIamPolicy(ctx, req.(*SetIamPolicyRequest)) 7377 } 7378 return interceptor(ctx, in, info, handler) 7379} 7380 7381func _Storage_TestBucketIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7382 in := new(TestIamPermissionsRequest) 7383 if err := dec(in); err != nil { 7384 return nil, err 7385 } 7386 if interceptor == nil { 7387 return srv.(StorageServer).TestBucketIamPermissions(ctx, in) 7388 } 7389 info := &grpc.UnaryServerInfo{ 7390 Server: srv, 7391 FullMethod: "/google.storage.v1.Storage/TestBucketIamPermissions", 7392 } 7393 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7394 return srv.(StorageServer).TestBucketIamPermissions(ctx, req.(*TestIamPermissionsRequest)) 7395 } 7396 return interceptor(ctx, in, info, handler) 7397} 7398 7399func _Storage_PatchBucket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7400 in := new(PatchBucketRequest) 7401 if err := dec(in); err != nil { 7402 return nil, err 7403 } 7404 if interceptor == nil { 7405 return srv.(StorageServer).PatchBucket(ctx, in) 7406 } 7407 info := &grpc.UnaryServerInfo{ 7408 Server: srv, 7409 FullMethod: "/google.storage.v1.Storage/PatchBucket", 7410 } 7411 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7412 return srv.(StorageServer).PatchBucket(ctx, req.(*PatchBucketRequest)) 7413 } 7414 return interceptor(ctx, in, info, handler) 7415} 7416 7417func _Storage_UpdateBucket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7418 in := new(UpdateBucketRequest) 7419 if err := dec(in); err != nil { 7420 return nil, err 7421 } 7422 if interceptor == nil { 7423 return srv.(StorageServer).UpdateBucket(ctx, in) 7424 } 7425 info := &grpc.UnaryServerInfo{ 7426 Server: srv, 7427 FullMethod: "/google.storage.v1.Storage/UpdateBucket", 7428 } 7429 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7430 return srv.(StorageServer).UpdateBucket(ctx, req.(*UpdateBucketRequest)) 7431 } 7432 return interceptor(ctx, in, info, handler) 7433} 7434 7435func _Storage_StopChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7436 in := new(StopChannelRequest) 7437 if err := dec(in); err != nil { 7438 return nil, err 7439 } 7440 if interceptor == nil { 7441 return srv.(StorageServer).StopChannel(ctx, in) 7442 } 7443 info := &grpc.UnaryServerInfo{ 7444 Server: srv, 7445 FullMethod: "/google.storage.v1.Storage/StopChannel", 7446 } 7447 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7448 return srv.(StorageServer).StopChannel(ctx, req.(*StopChannelRequest)) 7449 } 7450 return interceptor(ctx, in, info, handler) 7451} 7452 7453func _Storage_DeleteDefaultObjectAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7454 in := new(DeleteDefaultObjectAccessControlRequest) 7455 if err := dec(in); err != nil { 7456 return nil, err 7457 } 7458 if interceptor == nil { 7459 return srv.(StorageServer).DeleteDefaultObjectAccessControl(ctx, in) 7460 } 7461 info := &grpc.UnaryServerInfo{ 7462 Server: srv, 7463 FullMethod: "/google.storage.v1.Storage/DeleteDefaultObjectAccessControl", 7464 } 7465 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7466 return srv.(StorageServer).DeleteDefaultObjectAccessControl(ctx, req.(*DeleteDefaultObjectAccessControlRequest)) 7467 } 7468 return interceptor(ctx, in, info, handler) 7469} 7470 7471func _Storage_GetDefaultObjectAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7472 in := new(GetDefaultObjectAccessControlRequest) 7473 if err := dec(in); err != nil { 7474 return nil, err 7475 } 7476 if interceptor == nil { 7477 return srv.(StorageServer).GetDefaultObjectAccessControl(ctx, in) 7478 } 7479 info := &grpc.UnaryServerInfo{ 7480 Server: srv, 7481 FullMethod: "/google.storage.v1.Storage/GetDefaultObjectAccessControl", 7482 } 7483 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7484 return srv.(StorageServer).GetDefaultObjectAccessControl(ctx, req.(*GetDefaultObjectAccessControlRequest)) 7485 } 7486 return interceptor(ctx, in, info, handler) 7487} 7488 7489func _Storage_InsertDefaultObjectAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7490 in := new(InsertDefaultObjectAccessControlRequest) 7491 if err := dec(in); err != nil { 7492 return nil, err 7493 } 7494 if interceptor == nil { 7495 return srv.(StorageServer).InsertDefaultObjectAccessControl(ctx, in) 7496 } 7497 info := &grpc.UnaryServerInfo{ 7498 Server: srv, 7499 FullMethod: "/google.storage.v1.Storage/InsertDefaultObjectAccessControl", 7500 } 7501 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7502 return srv.(StorageServer).InsertDefaultObjectAccessControl(ctx, req.(*InsertDefaultObjectAccessControlRequest)) 7503 } 7504 return interceptor(ctx, in, info, handler) 7505} 7506 7507func _Storage_ListDefaultObjectAccessControls_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7508 in := new(ListDefaultObjectAccessControlsRequest) 7509 if err := dec(in); err != nil { 7510 return nil, err 7511 } 7512 if interceptor == nil { 7513 return srv.(StorageServer).ListDefaultObjectAccessControls(ctx, in) 7514 } 7515 info := &grpc.UnaryServerInfo{ 7516 Server: srv, 7517 FullMethod: "/google.storage.v1.Storage/ListDefaultObjectAccessControls", 7518 } 7519 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7520 return srv.(StorageServer).ListDefaultObjectAccessControls(ctx, req.(*ListDefaultObjectAccessControlsRequest)) 7521 } 7522 return interceptor(ctx, in, info, handler) 7523} 7524 7525func _Storage_PatchDefaultObjectAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7526 in := new(PatchDefaultObjectAccessControlRequest) 7527 if err := dec(in); err != nil { 7528 return nil, err 7529 } 7530 if interceptor == nil { 7531 return srv.(StorageServer).PatchDefaultObjectAccessControl(ctx, in) 7532 } 7533 info := &grpc.UnaryServerInfo{ 7534 Server: srv, 7535 FullMethod: "/google.storage.v1.Storage/PatchDefaultObjectAccessControl", 7536 } 7537 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7538 return srv.(StorageServer).PatchDefaultObjectAccessControl(ctx, req.(*PatchDefaultObjectAccessControlRequest)) 7539 } 7540 return interceptor(ctx, in, info, handler) 7541} 7542 7543func _Storage_UpdateDefaultObjectAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7544 in := new(UpdateDefaultObjectAccessControlRequest) 7545 if err := dec(in); err != nil { 7546 return nil, err 7547 } 7548 if interceptor == nil { 7549 return srv.(StorageServer).UpdateDefaultObjectAccessControl(ctx, in) 7550 } 7551 info := &grpc.UnaryServerInfo{ 7552 Server: srv, 7553 FullMethod: "/google.storage.v1.Storage/UpdateDefaultObjectAccessControl", 7554 } 7555 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7556 return srv.(StorageServer).UpdateDefaultObjectAccessControl(ctx, req.(*UpdateDefaultObjectAccessControlRequest)) 7557 } 7558 return interceptor(ctx, in, info, handler) 7559} 7560 7561func _Storage_DeleteNotification_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7562 in := new(DeleteNotificationRequest) 7563 if err := dec(in); err != nil { 7564 return nil, err 7565 } 7566 if interceptor == nil { 7567 return srv.(StorageServer).DeleteNotification(ctx, in) 7568 } 7569 info := &grpc.UnaryServerInfo{ 7570 Server: srv, 7571 FullMethod: "/google.storage.v1.Storage/DeleteNotification", 7572 } 7573 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7574 return srv.(StorageServer).DeleteNotification(ctx, req.(*DeleteNotificationRequest)) 7575 } 7576 return interceptor(ctx, in, info, handler) 7577} 7578 7579func _Storage_GetNotification_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7580 in := new(GetNotificationRequest) 7581 if err := dec(in); err != nil { 7582 return nil, err 7583 } 7584 if interceptor == nil { 7585 return srv.(StorageServer).GetNotification(ctx, in) 7586 } 7587 info := &grpc.UnaryServerInfo{ 7588 Server: srv, 7589 FullMethod: "/google.storage.v1.Storage/GetNotification", 7590 } 7591 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7592 return srv.(StorageServer).GetNotification(ctx, req.(*GetNotificationRequest)) 7593 } 7594 return interceptor(ctx, in, info, handler) 7595} 7596 7597func _Storage_InsertNotification_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7598 in := new(InsertNotificationRequest) 7599 if err := dec(in); err != nil { 7600 return nil, err 7601 } 7602 if interceptor == nil { 7603 return srv.(StorageServer).InsertNotification(ctx, in) 7604 } 7605 info := &grpc.UnaryServerInfo{ 7606 Server: srv, 7607 FullMethod: "/google.storage.v1.Storage/InsertNotification", 7608 } 7609 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7610 return srv.(StorageServer).InsertNotification(ctx, req.(*InsertNotificationRequest)) 7611 } 7612 return interceptor(ctx, in, info, handler) 7613} 7614 7615func _Storage_ListNotifications_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7616 in := new(ListNotificationsRequest) 7617 if err := dec(in); err != nil { 7618 return nil, err 7619 } 7620 if interceptor == nil { 7621 return srv.(StorageServer).ListNotifications(ctx, in) 7622 } 7623 info := &grpc.UnaryServerInfo{ 7624 Server: srv, 7625 FullMethod: "/google.storage.v1.Storage/ListNotifications", 7626 } 7627 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7628 return srv.(StorageServer).ListNotifications(ctx, req.(*ListNotificationsRequest)) 7629 } 7630 return interceptor(ctx, in, info, handler) 7631} 7632 7633func _Storage_DeleteObjectAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7634 in := new(DeleteObjectAccessControlRequest) 7635 if err := dec(in); err != nil { 7636 return nil, err 7637 } 7638 if interceptor == nil { 7639 return srv.(StorageServer).DeleteObjectAccessControl(ctx, in) 7640 } 7641 info := &grpc.UnaryServerInfo{ 7642 Server: srv, 7643 FullMethod: "/google.storage.v1.Storage/DeleteObjectAccessControl", 7644 } 7645 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7646 return srv.(StorageServer).DeleteObjectAccessControl(ctx, req.(*DeleteObjectAccessControlRequest)) 7647 } 7648 return interceptor(ctx, in, info, handler) 7649} 7650 7651func _Storage_GetObjectAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7652 in := new(GetObjectAccessControlRequest) 7653 if err := dec(in); err != nil { 7654 return nil, err 7655 } 7656 if interceptor == nil { 7657 return srv.(StorageServer).GetObjectAccessControl(ctx, in) 7658 } 7659 info := &grpc.UnaryServerInfo{ 7660 Server: srv, 7661 FullMethod: "/google.storage.v1.Storage/GetObjectAccessControl", 7662 } 7663 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7664 return srv.(StorageServer).GetObjectAccessControl(ctx, req.(*GetObjectAccessControlRequest)) 7665 } 7666 return interceptor(ctx, in, info, handler) 7667} 7668 7669func _Storage_InsertObjectAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7670 in := new(InsertObjectAccessControlRequest) 7671 if err := dec(in); err != nil { 7672 return nil, err 7673 } 7674 if interceptor == nil { 7675 return srv.(StorageServer).InsertObjectAccessControl(ctx, in) 7676 } 7677 info := &grpc.UnaryServerInfo{ 7678 Server: srv, 7679 FullMethod: "/google.storage.v1.Storage/InsertObjectAccessControl", 7680 } 7681 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7682 return srv.(StorageServer).InsertObjectAccessControl(ctx, req.(*InsertObjectAccessControlRequest)) 7683 } 7684 return interceptor(ctx, in, info, handler) 7685} 7686 7687func _Storage_ListObjectAccessControls_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7688 in := new(ListObjectAccessControlsRequest) 7689 if err := dec(in); err != nil { 7690 return nil, err 7691 } 7692 if interceptor == nil { 7693 return srv.(StorageServer).ListObjectAccessControls(ctx, in) 7694 } 7695 info := &grpc.UnaryServerInfo{ 7696 Server: srv, 7697 FullMethod: "/google.storage.v1.Storage/ListObjectAccessControls", 7698 } 7699 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7700 return srv.(StorageServer).ListObjectAccessControls(ctx, req.(*ListObjectAccessControlsRequest)) 7701 } 7702 return interceptor(ctx, in, info, handler) 7703} 7704 7705func _Storage_PatchObjectAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7706 in := new(PatchObjectAccessControlRequest) 7707 if err := dec(in); err != nil { 7708 return nil, err 7709 } 7710 if interceptor == nil { 7711 return srv.(StorageServer).PatchObjectAccessControl(ctx, in) 7712 } 7713 info := &grpc.UnaryServerInfo{ 7714 Server: srv, 7715 FullMethod: "/google.storage.v1.Storage/PatchObjectAccessControl", 7716 } 7717 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7718 return srv.(StorageServer).PatchObjectAccessControl(ctx, req.(*PatchObjectAccessControlRequest)) 7719 } 7720 return interceptor(ctx, in, info, handler) 7721} 7722 7723func _Storage_UpdateObjectAccessControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7724 in := new(UpdateObjectAccessControlRequest) 7725 if err := dec(in); err != nil { 7726 return nil, err 7727 } 7728 if interceptor == nil { 7729 return srv.(StorageServer).UpdateObjectAccessControl(ctx, in) 7730 } 7731 info := &grpc.UnaryServerInfo{ 7732 Server: srv, 7733 FullMethod: "/google.storage.v1.Storage/UpdateObjectAccessControl", 7734 } 7735 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7736 return srv.(StorageServer).UpdateObjectAccessControl(ctx, req.(*UpdateObjectAccessControlRequest)) 7737 } 7738 return interceptor(ctx, in, info, handler) 7739} 7740 7741func _Storage_ComposeObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7742 in := new(ComposeObjectRequest) 7743 if err := dec(in); err != nil { 7744 return nil, err 7745 } 7746 if interceptor == nil { 7747 return srv.(StorageServer).ComposeObject(ctx, in) 7748 } 7749 info := &grpc.UnaryServerInfo{ 7750 Server: srv, 7751 FullMethod: "/google.storage.v1.Storage/ComposeObject", 7752 } 7753 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7754 return srv.(StorageServer).ComposeObject(ctx, req.(*ComposeObjectRequest)) 7755 } 7756 return interceptor(ctx, in, info, handler) 7757} 7758 7759func _Storage_CopyObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7760 in := new(CopyObjectRequest) 7761 if err := dec(in); err != nil { 7762 return nil, err 7763 } 7764 if interceptor == nil { 7765 return srv.(StorageServer).CopyObject(ctx, in) 7766 } 7767 info := &grpc.UnaryServerInfo{ 7768 Server: srv, 7769 FullMethod: "/google.storage.v1.Storage/CopyObject", 7770 } 7771 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7772 return srv.(StorageServer).CopyObject(ctx, req.(*CopyObjectRequest)) 7773 } 7774 return interceptor(ctx, in, info, handler) 7775} 7776 7777func _Storage_DeleteObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7778 in := new(DeleteObjectRequest) 7779 if err := dec(in); err != nil { 7780 return nil, err 7781 } 7782 if interceptor == nil { 7783 return srv.(StorageServer).DeleteObject(ctx, in) 7784 } 7785 info := &grpc.UnaryServerInfo{ 7786 Server: srv, 7787 FullMethod: "/google.storage.v1.Storage/DeleteObject", 7788 } 7789 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7790 return srv.(StorageServer).DeleteObject(ctx, req.(*DeleteObjectRequest)) 7791 } 7792 return interceptor(ctx, in, info, handler) 7793} 7794 7795func _Storage_GetObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7796 in := new(GetObjectRequest) 7797 if err := dec(in); err != nil { 7798 return nil, err 7799 } 7800 if interceptor == nil { 7801 return srv.(StorageServer).GetObject(ctx, in) 7802 } 7803 info := &grpc.UnaryServerInfo{ 7804 Server: srv, 7805 FullMethod: "/google.storage.v1.Storage/GetObject", 7806 } 7807 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7808 return srv.(StorageServer).GetObject(ctx, req.(*GetObjectRequest)) 7809 } 7810 return interceptor(ctx, in, info, handler) 7811} 7812 7813func _Storage_GetObjectMedia_Handler(srv interface{}, stream grpc.ServerStream) error { 7814 m := new(GetObjectMediaRequest) 7815 if err := stream.RecvMsg(m); err != nil { 7816 return err 7817 } 7818 return srv.(StorageServer).GetObjectMedia(m, &storageGetObjectMediaServer{stream}) 7819} 7820 7821type Storage_GetObjectMediaServer interface { 7822 Send(*GetObjectMediaResponse) error 7823 grpc.ServerStream 7824} 7825 7826type storageGetObjectMediaServer struct { 7827 grpc.ServerStream 7828} 7829 7830func (x *storageGetObjectMediaServer) Send(m *GetObjectMediaResponse) error { 7831 return x.ServerStream.SendMsg(m) 7832} 7833 7834func _Storage_InsertObject_Handler(srv interface{}, stream grpc.ServerStream) error { 7835 return srv.(StorageServer).InsertObject(&storageInsertObjectServer{stream}) 7836} 7837 7838type Storage_InsertObjectServer interface { 7839 SendAndClose(*Object) error 7840 Recv() (*InsertObjectRequest, error) 7841 grpc.ServerStream 7842} 7843 7844type storageInsertObjectServer struct { 7845 grpc.ServerStream 7846} 7847 7848func (x *storageInsertObjectServer) SendAndClose(m *Object) error { 7849 return x.ServerStream.SendMsg(m) 7850} 7851 7852func (x *storageInsertObjectServer) Recv() (*InsertObjectRequest, error) { 7853 m := new(InsertObjectRequest) 7854 if err := x.ServerStream.RecvMsg(m); err != nil { 7855 return nil, err 7856 } 7857 return m, nil 7858} 7859 7860func _Storage_ListObjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7861 in := new(ListObjectsRequest) 7862 if err := dec(in); err != nil { 7863 return nil, err 7864 } 7865 if interceptor == nil { 7866 return srv.(StorageServer).ListObjects(ctx, in) 7867 } 7868 info := &grpc.UnaryServerInfo{ 7869 Server: srv, 7870 FullMethod: "/google.storage.v1.Storage/ListObjects", 7871 } 7872 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7873 return srv.(StorageServer).ListObjects(ctx, req.(*ListObjectsRequest)) 7874 } 7875 return interceptor(ctx, in, info, handler) 7876} 7877 7878func _Storage_RewriteObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7879 in := new(RewriteObjectRequest) 7880 if err := dec(in); err != nil { 7881 return nil, err 7882 } 7883 if interceptor == nil { 7884 return srv.(StorageServer).RewriteObject(ctx, in) 7885 } 7886 info := &grpc.UnaryServerInfo{ 7887 Server: srv, 7888 FullMethod: "/google.storage.v1.Storage/RewriteObject", 7889 } 7890 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7891 return srv.(StorageServer).RewriteObject(ctx, req.(*RewriteObjectRequest)) 7892 } 7893 return interceptor(ctx, in, info, handler) 7894} 7895 7896func _Storage_StartResumableWrite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7897 in := new(StartResumableWriteRequest) 7898 if err := dec(in); err != nil { 7899 return nil, err 7900 } 7901 if interceptor == nil { 7902 return srv.(StorageServer).StartResumableWrite(ctx, in) 7903 } 7904 info := &grpc.UnaryServerInfo{ 7905 Server: srv, 7906 FullMethod: "/google.storage.v1.Storage/StartResumableWrite", 7907 } 7908 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7909 return srv.(StorageServer).StartResumableWrite(ctx, req.(*StartResumableWriteRequest)) 7910 } 7911 return interceptor(ctx, in, info, handler) 7912} 7913 7914func _Storage_QueryWriteStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7915 in := new(QueryWriteStatusRequest) 7916 if err := dec(in); err != nil { 7917 return nil, err 7918 } 7919 if interceptor == nil { 7920 return srv.(StorageServer).QueryWriteStatus(ctx, in) 7921 } 7922 info := &grpc.UnaryServerInfo{ 7923 Server: srv, 7924 FullMethod: "/google.storage.v1.Storage/QueryWriteStatus", 7925 } 7926 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7927 return srv.(StorageServer).QueryWriteStatus(ctx, req.(*QueryWriteStatusRequest)) 7928 } 7929 return interceptor(ctx, in, info, handler) 7930} 7931 7932func _Storage_PatchObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7933 in := new(PatchObjectRequest) 7934 if err := dec(in); err != nil { 7935 return nil, err 7936 } 7937 if interceptor == nil { 7938 return srv.(StorageServer).PatchObject(ctx, in) 7939 } 7940 info := &grpc.UnaryServerInfo{ 7941 Server: srv, 7942 FullMethod: "/google.storage.v1.Storage/PatchObject", 7943 } 7944 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7945 return srv.(StorageServer).PatchObject(ctx, req.(*PatchObjectRequest)) 7946 } 7947 return interceptor(ctx, in, info, handler) 7948} 7949 7950func _Storage_UpdateObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7951 in := new(UpdateObjectRequest) 7952 if err := dec(in); err != nil { 7953 return nil, err 7954 } 7955 if interceptor == nil { 7956 return srv.(StorageServer).UpdateObject(ctx, in) 7957 } 7958 info := &grpc.UnaryServerInfo{ 7959 Server: srv, 7960 FullMethod: "/google.storage.v1.Storage/UpdateObject", 7961 } 7962 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7963 return srv.(StorageServer).UpdateObject(ctx, req.(*UpdateObjectRequest)) 7964 } 7965 return interceptor(ctx, in, info, handler) 7966} 7967 7968func _Storage_GetObjectIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7969 in := new(GetIamPolicyRequest) 7970 if err := dec(in); err != nil { 7971 return nil, err 7972 } 7973 if interceptor == nil { 7974 return srv.(StorageServer).GetObjectIamPolicy(ctx, in) 7975 } 7976 info := &grpc.UnaryServerInfo{ 7977 Server: srv, 7978 FullMethod: "/google.storage.v1.Storage/GetObjectIamPolicy", 7979 } 7980 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7981 return srv.(StorageServer).GetObjectIamPolicy(ctx, req.(*GetIamPolicyRequest)) 7982 } 7983 return interceptor(ctx, in, info, handler) 7984} 7985 7986func _Storage_SetObjectIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 7987 in := new(SetIamPolicyRequest) 7988 if err := dec(in); err != nil { 7989 return nil, err 7990 } 7991 if interceptor == nil { 7992 return srv.(StorageServer).SetObjectIamPolicy(ctx, in) 7993 } 7994 info := &grpc.UnaryServerInfo{ 7995 Server: srv, 7996 FullMethod: "/google.storage.v1.Storage/SetObjectIamPolicy", 7997 } 7998 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 7999 return srv.(StorageServer).SetObjectIamPolicy(ctx, req.(*SetIamPolicyRequest)) 8000 } 8001 return interceptor(ctx, in, info, handler) 8002} 8003 8004func _Storage_TestObjectIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 8005 in := new(TestIamPermissionsRequest) 8006 if err := dec(in); err != nil { 8007 return nil, err 8008 } 8009 if interceptor == nil { 8010 return srv.(StorageServer).TestObjectIamPermissions(ctx, in) 8011 } 8012 info := &grpc.UnaryServerInfo{ 8013 Server: srv, 8014 FullMethod: "/google.storage.v1.Storage/TestObjectIamPermissions", 8015 } 8016 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 8017 return srv.(StorageServer).TestObjectIamPermissions(ctx, req.(*TestIamPermissionsRequest)) 8018 } 8019 return interceptor(ctx, in, info, handler) 8020} 8021 8022func _Storage_WatchAllObjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 8023 in := new(WatchAllObjectsRequest) 8024 if err := dec(in); err != nil { 8025 return nil, err 8026 } 8027 if interceptor == nil { 8028 return srv.(StorageServer).WatchAllObjects(ctx, in) 8029 } 8030 info := &grpc.UnaryServerInfo{ 8031 Server: srv, 8032 FullMethod: "/google.storage.v1.Storage/WatchAllObjects", 8033 } 8034 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 8035 return srv.(StorageServer).WatchAllObjects(ctx, req.(*WatchAllObjectsRequest)) 8036 } 8037 return interceptor(ctx, in, info, handler) 8038} 8039 8040func _Storage_GetServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 8041 in := new(GetProjectServiceAccountRequest) 8042 if err := dec(in); err != nil { 8043 return nil, err 8044 } 8045 if interceptor == nil { 8046 return srv.(StorageServer).GetServiceAccount(ctx, in) 8047 } 8048 info := &grpc.UnaryServerInfo{ 8049 Server: srv, 8050 FullMethod: "/google.storage.v1.Storage/GetServiceAccount", 8051 } 8052 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 8053 return srv.(StorageServer).GetServiceAccount(ctx, req.(*GetProjectServiceAccountRequest)) 8054 } 8055 return interceptor(ctx, in, info, handler) 8056} 8057 8058func _Storage_CreateHmacKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 8059 in := new(CreateHmacKeyRequest) 8060 if err := dec(in); err != nil { 8061 return nil, err 8062 } 8063 if interceptor == nil { 8064 return srv.(StorageServer).CreateHmacKey(ctx, in) 8065 } 8066 info := &grpc.UnaryServerInfo{ 8067 Server: srv, 8068 FullMethod: "/google.storage.v1.Storage/CreateHmacKey", 8069 } 8070 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 8071 return srv.(StorageServer).CreateHmacKey(ctx, req.(*CreateHmacKeyRequest)) 8072 } 8073 return interceptor(ctx, in, info, handler) 8074} 8075 8076func _Storage_DeleteHmacKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 8077 in := new(DeleteHmacKeyRequest) 8078 if err := dec(in); err != nil { 8079 return nil, err 8080 } 8081 if interceptor == nil { 8082 return srv.(StorageServer).DeleteHmacKey(ctx, in) 8083 } 8084 info := &grpc.UnaryServerInfo{ 8085 Server: srv, 8086 FullMethod: "/google.storage.v1.Storage/DeleteHmacKey", 8087 } 8088 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 8089 return srv.(StorageServer).DeleteHmacKey(ctx, req.(*DeleteHmacKeyRequest)) 8090 } 8091 return interceptor(ctx, in, info, handler) 8092} 8093 8094func _Storage_GetHmacKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 8095 in := new(GetHmacKeyRequest) 8096 if err := dec(in); err != nil { 8097 return nil, err 8098 } 8099 if interceptor == nil { 8100 return srv.(StorageServer).GetHmacKey(ctx, in) 8101 } 8102 info := &grpc.UnaryServerInfo{ 8103 Server: srv, 8104 FullMethod: "/google.storage.v1.Storage/GetHmacKey", 8105 } 8106 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 8107 return srv.(StorageServer).GetHmacKey(ctx, req.(*GetHmacKeyRequest)) 8108 } 8109 return interceptor(ctx, in, info, handler) 8110} 8111 8112func _Storage_ListHmacKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 8113 in := new(ListHmacKeysRequest) 8114 if err := dec(in); err != nil { 8115 return nil, err 8116 } 8117 if interceptor == nil { 8118 return srv.(StorageServer).ListHmacKeys(ctx, in) 8119 } 8120 info := &grpc.UnaryServerInfo{ 8121 Server: srv, 8122 FullMethod: "/google.storage.v1.Storage/ListHmacKeys", 8123 } 8124 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 8125 return srv.(StorageServer).ListHmacKeys(ctx, req.(*ListHmacKeysRequest)) 8126 } 8127 return interceptor(ctx, in, info, handler) 8128} 8129 8130func _Storage_UpdateHmacKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 8131 in := new(UpdateHmacKeyRequest) 8132 if err := dec(in); err != nil { 8133 return nil, err 8134 } 8135 if interceptor == nil { 8136 return srv.(StorageServer).UpdateHmacKey(ctx, in) 8137 } 8138 info := &grpc.UnaryServerInfo{ 8139 Server: srv, 8140 FullMethod: "/google.storage.v1.Storage/UpdateHmacKey", 8141 } 8142 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 8143 return srv.(StorageServer).UpdateHmacKey(ctx, req.(*UpdateHmacKeyRequest)) 8144 } 8145 return interceptor(ctx, in, info, handler) 8146} 8147 8148var _Storage_serviceDesc = grpc.ServiceDesc{ 8149 ServiceName: "google.storage.v1.Storage", 8150 HandlerType: (*StorageServer)(nil), 8151 Methods: []grpc.MethodDesc{ 8152 { 8153 MethodName: "DeleteBucketAccessControl", 8154 Handler: _Storage_DeleteBucketAccessControl_Handler, 8155 }, 8156 { 8157 MethodName: "GetBucketAccessControl", 8158 Handler: _Storage_GetBucketAccessControl_Handler, 8159 }, 8160 { 8161 MethodName: "InsertBucketAccessControl", 8162 Handler: _Storage_InsertBucketAccessControl_Handler, 8163 }, 8164 { 8165 MethodName: "ListBucketAccessControls", 8166 Handler: _Storage_ListBucketAccessControls_Handler, 8167 }, 8168 { 8169 MethodName: "UpdateBucketAccessControl", 8170 Handler: _Storage_UpdateBucketAccessControl_Handler, 8171 }, 8172 { 8173 MethodName: "PatchBucketAccessControl", 8174 Handler: _Storage_PatchBucketAccessControl_Handler, 8175 }, 8176 { 8177 MethodName: "DeleteBucket", 8178 Handler: _Storage_DeleteBucket_Handler, 8179 }, 8180 { 8181 MethodName: "GetBucket", 8182 Handler: _Storage_GetBucket_Handler, 8183 }, 8184 { 8185 MethodName: "InsertBucket", 8186 Handler: _Storage_InsertBucket_Handler, 8187 }, 8188 { 8189 MethodName: "ListChannels", 8190 Handler: _Storage_ListChannels_Handler, 8191 }, 8192 { 8193 MethodName: "ListBuckets", 8194 Handler: _Storage_ListBuckets_Handler, 8195 }, 8196 { 8197 MethodName: "LockBucketRetentionPolicy", 8198 Handler: _Storage_LockBucketRetentionPolicy_Handler, 8199 }, 8200 { 8201 MethodName: "GetBucketIamPolicy", 8202 Handler: _Storage_GetBucketIamPolicy_Handler, 8203 }, 8204 { 8205 MethodName: "SetBucketIamPolicy", 8206 Handler: _Storage_SetBucketIamPolicy_Handler, 8207 }, 8208 { 8209 MethodName: "TestBucketIamPermissions", 8210 Handler: _Storage_TestBucketIamPermissions_Handler, 8211 }, 8212 { 8213 MethodName: "PatchBucket", 8214 Handler: _Storage_PatchBucket_Handler, 8215 }, 8216 { 8217 MethodName: "UpdateBucket", 8218 Handler: _Storage_UpdateBucket_Handler, 8219 }, 8220 { 8221 MethodName: "StopChannel", 8222 Handler: _Storage_StopChannel_Handler, 8223 }, 8224 { 8225 MethodName: "DeleteDefaultObjectAccessControl", 8226 Handler: _Storage_DeleteDefaultObjectAccessControl_Handler, 8227 }, 8228 { 8229 MethodName: "GetDefaultObjectAccessControl", 8230 Handler: _Storage_GetDefaultObjectAccessControl_Handler, 8231 }, 8232 { 8233 MethodName: "InsertDefaultObjectAccessControl", 8234 Handler: _Storage_InsertDefaultObjectAccessControl_Handler, 8235 }, 8236 { 8237 MethodName: "ListDefaultObjectAccessControls", 8238 Handler: _Storage_ListDefaultObjectAccessControls_Handler, 8239 }, 8240 { 8241 MethodName: "PatchDefaultObjectAccessControl", 8242 Handler: _Storage_PatchDefaultObjectAccessControl_Handler, 8243 }, 8244 { 8245 MethodName: "UpdateDefaultObjectAccessControl", 8246 Handler: _Storage_UpdateDefaultObjectAccessControl_Handler, 8247 }, 8248 { 8249 MethodName: "DeleteNotification", 8250 Handler: _Storage_DeleteNotification_Handler, 8251 }, 8252 { 8253 MethodName: "GetNotification", 8254 Handler: _Storage_GetNotification_Handler, 8255 }, 8256 { 8257 MethodName: "InsertNotification", 8258 Handler: _Storage_InsertNotification_Handler, 8259 }, 8260 { 8261 MethodName: "ListNotifications", 8262 Handler: _Storage_ListNotifications_Handler, 8263 }, 8264 { 8265 MethodName: "DeleteObjectAccessControl", 8266 Handler: _Storage_DeleteObjectAccessControl_Handler, 8267 }, 8268 { 8269 MethodName: "GetObjectAccessControl", 8270 Handler: _Storage_GetObjectAccessControl_Handler, 8271 }, 8272 { 8273 MethodName: "InsertObjectAccessControl", 8274 Handler: _Storage_InsertObjectAccessControl_Handler, 8275 }, 8276 { 8277 MethodName: "ListObjectAccessControls", 8278 Handler: _Storage_ListObjectAccessControls_Handler, 8279 }, 8280 { 8281 MethodName: "PatchObjectAccessControl", 8282 Handler: _Storage_PatchObjectAccessControl_Handler, 8283 }, 8284 { 8285 MethodName: "UpdateObjectAccessControl", 8286 Handler: _Storage_UpdateObjectAccessControl_Handler, 8287 }, 8288 { 8289 MethodName: "ComposeObject", 8290 Handler: _Storage_ComposeObject_Handler, 8291 }, 8292 { 8293 MethodName: "CopyObject", 8294 Handler: _Storage_CopyObject_Handler, 8295 }, 8296 { 8297 MethodName: "DeleteObject", 8298 Handler: _Storage_DeleteObject_Handler, 8299 }, 8300 { 8301 MethodName: "GetObject", 8302 Handler: _Storage_GetObject_Handler, 8303 }, 8304 { 8305 MethodName: "ListObjects", 8306 Handler: _Storage_ListObjects_Handler, 8307 }, 8308 { 8309 MethodName: "RewriteObject", 8310 Handler: _Storage_RewriteObject_Handler, 8311 }, 8312 { 8313 MethodName: "StartResumableWrite", 8314 Handler: _Storage_StartResumableWrite_Handler, 8315 }, 8316 { 8317 MethodName: "QueryWriteStatus", 8318 Handler: _Storage_QueryWriteStatus_Handler, 8319 }, 8320 { 8321 MethodName: "PatchObject", 8322 Handler: _Storage_PatchObject_Handler, 8323 }, 8324 { 8325 MethodName: "UpdateObject", 8326 Handler: _Storage_UpdateObject_Handler, 8327 }, 8328 { 8329 MethodName: "GetObjectIamPolicy", 8330 Handler: _Storage_GetObjectIamPolicy_Handler, 8331 }, 8332 { 8333 MethodName: "SetObjectIamPolicy", 8334 Handler: _Storage_SetObjectIamPolicy_Handler, 8335 }, 8336 { 8337 MethodName: "TestObjectIamPermissions", 8338 Handler: _Storage_TestObjectIamPermissions_Handler, 8339 }, 8340 { 8341 MethodName: "WatchAllObjects", 8342 Handler: _Storage_WatchAllObjects_Handler, 8343 }, 8344 { 8345 MethodName: "GetServiceAccount", 8346 Handler: _Storage_GetServiceAccount_Handler, 8347 }, 8348 { 8349 MethodName: "CreateHmacKey", 8350 Handler: _Storage_CreateHmacKey_Handler, 8351 }, 8352 { 8353 MethodName: "DeleteHmacKey", 8354 Handler: _Storage_DeleteHmacKey_Handler, 8355 }, 8356 { 8357 MethodName: "GetHmacKey", 8358 Handler: _Storage_GetHmacKey_Handler, 8359 }, 8360 { 8361 MethodName: "ListHmacKeys", 8362 Handler: _Storage_ListHmacKeys_Handler, 8363 }, 8364 { 8365 MethodName: "UpdateHmacKey", 8366 Handler: _Storage_UpdateHmacKey_Handler, 8367 }, 8368 }, 8369 Streams: []grpc.StreamDesc{ 8370 { 8371 StreamName: "GetObjectMedia", 8372 Handler: _Storage_GetObjectMedia_Handler, 8373 ServerStreams: true, 8374 }, 8375 { 8376 StreamName: "InsertObject", 8377 Handler: _Storage_InsertObject_Handler, 8378 ClientStreams: true, 8379 }, 8380 }, 8381 Metadata: "google/storage/v1/storage.proto", 8382} 8383