// Code generated by protoc-gen-goext. DO NOT EDIT.

package storage

import (
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	structpb "google.golang.org/protobuf/types/known/structpb"
)

func (m *GetBucketRequest) SetName(v string) {
	m.Name = v
}

func (m *GetBucketRequest) SetView(v GetBucketRequest_View) {
	m.View = v
}

func (m *ListBucketsRequest) SetFolderId(v string) {
	m.FolderId = v
}

func (m *ListBucketsResponse) SetBuckets(v []*Bucket) {
	m.Buckets = v
}

func (m *CreateBucketRequest) SetName(v string) {
	m.Name = v
}

func (m *CreateBucketRequest) SetFolderId(v string) {
	m.FolderId = v
}

func (m *CreateBucketRequest) SetDefaultStorageClass(v string) {
	m.DefaultStorageClass = v
}

func (m *CreateBucketRequest) SetMaxSize(v int64) {
	m.MaxSize = v
}

func (m *CreateBucketRequest) SetAnonymousAccessFlags(v *AnonymousAccessFlags) {
	m.AnonymousAccessFlags = v
}

func (m *CreateBucketRequest) SetAcl(v *ACL) {
	m.Acl = v
}

func (m *CreateBucketRequest) SetTags(v []*Tag) {
	m.Tags = v
}

func (m *CreateBucketRequest) SetEncryption(v *Encryption) {
	m.Encryption = v
}

func (m *CreateBucketRequest) SetVersioning(v Versioning) {
	m.Versioning = v
}

func (m *CreateBucketRequest) SetAllowedPrivateEndpoints(v *BucketAllowedPrivateEndpoints) {
	m.AllowedPrivateEndpoints = v
}

func (m *CreateBucketRequest) SetDisabledStatickeyAuth(v bool) {
	m.DisabledStatickeyAuth = v
}

func (m *CreateBucketMetadata) SetName(v string) {
	m.Name = v
}

func (m *UpdateBucketRequest) SetName(v string) {
	m.Name = v
}

func (m *UpdateBucketRequest) SetUpdateMask(v *fieldmaskpb.FieldMask) {
	m.UpdateMask = v
}

func (m *UpdateBucketRequest) SetAnonymousAccessFlags(v *AnonymousAccessFlags) {
	m.AnonymousAccessFlags = v
}

func (m *UpdateBucketRequest) SetDefaultStorageClass(v string) {
	m.DefaultStorageClass = v
}

func (m *UpdateBucketRequest) SetMaxSize(v int64) {
	m.MaxSize = v
}

func (m *UpdateBucketRequest) SetCors(v []*CorsRule) {
	m.Cors = v
}

func (m *UpdateBucketRequest) SetWebsiteSettings(v *WebsiteSettings) {
	m.WebsiteSettings = v
}

func (m *UpdateBucketRequest) SetVersioning(v Versioning) {
	m.Versioning = v
}

func (m *UpdateBucketRequest) SetLifecycleRules(v []*LifecycleRule) {
	m.LifecycleRules = v
}

func (m *UpdateBucketRequest) SetPolicy(v *structpb.Struct) {
	m.Policy = v
}

func (m *UpdateBucketRequest) SetAcl(v *ACL) {
	m.Acl = v
}

func (m *UpdateBucketRequest) SetTags(v []*Tag) {
	m.Tags = v
}

func (m *UpdateBucketRequest) SetObjectLock(v *ObjectLock) {
	m.ObjectLock = v
}

func (m *UpdateBucketRequest) SetEncryption(v *Encryption) {
	m.Encryption = v
}

func (m *UpdateBucketRequest) SetAllowedPrivateEndpoints(v *BucketAllowedPrivateEndpoints) {
	m.AllowedPrivateEndpoints = v
}

func (m *UpdateBucketRequest) SetDisabledStatickeyAuth(v bool) {
	m.DisabledStatickeyAuth = v
}

func (m *UpdateBucketMetadata) SetName(v string) {
	m.Name = v
}

func (m *DeleteBucketRequest) SetName(v string) {
	m.Name = v
}

func (m *DeleteBucketMetadata) SetName(v string) {
	m.Name = v
}

func (m *GetBucketStatsRequest) SetName(v string) {
	m.Name = v
}

func (m *GetBucketHTTPSConfigRequest) SetName(v string) {
	m.Name = v
}

func (m *SelfManagedHTTPSConfigParams) SetCertificatePem(v string) {
	m.CertificatePem = v
}

func (m *SelfManagedHTTPSConfigParams) SetPrivateKeyPem(v string) {
	m.PrivateKeyPem = v
}

func (m *CertificateManagerHTTPSConfigParams) SetCertificateId(v string) {
	m.CertificateId = v
}

type SetBucketHTTPSConfigRequest_Params = isSetBucketHTTPSConfigRequest_Params

func (m *SetBucketHTTPSConfigRequest) SetParams(v SetBucketHTTPSConfigRequest_Params) {
	m.Params = v
}

func (m *SetBucketHTTPSConfigRequest) SetName(v string) {
	m.Name = v
}

func (m *SetBucketHTTPSConfigRequest) SetSelfManaged(v *SelfManagedHTTPSConfigParams) {
	m.Params = &SetBucketHTTPSConfigRequest_SelfManaged{
		SelfManaged: v,
	}
}

func (m *SetBucketHTTPSConfigRequest) SetCertificateManager(v *CertificateManagerHTTPSConfigParams) {
	m.Params = &SetBucketHTTPSConfigRequest_CertificateManager{
		CertificateManager: v,
	}
}

func (m *SetBucketHTTPSConfigMetadata) SetName(v string) {
	m.Name = v
}

func (m *DeleteBucketHTTPSConfigRequest) SetName(v string) {
	m.Name = v
}

func (m *DeleteBucketHTTPSConfigMetadata) SetName(v string) {
	m.Name = v
}

func (m *CreateBucketInventoryConfigurationRequest) SetBucket(v string) {
	m.Bucket = v
}

func (m *CreateBucketInventoryConfigurationRequest) SetId(v string) {
	m.Id = v
}

func (m *CreateBucketInventoryConfigurationRequest) SetConfiguration(v *InventoryConfiguration) {
	m.Configuration = v
}

func (m *CreateBucketInventoryConfigurationMetadata) SetName(v string) {
	m.Name = v
}

func (m *GetBucketInventoryConfigurationRequest) SetBucket(v string) {
	m.Bucket = v
}

func (m *GetBucketInventoryConfigurationRequest) SetId(v string) {
	m.Id = v
}

func (m *DeleteBucketInventoryConfigurationRequest) SetBucket(v string) {
	m.Bucket = v
}

func (m *DeleteBucketInventoryConfigurationRequest) SetId(v string) {
	m.Id = v
}

func (m *DeleteBucketInventoryConfigurationMetadata) SetName(v string) {
	m.Name = v
}

func (m *ListBucketInventoryConfigurationsRequest) SetBucket(v string) {
	m.Bucket = v
}

func (m *ListBucketInventoryConfigurationsRequest) SetPageToken(v string) {
	m.PageToken = v
}

func (m *ListBucketInventoryConfigurationsResponse) SetConfigurations(v []*InventoryConfiguration) {
	m.Configurations = v
}

func (m *ListBucketInventoryConfigurationsResponse) SetNextPageToken(v string) {
	m.NextPageToken = v
}
