// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.31.0
// source: google/storage/v2/storage.proto

package storagepb

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	iampb "cloud.google.com/go/iam/apiv1/iampb"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	status "google.golang.org/genproto/googleapis/rpc/status"
	date "google.golang.org/genproto/googleapis/type/date"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// A collection of constant values meaningful to the Storage API.
type ServiceConstants_Values int32

const (
	// Unused. Proto3 requires first enum to be 0.
	ServiceConstants_VALUES_UNSPECIFIED ServiceConstants_Values = 0
	// The maximum size chunk that can be returned in a single
	// `ReadRequest`.
	// 2 MiB.
	ServiceConstants_MAX_READ_CHUNK_BYTES ServiceConstants_Values = 2097152
	// The maximum size chunk that can be sent in a single WriteObjectRequest.
	// 2 MiB.
	ServiceConstants_MAX_WRITE_CHUNK_BYTES ServiceConstants_Values = 2097152
	// The maximum size of an object in MB - whether written in a single stream
	// or composed from multiple other objects.
	// 5 TiB.
	ServiceConstants_MAX_OBJECT_SIZE_MB ServiceConstants_Values = 5242880
	// The maximum length field name that can be sent in a single
	// custom metadata field.
	// 1 KiB.
	ServiceConstants_MAX_CUSTOM_METADATA_FIELD_NAME_BYTES ServiceConstants_Values = 1024
	// The maximum length field value that can be sent in a single
	// custom_metadata field.
	// 4 KiB.
	ServiceConstants_MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES ServiceConstants_Values = 4096
	// The maximum total bytes that can be populated into all field names and
	// values of the custom_metadata for one object.
	// 8 KiB.
	ServiceConstants_MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES ServiceConstants_Values = 8192
	// The maximum total bytes that can be populated into all bucket metadata
	// fields.
	// 20 KiB.
	ServiceConstants_MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES ServiceConstants_Values = 20480
	// The maximum number of NotificationConfigs that can be registered
	// for a given bucket.
	ServiceConstants_MAX_NOTIFICATION_CONFIGS_PER_BUCKET ServiceConstants_Values = 100
	// The maximum number of LifecycleRules that can be registered for a given
	// bucket.
	ServiceConstants_MAX_LIFECYCLE_RULES_PER_BUCKET ServiceConstants_Values = 100
	// The maximum number of custom attributes per NotificationConfigs.
	ServiceConstants_MAX_NOTIFICATION_CUSTOM_ATTRIBUTES ServiceConstants_Values = 5
	// The maximum length of a custom attribute key included in
	// NotificationConfig.
	ServiceConstants_MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH ServiceConstants_Values = 256
	// The maximum length of a custom attribute value included in a
	// NotificationConfig.
	ServiceConstants_MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH ServiceConstants_Values = 1024
	// The maximum number of key/value entries per bucket label.
	ServiceConstants_MAX_LABELS_ENTRIES_COUNT ServiceConstants_Values = 64
	// The maximum character length of the key or value in a bucket
	// label map.
	ServiceConstants_MAX_LABELS_KEY_VALUE_LENGTH ServiceConstants_Values = 63
	// The maximum byte size of the key or value in a bucket label
	// map.
	ServiceConstants_MAX_LABELS_KEY_VALUE_BYTES ServiceConstants_Values = 128
	// The maximum number of object IDs that can be included in a
	// DeleteObjectsRequest.
	ServiceConstants_MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST ServiceConstants_Values = 1000
	// The maximum number of days for which a token returned by the
	// GetListObjectsSplitPoints RPC is valid.
	ServiceConstants_SPLIT_TOKEN_MAX_VALID_DAYS ServiceConstants_Values = 14
)

// Enum value maps for ServiceConstants_Values.
var (
	ServiceConstants_Values_name = map[int32]string{
		0:       "VALUES_UNSPECIFIED",
		2097152: "MAX_READ_CHUNK_BYTES",
		// Duplicate value: 2097152: "MAX_WRITE_CHUNK_BYTES",
		5242880: "MAX_OBJECT_SIZE_MB",
		1024:    "MAX_CUSTOM_METADATA_FIELD_NAME_BYTES",
		4096:    "MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES",
		8192:    "MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES",
		20480:   "MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES",
		100:     "MAX_NOTIFICATION_CONFIGS_PER_BUCKET",
		// Duplicate value: 100: "MAX_LIFECYCLE_RULES_PER_BUCKET",
		5:   "MAX_NOTIFICATION_CUSTOM_ATTRIBUTES",
		256: "MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH",
		// Duplicate value: 1024: "MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH",
		64:   "MAX_LABELS_ENTRIES_COUNT",
		63:   "MAX_LABELS_KEY_VALUE_LENGTH",
		128:  "MAX_LABELS_KEY_VALUE_BYTES",
		1000: "MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST",
		14:   "SPLIT_TOKEN_MAX_VALID_DAYS",
	}
	ServiceConstants_Values_value = map[string]int32{
		"VALUES_UNSPECIFIED":                             0,
		"MAX_READ_CHUNK_BYTES":                           2097152,
		"MAX_WRITE_CHUNK_BYTES":                          2097152,
		"MAX_OBJECT_SIZE_MB":                             5242880,
		"MAX_CUSTOM_METADATA_FIELD_NAME_BYTES":           1024,
		"MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES":          4096,
		"MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES":           8192,
		"MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES":           20480,
		"MAX_NOTIFICATION_CONFIGS_PER_BUCKET":            100,
		"MAX_LIFECYCLE_RULES_PER_BUCKET":                 100,
		"MAX_NOTIFICATION_CUSTOM_ATTRIBUTES":             5,
		"MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH":   256,
		"MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH": 1024,
		"MAX_LABELS_ENTRIES_COUNT":                       64,
		"MAX_LABELS_KEY_VALUE_LENGTH":                    63,
		"MAX_LABELS_KEY_VALUE_BYTES":                     128,
		"MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST":      1000,
		"SPLIT_TOKEN_MAX_VALID_DAYS":                     14,
	}
)

func (x ServiceConstants_Values) Enum() *ServiceConstants_Values {
	p := new(ServiceConstants_Values)
	*p = x
	return p
}

func (x ServiceConstants_Values) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (ServiceConstants_Values) Descriptor() protoreflect.EnumDescriptor {
	return file_google_storage_v2_storage_proto_enumTypes[0].Descriptor()
}

func (ServiceConstants_Values) Type() protoreflect.EnumType {
	return &file_google_storage_v2_storage_proto_enumTypes[0]
}

func (x ServiceConstants_Values) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use ServiceConstants_Values.Descriptor instead.
func (ServiceConstants_Values) EnumDescriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{42, 0}
}

// Retention mode values.
type Object_Retention_Mode int32

const (
	// No specified mode. Object is not under retention.
	Object_Retention_MODE_UNSPECIFIED Object_Retention_Mode = 0
	// Retention period might be decreased or increased.
	// The Retention configuration might be removed.
	// The mode might be changed to locked.
	Object_Retention_UNLOCKED Object_Retention_Mode = 1
	// Retention period might be increased.
	// The Retention configuration cannot be removed.
	// The mode cannot be changed.
	Object_Retention_LOCKED Object_Retention_Mode = 2
)

// Enum value maps for Object_Retention_Mode.
var (
	Object_Retention_Mode_name = map[int32]string{
		0: "MODE_UNSPECIFIED",
		1: "UNLOCKED",
		2: "LOCKED",
	}
	Object_Retention_Mode_value = map[string]int32{
		"MODE_UNSPECIFIED": 0,
		"UNLOCKED":         1,
		"LOCKED":           2,
	}
)

func (x Object_Retention_Mode) Enum() *Object_Retention_Mode {
	p := new(Object_Retention_Mode)
	*p = x
	return p
}

func (x Object_Retention_Mode) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Object_Retention_Mode) Descriptor() protoreflect.EnumDescriptor {
	return file_google_storage_v2_storage_proto_enumTypes[1].Descriptor()
}

func (Object_Retention_Mode) Type() protoreflect.EnumType {
	return &file_google_storage_v2_storage_proto_enumTypes[1]
}

func (x Object_Retention_Mode) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Object_Retention_Mode.Descriptor instead.
func (Object_Retention_Mode) EnumDescriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{50, 0, 0}
}

// Request message for [DeleteBucket][google.storage.v2.Storage.DeleteBucket].
type DeleteBucketRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Name of a bucket to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If set, only deletes the bucket if its metageneration matches this value.
	IfMetagenerationMatch *int64 `protobuf:"varint,2,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// If set, only deletes the bucket if its metageneration does not match this
	// value.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,3,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

func (x *DeleteBucketRequest) Reset() {
	*x = DeleteBucketRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DeleteBucketRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DeleteBucketRequest) ProtoMessage() {}

func (x *DeleteBucketRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DeleteBucketRequest.ProtoReflect.Descriptor instead.
func (*DeleteBucketRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{0}
}

func (x *DeleteBucketRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *DeleteBucketRequest) GetIfMetagenerationMatch() int64 {
	if x != nil && x.IfMetagenerationMatch != nil {
		return *x.IfMetagenerationMatch
	}
	return 0
}

func (x *DeleteBucketRequest) GetIfMetagenerationNotMatch() int64 {
	if x != nil && x.IfMetagenerationNotMatch != nil {
		return *x.IfMetagenerationNotMatch
	}
	return 0
}

// Request message for [GetBucket][google.storage.v2.Storage.GetBucket].
type GetBucketRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Name of a bucket.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If set, only gets the bucket metadata if its metageneration matches this
	// value.
	IfMetagenerationMatch *int64 `protobuf:"varint,2,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// If set, and if the bucket's current metageneration matches the specified
	// value, the request returns an error.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,3,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// Mask specifying which fields to read.
	// A `*` field might be used to indicate all fields.
	// If no mask is specified, it defaults to all fields.
	ReadMask      *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3,oneof" json:"read_mask,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetBucketRequest) Reset() {
	*x = GetBucketRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetBucketRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetBucketRequest) ProtoMessage() {}

func (x *GetBucketRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetBucketRequest.ProtoReflect.Descriptor instead.
func (*GetBucketRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{1}
}

func (x *GetBucketRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *GetBucketRequest) GetIfMetagenerationMatch() int64 {
	if x != nil && x.IfMetagenerationMatch != nil {
		return *x.IfMetagenerationMatch
	}
	return 0
}

func (x *GetBucketRequest) GetIfMetagenerationNotMatch() int64 {
	if x != nil && x.IfMetagenerationNotMatch != nil {
		return *x.IfMetagenerationNotMatch
	}
	return 0
}

func (x *GetBucketRequest) GetReadMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.ReadMask
	}
	return nil
}

// Request message for [CreateBucket][google.storage.v2.Storage.CreateBucket].
type CreateBucketRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The project to which this bucket belongs. This field must either
	// be empty or `projects/_`. The project ID that owns this bucket should be
	// specified in the `bucket.project` field.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Properties of the new bucket being inserted.
	// The name of the bucket is specified in the `bucket_id` field. Populating
	// `bucket.name` field results in an error.
	// The project of the bucket must be specified in the `bucket.project` field.
	// This field must be in `projects/{projectIdentifier}` format,
	// {projectIdentifier} can be the project ID or project number. The `parent`
	// field must be either empty or `projects/_`.
	Bucket *Bucket `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The ID to use for this bucket, which becomes the final component
	// of the bucket's resource name. For example, the value `foo` might result in
	// a bucket with the name `projects/123456/buckets/foo`.
	BucketId string `protobuf:"bytes,3,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
	// Optional. Apply a predefined set of access controls to this bucket.
	// Valid values are `authenticatedRead`, `private`, `projectPrivate`,
	// `publicRead`, or `publicReadWrite`.
	PredefinedAcl string `protobuf:"bytes,6,opt,name=predefined_acl,json=predefinedAcl,proto3" json:"predefined_acl,omitempty"`
	// Optional. Apply a predefined set of default object access controls to this
	// bucket. Valid values are `authenticatedRead`, `bucketOwnerFullControl`,
	// `bucketOwnerRead`, `private`, `projectPrivate`, or `publicRead`.
	PredefinedDefaultObjectAcl string `protobuf:"bytes,7,opt,name=predefined_default_object_acl,json=predefinedDefaultObjectAcl,proto3" json:"predefined_default_object_acl,omitempty"`
	// Optional. If true, enable object retention on the bucket.
	EnableObjectRetention bool `protobuf:"varint,9,opt,name=enable_object_retention,json=enableObjectRetention,proto3" json:"enable_object_retention,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

func (x *CreateBucketRequest) Reset() {
	*x = CreateBucketRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreateBucketRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateBucketRequest) ProtoMessage() {}

func (x *CreateBucketRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CreateBucketRequest.ProtoReflect.Descriptor instead.
func (*CreateBucketRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{2}
}

func (x *CreateBucketRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *CreateBucketRequest) GetBucket() *Bucket {
	if x != nil {
		return x.Bucket
	}
	return nil
}

func (x *CreateBucketRequest) GetBucketId() string {
	if x != nil {
		return x.BucketId
	}
	return ""
}

func (x *CreateBucketRequest) GetPredefinedAcl() string {
	if x != nil {
		return x.PredefinedAcl
	}
	return ""
}

func (x *CreateBucketRequest) GetPredefinedDefaultObjectAcl() string {
	if x != nil {
		return x.PredefinedDefaultObjectAcl
	}
	return ""
}

func (x *CreateBucketRequest) GetEnableObjectRetention() bool {
	if x != nil {
		return x.EnableObjectRetention
	}
	return false
}

// Request message for [ListBuckets][google.storage.v2.Storage.ListBuckets].
type ListBucketsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The project whose buckets we are listing.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Maximum number of buckets to return in a single response. The
	// service uses this parameter or `1,000` items, whichever is smaller. If
	// `acl` is present in the `read_mask`, the service uses this parameter of
	// `200` items, whichever is smaller.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A previously-returned page token representing part of the larger
	// set of results to view.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filter results to buckets whose names begin with this prefix.
	Prefix string `protobuf:"bytes,4,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Mask specifying which fields to read from each result.
	// If no mask is specified, it defaults to all fields except `items.
	// owner`, `items.acl`, and `items.default_object_acl`.
	// `*` might be used to mean "all fields".
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3,oneof" json:"read_mask,omitempty"`
	// Optional. Allows listing of buckets, even if there are buckets that are
	// unreachable.
	ReturnPartialSuccess bool `protobuf:"varint,9,opt,name=return_partial_success,json=returnPartialSuccess,proto3" json:"return_partial_success,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

func (x *ListBucketsRequest) Reset() {
	*x = ListBucketsRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListBucketsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListBucketsRequest) ProtoMessage() {}

func (x *ListBucketsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListBucketsRequest.ProtoReflect.Descriptor instead.
func (*ListBucketsRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{3}
}

func (x *ListBucketsRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *ListBucketsRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListBucketsRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

func (x *ListBucketsRequest) GetPrefix() string {
	if x != nil {
		return x.Prefix
	}
	return ""
}

func (x *ListBucketsRequest) GetReadMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.ReadMask
	}
	return nil
}

func (x *ListBucketsRequest) GetReturnPartialSuccess() bool {
	if x != nil {
		return x.ReturnPartialSuccess
	}
	return false
}

// Response message for [ListBuckets][google.storage.v2.Storage.ListBuckets].
type ListBucketsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The list of items.
	Buckets []*Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
	// The continuation token, used to page through large result sets. Provide
	// this value in a subsequent request to return the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Unreachable resources.
	// This field can only be present if the caller specified
	// return_partial_success to be true in the request to receive indications
	// of temporarily missing resources.
	// unreachable might be:
	// unreachable = [
	//
	//	"projects/_/buckets/bucket1",
	//	"projects/_/buckets/bucket2",
	//	"projects/_/buckets/bucket3",
	//
	// ]
	Unreachable   []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListBucketsResponse) Reset() {
	*x = ListBucketsResponse{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListBucketsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListBucketsResponse) ProtoMessage() {}

func (x *ListBucketsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListBucketsResponse.ProtoReflect.Descriptor instead.
func (*ListBucketsResponse) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{4}
}

func (x *ListBucketsResponse) GetBuckets() []*Bucket {
	if x != nil {
		return x.Buckets
	}
	return nil
}

func (x *ListBucketsResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

func (x *ListBucketsResponse) GetUnreachable() []string {
	if x != nil {
		return x.Unreachable
	}
	return nil
}

// Request message for
// [LockBucketRetentionPolicy][google.storage.v2.Storage.LockBucketRetentionPolicy].
type LockBucketRetentionPolicyRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. Makes the operation conditional on whether bucket's current
	// metageneration matches the given value. Must be positive.
	IfMetagenerationMatch int64 `protobuf:"varint,2,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

func (x *LockBucketRetentionPolicyRequest) Reset() {
	*x = LockBucketRetentionPolicyRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *LockBucketRetentionPolicyRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*LockBucketRetentionPolicyRequest) ProtoMessage() {}

func (x *LockBucketRetentionPolicyRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use LockBucketRetentionPolicyRequest.ProtoReflect.Descriptor instead.
func (*LockBucketRetentionPolicyRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{5}
}

func (x *LockBucketRetentionPolicyRequest) GetBucket() string {
	if x != nil {
		return x.Bucket
	}
	return ""
}

func (x *LockBucketRetentionPolicyRequest) GetIfMetagenerationMatch() int64 {
	if x != nil {
		return x.IfMetagenerationMatch
	}
	return 0
}

// Request for [UpdateBucket][google.storage.v2.Storage.UpdateBucket] method.
type UpdateBucketRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The bucket to update.
	// The bucket's `name` field is used to identify the bucket.
	Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// If set, the request modifies the bucket if its metageneration matches this
	// value.
	IfMetagenerationMatch *int64 `protobuf:"varint,2,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// If set, the request modifies the bucket if its metageneration doesn't
	// match this value.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,3,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// Optional. Apply a predefined set of access controls to this bucket.
	// Valid values are `authenticatedRead`, `private`, `projectPrivate`,
	// `publicRead`, or `publicReadWrite`.
	PredefinedAcl string `protobuf:"bytes,8,opt,name=predefined_acl,json=predefinedAcl,proto3" json:"predefined_acl,omitempty"`
	// Optional. Apply a predefined set of default object access controls to this
	// bucket. Valid values are `authenticatedRead`, `bucketOwnerFullControl`,
	// `bucketOwnerRead`, `private`, `projectPrivate`, or `publicRead`.
	PredefinedDefaultObjectAcl string `protobuf:"bytes,9,opt,name=predefined_default_object_acl,json=predefinedDefaultObjectAcl,proto3" json:"predefined_default_object_acl,omitempty"`
	// Required. List of fields to be updated.
	//
	// To specify ALL fields, equivalent to the JSON API's "update" function,
	// specify a single field with the value `*`. Note: not recommended. If a new
	// field is introduced at a later time, an older client updating with the `*`
	// might accidentally reset the new field's value.
	//
	// Not specifying any fields is an error.
	UpdateMask    *fieldmaskpb.FieldMask `protobuf:"bytes,6,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateBucketRequest) Reset() {
	*x = UpdateBucketRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UpdateBucketRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UpdateBucketRequest) ProtoMessage() {}

func (x *UpdateBucketRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use UpdateBucketRequest.ProtoReflect.Descriptor instead.
func (*UpdateBucketRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{6}
}

func (x *UpdateBucketRequest) GetBucket() *Bucket {
	if x != nil {
		return x.Bucket
	}
	return nil
}

func (x *UpdateBucketRequest) GetIfMetagenerationMatch() int64 {
	if x != nil && x.IfMetagenerationMatch != nil {
		return *x.IfMetagenerationMatch
	}
	return 0
}

func (x *UpdateBucketRequest) GetIfMetagenerationNotMatch() int64 {
	if x != nil && x.IfMetagenerationNotMatch != nil {
		return *x.IfMetagenerationNotMatch
	}
	return 0
}

func (x *UpdateBucketRequest) GetPredefinedAcl() string {
	if x != nil {
		return x.PredefinedAcl
	}
	return ""
}

func (x *UpdateBucketRequest) GetPredefinedDefaultObjectAcl() string {
	if x != nil {
		return x.PredefinedDefaultObjectAcl
	}
	return ""
}

func (x *UpdateBucketRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

// Request message for [ComposeObject][google.storage.v2.Storage.ComposeObject].
type ComposeObjectRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Properties of the resulting object.
	Destination *Object `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
	// Optional. The list of source objects that is concatenated into a single
	// object.
	SourceObjects []*ComposeObjectRequest_SourceObject `protobuf:"bytes,2,rep,name=source_objects,json=sourceObjects,proto3" json:"source_objects,omitempty"`
	// Optional. Apply a predefined set of access controls to the destination
	// object. Valid values are `authenticatedRead`, `bucketOwnerFullControl`,
	// `bucketOwnerRead`, `private`, `projectPrivate`, or `publicRead`.
	DestinationPredefinedAcl string `protobuf:"bytes,9,opt,name=destination_predefined_acl,json=destinationPredefinedAcl,proto3" json:"destination_predefined_acl,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *int64 `protobuf:"varint,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3,oneof" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *int64 `protobuf:"varint,5,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// Optional. Resource name of the Cloud KMS key, of the form
	// `projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`,
	// that is used to encrypt the object. Overrides the object
	// metadata's `kms_key_name` value, if any.
	KmsKey string `protobuf:"bytes,6,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
	// Optional. A set of parameters common to Storage API requests concerning an
	// object.
	CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,7,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"`
	// Optional. The checksums of the complete object. This is validated against
	// the combined checksums of the component objects.
	ObjectChecksums *ObjectChecksums `protobuf:"bytes,10,opt,name=object_checksums,json=objectChecksums,proto3" json:"object_checksums,omitempty"`
	// Whether the source objects should be deleted in the compose request.
	DeleteSourceObjects *bool `protobuf:"varint,11,opt,name=delete_source_objects,json=deleteSourceObjects,proto3,oneof" json:"delete_source_objects,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

func (x *ComposeObjectRequest) Reset() {
	*x = ComposeObjectRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ComposeObjectRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ComposeObjectRequest) ProtoMessage() {}

func (x *ComposeObjectRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[7]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ComposeObjectRequest.ProtoReflect.Descriptor instead.
func (*ComposeObjectRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{7}
}

func (x *ComposeObjectRequest) GetDestination() *Object {
	if x != nil {
		return x.Destination
	}
	return nil
}

func (x *ComposeObjectRequest) GetSourceObjects() []*ComposeObjectRequest_SourceObject {
	if x != nil {
		return x.SourceObjects
	}
	return nil
}

func (x *ComposeObjectRequest) GetDestinationPredefinedAcl() string {
	if x != nil {
		return x.DestinationPredefinedAcl
	}
	return ""
}

func (x *ComposeObjectRequest) GetIfGenerationMatch() int64 {
	if x != nil && x.IfGenerationMatch != nil {
		return *x.IfGenerationMatch
	}
	return 0
}

func (x *ComposeObjectRequest) GetIfMetagenerationMatch() int64 {
	if x != nil && x.IfMetagenerationMatch != nil {
		return *x.IfMetagenerationMatch
	}
	return 0
}

func (x *ComposeObjectRequest) GetKmsKey() string {
	if x != nil {
		return x.KmsKey
	}
	return ""
}

func (x *ComposeObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams {
	if x != nil {
		return x.CommonObjectRequestParams
	}
	return nil
}

func (x *ComposeObjectRequest) GetObjectChecksums() *ObjectChecksums {
	if x != nil {
		return x.ObjectChecksums
	}
	return nil
}

func (x *ComposeObjectRequest) GetDeleteSourceObjects() bool {
	if x != nil && x.DeleteSourceObjects != nil {
		return *x.DeleteSourceObjects
	}
	return false
}

// Request message for deleting an object.
type DeleteObjectRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Name of the bucket in which the object resides.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The name of the finalized object to delete.
	// Note: If you want to delete an unfinalized resumable upload please use
	// `CancelResumableWrite`.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// Optional. If present, permanently deletes a specific revision of this
	// object (as opposed to the latest version, the default).
	Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *int64 `protobuf:"varint,5,opt,name=if_generation_match,json=ifGenerationMatch,proto3,oneof" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's live generation
	// does not match the given value. If no live object exists, the precondition
	// fails. Setting to 0 makes the operation succeed only if there is a live
	// version of the object.
	IfGenerationNotMatch *int64 `protobuf:"varint,6,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3,oneof" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *int64 `protobuf:"varint,7,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,8,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// Optional. A set of parameters common to Storage API requests concerning an
	// object.
	CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,10,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"`
	unknownFields             protoimpl.UnknownFields
	sizeCache                 protoimpl.SizeCache
}

func (x *DeleteObjectRequest) Reset() {
	*x = DeleteObjectRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DeleteObjectRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DeleteObjectRequest) ProtoMessage() {}

func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[8]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DeleteObjectRequest.ProtoReflect.Descriptor instead.
func (*DeleteObjectRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{8}
}

func (x *DeleteObjectRequest) GetBucket() string {
	if x != nil {
		return x.Bucket
	}
	return ""
}

func (x *DeleteObjectRequest) GetObject() string {
	if x != nil {
		return x.Object
	}
	return ""
}

func (x *DeleteObjectRequest) GetGeneration() int64 {
	if x != nil {
		return x.Generation
	}
	return 0
}

func (x *DeleteObjectRequest) GetIfGenerationMatch() int64 {
	if x != nil && x.IfGenerationMatch != nil {
		return *x.IfGenerationMatch
	}
	return 0
}

func (x *DeleteObjectRequest) GetIfGenerationNotMatch() int64 {
	if x != nil && x.IfGenerationNotMatch != nil {
		return *x.IfGenerationNotMatch
	}
	return 0
}

func (x *DeleteObjectRequest) GetIfMetagenerationMatch() int64 {
	if x != nil && x.IfMetagenerationMatch != nil {
		return *x.IfMetagenerationMatch
	}
	return 0
}

func (x *DeleteObjectRequest) GetIfMetagenerationNotMatch() int64 {
	if x != nil && x.IfMetagenerationNotMatch != nil {
		return *x.IfMetagenerationNotMatch
	}
	return 0
}

func (x *DeleteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams {
	if x != nil {
		return x.CommonObjectRequestParams
	}
	return nil
}

// Request message for
// [RestoreObject][google.storage.v2.Storage.RestoreObject].
// `bucket`, `object`, and `generation` **must** be set.
type RestoreObjectRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Name of the bucket in which the object resides.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The name of the object to restore.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// Required. The specific revision of the object to restore.
	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	// Optional. Restore token used to differentiate soft-deleted objects with the
	// same name and generation. Only applicable for hierarchical namespace
	// buckets. This parameter is optional, and is only required in the rare case
	// when there are multiple soft-deleted objects with the same name and
	// generation.
	RestoreToken string `protobuf:"bytes,11,opt,name=restore_token,json=restoreToken,proto3" json:"restore_token,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *int64 `protobuf:"varint,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3,oneof" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's live generation
	// does not match the given value. If no live object exists, the precondition
	// fails. Setting to 0 makes the operation succeed only if there is a live
	// version of the object.
	IfGenerationNotMatch *int64 `protobuf:"varint,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3,oneof" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *int64 `protobuf:"varint,6,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,7,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// If false or unset, the bucket's default object ACL is used.
	// If true, copy the source object's access controls.
	// Return an error if bucket has UBLA enabled.
	CopySourceAcl *bool `protobuf:"varint,9,opt,name=copy_source_acl,json=copySourceAcl,proto3,oneof" json:"copy_source_acl,omitempty"`
	// Optional. A set of parameters common to Storage API requests concerning an
	// object.
	CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,8,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"`
	unknownFields             protoimpl.UnknownFields
	sizeCache                 protoimpl.SizeCache
}

func (x *RestoreObjectRequest) Reset() {
	*x = RestoreObjectRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RestoreObjectRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RestoreObjectRequest) ProtoMessage() {}

func (x *RestoreObjectRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[9]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RestoreObjectRequest.ProtoReflect.Descriptor instead.
func (*RestoreObjectRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{9}
}

func (x *RestoreObjectRequest) GetBucket() string {
	if x != nil {
		return x.Bucket
	}
	return ""
}

func (x *RestoreObjectRequest) GetObject() string {
	if x != nil {
		return x.Object
	}
	return ""
}

func (x *RestoreObjectRequest) GetGeneration() int64 {
	if x != nil {
		return x.Generation
	}
	return 0
}

func (x *RestoreObjectRequest) GetRestoreToken() string {
	if x != nil {
		return x.RestoreToken
	}
	return ""
}

func (x *RestoreObjectRequest) GetIfGenerationMatch() int64 {
	if x != nil && x.IfGenerationMatch != nil {
		return *x.IfGenerationMatch
	}
	return 0
}

func (x *RestoreObjectRequest) GetIfGenerationNotMatch() int64 {
	if x != nil && x.IfGenerationNotMatch != nil {
		return *x.IfGenerationNotMatch
	}
	return 0
}

func (x *RestoreObjectRequest) GetIfMetagenerationMatch() int64 {
	if x != nil && x.IfMetagenerationMatch != nil {
		return *x.IfMetagenerationMatch
	}
	return 0
}

func (x *RestoreObjectRequest) GetIfMetagenerationNotMatch() int64 {
	if x != nil && x.IfMetagenerationNotMatch != nil {
		return *x.IfMetagenerationNotMatch
	}
	return 0
}

func (x *RestoreObjectRequest) GetCopySourceAcl() bool {
	if x != nil && x.CopySourceAcl != nil {
		return *x.CopySourceAcl
	}
	return false
}

func (x *RestoreObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams {
	if x != nil {
		return x.CommonObjectRequestParams
	}
	return nil
}

// Request message for
// [CancelResumableWrite][google.storage.v2.Storage.CancelResumableWrite].
type CancelResumableWriteRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The upload_id of the resumable upload to cancel. This should be
	// copied from the `upload_id` field of `StartResumableWriteResponse`.
	UploadId      string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CancelResumableWriteRequest) Reset() {
	*x = CancelResumableWriteRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CancelResumableWriteRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CancelResumableWriteRequest) ProtoMessage() {}

func (x *CancelResumableWriteRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[10]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CancelResumableWriteRequest.ProtoReflect.Descriptor instead.
func (*CancelResumableWriteRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{10}
}

func (x *CancelResumableWriteRequest) GetUploadId() string {
	if x != nil {
		return x.UploadId
	}
	return ""
}

// Empty response message for canceling an in-progress resumable upload, is
// extended as needed.
type CancelResumableWriteResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CancelResumableWriteResponse) Reset() {
	*x = CancelResumableWriteResponse{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CancelResumableWriteResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CancelResumableWriteResponse) ProtoMessage() {}

func (x *CancelResumableWriteResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[11]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CancelResumableWriteResponse.ProtoReflect.Descriptor instead.
func (*CancelResumableWriteResponse) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{11}
}

// Request message for [ReadObject][google.storage.v2.Storage.ReadObject].
type ReadObjectRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the bucket containing the object to read.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The name of the object to read.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// Optional. If present, selects a specific revision of this object (as
	// opposed to the latest version, the default).
	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	// Optional. The offset for the first byte to return in the read, relative to
	// the start of the object.
	//
	// A negative `read_offset` value is interpreted as the number of bytes
	// back from the end of the object to be returned. For example, if an object's
	// length is `15` bytes, a `ReadObjectRequest` with `read_offset` = `-5` and
	// `read_limit` = `3` would return bytes `10` through `12` of the object.
	// Requesting a negative offset with magnitude larger than the size of the
	// object returns the entire object.
	ReadOffset int64 `protobuf:"varint,4,opt,name=read_offset,json=readOffset,proto3" json:"read_offset,omitempty"`
	// Optional. The maximum number of `data` bytes the server is allowed to
	// return in the sum of all `Object` messages. A `read_limit` of zero
	// indicates that there is no limit, and a negative `read_limit` causes an
	// error.
	//
	// If the stream returns fewer bytes than allowed by the `read_limit` and no
	// error occurred, the stream includes all data from the `read_offset` to the
	// end of the resource.
	ReadLimit int64 `protobuf:"varint,5,opt,name=read_limit,json=readLimit,proto3" json:"read_limit,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *int64 `protobuf:"varint,6,opt,name=if_generation_match,json=ifGenerationMatch,proto3,oneof" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's live generation
	// does not match the given value. If no live object exists, the precondition
	// fails. Setting to 0 makes the operation succeed only if there is a live
	// version of the object.
	IfGenerationNotMatch *int64 `protobuf:"varint,7,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3,oneof" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *int64 `protobuf:"varint,8,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,9,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// Optional. A set of parameters common to Storage API requests concerning an
	// object.
	CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,10,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"`
	// Mask specifying which fields to read.
	// The `checksummed_data` field and its children are always present.
	// If no mask is specified, it defaults to all fields except `metadata.
	// owner` and `metadata.acl`.
	// `*` might be used to mean "all fields".
	ReadMask      *fieldmaskpb.FieldMask `protobuf:"bytes,12,opt,name=read_mask,json=readMask,proto3,oneof" json:"read_mask,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ReadObjectRequest) Reset() {
	*x = ReadObjectRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ReadObjectRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ReadObjectRequest) ProtoMessage() {}

func (x *ReadObjectRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[12]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ReadObjectRequest.ProtoReflect.Descriptor instead.
func (*ReadObjectRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{12}
}

func (x *ReadObjectRequest) GetBucket() string {
	if x != nil {
		return x.Bucket
	}
	return ""
}

func (x *ReadObjectRequest) GetObject() string {
	if x != nil {
		return x.Object
	}
	return ""
}

func (x *ReadObjectRequest) GetGeneration() int64 {
	if x != nil {
		return x.Generation
	}
	return 0
}

func (x *ReadObjectRequest) GetReadOffset() int64 {
	if x != nil {
		return x.ReadOffset
	}
	return 0
}

func (x *ReadObjectRequest) GetReadLimit() int64 {
	if x != nil {
		return x.ReadLimit
	}
	return 0
}

func (x *ReadObjectRequest) GetIfGenerationMatch() int64 {
	if x != nil && x.IfGenerationMatch != nil {
		return *x.IfGenerationMatch
	}
	return 0
}

func (x *ReadObjectRequest) GetIfGenerationNotMatch() int64 {
	if x != nil && x.IfGenerationNotMatch != nil {
		return *x.IfGenerationNotMatch
	}
	return 0
}

func (x *ReadObjectRequest) GetIfMetagenerationMatch() int64 {
	if x != nil && x.IfMetagenerationMatch != nil {
		return *x.IfMetagenerationMatch
	}
	return 0
}

func (x *ReadObjectRequest) GetIfMetagenerationNotMatch() int64 {
	if x != nil && x.IfMetagenerationNotMatch != nil {
		return *x.IfMetagenerationNotMatch
	}
	return 0
}

func (x *ReadObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams {
	if x != nil {
		return x.CommonObjectRequestParams
	}
	return nil
}

func (x *ReadObjectRequest) GetReadMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.ReadMask
	}
	return nil
}

// Request message for [GetObject][google.storage.v2.Storage.GetObject].
type GetObjectRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Name of the bucket in which the object resides.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. Name of the object.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// Optional. If present, selects a specific revision of this object (as
	// opposed to the latest version, the default).
	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	// If true, return the soft-deleted version of this object.
	SoftDeleted *bool `protobuf:"varint,11,opt,name=soft_deleted,json=softDeleted,proto3,oneof" json:"soft_deleted,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *int64 `protobuf:"varint,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3,oneof" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's live generation
	// does not match the given value. If no live object exists, the precondition
	// fails. Setting to 0 makes the operation succeed only if there is a live
	// version of the object.
	IfGenerationNotMatch *int64 `protobuf:"varint,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3,oneof" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *int64 `protobuf:"varint,6,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,7,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// Optional. A set of parameters common to Storage API requests concerning an
	// object.
	CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,8,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"`
	// Mask specifying which fields to read.
	// If no mask is specified, it defaults to all fields except `metadata.
	// acl` and `metadata.owner`.
	// `*` might be used to mean "all fields".
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,10,opt,name=read_mask,json=readMask,proto3,oneof" json:"read_mask,omitempty"`
	// Optional. Restore token used to differentiate soft-deleted objects with the
	// same name and generation. Only applicable for hierarchical namespace
	// buckets and if `soft_deleted` is set to `true`. This parameter is optional,
	// and is only required in the rare case when there are multiple soft-deleted
	// objects with the same `name` and `generation`.
	RestoreToken  string `protobuf:"bytes,12,opt,name=restore_token,json=restoreToken,proto3" json:"restore_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetObjectRequest) Reset() {
	*x = GetObjectRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetObjectRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetObjectRequest) ProtoMessage() {}

func (x *GetObjectRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[13]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetObjectRequest.ProtoReflect.Descriptor instead.
func (*GetObjectRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{13}
}

func (x *GetObjectRequest) GetBucket() string {
	if x != nil {
		return x.Bucket
	}
	return ""
}

func (x *GetObjectRequest) GetObject() string {
	if x != nil {
		return x.Object
	}
	return ""
}

func (x *GetObjectRequest) GetGeneration() int64 {
	if x != nil {
		return x.Generation
	}
	return 0
}

func (x *GetObjectRequest) GetSoftDeleted() bool {
	if x != nil && x.SoftDeleted != nil {
		return *x.SoftDeleted
	}
	return false
}

func (x *GetObjectRequest) GetIfGenerationMatch() int64 {
	if x != nil && x.IfGenerationMatch != nil {
		return *x.IfGenerationMatch
	}
	return 0
}

func (x *GetObjectRequest) GetIfGenerationNotMatch() int64 {
	if x != nil && x.IfGenerationNotMatch != nil {
		return *x.IfGenerationNotMatch
	}
	return 0
}

func (x *GetObjectRequest) GetIfMetagenerationMatch() int64 {
	if x != nil && x.IfMetagenerationMatch != nil {
		return *x.IfMetagenerationMatch
	}
	return 0
}

func (x *GetObjectRequest) GetIfMetagenerationNotMatch() int64 {
	if x != nil && x.IfMetagenerationNotMatch != nil {
		return *x.IfMetagenerationNotMatch
	}
	return 0
}

func (x *GetObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams {
	if x != nil {
		return x.CommonObjectRequestParams
	}
	return nil
}

func (x *GetObjectRequest) GetReadMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.ReadMask
	}
	return nil
}

func (x *GetObjectRequest) GetRestoreToken() string {
	if x != nil {
		return x.RestoreToken
	}
	return ""
}

// Response message for [ReadObject][google.storage.v2.Storage.ReadObject].
type ReadObjectResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A portion of the data for the object. The service might leave `data`
	// empty for any given `ReadResponse`. This enables the service to inform the
	// client that the request is still live while it is running an operation to
	// generate more data.
	ChecksummedData *ChecksummedData `protobuf:"bytes,1,opt,name=checksummed_data,json=checksummedData,proto3" json:"checksummed_data,omitempty"`
	// The checksums of the complete object. If the object is downloaded in full,
	// the client should compute one of these checksums over the downloaded object
	// and compare it against the value provided here.
	ObjectChecksums *ObjectChecksums `protobuf:"bytes,2,opt,name=object_checksums,json=objectChecksums,proto3" json:"object_checksums,omitempty"`
	// If `read_offset` and or `read_limit` is specified on the
	// `ReadObjectRequest`, `ContentRange` is populated on the first
	// `ReadObjectResponse` message of the read stream.
	ContentRange *ContentRange `protobuf:"bytes,3,opt,name=content_range,json=contentRange,proto3" json:"content_range,omitempty"`
	// Metadata of the object whose media is being returned.
	// Only populated in the first response in the stream.
	Metadata      *Object `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ReadObjectResponse) Reset() {
	*x = ReadObjectResponse{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ReadObjectResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ReadObjectResponse) ProtoMessage() {}

func (x *ReadObjectResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[14]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ReadObjectResponse.ProtoReflect.Descriptor instead.
func (*ReadObjectResponse) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{14}
}

func (x *ReadObjectResponse) GetChecksummedData() *ChecksummedData {
	if x != nil {
		return x.ChecksummedData
	}
	return nil
}

func (x *ReadObjectResponse) GetObjectChecksums() *ObjectChecksums {
	if x != nil {
		return x.ObjectChecksums
	}
	return nil
}

func (x *ReadObjectResponse) GetContentRange() *ContentRange {
	if x != nil {
		return x.ContentRange
	}
	return nil
}

func (x *ReadObjectResponse) GetMetadata() *Object {
	if x != nil {
		return x.Metadata
	}
	return nil
}

// Describes the object to read in a BidiReadObject request.
type BidiReadObjectSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the bucket containing the object to read.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The name of the object to read.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// Optional. If present, selects a specific revision of this object (as
	// opposed to the latest version, the default).
	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *int64 `protobuf:"varint,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3,oneof" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's live generation
	// does not match the given value. If no live object exists, the precondition
	// fails. Setting to 0 makes the operation succeed only if there is a live
	// version of the object.
	IfGenerationNotMatch *int64 `protobuf:"varint,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3,oneof" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *int64 `protobuf:"varint,6,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,7,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// Optional. A set of parameters common to Storage API requests concerning an
	// object.
	CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,8,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"`
	// Mask specifying which fields to read.
	// The `checksummed_data` field and its children are always present.
	// If no mask is specified, it defaults to all fields except `metadata.
	// owner` and `metadata.acl`.
	// `*` might be used to mean "all fields".
	// As per https://google.aip.dev/161, this field is deprecated.
	// As an alternative, `grpc metadata` can be used:
	//
	// Deprecated: Marked as deprecated in google/storage/v2/storage.proto.
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,12,opt,name=read_mask,json=readMask,proto3,oneof" json:"read_mask,omitempty"`
	// The client can optionally set this field. The read handle is an optimized
	// way of creating new streams. Read handles are generated and periodically
	// refreshed from prior reads.
	ReadHandle *BidiReadHandle `protobuf:"bytes,13,opt,name=read_handle,json=readHandle,proto3,oneof" json:"read_handle,omitempty"`
	// The routing token that influences request routing for the stream. Must be
	// provided if a BidiReadObjectRedirectedError is returned.
	RoutingToken  *string `protobuf:"bytes,14,opt,name=routing_token,json=routingToken,proto3,oneof" json:"routing_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BidiReadObjectSpec) Reset() {
	*x = BidiReadObjectSpec{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BidiReadObjectSpec) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BidiReadObjectSpec) ProtoMessage() {}

func (x *BidiReadObjectSpec) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[15]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BidiReadObjectSpec.ProtoReflect.Descriptor instead.
func (*BidiReadObjectSpec) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{15}
}

func (x *BidiReadObjectSpec) GetBucket() string {
	if x != nil {
		return x.Bucket
	}
	return ""
}

func (x *BidiReadObjectSpec) GetObject() string {
	if x != nil {
		return x.Object
	}
	return ""
}

func (x *BidiReadObjectSpec) GetGeneration() int64 {
	if x != nil {
		return x.Generation
	}
	return 0
}

func (x *BidiReadObjectSpec) GetIfGenerationMatch() int64 {
	if x != nil && x.IfGenerationMatch != nil {
		return *x.IfGenerationMatch
	}
	return 0
}

func (x *BidiReadObjectSpec) GetIfGenerationNotMatch() int64 {
	if x != nil && x.IfGenerationNotMatch != nil {
		return *x.IfGenerationNotMatch
	}
	return 0
}

func (x *BidiReadObjectSpec) GetIfMetagenerationMatch() int64 {
	if x != nil && x.IfMetagenerationMatch != nil {
		return *x.IfMetagenerationMatch
	}
	return 0
}

func (x *BidiReadObjectSpec) GetIfMetagenerationNotMatch() int64 {
	if x != nil && x.IfMetagenerationNotMatch != nil {
		return *x.IfMetagenerationNotMatch
	}
	return 0
}

func (x *BidiReadObjectSpec) GetCommonObjectRequestParams() *CommonObjectRequestParams {
	if x != nil {
		return x.CommonObjectRequestParams
	}
	return nil
}

// Deprecated: Marked as deprecated in google/storage/v2/storage.proto.
func (x *BidiReadObjectSpec) GetReadMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.ReadMask
	}
	return nil
}

func (x *BidiReadObjectSpec) GetReadHandle() *BidiReadHandle {
	if x != nil {
		return x.ReadHandle
	}
	return nil
}

func (x *BidiReadObjectSpec) GetRoutingToken() string {
	if x != nil && x.RoutingToken != nil {
		return *x.RoutingToken
	}
	return ""
}

// Request message for
// [BidiReadObject][google.storage.v2.Storage.BidiReadObject].
type BidiReadObjectRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The first message of each stream should set this field. If this
	// is not the first message, an error is returned. Describes the object to
	// read.
	ReadObjectSpec *BidiReadObjectSpec `protobuf:"bytes,1,opt,name=read_object_spec,json=readObjectSpec,proto3" json:"read_object_spec,omitempty"`
	// Optional. Provides a list of 0 or more (up to 100) ranges to read. If a
	// single range is large enough to require multiple responses, they are
	// delivered in increasing offset order. There are no ordering guarantees
	// across ranges. When no ranges are provided, the response message
	// doesn't  include `ObjectRangeData`. For full object downloads, the
	// offset and size can be set to `0`.
	ReadRanges    []*ReadRange `protobuf:"bytes,8,rep,name=read_ranges,json=readRanges,proto3" json:"read_ranges,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BidiReadObjectRequest) Reset() {
	*x = BidiReadObjectRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BidiReadObjectRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BidiReadObjectRequest) ProtoMessage() {}

func (x *BidiReadObjectRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[16]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BidiReadObjectRequest.ProtoReflect.Descriptor instead.
func (*BidiReadObjectRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{16}
}

func (x *BidiReadObjectRequest) GetReadObjectSpec() *BidiReadObjectSpec {
	if x != nil {
		return x.ReadObjectSpec
	}
	return nil
}

func (x *BidiReadObjectRequest) GetReadRanges() []*ReadRange {
	if x != nil {
		return x.ReadRanges
	}
	return nil
}

// Response message for
// [BidiReadObject][google.storage.v2.Storage.BidiReadObject].
type BidiReadObjectResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A portion of the object's data. The service might leave data
	// empty for any given `ReadResponse`. This enables the service to inform the
	// client that the request is still live while it is running an operation to
	// generate more data.
	// The service might pipeline multiple responses belonging to different read
	// requests. Each `ObjectRangeData` entry has a `read_id` that is set
	// to the same value as the corresponding source read request.
	ObjectDataRanges []*ObjectRangeData `protobuf:"bytes,6,rep,name=object_data_ranges,json=objectDataRanges,proto3" json:"object_data_ranges,omitempty"`
	// Metadata of the object whose media is being returned.
	// Only populated in the first response in the stream and not populated when
	// the stream is opened with a read handle.
	Metadata *Object `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// This field is periodically refreshed, however it might not be set in
	// every response. It allows the client to more efficiently open subsequent
	// bidirectional streams to the same object.
	ReadHandle    *BidiReadHandle `protobuf:"bytes,7,opt,name=read_handle,json=readHandle,proto3" json:"read_handle,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BidiReadObjectResponse) Reset() {
	*x = BidiReadObjectResponse{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BidiReadObjectResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BidiReadObjectResponse) ProtoMessage() {}

func (x *BidiReadObjectResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[17]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BidiReadObjectResponse.ProtoReflect.Descriptor instead.
func (*BidiReadObjectResponse) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{17}
}

func (x *BidiReadObjectResponse) GetObjectDataRanges() []*ObjectRangeData {
	if x != nil {
		return x.ObjectDataRanges
	}
	return nil
}

func (x *BidiReadObjectResponse) GetMetadata() *Object {
	if x != nil {
		return x.Metadata
	}
	return nil
}

func (x *BidiReadObjectResponse) GetReadHandle() *BidiReadHandle {
	if x != nil {
		return x.ReadHandle
	}
	return nil
}

// Error proto containing details for a redirected read. This error might be
// attached as details for an ABORTED response to BidiReadObject.
type BidiReadObjectRedirectedError struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The read handle for the redirected read. If set, the client might use this
	// in the BidiReadObjectSpec when retrying the read stream.
	ReadHandle *BidiReadHandle `protobuf:"bytes,1,opt,name=read_handle,json=readHandle,proto3" json:"read_handle,omitempty"`
	// The routing token the client must use when retrying the read stream.
	// This value must be provided in the header `x-goog-request-params`, with key
	// `routing_token` and this string verbatim as the value.
	RoutingToken  *string `protobuf:"bytes,2,opt,name=routing_token,json=routingToken,proto3,oneof" json:"routing_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BidiReadObjectRedirectedError) Reset() {
	*x = BidiReadObjectRedirectedError{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[18]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BidiReadObjectRedirectedError) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BidiReadObjectRedirectedError) ProtoMessage() {}

func (x *BidiReadObjectRedirectedError) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[18]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BidiReadObjectRedirectedError.ProtoReflect.Descriptor instead.
func (*BidiReadObjectRedirectedError) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{18}
}

func (x *BidiReadObjectRedirectedError) GetReadHandle() *BidiReadHandle {
	if x != nil {
		return x.ReadHandle
	}
	return nil
}

func (x *BidiReadObjectRedirectedError) GetRoutingToken() string {
	if x != nil && x.RoutingToken != nil {
		return *x.RoutingToken
	}
	return ""
}

// Error proto containing details for a redirected write. This error might be
// attached as details for an ABORTED response to BidiWriteObject.
type BidiWriteObjectRedirectedError struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The routing token the client must use when retrying the write stream.
	// This value must be provided in the header `x-goog-request-params`, with key
	// `routing_token` and this string verbatim as the value.
	RoutingToken *string `protobuf:"bytes,1,opt,name=routing_token,json=routingToken,proto3,oneof" json:"routing_token,omitempty"`
	// Opaque value describing a previous write. If set, the client must use this
	// in an AppendObjectSpec first_message when retrying the write stream. If not
	// set, clients might retry the original request.
	WriteHandle *BidiWriteHandle `protobuf:"bytes,2,opt,name=write_handle,json=writeHandle,proto3,oneof" json:"write_handle,omitempty"`
	// The generation of the object that triggered the redirect. This is set
	// iff `write_handle` is set. If set, the client must use this in an
	// `AppendObjectSpec` first_message when retrying the write stream.
	Generation    *int64 `protobuf:"varint,3,opt,name=generation,proto3,oneof" json:"generation,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BidiWriteObjectRedirectedError) Reset() {
	*x = BidiWriteObjectRedirectedError{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[19]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BidiWriteObjectRedirectedError) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BidiWriteObjectRedirectedError) ProtoMessage() {}

func (x *BidiWriteObjectRedirectedError) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[19]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BidiWriteObjectRedirectedError.ProtoReflect.Descriptor instead.
func (*BidiWriteObjectRedirectedError) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{19}
}

func (x *BidiWriteObjectRedirectedError) GetRoutingToken() string {
	if x != nil && x.RoutingToken != nil {
		return *x.RoutingToken
	}
	return ""
}

func (x *BidiWriteObjectRedirectedError) GetWriteHandle() *BidiWriteHandle {
	if x != nil {
		return x.WriteHandle
	}
	return nil
}

func (x *BidiWriteObjectRedirectedError) GetGeneration() int64 {
	if x != nil && x.Generation != nil {
		return *x.Generation
	}
	return 0
}

// Error extension proto containing details for all outstanding reads on the
// failed stream
type BidiReadObjectError struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The error code for each outstanding read_range
	ReadRangeErrors []*ReadRangeError `protobuf:"bytes,1,rep,name=read_range_errors,json=readRangeErrors,proto3" json:"read_range_errors,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *BidiReadObjectError) Reset() {
	*x = BidiReadObjectError{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[20]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BidiReadObjectError) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BidiReadObjectError) ProtoMessage() {}

func (x *BidiReadObjectError) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[20]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BidiReadObjectError.ProtoReflect.Descriptor instead.
func (*BidiReadObjectError) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{20}
}

func (x *BidiReadObjectError) GetReadRangeErrors() []*ReadRangeError {
	if x != nil {
		return x.ReadRangeErrors
	}
	return nil
}

// Error extension proto containing details for a single range read
type ReadRangeError struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The id of the corresponding read_range
	ReadId int64 `protobuf:"varint,1,opt,name=read_id,json=readId,proto3" json:"read_id,omitempty"`
	// The status which should be an enum value of [google.rpc.Code].
	Status        *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ReadRangeError) Reset() {
	*x = ReadRangeError{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[21]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ReadRangeError) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ReadRangeError) ProtoMessage() {}

func (x *ReadRangeError) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[21]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ReadRangeError.ProtoReflect.Descriptor instead.
func (*ReadRangeError) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{21}
}

func (x *ReadRangeError) GetReadId() int64 {
	if x != nil {
		return x.ReadId
	}
	return 0
}

func (x *ReadRangeError) GetStatus() *status.Status {
	if x != nil {
		return x.Status
	}
	return nil
}

// Describes a range of bytes to read in a `BidiReadObjectRanges` request.
type ReadRange struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The offset for the first byte to return in the read, relative to
	// the start of the object.
	//
	// A negative read_offset value is interpreted as the number of bytes
	// back from the end of the object to be returned. For example, if an object's
	// length is 15 bytes, a `ReadObjectRequest` with `read_offset` = -5 and
	// `read_length` = 3 would return bytes 10 through 12 of the object.
	// Requesting a negative offset with magnitude larger than the size of the
	// object is equivalent to `read_offset` = 0. A `read_offset` larger than the
	// size of the object results in an `OutOfRange` error.
	ReadOffset int64 `protobuf:"varint,1,opt,name=read_offset,json=readOffset,proto3" json:"read_offset,omitempty"`
	// Optional. The maximum number of data bytes the server is allowed to return
	// across all response messages with the same `read_id`. A `read_length` of
	// zero indicates to read until the resource end, and a negative `read_length`
	// causes an `OutOfRange` error. If the stream returns fewer bytes than
	// allowed by the `read_length` and no error occurred, the stream includes all
	// data from the `read_offset` to the resource end.
	ReadLength int64 `protobuf:"varint,2,opt,name=read_length,json=readLength,proto3" json:"read_length,omitempty"`
	// Required. Read identifier provided by the client. When the client issues
	// more than one outstanding `ReadRange` on the same stream, responses can be
	// mapped back to their corresponding requests using this value. Clients must
	// ensure that all outstanding requests have different read_id values. The
	// server might close the stream with an error if this condition is not met.
	ReadId        int64 `protobuf:"varint,3,opt,name=read_id,json=readId,proto3" json:"read_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ReadRange) Reset() {
	*x = ReadRange{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[22]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ReadRange) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ReadRange) ProtoMessage() {}

func (x *ReadRange) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[22]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ReadRange.ProtoReflect.Descriptor instead.
func (*ReadRange) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{22}
}

func (x *ReadRange) GetReadOffset() int64 {
	if x != nil {
		return x.ReadOffset
	}
	return 0
}

func (x *ReadRange) GetReadLength() int64 {
	if x != nil {
		return x.ReadLength
	}
	return 0
}

func (x *ReadRange) GetReadId() int64 {
	if x != nil {
		return x.ReadId
	}
	return 0
}

// Contains data and metadata for a range of an object.
type ObjectRangeData struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A portion of the data for the object.
	ChecksummedData *ChecksummedData `protobuf:"bytes,1,opt,name=checksummed_data,json=checksummedData,proto3" json:"checksummed_data,omitempty"`
	// The `ReadRange` describes the content being returned with `read_id` set to
	// the corresponding `ReadObjectRequest` in the stream. Multiple
	// `ObjectRangeData` messages might have the same read_id but increasing
	// offsets. `ReadObjectResponse` messages with the same `read_id` are
	// guaranteed to be delivered in increasing offset order.
	ReadRange *ReadRange `protobuf:"bytes,2,opt,name=read_range,json=readRange,proto3" json:"read_range,omitempty"`
	// If set, indicates there are no more bytes to read for the given ReadRange.
	RangeEnd      bool `protobuf:"varint,3,opt,name=range_end,json=rangeEnd,proto3" json:"range_end,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ObjectRangeData) Reset() {
	*x = ObjectRangeData{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[23]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ObjectRangeData) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ObjectRangeData) ProtoMessage() {}

func (x *ObjectRangeData) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[23]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ObjectRangeData.ProtoReflect.Descriptor instead.
func (*ObjectRangeData) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{23}
}

func (x *ObjectRangeData) GetChecksummedData() *ChecksummedData {
	if x != nil {
		return x.ChecksummedData
	}
	return nil
}

func (x *ObjectRangeData) GetReadRange() *ReadRange {
	if x != nil {
		return x.ReadRange
	}
	return nil
}

func (x *ObjectRangeData) GetRangeEnd() bool {
	if x != nil {
		return x.RangeEnd
	}
	return false
}

// `BidiReadHandle` contains a handle from a previous `BiDiReadObject`
// invocation. The client can use this instead of `BidiReadObjectSpec` as an
// optimized way of opening subsequent bidirectional streams to the same object.
type BidiReadHandle struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Opaque value describing a previous read.
	Handle        []byte `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BidiReadHandle) Reset() {
	*x = BidiReadHandle{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[24]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BidiReadHandle) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BidiReadHandle) ProtoMessage() {}

func (x *BidiReadHandle) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[24]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BidiReadHandle.ProtoReflect.Descriptor instead.
func (*BidiReadHandle) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{24}
}

func (x *BidiReadHandle) GetHandle() []byte {
	if x != nil {
		return x.Handle
	}
	return nil
}

// `BidiWriteHandle` contains a handle from a previous `BidiWriteObject`
// invocation. The client can use this instead of `BidiReadObjectSpec` as an
// optimized way of opening subsequent bidirectional streams to the same object.
type BidiWriteHandle struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Opaque value describing a previous write.
	Handle        []byte `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BidiWriteHandle) Reset() {
	*x = BidiWriteHandle{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[25]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BidiWriteHandle) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BidiWriteHandle) ProtoMessage() {}

func (x *BidiWriteHandle) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[25]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BidiWriteHandle.ProtoReflect.Descriptor instead.
func (*BidiWriteHandle) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{25}
}

func (x *BidiWriteHandle) GetHandle() []byte {
	if x != nil {
		return x.Handle
	}
	return nil
}

// Describes an attempt to insert an object, possibly over multiple requests.
type WriteObjectSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Destination object, including its name and its metadata.
	Resource *Object `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// Optional. Apply a predefined set of access controls to this object.
	// Valid values are `authenticatedRead`, `bucketOwnerFullControl`,
	// `bucketOwnerRead`, `private`, `projectPrivate`, or `publicRead`.
	PredefinedAcl string `protobuf:"bytes,7,opt,name=predefined_acl,json=predefinedAcl,proto3" json:"predefined_acl,omitempty"`
	// Makes the operation conditional on whether the object's current
	// generation matches the given value. Setting to `0` makes the operation
	// succeed only if there are no live versions of the object.
	IfGenerationMatch *int64 `protobuf:"varint,3,opt,name=if_generation_match,json=ifGenerationMatch,proto3,oneof" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's live
	// generation does not match the given value. If no live object exists, the
	// precondition fails. Setting to `0` makes the operation succeed only if
	// there is a live version of the object.
	IfGenerationNotMatch *int64 `protobuf:"varint,4,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3,oneof" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *int64 `protobuf:"varint,5,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,6,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// The expected final object size being uploaded.
	// If this value is set, closing the stream after writing fewer or more than
	// `object_size` bytes results in an `OUT_OF_RANGE` error.
	//
	// This situation is considered a client error, and if such an error occurs
	// you must start the upload over from scratch, this time sending the correct
	// number of bytes.
	ObjectSize *int64 `protobuf:"varint,8,opt,name=object_size,json=objectSize,proto3,oneof" json:"object_size,omitempty"`
	// If `true`, the object is created in appendable mode.
	// This field might only be set when using `BidiWriteObject`.
	Appendable    *bool `protobuf:"varint,9,opt,name=appendable,proto3,oneof" json:"appendable,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *WriteObjectSpec) Reset() {
	*x = WriteObjectSpec{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[26]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *WriteObjectSpec) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WriteObjectSpec) ProtoMessage() {}

func (x *WriteObjectSpec) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[26]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WriteObjectSpec.ProtoReflect.Descriptor instead.
func (*WriteObjectSpec) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{26}
}

func (x *WriteObjectSpec) GetResource() *Object {
	if x != nil {
		return x.Resource
	}
	return nil
}

func (x *WriteObjectSpec) GetPredefinedAcl() string {
	if x != nil {
		return x.PredefinedAcl
	}
	return ""
}

func (x *WriteObjectSpec) GetIfGenerationMatch() int64 {
	if x != nil && x.IfGenerationMatch != nil {
		return *x.IfGenerationMatch
	}
	return 0
}

func (x *WriteObjectSpec) GetIfGenerationNotMatch() int64 {
	if x != nil && x.IfGenerationNotMatch != nil {
		return *x.IfGenerationNotMatch
	}
	return 0
}

func (x *WriteObjectSpec) GetIfMetagenerationMatch() int64 {
	if x != nil && x.IfMetagenerationMatch != nil {
		return *x.IfMetagenerationMatch
	}
	return 0
}

func (x *WriteObjectSpec) GetIfMetagenerationNotMatch() int64 {
	if x != nil && x.IfMetagenerationNotMatch != nil {
		return *x.IfMetagenerationNotMatch
	}
	return 0
}

func (x *WriteObjectSpec) GetObjectSize() int64 {
	if x != nil && x.ObjectSize != nil {
		return *x.ObjectSize
	}
	return 0
}

func (x *WriteObjectSpec) GetAppendable() bool {
	if x != nil && x.Appendable != nil {
		return *x.Appendable
	}
	return false
}

// Request message for [WriteObject][google.storage.v2.Storage.WriteObject].
type WriteObjectRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The first message of each stream should set one of the following.
	//
	// Types that are valid to be assigned to FirstMessage:
	//
	//	*WriteObjectRequest_UploadId
	//	*WriteObjectRequest_WriteObjectSpec
	FirstMessage isWriteObjectRequest_FirstMessage `protobuf_oneof:"first_message"`
	// Required. The offset from the beginning of the object at which the data
	// should be written.
	//
	// In the first `WriteObjectRequest` of a `WriteObject()` action, it
	// indicates the initial offset for the `Write()` call. The value **must** be
	// equal to the `persisted_size` that a call to `QueryWriteStatus()` would
	// return (0 if this is the first write to the object).
	//
	// On subsequent calls, this value **must** be no larger than the sum of the
	// first `write_offset` and the sizes of all `data` chunks sent previously on
	// this stream.
	//
	// An incorrect value causes an error.
	WriteOffset int64 `protobuf:"varint,3,opt,name=write_offset,json=writeOffset,proto3" json:"write_offset,omitempty"`
	// A portion of the data for the object.
	//
	// Types that are valid to be assigned to Data:
	//
	//	*WriteObjectRequest_ChecksummedData
	Data isWriteObjectRequest_Data `protobuf_oneof:"data"`
	// Optional. Checksums for the complete object. If the checksums computed by
	// the service don't match the specified checksums the call fails. This field
	// might only be provided in the first or last request (either with
	// `first_message`, or `finish_write` set).
	ObjectChecksums *ObjectChecksums `protobuf:"bytes,6,opt,name=object_checksums,json=objectChecksums,proto3" json:"object_checksums,omitempty"`
	// Optional. If `true`, this indicates that the write is complete. Sending any
	// `WriteObjectRequest`s subsequent to one in which `finish_write` is `true`
	// causes an error.
	// For a non-resumable write (where the `upload_id` was not set in the first
	// message), it is an error not to set this field in the final message of the
	// stream.
	FinishWrite bool `protobuf:"varint,7,opt,name=finish_write,json=finishWrite,proto3" json:"finish_write,omitempty"`
	// Optional. A set of parameters common to Cloud Storage API requests
	// concerning an object.
	CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,8,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"`
	unknownFields             protoimpl.UnknownFields
	sizeCache                 protoimpl.SizeCache
}

func (x *WriteObjectRequest) Reset() {
	*x = WriteObjectRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[27]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *WriteObjectRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WriteObjectRequest) ProtoMessage() {}

func (x *WriteObjectRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[27]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WriteObjectRequest.ProtoReflect.Descriptor instead.
func (*WriteObjectRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{27}
}

func (x *WriteObjectRequest) GetFirstMessage() isWriteObjectRequest_FirstMessage {
	if x != nil {
		return x.FirstMessage
	}
	return nil
}

func (x *WriteObjectRequest) GetUploadId() string {
	if x != nil {
		if x, ok := x.FirstMessage.(*WriteObjectRequest_UploadId); ok {
			return x.UploadId
		}
	}
	return ""
}

func (x *WriteObjectRequest) GetWriteObjectSpec() *WriteObjectSpec {
	if x != nil {
		if x, ok := x.FirstMessage.(*WriteObjectRequest_WriteObjectSpec); ok {
			return x.WriteObjectSpec
		}
	}
	return nil
}

func (x *WriteObjectRequest) GetWriteOffset() int64 {
	if x != nil {
		return x.WriteOffset
	}
	return 0
}

func (x *WriteObjectRequest) GetData() isWriteObjectRequest_Data {
	if x != nil {
		return x.Data
	}
	return nil
}

func (x *WriteObjectRequest) GetChecksummedData() *ChecksummedData {
	if x != nil {
		if x, ok := x.Data.(*WriteObjectRequest_ChecksummedData); ok {
			return x.ChecksummedData
		}
	}
	return nil
}

func (x *WriteObjectRequest) GetObjectChecksums() *ObjectChecksums {
	if x != nil {
		return x.ObjectChecksums
	}
	return nil
}

func (x *WriteObjectRequest) GetFinishWrite() bool {
	if x != nil {
		return x.FinishWrite
	}
	return false
}

func (x *WriteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams {
	if x != nil {
		return x.CommonObjectRequestParams
	}
	return nil
}

type isWriteObjectRequest_FirstMessage interface {
	isWriteObjectRequest_FirstMessage()
}

type WriteObjectRequest_UploadId struct {
	// For resumable uploads. This should be the `upload_id` returned from a
	// call to `StartResumableWriteResponse`.
	UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3,oneof"`
}

type WriteObjectRequest_WriteObjectSpec struct {
	// For non-resumable uploads. Describes the overall upload, including the
	// destination bucket and object name, preconditions, etc.
	WriteObjectSpec *WriteObjectSpec `protobuf:"bytes,2,opt,name=write_object_spec,json=writeObjectSpec,proto3,oneof"`
}

func (*WriteObjectRequest_UploadId) isWriteObjectRequest_FirstMessage() {}

func (*WriteObjectRequest_WriteObjectSpec) isWriteObjectRequest_FirstMessage() {}

type isWriteObjectRequest_Data interface {
	isWriteObjectRequest_Data()
}

type WriteObjectRequest_ChecksummedData struct {
	// The data to insert. If a crc32c checksum is provided that doesn't match
	// the checksum computed by the service, the request fails.
	ChecksummedData *ChecksummedData `protobuf:"bytes,4,opt,name=checksummed_data,json=checksummedData,proto3,oneof"`
}

func (*WriteObjectRequest_ChecksummedData) isWriteObjectRequest_Data() {}

// Response message for
// [WriteObject][google.storage.v2.Storage.WriteObject].
type WriteObjectResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The response sets one of the following.
	//
	// Types that are valid to be assigned to WriteStatus:
	//
	//	*WriteObjectResponse_PersistedSize
	//	*WriteObjectResponse_Resource
	WriteStatus isWriteObjectResponse_WriteStatus `protobuf_oneof:"write_status"`
	// If persisted_size is set, contains checksums of persisted data.
	PersistedDataChecksums *ObjectChecksums `protobuf:"bytes,3,opt,name=persisted_data_checksums,json=persistedDataChecksums,proto3" json:"persisted_data_checksums,omitempty"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

func (x *WriteObjectResponse) Reset() {
	*x = WriteObjectResponse{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[28]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *WriteObjectResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WriteObjectResponse) ProtoMessage() {}

func (x *WriteObjectResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[28]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WriteObjectResponse.ProtoReflect.Descriptor instead.
func (*WriteObjectResponse) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{28}
}

func (x *WriteObjectResponse) GetWriteStatus() isWriteObjectResponse_WriteStatus {
	if x != nil {
		return x.WriteStatus
	}
	return nil
}

func (x *WriteObjectResponse) GetPersistedSize() int64 {
	if x != nil {
		if x, ok := x.WriteStatus.(*WriteObjectResponse_PersistedSize); ok {
			return x.PersistedSize
		}
	}
	return 0
}

func (x *WriteObjectResponse) GetResource() *Object {
	if x != nil {
		if x, ok := x.WriteStatus.(*WriteObjectResponse_Resource); ok {
			return x.Resource
		}
	}
	return nil
}

func (x *WriteObjectResponse) GetPersistedDataChecksums() *ObjectChecksums {
	if x != nil {
		return x.PersistedDataChecksums
	}
	return nil
}

type isWriteObjectResponse_WriteStatus interface {
	isWriteObjectResponse_WriteStatus()
}

type WriteObjectResponse_PersistedSize struct {
	// The total number of bytes that have been processed for the given object
	// from all `WriteObject` calls. Only set if the upload has not finalized.
	PersistedSize int64 `protobuf:"varint,1,opt,name=persisted_size,json=persistedSize,proto3,oneof"`
}

type WriteObjectResponse_Resource struct {
	// A resource containing the metadata for the uploaded object. Only set if
	// the upload has finalized.
	Resource *Object `protobuf:"bytes,2,opt,name=resource,proto3,oneof"`
}

func (*WriteObjectResponse_PersistedSize) isWriteObjectResponse_WriteStatus() {}

func (*WriteObjectResponse_Resource) isWriteObjectResponse_WriteStatus() {}

// Describes an attempt to append to an object, possibly over multiple requests.
type AppendObjectSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the bucket containing the object to write.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The name of the object to open for writing.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// Required. The generation number of the object to open for writing.
	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	//
	// Note that metageneration preconditions are only checked if `write_handle`
	// is empty.
	IfMetagenerationMatch *int64 `protobuf:"varint,4,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration does not match the given value.
	//
	// Note that metageneration preconditions are only checked if `write_handle`
	// is empty.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,5,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// An optional routing token that influences request routing for the stream.
	// Must be provided if a `BidiWriteObjectRedirectedError` is returned.
	RoutingToken *string `protobuf:"bytes,6,opt,name=routing_token,json=routingToken,proto3,oneof" json:"routing_token,omitempty"`
	// An optional write handle returned from a previous BidiWriteObjectResponse
	// message or a BidiWriteObjectRedirectedError error.
	//
	// Note that metageneration preconditions are only checked if `write_handle`
	// is empty.
	WriteHandle   *BidiWriteHandle `protobuf:"bytes,7,opt,name=write_handle,json=writeHandle,proto3,oneof" json:"write_handle,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AppendObjectSpec) Reset() {
	*x = AppendObjectSpec{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[29]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AppendObjectSpec) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AppendObjectSpec) ProtoMessage() {}

func (x *AppendObjectSpec) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[29]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AppendObjectSpec.ProtoReflect.Descriptor instead.
func (*AppendObjectSpec) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{29}
}

func (x *AppendObjectSpec) GetBucket() string {
	if x != nil {
		return x.Bucket
	}
	return ""
}

func (x *AppendObjectSpec) GetObject() string {
	if x != nil {
		return x.Object
	}
	return ""
}

func (x *AppendObjectSpec) GetGeneration() int64 {
	if x != nil {
		return x.Generation
	}
	return 0
}

func (x *AppendObjectSpec) GetIfMetagenerationMatch() int64 {
	if x != nil && x.IfMetagenerationMatch != nil {
		return *x.IfMetagenerationMatch
	}
	return 0
}

func (x *AppendObjectSpec) GetIfMetagenerationNotMatch() int64 {
	if x != nil && x.IfMetagenerationNotMatch != nil {
		return *x.IfMetagenerationNotMatch
	}
	return 0
}

func (x *AppendObjectSpec) GetRoutingToken() string {
	if x != nil && x.RoutingToken != nil {
		return *x.RoutingToken
	}
	return ""
}

func (x *AppendObjectSpec) GetWriteHandle() *BidiWriteHandle {
	if x != nil {
		return x.WriteHandle
	}
	return nil
}

// Request message for
// [BidiWriteObject][google.storage.v2.Storage.BidiWriteObject].
type BidiWriteObjectRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The first message of each stream should set one of the following.
	//
	// Types that are valid to be assigned to FirstMessage:
	//
	//	*BidiWriteObjectRequest_UploadId
	//	*BidiWriteObjectRequest_WriteObjectSpec
	//	*BidiWriteObjectRequest_AppendObjectSpec
	FirstMessage isBidiWriteObjectRequest_FirstMessage `protobuf_oneof:"first_message"`
	// Required. The offset from the beginning of the object at which the data
	// should be written.
	//
	// In the first `WriteObjectRequest` of a `WriteObject()` action, it
	// indicates the initial offset for the `Write()` call. The value must be
	// equal to the `persisted_size` that a call to `QueryWriteStatus()` would
	// return (0 if this is the first write to the object).
	//
	// On subsequent calls, this value must be no larger than the sum of the
	// first `write_offset` and the sizes of all `data` chunks sent previously on
	// this stream.
	//
	// An invalid value causes an error.
	WriteOffset int64 `protobuf:"varint,3,opt,name=write_offset,json=writeOffset,proto3" json:"write_offset,omitempty"`
	// A portion of the data for the object.
	//
	// Types that are valid to be assigned to Data:
	//
	//	*BidiWriteObjectRequest_ChecksummedData
	Data isBidiWriteObjectRequest_Data `protobuf_oneof:"data"`
	// Optional. Checksums for the complete object. If the checksums computed by
	// the service don't match the specified checksums the call fails. May be
	// provided in the last request (with finish_write set). For non-appendable
	// objects only, may also be provided in the first request.
	ObjectChecksums *ObjectChecksums `protobuf:"bytes,6,opt,name=object_checksums,json=objectChecksums,proto3" json:"object_checksums,omitempty"`
	// Optional. For each `BidiWriteObjectRequest` where `state_lookup` is `true`
	// or the client closes the stream, the service sends a
	// `BidiWriteObjectResponse` containing the current persisted size. The
	// persisted size sent in responses covers all the bytes the server has
	// persisted thus far and can be used to decide what data is safe for the
	// client to drop. Note that the object's current size reported by the
	// `BidiWriteObjectResponse` might lag behind the number of bytes written by
	// the client. This field is ignored if `finish_write` is set to true.
	StateLookup bool `protobuf:"varint,7,opt,name=state_lookup,json=stateLookup,proto3" json:"state_lookup,omitempty"`
	// Optional. Persists data written on the stream, up to and including the
	// current message, to permanent storage. This option should be used sparingly
	// as it might reduce performance. Ongoing writes are periodically persisted
	// on the server even when `flush` is not set. This field is ignored if
	// `finish_write` is set to true since there's no need to checkpoint or flush
	// if this message completes the write.
	Flush bool `protobuf:"varint,8,opt,name=flush,proto3" json:"flush,omitempty"`
	// Optional. If `true`, this indicates that the write is complete. Sending any
	// `WriteObjectRequest`s subsequent to one in which `finish_write` is `true`
	// causes an error.
	// For a non-resumable write (where the `upload_id` was not set in the first
	// message), it is an error not to set this field in the final message of the
	// stream.
	FinishWrite bool `protobuf:"varint,9,opt,name=finish_write,json=finishWrite,proto3" json:"finish_write,omitempty"`
	// Optional. A set of parameters common to Storage API requests concerning an
	// object.
	CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,10,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"`
	unknownFields             protoimpl.UnknownFields
	sizeCache                 protoimpl.SizeCache
}

func (x *BidiWriteObjectRequest) Reset() {
	*x = BidiWriteObjectRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[30]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BidiWriteObjectRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BidiWriteObjectRequest) ProtoMessage() {}

func (x *BidiWriteObjectRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[30]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BidiWriteObjectRequest.ProtoReflect.Descriptor instead.
func (*BidiWriteObjectRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{30}
}

func (x *BidiWriteObjectRequest) GetFirstMessage() isBidiWriteObjectRequest_FirstMessage {
	if x != nil {
		return x.FirstMessage
	}
	return nil
}

func (x *BidiWriteObjectRequest) GetUploadId() string {
	if x != nil {
		if x, ok := x.FirstMessage.(*BidiWriteObjectRequest_UploadId); ok {
			return x.UploadId
		}
	}
	return ""
}

func (x *BidiWriteObjectRequest) GetWriteObjectSpec() *WriteObjectSpec {
	if x != nil {
		if x, ok := x.FirstMessage.(*BidiWriteObjectRequest_WriteObjectSpec); ok {
			return x.WriteObjectSpec
		}
	}
	return nil
}

func (x *BidiWriteObjectRequest) GetAppendObjectSpec() *AppendObjectSpec {
	if x != nil {
		if x, ok := x.FirstMessage.(*BidiWriteObjectRequest_AppendObjectSpec); ok {
			return x.AppendObjectSpec
		}
	}
	return nil
}

func (x *BidiWriteObjectRequest) GetWriteOffset() int64 {
	if x != nil {
		return x.WriteOffset
	}
	return 0
}

func (x *BidiWriteObjectRequest) GetData() isBidiWriteObjectRequest_Data {
	if x != nil {
		return x.Data
	}
	return nil
}

func (x *BidiWriteObjectRequest) GetChecksummedData() *ChecksummedData {
	if x != nil {
		if x, ok := x.Data.(*BidiWriteObjectRequest_ChecksummedData); ok {
			return x.ChecksummedData
		}
	}
	return nil
}

func (x *BidiWriteObjectRequest) GetObjectChecksums() *ObjectChecksums {
	if x != nil {
		return x.ObjectChecksums
	}
	return nil
}

func (x *BidiWriteObjectRequest) GetStateLookup() bool {
	if x != nil {
		return x.StateLookup
	}
	return false
}

func (x *BidiWriteObjectRequest) GetFlush() bool {
	if x != nil {
		return x.Flush
	}
	return false
}

func (x *BidiWriteObjectRequest) GetFinishWrite() bool {
	if x != nil {
		return x.FinishWrite
	}
	return false
}

func (x *BidiWriteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams {
	if x != nil {
		return x.CommonObjectRequestParams
	}
	return nil
}

type isBidiWriteObjectRequest_FirstMessage interface {
	isBidiWriteObjectRequest_FirstMessage()
}

type BidiWriteObjectRequest_UploadId struct {
	// For resumable uploads. This should be the `upload_id` returned from a
	// call to `StartResumableWriteResponse`.
	UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3,oneof"`
}

type BidiWriteObjectRequest_WriteObjectSpec struct {
	// For non-resumable uploads. Describes the overall upload, including the
	// destination bucket and object name, preconditions, etc.
	WriteObjectSpec *WriteObjectSpec `protobuf:"bytes,2,opt,name=write_object_spec,json=writeObjectSpec,proto3,oneof"`
}

type BidiWriteObjectRequest_AppendObjectSpec struct {
	// For appendable uploads. Describes the object to append to.
	AppendObjectSpec *AppendObjectSpec `protobuf:"bytes,11,opt,name=append_object_spec,json=appendObjectSpec,proto3,oneof"`
}

func (*BidiWriteObjectRequest_UploadId) isBidiWriteObjectRequest_FirstMessage() {}

func (*BidiWriteObjectRequest_WriteObjectSpec) isBidiWriteObjectRequest_FirstMessage() {}

func (*BidiWriteObjectRequest_AppendObjectSpec) isBidiWriteObjectRequest_FirstMessage() {}

type isBidiWriteObjectRequest_Data interface {
	isBidiWriteObjectRequest_Data()
}

type BidiWriteObjectRequest_ChecksummedData struct {
	// The data to insert. If a crc32c checksum is provided that doesn't match
	// the checksum computed by the service, the request fails.
	ChecksummedData *ChecksummedData `protobuf:"bytes,4,opt,name=checksummed_data,json=checksummedData,proto3,oneof"`
}

func (*BidiWriteObjectRequest_ChecksummedData) isBidiWriteObjectRequest_Data() {}

// Response message for BidiWriteObject.
type BidiWriteObjectResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The response sets one of the following.
	//
	// Types that are valid to be assigned to WriteStatus:
	//
	//	*BidiWriteObjectResponse_PersistedSize
	//	*BidiWriteObjectResponse_Resource
	WriteStatus isBidiWriteObjectResponse_WriteStatus `protobuf_oneof:"write_status"`
	// If persisted_size is set, contains checksums of persisted data.
	PersistedDataChecksums *ObjectChecksums `protobuf:"bytes,4,opt,name=persisted_data_checksums,json=persistedDataChecksums,proto3" json:"persisted_data_checksums,omitempty"`
	// An optional write handle that is returned periodically in response
	// messages. Clients should save it for later use in establishing a new stream
	// if a connection is interrupted.
	WriteHandle   *BidiWriteHandle `protobuf:"bytes,3,opt,name=write_handle,json=writeHandle,proto3,oneof" json:"write_handle,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BidiWriteObjectResponse) Reset() {
	*x = BidiWriteObjectResponse{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[31]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BidiWriteObjectResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BidiWriteObjectResponse) ProtoMessage() {}

func (x *BidiWriteObjectResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[31]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BidiWriteObjectResponse.ProtoReflect.Descriptor instead.
func (*BidiWriteObjectResponse) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{31}
}

func (x *BidiWriteObjectResponse) GetWriteStatus() isBidiWriteObjectResponse_WriteStatus {
	if x != nil {
		return x.WriteStatus
	}
	return nil
}

func (x *BidiWriteObjectResponse) GetPersistedSize() int64 {
	if x != nil {
		if x, ok := x.WriteStatus.(*BidiWriteObjectResponse_PersistedSize); ok {
			return x.PersistedSize
		}
	}
	return 0
}

func (x *BidiWriteObjectResponse) GetResource() *Object {
	if x != nil {
		if x, ok := x.WriteStatus.(*BidiWriteObjectResponse_Resource); ok {
			return x.Resource
		}
	}
	return nil
}

func (x *BidiWriteObjectResponse) GetPersistedDataChecksums() *ObjectChecksums {
	if x != nil {
		return x.PersistedDataChecksums
	}
	return nil
}

func (x *BidiWriteObjectResponse) GetWriteHandle() *BidiWriteHandle {
	if x != nil {
		return x.WriteHandle
	}
	return nil
}

type isBidiWriteObjectResponse_WriteStatus interface {
	isBidiWriteObjectResponse_WriteStatus()
}

type BidiWriteObjectResponse_PersistedSize struct {
	// The total number of bytes that have been processed for the given object
	// from all `WriteObject` calls. Only set if the upload has not finalized.
	PersistedSize int64 `protobuf:"varint,1,opt,name=persisted_size,json=persistedSize,proto3,oneof"`
}

type BidiWriteObjectResponse_Resource struct {
	// A resource containing the metadata for the uploaded object. Only set if
	// the upload has finalized.
	Resource *Object `protobuf:"bytes,2,opt,name=resource,proto3,oneof"`
}

func (*BidiWriteObjectResponse_PersistedSize) isBidiWriteObjectResponse_WriteStatus() {}

func (*BidiWriteObjectResponse_Resource) isBidiWriteObjectResponse_WriteStatus() {}

// Request message for [ListObjects][google.storage.v2.Storage.ListObjects].
type ListObjectsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Name of the bucket in which to look for objects.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Maximum number of `items` plus `prefixes` to return
	// in a single page of responses. As duplicate `prefixes` are
	// omitted, fewer total results might be returned than requested. The service
	// uses this parameter or 1,000 items, whichever is smaller.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A previously-returned page token representing part of the larger
	// set of results to view.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. If set, returns results in a directory-like mode. `items`
	// contains only objects whose names, aside from the `prefix`, do not contain
	// `delimiter`. Objects whose names, aside from the `prefix`, contain
	// `delimiter` has their name, truncated after the `delimiter`, returned in
	// `prefixes`. Duplicate `prefixes` are omitted.
	Delimiter string `protobuf:"bytes,4,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
	// Optional. If true, objects that end in exactly one instance of `delimiter`
	// has their metadata included in `items` in addition to
	// `prefixes`.
	IncludeTrailingDelimiter bool `protobuf:"varint,5,opt,name=include_trailing_delimiter,json=includeTrailingDelimiter,proto3" json:"include_trailing_delimiter,omitempty"`
	// Optional. Filter results to objects whose names begin with this prefix.
	Prefix string `protobuf:"bytes,6,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Optional. If `true`, lists all versions of an object as distinct results.
	Versions bool `protobuf:"varint,7,opt,name=versions,proto3" json:"versions,omitempty"`
	// Mask specifying which fields to read from each result.
	// If no mask is specified, defaults to all fields except `items.acl` and
	// `items.owner`.
	// `*` might be used to mean all fields.
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,8,opt,name=read_mask,json=readMask,proto3,oneof" json:"read_mask,omitempty"`
	// Optional. Filter results to objects whose names are lexicographically equal
	// to or after `lexicographic_start`. If `lexicographic_end` is also set, the
	// objects listed have names between `lexicographic_start` (inclusive) and
	// `lexicographic_end` (exclusive).
	LexicographicStart string `protobuf:"bytes,10,opt,name=lexicographic_start,json=lexicographicStart,proto3" json:"lexicographic_start,omitempty"`
	// Optional. Filter results to objects whose names are lexicographically
	// before `lexicographic_end`. If `lexicographic_start` is also set, the
	// objects listed have names between `lexicographic_start` (inclusive) and
	// `lexicographic_end` (exclusive).
	LexicographicEnd string `protobuf:"bytes,11,opt,name=lexicographic_end,json=lexicographicEnd,proto3" json:"lexicographic_end,omitempty"`
	// Optional. If true, only list all soft-deleted versions of the object.
	// Soft delete policy is required to set this option.
	SoftDeleted bool `protobuf:"varint,12,opt,name=soft_deleted,json=softDeleted,proto3" json:"soft_deleted,omitempty"`
	// Optional. If true, includes folders and managed folders (besides objects)
	// in the returned `prefixes`. Requires `delimiter` to be set to '/'.
	IncludeFoldersAsPrefixes bool `protobuf:"varint,13,opt,name=include_folders_as_prefixes,json=includeFoldersAsPrefixes,proto3" json:"include_folders_as_prefixes,omitempty"`
	// Optional. Filter results to objects and prefixes that match this glob
	// pattern. See [List objects using
	// glob](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob)
	// for the full syntax.
	MatchGlob string `protobuf:"bytes,14,opt,name=match_glob,json=matchGlob,proto3" json:"match_glob,omitempty"`
	// Optional. An expression used to filter the returned objects by the
	// `context` field. For the full syntax, see [Filter objects by contexts
	// syntax](https://cloud.google.com/storage/docs/listing-objects#filter-by-object-contexts-syntax).
	// If a `delimiter` is set, the returned `prefixes` are exempt from this
	// filter.
	Filter        string `protobuf:"bytes,15,opt,name=filter,proto3" json:"filter,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListObjectsRequest) Reset() {
	*x = ListObjectsRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[32]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListObjectsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListObjectsRequest) ProtoMessage() {}

func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[32]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListObjectsRequest.ProtoReflect.Descriptor instead.
func (*ListObjectsRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{32}
}

func (x *ListObjectsRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *ListObjectsRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListObjectsRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

func (x *ListObjectsRequest) GetDelimiter() string {
	if x != nil {
		return x.Delimiter
	}
	return ""
}

func (x *ListObjectsRequest) GetIncludeTrailingDelimiter() bool {
	if x != nil {
		return x.IncludeTrailingDelimiter
	}
	return false
}

func (x *ListObjectsRequest) GetPrefix() string {
	if x != nil {
		return x.Prefix
	}
	return ""
}

func (x *ListObjectsRequest) GetVersions() bool {
	if x != nil {
		return x.Versions
	}
	return false
}

func (x *ListObjectsRequest) GetReadMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.ReadMask
	}
	return nil
}

func (x *ListObjectsRequest) GetLexicographicStart() string {
	if x != nil {
		return x.LexicographicStart
	}
	return ""
}

func (x *ListObjectsRequest) GetLexicographicEnd() string {
	if x != nil {
		return x.LexicographicEnd
	}
	return ""
}

func (x *ListObjectsRequest) GetSoftDeleted() bool {
	if x != nil {
		return x.SoftDeleted
	}
	return false
}

func (x *ListObjectsRequest) GetIncludeFoldersAsPrefixes() bool {
	if x != nil {
		return x.IncludeFoldersAsPrefixes
	}
	return false
}

func (x *ListObjectsRequest) GetMatchGlob() string {
	if x != nil {
		return x.MatchGlob
	}
	return ""
}

func (x *ListObjectsRequest) GetFilter() string {
	if x != nil {
		return x.Filter
	}
	return ""
}

// Request object for
// [QueryWriteStatus][google.storage.v2.Storage.QueryWriteStatus].
type QueryWriteStatusRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the resume token for the object whose write status is
	// being requested.
	UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
	// Optional. A set of parameters common to Storage API requests concerning an
	// object.
	CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,2,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"`
	unknownFields             protoimpl.UnknownFields
	sizeCache                 protoimpl.SizeCache
}

func (x *QueryWriteStatusRequest) Reset() {
	*x = QueryWriteStatusRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[33]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *QueryWriteStatusRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*QueryWriteStatusRequest) ProtoMessage() {}

func (x *QueryWriteStatusRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[33]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use QueryWriteStatusRequest.ProtoReflect.Descriptor instead.
func (*QueryWriteStatusRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{33}
}

func (x *QueryWriteStatusRequest) GetUploadId() string {
	if x != nil {
		return x.UploadId
	}
	return ""
}

func (x *QueryWriteStatusRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams {
	if x != nil {
		return x.CommonObjectRequestParams
	}
	return nil
}

// Response object for
// [QueryWriteStatus][google.storage.v2.Storage.QueryWriteStatus].
type QueryWriteStatusResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The response sets one of the following.
	//
	// Types that are valid to be assigned to WriteStatus:
	//
	//	*QueryWriteStatusResponse_PersistedSize
	//	*QueryWriteStatusResponse_Resource
	WriteStatus isQueryWriteStatusResponse_WriteStatus `protobuf_oneof:"write_status"`
	// If persisted_size is set, contains checksums of persisted data.
	PersistedDataChecksums *ObjectChecksums `protobuf:"bytes,3,opt,name=persisted_data_checksums,json=persistedDataChecksums,proto3" json:"persisted_data_checksums,omitempty"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

func (x *QueryWriteStatusResponse) Reset() {
	*x = QueryWriteStatusResponse{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[34]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *QueryWriteStatusResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*QueryWriteStatusResponse) ProtoMessage() {}

func (x *QueryWriteStatusResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[34]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use QueryWriteStatusResponse.ProtoReflect.Descriptor instead.
func (*QueryWriteStatusResponse) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{34}
}

func (x *QueryWriteStatusResponse) GetWriteStatus() isQueryWriteStatusResponse_WriteStatus {
	if x != nil {
		return x.WriteStatus
	}
	return nil
}

func (x *QueryWriteStatusResponse) GetPersistedSize() int64 {
	if x != nil {
		if x, ok := x.WriteStatus.(*QueryWriteStatusResponse_PersistedSize); ok {
			return x.PersistedSize
		}
	}
	return 0
}

func (x *QueryWriteStatusResponse) GetResource() *Object {
	if x != nil {
		if x, ok := x.WriteStatus.(*QueryWriteStatusResponse_Resource); ok {
			return x.Resource
		}
	}
	return nil
}

func (x *QueryWriteStatusResponse) GetPersistedDataChecksums() *ObjectChecksums {
	if x != nil {
		return x.PersistedDataChecksums
	}
	return nil
}

type isQueryWriteStatusResponse_WriteStatus interface {
	isQueryWriteStatusResponse_WriteStatus()
}

type QueryWriteStatusResponse_PersistedSize struct {
	// The total number of bytes that have been processed for the given object
	// from all `WriteObject` calls. This is the correct value for the
	// 'write_offset' field to use when resuming the `WriteObject` operation.
	// Only set if the upload has not finalized.
	PersistedSize int64 `protobuf:"varint,1,opt,name=persisted_size,json=persistedSize,proto3,oneof"`
}

type QueryWriteStatusResponse_Resource struct {
	// A resource containing the metadata for the uploaded object. Only set if
	// the upload has finalized.
	Resource *Object `protobuf:"bytes,2,opt,name=resource,proto3,oneof"`
}

func (*QueryWriteStatusResponse_PersistedSize) isQueryWriteStatusResponse_WriteStatus() {}

func (*QueryWriteStatusResponse_Resource) isQueryWriteStatusResponse_WriteStatus() {}

// Request message for [RewriteObject][google.storage.v2.Storage.RewriteObject].
// If the source object is encrypted using a Customer-Supplied Encryption Key
// the key information must be provided in the
// `copy_source_encryption_algorithm`, `copy_source_encryption_key_bytes`, and
// `copy_source_encryption_key_sha256_bytes` fields. If the destination object
// should be encrypted the keying information should be provided in the
// `encryption_algorithm`, `encryption_key_bytes`, and
// `encryption_key_sha256_bytes` fields of the
// `common_object_request_params.customer_encryption` field.
type RewriteObjectRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Immutable. The name of the destination object.
	// See the
	// [Naming Guidelines](https://cloud.google.com/storage/docs/objects#naming).
	// Example: `test.txt`
	// The `name` field by itself does not uniquely identify a Cloud Storage
	// object. A Cloud Storage object is uniquely identified by the tuple of
	// (bucket, object, generation).
	DestinationName string `protobuf:"bytes,24,opt,name=destination_name,json=destinationName,proto3" json:"destination_name,omitempty"`
	// Required. Immutable. The name of the bucket containing the destination
	// object.
	DestinationBucket string `protobuf:"bytes,25,opt,name=destination_bucket,json=destinationBucket,proto3" json:"destination_bucket,omitempty"`
	// Optional. The name of the Cloud KMS key that is used to encrypt the
	// destination object. The Cloud KMS key must be located in same location as
	// the object. If the parameter is not specified, the request uses the
	// destination bucket's default encryption key, if any, or else the
	// Google-managed encryption key.
	DestinationKmsKey string `protobuf:"bytes,27,opt,name=destination_kms_key,json=destinationKmsKey,proto3" json:"destination_kms_key,omitempty"`
	// Optional. Properties of the destination, post-rewrite object.
	// The `name`, `bucket` and `kms_key` fields must not be populated (these
	// values are specified in the `destination_name`, `destination_bucket`, and
	// `destination_kms_key` fields).
	// If `destination` is present it is used to construct the destination
	// object's metadata; otherwise the destination object's metadata is
	// copied from the source object.
	Destination *Object `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
	// Required. Name of the bucket in which to find the source object.
	SourceBucket string `protobuf:"bytes,2,opt,name=source_bucket,json=sourceBucket,proto3" json:"source_bucket,omitempty"`
	// Required. Name of the source object.
	SourceObject string `protobuf:"bytes,3,opt,name=source_object,json=sourceObject,proto3" json:"source_object,omitempty"`
	// Optional. If present, selects a specific revision of the source object (as
	// opposed to the latest version, the default).
	SourceGeneration int64 `protobuf:"varint,4,opt,name=source_generation,json=sourceGeneration,proto3" json:"source_generation,omitempty"`
	// Optional. Include this field (from the previous rewrite response) on each
	// rewrite request after the first one, until the rewrite response 'done' flag
	// is true. Calls that provide a rewriteToken can omit all other request
	// fields, but if included those fields must match the values provided in the
	// first rewrite request.
	RewriteToken string `protobuf:"bytes,5,opt,name=rewrite_token,json=rewriteToken,proto3" json:"rewrite_token,omitempty"`
	// Optional. Apply a predefined set of access controls to the destination
	// object. Valid values are `authenticatedRead`, `bucketOwnerFullControl`,
	// `bucketOwnerRead`, `private`, `projectPrivate`, or `publicRead`.
	DestinationPredefinedAcl string `protobuf:"bytes,28,opt,name=destination_predefined_acl,json=destinationPredefinedAcl,proto3" json:"destination_predefined_acl,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *int64 `protobuf:"varint,7,opt,name=if_generation_match,json=ifGenerationMatch,proto3,oneof" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's live generation
	// does not match the given value. If no live object exists, the precondition
	// fails. Setting to 0 makes the operation succeed only if there is a live
	// version of the object.
	IfGenerationNotMatch *int64 `protobuf:"varint,8,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3,oneof" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the destination object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *int64 `protobuf:"varint,9,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// Makes the operation conditional on whether the destination object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,10,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// Makes the operation conditional on whether the source object's live
	// generation matches the given value.
	IfSourceGenerationMatch *int64 `protobuf:"varint,11,opt,name=if_source_generation_match,json=ifSourceGenerationMatch,proto3,oneof" json:"if_source_generation_match,omitempty"`
	// Makes the operation conditional on whether the source object's live
	// generation does not match the given value.
	IfSourceGenerationNotMatch *int64 `protobuf:"varint,12,opt,name=if_source_generation_not_match,json=ifSourceGenerationNotMatch,proto3,oneof" json:"if_source_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the source object's current
	// metageneration matches the given value.
	IfSourceMetagenerationMatch *int64 `protobuf:"varint,13,opt,name=if_source_metageneration_match,json=ifSourceMetagenerationMatch,proto3,oneof" json:"if_source_metageneration_match,omitempty"`
	// Makes the operation conditional on whether the source object's current
	// metageneration does not match the given value.
	IfSourceMetagenerationNotMatch *int64 `protobuf:"varint,14,opt,name=if_source_metageneration_not_match,json=ifSourceMetagenerationNotMatch,proto3,oneof" json:"if_source_metageneration_not_match,omitempty"`
	// Optional. The maximum number of bytes that are rewritten per rewrite
	// request. Most callers shouldn't need to specify this parameter - it is
	// primarily in place to support testing. If specified the value must be an
	// integral multiple of 1 MiB (1048576). Also, this only applies to requests
	// where the source and destination span locations and/or storage classes.
	// Finally, this value must not change across rewrite calls else you'll get an
	// error that the `rewriteToken` is invalid.
	MaxBytesRewrittenPerCall int64 `protobuf:"varint,15,opt,name=max_bytes_rewritten_per_call,json=maxBytesRewrittenPerCall,proto3" json:"max_bytes_rewritten_per_call,omitempty"`
	// Optional. The algorithm used to encrypt the source object, if any. Used if
	// the source object was encrypted with a Customer-Supplied Encryption Key.
	CopySourceEncryptionAlgorithm string `protobuf:"bytes,16,opt,name=copy_source_encryption_algorithm,json=copySourceEncryptionAlgorithm,proto3" json:"copy_source_encryption_algorithm,omitempty"`
	// Optional. The raw bytes (not base64-encoded) AES-256 encryption key used to
	// encrypt the source object, if it was encrypted with a Customer-Supplied
	// Encryption Key.
	CopySourceEncryptionKeyBytes []byte `protobuf:"bytes,21,opt,name=copy_source_encryption_key_bytes,json=copySourceEncryptionKeyBytes,proto3" json:"copy_source_encryption_key_bytes,omitempty"`
	// Optional. The raw bytes (not base64-encoded) SHA256 hash of the encryption
	// key used to encrypt the source object, if it was encrypted with a
	// Customer-Supplied Encryption Key.
	CopySourceEncryptionKeySha256Bytes []byte `protobuf:"bytes,22,opt,name=copy_source_encryption_key_sha256_bytes,json=copySourceEncryptionKeySha256Bytes,proto3" json:"copy_source_encryption_key_sha256_bytes,omitempty"`
	// Optional. A set of parameters common to Storage API requests concerning an
	// object.
	CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,19,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"`
	// Optional. The checksums of the complete object. This is used to validate
	// the destination object after rewriting.
	ObjectChecksums *ObjectChecksums `protobuf:"bytes,29,opt,name=object_checksums,json=objectChecksums,proto3" json:"object_checksums,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *RewriteObjectRequest) Reset() {
	*x = RewriteObjectRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[35]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RewriteObjectRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RewriteObjectRequest) ProtoMessage() {}

func (x *RewriteObjectRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[35]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RewriteObjectRequest.ProtoReflect.Descriptor instead.
func (*RewriteObjectRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{35}
}

func (x *RewriteObjectRequest) GetDestinationName() string {
	if x != nil {
		return x.DestinationName
	}
	return ""
}

func (x *RewriteObjectRequest) GetDestinationBucket() string {
	if x != nil {
		return x.DestinationBucket
	}
	return ""
}

func (x *RewriteObjectRequest) GetDestinationKmsKey() string {
	if x != nil {
		return x.DestinationKmsKey
	}
	return ""
}

func (x *RewriteObjectRequest) GetDestination() *Object {
	if x != nil {
		return x.Destination
	}
	return nil
}

func (x *RewriteObjectRequest) GetSourceBucket() string {
	if x != nil {
		return x.SourceBucket
	}
	return ""
}

func (x *RewriteObjectRequest) GetSourceObject() string {
	if x != nil {
		return x.SourceObject
	}
	return ""
}

func (x *RewriteObjectRequest) GetSourceGeneration() int64 {
	if x != nil {
		return x.SourceGeneration
	}
	return 0
}

func (x *RewriteObjectRequest) GetRewriteToken() string {
	if x != nil {
		return x.RewriteToken
	}
	return ""
}

func (x *RewriteObjectRequest) GetDestinationPredefinedAcl() string {
	if x != nil {
		return x.DestinationPredefinedAcl
	}
	return ""
}

func (x *RewriteObjectRequest) GetIfGenerationMatch() int64 {
	if x != nil && x.IfGenerationMatch != nil {
		return *x.IfGenerationMatch
	}
	return 0
}

func (x *RewriteObjectRequest) GetIfGenerationNotMatch() int64 {
	if x != nil && x.IfGenerationNotMatch != nil {
		return *x.IfGenerationNotMatch
	}
	return 0
}

func (x *RewriteObjectRequest) GetIfMetagenerationMatch() int64 {
	if x != nil && x.IfMetagenerationMatch != nil {
		return *x.IfMetagenerationMatch
	}
	return 0
}

func (x *RewriteObjectRequest) GetIfMetagenerationNotMatch() int64 {
	if x != nil && x.IfMetagenerationNotMatch != nil {
		return *x.IfMetagenerationNotMatch
	}
	return 0
}

func (x *RewriteObjectRequest) GetIfSourceGenerationMatch() int64 {
	if x != nil && x.IfSourceGenerationMatch != nil {
		return *x.IfSourceGenerationMatch
	}
	return 0
}

func (x *RewriteObjectRequest) GetIfSourceGenerationNotMatch() int64 {
	if x != nil && x.IfSourceGenerationNotMatch != nil {
		return *x.IfSourceGenerationNotMatch
	}
	return 0
}

func (x *RewriteObjectRequest) GetIfSourceMetagenerationMatch() int64 {
	if x != nil && x.IfSourceMetagenerationMatch != nil {
		return *x.IfSourceMetagenerationMatch
	}
	return 0
}

func (x *RewriteObjectRequest) GetIfSourceMetagenerationNotMatch() int64 {
	if x != nil && x.IfSourceMetagenerationNotMatch != nil {
		return *x.IfSourceMetagenerationNotMatch
	}
	return 0
}

func (x *RewriteObjectRequest) GetMaxBytesRewrittenPerCall() int64 {
	if x != nil {
		return x.MaxBytesRewrittenPerCall
	}
	return 0
}

func (x *RewriteObjectRequest) GetCopySourceEncryptionAlgorithm() string {
	if x != nil {
		return x.CopySourceEncryptionAlgorithm
	}
	return ""
}

func (x *RewriteObjectRequest) GetCopySourceEncryptionKeyBytes() []byte {
	if x != nil {
		return x.CopySourceEncryptionKeyBytes
	}
	return nil
}

func (x *RewriteObjectRequest) GetCopySourceEncryptionKeySha256Bytes() []byte {
	if x != nil {
		return x.CopySourceEncryptionKeySha256Bytes
	}
	return nil
}

func (x *RewriteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams {
	if x != nil {
		return x.CommonObjectRequestParams
	}
	return nil
}

func (x *RewriteObjectRequest) GetObjectChecksums() *ObjectChecksums {
	if x != nil {
		return x.ObjectChecksums
	}
	return nil
}

// A rewrite response.
type RewriteResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The total bytes written so far, which can be used to provide a waiting user
	// with a progress indicator. This property is always present in the response.
	TotalBytesRewritten int64 `protobuf:"varint,1,opt,name=total_bytes_rewritten,json=totalBytesRewritten,proto3" json:"total_bytes_rewritten,omitempty"`
	// The total size of the object being copied in bytes. This property is always
	// present in the response.
	ObjectSize int64 `protobuf:"varint,2,opt,name=object_size,json=objectSize,proto3" json:"object_size,omitempty"`
	// `true` if the copy is finished; otherwise, `false` if
	// the copy is in progress. This property is always present in the response.
	Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"`
	// A token to use in subsequent requests to continue copying data. This token
	// is present in the response only when there is more data to copy.
	RewriteToken string `protobuf:"bytes,4,opt,name=rewrite_token,json=rewriteToken,proto3" json:"rewrite_token,omitempty"`
	// A resource containing the metadata for the copied-to object. This property
	// is present in the response only when copying completes.
	Resource      *Object `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RewriteResponse) Reset() {
	*x = RewriteResponse{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[36]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RewriteResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RewriteResponse) ProtoMessage() {}

func (x *RewriteResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[36]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RewriteResponse.ProtoReflect.Descriptor instead.
func (*RewriteResponse) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{36}
}

func (x *RewriteResponse) GetTotalBytesRewritten() int64 {
	if x != nil {
		return x.TotalBytesRewritten
	}
	return 0
}

func (x *RewriteResponse) GetObjectSize() int64 {
	if x != nil {
		return x.ObjectSize
	}
	return 0
}

func (x *RewriteResponse) GetDone() bool {
	if x != nil {
		return x.Done
	}
	return false
}

func (x *RewriteResponse) GetRewriteToken() string {
	if x != nil {
		return x.RewriteToken
	}
	return ""
}

func (x *RewriteResponse) GetResource() *Object {
	if x != nil {
		return x.Resource
	}
	return nil
}

// Request message for [MoveObject][google.storage.v2.Storage.MoveObject].
type MoveObjectRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Name of the bucket in which the object resides.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. Name of the source object.
	SourceObject string `protobuf:"bytes,2,opt,name=source_object,json=sourceObject,proto3" json:"source_object,omitempty"`
	// Required. Name of the destination object.
	DestinationObject string `protobuf:"bytes,3,opt,name=destination_object,json=destinationObject,proto3" json:"destination_object,omitempty"`
	// Optional. Makes the operation conditional on whether the source object's
	// current generation matches the given value. `if_source_generation_match`
	// and `if_source_generation_not_match` conditions are mutually exclusive:
	// it's an error for both of them to be set in the request.
	IfSourceGenerationMatch *int64 `protobuf:"varint,4,opt,name=if_source_generation_match,json=ifSourceGenerationMatch,proto3,oneof" json:"if_source_generation_match,omitempty"`
	// Optional. Makes the operation conditional on whether the source object's
	// current generation does not match the given value.
	// `if_source_generation_match` and `if_source_generation_not_match`
	// conditions are mutually exclusive: it's an error for both of them to be set
	// in the request.
	IfSourceGenerationNotMatch *int64 `protobuf:"varint,5,opt,name=if_source_generation_not_match,json=ifSourceGenerationNotMatch,proto3,oneof" json:"if_source_generation_not_match,omitempty"`
	// Optional. Makes the operation conditional on whether the source object's
	// current metageneration matches the given value.
	// `if_source_metageneration_match` and `if_source_metageneration_not_match`
	// conditions are mutually exclusive: it's an error for both of them to be set
	// in the request.
	IfSourceMetagenerationMatch *int64 `protobuf:"varint,6,opt,name=if_source_metageneration_match,json=ifSourceMetagenerationMatch,proto3,oneof" json:"if_source_metageneration_match,omitempty"`
	// Optional. Makes the operation conditional on whether the source object's
	// current metageneration does not match the given value.
	// `if_source_metageneration_match` and `if_source_metageneration_not_match`
	// conditions are mutually exclusive: it's an error for both of them to be set
	// in the request.
	IfSourceMetagenerationNotMatch *int64 `protobuf:"varint,7,opt,name=if_source_metageneration_not_match,json=ifSourceMetagenerationNotMatch,proto3,oneof" json:"if_source_metageneration_not_match,omitempty"`
	// Optional. Makes the operation conditional on whether the destination
	// object's current generation matches the given value. Setting to 0 makes the
	// operation succeed only if there are no live versions of the object.
	// `if_generation_match` and `if_generation_not_match` conditions are mutually
	// exclusive: it's an error for both of them to be set in the request.
	IfGenerationMatch *int64 `protobuf:"varint,8,opt,name=if_generation_match,json=ifGenerationMatch,proto3,oneof" json:"if_generation_match,omitempty"`
	// Optional. Makes the operation conditional on whether the destination
	// object's current generation does not match the given value. If no live
	// object exists, the precondition fails. Setting to 0 makes the operation
	// succeed only if there is a live version of the object.
	// `if_generation_match` and `if_generation_not_match` conditions are mutually
	// exclusive: it's an error for both of them to be set in the request.
	IfGenerationNotMatch *int64 `protobuf:"varint,9,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3,oneof" json:"if_generation_not_match,omitempty"`
	// Optional. Makes the operation conditional on whether the destination
	// object's current metageneration matches the given value.
	// `if_metageneration_match` and `if_metageneration_not_match` conditions are
	// mutually exclusive: it's an error for both of them to be set in the
	// request.
	IfMetagenerationMatch *int64 `protobuf:"varint,10,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// Optional. Makes the operation conditional on whether the destination
	// object's current metageneration does not match the given value.
	// `if_metageneration_match` and `if_metageneration_not_match` conditions are
	// mutually exclusive: it's an error for both of them to be set in the
	// request.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,11,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

func (x *MoveObjectRequest) Reset() {
	*x = MoveObjectRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[37]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *MoveObjectRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*MoveObjectRequest) ProtoMessage() {}

func (x *MoveObjectRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[37]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use MoveObjectRequest.ProtoReflect.Descriptor instead.
func (*MoveObjectRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{37}
}

func (x *MoveObjectRequest) GetBucket() string {
	if x != nil {
		return x.Bucket
	}
	return ""
}

func (x *MoveObjectRequest) GetSourceObject() string {
	if x != nil {
		return x.SourceObject
	}
	return ""
}

func (x *MoveObjectRequest) GetDestinationObject() string {
	if x != nil {
		return x.DestinationObject
	}
	return ""
}

func (x *MoveObjectRequest) GetIfSourceGenerationMatch() int64 {
	if x != nil && x.IfSourceGenerationMatch != nil {
		return *x.IfSourceGenerationMatch
	}
	return 0
}

func (x *MoveObjectRequest) GetIfSourceGenerationNotMatch() int64 {
	if x != nil && x.IfSourceGenerationNotMatch != nil {
		return *x.IfSourceGenerationNotMatch
	}
	return 0
}

func (x *MoveObjectRequest) GetIfSourceMetagenerationMatch() int64 {
	if x != nil && x.IfSourceMetagenerationMatch != nil {
		return *x.IfSourceMetagenerationMatch
	}
	return 0
}

func (x *MoveObjectRequest) GetIfSourceMetagenerationNotMatch() int64 {
	if x != nil && x.IfSourceMetagenerationNotMatch != nil {
		return *x.IfSourceMetagenerationNotMatch
	}
	return 0
}

func (x *MoveObjectRequest) GetIfGenerationMatch() int64 {
	if x != nil && x.IfGenerationMatch != nil {
		return *x.IfGenerationMatch
	}
	return 0
}

func (x *MoveObjectRequest) GetIfGenerationNotMatch() int64 {
	if x != nil && x.IfGenerationNotMatch != nil {
		return *x.IfGenerationNotMatch
	}
	return 0
}

func (x *MoveObjectRequest) GetIfMetagenerationMatch() int64 {
	if x != nil && x.IfMetagenerationMatch != nil {
		return *x.IfMetagenerationMatch
	}
	return 0
}

func (x *MoveObjectRequest) GetIfMetagenerationNotMatch() int64 {
	if x != nil && x.IfMetagenerationNotMatch != nil {
		return *x.IfMetagenerationNotMatch
	}
	return 0
}

// Request message for
// [StartResumableWrite][google.storage.v2.Storage.StartResumableWrite].
type StartResumableWriteRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Contains the information necessary to start a resumable write.
	WriteObjectSpec *WriteObjectSpec `protobuf:"bytes,1,opt,name=write_object_spec,json=writeObjectSpec,proto3" json:"write_object_spec,omitempty"`
	// Optional. A set of parameters common to Storage API requests related to an
	// object.
	CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,3,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"`
	// Optional. The checksums of the complete object. This is used to validate
	// the uploaded object. For each upload, `object_checksums` can be provided
	// when initiating a resumable upload with`StartResumableWriteRequest` or when
	// completing a write with `WriteObjectRequest` with
	// `finish_write` set to `true`.
	ObjectChecksums *ObjectChecksums `protobuf:"bytes,5,opt,name=object_checksums,json=objectChecksums,proto3" json:"object_checksums,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *StartResumableWriteRequest) Reset() {
	*x = StartResumableWriteRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[38]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *StartResumableWriteRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*StartResumableWriteRequest) ProtoMessage() {}

func (x *StartResumableWriteRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[38]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use StartResumableWriteRequest.ProtoReflect.Descriptor instead.
func (*StartResumableWriteRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{38}
}

func (x *StartResumableWriteRequest) GetWriteObjectSpec() *WriteObjectSpec {
	if x != nil {
		return x.WriteObjectSpec
	}
	return nil
}

func (x *StartResumableWriteRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams {
	if x != nil {
		return x.CommonObjectRequestParams
	}
	return nil
}

func (x *StartResumableWriteRequest) GetObjectChecksums() *ObjectChecksums {
	if x != nil {
		return x.ObjectChecksums
	}
	return nil
}

// Response object for
// [StartResumableWrite][google.storage.v2.Storage.StartResumableWrite].
type StartResumableWriteResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A unique identifier for the initiated resumable write operation.
	// As the ID grants write access, you should keep it confidential during
	// the upload to prevent unauthorized access and data tampering during your
	// upload. This ID should be included in subsequent `WriteObject` requests to
	// upload the object data.
	UploadId      string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *StartResumableWriteResponse) Reset() {
	*x = StartResumableWriteResponse{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[39]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *StartResumableWriteResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*StartResumableWriteResponse) ProtoMessage() {}

func (x *StartResumableWriteResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[39]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use StartResumableWriteResponse.ProtoReflect.Descriptor instead.
func (*StartResumableWriteResponse) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{39}
}

func (x *StartResumableWriteResponse) GetUploadId() string {
	if x != nil {
		return x.UploadId
	}
	return ""
}

// Request message for [UpdateObject][google.storage.v2.Storage.UpdateObject].
type UpdateObjectRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The object to update.
	// The object's bucket and name fields are used to identify the object to
	// update. If present, the object's generation field selects a specific
	// revision of this object whose metadata should be updated. Otherwise,
	// assumes the live version of the object.
	Object *Object `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *int64 `protobuf:"varint,2,opt,name=if_generation_match,json=ifGenerationMatch,proto3,oneof" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's live generation
	// does not match the given value. If no live object exists, the precondition
	// fails. Setting to 0 makes the operation succeed only if there is a live
	// version of the object.
	IfGenerationNotMatch *int64 `protobuf:"varint,3,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3,oneof" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *int64 `protobuf:"varint,4,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,5,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// Optional. Apply a predefined set of access controls to this object.
	// Valid values are "authenticatedRead", "bucketOwnerFullControl",
	// "bucketOwnerRead", "private", "projectPrivate", or "publicRead".
	PredefinedAcl string `protobuf:"bytes,10,opt,name=predefined_acl,json=predefinedAcl,proto3" json:"predefined_acl,omitempty"`
	// Required. List of fields to be updated.
	//
	// To specify ALL fields, equivalent to the JSON API's "update" function,
	// specify a single field with the value `*`. Note: not recommended. If a new
	// field is introduced at a later time, an older client updating with the `*`
	// might accidentally reset the new field's value.
	//
	// Not specifying any fields is an error.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,7,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Optional. A set of parameters common to Storage API requests concerning an
	// object.
	CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,8,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"`
	// Optional. Overrides the unlocked retention config on the object.
	OverrideUnlockedRetention bool `protobuf:"varint,11,opt,name=override_unlocked_retention,json=overrideUnlockedRetention,proto3" json:"override_unlocked_retention,omitempty"`
	unknownFields             protoimpl.UnknownFields
	sizeCache                 protoimpl.SizeCache
}

func (x *UpdateObjectRequest) Reset() {
	*x = UpdateObjectRequest{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[40]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UpdateObjectRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UpdateObjectRequest) ProtoMessage() {}

func (x *UpdateObjectRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[40]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use UpdateObjectRequest.ProtoReflect.Descriptor instead.
func (*UpdateObjectRequest) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{40}
}

func (x *UpdateObjectRequest) GetObject() *Object {
	if x != nil {
		return x.Object
	}
	return nil
}

func (x *UpdateObjectRequest) GetIfGenerationMatch() int64 {
	if x != nil && x.IfGenerationMatch != nil {
		return *x.IfGenerationMatch
	}
	return 0
}

func (x *UpdateObjectRequest) GetIfGenerationNotMatch() int64 {
	if x != nil && x.IfGenerationNotMatch != nil {
		return *x.IfGenerationNotMatch
	}
	return 0
}

func (x *UpdateObjectRequest) GetIfMetagenerationMatch() int64 {
	if x != nil && x.IfMetagenerationMatch != nil {
		return *x.IfMetagenerationMatch
	}
	return 0
}

func (x *UpdateObjectRequest) GetIfMetagenerationNotMatch() int64 {
	if x != nil && x.IfMetagenerationNotMatch != nil {
		return *x.IfMetagenerationNotMatch
	}
	return 0
}

func (x *UpdateObjectRequest) GetPredefinedAcl() string {
	if x != nil {
		return x.PredefinedAcl
	}
	return ""
}

func (x *UpdateObjectRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

func (x *UpdateObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams {
	if x != nil {
		return x.CommonObjectRequestParams
	}
	return nil
}

func (x *UpdateObjectRequest) GetOverrideUnlockedRetention() bool {
	if x != nil {
		return x.OverrideUnlockedRetention
	}
	return false
}

// Parameters that can be passed to any object request.
type CommonObjectRequestParams struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Encryption algorithm used with the Customer-Supplied Encryption
	// Keys feature.
	EncryptionAlgorithm string `protobuf:"bytes,1,opt,name=encryption_algorithm,json=encryptionAlgorithm,proto3" json:"encryption_algorithm,omitempty"`
	// Optional. Encryption key used with the Customer-Supplied Encryption Keys
	// feature. In raw bytes format (not base64-encoded).
	EncryptionKeyBytes []byte `protobuf:"bytes,4,opt,name=encryption_key_bytes,json=encryptionKeyBytes,proto3" json:"encryption_key_bytes,omitempty"`
	// Optional. SHA256 hash of encryption key used with the Customer-supplied
	// encryption keys feature.
	EncryptionKeySha256Bytes []byte `protobuf:"bytes,5,opt,name=encryption_key_sha256_bytes,json=encryptionKeySha256Bytes,proto3" json:"encryption_key_sha256_bytes,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

func (x *CommonObjectRequestParams) Reset() {
	*x = CommonObjectRequestParams{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[41]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CommonObjectRequestParams) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CommonObjectRequestParams) ProtoMessage() {}

func (x *CommonObjectRequestParams) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[41]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CommonObjectRequestParams.ProtoReflect.Descriptor instead.
func (*CommonObjectRequestParams) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{41}
}

func (x *CommonObjectRequestParams) GetEncryptionAlgorithm() string {
	if x != nil {
		return x.EncryptionAlgorithm
	}
	return ""
}

func (x *CommonObjectRequestParams) GetEncryptionKeyBytes() []byte {
	if x != nil {
		return x.EncryptionKeyBytes
	}
	return nil
}

func (x *CommonObjectRequestParams) GetEncryptionKeySha256Bytes() []byte {
	if x != nil {
		return x.EncryptionKeySha256Bytes
	}
	return nil
}

// Shared constants.
type ServiceConstants struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ServiceConstants) Reset() {
	*x = ServiceConstants{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[42]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ServiceConstants) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ServiceConstants) ProtoMessage() {}

func (x *ServiceConstants) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[42]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ServiceConstants.ProtoReflect.Descriptor instead.
func (*ServiceConstants) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{42}
}

// A bucket.
type Bucket struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Identifier. The name of the bucket.
	// Format: `projects/{project}/buckets/{bucket}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The user-chosen part of the bucket name. The `{bucket}`
	// portion of the `name` field. For globally unique buckets, this is equal to
	// the `bucket name` of other Cloud Storage APIs. Example: `pub`.
	BucketId string `protobuf:"bytes,2,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
	// The etag of the bucket.
	// If included in the metadata of an `UpdateBucketRequest`, the operation is
	// only performed if the `etag` matches that of the bucket.
	Etag string `protobuf:"bytes,29,opt,name=etag,proto3" json:"etag,omitempty"`
	// Immutable. The project which owns this bucket, in the format of
	// `projects/{projectIdentifier}`.
	// `{projectIdentifier}` can be the project ID or project number.
	// Output values are always in the project number format.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// Output only. The metadata generation of this bucket.
	Metageneration int64 `protobuf:"varint,4,opt,name=metageneration,proto3" json:"metageneration,omitempty"`
	// Immutable. The location of the bucket. Object data for objects in the
	// bucket resides in physical storage within this region.  Defaults to `US`.
	// Attempting to update this field after the bucket is created results in an
	// error.
	Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
	// Output only. The location type of the bucket (region, dual-region,
	// multi-region, etc).
	LocationType string `protobuf:"bytes,6,opt,name=location_type,json=locationType,proto3" json:"location_type,omitempty"`
	// Optional. The bucket's default storage class, used whenever no storageClass
	// is specified for a newly-created object. This defines how objects in the
	// bucket are stored and determines the SLA and the cost of storage.
	// If this value is not specified when the bucket is created, it defaults
	// to `STANDARD`. For more information, see [Storage
	// classes](https://developers.google.com/storage/docs/storage-classes).
	StorageClass string `protobuf:"bytes,7,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"`
	// Optional. The recovery point objective for cross-region replication of the
	// bucket. Applicable only for dual- and multi-region buckets. `DEFAULT` uses
	// default replication. `ASYNC_TURBO` enables turbo replication, valid for
	// dual-region buckets only. If rpo is not specified when the bucket is
	// created, it defaults to `DEFAULT`. For more information, see [Turbo
	// replication](https://cloud.google.com/storage/docs/availability-durability#turbo-replication).
	Rpo string `protobuf:"bytes,27,opt,name=rpo,proto3" json:"rpo,omitempty"`
	// Optional. Access controls on the bucket.
	// If `iam_config.uniform_bucket_level_access` is enabled on this bucket,
	// requests to set, read, or modify acl is an error.
	Acl []*BucketAccessControl `protobuf:"bytes,8,rep,name=acl,proto3" json:"acl,omitempty"`
	// Optional. Default access controls to apply to new objects when no ACL is
	// provided. If `iam_config.uniform_bucket_level_access` is enabled on this
	// bucket, requests to set, read, or modify acl is an error.
	DefaultObjectAcl []*ObjectAccessControl `protobuf:"bytes,9,rep,name=default_object_acl,json=defaultObjectAcl,proto3" json:"default_object_acl,omitempty"`
	// Optional. The bucket's lifecycle configuration. See [Lifecycle
	// Management](https://developers.google.com/storage/docs/lifecycle) for more
	// information.
	Lifecycle *Bucket_Lifecycle `protobuf:"bytes,10,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
	// Output only. The creation time of the bucket.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Optional. The bucket's [CORS](https://www.w3.org/TR/cors/)
	// configuration.
	Cors []*Bucket_Cors `protobuf:"bytes,12,rep,name=cors,proto3" json:"cors,omitempty"`
	// Output only. The modification time of the bucket.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. The default value for event-based hold on newly created objects
	// in this bucket.  Event-based hold is a way to retain objects indefinitely
	// until an event occurs, signified by the hold's release. After being
	// released, such objects are subject to bucket-level retention (if any).  One
	// sample use case of this flag is for banks to hold loan documents for at
	// least 3 years after loan is paid in full. Here, bucket-level retention is 3
	// years and the event is loan being paid in full. In this example, these
	// objects are held intact for any number of years until the event has
	// occurred (event-based hold on the object is released) and then 3 more years
	// after that. That means retention duration of the objects begins from the
	// moment event-based hold transitioned from true to false.  Objects under
	// event-based hold cannot be deleted, overwritten or archived until the hold
	// is removed.
	DefaultEventBasedHold bool `protobuf:"varint,14,opt,name=default_event_based_hold,json=defaultEventBasedHold,proto3" json:"default_event_based_hold,omitempty"`
	// Optional. User-provided labels, in key/value pairs.
	Labels map[string]string `protobuf:"bytes,15,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Optional. The bucket's website config, controlling how the service behaves
	// when accessing bucket contents as a web site. See the [Static website
	// examples](https://cloud.google.com/storage/docs/static-website) for more
	// information.
	Website *Bucket_Website `protobuf:"bytes,16,opt,name=website,proto3" json:"website,omitempty"`
	// Optional. The bucket's versioning configuration.
	Versioning *Bucket_Versioning `protobuf:"bytes,17,opt,name=versioning,proto3" json:"versioning,omitempty"`
	// Optional. The bucket's logging config, which defines the destination bucket
	// and name prefix (if any) for the current bucket's logs.
	Logging *Bucket_Logging `protobuf:"bytes,18,opt,name=logging,proto3" json:"logging,omitempty"`
	// Output only. The owner of the bucket. This is always the project team's
	// owner group.
	Owner *Owner `protobuf:"bytes,19,opt,name=owner,proto3" json:"owner,omitempty"`
	// Optional. Encryption config for a bucket.
	Encryption *Bucket_Encryption `protobuf:"bytes,20,opt,name=encryption,proto3" json:"encryption,omitempty"`
	// Optional. The bucket's billing configuration.
	Billing *Bucket_Billing `protobuf:"bytes,21,opt,name=billing,proto3" json:"billing,omitempty"`
	// Optional. The bucket's retention policy. The retention policy enforces a
	// minimum retention time for all objects contained in the bucket, based on
	// their creation time. Any attempt to overwrite or delete objects younger
	// than the retention period results in a `PERMISSION_DENIED` error.  An
	// unlocked retention policy can be modified or removed from the bucket via a
	// storage.buckets.update operation. A locked retention policy cannot be
	// removed or shortened in duration for the lifetime of the bucket.
	// Attempting to remove or decrease period of a locked retention policy
	// results in a `PERMISSION_DENIED` error.
	RetentionPolicy *Bucket_RetentionPolicy `protobuf:"bytes,22,opt,name=retention_policy,json=retentionPolicy,proto3" json:"retention_policy,omitempty"`
	// Optional. The bucket's IAM configuration.
	IamConfig *Bucket_IamConfig `protobuf:"bytes,23,opt,name=iam_config,json=iamConfig,proto3" json:"iam_config,omitempty"`
	// Optional. Reserved for future use.
	SatisfiesPzs bool `protobuf:"varint,25,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
	// Optional. Configuration that, if present, specifies the data placement for
	// a [configurable
	// dual-region](https://cloud.google.com/storage/docs/locations#location-dr).
	CustomPlacementConfig *Bucket_CustomPlacementConfig `protobuf:"bytes,26,opt,name=custom_placement_config,json=customPlacementConfig,proto3" json:"custom_placement_config,omitempty"`
	// Optional. The bucket's Autoclass configuration. If there is no
	// configuration, the Autoclass feature is disabled and has no effect on the
	// bucket.
	Autoclass *Bucket_Autoclass `protobuf:"bytes,28,opt,name=autoclass,proto3" json:"autoclass,omitempty"`
	// Optional. The bucket's hierarchical namespace configuration. If there is no
	// configuration, the hierarchical namespace feature is disabled and has
	// no effect on the bucket.
	HierarchicalNamespace *Bucket_HierarchicalNamespace `protobuf:"bytes,32,opt,name=hierarchical_namespace,json=hierarchicalNamespace,proto3" json:"hierarchical_namespace,omitempty"`
	// Optional. The bucket's soft delete policy. The soft delete policy prevents
	// soft-deleted objects from being permanently deleted.
	SoftDeletePolicy *Bucket_SoftDeletePolicy `protobuf:"bytes,31,opt,name=soft_delete_policy,json=softDeletePolicy,proto3" json:"soft_delete_policy,omitempty"`
	// Optional. The bucket's object retention configuration. Must be enabled
	// before objects in the bucket might have retention configured.
	ObjectRetention *Bucket_ObjectRetention `protobuf:"bytes,33,opt,name=object_retention,json=objectRetention,proto3" json:"object_retention,omitempty"`
	// Optional. The bucket's IP filter configuration.
	IpFilter      *Bucket_IpFilter `protobuf:"bytes,38,opt,name=ip_filter,json=ipFilter,proto3,oneof" json:"ip_filter,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket) Reset() {
	*x = Bucket{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[43]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket) ProtoMessage() {}

func (x *Bucket) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[43]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket.ProtoReflect.Descriptor instead.
func (*Bucket) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43}
}

func (x *Bucket) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *Bucket) GetBucketId() string {
	if x != nil {
		return x.BucketId
	}
	return ""
}

func (x *Bucket) GetEtag() string {
	if x != nil {
		return x.Etag
	}
	return ""
}

func (x *Bucket) GetProject() string {
	if x != nil {
		return x.Project
	}
	return ""
}

func (x *Bucket) GetMetageneration() int64 {
	if x != nil {
		return x.Metageneration
	}
	return 0
}

func (x *Bucket) GetLocation() string {
	if x != nil {
		return x.Location
	}
	return ""
}

func (x *Bucket) GetLocationType() string {
	if x != nil {
		return x.LocationType
	}
	return ""
}

func (x *Bucket) GetStorageClass() string {
	if x != nil {
		return x.StorageClass
	}
	return ""
}

func (x *Bucket) GetRpo() string {
	if x != nil {
		return x.Rpo
	}
	return ""
}

func (x *Bucket) GetAcl() []*BucketAccessControl {
	if x != nil {
		return x.Acl
	}
	return nil
}

func (x *Bucket) GetDefaultObjectAcl() []*ObjectAccessControl {
	if x != nil {
		return x.DefaultObjectAcl
	}
	return nil
}

func (x *Bucket) GetLifecycle() *Bucket_Lifecycle {
	if x != nil {
		return x.Lifecycle
	}
	return nil
}

func (x *Bucket) GetCreateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTime
	}
	return nil
}

func (x *Bucket) GetCors() []*Bucket_Cors {
	if x != nil {
		return x.Cors
	}
	return nil
}

func (x *Bucket) GetUpdateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdateTime
	}
	return nil
}

func (x *Bucket) GetDefaultEventBasedHold() bool {
	if x != nil {
		return x.DefaultEventBasedHold
	}
	return false
}

func (x *Bucket) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

func (x *Bucket) GetWebsite() *Bucket_Website {
	if x != nil {
		return x.Website
	}
	return nil
}

func (x *Bucket) GetVersioning() *Bucket_Versioning {
	if x != nil {
		return x.Versioning
	}
	return nil
}

func (x *Bucket) GetLogging() *Bucket_Logging {
	if x != nil {
		return x.Logging
	}
	return nil
}

func (x *Bucket) GetOwner() *Owner {
	if x != nil {
		return x.Owner
	}
	return nil
}

func (x *Bucket) GetEncryption() *Bucket_Encryption {
	if x != nil {
		return x.Encryption
	}
	return nil
}

func (x *Bucket) GetBilling() *Bucket_Billing {
	if x != nil {
		return x.Billing
	}
	return nil
}

func (x *Bucket) GetRetentionPolicy() *Bucket_RetentionPolicy {
	if x != nil {
		return x.RetentionPolicy
	}
	return nil
}

func (x *Bucket) GetIamConfig() *Bucket_IamConfig {
	if x != nil {
		return x.IamConfig
	}
	return nil
}

func (x *Bucket) GetSatisfiesPzs() bool {
	if x != nil {
		return x.SatisfiesPzs
	}
	return false
}

func (x *Bucket) GetCustomPlacementConfig() *Bucket_CustomPlacementConfig {
	if x != nil {
		return x.CustomPlacementConfig
	}
	return nil
}

func (x *Bucket) GetAutoclass() *Bucket_Autoclass {
	if x != nil {
		return x.Autoclass
	}
	return nil
}

func (x *Bucket) GetHierarchicalNamespace() *Bucket_HierarchicalNamespace {
	if x != nil {
		return x.HierarchicalNamespace
	}
	return nil
}

func (x *Bucket) GetSoftDeletePolicy() *Bucket_SoftDeletePolicy {
	if x != nil {
		return x.SoftDeletePolicy
	}
	return nil
}

func (x *Bucket) GetObjectRetention() *Bucket_ObjectRetention {
	if x != nil {
		return x.ObjectRetention
	}
	return nil
}

func (x *Bucket) GetIpFilter() *Bucket_IpFilter {
	if x != nil {
		return x.IpFilter
	}
	return nil
}

// An access-control entry.
type BucketAccessControl struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The access permission for the entity.
	Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// Optional. The ID of the access-control entry.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Optional. The entity holding the permission, in one of the following forms:
	// * `user-{userid}`
	// * `user-{email}`
	// * `group-{groupid}`
	// * `group-{email}`
	// * `domain-{domain}`
	// * `project-{team}-{projectnumber}`
	// * `project-{team}-{projectid}`
	// * `allUsers`
	// * `allAuthenticatedUsers`
	// Examples:
	// * The user `liz@example.com` would be `user-liz@example.com`.
	// * The group `example@googlegroups.com` would be
	// `group-example@googlegroups.com`
	// * All members of the Google Apps for Business domain `example.com` would be
	// `domain-example.com`
	// For project entities, `project-{team}-{projectnumber}` format is
	// returned on response.
	Entity string `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"`
	// Output only. The alternative entity format, if exists. For project
	// entities, `project-{team}-{projectid}` format is returned in the response.
	EntityAlt string `protobuf:"bytes,9,opt,name=entity_alt,json=entityAlt,proto3" json:"entity_alt,omitempty"`
	// Optional. The ID for the entity, if any.
	EntityId string `protobuf:"bytes,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	// Optional. The `etag` of the `BucketAccessControl`.
	// If included in the metadata of an update or delete request message, the
	// operation operation is only performed if the etag matches that of the
	// bucket's `BucketAccessControl`.
	Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`
	// Optional. The email address associated with the entity, if any.
	Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	// Optional. The domain associated with the entity, if any.
	Domain string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"`
	// Optional. The project team associated with the entity, if any.
	ProjectTeam   *ProjectTeam `protobuf:"bytes,7,opt,name=project_team,json=projectTeam,proto3" json:"project_team,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BucketAccessControl) Reset() {
	*x = BucketAccessControl{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[44]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BucketAccessControl) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BucketAccessControl) ProtoMessage() {}

func (x *BucketAccessControl) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[44]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BucketAccessControl.ProtoReflect.Descriptor instead.
func (*BucketAccessControl) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{44}
}

func (x *BucketAccessControl) GetRole() string {
	if x != nil {
		return x.Role
	}
	return ""
}

func (x *BucketAccessControl) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *BucketAccessControl) GetEntity() string {
	if x != nil {
		return x.Entity
	}
	return ""
}

func (x *BucketAccessControl) GetEntityAlt() string {
	if x != nil {
		return x.EntityAlt
	}
	return ""
}

func (x *BucketAccessControl) GetEntityId() string {
	if x != nil {
		return x.EntityId
	}
	return ""
}

func (x *BucketAccessControl) GetEtag() string {
	if x != nil {
		return x.Etag
	}
	return ""
}

func (x *BucketAccessControl) GetEmail() string {
	if x != nil {
		return x.Email
	}
	return ""
}

func (x *BucketAccessControl) GetDomain() string {
	if x != nil {
		return x.Domain
	}
	return ""
}

func (x *BucketAccessControl) GetProjectTeam() *ProjectTeam {
	if x != nil {
		return x.ProjectTeam
	}
	return nil
}

// Message used to convey content being read or written, along with an optional
// checksum.
type ChecksummedData struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The data.
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// If set, the CRC32C digest of the content field.
	Crc32C        *uint32 `protobuf:"fixed32,2,opt,name=crc32c,proto3,oneof" json:"crc32c,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ChecksummedData) Reset() {
	*x = ChecksummedData{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[45]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ChecksummedData) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ChecksummedData) ProtoMessage() {}

func (x *ChecksummedData) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[45]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ChecksummedData.ProtoReflect.Descriptor instead.
func (*ChecksummedData) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{45}
}

func (x *ChecksummedData) GetContent() []byte {
	if x != nil {
		return x.Content
	}
	return nil
}

func (x *ChecksummedData) GetCrc32C() uint32 {
	if x != nil && x.Crc32C != nil {
		return *x.Crc32C
	}
	return 0
}

// Message used for storing full (not subrange) object checksums.
type ObjectChecksums struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// CRC32C digest of the object data. Computed by the Cloud Storage service for
	// all written objects.
	// If set in a WriteObjectRequest, service validates that the stored
	// object matches this checksum.
	Crc32C *uint32 `protobuf:"fixed32,1,opt,name=crc32c,proto3,oneof" json:"crc32c,omitempty"`
	// Optional. 128 bit MD5 hash of the object data. For more information about
	// using the MD5 hash, see [Data validation and change
	// detection](https://cloud.google.com/storage/docs/data-validation). Not all
	// objects provide an MD5 hash. For example, composite objects provide only
	// crc32c hashes. This value is equivalent to running `cat object.txt |
	// openssl md5 -binary`
	Md5Hash       []byte `protobuf:"bytes,2,opt,name=md5_hash,json=md5Hash,proto3" json:"md5_hash,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ObjectChecksums) Reset() {
	*x = ObjectChecksums{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[46]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ObjectChecksums) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ObjectChecksums) ProtoMessage() {}

func (x *ObjectChecksums) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[46]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ObjectChecksums.ProtoReflect.Descriptor instead.
func (*ObjectChecksums) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{46}
}

func (x *ObjectChecksums) GetCrc32C() uint32 {
	if x != nil && x.Crc32C != nil {
		return *x.Crc32C
	}
	return 0
}

func (x *ObjectChecksums) GetMd5Hash() []byte {
	if x != nil {
		return x.Md5Hash
	}
	return nil
}

// The payload of a single user-defined object context.
type ObjectCustomContextPayload struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The value of the object context.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Output only. The time at which the object context was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time at which the object context was last updated.
	UpdateTime    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ObjectCustomContextPayload) Reset() {
	*x = ObjectCustomContextPayload{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[47]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ObjectCustomContextPayload) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ObjectCustomContextPayload) ProtoMessage() {}

func (x *ObjectCustomContextPayload) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[47]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ObjectCustomContextPayload.ProtoReflect.Descriptor instead.
func (*ObjectCustomContextPayload) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{47}
}

func (x *ObjectCustomContextPayload) GetValue() string {
	if x != nil {
		return x.Value
	}
	return ""
}

func (x *ObjectCustomContextPayload) GetCreateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTime
	}
	return nil
}

func (x *ObjectCustomContextPayload) GetUpdateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdateTime
	}
	return nil
}

// All contexts of an object grouped by type.
type ObjectContexts struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. User-defined object contexts.
	// The maximum key or value size is `256` characters.
	// The maximum number of entries is `50`.
	// The maximum total serialized size of all entries is `25KiB`.
	Custom        map[string]*ObjectCustomContextPayload `protobuf:"bytes,1,rep,name=custom,proto3" json:"custom,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ObjectContexts) Reset() {
	*x = ObjectContexts{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[48]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ObjectContexts) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ObjectContexts) ProtoMessage() {}

func (x *ObjectContexts) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[48]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ObjectContexts.ProtoReflect.Descriptor instead.
func (*ObjectContexts) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{48}
}

func (x *ObjectContexts) GetCustom() map[string]*ObjectCustomContextPayload {
	if x != nil {
		return x.Custom
	}
	return nil
}

// Describes the customer-supplied encryption key mechanism used to store an
// object's data at rest.
type CustomerEncryption struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The encryption algorithm.
	EncryptionAlgorithm string `protobuf:"bytes,1,opt,name=encryption_algorithm,json=encryptionAlgorithm,proto3" json:"encryption_algorithm,omitempty"`
	// Optional. SHA256 hash value of the encryption key.
	// In raw bytes format (not base64-encoded).
	KeySha256Bytes []byte `protobuf:"bytes,3,opt,name=key_sha256_bytes,json=keySha256Bytes,proto3" json:"key_sha256_bytes,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *CustomerEncryption) Reset() {
	*x = CustomerEncryption{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[49]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CustomerEncryption) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CustomerEncryption) ProtoMessage() {}

func (x *CustomerEncryption) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[49]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CustomerEncryption.ProtoReflect.Descriptor instead.
func (*CustomerEncryption) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{49}
}

func (x *CustomerEncryption) GetEncryptionAlgorithm() string {
	if x != nil {
		return x.EncryptionAlgorithm
	}
	return ""
}

func (x *CustomerEncryption) GetKeySha256Bytes() []byte {
	if x != nil {
		return x.KeySha256Bytes
	}
	return nil
}

// An object.
type Object struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Immutable. The name of this object. Nearly any sequence of unicode
	// characters is valid. See
	// [Guidelines](https://cloud.google.com/storage/docs/objects#naming).
	// Example: `test.txt`
	// The `name` field by itself does not uniquely identify a Cloud Storage
	// object. A Cloud Storage object is uniquely identified by the tuple of
	// (bucket, object, generation).
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Immutable. The name of the bucket containing this object.
	Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Optional. The `etag` of an object.
	// If included in the metadata of an update or delete request message, the
	// operation is only performed if the etag matches that of the live
	// object.
	Etag string `protobuf:"bytes,27,opt,name=etag,proto3" json:"etag,omitempty"`
	// Immutable. The content generation of this object. Used for object
	// versioning.
	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	// Output only. Restore token used to differentiate deleted objects with the
	// same name and generation. This field is output only, and only set for
	// deleted objects in HNS buckets.
	RestoreToken *string `protobuf:"bytes,35,opt,name=restore_token,json=restoreToken,proto3,oneof" json:"restore_token,omitempty"`
	// Output only. The version of the metadata for this generation of this
	// object. Used for preconditions and for detecting changes in metadata. A
	// metageneration number is only meaningful in the context of a particular
	// generation of a particular object.
	Metageneration int64 `protobuf:"varint,4,opt,name=metageneration,proto3" json:"metageneration,omitempty"`
	// Optional. Storage class of the object.
	StorageClass string `protobuf:"bytes,5,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"`
	// Output only. Content-Length of the object data in bytes, matching
	// [RFC 7230 §3.3.2](https://tools.ietf.org/html/rfc7230#section-3.3.2]).
	Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	// Optional. Content-Encoding of the object data, matching
	// [RFC 7231 §3.1.2.2](https://tools.ietf.org/html/rfc7231#section-3.1.2.2)
	ContentEncoding string `protobuf:"bytes,7,opt,name=content_encoding,json=contentEncoding,proto3" json:"content_encoding,omitempty"`
	// Optional. Content-Disposition of the object data, matching
	// [RFC 6266](https://tools.ietf.org/html/rfc6266).
	ContentDisposition string `protobuf:"bytes,8,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"`
	// Optional. Cache-Control directive for the object data, matching
	// [RFC 7234 §5.2](https://tools.ietf.org/html/rfc7234#section-5.2).
	// If omitted, and the object is accessible to all anonymous users, the
	// default is `public, max-age=3600`.
	CacheControl string `protobuf:"bytes,9,opt,name=cache_control,json=cacheControl,proto3" json:"cache_control,omitempty"`
	// Optional. Access controls on the object.
	// If `iam_config.uniform_bucket_level_access` is enabled on the parent
	// bucket, requests to set, read, or modify acl is an error.
	Acl []*ObjectAccessControl `protobuf:"bytes,10,rep,name=acl,proto3" json:"acl,omitempty"`
	// Optional. Content-Language of the object data, matching
	// [RFC 7231 §3.1.3.2](https://tools.ietf.org/html/rfc7231#section-3.1.3.2).
	ContentLanguage string `protobuf:"bytes,11,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"`
	// Output only. If this object is noncurrent, this is the time when the object
	// became noncurrent.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// Output only. The time when the object was finalized.
	FinalizeTime *timestamppb.Timestamp `protobuf:"bytes,36,opt,name=finalize_time,json=finalizeTime,proto3" json:"finalize_time,omitempty"`
	// Optional. Content-Type of the object data, matching
	// [RFC 7231 §3.1.1.5](https://tools.ietf.org/html/rfc7231#section-3.1.1.5).
	// If an object is stored without a Content-Type, it is served as
	// `application/octet-stream`.
	ContentType string `protobuf:"bytes,13,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// Output only. The creation time of the object.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Number of underlying components that make up this object.
	// Components are accumulated by compose operations.
	ComponentCount int32 `protobuf:"varint,15,opt,name=component_count,json=componentCount,proto3" json:"component_count,omitempty"`
	// Output only. Hashes for the data part of this object. This field is used
	// for output only and is silently ignored if provided in requests. The
	// checksums of the complete object regardless of data range. If the object is
	// downloaded in full, the client should compute one of these checksums over
	// the downloaded object and compare it against the value provided here.
	Checksums *ObjectChecksums `protobuf:"bytes,16,opt,name=checksums,proto3" json:"checksums,omitempty"`
	// Output only. The modification time of the object metadata.
	// Set initially to object creation time and then updated whenever any
	// metadata of the object changes. This includes changes made by a requester,
	// such as modifying custom metadata, as well as changes made by Cloud Storage
	// on behalf of a requester, such as changing the storage class based on an
	// Object Lifecycle Configuration.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. Cloud KMS Key used to encrypt this object, if the object is
	// encrypted by such a key.
	KmsKey string `protobuf:"bytes,18,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
	// Output only. The time at which the object's storage class was last changed.
	// When the object is initially created, it is set to `time_created`.
	UpdateStorageClassTime *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=update_storage_class_time,json=updateStorageClassTime,proto3" json:"update_storage_class_time,omitempty"`
	// Optional. Whether an object is under temporary hold. While this flag is set
	// to true, the object is protected against deletion and overwrites.  A common
	// use case of this flag is regulatory investigations where objects need to be
	// retained while the investigation is ongoing. Note that unlike event-based
	// hold, temporary hold does not impact retention expiration time of an
	// object.
	TemporaryHold bool `protobuf:"varint,20,opt,name=temporary_hold,json=temporaryHold,proto3" json:"temporary_hold,omitempty"`
	// Optional. A server-determined value that specifies the earliest time that
	// the object's retention period expires. Note 1: This field is not provided
	// for objects with an active event-based hold, since retention expiration is
	// unknown until the hold is removed. Note 2: This value can be provided even
	// when temporary hold is set (so that the user can reason about policy
	// without having to first unset the temporary hold).
	RetentionExpireTime *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=retention_expire_time,json=retentionExpireTime,proto3" json:"retention_expire_time,omitempty"`
	// Optional. User-provided metadata, in key/value pairs.
	Metadata map[string]string `protobuf:"bytes,22,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Optional. User-defined or system-defined object contexts. Each object
	// context is a key-payload pair, where the key provides the identification
	// and the payload holds the associated value and additional metadata.
	Contexts *ObjectContexts `protobuf:"bytes,38,opt,name=contexts,proto3" json:"contexts,omitempty"`
	// Whether an object is under event-based hold.
	// An event-based hold is a way to force the retention of an object until
	// after some event occurs. Once the hold is released by explicitly setting
	// this field to `false`, the object becomes subject to any bucket-level
	// retention policy, except that the retention duration is calculated
	// from the time the event based hold was lifted, rather than the time the
	// object was created.
	//
	// In a `WriteObject` request, not setting this field implies that the value
	// should be taken from the parent bucket's `default_event_based_hold` field.
	// In a response, this field is always set to `true` or `false`.
	EventBasedHold *bool `protobuf:"varint,23,opt,name=event_based_hold,json=eventBasedHold,proto3,oneof" json:"event_based_hold,omitempty"`
	// Output only. The owner of the object. This is always the uploader of the
	// object.
	Owner *Owner `protobuf:"bytes,24,opt,name=owner,proto3" json:"owner,omitempty"`
	// Optional. Metadata of customer-supplied encryption key, if the object is
	// encrypted by such a key.
	CustomerEncryption *CustomerEncryption `protobuf:"bytes,25,opt,name=customer_encryption,json=customerEncryption,proto3" json:"customer_encryption,omitempty"`
	// Optional. A user-specified timestamp set on an object.
	CustomTime *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=custom_time,json=customTime,proto3" json:"custom_time,omitempty"`
	// Output only. This is the time when the object became soft-deleted.
	//
	// Soft-deleted objects are only accessible if a soft_delete_policy is
	// enabled. Also see `hard_delete_time`.
	SoftDeleteTime *timestamppb.Timestamp `protobuf:"bytes,28,opt,name=soft_delete_time,json=softDeleteTime,proto3,oneof" json:"soft_delete_time,omitempty"`
	// Output only. The time when the object is permanently deleted.
	//
	// Only set when an object becomes soft-deleted with a `soft_delete_policy`.
	// Otherwise, the object is not accessible.
	HardDeleteTime *timestamppb.Timestamp `protobuf:"bytes,29,opt,name=hard_delete_time,json=hardDeleteTime,proto3,oneof" json:"hard_delete_time,omitempty"`
	// Optional. Retention configuration of this object.
	// Might only be configured if the bucket has object retention enabled.
	Retention     *Object_Retention `protobuf:"bytes,30,opt,name=retention,proto3" json:"retention,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Object) Reset() {
	*x = Object{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[50]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Object) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Object) ProtoMessage() {}

func (x *Object) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[50]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Object.ProtoReflect.Descriptor instead.
func (*Object) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{50}
}

func (x *Object) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *Object) GetBucket() string {
	if x != nil {
		return x.Bucket
	}
	return ""
}

func (x *Object) GetEtag() string {
	if x != nil {
		return x.Etag
	}
	return ""
}

func (x *Object) GetGeneration() int64 {
	if x != nil {
		return x.Generation
	}
	return 0
}

func (x *Object) GetRestoreToken() string {
	if x != nil && x.RestoreToken != nil {
		return *x.RestoreToken
	}
	return ""
}

func (x *Object) GetMetageneration() int64 {
	if x != nil {
		return x.Metageneration
	}
	return 0
}

func (x *Object) GetStorageClass() string {
	if x != nil {
		return x.StorageClass
	}
	return ""
}

func (x *Object) GetSize() int64 {
	if x != nil {
		return x.Size
	}
	return 0
}

func (x *Object) GetContentEncoding() string {
	if x != nil {
		return x.ContentEncoding
	}
	return ""
}

func (x *Object) GetContentDisposition() string {
	if x != nil {
		return x.ContentDisposition
	}
	return ""
}

func (x *Object) GetCacheControl() string {
	if x != nil {
		return x.CacheControl
	}
	return ""
}

func (x *Object) GetAcl() []*ObjectAccessControl {
	if x != nil {
		return x.Acl
	}
	return nil
}

func (x *Object) GetContentLanguage() string {
	if x != nil {
		return x.ContentLanguage
	}
	return ""
}

func (x *Object) GetDeleteTime() *timestamppb.Timestamp {
	if x != nil {
		return x.DeleteTime
	}
	return nil
}

func (x *Object) GetFinalizeTime() *timestamppb.Timestamp {
	if x != nil {
		return x.FinalizeTime
	}
	return nil
}

func (x *Object) GetContentType() string {
	if x != nil {
		return x.ContentType
	}
	return ""
}

func (x *Object) GetCreateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTime
	}
	return nil
}

func (x *Object) GetComponentCount() int32 {
	if x != nil {
		return x.ComponentCount
	}
	return 0
}

func (x *Object) GetChecksums() *ObjectChecksums {
	if x != nil {
		return x.Checksums
	}
	return nil
}

func (x *Object) GetUpdateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdateTime
	}
	return nil
}

func (x *Object) GetKmsKey() string {
	if x != nil {
		return x.KmsKey
	}
	return ""
}

func (x *Object) GetUpdateStorageClassTime() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdateStorageClassTime
	}
	return nil
}

func (x *Object) GetTemporaryHold() bool {
	if x != nil {
		return x.TemporaryHold
	}
	return false
}

func (x *Object) GetRetentionExpireTime() *timestamppb.Timestamp {
	if x != nil {
		return x.RetentionExpireTime
	}
	return nil
}

func (x *Object) GetMetadata() map[string]string {
	if x != nil {
		return x.Metadata
	}
	return nil
}

func (x *Object) GetContexts() *ObjectContexts {
	if x != nil {
		return x.Contexts
	}
	return nil
}

func (x *Object) GetEventBasedHold() bool {
	if x != nil && x.EventBasedHold != nil {
		return *x.EventBasedHold
	}
	return false
}

func (x *Object) GetOwner() *Owner {
	if x != nil {
		return x.Owner
	}
	return nil
}

func (x *Object) GetCustomerEncryption() *CustomerEncryption {
	if x != nil {
		return x.CustomerEncryption
	}
	return nil
}

func (x *Object) GetCustomTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CustomTime
	}
	return nil
}

func (x *Object) GetSoftDeleteTime() *timestamppb.Timestamp {
	if x != nil {
		return x.SoftDeleteTime
	}
	return nil
}

func (x *Object) GetHardDeleteTime() *timestamppb.Timestamp {
	if x != nil {
		return x.HardDeleteTime
	}
	return nil
}

func (x *Object) GetRetention() *Object_Retention {
	if x != nil {
		return x.Retention
	}
	return nil
}

// An access-control entry.
type ObjectAccessControl struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The access permission for the entity. One of the following
	// values:
	// * `READER`
	// * `WRITER`
	// * `OWNER`
	Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// Optional. The ID of the access-control entry.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Optional. The entity holding the permission, in one of the following forms:
	// * `user-{userid}`
	// * `user-{email}`
	// * `group-{groupid}`
	// * `group-{email}`
	// * `domain-{domain}`
	// * `project-{team}-{projectnumber}`
	// * `project-{team}-{projectid}`
	// * `allUsers`
	// * `allAuthenticatedUsers`
	// Examples:
	// * The user `liz@example.com` would be `user-liz@example.com`.
	// * The group `example@googlegroups.com` would be
	// `group-example@googlegroups.com`.
	// * All members of the Google Apps for Business domain `example.com` would be
	// `domain-example.com`.
	// For project entities, `project-{team}-{projectnumber}` format is
	// returned in the response.
	Entity string `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"`
	// Output only. The alternative entity format, if exists. For project
	// entities, `project-{team}-{projectid}` format is returned in the response.
	EntityAlt string `protobuf:"bytes,9,opt,name=entity_alt,json=entityAlt,proto3" json:"entity_alt,omitempty"`
	// Optional. The ID for the entity, if any.
	EntityId string `protobuf:"bytes,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	// Optional. The etag of the ObjectAccessControl.
	// If included in the metadata of an update or delete request message, the
	// operation is only performed if the etag matches that of the live
	// object's ObjectAccessControl.
	Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`
	// Optional. The email address associated with the entity, if any.
	Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	// Optional. The domain associated with the entity, if any.
	Domain string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"`
	// Optional. The project team associated with the entity, if any.
	ProjectTeam   *ProjectTeam `protobuf:"bytes,7,opt,name=project_team,json=projectTeam,proto3" json:"project_team,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ObjectAccessControl) Reset() {
	*x = ObjectAccessControl{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[51]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ObjectAccessControl) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ObjectAccessControl) ProtoMessage() {}

func (x *ObjectAccessControl) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[51]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ObjectAccessControl.ProtoReflect.Descriptor instead.
func (*ObjectAccessControl) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{51}
}

func (x *ObjectAccessControl) GetRole() string {
	if x != nil {
		return x.Role
	}
	return ""
}

func (x *ObjectAccessControl) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *ObjectAccessControl) GetEntity() string {
	if x != nil {
		return x.Entity
	}
	return ""
}

func (x *ObjectAccessControl) GetEntityAlt() string {
	if x != nil {
		return x.EntityAlt
	}
	return ""
}

func (x *ObjectAccessControl) GetEntityId() string {
	if x != nil {
		return x.EntityId
	}
	return ""
}

func (x *ObjectAccessControl) GetEtag() string {
	if x != nil {
		return x.Etag
	}
	return ""
}

func (x *ObjectAccessControl) GetEmail() string {
	if x != nil {
		return x.Email
	}
	return ""
}

func (x *ObjectAccessControl) GetDomain() string {
	if x != nil {
		return x.Domain
	}
	return ""
}

func (x *ObjectAccessControl) GetProjectTeam() *ProjectTeam {
	if x != nil {
		return x.ProjectTeam
	}
	return nil
}

// The result of a call to Objects.ListObjects
type ListObjectsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The list of items.
	Objects []*Object `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// The list of prefixes of objects matching-but-not-listed up to and including
	// the requested delimiter.
	Prefixes []string `protobuf:"bytes,2,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
	// The continuation token, used to page through large result sets. Provide
	// this value in a subsequent request to return the next page of results.
	NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListObjectsResponse) Reset() {
	*x = ListObjectsResponse{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[52]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListObjectsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListObjectsResponse) ProtoMessage() {}

func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[52]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListObjectsResponse.ProtoReflect.Descriptor instead.
func (*ListObjectsResponse) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{52}
}

func (x *ListObjectsResponse) GetObjects() []*Object {
	if x != nil {
		return x.Objects
	}
	return nil
}

func (x *ListObjectsResponse) GetPrefixes() []string {
	if x != nil {
		return x.Prefixes
	}
	return nil
}

func (x *ListObjectsResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

// Represents the Viewers, Editors, or Owners of a given project.
type ProjectTeam struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The project number.
	ProjectNumber string `protobuf:"bytes,1,opt,name=project_number,json=projectNumber,proto3" json:"project_number,omitempty"`
	// Optional. The team.
	Team          string `protobuf:"bytes,2,opt,name=team,proto3" json:"team,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ProjectTeam) Reset() {
	*x = ProjectTeam{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[53]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ProjectTeam) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ProjectTeam) ProtoMessage() {}

func (x *ProjectTeam) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[53]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ProjectTeam.ProtoReflect.Descriptor instead.
func (*ProjectTeam) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{53}
}

func (x *ProjectTeam) GetProjectNumber() string {
	if x != nil {
		return x.ProjectNumber
	}
	return ""
}

func (x *ProjectTeam) GetTeam() string {
	if x != nil {
		return x.Team
	}
	return ""
}

// The owner of a specific resource.
type Owner struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The entity, in the form `user-`*userId*.
	Entity string `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Optional. The ID for the entity.
	EntityId      string `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Owner) Reset() {
	*x = Owner{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[54]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Owner) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Owner) ProtoMessage() {}

func (x *Owner) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[54]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Owner.ProtoReflect.Descriptor instead.
func (*Owner) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{54}
}

func (x *Owner) GetEntity() string {
	if x != nil {
		return x.Entity
	}
	return ""
}

func (x *Owner) GetEntityId() string {
	if x != nil {
		return x.EntityId
	}
	return ""
}

// Specifies a requested range of bytes to download.
type ContentRange struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The starting offset of the object data. This value is inclusive.
	Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	// The ending offset of the object data. This value is exclusive.
	End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	// The complete length of the object data.
	CompleteLength int64 `protobuf:"varint,3,opt,name=complete_length,json=completeLength,proto3" json:"complete_length,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *ContentRange) Reset() {
	*x = ContentRange{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[55]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ContentRange) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ContentRange) ProtoMessage() {}

func (x *ContentRange) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[55]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ContentRange.ProtoReflect.Descriptor instead.
func (*ContentRange) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{55}
}

func (x *ContentRange) GetStart() int64 {
	if x != nil {
		return x.Start
	}
	return 0
}

func (x *ContentRange) GetEnd() int64 {
	if x != nil {
		return x.End
	}
	return 0
}

func (x *ContentRange) GetCompleteLength() int64 {
	if x != nil {
		return x.CompleteLength
	}
	return 0
}

// Description of a source object for a composition request.
type ComposeObjectRequest_SourceObject struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The source object's name. All source objects must reside in the
	// same bucket.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The generation of this object to use as the source.
	Generation int64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"`
	// Optional. Conditions that must be met for this operation to execute.
	ObjectPreconditions *ComposeObjectRequest_SourceObject_ObjectPreconditions `protobuf:"bytes,3,opt,name=object_preconditions,json=objectPreconditions,proto3" json:"object_preconditions,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

func (x *ComposeObjectRequest_SourceObject) Reset() {
	*x = ComposeObjectRequest_SourceObject{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[56]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ComposeObjectRequest_SourceObject) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ComposeObjectRequest_SourceObject) ProtoMessage() {}

func (x *ComposeObjectRequest_SourceObject) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[56]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ComposeObjectRequest_SourceObject.ProtoReflect.Descriptor instead.
func (*ComposeObjectRequest_SourceObject) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{7, 0}
}

func (x *ComposeObjectRequest_SourceObject) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *ComposeObjectRequest_SourceObject) GetGeneration() int64 {
	if x != nil {
		return x.Generation
	}
	return 0
}

func (x *ComposeObjectRequest_SourceObject) GetObjectPreconditions() *ComposeObjectRequest_SourceObject_ObjectPreconditions {
	if x != nil {
		return x.ObjectPreconditions
	}
	return nil
}

// Preconditions for a source object of a composition request.
type ComposeObjectRequest_SourceObject_ObjectPreconditions struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Only perform the composition if the generation of the source object
	// that would be used matches this value.  If this value and a generation
	// are both specified, they must be the same value or the call fails.
	IfGenerationMatch *int64 `protobuf:"varint,1,opt,name=if_generation_match,json=ifGenerationMatch,proto3,oneof" json:"if_generation_match,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *ComposeObjectRequest_SourceObject_ObjectPreconditions) Reset() {
	*x = ComposeObjectRequest_SourceObject_ObjectPreconditions{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[57]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ComposeObjectRequest_SourceObject_ObjectPreconditions) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ComposeObjectRequest_SourceObject_ObjectPreconditions) ProtoMessage() {}

func (x *ComposeObjectRequest_SourceObject_ObjectPreconditions) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[57]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ComposeObjectRequest_SourceObject_ObjectPreconditions.ProtoReflect.Descriptor instead.
func (*ComposeObjectRequest_SourceObject_ObjectPreconditions) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{7, 0, 0}
}

func (x *ComposeObjectRequest_SourceObject_ObjectPreconditions) GetIfGenerationMatch() int64 {
	if x != nil && x.IfGenerationMatch != nil {
		return *x.IfGenerationMatch
	}
	return 0
}

// Billing properties of a bucket.
type Bucket_Billing struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. When set to true, Requester Pays is enabled for this bucket.
	RequesterPays bool `protobuf:"varint,1,opt,name=requester_pays,json=requesterPays,proto3" json:"requester_pays,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_Billing) Reset() {
	*x = Bucket_Billing{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[58]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_Billing) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_Billing) ProtoMessage() {}

func (x *Bucket_Billing) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[58]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_Billing.ProtoReflect.Descriptor instead.
func (*Bucket_Billing) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 0}
}

func (x *Bucket_Billing) GetRequesterPays() bool {
	if x != nil {
		return x.RequesterPays
	}
	return false
}

// Cross-Origin Response sharing (CORS) properties for a bucket.
// For more on Cloud Storage and CORS, see
// https://cloud.google.com/storage/docs/cross-origin.
// For more on CORS in general, see https://tools.ietf.org/html/rfc6454.
type Bucket_Cors struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The list of origins eligible to receive CORS response headers.
	// For more information about origins, see [RFC
	// 6454](https://tools.ietf.org/html/rfc6454). Note: `*` is permitted in the
	// list of origins, and means `any origin`.
	Origin []string `protobuf:"bytes,1,rep,name=origin,proto3" json:"origin,omitempty"`
	// Optional. The list of HTTP methods on which to include CORS response
	// headers,
	// (`GET`, `OPTIONS`, `POST`, etc) Note: `*` is permitted in the list of
	// methods, and means "any method".
	Method []string `protobuf:"bytes,2,rep,name=method,proto3" json:"method,omitempty"`
	// Optional. The list of HTTP headers other than the [simple response
	// headers](https://www.w3.org/TR/cors/#simple-response-headers) to give
	// permission for the user-agent to share across domains.
	ResponseHeader []string `protobuf:"bytes,3,rep,name=response_header,json=responseHeader,proto3" json:"response_header,omitempty"`
	// Optional. The value, in seconds, to return in the [Access-Control-Max-Age
	// header](https://www.w3.org/TR/cors/#access-control-max-age-response-header)
	// used in preflight responses.
	MaxAgeSeconds int32 `protobuf:"varint,4,opt,name=max_age_seconds,json=maxAgeSeconds,proto3" json:"max_age_seconds,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_Cors) Reset() {
	*x = Bucket_Cors{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[59]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_Cors) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_Cors) ProtoMessage() {}

func (x *Bucket_Cors) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[59]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_Cors.ProtoReflect.Descriptor instead.
func (*Bucket_Cors) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 1}
}

func (x *Bucket_Cors) GetOrigin() []string {
	if x != nil {
		return x.Origin
	}
	return nil
}

func (x *Bucket_Cors) GetMethod() []string {
	if x != nil {
		return x.Method
	}
	return nil
}

func (x *Bucket_Cors) GetResponseHeader() []string {
	if x != nil {
		return x.ResponseHeader
	}
	return nil
}

func (x *Bucket_Cors) GetMaxAgeSeconds() int32 {
	if x != nil {
		return x.MaxAgeSeconds
	}
	return 0
}

// Encryption properties of a bucket.
type Bucket_Encryption struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The name of the Cloud KMS key that is used to encrypt objects
	// inserted into this bucket, if no encryption method is specified.
	DefaultKmsKey string `protobuf:"bytes,1,opt,name=default_kms_key,json=defaultKmsKey,proto3" json:"default_kms_key,omitempty"`
	// Optional. If omitted, then new objects with GMEK encryption-type is
	// allowed. If set, then new objects created in this bucket must comply with
	// enforcement config. Changing this has no effect on existing objects; it
	// applies to new objects only.
	GoogleManagedEncryptionEnforcementConfig *Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig `protobuf:"bytes,2,opt,name=google_managed_encryption_enforcement_config,json=googleManagedEncryptionEnforcementConfig,proto3,oneof" json:"google_managed_encryption_enforcement_config,omitempty"`
	// Optional. If omitted, then new objects with CMEK encryption-type is
	// allowed. If set, then new objects created in this bucket must comply with
	// enforcement config. Changing this has no effect on existing objects; it
	// applies to new objects only.
	CustomerManagedEncryptionEnforcementConfig *Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig `protobuf:"bytes,3,opt,name=customer_managed_encryption_enforcement_config,json=customerManagedEncryptionEnforcementConfig,proto3,oneof" json:"customer_managed_encryption_enforcement_config,omitempty"`
	// Optional. If omitted, then new objects with CSEK encryption-type is
	// allowed. If set, then new objects created in this bucket must comply with
	// enforcement config. Changing this has no effect on existing objects; it
	// applies to new objects only.
	CustomerSuppliedEncryptionEnforcementConfig *Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig `protobuf:"bytes,4,opt,name=customer_supplied_encryption_enforcement_config,json=customerSuppliedEncryptionEnforcementConfig,proto3,oneof" json:"customer_supplied_encryption_enforcement_config,omitempty"`
	unknownFields                               protoimpl.UnknownFields
	sizeCache                                   protoimpl.SizeCache
}

func (x *Bucket_Encryption) Reset() {
	*x = Bucket_Encryption{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[60]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_Encryption) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_Encryption) ProtoMessage() {}

func (x *Bucket_Encryption) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[60]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_Encryption.ProtoReflect.Descriptor instead.
func (*Bucket_Encryption) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 2}
}

func (x *Bucket_Encryption) GetDefaultKmsKey() string {
	if x != nil {
		return x.DefaultKmsKey
	}
	return ""
}

func (x *Bucket_Encryption) GetGoogleManagedEncryptionEnforcementConfig() *Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig {
	if x != nil {
		return x.GoogleManagedEncryptionEnforcementConfig
	}
	return nil
}

func (x *Bucket_Encryption) GetCustomerManagedEncryptionEnforcementConfig() *Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig {
	if x != nil {
		return x.CustomerManagedEncryptionEnforcementConfig
	}
	return nil
}

func (x *Bucket_Encryption) GetCustomerSuppliedEncryptionEnforcementConfig() *Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig {
	if x != nil {
		return x.CustomerSuppliedEncryptionEnforcementConfig
	}
	return nil
}

// Bucket restriction options.
type Bucket_IamConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Bucket restriction options currently enforced on the bucket.
	UniformBucketLevelAccess *Bucket_IamConfig_UniformBucketLevelAccess `protobuf:"bytes,1,opt,name=uniform_bucket_level_access,json=uniformBucketLevelAccess,proto3" json:"uniform_bucket_level_access,omitempty"`
	// Optional. Whether IAM enforces public access prevention. Valid values are
	// `enforced` or `inherited`.
	PublicAccessPrevention string `protobuf:"bytes,3,opt,name=public_access_prevention,json=publicAccessPrevention,proto3" json:"public_access_prevention,omitempty"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

func (x *Bucket_IamConfig) Reset() {
	*x = Bucket_IamConfig{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[61]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_IamConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_IamConfig) ProtoMessage() {}

func (x *Bucket_IamConfig) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[61]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_IamConfig.ProtoReflect.Descriptor instead.
func (*Bucket_IamConfig) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 3}
}

func (x *Bucket_IamConfig) GetUniformBucketLevelAccess() *Bucket_IamConfig_UniformBucketLevelAccess {
	if x != nil {
		return x.UniformBucketLevelAccess
	}
	return nil
}

func (x *Bucket_IamConfig) GetPublicAccessPrevention() string {
	if x != nil {
		return x.PublicAccessPrevention
	}
	return ""
}

// Lifecycle properties of a bucket.
// For more information, see [Object Lifecycle
// Management](https://cloud.google.com/storage/docs/lifecycle).
type Bucket_Lifecycle struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. A lifecycle management rule, which is made of an action to take
	// and the condition under which the action is taken.
	Rule          []*Bucket_Lifecycle_Rule `protobuf:"bytes,1,rep,name=rule,proto3" json:"rule,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_Lifecycle) Reset() {
	*x = Bucket_Lifecycle{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[62]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_Lifecycle) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_Lifecycle) ProtoMessage() {}

func (x *Bucket_Lifecycle) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[62]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_Lifecycle.ProtoReflect.Descriptor instead.
func (*Bucket_Lifecycle) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 4}
}

func (x *Bucket_Lifecycle) GetRule() []*Bucket_Lifecycle_Rule {
	if x != nil {
		return x.Rule
	}
	return nil
}

// Logging-related properties of a bucket.
type Bucket_Logging struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The destination bucket where the current bucket's logs should
	// be placed, using path format (like `projects/123456/buckets/foo`).
	LogBucket string `protobuf:"bytes,1,opt,name=log_bucket,json=logBucket,proto3" json:"log_bucket,omitempty"`
	// Optional. A prefix for log object names.
	LogObjectPrefix string `protobuf:"bytes,2,opt,name=log_object_prefix,json=logObjectPrefix,proto3" json:"log_object_prefix,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *Bucket_Logging) Reset() {
	*x = Bucket_Logging{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[63]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_Logging) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_Logging) ProtoMessage() {}

func (x *Bucket_Logging) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[63]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_Logging.ProtoReflect.Descriptor instead.
func (*Bucket_Logging) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 5}
}

func (x *Bucket_Logging) GetLogBucket() string {
	if x != nil {
		return x.LogBucket
	}
	return ""
}

func (x *Bucket_Logging) GetLogObjectPrefix() string {
	if x != nil {
		return x.LogObjectPrefix
	}
	return ""
}

// Object Retention related properties of a bucket.
type Bucket_ObjectRetention struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Output only. If true, object retention is enabled for the
	// bucket.
	Enabled       bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_ObjectRetention) Reset() {
	*x = Bucket_ObjectRetention{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[64]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_ObjectRetention) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_ObjectRetention) ProtoMessage() {}

func (x *Bucket_ObjectRetention) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[64]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_ObjectRetention.ProtoReflect.Descriptor instead.
func (*Bucket_ObjectRetention) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 6}
}

func (x *Bucket_ObjectRetention) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

// Retention policy properties of a bucket.
type Bucket_RetentionPolicy struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Server-determined value that indicates the time from which
	// policy was enforced and effective.
	EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"`
	// Optional. Once locked, an object retention policy cannot be modified.
	IsLocked bool `protobuf:"varint,2,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty"`
	// Optional. The duration that objects need to be retained. Retention
	// duration must be greater than zero and less than 100 years. Note that
	// enforcement of retention periods less than a day is not guaranteed. Such
	// periods should only be used for testing purposes. Any `nanos` value
	// specified is rounded down to the nearest second.
	RetentionDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=retention_duration,json=retentionDuration,proto3" json:"retention_duration,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *Bucket_RetentionPolicy) Reset() {
	*x = Bucket_RetentionPolicy{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[65]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_RetentionPolicy) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_RetentionPolicy) ProtoMessage() {}

func (x *Bucket_RetentionPolicy) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[65]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_RetentionPolicy.ProtoReflect.Descriptor instead.
func (*Bucket_RetentionPolicy) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 7}
}

func (x *Bucket_RetentionPolicy) GetEffectiveTime() *timestamppb.Timestamp {
	if x != nil {
		return x.EffectiveTime
	}
	return nil
}

func (x *Bucket_RetentionPolicy) GetIsLocked() bool {
	if x != nil {
		return x.IsLocked
	}
	return false
}

func (x *Bucket_RetentionPolicy) GetRetentionDuration() *durationpb.Duration {
	if x != nil {
		return x.RetentionDuration
	}
	return nil
}

// Soft delete policy properties of a bucket.
type Bucket_SoftDeletePolicy struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The period of time that soft-deleted objects in the bucket must be
	// retained and cannot be permanently deleted. The duration must be greater
	// than or equal to 7 days and less than 1 year.
	RetentionDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=retention_duration,json=retentionDuration,proto3,oneof" json:"retention_duration,omitempty"`
	// Time from which the policy was effective. This is service-provided.
	EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=effective_time,json=effectiveTime,proto3,oneof" json:"effective_time,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_SoftDeletePolicy) Reset() {
	*x = Bucket_SoftDeletePolicy{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[66]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_SoftDeletePolicy) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_SoftDeletePolicy) ProtoMessage() {}

func (x *Bucket_SoftDeletePolicy) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[66]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_SoftDeletePolicy.ProtoReflect.Descriptor instead.
func (*Bucket_SoftDeletePolicy) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 8}
}

func (x *Bucket_SoftDeletePolicy) GetRetentionDuration() *durationpb.Duration {
	if x != nil {
		return x.RetentionDuration
	}
	return nil
}

func (x *Bucket_SoftDeletePolicy) GetEffectiveTime() *timestamppb.Timestamp {
	if x != nil {
		return x.EffectiveTime
	}
	return nil
}

// Properties of a bucket related to versioning.
// For more information about Cloud Storage versioning, see [Object
// versioning](https://cloud.google.com/storage/docs/object-versioning).
type Bucket_Versioning struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. While set to true, versioning is fully enabled for this bucket.
	Enabled       bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_Versioning) Reset() {
	*x = Bucket_Versioning{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[67]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_Versioning) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_Versioning) ProtoMessage() {}

func (x *Bucket_Versioning) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[67]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_Versioning.ProtoReflect.Descriptor instead.
func (*Bucket_Versioning) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 9}
}

func (x *Bucket_Versioning) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

// Properties of a bucket related to accessing the contents as a static
// website. For details, see [hosting a static website using Cloud
// Storage](https://cloud.google.com/storage/docs/hosting-static-website).
type Bucket_Website struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. If the requested object path is missing, the service ensures
	// the path has a trailing '/', append this suffix, and attempt to retrieve
	// the resulting object. This allows the creation of `index.html` objects to
	// represent directory pages.
	MainPageSuffix string `protobuf:"bytes,1,opt,name=main_page_suffix,json=mainPageSuffix,proto3" json:"main_page_suffix,omitempty"`
	// Optional. If the requested object path is missing, and any
	// `mainPageSuffix` object is missing, if applicable, the service
	// returns the named object from this bucket as the content for a
	// [404 Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4)
	// result.
	NotFoundPage  string `protobuf:"bytes,2,opt,name=not_found_page,json=notFoundPage,proto3" json:"not_found_page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_Website) Reset() {
	*x = Bucket_Website{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[68]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_Website) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_Website) ProtoMessage() {}

func (x *Bucket_Website) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[68]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_Website.ProtoReflect.Descriptor instead.
func (*Bucket_Website) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 10}
}

func (x *Bucket_Website) GetMainPageSuffix() string {
	if x != nil {
		return x.MainPageSuffix
	}
	return ""
}

func (x *Bucket_Website) GetNotFoundPage() string {
	if x != nil {
		return x.NotFoundPage
	}
	return ""
}

// Configuration for [configurable dual-
// regions](https://cloud.google.com/storage/docs/locations#configurable). It
// should specify precisely two eligible regions within the same multi-region.
// For details, see
// [locations](https://cloud.google.com/storage/docs/locations).
type Bucket_CustomPlacementConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. List of locations to use for data placement.
	DataLocations []string `protobuf:"bytes,1,rep,name=data_locations,json=dataLocations,proto3" json:"data_locations,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_CustomPlacementConfig) Reset() {
	*x = Bucket_CustomPlacementConfig{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[69]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_CustomPlacementConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_CustomPlacementConfig) ProtoMessage() {}

func (x *Bucket_CustomPlacementConfig) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[69]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_CustomPlacementConfig.ProtoReflect.Descriptor instead.
func (*Bucket_CustomPlacementConfig) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 11}
}

func (x *Bucket_CustomPlacementConfig) GetDataLocations() []string {
	if x != nil {
		return x.DataLocations
	}
	return nil
}

// Configuration for a bucket's Autoclass feature.
type Bucket_Autoclass struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Enables Autoclass.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Output only. Latest instant at which the `enabled` field was set to true
	// after being disabled/unconfigured or set to false after being enabled. If
	// Autoclass is enabled when the bucket is created, the value of the
	// `toggle_time` field is set to the bucket `create_time`.
	ToggleTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=toggle_time,json=toggleTime,proto3" json:"toggle_time,omitempty"`
	// An object in an Autoclass bucket eventually cools down to the
	// terminal storage class if there is no access to the object.
	// The only valid values are NEARLINE and ARCHIVE.
	TerminalStorageClass *string `protobuf:"bytes,3,opt,name=terminal_storage_class,json=terminalStorageClass,proto3,oneof" json:"terminal_storage_class,omitempty"`
	// Output only. Latest instant at which the autoclass terminal storage class
	// was updated.
	TerminalStorageClassUpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=terminal_storage_class_update_time,json=terminalStorageClassUpdateTime,proto3,oneof" json:"terminal_storage_class_update_time,omitempty"`
	unknownFields                  protoimpl.UnknownFields
	sizeCache                      protoimpl.SizeCache
}

func (x *Bucket_Autoclass) Reset() {
	*x = Bucket_Autoclass{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[70]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_Autoclass) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_Autoclass) ProtoMessage() {}

func (x *Bucket_Autoclass) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[70]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_Autoclass.ProtoReflect.Descriptor instead.
func (*Bucket_Autoclass) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 12}
}

func (x *Bucket_Autoclass) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *Bucket_Autoclass) GetToggleTime() *timestamppb.Timestamp {
	if x != nil {
		return x.ToggleTime
	}
	return nil
}

func (x *Bucket_Autoclass) GetTerminalStorageClass() string {
	if x != nil && x.TerminalStorageClass != nil {
		return *x.TerminalStorageClass
	}
	return ""
}

func (x *Bucket_Autoclass) GetTerminalStorageClassUpdateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.TerminalStorageClassUpdateTime
	}
	return nil
}

// The [bucket IP
// filtering](https://cloud.google.com/storage/docs/ip-filtering-overview)
// configuration. Specifies the network sources that can access the bucket, as
// well as its underlying objects.
type Bucket_IpFilter struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The state of the IP filter configuration. Valid values are `Enabled` and
	// `Disabled`. When set to `Enabled`, IP filtering rules are applied to a
	// bucket and all incoming requests to the bucket are evaluated against
	// these rules. When set to `Disabled`, IP filtering rules are not applied
	// to a bucket.
	Mode *string `protobuf:"bytes,1,opt,name=mode,proto3,oneof" json:"mode,omitempty"`
	// Public IPs allowed to operate or access the bucket.
	PublicNetworkSource *Bucket_IpFilter_PublicNetworkSource `protobuf:"bytes,2,opt,name=public_network_source,json=publicNetworkSource,proto3,oneof" json:"public_network_source,omitempty"`
	// Optional. The list of network sources that are allowed to access
	// operations on the bucket or the underlying objects.
	VpcNetworkSources []*Bucket_IpFilter_VpcNetworkSource `protobuf:"bytes,3,rep,name=vpc_network_sources,json=vpcNetworkSources,proto3" json:"vpc_network_sources,omitempty"`
	// Optional. Whether or not to allow VPCs from orgs different than the
	// bucket's parent org to access the bucket. When set to true, validations
	// on the existence of the VPCs won't be performed. If set to false, each
	// VPC network source is checked to belong to the same org as the bucket as
	// well as validated for existence.
	AllowCrossOrgVpcs bool `protobuf:"varint,4,opt,name=allow_cross_org_vpcs,json=allowCrossOrgVpcs,proto3" json:"allow_cross_org_vpcs,omitempty"`
	// Whether or not to allow all P4SA access to the bucket. When set to true,
	// IP filter config validation doesn't apply.
	AllowAllServiceAgentAccess *bool `protobuf:"varint,5,opt,name=allow_all_service_agent_access,json=allowAllServiceAgentAccess,proto3,oneof" json:"allow_all_service_agent_access,omitempty"`
	unknownFields              protoimpl.UnknownFields
	sizeCache                  protoimpl.SizeCache
}

func (x *Bucket_IpFilter) Reset() {
	*x = Bucket_IpFilter{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[71]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_IpFilter) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_IpFilter) ProtoMessage() {}

func (x *Bucket_IpFilter) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[71]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_IpFilter.ProtoReflect.Descriptor instead.
func (*Bucket_IpFilter) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 13}
}

func (x *Bucket_IpFilter) GetMode() string {
	if x != nil && x.Mode != nil {
		return *x.Mode
	}
	return ""
}

func (x *Bucket_IpFilter) GetPublicNetworkSource() *Bucket_IpFilter_PublicNetworkSource {
	if x != nil {
		return x.PublicNetworkSource
	}
	return nil
}

func (x *Bucket_IpFilter) GetVpcNetworkSources() []*Bucket_IpFilter_VpcNetworkSource {
	if x != nil {
		return x.VpcNetworkSources
	}
	return nil
}

func (x *Bucket_IpFilter) GetAllowCrossOrgVpcs() bool {
	if x != nil {
		return x.AllowCrossOrgVpcs
	}
	return false
}

func (x *Bucket_IpFilter) GetAllowAllServiceAgentAccess() bool {
	if x != nil && x.AllowAllServiceAgentAccess != nil {
		return *x.AllowAllServiceAgentAccess
	}
	return false
}

// Configuration for a bucket's hierarchical namespace feature.
type Bucket_HierarchicalNamespace struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Enables the hierarchical namespace feature.
	Enabled       bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_HierarchicalNamespace) Reset() {
	*x = Bucket_HierarchicalNamespace{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[72]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_HierarchicalNamespace) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_HierarchicalNamespace) ProtoMessage() {}

func (x *Bucket_HierarchicalNamespace) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[72]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_HierarchicalNamespace.ProtoReflect.Descriptor instead.
func (*Bucket_HierarchicalNamespace) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 14}
}

func (x *Bucket_HierarchicalNamespace) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

// Google Managed Encryption (GMEK) enforcement config of a bucket.
type Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Restriction mode for google-managed encryption for new objects within
	// the bucket. Valid values are: `NotRestricted` and `FullyRestricted`.
	// If `NotRestricted` or unset, creation of new objects with
	// google-managed encryption is allowed.
	// If `FullyRestricted`, new objects can't be created using google-managed
	// encryption.
	RestrictionMode *string `protobuf:"bytes,3,opt,name=restriction_mode,json=restrictionMode,proto3,oneof" json:"restriction_mode,omitempty"`
	// Time from which the config was effective. This is service-provided.
	EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=effective_time,json=effectiveTime,proto3,oneof" json:"effective_time,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig) Reset() {
	*x = Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[74]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig) ProtoMessage() {}

func (x *Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[74]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig.ProtoReflect.Descriptor instead.
func (*Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 2, 0}
}

func (x *Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig) GetRestrictionMode() string {
	if x != nil && x.RestrictionMode != nil {
		return *x.RestrictionMode
	}
	return ""
}

func (x *Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig) GetEffectiveTime() *timestamppb.Timestamp {
	if x != nil {
		return x.EffectiveTime
	}
	return nil
}

// Customer Managed Encryption (CMEK) enforcement config of a bucket.
type Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Restriction mode for customer-managed encryption for new objects within
	// the bucket. Valid values are: `NotRestricted` and `FullyRestricted`.
	// If `NotRestricted` or unset, creation of new objects with
	// customer-managed encryption is allowed.
	// If `FullyRestricted`, new objects can't be created using
	// customer-managed encryption.
	RestrictionMode *string `protobuf:"bytes,3,opt,name=restriction_mode,json=restrictionMode,proto3,oneof" json:"restriction_mode,omitempty"`
	// Time from which the config was effective. This is service-provided.
	EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=effective_time,json=effectiveTime,proto3,oneof" json:"effective_time,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig) Reset() {
	*x = Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[75]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig) ProtoMessage() {}

func (x *Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[75]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig.ProtoReflect.Descriptor instead.
func (*Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 2, 1}
}

func (x *Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig) GetRestrictionMode() string {
	if x != nil && x.RestrictionMode != nil {
		return *x.RestrictionMode
	}
	return ""
}

func (x *Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig) GetEffectiveTime() *timestamppb.Timestamp {
	if x != nil {
		return x.EffectiveTime
	}
	return nil
}

// Customer Supplied Encryption (CSEK) enforcement config of a bucket.
type Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Restriction mode for customer-supplied encryption for new objects
	// within the bucket. Valid values are: `NotRestricted` and
	// `FullyRestricted`.
	// If `NotRestricted` or unset, creation of new objects with
	// customer-supplied encryption is allowed.
	// If `FullyRestricted`, new objects can't be created using
	// customer-supplied encryption.
	RestrictionMode *string `protobuf:"bytes,3,opt,name=restriction_mode,json=restrictionMode,proto3,oneof" json:"restriction_mode,omitempty"`
	// Time from which the config was effective. This is service-provided.
	EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=effective_time,json=effectiveTime,proto3,oneof" json:"effective_time,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig) Reset() {
	*x = Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[76]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig) ProtoMessage() {}

func (x *Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[76]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig.ProtoReflect.Descriptor instead.
func (*Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 2, 2}
}

func (x *Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig) GetRestrictionMode() string {
	if x != nil && x.RestrictionMode != nil {
		return *x.RestrictionMode
	}
	return ""
}

func (x *Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig) GetEffectiveTime() *timestamppb.Timestamp {
	if x != nil {
		return x.EffectiveTime
	}
	return nil
}

// Settings for Uniform Bucket level access.
// See https://cloud.google.com/storage/docs/uniform-bucket-level-access.
type Bucket_IamConfig_UniformBucketLevelAccess struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. If set, access checks only use bucket-level IAM policies or
	// above.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Optional. The deadline time for changing
	// `iam_config.uniform_bucket_level_access.enabled` from `true` to
	// `false`. Mutable until the specified deadline is reached, but not
	// afterward.
	LockTime      *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_IamConfig_UniformBucketLevelAccess) Reset() {
	*x = Bucket_IamConfig_UniformBucketLevelAccess{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[77]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_IamConfig_UniformBucketLevelAccess) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_IamConfig_UniformBucketLevelAccess) ProtoMessage() {}

func (x *Bucket_IamConfig_UniformBucketLevelAccess) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[77]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_IamConfig_UniformBucketLevelAccess.ProtoReflect.Descriptor instead.
func (*Bucket_IamConfig_UniformBucketLevelAccess) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 3, 0}
}

func (x *Bucket_IamConfig_UniformBucketLevelAccess) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *Bucket_IamConfig_UniformBucketLevelAccess) GetLockTime() *timestamppb.Timestamp {
	if x != nil {
		return x.LockTime
	}
	return nil
}

// A lifecycle Rule, combining an action to take on an object and a
// condition which triggers that action.
type Bucket_Lifecycle_Rule struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The action to take.
	Action *Bucket_Lifecycle_Rule_Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	// Optional. The condition under which the action is taken.
	Condition     *Bucket_Lifecycle_Rule_Condition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_Lifecycle_Rule) Reset() {
	*x = Bucket_Lifecycle_Rule{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[78]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_Lifecycle_Rule) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_Lifecycle_Rule) ProtoMessage() {}

func (x *Bucket_Lifecycle_Rule) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[78]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_Lifecycle_Rule.ProtoReflect.Descriptor instead.
func (*Bucket_Lifecycle_Rule) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 4, 0}
}

func (x *Bucket_Lifecycle_Rule) GetAction() *Bucket_Lifecycle_Rule_Action {
	if x != nil {
		return x.Action
	}
	return nil
}

func (x *Bucket_Lifecycle_Rule) GetCondition() *Bucket_Lifecycle_Rule_Condition {
	if x != nil {
		return x.Condition
	}
	return nil
}

// An action to take on an object.
type Bucket_Lifecycle_Rule_Action struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Type of the action. Currently, only `Delete`,
	// `SetStorageClass`, and `AbortIncompleteMultipartUpload` are
	// supported.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Optional. Target storage class. Required iff the type of the action
	// is SetStorageClass.
	StorageClass  string `protobuf:"bytes,2,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_Lifecycle_Rule_Action) Reset() {
	*x = Bucket_Lifecycle_Rule_Action{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[79]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_Lifecycle_Rule_Action) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_Lifecycle_Rule_Action) ProtoMessage() {}

func (x *Bucket_Lifecycle_Rule_Action) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[79]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_Lifecycle_Rule_Action.ProtoReflect.Descriptor instead.
func (*Bucket_Lifecycle_Rule_Action) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 4, 0, 0}
}

func (x *Bucket_Lifecycle_Rule_Action) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

func (x *Bucket_Lifecycle_Rule_Action) GetStorageClass() string {
	if x != nil {
		return x.StorageClass
	}
	return ""
}

// A condition of an object which triggers some action.
type Bucket_Lifecycle_Rule_Condition struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Age of an object (in days). This condition is satisfied when an
	// object reaches the specified age.
	// A value of 0 indicates that all objects immediately match this
	// condition.
	AgeDays *int32 `protobuf:"varint,1,opt,name=age_days,json=ageDays,proto3,oneof" json:"age_days,omitempty"`
	// Optional. This condition is satisfied when an object is created
	// before midnight of the specified date in UTC.
	CreatedBefore *date.Date `protobuf:"bytes,2,opt,name=created_before,json=createdBefore,proto3" json:"created_before,omitempty"`
	// Relevant only for versioned objects. If the value is
	// `true`, this condition matches live objects; if the value
	// is `false`, it matches archived objects.
	IsLive *bool `protobuf:"varint,3,opt,name=is_live,json=isLive,proto3,oneof" json:"is_live,omitempty"`
	// Relevant only for versioned objects. If the value is N, this
	// condition is satisfied when there are at least N versions (including
	// the live version) newer than this version of the object.
	NumNewerVersions *int32 `protobuf:"varint,4,opt,name=num_newer_versions,json=numNewerVersions,proto3,oneof" json:"num_newer_versions,omitempty"`
	// Optional. Objects having any of the storage classes specified by this
	// condition are matched. Values include `MULTI_REGIONAL`, `REGIONAL`,
	// `NEARLINE`, `COLDLINE`, `STANDARD`, and
	// `DURABLE_REDUCED_AVAILABILITY`.
	MatchesStorageClass []string `protobuf:"bytes,5,rep,name=matches_storage_class,json=matchesStorageClass,proto3" json:"matches_storage_class,omitempty"`
	// Number of days that have elapsed since the custom timestamp set on an
	// object.
	// The value of the field must be a nonnegative integer.
	DaysSinceCustomTime *int32 `protobuf:"varint,7,opt,name=days_since_custom_time,json=daysSinceCustomTime,proto3,oneof" json:"days_since_custom_time,omitempty"`
	// Optional. An object matches this condition if the custom timestamp
	// set on the object is before the specified date in UTC.
	CustomTimeBefore *date.Date `protobuf:"bytes,8,opt,name=custom_time_before,json=customTimeBefore,proto3" json:"custom_time_before,omitempty"`
	// This condition is relevant only for versioned objects. An object
	// version satisfies this condition only if these many days have been
	// passed since it became noncurrent. The value of the field must be a
	// nonnegative integer. If it's zero, the object version becomes
	// eligible for Lifecycle action as soon as it becomes noncurrent.
	DaysSinceNoncurrentTime *int32 `protobuf:"varint,9,opt,name=days_since_noncurrent_time,json=daysSinceNoncurrentTime,proto3,oneof" json:"days_since_noncurrent_time,omitempty"`
	// Optional. This condition is relevant only for versioned objects. An
	// object version satisfies this condition only if it became noncurrent
	// before the specified date in UTC.
	NoncurrentTimeBefore *date.Date `protobuf:"bytes,10,opt,name=noncurrent_time_before,json=noncurrentTimeBefore,proto3" json:"noncurrent_time_before,omitempty"`
	// Optional. List of object name prefixes. If any prefix exactly matches
	// the beginning of the object name, the condition evaluates to true.
	MatchesPrefix []string `protobuf:"bytes,11,rep,name=matches_prefix,json=matchesPrefix,proto3" json:"matches_prefix,omitempty"`
	// Optional. List of object name suffixes. If any suffix exactly matches
	// the end of the object name, the condition evaluates to true.
	MatchesSuffix []string `protobuf:"bytes,12,rep,name=matches_suffix,json=matchesSuffix,proto3" json:"matches_suffix,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Bucket_Lifecycle_Rule_Condition) Reset() {
	*x = Bucket_Lifecycle_Rule_Condition{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[80]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_Lifecycle_Rule_Condition) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_Lifecycle_Rule_Condition) ProtoMessage() {}

func (x *Bucket_Lifecycle_Rule_Condition) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[80]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_Lifecycle_Rule_Condition.ProtoReflect.Descriptor instead.
func (*Bucket_Lifecycle_Rule_Condition) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 4, 0, 1}
}

func (x *Bucket_Lifecycle_Rule_Condition) GetAgeDays() int32 {
	if x != nil && x.AgeDays != nil {
		return *x.AgeDays
	}
	return 0
}

func (x *Bucket_Lifecycle_Rule_Condition) GetCreatedBefore() *date.Date {
	if x != nil {
		return x.CreatedBefore
	}
	return nil
}

func (x *Bucket_Lifecycle_Rule_Condition) GetIsLive() bool {
	if x != nil && x.IsLive != nil {
		return *x.IsLive
	}
	return false
}

func (x *Bucket_Lifecycle_Rule_Condition) GetNumNewerVersions() int32 {
	if x != nil && x.NumNewerVersions != nil {
		return *x.NumNewerVersions
	}
	return 0
}

func (x *Bucket_Lifecycle_Rule_Condition) GetMatchesStorageClass() []string {
	if x != nil {
		return x.MatchesStorageClass
	}
	return nil
}

func (x *Bucket_Lifecycle_Rule_Condition) GetDaysSinceCustomTime() int32 {
	if x != nil && x.DaysSinceCustomTime != nil {
		return *x.DaysSinceCustomTime
	}
	return 0
}

func (x *Bucket_Lifecycle_Rule_Condition) GetCustomTimeBefore() *date.Date {
	if x != nil {
		return x.CustomTimeBefore
	}
	return nil
}

func (x *Bucket_Lifecycle_Rule_Condition) GetDaysSinceNoncurrentTime() int32 {
	if x != nil && x.DaysSinceNoncurrentTime != nil {
		return *x.DaysSinceNoncurrentTime
	}
	return 0
}

func (x *Bucket_Lifecycle_Rule_Condition) GetNoncurrentTimeBefore() *date.Date {
	if x != nil {
		return x.NoncurrentTimeBefore
	}
	return nil
}

func (x *Bucket_Lifecycle_Rule_Condition) GetMatchesPrefix() []string {
	if x != nil {
		return x.MatchesPrefix
	}
	return nil
}

func (x *Bucket_Lifecycle_Rule_Condition) GetMatchesSuffix() []string {
	if x != nil {
		return x.MatchesSuffix
	}
	return nil
}

// The public network IP address ranges that can access the bucket and its
// data.
type Bucket_IpFilter_PublicNetworkSource struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The list of IPv4 and IPv6 cidr blocks that are allowed to
	// operate or access the bucket and its underlying objects.
	AllowedIpCidrRanges []string `protobuf:"bytes,1,rep,name=allowed_ip_cidr_ranges,json=allowedIpCidrRanges,proto3" json:"allowed_ip_cidr_ranges,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

func (x *Bucket_IpFilter_PublicNetworkSource) Reset() {
	*x = Bucket_IpFilter_PublicNetworkSource{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[81]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_IpFilter_PublicNetworkSource) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_IpFilter_PublicNetworkSource) ProtoMessage() {}

func (x *Bucket_IpFilter_PublicNetworkSource) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[81]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_IpFilter_PublicNetworkSource.ProtoReflect.Descriptor instead.
func (*Bucket_IpFilter_PublicNetworkSource) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 13, 0}
}

func (x *Bucket_IpFilter_PublicNetworkSource) GetAllowedIpCidrRanges() []string {
	if x != nil {
		return x.AllowedIpCidrRanges
	}
	return nil
}

// The list of VPC networks that can access the bucket.
type Bucket_IpFilter_VpcNetworkSource struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Name of the network.
	//
	// Format: `projects/PROJECT_ID/global/networks/NETWORK_NAME`
	Network *string `protobuf:"bytes,1,opt,name=network,proto3,oneof" json:"network,omitempty"`
	// Optional. The list of public or private IPv4 and IPv6 CIDR ranges that
	// can access the bucket. In the CIDR IP address block, the specified IP
	// address must be properly truncated, meaning all the host bits must be
	// zero or else the input is considered malformed. For example,
	// `192.0.2.0/24` is accepted but `192.0.2.1/24` is not. Similarly, for
	// IPv6, `2001:db8::/32` is accepted whereas `2001:db8::1/32` is not.
	AllowedIpCidrRanges []string `protobuf:"bytes,2,rep,name=allowed_ip_cidr_ranges,json=allowedIpCidrRanges,proto3" json:"allowed_ip_cidr_ranges,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

func (x *Bucket_IpFilter_VpcNetworkSource) Reset() {
	*x = Bucket_IpFilter_VpcNetworkSource{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[82]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Bucket_IpFilter_VpcNetworkSource) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Bucket_IpFilter_VpcNetworkSource) ProtoMessage() {}

func (x *Bucket_IpFilter_VpcNetworkSource) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[82]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Bucket_IpFilter_VpcNetworkSource.ProtoReflect.Descriptor instead.
func (*Bucket_IpFilter_VpcNetworkSource) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{43, 13, 1}
}

func (x *Bucket_IpFilter_VpcNetworkSource) GetNetwork() string {
	if x != nil && x.Network != nil {
		return *x.Network
	}
	return ""
}

func (x *Bucket_IpFilter_VpcNetworkSource) GetAllowedIpCidrRanges() []string {
	if x != nil {
		return x.AllowedIpCidrRanges
	}
	return nil
}

// Specifies retention parameters of the object. Objects under retention
// cannot be deleted or overwritten until their retention expires.
type Object_Retention struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The mode of the Retention.
	Mode Object_Retention_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.storage.v2.Object_Retention_Mode" json:"mode,omitempty"`
	// Optional. The timestamp that the object needs to be retained until.
	// Value cannot be set in the past or more than 100 years in the future.
	RetainUntilTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=retain_until_time,json=retainUntilTime,proto3" json:"retain_until_time,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *Object_Retention) Reset() {
	*x = Object_Retention{}
	mi := &file_google_storage_v2_storage_proto_msgTypes[84]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Object_Retention) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Object_Retention) ProtoMessage() {}

func (x *Object_Retention) ProtoReflect() protoreflect.Message {
	mi := &file_google_storage_v2_storage_proto_msgTypes[84]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Object_Retention.ProtoReflect.Descriptor instead.
func (*Object_Retention) Descriptor() ([]byte, []int) {
	return file_google_storage_v2_storage_proto_rawDescGZIP(), []int{50, 0}
}

func (x *Object_Retention) GetMode() Object_Retention_Mode {
	if x != nil {
		return x.Mode
	}
	return Object_Retention_MODE_UNSPECIFIED
}

func (x *Object_Retention) GetRetainUntilTime() *timestamppb.Timestamp {
	if x != nil {
		return x.RetainUntilTime
	}
	return nil
}

var File_google_storage_v2_storage_proto protoreflect.FileDescriptor

const file_google_storage_v2_storage_proto_rawDesc = "" +
	"\n" +
	"\x1fgoogle/storage/v2/storage.proto\x12\x11google.storage.v2\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/date.proto\"\x8d\x02\n" +
	"\x13DeleteBucketRequest\x129\n" +
	"\x04name\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\n" +
	"\x1dstorage.googleapis.com/BucketR\x04name\x12;\n" +
	"\x17if_metageneration_match\x18\x02 \x01(\x03H\x00R\x15ifMetagenerationMatch\x88\x01\x01\x12B\n" +
	"\x1bif_metageneration_not_match\x18\x03 \x01(\x03H\x01R\x18ifMetagenerationNotMatch\x88\x01\x01B\x1a\n" +
	"\x18_if_metageneration_matchB\x1e\n" +
	"\x1c_if_metageneration_not_match\"\xd6\x02\n" +
	"\x10GetBucketRequest\x129\n" +
	"\x04name\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\n" +
	"\x1dstorage.googleapis.com/BucketR\x04name\x12;\n" +
	"\x17if_metageneration_match\x18\x02 \x01(\x03H\x00R\x15ifMetagenerationMatch\x88\x01\x01\x12B\n" +
	"\x1bif_metageneration_not_match\x18\x03 \x01(\x03H\x01R\x18ifMetagenerationNotMatch\x88\x01\x01\x12<\n" +
	"\tread_mask\x18\x05 \x01(\v2\x1a.google.protobuf.FieldMaskH\x02R\breadMask\x88\x01\x01B\x1a\n" +
	"\x18_if_metageneration_matchB\x1e\n" +
	"\x1c_if_metageneration_not_matchB\f\n" +
	"\n" +
	"_read_mask\"\xdf\x02\n" +
	"\x13CreateBucketRequest\x12=\n" +
	"\x06parent\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\x12\x1dstorage.googleapis.com/BucketR\x06parent\x126\n" +
	"\x06bucket\x18\x02 \x01(\v2\x19.google.storage.v2.BucketB\x03\xe0A\x01R\x06bucket\x12 \n" +
	"\tbucket_id\x18\x03 \x01(\tB\x03\xe0A\x02R\bbucketId\x12*\n" +
	"\x0epredefined_acl\x18\x06 \x01(\tB\x03\xe0A\x01R\rpredefinedAcl\x12F\n" +
	"\x1dpredefined_default_object_acl\x18\a \x01(\tB\x03\xe0A\x01R\x1apredefinedDefaultObjectAcl\x12;\n" +
	"\x17enable_object_retention\x18\t \x01(\bB\x03\xe0A\x01R\x15enableObjectRetention\"\xbd\x02\n" +
	"\x12ListBucketsRequest\x12=\n" +
	"\x06parent\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\x12\x1dstorage.googleapis.com/BucketR\x06parent\x12 \n" +
	"\tpage_size\x18\x02 \x01(\x05B\x03\xe0A\x01R\bpageSize\x12\"\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tB\x03\xe0A\x01R\tpageToken\x12\x1b\n" +
	"\x06prefix\x18\x04 \x01(\tB\x03\xe0A\x01R\x06prefix\x12<\n" +
	"\tread_mask\x18\x05 \x01(\v2\x1a.google.protobuf.FieldMaskH\x00R\breadMask\x88\x01\x01\x129\n" +
	"\x16return_partial_success\x18\t \x01(\bB\x03\xe0A\x01R\x14returnPartialSuccessB\f\n" +
	"\n" +
	"_read_mask\"\x94\x01\n" +
	"\x13ListBucketsResponse\x123\n" +
	"\abuckets\x18\x01 \x03(\v2\x19.google.storage.v2.BucketR\abuckets\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12 \n" +
	"\vunreachable\x18\x03 \x03(\tR\vunreachable\"\x9e\x01\n" +
	" LockBucketRetentionPolicyRequest\x12=\n" +
	"\x06bucket\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\n" +
	"\x1dstorage.googleapis.com/BucketR\x06bucket\x12;\n" +
	"\x17if_metageneration_match\x18\x02 \x01(\x03B\x03\xe0A\x02R\x15ifMetagenerationMatch\"\xc0\x03\n" +
	"\x13UpdateBucketRequest\x126\n" +
	"\x06bucket\x18\x01 \x01(\v2\x19.google.storage.v2.BucketB\x03\xe0A\x02R\x06bucket\x12;\n" +
	"\x17if_metageneration_match\x18\x02 \x01(\x03H\x00R\x15ifMetagenerationMatch\x88\x01\x01\x12B\n" +
	"\x1bif_metageneration_not_match\x18\x03 \x01(\x03H\x01R\x18ifMetagenerationNotMatch\x88\x01\x01\x12*\n" +
	"\x0epredefined_acl\x18\b \x01(\tB\x03\xe0A\x01R\rpredefinedAcl\x12F\n" +
	"\x1dpredefined_default_object_acl\x18\t \x01(\tB\x03\xe0A\x01R\x1apredefinedDefaultObjectAcl\x12@\n" +
	"\vupdate_mask\x18\x06 \x01(\v2\x1a.google.protobuf.FieldMaskB\x03\xe0A\x02R\n" +
	"updateMaskB\x1a\n" +
	"\x18_if_metageneration_matchB\x1e\n" +
	"\x1c_if_metageneration_not_match\"\xb8\b\n" +
	"\x14ComposeObjectRequest\x12@\n" +
	"\vdestination\x18\x01 \x01(\v2\x19.google.storage.v2.ObjectB\x03\xe0A\x02R\vdestination\x12`\n" +
	"\x0esource_objects\x18\x02 \x03(\v24.google.storage.v2.ComposeObjectRequest.SourceObjectB\x03\xe0A\x01R\rsourceObjects\x12A\n" +
	"\x1adestination_predefined_acl\x18\t \x01(\tB\x03\xe0A\x01R\x18destinationPredefinedAcl\x123\n" +
	"\x13if_generation_match\x18\x04 \x01(\x03H\x00R\x11ifGenerationMatch\x88\x01\x01\x12;\n" +
	"\x17if_metageneration_match\x18\x05 \x01(\x03H\x01R\x15ifMetagenerationMatch\x88\x01\x01\x12B\n" +
	"\akms_key\x18\x06 \x01(\tB)\xe0A\x01\xfaA#\n" +
	"!cloudkms.googleapis.com/CryptoKeyR\x06kmsKey\x12r\n" +
	"\x1ccommon_object_request_params\x18\a \x01(\v2,.google.storage.v2.CommonObjectRequestParamsB\x03\xe0A\x01R\x19commonObjectRequestParams\x12R\n" +
	"\x10object_checksums\x18\n" +
	" \x01(\v2\".google.storage.v2.ObjectChecksumsB\x03\xe0A\x01R\x0fobjectChecksums\x127\n" +
	"\x15delete_source_objects\x18\v \x01(\bH\x02R\x13deleteSourceObjects\x88\x01\x01\x1a\xb3\x02\n" +
	"\fSourceObject\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\x02R\x04name\x12#\n" +
	"\n" +
	"generation\x18\x02 \x01(\x03B\x03\xe0A\x01R\n" +
	"generation\x12\x80\x01\n" +
	"\x14object_preconditions\x18\x03 \x01(\v2H.google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditionsB\x03\xe0A\x01R\x13objectPreconditions\x1ab\n" +
	"\x13ObjectPreconditions\x123\n" +
	"\x13if_generation_match\x18\x01 \x01(\x03H\x00R\x11ifGenerationMatch\x88\x01\x01B\x16\n" +
	"\x14_if_generation_matchB\x16\n" +
	"\x14_if_generation_matchB\x1a\n" +
	"\x18_if_metageneration_matchB\x18\n" +
	"\x16_delete_source_objects\"\xec\x04\n" +
	"\x13DeleteObjectRequest\x12=\n" +
	"\x06bucket\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\n" +
	"\x1dstorage.googleapis.com/BucketR\x06bucket\x12\x1b\n" +
	"\x06object\x18\x02 \x01(\tB\x03\xe0A\x02R\x06object\x12#\n" +
	"\n" +
	"generation\x18\x04 \x01(\x03B\x03\xe0A\x01R\n" +
	"generation\x123\n" +
	"\x13if_generation_match\x18\x05 \x01(\x03H\x00R\x11ifGenerationMatch\x88\x01\x01\x12:\n" +
	"\x17if_generation_not_match\x18\x06 \x01(\x03H\x01R\x14ifGenerationNotMatch\x88\x01\x01\x12;\n" +
	"\x17if_metageneration_match\x18\a \x01(\x03H\x02R\x15ifMetagenerationMatch\x88\x01\x01\x12B\n" +
	"\x1bif_metageneration_not_match\x18\b \x01(\x03H\x03R\x18ifMetagenerationNotMatch\x88\x01\x01\x12r\n" +
	"\x1ccommon_object_request_params\x18\n" +
	" \x01(\v2,.google.storage.v2.CommonObjectRequestParamsB\x03\xe0A\x01R\x19commonObjectRequestParamsB\x16\n" +
	"\x14_if_generation_matchB\x1a\n" +
	"\x18_if_generation_not_matchB\x1a\n" +
	"\x18_if_metageneration_matchB\x1e\n" +
	"\x1c_if_metageneration_not_match\"\xd8\x05\n" +
	"\x14RestoreObjectRequest\x12=\n" +
	"\x06bucket\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\n" +
	"\x1dstorage.googleapis.com/BucketR\x06bucket\x12\x1b\n" +
	"\x06object\x18\x02 \x01(\tB\x03\xe0A\x02R\x06object\x12#\n" +
	"\n" +
	"generation\x18\x03 \x01(\x03B\x03\xe0A\x02R\n" +
	"generation\x12(\n" +
	"\rrestore_token\x18\v \x01(\tB\x03\xe0A\x01R\frestoreToken\x123\n" +
	"\x13if_generation_match\x18\x04 \x01(\x03H\x00R\x11ifGenerationMatch\x88\x01\x01\x12:\n" +
	"\x17if_generation_not_match\x18\x05 \x01(\x03H\x01R\x14ifGenerationNotMatch\x88\x01\x01\x12;\n" +
	"\x17if_metageneration_match\x18\x06 \x01(\x03H\x02R\x15ifMetagenerationMatch\x88\x01\x01\x12B\n" +
	"\x1bif_metageneration_not_match\x18\a \x01(\x03H\x03R\x18ifMetagenerationNotMatch\x88\x01\x01\x12+\n" +
	"\x0fcopy_source_acl\x18\t \x01(\bH\x04R\rcopySourceAcl\x88\x01\x01\x12r\n" +
	"\x1ccommon_object_request_params\x18\b \x01(\v2,.google.storage.v2.CommonObjectRequestParamsB\x03\xe0A\x01R\x19commonObjectRequestParamsB\x16\n" +
	"\x14_if_generation_matchB\x1a\n" +
	"\x18_if_generation_not_matchB\x1a\n" +
	"\x18_if_metageneration_matchB\x1e\n" +
	"\x1c_if_metageneration_not_matchB\x12\n" +
	"\x10_copy_source_acl\"?\n" +
	"\x1bCancelResumableWriteRequest\x12 \n" +
	"\tupload_id\x18\x01 \x01(\tB\x03\xe0A\x02R\buploadId\"\x1e\n" +
	"\x1cCancelResumableWriteResponse\"\x80\x06\n" +
	"\x11ReadObjectRequest\x12=\n" +
	"\x06bucket\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\n" +
	"\x1dstorage.googleapis.com/BucketR\x06bucket\x12\x1b\n" +
	"\x06object\x18\x02 \x01(\tB\x03\xe0A\x02R\x06object\x12#\n" +
	"\n" +
	"generation\x18\x03 \x01(\x03B\x03\xe0A\x01R\n" +
	"generation\x12$\n" +
	"\vread_offset\x18\x04 \x01(\x03B\x03\xe0A\x01R\n" +
	"readOffset\x12\"\n" +
	"\n" +
	"read_limit\x18\x05 \x01(\x03B\x03\xe0A\x01R\treadLimit\x123\n" +
	"\x13if_generation_match\x18\x06 \x01(\x03H\x00R\x11ifGenerationMatch\x88\x01\x01\x12:\n" +
	"\x17if_generation_not_match\x18\a \x01(\x03H\x01R\x14ifGenerationNotMatch\x88\x01\x01\x12;\n" +
	"\x17if_metageneration_match\x18\b \x01(\x03H\x02R\x15ifMetagenerationMatch\x88\x01\x01\x12B\n" +
	"\x1bif_metageneration_not_match\x18\t \x01(\x03H\x03R\x18ifMetagenerationNotMatch\x88\x01\x01\x12r\n" +
	"\x1ccommon_object_request_params\x18\n" +
	" \x01(\v2,.google.storage.v2.CommonObjectRequestParamsB\x03\xe0A\x01R\x19commonObjectRequestParams\x12<\n" +
	"\tread_mask\x18\f \x01(\v2\x1a.google.protobuf.FieldMaskH\x04R\breadMask\x88\x01\x01B\x16\n" +
	"\x14_if_generation_matchB\x1a\n" +
	"\x18_if_generation_not_matchB\x1a\n" +
	"\x18_if_metageneration_matchB\x1e\n" +
	"\x1c_if_metageneration_not_matchB\f\n" +
	"\n" +
	"_read_mask\"\x98\x06\n" +
	"\x10GetObjectRequest\x12=\n" +
	"\x06bucket\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\n" +
	"\x1dstorage.googleapis.com/BucketR\x06bucket\x12\x1b\n" +
	"\x06object\x18\x02 \x01(\tB\x03\xe0A\x02R\x06object\x12#\n" +
	"\n" +
	"generation\x18\x03 \x01(\x03B\x03\xe0A\x01R\n" +
	"generation\x12&\n" +
	"\fsoft_deleted\x18\v \x01(\bH\x00R\vsoftDeleted\x88\x01\x01\x123\n" +
	"\x13if_generation_match\x18\x04 \x01(\x03H\x01R\x11ifGenerationMatch\x88\x01\x01\x12:\n" +
	"\x17if_generation_not_match\x18\x05 \x01(\x03H\x02R\x14ifGenerationNotMatch\x88\x01\x01\x12;\n" +
	"\x17if_metageneration_match\x18\x06 \x01(\x03H\x03R\x15ifMetagenerationMatch\x88\x01\x01\x12B\n" +
	"\x1bif_metageneration_not_match\x18\a \x01(\x03H\x04R\x18ifMetagenerationNotMatch\x88\x01\x01\x12r\n" +
	"\x1ccommon_object_request_params\x18\b \x01(\v2,.google.storage.v2.CommonObjectRequestParamsB\x03\xe0A\x01R\x19commonObjectRequestParams\x12<\n" +
	"\tread_mask\x18\n" +
	" \x01(\v2\x1a.google.protobuf.FieldMaskH\x05R\breadMask\x88\x01\x01\x12(\n" +
	"\rrestore_token\x18\f \x01(\tB\x03\xe0A\x01R\frestoreTokenB\x0f\n" +
	"\r_soft_deletedB\x16\n" +
	"\x14_if_generation_matchB\x1a\n" +
	"\x18_if_generation_not_matchB\x1a\n" +
	"\x18_if_metageneration_matchB\x1e\n" +
	"\x1c_if_metageneration_not_matchB\f\n" +
	"\n" +
	"_read_mask\"\xaf\x02\n" +
	"\x12ReadObjectResponse\x12M\n" +
	"\x10checksummed_data\x18\x01 \x01(\v2\".google.storage.v2.ChecksummedDataR\x0fchecksummedData\x12M\n" +
	"\x10object_checksums\x18\x02 \x01(\v2\".google.storage.v2.ObjectChecksumsR\x0fobjectChecksums\x12D\n" +
	"\rcontent_range\x18\x03 \x01(\v2\x1f.google.storage.v2.ContentRangeR\fcontentRange\x125\n" +
	"\bmetadata\x18\x04 \x01(\v2\x19.google.storage.v2.ObjectR\bmetadata\"\xd0\x06\n" +
	"\x12BidiReadObjectSpec\x12=\n" +
	"\x06bucket\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\n" +
	"\x1dstorage.googleapis.com/BucketR\x06bucket\x12\x1b\n" +
	"\x06object\x18\x02 \x01(\tB\x03\xe0A\x02R\x06object\x12#\n" +
	"\n" +
	"generation\x18\x03 \x01(\x03B\x03\xe0A\x01R\n" +
	"generation\x123\n" +
	"\x13if_generation_match\x18\x04 \x01(\x03H\x00R\x11ifGenerationMatch\x88\x01\x01\x12:\n" +
	"\x17if_generation_not_match\x18\x05 \x01(\x03H\x01R\x14ifGenerationNotMatch\x88\x01\x01\x12;\n" +
	"\x17if_metageneration_match\x18\x06 \x01(\x03H\x02R\x15ifMetagenerationMatch\x88\x01\x01\x12B\n" +
	"\x1bif_metageneration_not_match\x18\a \x01(\x03H\x03R\x18ifMetagenerationNotMatch\x88\x01\x01\x12r\n" +
	"\x1ccommon_object_request_params\x18\b \x01(\v2,.google.storage.v2.CommonObjectRequestParamsB\x03\xe0A\x01R\x19commonObjectRequestParams\x12@\n" +
	"\tread_mask\x18\f \x01(\v2\x1a.google.protobuf.FieldMaskB\x02\x18\x01H\x04R\breadMask\x88\x01\x01\x12G\n" +
	"\vread_handle\x18\r \x01(\v2!.google.storage.v2.BidiReadHandleH\x05R\n" +
	"readHandle\x88\x01\x01\x12(\n" +
	"\rrouting_token\x18\x0e \x01(\tH\x06R\froutingToken\x88\x01\x01B\x16\n" +
	"\x14_if_generation_matchB\x1a\n" +
	"\x18_if_generation_not_matchB\x1a\n" +
	"\x18_if_metageneration_matchB\x1e\n" +
	"\x1c_if_metageneration_not_matchB\f\n" +
	"\n" +
	"_read_maskB\x0e\n" +
	"\f_read_handleB\x10\n" +
	"\x0e_routing_token\"\xb1\x01\n" +
	"\x15BidiReadObjectRequest\x12T\n" +
	"\x10read_object_spec\x18\x01 \x01(\v2%.google.storage.v2.BidiReadObjectSpecB\x03\xe0A\x01R\x0ereadObjectSpec\x12B\n" +
	"\vread_ranges\x18\b \x03(\v2\x1c.google.storage.v2.ReadRangeB\x03\xe0A\x01R\n" +
	"readRanges\"\xe5\x01\n" +
	"\x16BidiReadObjectResponse\x12P\n" +
	"\x12object_data_ranges\x18\x06 \x03(\v2\".google.storage.v2.ObjectRangeDataR\x10objectDataRanges\x125\n" +
	"\bmetadata\x18\x04 \x01(\v2\x19.google.storage.v2.ObjectR\bmetadata\x12B\n" +
	"\vread_handle\x18\a \x01(\v2!.google.storage.v2.BidiReadHandleR\n" +
	"readHandle\"\x9f\x01\n" +
	"\x1dBidiReadObjectRedirectedError\x12B\n" +
	"\vread_handle\x18\x01 \x01(\v2!.google.storage.v2.BidiReadHandleR\n" +
	"readHandle\x12(\n" +
	"\rrouting_token\x18\x02 \x01(\tH\x00R\froutingToken\x88\x01\x01B\x10\n" +
	"\x0e_routing_token\"\xed\x01\n" +
	"\x1eBidiWriteObjectRedirectedError\x12(\n" +
	"\rrouting_token\x18\x01 \x01(\tH\x00R\froutingToken\x88\x01\x01\x12J\n" +
	"\fwrite_handle\x18\x02 \x01(\v2\".google.storage.v2.BidiWriteHandleH\x01R\vwriteHandle\x88\x01\x01\x12#\n" +
	"\n" +
	"generation\x18\x03 \x01(\x03H\x02R\n" +
	"generation\x88\x01\x01B\x10\n" +
	"\x0e_routing_tokenB\x0f\n" +
	"\r_write_handleB\r\n" +
	"\v_generation\"d\n" +
	"\x13BidiReadObjectError\x12M\n" +
	"\x11read_range_errors\x18\x01 \x03(\v2!.google.storage.v2.ReadRangeErrorR\x0freadRangeErrors\"U\n" +
	"\x0eReadRangeError\x12\x17\n" +
	"\aread_id\x18\x01 \x01(\x03R\x06readId\x12*\n" +
	"\x06status\x18\x02 \x01(\v2\x12.google.rpc.StatusR\x06status\"u\n" +
	"\tReadRange\x12$\n" +
	"\vread_offset\x18\x01 \x01(\x03B\x03\xe0A\x02R\n" +
	"readOffset\x12$\n" +
	"\vread_length\x18\x02 \x01(\x03B\x03\xe0A\x01R\n" +
	"readLength\x12\x1c\n" +
	"\aread_id\x18\x03 \x01(\x03B\x03\xe0A\x02R\x06readId\"\xba\x01\n" +
	"\x0fObjectRangeData\x12M\n" +
	"\x10checksummed_data\x18\x01 \x01(\v2\".google.storage.v2.ChecksummedDataR\x0fchecksummedData\x12;\n" +
	"\n" +
	"read_range\x18\x02 \x01(\v2\x1c.google.storage.v2.ReadRangeR\treadRange\x12\x1b\n" +
	"\trange_end\x18\x03 \x01(\bR\brangeEnd\"-\n" +
	"\x0eBidiReadHandle\x12\x1b\n" +
	"\x06handle\x18\x01 \x01(\fB\x03\xe0A\x02R\x06handle\".\n" +
	"\x0fBidiWriteHandle\x12\x1b\n" +
	"\x06handle\x18\x01 \x01(\fB\x03\xe0A\x02R\x06handle\"\xc5\x04\n" +
	"\x0fWriteObjectSpec\x12:\n" +
	"\bresource\x18\x01 \x01(\v2\x19.google.storage.v2.ObjectB\x03\xe0A\x02R\bresource\x12*\n" +
	"\x0epredefined_acl\x18\a \x01(\tB\x03\xe0A\x01R\rpredefinedAcl\x123\n" +
	"\x13if_generation_match\x18\x03 \x01(\x03H\x00R\x11ifGenerationMatch\x88\x01\x01\x12:\n" +
	"\x17if_generation_not_match\x18\x04 \x01(\x03H\x01R\x14ifGenerationNotMatch\x88\x01\x01\x12;\n" +
	"\x17if_metageneration_match\x18\x05 \x01(\x03H\x02R\x15ifMetagenerationMatch\x88\x01\x01\x12B\n" +
	"\x1bif_metageneration_not_match\x18\x06 \x01(\x03H\x03R\x18ifMetagenerationNotMatch\x88\x01\x01\x12$\n" +
	"\vobject_size\x18\b \x01(\x03H\x04R\n" +
	"objectSize\x88\x01\x01\x12#\n" +
	"\n" +
	"appendable\x18\t \x01(\bH\x05R\n" +
	"appendable\x88\x01\x01B\x16\n" +
	"\x14_if_generation_matchB\x1a\n" +
	"\x18_if_generation_not_matchB\x1a\n" +
	"\x18_if_metageneration_matchB\x1e\n" +
	"\x1c_if_metageneration_not_matchB\x0e\n" +
	"\f_object_sizeB\r\n" +
	"\v_appendable\"\x87\x04\n" +
	"\x12WriteObjectRequest\x12\x1d\n" +
	"\tupload_id\x18\x01 \x01(\tH\x00R\buploadId\x12P\n" +
	"\x11write_object_spec\x18\x02 \x01(\v2\".google.storage.v2.WriteObjectSpecH\x00R\x0fwriteObjectSpec\x12&\n" +
	"\fwrite_offset\x18\x03 \x01(\x03B\x03\xe0A\x02R\vwriteOffset\x12O\n" +
	"\x10checksummed_data\x18\x04 \x01(\v2\".google.storage.v2.ChecksummedDataH\x01R\x0fchecksummedData\x12R\n" +
	"\x10object_checksums\x18\x06 \x01(\v2\".google.storage.v2.ObjectChecksumsB\x03\xe0A\x01R\x0fobjectChecksums\x12&\n" +
	"\ffinish_write\x18\a \x01(\bB\x03\xe0A\x01R\vfinishWrite\x12r\n" +
	"\x1ccommon_object_request_params\x18\b \x01(\v2,.google.storage.v2.CommonObjectRequestParamsB\x03\xe0A\x01R\x19commonObjectRequestParamsB\x0f\n" +
	"\rfirst_messageB\x06\n" +
	"\x04data\"\xe5\x01\n" +
	"\x13WriteObjectResponse\x12'\n" +
	"\x0epersisted_size\x18\x01 \x01(\x03H\x00R\rpersistedSize\x127\n" +
	"\bresource\x18\x02 \x01(\v2\x19.google.storage.v2.ObjectH\x00R\bresource\x12\\\n" +
	"\x18persisted_data_checksums\x18\x03 \x01(\v2\".google.storage.v2.ObjectChecksumsR\x16persistedDataChecksumsB\x0e\n" +
	"\fwrite_status\"\xe9\x03\n" +
	"\x10AppendObjectSpec\x12=\n" +
	"\x06bucket\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\n" +
	"\x1dstorage.googleapis.com/BucketR\x06bucket\x12\x1b\n" +
	"\x06object\x18\x02 \x01(\tB\x03\xe0A\x02R\x06object\x12#\n" +
	"\n" +
	"generation\x18\x03 \x01(\x03B\x03\xe0A\x02R\n" +
	"generation\x12;\n" +
	"\x17if_metageneration_match\x18\x04 \x01(\x03H\x00R\x15ifMetagenerationMatch\x88\x01\x01\x12B\n" +
	"\x1bif_metageneration_not_match\x18\x05 \x01(\x03H\x01R\x18ifMetagenerationNotMatch\x88\x01\x01\x12(\n" +
	"\rrouting_token\x18\x06 \x01(\tH\x02R\froutingToken\x88\x01\x01\x12J\n" +
	"\fwrite_handle\x18\a \x01(\v2\".google.storage.v2.BidiWriteHandleH\x03R\vwriteHandle\x88\x01\x01B\x1a\n" +
	"\x18_if_metageneration_matchB\x1e\n" +
	"\x1c_if_metageneration_not_matchB\x10\n" +
	"\x0e_routing_tokenB\x0f\n" +
	"\r_write_handle\"\xa3\x05\n" +
	"\x16BidiWriteObjectRequest\x12\x1d\n" +
	"\tupload_id\x18\x01 \x01(\tH\x00R\buploadId\x12P\n" +
	"\x11write_object_spec\x18\x02 \x01(\v2\".google.storage.v2.WriteObjectSpecH\x00R\x0fwriteObjectSpec\x12S\n" +
	"\x12append_object_spec\x18\v \x01(\v2#.google.storage.v2.AppendObjectSpecH\x00R\x10appendObjectSpec\x12&\n" +
	"\fwrite_offset\x18\x03 \x01(\x03B\x03\xe0A\x02R\vwriteOffset\x12O\n" +
	"\x10checksummed_data\x18\x04 \x01(\v2\".google.storage.v2.ChecksummedDataH\x01R\x0fchecksummedData\x12R\n" +
	"\x10object_checksums\x18\x06 \x01(\v2\".google.storage.v2.ObjectChecksumsB\x03\xe0A\x01R\x0fobjectChecksums\x12&\n" +
	"\fstate_lookup\x18\a \x01(\bB\x03\xe0A\x01R\vstateLookup\x12\x19\n" +
	"\x05flush\x18\b \x01(\bB\x03\xe0A\x01R\x05flush\x12&\n" +
	"\ffinish_write\x18\t \x01(\bB\x03\xe0A\x01R\vfinishWrite\x12r\n" +
	"\x1ccommon_object_request_params\x18\n" +
	" \x01(\v2,.google.storage.v2.CommonObjectRequestParamsB\x03\xe0A\x01R\x19commonObjectRequestParamsB\x0f\n" +
	"\rfirst_messageB\x06\n" +
	"\x04data\"\xc6\x02\n" +
	"\x17BidiWriteObjectResponse\x12'\n" +
	"\x0epersisted_size\x18\x01 \x01(\x03H\x00R\rpersistedSize\x127\n" +
	"\bresource\x18\x02 \x01(\v2\x19.google.storage.v2.ObjectH\x00R\bresource\x12\\\n" +
	"\x18persisted_data_checksums\x18\x04 \x01(\v2\".google.storage.v2.ObjectChecksumsR\x16persistedDataChecksums\x12J\n" +
	"\fwrite_handle\x18\x03 \x01(\v2\".google.storage.v2.BidiWriteHandleH\x01R\vwriteHandle\x88\x01\x01B\x0e\n" +
	"\fwrite_statusB\x0f\n" +
	"\r_write_handle\"\x9e\x05\n" +
	"\x12ListObjectsRequest\x12=\n" +
	"\x06parent\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\n" +
	"\x1dstorage.googleapis.com/BucketR\x06parent\x12 \n" +
	"\tpage_size\x18\x02 \x01(\x05B\x03\xe0A\x01R\bpageSize\x12\"\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tB\x03\xe0A\x01R\tpageToken\x12!\n" +
	"\tdelimiter\x18\x04 \x01(\tB\x03\xe0A\x01R\tdelimiter\x12A\n" +
	"\x1ainclude_trailing_delimiter\x18\x05 \x01(\bB\x03\xe0A\x01R\x18includeTrailingDelimiter\x12\x1b\n" +
	"\x06prefix\x18\x06 \x01(\tB\x03\xe0A\x01R\x06prefix\x12\x1f\n" +
	"\bversions\x18\a \x01(\bB\x03\xe0A\x01R\bversions\x12<\n" +
	"\tread_mask\x18\b \x01(\v2\x1a.google.protobuf.FieldMaskH\x00R\breadMask\x88\x01\x01\x124\n" +
	"\x13lexicographic_start\x18\n" +
	" \x01(\tB\x03\xe0A\x01R\x12lexicographicStart\x120\n" +
	"\x11lexicographic_end\x18\v \x01(\tB\x03\xe0A\x01R\x10lexicographicEnd\x12&\n" +
	"\fsoft_deleted\x18\f \x01(\bB\x03\xe0A\x01R\vsoftDeleted\x12B\n" +
	"\x1binclude_folders_as_prefixes\x18\r \x01(\bB\x03\xe0A\x01R\x18includeFoldersAsPrefixes\x12\"\n" +
	"\n" +
	"match_glob\x18\x0e \x01(\tB\x03\xe0A\x01R\tmatchGlob\x12\x1b\n" +
	"\x06filter\x18\x0f \x01(\tB\x03\xe0A\x01R\x06filterB\f\n" +
	"\n" +
	"_read_mask\"\xaf\x01\n" +
	"\x17QueryWriteStatusRequest\x12 \n" +
	"\tupload_id\x18\x01 \x01(\tB\x03\xe0A\x02R\buploadId\x12r\n" +
	"\x1ccommon_object_request_params\x18\x02 \x01(\v2,.google.storage.v2.CommonObjectRequestParamsB\x03\xe0A\x01R\x19commonObjectRequestParams\"\xea\x01\n" +
	"\x18QueryWriteStatusResponse\x12'\n" +
	"\x0epersisted_size\x18\x01 \x01(\x03H\x00R\rpersistedSize\x127\n" +
	"\bresource\x18\x02 \x01(\v2\x19.google.storage.v2.ObjectH\x00R\bresource\x12\\\n" +
	"\x18persisted_data_checksums\x18\x03 \x01(\v2\".google.storage.v2.ObjectChecksumsR\x16persistedDataChecksumsB\x0e\n" +
	"\fwrite_status\"\xea\x0e\n" +
	"\x14RewriteObjectRequest\x121\n" +
	"\x10destination_name\x18\x18 \x01(\tB\x06\xe0A\x02\xe0A\x05R\x0fdestinationName\x12W\n" +
	"\x12destination_bucket\x18\x19 \x01(\tB(\xe0A\x02\xe0A\x05\xfaA\x1f\n" +
	"\x1dstorage.googleapis.com/BucketR\x11destinationBucket\x12Y\n" +
	"\x13destination_kms_key\x18\x1b \x01(\tB)\xe0A\x01\xfaA#\n" +
	"!cloudkms.googleapis.com/CryptoKeyR\x11destinationKmsKey\x12@\n" +
	"\vdestination\x18\x01 \x01(\v2\x19.google.storage.v2.ObjectB\x03\xe0A\x01R\vdestination\x12J\n" +
	"\rsource_bucket\x18\x02 \x01(\tB%\xe0A\x02\xfaA\x1f\n" +
	"\x1dstorage.googleapis.com/BucketR\fsourceBucket\x12(\n" +
	"\rsource_object\x18\x03 \x01(\tB\x03\xe0A\x02R\fsourceObject\x120\n" +
	"\x11source_generation\x18\x04 \x01(\x03B\x03\xe0A\x01R\x10sourceGeneration\x12(\n" +
	"\rrewrite_token\x18\x05 \x01(\tB\x03\xe0A\x01R\frewriteToken\x12A\n" +
	"\x1adestination_predefined_acl\x18\x1c \x01(\tB\x03\xe0A\x01R\x18destinationPredefinedAcl\x123\n" +
	"\x13if_generation_match\x18\a \x01(\x03H\x00R\x11ifGenerationMatch\x88\x01\x01\x12:\n" +
	"\x17if_generation_not_match\x18\b \x01(\x03H\x01R\x14ifGenerationNotMatch\x88\x01\x01\x12;\n" +
	"\x17if_metageneration_match\x18\t \x01(\x03H\x02R\x15ifMetagenerationMatch\x88\x01\x01\x12B\n" +
	"\x1bif_metageneration_not_match\x18\n" +
	" \x01(\x03H\x03R\x18ifMetagenerationNotMatch\x88\x01\x01\x12@\n" +
	"\x1aif_source_generation_match\x18\v \x01(\x03H\x04R\x17ifSourceGenerationMatch\x88\x01\x01\x12G\n" +
	"\x1eif_source_generation_not_match\x18\f \x01(\x03H\x05R\x1aifSourceGenerationNotMatch\x88\x01\x01\x12H\n" +
	"\x1eif_source_metageneration_match\x18\r \x01(\x03H\x06R\x1bifSourceMetagenerationMatch\x88\x01\x01\x12O\n" +
	"\"if_source_metageneration_not_match\x18\x0e \x01(\x03H\aR\x1eifSourceMetagenerationNotMatch\x88\x01\x01\x12C\n" +
	"\x1cmax_bytes_rewritten_per_call\x18\x0f \x01(\x03B\x03\xe0A\x01R\x18maxBytesRewrittenPerCall\x12L\n" +
	" copy_source_encryption_algorithm\x18\x10 \x01(\tB\x03\xe0A\x01R\x1dcopySourceEncryptionAlgorithm\x12K\n" +
	" copy_source_encryption_key_bytes\x18\x15 \x01(\fB\x03\xe0A\x01R\x1ccopySourceEncryptionKeyBytes\x12X\n" +
	"'copy_source_encryption_key_sha256_bytes\x18\x16 \x01(\fB\x03\xe0A\x01R\"copySourceEncryptionKeySha256Bytes\x12r\n" +
	"\x1ccommon_object_request_params\x18\x13 \x01(\v2,.google.storage.v2.CommonObjectRequestParamsB\x03\xe0A\x01R\x19commonObjectRequestParams\x12R\n" +
	"\x10object_checksums\x18\x1d \x01(\v2\".google.storage.v2.ObjectChecksumsB\x03\xe0A\x01R\x0fobjectChecksumsB\x16\n" +
	"\x14_if_generation_matchB\x1a\n" +
	"\x18_if_generation_not_matchB\x1a\n" +
	"\x18_if_metageneration_matchB\x1e\n" +
	"\x1c_if_metageneration_not_matchB\x1d\n" +
	"\x1b_if_source_generation_matchB!\n" +
	"\x1f_if_source_generation_not_matchB!\n" +
	"\x1f_if_source_metageneration_matchB%\n" +
	"#_if_source_metageneration_not_match\"\xd6\x01\n" +
	"\x0fRewriteResponse\x122\n" +
	"\x15total_bytes_rewritten\x18\x01 \x01(\x03R\x13totalBytesRewritten\x12\x1f\n" +
	"\vobject_size\x18\x02 \x01(\x03R\n" +
	"objectSize\x12\x12\n" +
	"\x04done\x18\x03 \x01(\bR\x04done\x12#\n" +
	"\rrewrite_token\x18\x04 \x01(\tR\frewriteToken\x125\n" +
	"\bresource\x18\x05 \x01(\v2\x19.google.storage.v2.ObjectR\bresource\"\xec\a\n" +
	"\x11MoveObjectRequest\x12=\n" +
	"\x06bucket\x18\x01 \x01(\tB%\xe0A\x02\xfaA\x1f\n" +
	"\x1dstorage.googleapis.com/BucketR\x06bucket\x12(\n" +
	"\rsource_object\x18\x02 \x01(\tB\x03\xe0A\x02R\fsourceObject\x122\n" +
	"\x12destination_object\x18\x03 \x01(\tB\x03\xe0A\x02R\x11destinationObject\x12E\n" +
	"\x1aif_source_generation_match\x18\x04 \x01(\x03B\x03\xe0A\x01H\x00R\x17ifSourceGenerationMatch\x88\x01\x01\x12L\n" +
	"\x1eif_source_generation_not_match\x18\x05 \x01(\x03B\x03\xe0A\x01H\x01R\x1aifSourceGenerationNotMatch\x88\x01\x01\x12M\n" +
	"\x1eif_source_metageneration_match\x18\x06 \x01(\x03B\x03\xe0A\x01H\x02R\x1bifSourceMetagenerationMatch\x88\x01\x01\x12T\n" +
	"\"if_source_metageneration_not_match\x18\a \x01(\x03B\x03\xe0A\x01H\x03R\x1eifSourceMetagenerationNotMatch\x88\x01\x01\x128\n" +
	"\x13if_generation_match\x18\b \x01(\x03B\x03\xe0A\x01H\x04R\x11ifGenerationMatch\x88\x01\x01\x12?\n" +
	"\x17if_generation_not_match\x18\t \x01(\x03B\x03\xe0A\x01H\x05R\x14ifGenerationNotMatch\x88\x01\x01\x12@\n" +
	"\x17if_metageneration_match\x18\n" +
	" \x01(\x03B\x03\xe0A\x01H\x06R\x15ifMetagenerationMatch\x88\x01\x01\x12G\n" +
	"\x1bif_metageneration_not_match\x18\v \x01(\x03B\x03\xe0A\x01H\aR\x18ifMetagenerationNotMatch\x88\x01\x01B\x1d\n" +
	"\x1b_if_source_generation_matchB!\n" +
	"\x1f_if_source_generation_not_matchB!\n" +
	"\x1f_if_source_metageneration_matchB%\n" +
	"#_if_source_metageneration_not_matchB\x16\n" +
	"\x14_if_generation_matchB\x1a\n" +
	"\x18_if_generation_not_matchB\x1a\n" +
	"\x18_if_metageneration_matchB\x1e\n" +
	"\x1c_if_metageneration_not_match\"\xb9\x02\n" +
	"\x1aStartResumableWriteRequest\x12S\n" +
	"\x11write_object_spec\x18\x01 \x01(\v2\".google.storage.v2.WriteObjectSpecB\x03\xe0A\x02R\x0fwriteObjectSpec\x12r\n" +
	"\x1ccommon_object_request_params\x18\x03 \x01(\v2,.google.storage.v2.CommonObjectRequestParamsB\x03\xe0A\x01R\x19commonObjectRequestParams\x12R\n" +
	"\x10object_checksums\x18\x05 \x01(\v2\".google.storage.v2.ObjectChecksumsB\x03\xe0A\x01R\x0fobjectChecksums\":\n" +
	"\x1bStartResumableWriteResponse\x12\x1b\n" +
	"\tupload_id\x18\x01 \x01(\tR\buploadId\"\xd6\x05\n" +
	"\x13UpdateObjectRequest\x126\n" +
	"\x06object\x18\x01 \x01(\v2\x19.google.storage.v2.ObjectB\x03\xe0A\x02R\x06object\x123\n" +
	"\x13if_generation_match\x18\x02 \x01(\x03H\x00R\x11ifGenerationMatch\x88\x01\x01\x12:\n" +
	"\x17if_generation_not_match\x18\x03 \x01(\x03H\x01R\x14ifGenerationNotMatch\x88\x01\x01\x12;\n" +
	"\x17if_metageneration_match\x18\x04 \x01(\x03H\x02R\x15ifMetagenerationMatch\x88\x01\x01\x12B\n" +
	"\x1bif_metageneration_not_match\x18\x05 \x01(\x03H\x03R\x18ifMetagenerationNotMatch\x88\x01\x01\x12*\n" +
	"\x0epredefined_acl\x18\n" +
	" \x01(\tB\x03\xe0A\x01R\rpredefinedAcl\x12@\n" +
	"\vupdate_mask\x18\a \x01(\v2\x1a.google.protobuf.FieldMaskB\x03\xe0A\x02R\n" +
	"updateMask\x12r\n" +
	"\x1ccommon_object_request_params\x18\b \x01(\v2,.google.storage.v2.CommonObjectRequestParamsB\x03\xe0A\x01R\x19commonObjectRequestParams\x12C\n" +
	"\x1boverride_unlocked_retention\x18\v \x01(\bB\x03\xe0A\x01R\x19overrideUnlockedRetentionB\x16\n" +
	"\x14_if_generation_matchB\x1a\n" +
	"\x18_if_generation_not_matchB\x1a\n" +
	"\x18_if_metageneration_matchB\x1e\n" +
	"\x1c_if_metageneration_not_match\"\xce\x01\n" +
	"\x19CommonObjectRequestParams\x126\n" +
	"\x14encryption_algorithm\x18\x01 \x01(\tB\x03\xe0A\x01R\x13encryptionAlgorithm\x125\n" +
	"\x14encryption_key_bytes\x18\x04 \x01(\fB\x03\xe0A\x01R\x12encryptionKeyBytes\x12B\n" +
	"\x1bencryption_key_sha256_bytes\x18\x05 \x01(\fB\x03\xe0A\x01R\x18encryptionKeySha256Bytes\"\xca\x05\n" +
	"\x10ServiceConstants\"\xb5\x05\n" +
	"\x06Values\x12\x16\n" +
	"\x12VALUES_UNSPECIFIED\x10\x00\x12\x1b\n" +
	"\x14MAX_READ_CHUNK_BYTES\x10\x80\x80\x80\x01\x12\x1c\n" +
	"\x15MAX_WRITE_CHUNK_BYTES\x10\x80\x80\x80\x01\x12\x19\n" +
	"\x12MAX_OBJECT_SIZE_MB\x10\x80\x80\xc0\x02\x12)\n" +
	"$MAX_CUSTOM_METADATA_FIELD_NAME_BYTES\x10\x80\b\x12*\n" +
	"%MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES\x10\x80 \x12)\n" +
	"$MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES\x10\x80@\x12*\n" +
	"$MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES\x10\x80\xa0\x01\x12'\n" +
	"#MAX_NOTIFICATION_CONFIGS_PER_BUCKET\x10d\x12\"\n" +
	"\x1eMAX_LIFECYCLE_RULES_PER_BUCKET\x10d\x12&\n" +
	"\"MAX_NOTIFICATION_CUSTOM_ATTRIBUTES\x10\x05\x121\n" +
	",MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH\x10\x80\x02\x123\n" +
	".MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH\x10\x80\b\x12\x1c\n" +
	"\x18MAX_LABELS_ENTRIES_COUNT\x10@\x12\x1f\n" +
	"\x1bMAX_LABELS_KEY_VALUE_LENGTH\x10?\x12\x1f\n" +
	"\x1aMAX_LABELS_KEY_VALUE_BYTES\x10\x80\x01\x12.\n" +
	")MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST\x10\xe8\a\x12\x1e\n" +
	"\x1aSPLIT_TOKEN_MAX_VALID_DAYS\x10\x0e\x1a\x02\x10\x01\"\xb57\n" +
	"\x06Bucket\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\bR\x04name\x12 \n" +
	"\tbucket_id\x18\x02 \x01(\tB\x03\xe0A\x03R\bbucketId\x12\x12\n" +
	"\x04etag\x18\x1d \x01(\tR\x04etag\x12M\n" +
	"\aproject\x18\x03 \x01(\tB3\xe0A\x05\xfaA-\n" +
	"+cloudresourcemanager.googleapis.com/ProjectR\aproject\x12+\n" +
	"\x0emetageneration\x18\x04 \x01(\x03B\x03\xe0A\x03R\x0emetageneration\x12\x1f\n" +
	"\blocation\x18\x05 \x01(\tB\x03\xe0A\x05R\blocation\x12(\n" +
	"\rlocation_type\x18\x06 \x01(\tB\x03\xe0A\x03R\flocationType\x12(\n" +
	"\rstorage_class\x18\a \x01(\tB\x03\xe0A\x01R\fstorageClass\x12\x15\n" +
	"\x03rpo\x18\x1b \x01(\tB\x03\xe0A\x01R\x03rpo\x12=\n" +
	"\x03acl\x18\b \x03(\v2&.google.storage.v2.BucketAccessControlB\x03\xe0A\x01R\x03acl\x12Y\n" +
	"\x12default_object_acl\x18\t \x03(\v2&.google.storage.v2.ObjectAccessControlB\x03\xe0A\x01R\x10defaultObjectAcl\x12F\n" +
	"\tlifecycle\x18\n" +
	" \x01(\v2#.google.storage.v2.Bucket.LifecycleB\x03\xe0A\x01R\tlifecycle\x12@\n" +
	"\vcreate_time\x18\v \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x127\n" +
	"\x04cors\x18\f \x03(\v2\x1e.google.storage.v2.Bucket.CorsB\x03\xe0A\x01R\x04cors\x12@\n" +
	"\vupdate_time\x18\r \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"updateTime\x12<\n" +
	"\x18default_event_based_hold\x18\x0e \x01(\bB\x03\xe0A\x01R\x15defaultEventBasedHold\x12B\n" +
	"\x06labels\x18\x0f \x03(\v2%.google.storage.v2.Bucket.LabelsEntryB\x03\xe0A\x01R\x06labels\x12@\n" +
	"\awebsite\x18\x10 \x01(\v2!.google.storage.v2.Bucket.WebsiteB\x03\xe0A\x01R\awebsite\x12I\n" +
	"\n" +
	"versioning\x18\x11 \x01(\v2$.google.storage.v2.Bucket.VersioningB\x03\xe0A\x01R\n" +
	"versioning\x12@\n" +
	"\alogging\x18\x12 \x01(\v2!.google.storage.v2.Bucket.LoggingB\x03\xe0A\x01R\alogging\x123\n" +
	"\x05owner\x18\x13 \x01(\v2\x18.google.storage.v2.OwnerB\x03\xe0A\x03R\x05owner\x12I\n" +
	"\n" +
	"encryption\x18\x14 \x01(\v2$.google.storage.v2.Bucket.EncryptionB\x03\xe0A\x01R\n" +
	"encryption\x12@\n" +
	"\abilling\x18\x15 \x01(\v2!.google.storage.v2.Bucket.BillingB\x03\xe0A\x01R\abilling\x12Y\n" +
	"\x10retention_policy\x18\x16 \x01(\v2).google.storage.v2.Bucket.RetentionPolicyB\x03\xe0A\x01R\x0fretentionPolicy\x12G\n" +
	"\n" +
	"iam_config\x18\x17 \x01(\v2#.google.storage.v2.Bucket.IamConfigB\x03\xe0A\x01R\tiamConfig\x12(\n" +
	"\rsatisfies_pzs\x18\x19 \x01(\bB\x03\xe0A\x01R\fsatisfiesPzs\x12l\n" +
	"\x17custom_placement_config\x18\x1a \x01(\v2/.google.storage.v2.Bucket.CustomPlacementConfigB\x03\xe0A\x01R\x15customPlacementConfig\x12F\n" +
	"\tautoclass\x18\x1c \x01(\v2#.google.storage.v2.Bucket.AutoclassB\x03\xe0A\x01R\tautoclass\x12k\n" +
	"\x16hierarchical_namespace\x18  \x01(\v2/.google.storage.v2.Bucket.HierarchicalNamespaceB\x03\xe0A\x01R\x15hierarchicalNamespace\x12]\n" +
	"\x12soft_delete_policy\x18\x1f \x01(\v2*.google.storage.v2.Bucket.SoftDeletePolicyB\x03\xe0A\x01R\x10softDeletePolicy\x12Y\n" +
	"\x10object_retention\x18! \x01(\v2).google.storage.v2.Bucket.ObjectRetentionB\x03\xe0A\x01R\x0fobjectRetention\x12I\n" +
	"\tip_filter\x18& \x01(\v2\".google.storage.v2.Bucket.IpFilterB\x03\xe0A\x01H\x00R\bipFilter\x88\x01\x01\x1a5\n" +
	"\aBilling\x12*\n" +
	"\x0erequester_pays\x18\x01 \x01(\bB\x03\xe0A\x01R\rrequesterPays\x1a\x9b\x01\n" +
	"\x04Cors\x12\x1b\n" +
	"\x06origin\x18\x01 \x03(\tB\x03\xe0A\x01R\x06origin\x12\x1b\n" +
	"\x06method\x18\x02 \x03(\tB\x03\xe0A\x01R\x06method\x12,\n" +
	"\x0fresponse_header\x18\x03 \x03(\tB\x03\xe0A\x01R\x0eresponseHeader\x12+\n" +
	"\x0fmax_age_seconds\x18\x04 \x01(\x05B\x03\xe0A\x01R\rmaxAgeSeconds\x1a\xa0\v\n" +
	"\n" +
	"Encryption\x12Q\n" +
	"\x0fdefault_kms_key\x18\x01 \x01(\tB)\xe0A\x01\xfaA#\n" +
	"!cloudkms.googleapis.com/CryptoKeyR\rdefaultKmsKey\x12\xb7\x01\n" +
	",google_managed_encryption_enforcement_config\x18\x02 \x01(\v2M.google.storage.v2.Bucket.Encryption.GoogleManagedEncryptionEnforcementConfigB\x03\xe0A\x01H\x00R(googleManagedEncryptionEnforcementConfig\x88\x01\x01\x12\xbd\x01\n" +
	".customer_managed_encryption_enforcement_config\x18\x03 \x01(\v2O.google.storage.v2.Bucket.Encryption.CustomerManagedEncryptionEnforcementConfigB\x03\xe0A\x01H\x01R*customerManagedEncryptionEnforcementConfig\x88\x01\x01\x12\xc0\x01\n" +
	"/customer_supplied_encryption_enforcement_config\x18\x04 \x01(\v2P.google.storage.v2.Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfigB\x03\xe0A\x01H\x02R+customerSuppliedEncryptionEnforcementConfig\x88\x01\x01\x1a\xca\x01\n" +
	"(GoogleManagedEncryptionEnforcementConfig\x12.\n" +
	"\x10restriction_mode\x18\x03 \x01(\tH\x00R\x0frestrictionMode\x88\x01\x01\x12F\n" +
	"\x0eeffective_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampH\x01R\reffectiveTime\x88\x01\x01B\x13\n" +
	"\x11_restriction_modeB\x11\n" +
	"\x0f_effective_time\x1a\xcc\x01\n" +
	"*CustomerManagedEncryptionEnforcementConfig\x12.\n" +
	"\x10restriction_mode\x18\x03 \x01(\tH\x00R\x0frestrictionMode\x88\x01\x01\x12F\n" +
	"\x0eeffective_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampH\x01R\reffectiveTime\x88\x01\x01B\x13\n" +
	"\x11_restriction_modeB\x11\n" +
	"\x0f_effective_time\x1a\xcd\x01\n" +
	"+CustomerSuppliedEncryptionEnforcementConfig\x12.\n" +
	"\x10restriction_mode\x18\x03 \x01(\tH\x00R\x0frestrictionMode\x88\x01\x01\x12F\n" +
	"\x0eeffective_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampH\x01R\reffectiveTime\x88\x01\x01B\x13\n" +
	"\x11_restriction_modeB\x11\n" +
	"\x0f_effective_timeB/\n" +
	"-_google_managed_encryption_enforcement_configB1\n" +
	"/_customer_managed_encryption_enforcement_configB2\n" +
	"0_customer_supplied_encryption_enforcement_config\x1a\xc6\x02\n" +
	"\tIamConfig\x12\x80\x01\n" +
	"\x1buniform_bucket_level_access\x18\x01 \x01(\v2<.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccessB\x03\xe0A\x01R\x18uniformBucketLevelAccess\x12=\n" +
	"\x18public_access_prevention\x18\x03 \x01(\tB\x03\xe0A\x01R\x16publicAccessPrevention\x1aw\n" +
	"\x18UniformBucketLevelAccess\x12\x1d\n" +
	"\aenabled\x18\x01 \x01(\bB\x03\xe0A\x01R\aenabled\x12<\n" +
	"\tlock_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x01R\blockTime\x1a\x92\b\n" +
	"\tLifecycle\x12A\n" +
	"\x04rule\x18\x01 \x03(\v2(.google.storage.v2.Bucket.Lifecycle.RuleB\x03\xe0A\x01R\x04rule\x1a\xc1\a\n" +
	"\x04Rule\x12L\n" +
	"\x06action\x18\x01 \x01(\v2/.google.storage.v2.Bucket.Lifecycle.Rule.ActionB\x03\xe0A\x01R\x06action\x12U\n" +
	"\tcondition\x18\x02 \x01(\v22.google.storage.v2.Bucket.Lifecycle.Rule.ConditionB\x03\xe0A\x01R\tcondition\x1aK\n" +
	"\x06Action\x12\x17\n" +
	"\x04type\x18\x01 \x01(\tB\x03\xe0A\x01R\x04type\x12(\n" +
	"\rstorage_class\x18\x02 \x01(\tB\x03\xe0A\x01R\fstorageClass\x1a\xc6\x05\n" +
	"\tCondition\x12\x1e\n" +
	"\bage_days\x18\x01 \x01(\x05H\x00R\aageDays\x88\x01\x01\x12=\n" +
	"\x0ecreated_before\x18\x02 \x01(\v2\x11.google.type.DateB\x03\xe0A\x01R\rcreatedBefore\x12\x1c\n" +
	"\ais_live\x18\x03 \x01(\bH\x01R\x06isLive\x88\x01\x01\x121\n" +
	"\x12num_newer_versions\x18\x04 \x01(\x05H\x02R\x10numNewerVersions\x88\x01\x01\x127\n" +
	"\x15matches_storage_class\x18\x05 \x03(\tB\x03\xe0A\x01R\x13matchesStorageClass\x128\n" +
	"\x16days_since_custom_time\x18\a \x01(\x05H\x03R\x13daysSinceCustomTime\x88\x01\x01\x12D\n" +
	"\x12custom_time_before\x18\b \x01(\v2\x11.google.type.DateB\x03\xe0A\x01R\x10customTimeBefore\x12@\n" +
	"\x1adays_since_noncurrent_time\x18\t \x01(\x05H\x04R\x17daysSinceNoncurrentTime\x88\x01\x01\x12L\n" +
	"\x16noncurrent_time_before\x18\n" +
	" \x01(\v2\x11.google.type.DateB\x03\xe0A\x01R\x14noncurrentTimeBefore\x12*\n" +
	"\x0ematches_prefix\x18\v \x03(\tB\x03\xe0A\x01R\rmatchesPrefix\x12*\n" +
	"\x0ematches_suffix\x18\f \x03(\tB\x03\xe0A\x01R\rmatchesSuffixB\v\n" +
	"\t_age_daysB\n" +
	"\n" +
	"\b_is_liveB\x15\n" +
	"\x13_num_newer_versionsB\x19\n" +
	"\x17_days_since_custom_timeB\x1d\n" +
	"\x1b_days_since_noncurrent_time\x1a^\n" +
	"\aLogging\x12\"\n" +
	"\n" +
	"log_bucket\x18\x01 \x01(\tB\x03\xe0A\x01R\tlogBucket\x12/\n" +
	"\x11log_object_prefix\x18\x02 \x01(\tB\x03\xe0A\x01R\x0flogObjectPrefix\x1a3\n" +
	"\x0fObjectRetention\x12 \n" +
	"\aenabled\x18\x01 \x01(\bB\x06\xe0A\x01\xe0A\x03R\aenabled\x1a\xca\x01\n" +
	"\x0fRetentionPolicy\x12F\n" +
	"\x0eeffective_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x01R\reffectiveTime\x12 \n" +
	"\tis_locked\x18\x02 \x01(\bB\x03\xe0A\x01R\bisLocked\x12M\n" +
	"\x12retention_duration\x18\x04 \x01(\v2\x19.google.protobuf.DurationB\x03\xe0A\x01R\x11retentionDuration\x1a\xd3\x01\n" +
	"\x10SoftDeletePolicy\x12M\n" +
	"\x12retention_duration\x18\x01 \x01(\v2\x19.google.protobuf.DurationH\x00R\x11retentionDuration\x88\x01\x01\x12F\n" +
	"\x0eeffective_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampH\x01R\reffectiveTime\x88\x01\x01B\x15\n" +
	"\x13_retention_durationB\x11\n" +
	"\x0f_effective_time\x1a+\n" +
	"\n" +
	"Versioning\x12\x1d\n" +
	"\aenabled\x18\x01 \x01(\bB\x03\xe0A\x01R\aenabled\x1ac\n" +
	"\aWebsite\x12-\n" +
	"\x10main_page_suffix\x18\x01 \x01(\tB\x03\xe0A\x01R\x0emainPageSuffix\x12)\n" +
	"\x0enot_found_page\x18\x02 \x01(\tB\x03\xe0A\x01R\fnotFoundPage\x1aC\n" +
	"\x15CustomPlacementConfig\x12*\n" +
	"\x0edata_locations\x18\x01 \x03(\tB\x03\xe0A\x01R\rdataLocations\x1a\xdb\x02\n" +
	"\tAutoclass\x12\x1d\n" +
	"\aenabled\x18\x01 \x01(\bB\x03\xe0A\x01R\aenabled\x12@\n" +
	"\vtoggle_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"toggleTime\x129\n" +
	"\x16terminal_storage_class\x18\x03 \x01(\tH\x00R\x14terminalStorageClass\x88\x01\x01\x12p\n" +
	"\"terminal_storage_class_update_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03H\x01R\x1eterminalStorageClassUpdateTime\x88\x01\x01B\x19\n" +
	"\x17_terminal_storage_classB%\n" +
	"#_terminal_storage_class_update_time\x1a\x8d\x05\n" +
	"\bIpFilter\x12\x17\n" +
	"\x04mode\x18\x01 \x01(\tH\x00R\x04mode\x88\x01\x01\x12o\n" +
	"\x15public_network_source\x18\x02 \x01(\v26.google.storage.v2.Bucket.IpFilter.PublicNetworkSourceH\x01R\x13publicNetworkSource\x88\x01\x01\x12h\n" +
	"\x13vpc_network_sources\x18\x03 \x03(\v23.google.storage.v2.Bucket.IpFilter.VpcNetworkSourceB\x03\xe0A\x01R\x11vpcNetworkSources\x124\n" +
	"\x14allow_cross_org_vpcs\x18\x04 \x01(\bB\x03\xe0A\x01R\x11allowCrossOrgVpcs\x12G\n" +
	"\x1eallow_all_service_agent_access\x18\x05 \x01(\bH\x02R\x1aallowAllServiceAgentAccess\x88\x01\x01\x1aO\n" +
	"\x13PublicNetworkSource\x128\n" +
	"\x16allowed_ip_cidr_ranges\x18\x01 \x03(\tB\x03\xe0A\x01R\x13allowedIpCidrRanges\x1aw\n" +
	"\x10VpcNetworkSource\x12\x1d\n" +
	"\anetwork\x18\x01 \x01(\tH\x00R\anetwork\x88\x01\x01\x128\n" +
	"\x16allowed_ip_cidr_ranges\x18\x02 \x03(\tB\x03\xe0A\x01R\x13allowedIpCidrRangesB\n" +
	"\n" +
	"\b_networkB\a\n" +
	"\x05_modeB\x18\n" +
	"\x16_public_network_sourceB!\n" +
	"\x1f_allow_all_service_agent_access\x1a6\n" +
	"\x15HierarchicalNamespace\x12\x1d\n" +
	"\aenabled\x18\x01 \x01(\bB\x03\xe0A\x01R\aenabled\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01:X\xeaAU\n" +
	"\x1dstorage.googleapis.com/Bucket\x12#projects/{project}/buckets/{bucket}*\abuckets2\x06bucketB\f\n" +
	"\n" +
	"_ip_filter\"\xbf\x02\n" +
	"\x13BucketAccessControl\x12\x17\n" +
	"\x04role\x18\x01 \x01(\tB\x03\xe0A\x01R\x04role\x12\x13\n" +
	"\x02id\x18\x02 \x01(\tB\x03\xe0A\x01R\x02id\x12\x1b\n" +
	"\x06entity\x18\x03 \x01(\tB\x03\xe0A\x01R\x06entity\x12\"\n" +
	"\n" +
	"entity_alt\x18\t \x01(\tB\x03\xe0A\x03R\tentityAlt\x12 \n" +
	"\tentity_id\x18\x04 \x01(\tB\x03\xe0A\x01R\bentityId\x12\x17\n" +
	"\x04etag\x18\b \x01(\tB\x03\xe0A\x01R\x04etag\x12\x19\n" +
	"\x05email\x18\x05 \x01(\tB\x03\xe0A\x01R\x05email\x12\x1b\n" +
	"\x06domain\x18\x06 \x01(\tB\x03\xe0A\x01R\x06domain\x12F\n" +
	"\fproject_team\x18\a \x01(\v2\x1e.google.storage.v2.ProjectTeamB\x03\xe0A\x01R\vprojectTeam\"Z\n" +
	"\x0fChecksummedData\x12\x1f\n" +
	"\acontent\x18\x01 \x01(\fB\x05\xe0A\x01\b\x01R\acontent\x12\x1b\n" +
	"\x06crc32c\x18\x02 \x01(\aH\x00R\x06crc32c\x88\x01\x01B\t\n" +
	"\a_crc32c\"Y\n" +
	"\x0fObjectChecksums\x12\x1b\n" +
	"\x06crc32c\x18\x01 \x01(\aH\x00R\x06crc32c\x88\x01\x01\x12\x1e\n" +
	"\bmd5_hash\x18\x02 \x01(\fB\x03\xe0A\x01R\amd5HashB\t\n" +
	"\a_crc32c\"\xbb\x01\n" +
	"\x1aObjectCustomContextPayload\x12\x19\n" +
	"\x05value\x18\x01 \x01(\tB\x03\xe0A\x02R\x05value\x12@\n" +
	"\vcreate_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12@\n" +
	"\vupdate_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"updateTime\"\xc6\x01\n" +
	"\x0eObjectContexts\x12J\n" +
	"\x06custom\x18\x01 \x03(\v2-.google.storage.v2.ObjectContexts.CustomEntryB\x03\xe0A\x01R\x06custom\x1ah\n" +
	"\vCustomEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12C\n" +
	"\x05value\x18\x02 \x01(\v2-.google.storage.v2.ObjectCustomContextPayloadR\x05value:\x028\x01\"{\n" +
	"\x12CustomerEncryption\x126\n" +
	"\x14encryption_algorithm\x18\x01 \x01(\tB\x03\xe0A\x01R\x13encryptionAlgorithm\x12-\n" +
	"\x10key_sha256_bytes\x18\x03 \x01(\fB\x03\xe0A\x01R\x0ekeySha256Bytes\"\xe3\x11\n" +
	"\x06Object\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\x05R\x04name\x12=\n" +
	"\x06bucket\x18\x02 \x01(\tB%\xe0A\x05\xfaA\x1f\n" +
	"\x1dstorage.googleapis.com/BucketR\x06bucket\x12\x17\n" +
	"\x04etag\x18\x1b \x01(\tB\x03\xe0A\x01R\x04etag\x12#\n" +
	"\n" +
	"generation\x18\x03 \x01(\x03B\x03\xe0A\x05R\n" +
	"generation\x12-\n" +
	"\rrestore_token\x18# \x01(\tB\x03\xe0A\x03H\x00R\frestoreToken\x88\x01\x01\x12+\n" +
	"\x0emetageneration\x18\x04 \x01(\x03B\x03\xe0A\x03R\x0emetageneration\x12(\n" +
	"\rstorage_class\x18\x05 \x01(\tB\x03\xe0A\x01R\fstorageClass\x12\x17\n" +
	"\x04size\x18\x06 \x01(\x03B\x03\xe0A\x03R\x04size\x12.\n" +
	"\x10content_encoding\x18\a \x01(\tB\x03\xe0A\x01R\x0fcontentEncoding\x124\n" +
	"\x13content_disposition\x18\b \x01(\tB\x03\xe0A\x01R\x12contentDisposition\x12(\n" +
	"\rcache_control\x18\t \x01(\tB\x03\xe0A\x01R\fcacheControl\x12=\n" +
	"\x03acl\x18\n" +
	" \x03(\v2&.google.storage.v2.ObjectAccessControlB\x03\xe0A\x01R\x03acl\x12.\n" +
	"\x10content_language\x18\v \x01(\tB\x03\xe0A\x01R\x0fcontentLanguage\x12@\n" +
	"\vdelete_time\x18\f \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"deleteTime\x12D\n" +
	"\rfinalize_time\x18$ \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\ffinalizeTime\x12&\n" +
	"\fcontent_type\x18\r \x01(\tB\x03\xe0A\x01R\vcontentType\x12@\n" +
	"\vcreate_time\x18\x0e \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12,\n" +
	"\x0fcomponent_count\x18\x0f \x01(\x05B\x03\xe0A\x03R\x0ecomponentCount\x12E\n" +
	"\tchecksums\x18\x10 \x01(\v2\".google.storage.v2.ObjectChecksumsB\x03\xe0A\x03R\tchecksums\x12@\n" +
	"\vupdate_time\x18\x11 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"updateTime\x12B\n" +
	"\akms_key\x18\x12 \x01(\tB)\xe0A\x01\xfaA#\n" +
	"!cloudkms.googleapis.com/CryptoKeyR\x06kmsKey\x12Z\n" +
	"\x19update_storage_class_time\x18\x13 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\x16updateStorageClassTime\x12*\n" +
	"\x0etemporary_hold\x18\x14 \x01(\bB\x03\xe0A\x01R\rtemporaryHold\x12S\n" +
	"\x15retention_expire_time\x18\x15 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x01R\x13retentionExpireTime\x12H\n" +
	"\bmetadata\x18\x16 \x03(\v2'.google.storage.v2.Object.MetadataEntryB\x03\xe0A\x01R\bmetadata\x12B\n" +
	"\bcontexts\x18& \x01(\v2!.google.storage.v2.ObjectContextsB\x03\xe0A\x01R\bcontexts\x12-\n" +
	"\x10event_based_hold\x18\x17 \x01(\bH\x01R\x0eeventBasedHold\x88\x01\x01\x123\n" +
	"\x05owner\x18\x18 \x01(\v2\x18.google.storage.v2.OwnerB\x03\xe0A\x03R\x05owner\x12[\n" +
	"\x13customer_encryption\x18\x19 \x01(\v2%.google.storage.v2.CustomerEncryptionB\x03\xe0A\x01R\x12customerEncryption\x12@\n" +
	"\vcustom_time\x18\x1a \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x01R\n" +
	"customTime\x12N\n" +
	"\x10soft_delete_time\x18\x1c \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03H\x02R\x0esoftDeleteTime\x88\x01\x01\x12N\n" +
	"\x10hard_delete_time\x18\x1d \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03H\x03R\x0ehardDeleteTime\x88\x01\x01\x12F\n" +
	"\tretention\x18\x1e \x01(\v2#.google.storage.v2.Object.RetentionB\x03\xe0A\x01R\tretention\x1a\xd3\x01\n" +
	"\tRetention\x12A\n" +
	"\x04mode\x18\x01 \x01(\x0e2(.google.storage.v2.Object.Retention.ModeB\x03\xe0A\x01R\x04mode\x12K\n" +
	"\x11retain_until_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x01R\x0fretainUntilTime\"6\n" +
	"\x04Mode\x12\x14\n" +
	"\x10MODE_UNSPECIFIED\x10\x00\x12\f\n" +
	"\bUNLOCKED\x10\x01\x12\n" +
	"\n" +
	"\x06LOCKED\x10\x02\x1a;\n" +
	"\rMetadataEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\x10\n" +
	"\x0e_restore_tokenB\x13\n" +
	"\x11_event_based_holdB\x13\n" +
	"\x11_soft_delete_timeB\x13\n" +
	"\x11_hard_delete_time\"\xbf\x02\n" +
	"\x13ObjectAccessControl\x12\x17\n" +
	"\x04role\x18\x01 \x01(\tB\x03\xe0A\x01R\x04role\x12\x13\n" +
	"\x02id\x18\x02 \x01(\tB\x03\xe0A\x01R\x02id\x12\x1b\n" +
	"\x06entity\x18\x03 \x01(\tB\x03\xe0A\x01R\x06entity\x12\"\n" +
	"\n" +
	"entity_alt\x18\t \x01(\tB\x03\xe0A\x03R\tentityAlt\x12 \n" +
	"\tentity_id\x18\x04 \x01(\tB\x03\xe0A\x01R\bentityId\x12\x17\n" +
	"\x04etag\x18\b \x01(\tB\x03\xe0A\x01R\x04etag\x12\x19\n" +
	"\x05email\x18\x05 \x01(\tB\x03\xe0A\x01R\x05email\x12\x1b\n" +
	"\x06domain\x18\x06 \x01(\tB\x03\xe0A\x01R\x06domain\x12F\n" +
	"\fproject_team\x18\a \x01(\v2\x1e.google.storage.v2.ProjectTeamB\x03\xe0A\x01R\vprojectTeam\"\x8e\x01\n" +
	"\x13ListObjectsResponse\x123\n" +
	"\aobjects\x18\x01 \x03(\v2\x19.google.storage.v2.ObjectR\aobjects\x12\x1a\n" +
	"\bprefixes\x18\x02 \x03(\tR\bprefixes\x12&\n" +
	"\x0fnext_page_token\x18\x03 \x01(\tR\rnextPageToken\"R\n" +
	"\vProjectTeam\x12*\n" +
	"\x0eproject_number\x18\x01 \x01(\tB\x03\xe0A\x01R\rprojectNumber\x12\x17\n" +
	"\x04team\x18\x02 \x01(\tB\x03\xe0A\x01R\x04team\"F\n" +
	"\x05Owner\x12\x1b\n" +
	"\x06entity\x18\x01 \x01(\tB\x03\xe0A\x01R\x06entity\x12 \n" +
	"\tentity_id\x18\x02 \x01(\tB\x03\xe0A\x01R\bentityId\"_\n" +
	"\fContentRange\x12\x14\n" +
	"\x05start\x18\x01 \x01(\x03R\x05start\x12\x10\n" +
	"\x03end\x18\x02 \x01(\x03R\x03end\x12'\n" +
	"\x0fcomplete_length\x18\x03 \x01(\x03R\x0ecompleteLength2\x9f\x1f\n" +
	"\aStorage\x12r\n" +
	"\fDeleteBucket\x12&.google.storage.v2.DeleteBucketRequest\x1a\x16.google.protobuf.Empty\"\"\xdaA\x04name\x8a\xd3\xe4\x93\x02\x15\x12\x13\n" +
	"\x04name\x12\v{bucket=**}\x12o\n" +
	"\tGetBucket\x12#.google.storage.v2.GetBucketRequest\x1a\x19.google.storage.v2.Bucket\"\"\xdaA\x04name\x8a\xd3\xe4\x93\x02\x15\x12\x13\n" +
	"\x04name\x12\v{bucket=**}\x12\xab\x01\n" +
	"\fCreateBucket\x12&.google.storage.v2.CreateBucketRequest\x1a\x19.google.storage.v2.Bucket\"X\xdaA\x17parent,bucket,bucket_id\x8a\xd3\xe4\x93\x028\x12\x16\n" +
	"\x06parent\x12\f{project=**}\x12\x1e\n" +
	"\x0ebucket.project\x12\f{project=**}\x12\x85\x01\n" +
	"\vListBuckets\x12%.google.storage.v2.ListBucketsRequest\x1a&.google.storage.v2.ListBucketsResponse\"'\xdaA\x06parent\x8a\xd3\xe4\x93\x02\x18\x12\x16\n" +
	"\x06parent\x12\f{project=**}\x12\x93\x01\n" +
	"\x19LockBucketRetentionPolicy\x123.google.storage.v2.LockBucketRetentionPolicyRequest\x1a\x19.google.storage.v2.Bucket\"&\xdaA\x06bucket\x8a\xd3\xe4\x93\x02\x17\x12\x15\n" +
	"\x06bucket\x12\v{bucket=**}\x12\xa3\x01\n" +
	"\fGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"X\xdaA\bresource\x8a\xd3\xe4\x93\x02G\x12\x17\n" +
	"\bresource\x12\v{bucket=**}\x12,\n" +
	"\bresource\x12 {bucket=projects/*/buckets/*}/**\x12\xaa\x01\n" +
	"\fSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"_\xdaA\x0fresource,policy\x8a\xd3\xe4\x93\x02G\x12\x17\n" +
	"\bresource\x12\v{bucket=**}\x12,\n" +
	"\bresource\x12 {bucket=projects/*/buckets/*}/**\x12\x96\x02\n" +
	"\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xaa\x01\xdaA\x14resource,permissions\x8a\xd3\xe4\x93\x02\x8c\x01\x12\x17\n" +
	"\bresource\x12\v{bucket=**}\x124\n" +
	"\bresource\x12({bucket=projects/*/buckets/*}/objects/**\x12;\n" +
	"\bresource\x12/{bucket=projects/*/buckets/*}/managedFolders/**\x12\x8a\x01\n" +
	"\fUpdateBucket\x12&.google.storage.v2.UpdateBucketRequest\x1a\x19.google.storage.v2.Bucket\"7\xdaA\x12bucket,update_mask\x8a\xd3\xe4\x93\x02\x1c\x12\x1a\n" +
	"\vbucket.name\x12\v{bucket=**}\x12~\n" +
	"\rComposeObject\x12'.google.storage.v2.ComposeObjectRequest\x1a\x19.google.storage.v2.Object\")\x8a\xd3\xe4\x93\x02#\x12!\n" +
	"\x12destination.bucket\x12\v{bucket=**}\x12\x98\x01\n" +
	"\fDeleteObject\x12&.google.storage.v2.DeleteObjectRequest\x1a\x16.google.protobuf.Empty\"H\xdaA\rbucket,object\xdaA\x18bucket,object,generation\x8a\xd3\xe4\x93\x02\x17\x12\x15\n" +
	"\x06bucket\x12\v{bucket=**}\x12\x8d\x01\n" +
	"\rRestoreObject\x12'.google.storage.v2.RestoreObjectRequest\x1a\x19.google.storage.v2.Object\"8\xdaA\x18bucket,object,generation\x8a\xd3\xe4\x93\x02\x17\x12\x15\n" +
	"\x06bucket\x12\v{bucket=**}\x12\xba\x01\n" +
	"\x14CancelResumableWrite\x12..google.storage.v2.CancelResumableWriteRequest\x1a/.google.storage.v2.CancelResumableWriteResponse\"A\xdaA\tupload_id\x8a\xd3\xe4\x93\x02/\x12-\n" +
	"\tupload_id\x12 {bucket=projects/*/buckets/*}/**\x12\x95\x01\n" +
	"\tGetObject\x12#.google.storage.v2.GetObjectRequest\x1a\x19.google.storage.v2.Object\"H\xdaA\rbucket,object\xdaA\x18bucket,object,generation\x8a\xd3\xe4\x93\x02\x17\x12\x15\n" +
	"\x06bucket\x12\v{bucket=**}\x12\xa5\x01\n" +
	"\n" +
	"ReadObject\x12$.google.storage.v2.ReadObjectRequest\x1a%.google.storage.v2.ReadObjectResponse\"H\xdaA\rbucket,object\xdaA\x18bucket,object,generation\x8a\xd3\xe4\x93\x02\x17\x12\x15\n" +
	"\x06bucket\x12\v{bucket=**}0\x01\x12\x99\x01\n" +
	"\x0eBidiReadObject\x12(.google.storage.v2.BidiReadObjectRequest\x1a).google.storage.v2.BidiReadObjectResponse\".\x8a\xd3\xe4\x93\x02(\x12&\n" +
	"\x17read_object_spec.bucket\x12\v{bucket=**}(\x010\x01\x12\x8c\x01\n" +
	"\fUpdateObject\x12&.google.storage.v2.UpdateObjectRequest\x1a\x19.google.storage.v2.Object\"9\xdaA\x12object,update_mask\x8a\xd3\xe4\x93\x02\x1e\x12\x1c\n" +
	"\robject.bucket\x12\v{bucket=**}\x12`\n" +
	"\vWriteObject\x12%.google.storage.v2.WriteObjectRequest\x1a&.google.storage.v2.WriteObjectResponse\"\x00(\x01\x12n\n" +
	"\x0fBidiWriteObject\x12).google.storage.v2.BidiWriteObjectRequest\x1a*.google.storage.v2.BidiWriteObjectResponse\"\x00(\x010\x01\x12\x84\x01\n" +
	"\vListObjects\x12%.google.storage.v2.ListObjectsRequest\x1a&.google.storage.v2.ListObjectsResponse\"&\xdaA\x06parent\x8a\xd3\xe4\x93\x02\x17\x12\x15\n" +
	"\x06parent\x12\v{bucket=**}\x12\x98\x01\n" +
	"\rRewriteObject\x12'.google.storage.v2.RewriteObjectRequest\x1a\".google.storage.v2.RewriteResponse\":\x8a\xd3\xe4\x93\x024\x12\x0f\n" +
	"\rsource_bucket\x12!\n" +
	"\x12destination_bucket\x12\v{bucket=**}\x12\xae\x01\n" +
	"\x13StartResumableWrite\x12-.google.storage.v2.StartResumableWriteRequest\x1a..google.storage.v2.StartResumableWriteResponse\"8\x8a\xd3\xe4\x93\x022\x120\n" +
	"!write_object_spec.resource.bucket\x12\v{bucket=**}\x12\xae\x01\n" +
	"\x10QueryWriteStatus\x12*.google.storage.v2.QueryWriteStatusRequest\x1a+.google.storage.v2.QueryWriteStatusResponse\"A\xdaA\tupload_id\x8a\xd3\xe4\x93\x02/\x12-\n" +
	"\tupload_id\x12 {bucket=projects/*/buckets/*}/**\x12\x96\x01\n" +
	"\n" +
	"MoveObject\x12$.google.storage.v2.MoveObjectRequest\x1a\x19.google.storage.v2.Object\"G\xdaA'bucket,source_object,destination_object\x8a\xd3\xe4\x93\x02\x17\x12\x15\n" +
	"\x06bucket\x12\v{bucket=**}\x1a\xa7\x02\xcaA\x16storage.googleapis.com\xd2A\x8a\x02https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-only,https://www.googleapis.com/auth/devstorage.full_control,https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/devstorage.read_writeB\xe2\x01\xeaAx\n" +
	"!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\n" +
	"\x15com.google.storage.v2B\fStorageProtoP\x01Z>cloud.google.com/go/storage/internal/apiv2/storagepb;storagepbb\x06proto3"

var (
	file_google_storage_v2_storage_proto_rawDescOnce sync.Once
	file_google_storage_v2_storage_proto_rawDescData []byte
)

func file_google_storage_v2_storage_proto_rawDescGZIP() []byte {
	file_google_storage_v2_storage_proto_rawDescOnce.Do(func() {
		file_google_storage_v2_storage_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_storage_v2_storage_proto_rawDesc), len(file_google_storage_v2_storage_proto_rawDesc)))
	})
	return file_google_storage_v2_storage_proto_rawDescData
}

var file_google_storage_v2_storage_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_google_storage_v2_storage_proto_msgTypes = make([]protoimpl.MessageInfo, 86)
var file_google_storage_v2_storage_proto_goTypes = []any{
	(ServiceConstants_Values)(0),                                  // 0: google.storage.v2.ServiceConstants.Values
	(Object_Retention_Mode)(0),                                    // 1: google.storage.v2.Object.Retention.Mode
	(*DeleteBucketRequest)(nil),                                   // 2: google.storage.v2.DeleteBucketRequest
	(*GetBucketRequest)(nil),                                      // 3: google.storage.v2.GetBucketRequest
	(*CreateBucketRequest)(nil),                                   // 4: google.storage.v2.CreateBucketRequest
	(*ListBucketsRequest)(nil),                                    // 5: google.storage.v2.ListBucketsRequest
	(*ListBucketsResponse)(nil),                                   // 6: google.storage.v2.ListBucketsResponse
	(*LockBucketRetentionPolicyRequest)(nil),                      // 7: google.storage.v2.LockBucketRetentionPolicyRequest
	(*UpdateBucketRequest)(nil),                                   // 8: google.storage.v2.UpdateBucketRequest
	(*ComposeObjectRequest)(nil),                                  // 9: google.storage.v2.ComposeObjectRequest
	(*DeleteObjectRequest)(nil),                                   // 10: google.storage.v2.DeleteObjectRequest
	(*RestoreObjectRequest)(nil),                                  // 11: google.storage.v2.RestoreObjectRequest
	(*CancelResumableWriteRequest)(nil),                           // 12: google.storage.v2.CancelResumableWriteRequest
	(*CancelResumableWriteResponse)(nil),                          // 13: google.storage.v2.CancelResumableWriteResponse
	(*ReadObjectRequest)(nil),                                     // 14: google.storage.v2.ReadObjectRequest
	(*GetObjectRequest)(nil),                                      // 15: google.storage.v2.GetObjectRequest
	(*ReadObjectResponse)(nil),                                    // 16: google.storage.v2.ReadObjectResponse
	(*BidiReadObjectSpec)(nil),                                    // 17: google.storage.v2.BidiReadObjectSpec
	(*BidiReadObjectRequest)(nil),                                 // 18: google.storage.v2.BidiReadObjectRequest
	(*BidiReadObjectResponse)(nil),                                // 19: google.storage.v2.BidiReadObjectResponse
	(*BidiReadObjectRedirectedError)(nil),                         // 20: google.storage.v2.BidiReadObjectRedirectedError
	(*BidiWriteObjectRedirectedError)(nil),                        // 21: google.storage.v2.BidiWriteObjectRedirectedError
	(*BidiReadObjectError)(nil),                                   // 22: google.storage.v2.BidiReadObjectError
	(*ReadRangeError)(nil),                                        // 23: google.storage.v2.ReadRangeError
	(*ReadRange)(nil),                                             // 24: google.storage.v2.ReadRange
	(*ObjectRangeData)(nil),                                       // 25: google.storage.v2.ObjectRangeData
	(*BidiReadHandle)(nil),                                        // 26: google.storage.v2.BidiReadHandle
	(*BidiWriteHandle)(nil),                                       // 27: google.storage.v2.BidiWriteHandle
	(*WriteObjectSpec)(nil),                                       // 28: google.storage.v2.WriteObjectSpec
	(*WriteObjectRequest)(nil),                                    // 29: google.storage.v2.WriteObjectRequest
	(*WriteObjectResponse)(nil),                                   // 30: google.storage.v2.WriteObjectResponse
	(*AppendObjectSpec)(nil),                                      // 31: google.storage.v2.AppendObjectSpec
	(*BidiWriteObjectRequest)(nil),                                // 32: google.storage.v2.BidiWriteObjectRequest
	(*BidiWriteObjectResponse)(nil),                               // 33: google.storage.v2.BidiWriteObjectResponse
	(*ListObjectsRequest)(nil),                                    // 34: google.storage.v2.ListObjectsRequest
	(*QueryWriteStatusRequest)(nil),                               // 35: google.storage.v2.QueryWriteStatusRequest
	(*QueryWriteStatusResponse)(nil),                              // 36: google.storage.v2.QueryWriteStatusResponse
	(*RewriteObjectRequest)(nil),                                  // 37: google.storage.v2.RewriteObjectRequest
	(*RewriteResponse)(nil),                                       // 38: google.storage.v2.RewriteResponse
	(*MoveObjectRequest)(nil),                                     // 39: google.storage.v2.MoveObjectRequest
	(*StartResumableWriteRequest)(nil),                            // 40: google.storage.v2.StartResumableWriteRequest
	(*StartResumableWriteResponse)(nil),                           // 41: google.storage.v2.StartResumableWriteResponse
	(*UpdateObjectRequest)(nil),                                   // 42: google.storage.v2.UpdateObjectRequest
	(*CommonObjectRequestParams)(nil),                             // 43: google.storage.v2.CommonObjectRequestParams
	(*ServiceConstants)(nil),                                      // 44: google.storage.v2.ServiceConstants
	(*Bucket)(nil),                                                // 45: google.storage.v2.Bucket
	(*BucketAccessControl)(nil),                                   // 46: google.storage.v2.BucketAccessControl
	(*ChecksummedData)(nil),                                       // 47: google.storage.v2.ChecksummedData
	(*ObjectChecksums)(nil),                                       // 48: google.storage.v2.ObjectChecksums
	(*ObjectCustomContextPayload)(nil),                            // 49: google.storage.v2.ObjectCustomContextPayload
	(*ObjectContexts)(nil),                                        // 50: google.storage.v2.ObjectContexts
	(*CustomerEncryption)(nil),                                    // 51: google.storage.v2.CustomerEncryption
	(*Object)(nil),                                                // 52: google.storage.v2.Object
	(*ObjectAccessControl)(nil),                                   // 53: google.storage.v2.ObjectAccessControl
	(*ListObjectsResponse)(nil),                                   // 54: google.storage.v2.ListObjectsResponse
	(*ProjectTeam)(nil),                                           // 55: google.storage.v2.ProjectTeam
	(*Owner)(nil),                                                 // 56: google.storage.v2.Owner
	(*ContentRange)(nil),                                          // 57: google.storage.v2.ContentRange
	(*ComposeObjectRequest_SourceObject)(nil),                     // 58: google.storage.v2.ComposeObjectRequest.SourceObject
	(*ComposeObjectRequest_SourceObject_ObjectPreconditions)(nil), // 59: google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions
	(*Bucket_Billing)(nil),                                        // 60: google.storage.v2.Bucket.Billing
	(*Bucket_Cors)(nil),                                           // 61: google.storage.v2.Bucket.Cors
	(*Bucket_Encryption)(nil),                                     // 62: google.storage.v2.Bucket.Encryption
	(*Bucket_IamConfig)(nil),                                      // 63: google.storage.v2.Bucket.IamConfig
	(*Bucket_Lifecycle)(nil),                                      // 64: google.storage.v2.Bucket.Lifecycle
	(*Bucket_Logging)(nil),                                        // 65: google.storage.v2.Bucket.Logging
	(*Bucket_ObjectRetention)(nil),                                // 66: google.storage.v2.Bucket.ObjectRetention
	(*Bucket_RetentionPolicy)(nil),                                // 67: google.storage.v2.Bucket.RetentionPolicy
	(*Bucket_SoftDeletePolicy)(nil),                               // 68: google.storage.v2.Bucket.SoftDeletePolicy
	(*Bucket_Versioning)(nil),                                     // 69: google.storage.v2.Bucket.Versioning
	(*Bucket_Website)(nil),                                        // 70: google.storage.v2.Bucket.Website
	(*Bucket_CustomPlacementConfig)(nil),                          // 71: google.storage.v2.Bucket.CustomPlacementConfig
	(*Bucket_Autoclass)(nil),                                      // 72: google.storage.v2.Bucket.Autoclass
	(*Bucket_IpFilter)(nil),                                       // 73: google.storage.v2.Bucket.IpFilter
	(*Bucket_HierarchicalNamespace)(nil),                          // 74: google.storage.v2.Bucket.HierarchicalNamespace
	nil,                                                           // 75: google.storage.v2.Bucket.LabelsEntry
	(*Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig)(nil),    // 76: google.storage.v2.Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig
	(*Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig)(nil),  // 77: google.storage.v2.Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig
	(*Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig)(nil), // 78: google.storage.v2.Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig
	(*Bucket_IamConfig_UniformBucketLevelAccess)(nil),                     // 79: google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess
	(*Bucket_Lifecycle_Rule)(nil),                                         // 80: google.storage.v2.Bucket.Lifecycle.Rule
	(*Bucket_Lifecycle_Rule_Action)(nil),                                  // 81: google.storage.v2.Bucket.Lifecycle.Rule.Action
	(*Bucket_Lifecycle_Rule_Condition)(nil),                               // 82: google.storage.v2.Bucket.Lifecycle.Rule.Condition
	(*Bucket_IpFilter_PublicNetworkSource)(nil),                           // 83: google.storage.v2.Bucket.IpFilter.PublicNetworkSource
	(*Bucket_IpFilter_VpcNetworkSource)(nil),                              // 84: google.storage.v2.Bucket.IpFilter.VpcNetworkSource
	nil,                                                                   // 85: google.storage.v2.ObjectContexts.CustomEntry
	(*Object_Retention)(nil),                                              // 86: google.storage.v2.Object.Retention
	nil,                                                                   // 87: google.storage.v2.Object.MetadataEntry
	(*fieldmaskpb.FieldMask)(nil),                                         // 88: google.protobuf.FieldMask
	(*status.Status)(nil),                                                 // 89: google.rpc.Status
	(*timestamppb.Timestamp)(nil),                                         // 90: google.protobuf.Timestamp
	(*durationpb.Duration)(nil),                                           // 91: google.protobuf.Duration
	(*date.Date)(nil),                                                     // 92: google.type.Date
	(*iampb.GetIamPolicyRequest)(nil),                                     // 93: google.iam.v1.GetIamPolicyRequest
	(*iampb.SetIamPolicyRequest)(nil),                                     // 94: google.iam.v1.SetIamPolicyRequest
	(*iampb.TestIamPermissionsRequest)(nil),                               // 95: google.iam.v1.TestIamPermissionsRequest
	(*emptypb.Empty)(nil),                                                 // 96: google.protobuf.Empty
	(*iampb.Policy)(nil),                                                  // 97: google.iam.v1.Policy
	(*iampb.TestIamPermissionsResponse)(nil),                              // 98: google.iam.v1.TestIamPermissionsResponse
}
var file_google_storage_v2_storage_proto_depIdxs = []int32{
	88,  // 0: google.storage.v2.GetBucketRequest.read_mask:type_name -> google.protobuf.FieldMask
	45,  // 1: google.storage.v2.CreateBucketRequest.bucket:type_name -> google.storage.v2.Bucket
	88,  // 2: google.storage.v2.ListBucketsRequest.read_mask:type_name -> google.protobuf.FieldMask
	45,  // 3: google.storage.v2.ListBucketsResponse.buckets:type_name -> google.storage.v2.Bucket
	45,  // 4: google.storage.v2.UpdateBucketRequest.bucket:type_name -> google.storage.v2.Bucket
	88,  // 5: google.storage.v2.UpdateBucketRequest.update_mask:type_name -> google.protobuf.FieldMask
	52,  // 6: google.storage.v2.ComposeObjectRequest.destination:type_name -> google.storage.v2.Object
	58,  // 7: google.storage.v2.ComposeObjectRequest.source_objects:type_name -> google.storage.v2.ComposeObjectRequest.SourceObject
	43,  // 8: google.storage.v2.ComposeObjectRequest.common_object_request_params:type_name -> google.storage.v2.CommonObjectRequestParams
	48,  // 9: google.storage.v2.ComposeObjectRequest.object_checksums:type_name -> google.storage.v2.ObjectChecksums
	43,  // 10: google.storage.v2.DeleteObjectRequest.common_object_request_params:type_name -> google.storage.v2.CommonObjectRequestParams
	43,  // 11: google.storage.v2.RestoreObjectRequest.common_object_request_params:type_name -> google.storage.v2.CommonObjectRequestParams
	43,  // 12: google.storage.v2.ReadObjectRequest.common_object_request_params:type_name -> google.storage.v2.CommonObjectRequestParams
	88,  // 13: google.storage.v2.ReadObjectRequest.read_mask:type_name -> google.protobuf.FieldMask
	43,  // 14: google.storage.v2.GetObjectRequest.common_object_request_params:type_name -> google.storage.v2.CommonObjectRequestParams
	88,  // 15: google.storage.v2.GetObjectRequest.read_mask:type_name -> google.protobuf.FieldMask
	47,  // 16: google.storage.v2.ReadObjectResponse.checksummed_data:type_name -> google.storage.v2.ChecksummedData
	48,  // 17: google.storage.v2.ReadObjectResponse.object_checksums:type_name -> google.storage.v2.ObjectChecksums
	57,  // 18: google.storage.v2.ReadObjectResponse.content_range:type_name -> google.storage.v2.ContentRange
	52,  // 19: google.storage.v2.ReadObjectResponse.metadata:type_name -> google.storage.v2.Object
	43,  // 20: google.storage.v2.BidiReadObjectSpec.common_object_request_params:type_name -> google.storage.v2.CommonObjectRequestParams
	88,  // 21: google.storage.v2.BidiReadObjectSpec.read_mask:type_name -> google.protobuf.FieldMask
	26,  // 22: google.storage.v2.BidiReadObjectSpec.read_handle:type_name -> google.storage.v2.BidiReadHandle
	17,  // 23: google.storage.v2.BidiReadObjectRequest.read_object_spec:type_name -> google.storage.v2.BidiReadObjectSpec
	24,  // 24: google.storage.v2.BidiReadObjectRequest.read_ranges:type_name -> google.storage.v2.ReadRange
	25,  // 25: google.storage.v2.BidiReadObjectResponse.object_data_ranges:type_name -> google.storage.v2.ObjectRangeData
	52,  // 26: google.storage.v2.BidiReadObjectResponse.metadata:type_name -> google.storage.v2.Object
	26,  // 27: google.storage.v2.BidiReadObjectResponse.read_handle:type_name -> google.storage.v2.BidiReadHandle
	26,  // 28: google.storage.v2.BidiReadObjectRedirectedError.read_handle:type_name -> google.storage.v2.BidiReadHandle
	27,  // 29: google.storage.v2.BidiWriteObjectRedirectedError.write_handle:type_name -> google.storage.v2.BidiWriteHandle
	23,  // 30: google.storage.v2.BidiReadObjectError.read_range_errors:type_name -> google.storage.v2.ReadRangeError
	89,  // 31: google.storage.v2.ReadRangeError.status:type_name -> google.rpc.Status
	47,  // 32: google.storage.v2.ObjectRangeData.checksummed_data:type_name -> google.storage.v2.ChecksummedData
	24,  // 33: google.storage.v2.ObjectRangeData.read_range:type_name -> google.storage.v2.ReadRange
	52,  // 34: google.storage.v2.WriteObjectSpec.resource:type_name -> google.storage.v2.Object
	28,  // 35: google.storage.v2.WriteObjectRequest.write_object_spec:type_name -> google.storage.v2.WriteObjectSpec
	47,  // 36: google.storage.v2.WriteObjectRequest.checksummed_data:type_name -> google.storage.v2.ChecksummedData
	48,  // 37: google.storage.v2.WriteObjectRequest.object_checksums:type_name -> google.storage.v2.ObjectChecksums
	43,  // 38: google.storage.v2.WriteObjectRequest.common_object_request_params:type_name -> google.storage.v2.CommonObjectRequestParams
	52,  // 39: google.storage.v2.WriteObjectResponse.resource:type_name -> google.storage.v2.Object
	48,  // 40: google.storage.v2.WriteObjectResponse.persisted_data_checksums:type_name -> google.storage.v2.ObjectChecksums
	27,  // 41: google.storage.v2.AppendObjectSpec.write_handle:type_name -> google.storage.v2.BidiWriteHandle
	28,  // 42: google.storage.v2.BidiWriteObjectRequest.write_object_spec:type_name -> google.storage.v2.WriteObjectSpec
	31,  // 43: google.storage.v2.BidiWriteObjectRequest.append_object_spec:type_name -> google.storage.v2.AppendObjectSpec
	47,  // 44: google.storage.v2.BidiWriteObjectRequest.checksummed_data:type_name -> google.storage.v2.ChecksummedData
	48,  // 45: google.storage.v2.BidiWriteObjectRequest.object_checksums:type_name -> google.storage.v2.ObjectChecksums
	43,  // 46: google.storage.v2.BidiWriteObjectRequest.common_object_request_params:type_name -> google.storage.v2.CommonObjectRequestParams
	52,  // 47: google.storage.v2.BidiWriteObjectResponse.resource:type_name -> google.storage.v2.Object
	48,  // 48: google.storage.v2.BidiWriteObjectResponse.persisted_data_checksums:type_name -> google.storage.v2.ObjectChecksums
	27,  // 49: google.storage.v2.BidiWriteObjectResponse.write_handle:type_name -> google.storage.v2.BidiWriteHandle
	88,  // 50: google.storage.v2.ListObjectsRequest.read_mask:type_name -> google.protobuf.FieldMask
	43,  // 51: google.storage.v2.QueryWriteStatusRequest.common_object_request_params:type_name -> google.storage.v2.CommonObjectRequestParams
	52,  // 52: google.storage.v2.QueryWriteStatusResponse.resource:type_name -> google.storage.v2.Object
	48,  // 53: google.storage.v2.QueryWriteStatusResponse.persisted_data_checksums:type_name -> google.storage.v2.ObjectChecksums
	52,  // 54: google.storage.v2.RewriteObjectRequest.destination:type_name -> google.storage.v2.Object
	43,  // 55: google.storage.v2.RewriteObjectRequest.common_object_request_params:type_name -> google.storage.v2.CommonObjectRequestParams
	48,  // 56: google.storage.v2.RewriteObjectRequest.object_checksums:type_name -> google.storage.v2.ObjectChecksums
	52,  // 57: google.storage.v2.RewriteResponse.resource:type_name -> google.storage.v2.Object
	28,  // 58: google.storage.v2.StartResumableWriteRequest.write_object_spec:type_name -> google.storage.v2.WriteObjectSpec
	43,  // 59: google.storage.v2.StartResumableWriteRequest.common_object_request_params:type_name -> google.storage.v2.CommonObjectRequestParams
	48,  // 60: google.storage.v2.StartResumableWriteRequest.object_checksums:type_name -> google.storage.v2.ObjectChecksums
	52,  // 61: google.storage.v2.UpdateObjectRequest.object:type_name -> google.storage.v2.Object
	88,  // 62: google.storage.v2.UpdateObjectRequest.update_mask:type_name -> google.protobuf.FieldMask
	43,  // 63: google.storage.v2.UpdateObjectRequest.common_object_request_params:type_name -> google.storage.v2.CommonObjectRequestParams
	46,  // 64: google.storage.v2.Bucket.acl:type_name -> google.storage.v2.BucketAccessControl
	53,  // 65: google.storage.v2.Bucket.default_object_acl:type_name -> google.storage.v2.ObjectAccessControl
	64,  // 66: google.storage.v2.Bucket.lifecycle:type_name -> google.storage.v2.Bucket.Lifecycle
	90,  // 67: google.storage.v2.Bucket.create_time:type_name -> google.protobuf.Timestamp
	61,  // 68: google.storage.v2.Bucket.cors:type_name -> google.storage.v2.Bucket.Cors
	90,  // 69: google.storage.v2.Bucket.update_time:type_name -> google.protobuf.Timestamp
	75,  // 70: google.storage.v2.Bucket.labels:type_name -> google.storage.v2.Bucket.LabelsEntry
	70,  // 71: google.storage.v2.Bucket.website:type_name -> google.storage.v2.Bucket.Website
	69,  // 72: google.storage.v2.Bucket.versioning:type_name -> google.storage.v2.Bucket.Versioning
	65,  // 73: google.storage.v2.Bucket.logging:type_name -> google.storage.v2.Bucket.Logging
	56,  // 74: google.storage.v2.Bucket.owner:type_name -> google.storage.v2.Owner
	62,  // 75: google.storage.v2.Bucket.encryption:type_name -> google.storage.v2.Bucket.Encryption
	60,  // 76: google.storage.v2.Bucket.billing:type_name -> google.storage.v2.Bucket.Billing
	67,  // 77: google.storage.v2.Bucket.retention_policy:type_name -> google.storage.v2.Bucket.RetentionPolicy
	63,  // 78: google.storage.v2.Bucket.iam_config:type_name -> google.storage.v2.Bucket.IamConfig
	71,  // 79: google.storage.v2.Bucket.custom_placement_config:type_name -> google.storage.v2.Bucket.CustomPlacementConfig
	72,  // 80: google.storage.v2.Bucket.autoclass:type_name -> google.storage.v2.Bucket.Autoclass
	74,  // 81: google.storage.v2.Bucket.hierarchical_namespace:type_name -> google.storage.v2.Bucket.HierarchicalNamespace
	68,  // 82: google.storage.v2.Bucket.soft_delete_policy:type_name -> google.storage.v2.Bucket.SoftDeletePolicy
	66,  // 83: google.storage.v2.Bucket.object_retention:type_name -> google.storage.v2.Bucket.ObjectRetention
	73,  // 84: google.storage.v2.Bucket.ip_filter:type_name -> google.storage.v2.Bucket.IpFilter
	55,  // 85: google.storage.v2.BucketAccessControl.project_team:type_name -> google.storage.v2.ProjectTeam
	90,  // 86: google.storage.v2.ObjectCustomContextPayload.create_time:type_name -> google.protobuf.Timestamp
	90,  // 87: google.storage.v2.ObjectCustomContextPayload.update_time:type_name -> google.protobuf.Timestamp
	85,  // 88: google.storage.v2.ObjectContexts.custom:type_name -> google.storage.v2.ObjectContexts.CustomEntry
	53,  // 89: google.storage.v2.Object.acl:type_name -> google.storage.v2.ObjectAccessControl
	90,  // 90: google.storage.v2.Object.delete_time:type_name -> google.protobuf.Timestamp
	90,  // 91: google.storage.v2.Object.finalize_time:type_name -> google.protobuf.Timestamp
	90,  // 92: google.storage.v2.Object.create_time:type_name -> google.protobuf.Timestamp
	48,  // 93: google.storage.v2.Object.checksums:type_name -> google.storage.v2.ObjectChecksums
	90,  // 94: google.storage.v2.Object.update_time:type_name -> google.protobuf.Timestamp
	90,  // 95: google.storage.v2.Object.update_storage_class_time:type_name -> google.protobuf.Timestamp
	90,  // 96: google.storage.v2.Object.retention_expire_time:type_name -> google.protobuf.Timestamp
	87,  // 97: google.storage.v2.Object.metadata:type_name -> google.storage.v2.Object.MetadataEntry
	50,  // 98: google.storage.v2.Object.contexts:type_name -> google.storage.v2.ObjectContexts
	56,  // 99: google.storage.v2.Object.owner:type_name -> google.storage.v2.Owner
	51,  // 100: google.storage.v2.Object.customer_encryption:type_name -> google.storage.v2.CustomerEncryption
	90,  // 101: google.storage.v2.Object.custom_time:type_name -> google.protobuf.Timestamp
	90,  // 102: google.storage.v2.Object.soft_delete_time:type_name -> google.protobuf.Timestamp
	90,  // 103: google.storage.v2.Object.hard_delete_time:type_name -> google.protobuf.Timestamp
	86,  // 104: google.storage.v2.Object.retention:type_name -> google.storage.v2.Object.Retention
	55,  // 105: google.storage.v2.ObjectAccessControl.project_team:type_name -> google.storage.v2.ProjectTeam
	52,  // 106: google.storage.v2.ListObjectsResponse.objects:type_name -> google.storage.v2.Object
	59,  // 107: google.storage.v2.ComposeObjectRequest.SourceObject.object_preconditions:type_name -> google.storage.v2.ComposeObjectRequest.SourceObject.ObjectPreconditions
	76,  // 108: google.storage.v2.Bucket.Encryption.google_managed_encryption_enforcement_config:type_name -> google.storage.v2.Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig
	77,  // 109: google.storage.v2.Bucket.Encryption.customer_managed_encryption_enforcement_config:type_name -> google.storage.v2.Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig
	78,  // 110: google.storage.v2.Bucket.Encryption.customer_supplied_encryption_enforcement_config:type_name -> google.storage.v2.Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig
	79,  // 111: google.storage.v2.Bucket.IamConfig.uniform_bucket_level_access:type_name -> google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess
	80,  // 112: google.storage.v2.Bucket.Lifecycle.rule:type_name -> google.storage.v2.Bucket.Lifecycle.Rule
	90,  // 113: google.storage.v2.Bucket.RetentionPolicy.effective_time:type_name -> google.protobuf.Timestamp
	91,  // 114: google.storage.v2.Bucket.RetentionPolicy.retention_duration:type_name -> google.protobuf.Duration
	91,  // 115: google.storage.v2.Bucket.SoftDeletePolicy.retention_duration:type_name -> google.protobuf.Duration
	90,  // 116: google.storage.v2.Bucket.SoftDeletePolicy.effective_time:type_name -> google.protobuf.Timestamp
	90,  // 117: google.storage.v2.Bucket.Autoclass.toggle_time:type_name -> google.protobuf.Timestamp
	90,  // 118: google.storage.v2.Bucket.Autoclass.terminal_storage_class_update_time:type_name -> google.protobuf.Timestamp
	83,  // 119: google.storage.v2.Bucket.IpFilter.public_network_source:type_name -> google.storage.v2.Bucket.IpFilter.PublicNetworkSource
	84,  // 120: google.storage.v2.Bucket.IpFilter.vpc_network_sources:type_name -> google.storage.v2.Bucket.IpFilter.VpcNetworkSource
	90,  // 121: google.storage.v2.Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig.effective_time:type_name -> google.protobuf.Timestamp
	90,  // 122: google.storage.v2.Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig.effective_time:type_name -> google.protobuf.Timestamp
	90,  // 123: google.storage.v2.Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig.effective_time:type_name -> google.protobuf.Timestamp
	90,  // 124: google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess.lock_time:type_name -> google.protobuf.Timestamp
	81,  // 125: google.storage.v2.Bucket.Lifecycle.Rule.action:type_name -> google.storage.v2.Bucket.Lifecycle.Rule.Action
	82,  // 126: google.storage.v2.Bucket.Lifecycle.Rule.condition:type_name -> google.storage.v2.Bucket.Lifecycle.Rule.Condition
	92,  // 127: google.storage.v2.Bucket.Lifecycle.Rule.Condition.created_before:type_name -> google.type.Date
	92,  // 128: google.storage.v2.Bucket.Lifecycle.Rule.Condition.custom_time_before:type_name -> google.type.Date
	92,  // 129: google.storage.v2.Bucket.Lifecycle.Rule.Condition.noncurrent_time_before:type_name -> google.type.Date
	49,  // 130: google.storage.v2.ObjectContexts.CustomEntry.value:type_name -> google.storage.v2.ObjectCustomContextPayload
	1,   // 131: google.storage.v2.Object.Retention.mode:type_name -> google.storage.v2.Object.Retention.Mode
	90,  // 132: google.storage.v2.Object.Retention.retain_until_time:type_name -> google.protobuf.Timestamp
	2,   // 133: google.storage.v2.Storage.DeleteBucket:input_type -> google.storage.v2.DeleteBucketRequest
	3,   // 134: google.storage.v2.Storage.GetBucket:input_type -> google.storage.v2.GetBucketRequest
	4,   // 135: google.storage.v2.Storage.CreateBucket:input_type -> google.storage.v2.CreateBucketRequest
	5,   // 136: google.storage.v2.Storage.ListBuckets:input_type -> google.storage.v2.ListBucketsRequest
	7,   // 137: google.storage.v2.Storage.LockBucketRetentionPolicy:input_type -> google.storage.v2.LockBucketRetentionPolicyRequest
	93,  // 138: google.storage.v2.Storage.GetIamPolicy:input_type -> google.iam.v1.GetIamPolicyRequest
	94,  // 139: google.storage.v2.Storage.SetIamPolicy:input_type -> google.iam.v1.SetIamPolicyRequest
	95,  // 140: google.storage.v2.Storage.TestIamPermissions:input_type -> google.iam.v1.TestIamPermissionsRequest
	8,   // 141: google.storage.v2.Storage.UpdateBucket:input_type -> google.storage.v2.UpdateBucketRequest
	9,   // 142: google.storage.v2.Storage.ComposeObject:input_type -> google.storage.v2.ComposeObjectRequest
	10,  // 143: google.storage.v2.Storage.DeleteObject:input_type -> google.storage.v2.DeleteObjectRequest
	11,  // 144: google.storage.v2.Storage.RestoreObject:input_type -> google.storage.v2.RestoreObjectRequest
	12,  // 145: google.storage.v2.Storage.CancelResumableWrite:input_type -> google.storage.v2.CancelResumableWriteRequest
	15,  // 146: google.storage.v2.Storage.GetObject:input_type -> google.storage.v2.GetObjectRequest
	14,  // 147: google.storage.v2.Storage.ReadObject:input_type -> google.storage.v2.ReadObjectRequest
	18,  // 148: google.storage.v2.Storage.BidiReadObject:input_type -> google.storage.v2.BidiReadObjectRequest
	42,  // 149: google.storage.v2.Storage.UpdateObject:input_type -> google.storage.v2.UpdateObjectRequest
	29,  // 150: google.storage.v2.Storage.WriteObject:input_type -> google.storage.v2.WriteObjectRequest
	32,  // 151: google.storage.v2.Storage.BidiWriteObject:input_type -> google.storage.v2.BidiWriteObjectRequest
	34,  // 152: google.storage.v2.Storage.ListObjects:input_type -> google.storage.v2.ListObjectsRequest
	37,  // 153: google.storage.v2.Storage.RewriteObject:input_type -> google.storage.v2.RewriteObjectRequest
	40,  // 154: google.storage.v2.Storage.StartResumableWrite:input_type -> google.storage.v2.StartResumableWriteRequest
	35,  // 155: google.storage.v2.Storage.QueryWriteStatus:input_type -> google.storage.v2.QueryWriteStatusRequest
	39,  // 156: google.storage.v2.Storage.MoveObject:input_type -> google.storage.v2.MoveObjectRequest
	96,  // 157: google.storage.v2.Storage.DeleteBucket:output_type -> google.protobuf.Empty
	45,  // 158: google.storage.v2.Storage.GetBucket:output_type -> google.storage.v2.Bucket
	45,  // 159: google.storage.v2.Storage.CreateBucket:output_type -> google.storage.v2.Bucket
	6,   // 160: google.storage.v2.Storage.ListBuckets:output_type -> google.storage.v2.ListBucketsResponse
	45,  // 161: google.storage.v2.Storage.LockBucketRetentionPolicy:output_type -> google.storage.v2.Bucket
	97,  // 162: google.storage.v2.Storage.GetIamPolicy:output_type -> google.iam.v1.Policy
	97,  // 163: google.storage.v2.Storage.SetIamPolicy:output_type -> google.iam.v1.Policy
	98,  // 164: google.storage.v2.Storage.TestIamPermissions:output_type -> google.iam.v1.TestIamPermissionsResponse
	45,  // 165: google.storage.v2.Storage.UpdateBucket:output_type -> google.storage.v2.Bucket
	52,  // 166: google.storage.v2.Storage.ComposeObject:output_type -> google.storage.v2.Object
	96,  // 167: google.storage.v2.Storage.DeleteObject:output_type -> google.protobuf.Empty
	52,  // 168: google.storage.v2.Storage.RestoreObject:output_type -> google.storage.v2.Object
	13,  // 169: google.storage.v2.Storage.CancelResumableWrite:output_type -> google.storage.v2.CancelResumableWriteResponse
	52,  // 170: google.storage.v2.Storage.GetObject:output_type -> google.storage.v2.Object
	16,  // 171: google.storage.v2.Storage.ReadObject:output_type -> google.storage.v2.ReadObjectResponse
	19,  // 172: google.storage.v2.Storage.BidiReadObject:output_type -> google.storage.v2.BidiReadObjectResponse
	52,  // 173: google.storage.v2.Storage.UpdateObject:output_type -> google.storage.v2.Object
	30,  // 174: google.storage.v2.Storage.WriteObject:output_type -> google.storage.v2.WriteObjectResponse
	33,  // 175: google.storage.v2.Storage.BidiWriteObject:output_type -> google.storage.v2.BidiWriteObjectResponse
	54,  // 176: google.storage.v2.Storage.ListObjects:output_type -> google.storage.v2.ListObjectsResponse
	38,  // 177: google.storage.v2.Storage.RewriteObject:output_type -> google.storage.v2.RewriteResponse
	41,  // 178: google.storage.v2.Storage.StartResumableWrite:output_type -> google.storage.v2.StartResumableWriteResponse
	36,  // 179: google.storage.v2.Storage.QueryWriteStatus:output_type -> google.storage.v2.QueryWriteStatusResponse
	52,  // 180: google.storage.v2.Storage.MoveObject:output_type -> google.storage.v2.Object
	157, // [157:181] is the sub-list for method output_type
	133, // [133:157] is the sub-list for method input_type
	133, // [133:133] is the sub-list for extension type_name
	133, // [133:133] is the sub-list for extension extendee
	0,   // [0:133] is the sub-list for field type_name
}

func init() { file_google_storage_v2_storage_proto_init() }
func file_google_storage_v2_storage_proto_init() {
	if File_google_storage_v2_storage_proto != nil {
		return
	}
	file_google_storage_v2_storage_proto_msgTypes[0].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[1].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[3].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[6].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[7].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[8].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[9].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[12].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[13].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[15].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[18].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[19].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[26].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[27].OneofWrappers = []any{
		(*WriteObjectRequest_UploadId)(nil),
		(*WriteObjectRequest_WriteObjectSpec)(nil),
		(*WriteObjectRequest_ChecksummedData)(nil),
	}
	file_google_storage_v2_storage_proto_msgTypes[28].OneofWrappers = []any{
		(*WriteObjectResponse_PersistedSize)(nil),
		(*WriteObjectResponse_Resource)(nil),
	}
	file_google_storage_v2_storage_proto_msgTypes[29].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[30].OneofWrappers = []any{
		(*BidiWriteObjectRequest_UploadId)(nil),
		(*BidiWriteObjectRequest_WriteObjectSpec)(nil),
		(*BidiWriteObjectRequest_AppendObjectSpec)(nil),
		(*BidiWriteObjectRequest_ChecksummedData)(nil),
	}
	file_google_storage_v2_storage_proto_msgTypes[31].OneofWrappers = []any{
		(*BidiWriteObjectResponse_PersistedSize)(nil),
		(*BidiWriteObjectResponse_Resource)(nil),
	}
	file_google_storage_v2_storage_proto_msgTypes[32].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[34].OneofWrappers = []any{
		(*QueryWriteStatusResponse_PersistedSize)(nil),
		(*QueryWriteStatusResponse_Resource)(nil),
	}
	file_google_storage_v2_storage_proto_msgTypes[35].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[37].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[40].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[43].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[45].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[46].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[50].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[57].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[60].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[66].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[70].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[71].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[74].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[75].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[76].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[80].OneofWrappers = []any{}
	file_google_storage_v2_storage_proto_msgTypes[82].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_storage_v2_storage_proto_rawDesc), len(file_google_storage_v2_storage_proto_rawDesc)),
			NumEnums:      2,
			NumMessages:   86,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_google_storage_v2_storage_proto_goTypes,
		DependencyIndexes: file_google_storage_v2_storage_proto_depIdxs,
		EnumInfos:         file_google_storage_v2_storage_proto_enumTypes,
		MessageInfos:      file_google_storage_v2_storage_proto_msgTypes,
	}.Build()
	File_google_storage_v2_storage_proto = out.File
	file_google_storage_v2_storage_proto_goTypes = nil
	file_google_storage_v2_storage_proto_depIdxs = nil
}
