// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/serverless/functions/v1/function.proto

package functions

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	v1 "github.com/yandex-cloud/go-genproto/yandex/cloud/logging/v1"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

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)
)

type MetadataOption int32

const (
	// Option is default
	MetadataOption_METADATA_OPTION_UNSPECIFIED MetadataOption = 0
	// Option is enabled
	MetadataOption_ENABLED MetadataOption = 1
	// Option is disabled
	MetadataOption_DISABLED MetadataOption = 2
)

// Enum value maps for MetadataOption.
var (
	MetadataOption_name = map[int32]string{
		0: "METADATA_OPTION_UNSPECIFIED",
		1: "ENABLED",
		2: "DISABLED",
	}
	MetadataOption_value = map[string]int32{
		"METADATA_OPTION_UNSPECIFIED": 0,
		"ENABLED":                     1,
		"DISABLED":                    2,
	}
)

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

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

func (MetadataOption) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_serverless_functions_v1_function_proto_enumTypes[0].Descriptor()
}

func (MetadataOption) Type() protoreflect.EnumType {
	return &file_yandex_cloud_serverless_functions_v1_function_proto_enumTypes[0]
}

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

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

type Function_Status int32

const (
	Function_STATUS_UNSPECIFIED Function_Status = 0
	// Function is being created.
	Function_CREATING Function_Status = 1
	// Function is ready to be invoked.
	Function_ACTIVE Function_Status = 2
	// Function is being deleted.
	Function_DELETING Function_Status = 3
	// Function failed.
	Function_ERROR Function_Status = 4
)

// Enum value maps for Function_Status.
var (
	Function_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "DELETING",
		4: "ERROR",
	}
	Function_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"CREATING":           1,
		"ACTIVE":             2,
		"DELETING":           3,
		"ERROR":              4,
	}
)

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

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

func (Function_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_serverless_functions_v1_function_proto_enumTypes[1].Descriptor()
}

func (Function_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_serverless_functions_v1_function_proto_enumTypes[1]
}

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

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

type Version_Status int32

const (
	Version_STATUS_UNSPECIFIED Version_Status = 0
	// Version is being created.
	Version_CREATING Version_Status = 1
	// Version is ready to use.
	Version_ACTIVE Version_Status = 2
	// Version will be deleted soon.
	Version_OBSOLETE Version_Status = 3
	// Version is being deleted.
	Version_DELETING Version_Status = 4
)

// Enum value maps for Version_Status.
var (
	Version_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "OBSOLETE",
		4: "DELETING",
	}
	Version_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"CREATING":           1,
		"ACTIVE":             2,
		"OBSOLETE":           3,
		"DELETING":           4,
	}
)

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

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

func (Version_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_serverless_functions_v1_function_proto_enumTypes[2].Descriptor()
}

func (Version_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_serverless_functions_v1_function_proto_enumTypes[2]
}

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

// Deprecated: Use Version_Status.Descriptor instead.
func (Version_Status) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{1, 0}
}

type Mount_Mode int32

const (
	Mount_MODE_UNSPECIFIED Mount_Mode = 0
	Mount_READ_ONLY        Mount_Mode = 1
	Mount_READ_WRITE       Mount_Mode = 2
)

// Enum value maps for Mount_Mode.
var (
	Mount_Mode_name = map[int32]string{
		0: "MODE_UNSPECIFIED",
		1: "READ_ONLY",
		2: "READ_WRITE",
	}
	Mount_Mode_value = map[string]int32{
		"MODE_UNSPECIFIED": 0,
		"READ_ONLY":        1,
		"READ_WRITE":       2,
	}
)

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

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

func (Mount_Mode) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_serverless_functions_v1_function_proto_enumTypes[3].Descriptor()
}

func (Mount_Mode) Type() protoreflect.EnumType {
	return &file_yandex_cloud_serverless_functions_v1_function_proto_enumTypes[3]
}

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

// Deprecated: Use Mount_Mode.Descriptor instead.
func (Mount_Mode) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{9, 0}
}

// A serverless function. For details about the concept, see [Functions](/docs/functions/concepts/function).
type Function struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the function. Generated at creation time.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the function belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp for the function.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the function. The name is unique within the folder.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the function.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Function labels as `key:value` pairs.
	Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// URL that needs to be requested to invoke the function.
	HttpInvokeUrl string `protobuf:"bytes,8,opt,name=http_invoke_url,json=httpInvokeUrl,proto3" json:"http_invoke_url,omitempty"`
	// Status of the function.
	Status        Function_Status `protobuf:"varint,9,opt,name=status,proto3,enum=yandex.cloud.serverless.functions.v1.Function_Status" json:"status,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Function) ProtoMessage() {}

func (x *Function) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 Function.ProtoReflect.Descriptor instead.
func (*Function) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{0}
}

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

func (x *Function) GetFolderId() string {
	if x != nil {
		return x.FolderId
	}
	return ""
}

func (x *Function) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

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

func (x *Function) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

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

func (x *Function) GetHttpInvokeUrl() string {
	if x != nil {
		return x.HttpInvokeUrl
	}
	return ""
}

func (x *Function) GetStatus() Function_Status {
	if x != nil {
		return x.Status
	}
	return Function_STATUS_UNSPECIFIED
}

// Version of a function. For details about the concept, see [Function versions](/docs/functions/concepts/function#version).
type Version struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the version.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the function that the version belongs to.
	FunctionId string `protobuf:"bytes,2,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// Description of the version.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Creation timestamp for the version.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// ID of the runtime environment for the function.
	//
	// Supported environments and their identifiers are listed in the [Runtime environments](/docs/functions/concepts/runtime).
	Runtime string `protobuf:"bytes,6,opt,name=runtime,proto3" json:"runtime,omitempty"`
	// Entrypoint for the function: the name of the function to be called as the handler.
	//
	// Specified in the format `<function file name>.<handler name>`, for example, `index.myFunction`.
	Entrypoint string `protobuf:"bytes,7,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	// Resources allocated to the version.
	Resources *Resources `protobuf:"bytes,8,opt,name=resources,proto3" json:"resources,omitempty"`
	// Timeout for the execution of the version.
	//
	// If the timeout is exceeded, Cloud Functions responds with a 504 HTTP code.
	ExecutionTimeout *durationpb.Duration `protobuf:"bytes,9,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"`
	// ID of the service account associated with the version.
	ServiceAccountId string `protobuf:"bytes,10,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// Final size of the deployment package after unpacking.
	ImageSize int64 `protobuf:"varint,12,opt,name=image_size,json=imageSize,proto3" json:"image_size,omitempty"`
	// Status of the version.
	Status Version_Status `protobuf:"varint,13,opt,name=status,proto3,enum=yandex.cloud.serverless.functions.v1.Version_Status" json:"status,omitempty"`
	// Version tags. For details, see [Version tag](/docs/functions/concepts/function#tag).
	Tags []string `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"`
	// Environment settings for the version.
	Environment map[string]string `protobuf:"bytes,16,rep,name=environment,proto3" json:"environment,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Network access. If specified the version will be attached to specified network/subnet(s).
	Connectivity *Connectivity `protobuf:"bytes,17,opt,name=connectivity,proto3" json:"connectivity,omitempty"`
	// Additional service accounts to be used by the version.
	NamedServiceAccounts map[string]string `protobuf:"bytes,18,rep,name=named_service_accounts,json=namedServiceAccounts,proto3" json:"named_service_accounts,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Yandex Lockbox secrets to be used by the version.
	Secrets []*Secret `protobuf:"bytes,19,rep,name=secrets,proto3" json:"secrets,omitempty"`
	// Options for logging from the function
	LogOptions *LogOptions `protobuf:"bytes,20,opt,name=log_options,json=logOptions,proto3" json:"log_options,omitempty"`
	// S3 mounts to be used by the version.
	StorageMounts []*StorageMount `protobuf:"bytes,21,rep,name=storage_mounts,json=storageMounts,proto3" json:"storage_mounts,omitempty"`
	// Config for asynchronous invocations of the version
	AsyncInvocationConfig *AsyncInvocationConfig `protobuf:"bytes,22,opt,name=async_invocation_config,json=asyncInvocationConfig,proto3" json:"async_invocation_config,omitempty"`
	// Optional size of in-memory mounted /tmp directory in bytes.
	TmpfsSize int64 `protobuf:"varint,23,opt,name=tmpfs_size,json=tmpfsSize,proto3" json:"tmpfs_size,omitempty"`
	// The maximum number of requests processed by a function instance at the same time
	Concurrency int64 `protobuf:"varint,24,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
	// Mounts to be used by the version.
	Mounts []*Mount `protobuf:"bytes,25,rep,name=mounts,proto3" json:"mounts,omitempty"`
	// Metadata options for the version.
	MetadataOptions *MetadataOptions `protobuf:"bytes,26,opt,name=metadata_options,json=metadataOptions,proto3" json:"metadata_options,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*Version) ProtoMessage() {}

func (x *Version) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 Version.ProtoReflect.Descriptor instead.
func (*Version) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{1}
}

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

func (x *Version) GetFunctionId() string {
	if x != nil {
		return x.FunctionId
	}
	return ""
}

func (x *Version) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *Version) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

func (x *Version) GetRuntime() string {
	if x != nil {
		return x.Runtime
	}
	return ""
}

func (x *Version) GetEntrypoint() string {
	if x != nil {
		return x.Entrypoint
	}
	return ""
}

func (x *Version) GetResources() *Resources {
	if x != nil {
		return x.Resources
	}
	return nil
}

func (x *Version) GetExecutionTimeout() *durationpb.Duration {
	if x != nil {
		return x.ExecutionTimeout
	}
	return nil
}

func (x *Version) GetServiceAccountId() string {
	if x != nil {
		return x.ServiceAccountId
	}
	return ""
}

func (x *Version) GetImageSize() int64 {
	if x != nil {
		return x.ImageSize
	}
	return 0
}

func (x *Version) GetStatus() Version_Status {
	if x != nil {
		return x.Status
	}
	return Version_STATUS_UNSPECIFIED
}

func (x *Version) GetTags() []string {
	if x != nil {
		return x.Tags
	}
	return nil
}

func (x *Version) GetEnvironment() map[string]string {
	if x != nil {
		return x.Environment
	}
	return nil
}

func (x *Version) GetConnectivity() *Connectivity {
	if x != nil {
		return x.Connectivity
	}
	return nil
}

func (x *Version) GetNamedServiceAccounts() map[string]string {
	if x != nil {
		return x.NamedServiceAccounts
	}
	return nil
}

func (x *Version) GetSecrets() []*Secret {
	if x != nil {
		return x.Secrets
	}
	return nil
}

func (x *Version) GetLogOptions() *LogOptions {
	if x != nil {
		return x.LogOptions
	}
	return nil
}

func (x *Version) GetStorageMounts() []*StorageMount {
	if x != nil {
		return x.StorageMounts
	}
	return nil
}

func (x *Version) GetAsyncInvocationConfig() *AsyncInvocationConfig {
	if x != nil {
		return x.AsyncInvocationConfig
	}
	return nil
}

func (x *Version) GetTmpfsSize() int64 {
	if x != nil {
		return x.TmpfsSize
	}
	return 0
}

func (x *Version) GetConcurrency() int64 {
	if x != nil {
		return x.Concurrency
	}
	return 0
}

func (x *Version) GetMounts() []*Mount {
	if x != nil {
		return x.Mounts
	}
	return nil
}

func (x *Version) GetMetadataOptions() *MetadataOptions {
	if x != nil {
		return x.MetadataOptions
	}
	return nil
}

// Resources allocated to a version.
type Resources struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Amount of memory available to the version, specified in bytes, multiple of 128MB.
	Memory        int64 `protobuf:"varint,1,opt,name=memory,proto3" json:"memory,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Resources) ProtoMessage() {}

func (x *Resources) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 Resources.ProtoReflect.Descriptor instead.
func (*Resources) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{2}
}

func (x *Resources) GetMemory() int64 {
	if x != nil {
		return x.Memory
	}
	return 0
}

// Version deployment package.
type Package struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Name of the bucket that stores the code for the version.
	BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// Name of the object in the bucket that stores the code for the version.
	ObjectName string `protobuf:"bytes,2,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// SHA256 hash of the version deployment package.
	Sha256        string `protobuf:"bytes,3,opt,name=sha256,proto3" json:"sha256,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Package) ProtoMessage() {}

func (x *Package) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 Package.ProtoReflect.Descriptor instead.
func (*Package) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{3}
}

func (x *Package) GetBucketName() string {
	if x != nil {
		return x.BucketName
	}
	return ""
}

func (x *Package) GetObjectName() string {
	if x != nil {
		return x.ObjectName
	}
	return ""
}

func (x *Package) GetSha256() string {
	if x != nil {
		return x.Sha256
	}
	return ""
}

// Version connectivity specification.
type Connectivity struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Network the version will have access to.
	// It's essential to specify network with subnets in all availability zones.
	NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// Complete list of subnets (from the same network) the version can be attached to.
	// It's essential to specify at least one subnet for each availability zones.
	SubnetId      []string `protobuf:"bytes,2,rep,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Connectivity) ProtoMessage() {}

func (x *Connectivity) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 Connectivity.ProtoReflect.Descriptor instead.
func (*Connectivity) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{4}
}

func (x *Connectivity) GetNetworkId() string {
	if x != nil {
		return x.NetworkId
	}
	return ""
}

func (x *Connectivity) GetSubnetId() []string {
	if x != nil {
		return x.SubnetId
	}
	return nil
}

type ScalingPolicy struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the function that the scaling policy belongs to.
	FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// Tag of the version that the scaling policy belongs to. For details, see [Version tag](/docs/functions/concepts/function#tag).
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// Creation timestamp for the scaling policy
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Modification timestamp for the scaling policy
	ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"`
	// Minimum guaranteed provisioned instances count for all zones in total.
	// Billed separately.
	ProvisionedInstancesCount int64 `protobuf:"varint,6,opt,name=provisioned_instances_count,json=provisionedInstancesCount,proto3" json:"provisioned_instances_count,omitempty"`
	// Upper limit for instance count in each zone.
	// 0 means no limit.
	ZoneInstancesLimit int64 `protobuf:"varint,7,opt,name=zone_instances_limit,json=zoneInstancesLimit,proto3" json:"zone_instances_limit,omitempty"`
	// Upper limit of requests count in each zone.
	// 0 means no limit.
	ZoneRequestsLimit int64 `protobuf:"varint,8,opt,name=zone_requests_limit,json=zoneRequestsLimit,proto3" json:"zone_requests_limit,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*ScalingPolicy) ProtoMessage() {}

func (x *ScalingPolicy) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 ScalingPolicy.ProtoReflect.Descriptor instead.
func (*ScalingPolicy) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{5}
}

func (x *ScalingPolicy) GetFunctionId() string {
	if x != nil {
		return x.FunctionId
	}
	return ""
}

func (x *ScalingPolicy) GetTag() string {
	if x != nil {
		return x.Tag
	}
	return ""
}

func (x *ScalingPolicy) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

func (x *ScalingPolicy) GetModifiedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.ModifiedAt
	}
	return nil
}

func (x *ScalingPolicy) GetProvisionedInstancesCount() int64 {
	if x != nil {
		return x.ProvisionedInstancesCount
	}
	return 0
}

func (x *ScalingPolicy) GetZoneInstancesLimit() int64 {
	if x != nil {
		return x.ZoneInstancesLimit
	}
	return 0
}

func (x *ScalingPolicy) GetZoneRequestsLimit() int64 {
	if x != nil {
		return x.ZoneRequestsLimit
	}
	return 0
}

// Secret for serverless function.
type Secret struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of Yandex Lockbox secret.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of Yandex Lockbox version.
	VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// Key in secret's payload, which value to be delivered into function environment.
	Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// Types that are valid to be assigned to Reference:
	//
	//	*Secret_EnvironmentVariable
	Reference     isSecret_Reference `protobuf_oneof:"reference"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Secret) ProtoMessage() {}

func (x *Secret) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 Secret.ProtoReflect.Descriptor instead.
func (*Secret) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{6}
}

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

func (x *Secret) GetVersionId() string {
	if x != nil {
		return x.VersionId
	}
	return ""
}

func (x *Secret) GetKey() string {
	if x != nil {
		return x.Key
	}
	return ""
}

func (x *Secret) GetReference() isSecret_Reference {
	if x != nil {
		return x.Reference
	}
	return nil
}

func (x *Secret) GetEnvironmentVariable() string {
	if x != nil {
		if x, ok := x.Reference.(*Secret_EnvironmentVariable); ok {
			return x.EnvironmentVariable
		}
	}
	return ""
}

type isSecret_Reference interface {
	isSecret_Reference()
}

type Secret_EnvironmentVariable struct {
	// environment variable in which secret's value to be delivered.
	EnvironmentVariable string `protobuf:"bytes,4,opt,name=environment_variable,json=environmentVariable,proto3,oneof"`
}

func (*Secret_EnvironmentVariable) isSecret_Reference() {}

type LogOptions struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Is logging from function disabled.
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Log entries destination.
	//
	// Types that are valid to be assigned to Destination:
	//
	//	*LogOptions_LogGroupId
	//	*LogOptions_FolderId
	Destination isLogOptions_Destination `protobuf_oneof:"destination"`
	// Minimum log entry level.
	//
	// See [LogLevel.Level] for details.
	MinLevel      v1.LogLevel_Level `protobuf:"varint,4,opt,name=min_level,json=minLevel,proto3,enum=yandex.cloud.logging.v1.LogLevel_Level" json:"min_level,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*LogOptions) ProtoMessage() {}

func (x *LogOptions) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 LogOptions.ProtoReflect.Descriptor instead.
func (*LogOptions) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{7}
}

func (x *LogOptions) GetDisabled() bool {
	if x != nil {
		return x.Disabled
	}
	return false
}

func (x *LogOptions) GetDestination() isLogOptions_Destination {
	if x != nil {
		return x.Destination
	}
	return nil
}

func (x *LogOptions) GetLogGroupId() string {
	if x != nil {
		if x, ok := x.Destination.(*LogOptions_LogGroupId); ok {
			return x.LogGroupId
		}
	}
	return ""
}

func (x *LogOptions) GetFolderId() string {
	if x != nil {
		if x, ok := x.Destination.(*LogOptions_FolderId); ok {
			return x.FolderId
		}
	}
	return ""
}

func (x *LogOptions) GetMinLevel() v1.LogLevel_Level {
	if x != nil {
		return x.MinLevel
	}
	return v1.LogLevel_Level(0)
}

type isLogOptions_Destination interface {
	isLogOptions_Destination()
}

type LogOptions_LogGroupId struct {
	// Entry should be written to log group resolved by ID.
	LogGroupId string `protobuf:"bytes,2,opt,name=log_group_id,json=logGroupId,proto3,oneof"`
}

type LogOptions_FolderId struct {
	// Entry should be written to default log group for specified folder.
	FolderId string `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3,oneof"`
}

func (*LogOptions_LogGroupId) isLogOptions_Destination() {}

func (*LogOptions_FolderId) isLogOptions_Destination() {}

// Deprecated: Marked as deprecated in yandex/cloud/serverless/functions/v1/function.proto.
type StorageMount struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// S3 bucket name for mounting.
	BucketId string `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
	// S3 bucket prefix for mounting.
	Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Mount point directory name (not path) for mounting.
	MountPointName string `protobuf:"bytes,3,opt,name=mount_point_name,json=mountPointName,proto3" json:"mount_point_name,omitempty"`
	// Is mount read only.
	ReadOnly      bool `protobuf:"varint,4,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*StorageMount) ProtoMessage() {}

func (x *StorageMount) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 StorageMount.ProtoReflect.Descriptor instead.
func (*StorageMount) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{8}
}

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

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

func (x *StorageMount) GetMountPointName() string {
	if x != nil {
		return x.MountPointName
	}
	return ""
}

func (x *StorageMount) GetReadOnly() bool {
	if x != nil {
		return x.ReadOnly
	}
	return false
}

// Mount contains an information about version's external storage mount
type Mount struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Unique mount point name. Device will be mounted into /function/storage/<name>
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Mount's mode
	Mode Mount_Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=yandex.cloud.serverless.functions.v1.Mount_Mode" json:"mode,omitempty"`
	// Target mount option
	//
	// Types that are valid to be assigned to Target:
	//
	//	*Mount_ObjectStorage_
	//	*Mount_EphemeralDiskSpec
	Target        isMount_Target `protobuf_oneof:"target"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Mount) ProtoMessage() {}

func (x *Mount) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 Mount.ProtoReflect.Descriptor instead.
func (*Mount) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{9}
}

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

func (x *Mount) GetMode() Mount_Mode {
	if x != nil {
		return x.Mode
	}
	return Mount_MODE_UNSPECIFIED
}

func (x *Mount) GetTarget() isMount_Target {
	if x != nil {
		return x.Target
	}
	return nil
}

func (x *Mount) GetObjectStorage() *Mount_ObjectStorage {
	if x != nil {
		if x, ok := x.Target.(*Mount_ObjectStorage_); ok {
			return x.ObjectStorage
		}
	}
	return nil
}

func (x *Mount) GetEphemeralDiskSpec() *Mount_DiskSpec {
	if x != nil {
		if x, ok := x.Target.(*Mount_EphemeralDiskSpec); ok {
			return x.EphemeralDiskSpec
		}
	}
	return nil
}

type isMount_Target interface {
	isMount_Target()
}

type Mount_ObjectStorage_ struct {
	// Object storage mounts
	ObjectStorage *Mount_ObjectStorage `protobuf:"bytes,10,opt,name=object_storage,json=objectStorage,proto3,oneof"`
}

type Mount_EphemeralDiskSpec struct {
	// Working disk (worker-local non-shared read-write NBS disk templates)
	EphemeralDiskSpec *Mount_DiskSpec `protobuf:"bytes,11,opt,name=ephemeral_disk_spec,json=ephemeralDiskSpec,proto3,oneof"`
}

func (*Mount_ObjectStorage_) isMount_Target() {}

func (*Mount_EphemeralDiskSpec) isMount_Target() {}

type AsyncInvocationConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Number of retries of version invocation
	RetriesCount int64 `protobuf:"varint,1,opt,name=retries_count,json=retriesCount,proto3" json:"retries_count,omitempty"`
	// Target for successful result of the version's invocation
	SuccessTarget *AsyncInvocationConfig_ResponseTarget `protobuf:"bytes,2,opt,name=success_target,json=successTarget,proto3" json:"success_target,omitempty"`
	// Target for unsuccessful result, if all retries failed
	FailureTarget *AsyncInvocationConfig_ResponseTarget `protobuf:"bytes,3,opt,name=failure_target,json=failureTarget,proto3" json:"failure_target,omitempty"`
	// Service account which can invoke version
	ServiceAccountId string `protobuf:"bytes,4,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*AsyncInvocationConfig) ProtoMessage() {}

func (x *AsyncInvocationConfig) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 AsyncInvocationConfig.ProtoReflect.Descriptor instead.
func (*AsyncInvocationConfig) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{10}
}

func (x *AsyncInvocationConfig) GetRetriesCount() int64 {
	if x != nil {
		return x.RetriesCount
	}
	return 0
}

func (x *AsyncInvocationConfig) GetSuccessTarget() *AsyncInvocationConfig_ResponseTarget {
	if x != nil {
		return x.SuccessTarget
	}
	return nil
}

func (x *AsyncInvocationConfig) GetFailureTarget() *AsyncInvocationConfig_ResponseTarget {
	if x != nil {
		return x.FailureTarget
	}
	return nil
}

func (x *AsyncInvocationConfig) GetServiceAccountId() string {
	if x != nil {
		return x.ServiceAccountId
	}
	return ""
}

type YMQTarget struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Queue ARN
	QueueArn string `protobuf:"bytes,1,opt,name=queue_arn,json=queueArn,proto3" json:"queue_arn,omitempty"`
	// Service account which has write permission on the queue.
	ServiceAccountId string `protobuf:"bytes,2,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*YMQTarget) ProtoMessage() {}

func (x *YMQTarget) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 YMQTarget.ProtoReflect.Descriptor instead.
func (*YMQTarget) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{11}
}

func (x *YMQTarget) GetQueueArn() string {
	if x != nil {
		return x.QueueArn
	}
	return ""
}

func (x *YMQTarget) GetServiceAccountId() string {
	if x != nil {
		return x.ServiceAccountId
	}
	return ""
}

type EmptyTarget struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*EmptyTarget) ProtoMessage() {}

func (x *EmptyTarget) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 EmptyTarget.ProtoReflect.Descriptor instead.
func (*EmptyTarget) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{12}
}

type MetadataOptions struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Enabled access to GCE flavored metadata
	GceHttpEndpoint MetadataOption `protobuf:"varint,1,opt,name=gce_http_endpoint,json=gceHttpEndpoint,proto3,enum=yandex.cloud.serverless.functions.v1.MetadataOption" json:"gce_http_endpoint,omitempty"`
	// Enabled access to AWS flavored metadata (IMDSv1)
	AwsV1HttpEndpoint MetadataOption `protobuf:"varint,2,opt,name=aws_v1_http_endpoint,json=awsV1HttpEndpoint,proto3,enum=yandex.cloud.serverless.functions.v1.MetadataOption" json:"aws_v1_http_endpoint,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*MetadataOptions) ProtoMessage() {}

func (x *MetadataOptions) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 MetadataOptions.ProtoReflect.Descriptor instead.
func (*MetadataOptions) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{13}
}

func (x *MetadataOptions) GetGceHttpEndpoint() MetadataOption {
	if x != nil {
		return x.GceHttpEndpoint
	}
	return MetadataOption_METADATA_OPTION_UNSPECIFIED
}

func (x *MetadataOptions) GetAwsV1HttpEndpoint() MetadataOption {
	if x != nil {
		return x.AwsV1HttpEndpoint
	}
	return MetadataOption_METADATA_OPTION_UNSPECIFIED
}

// ObjectStorage as a mount
type Mount_ObjectStorage struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ObjectStorage bucket name for mounting.
	BucketId string `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
	// ObjectStorage bucket prefix for mounting.
	Prefix        string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Mount_ObjectStorage) ProtoMessage() {}

func (x *Mount_ObjectStorage) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 Mount_ObjectStorage.ProtoReflect.Descriptor instead.
func (*Mount_ObjectStorage) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{9, 0}
}

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

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

// Disk as a mount
type Mount_DiskSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The size of disk for mount in bytes
	Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// Optional block size of disk for mount in bytes
	BlockSize     int64 `protobuf:"varint,2,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Mount_DiskSpec) ProtoMessage() {}

func (x *Mount_DiskSpec) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 Mount_DiskSpec.ProtoReflect.Descriptor instead.
func (*Mount_DiskSpec) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{9, 1}
}

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

func (x *Mount_DiskSpec) GetBlockSize() int64 {
	if x != nil {
		return x.BlockSize
	}
	return 0
}

// Target to which a result of an invocation will be sent
type AsyncInvocationConfig_ResponseTarget struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Target:
	//
	//	*AsyncInvocationConfig_ResponseTarget_EmptyTarget
	//	*AsyncInvocationConfig_ResponseTarget_YmqTarget
	Target        isAsyncInvocationConfig_ResponseTarget_Target `protobuf_oneof:"target"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AsyncInvocationConfig_ResponseTarget) ProtoMessage() {}

func (x *AsyncInvocationConfig_ResponseTarget) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_functions_v1_function_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 AsyncInvocationConfig_ResponseTarget.ProtoReflect.Descriptor instead.
func (*AsyncInvocationConfig_ResponseTarget) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP(), []int{10, 0}
}

func (x *AsyncInvocationConfig_ResponseTarget) GetTarget() isAsyncInvocationConfig_ResponseTarget_Target {
	if x != nil {
		return x.Target
	}
	return nil
}

func (x *AsyncInvocationConfig_ResponseTarget) GetEmptyTarget() *EmptyTarget {
	if x != nil {
		if x, ok := x.Target.(*AsyncInvocationConfig_ResponseTarget_EmptyTarget); ok {
			return x.EmptyTarget
		}
	}
	return nil
}

func (x *AsyncInvocationConfig_ResponseTarget) GetYmqTarget() *YMQTarget {
	if x != nil {
		if x, ok := x.Target.(*AsyncInvocationConfig_ResponseTarget_YmqTarget); ok {
			return x.YmqTarget
		}
	}
	return nil
}

type isAsyncInvocationConfig_ResponseTarget_Target interface {
	isAsyncInvocationConfig_ResponseTarget_Target()
}

type AsyncInvocationConfig_ResponseTarget_EmptyTarget struct {
	// Target to ignore a result
	EmptyTarget *EmptyTarget `protobuf:"bytes,1,opt,name=empty_target,json=emptyTarget,proto3,oneof"`
}

type AsyncInvocationConfig_ResponseTarget_YmqTarget struct {
	// Target to send a result to ymq
	YmqTarget *YMQTarget `protobuf:"bytes,2,opt,name=ymq_target,json=ymqTarget,proto3,oneof"`
}

func (*AsyncInvocationConfig_ResponseTarget_EmptyTarget) isAsyncInvocationConfig_ResponseTarget_Target() {
}

func (*AsyncInvocationConfig_ResponseTarget_YmqTarget) isAsyncInvocationConfig_ResponseTarget_Target() {
}

var File_yandex_cloud_serverless_functions_v1_function_proto protoreflect.FileDescriptor

const file_yandex_cloud_serverless_functions_v1_function_proto_rawDesc = "" +
	"\n" +
	"3yandex/cloud/serverless/functions/v1/function.proto\x12$yandex.cloud.serverless.functions.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a'yandex/cloud/logging/v1/log_entry.proto\x1a\x1dyandex/cloud/validation.proto\"\xa8\x04\n" +
	"\bFunction\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
	"\tfolder_id\x18\x02 \x01(\tR\bfolderId\x129\n" +
	"\n" +
	"created_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x1c\n" +
	"\x04name\x18\x04 \x01(\tB\b\x8a\xc81\x043-63R\x04name\x12+\n" +
	"\vdescription\x18\x05 \x01(\tB\t\x8a\xc81\x050-256R\vdescription\x12\\\n" +
	"\x06labels\x18\x06 \x03(\v2:.yandex.cloud.serverless.functions.v1.Function.LabelsEntryB\b\x82\xc81\x04<=64R\x06labels\x12&\n" +
	"\x0fhttp_invoke_url\x18\b \x01(\tR\rhttpInvokeUrl\x12M\n" +
	"\x06status\x18\t \x01(\x0e25.yandex.cloud.serverless.functions.v1.Function.StatusR\x06status\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"S\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\f\n" +
	"\bCREATING\x10\x01\x12\n" +
	"\n" +
	"\x06ACTIVE\x10\x02\x12\f\n" +
	"\bDELETING\x10\x03\x12\t\n" +
	"\x05ERROR\x10\x04J\x04\b\a\x10\b\"\xab\r\n" +
	"\aVersion\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n" +
	"\vfunction_id\x18\x02 \x01(\tR\n" +
	"functionId\x12+\n" +
	"\vdescription\x18\x03 \x01(\tB\t\x8a\xc81\x050-256R\vdescription\x129\n" +
	"\n" +
	"created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x18\n" +
	"\aruntime\x18\x06 \x01(\tR\aruntime\x12\x1e\n" +
	"\n" +
	"entrypoint\x18\a \x01(\tR\n" +
	"entrypoint\x12M\n" +
	"\tresources\x18\b \x01(\v2/.yandex.cloud.serverless.functions.v1.ResourcesR\tresources\x12F\n" +
	"\x11execution_timeout\x18\t \x01(\v2\x19.google.protobuf.DurationR\x10executionTimeout\x12,\n" +
	"\x12service_account_id\x18\n" +
	" \x01(\tR\x10serviceAccountId\x12\x1d\n" +
	"\n" +
	"image_size\x18\f \x01(\x03R\timageSize\x12L\n" +
	"\x06status\x18\r \x01(\x0e24.yandex.cloud.serverless.functions.v1.Version.StatusR\x06status\x12\x12\n" +
	"\x04tags\x18\x0e \x03(\tR\x04tags\x12`\n" +
	"\venvironment\x18\x10 \x03(\v2>.yandex.cloud.serverless.functions.v1.Version.EnvironmentEntryR\venvironment\x12V\n" +
	"\fconnectivity\x18\x11 \x01(\v22.yandex.cloud.serverless.functions.v1.ConnectivityR\fconnectivity\x12}\n" +
	"\x16named_service_accounts\x18\x12 \x03(\v2G.yandex.cloud.serverless.functions.v1.Version.NamedServiceAccountsEntryR\x14namedServiceAccounts\x12F\n" +
	"\asecrets\x18\x13 \x03(\v2,.yandex.cloud.serverless.functions.v1.SecretR\asecrets\x12Q\n" +
	"\vlog_options\x18\x14 \x01(\v20.yandex.cloud.serverless.functions.v1.LogOptionsR\n" +
	"logOptions\x12Y\n" +
	"\x0estorage_mounts\x18\x15 \x03(\v22.yandex.cloud.serverless.functions.v1.StorageMountR\rstorageMounts\x12s\n" +
	"\x17async_invocation_config\x18\x16 \x01(\v2;.yandex.cloud.serverless.functions.v1.AsyncInvocationConfigR\x15asyncInvocationConfig\x12\x1d\n" +
	"\n" +
	"tmpfs_size\x18\x17 \x01(\x03R\ttmpfsSize\x12*\n" +
	"\vconcurrency\x18\x18 \x01(\x03B\b\xfa\xc71\x040-16R\vconcurrency\x12C\n" +
	"\x06mounts\x18\x19 \x03(\v2+.yandex.cloud.serverless.functions.v1.MountR\x06mounts\x12`\n" +
	"\x10metadata_options\x18\x1a \x01(\v25.yandex.cloud.serverless.functions.v1.MetadataOptionsR\x0fmetadataOptions\x1a>\n" +
	"\x10EnvironmentEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aG\n" +
	"\x19NamedServiceAccountsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"V\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\f\n" +
	"\bCREATING\x10\x01\x12\n" +
	"\n" +
	"\x06ACTIVE\x10\x02\x12\f\n" +
	"\bOBSOLETE\x10\x03\x12\f\n" +
	"\bDELETING\x10\x04J\x04\b\x04\x10\x05J\x04\b\v\x10\fJ\x04\b\x0f\x10\x10\"=\n" +
	"\tResources\x120\n" +
	"\x06memory\x18\x01 \x01(\x03B\x18\xfa\xc71\x14134217728-8589934592R\x06memory\"o\n" +
	"\aPackage\x12%\n" +
	"\vbucket_name\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\n" +
	"bucketName\x12%\n" +
	"\vobject_name\x18\x02 \x01(\tB\x04\xe8\xc71\x01R\n" +
	"objectName\x12\x16\n" +
	"\x06sha256\x18\x03 \x01(\tR\x06sha256\"V\n" +
	"\fConnectivity\x12\x1d\n" +
	"\n" +
	"network_id\x18\x01 \x01(\tR\tnetworkId\x12'\n" +
	"\tsubnet_id\x18\x02 \x03(\tB\n" +
	"\x8a\xc81\x02>0\x90\xc81\x01R\bsubnetId\"\xe2\x02\n" +
	"\rScalingPolicy\x12\x1f\n" +
	"\vfunction_id\x18\x01 \x01(\tR\n" +
	"functionId\x12\x10\n" +
	"\x03tag\x18\x02 \x01(\tR\x03tag\x129\n" +
	"\n" +
	"created_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12;\n" +
	"\vmodified_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
	"modifiedAt\x12>\n" +
	"\x1bprovisioned_instances_count\x18\x06 \x01(\x03R\x19provisionedInstancesCount\x120\n" +
	"\x14zone_instances_limit\x18\a \x01(\x03R\x12zoneInstancesLimit\x12.\n" +
	"\x13zone_requests_limit\x18\b \x01(\x03R\x11zoneRequestsLimitJ\x04\b\x05\x10\x06\"\x8b\x01\n" +
	"\x06Secret\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
	"\n" +
	"version_id\x18\x02 \x01(\tR\tversionId\x12\x10\n" +
	"\x03key\x18\x03 \x01(\tR\x03key\x123\n" +
	"\x14environment_variable\x18\x04 \x01(\tH\x00R\x13environmentVariableB\v\n" +
	"\treference\"\x8a\x02\n" +
	"\n" +
	"LogOptions\x12\x1a\n" +
	"\bdisabled\x18\x01 \x01(\bR\bdisabled\x12G\n" +
	"\flog_group_id\x18\x02 \x01(\tB#\xf2\xc71\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00R\n" +
	"logGroupId\x12B\n" +
	"\tfolder_id\x18\x03 \x01(\tB#\xf2\xc71\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00R\bfolderId\x12D\n" +
	"\tmin_level\x18\x04 \x01(\x0e2'.yandex.cloud.logging.v1.LogLevel.LevelR\bminLevelB\r\n" +
	"\vdestination\"\xcf\x01\n" +
	"\fStorageMount\x12;\n" +
	"\tbucket_id\x18\x01 \x01(\tB\x1e\xe8\xc71\x01\xf2\xc71\x0e[-.0-9a-zA-Z]*\x8a\xc81\x043-63R\bbucketId\x12\x16\n" +
	"\x06prefix\x18\x02 \x01(\tR\x06prefix\x12I\n" +
	"\x10mount_point_name\x18\x03 \x01(\tB\x1f\xe8\xc71\x01\xf2\xc71\x0e[-_0-9a-zA-Z]*\x8a\xc81\x051-100R\x0emountPointName\x12\x1b\n" +
	"\tread_only\x18\x04 \x01(\bR\breadOnly:\x02\x18\x01\"\xd4\x04\n" +
	"\x05Mount\x123\n" +
	"\x04name\x18\x01 \x01(\tB\x1f\xe8\xc71\x01\xf2\xc71\x0e[-_0-9a-zA-Z]*\x8a\xc81\x051-100R\x04name\x12D\n" +
	"\x04mode\x18\x03 \x01(\x0e20.yandex.cloud.serverless.functions.v1.Mount.ModeR\x04mode\x12b\n" +
	"\x0eobject_storage\x18\n" +
	" \x01(\v29.yandex.cloud.serverless.functions.v1.Mount.ObjectStorageH\x00R\robjectStorage\x12f\n" +
	"\x13ephemeral_disk_spec\x18\v \x01(\v24.yandex.cloud.serverless.functions.v1.Mount.DiskSpecH\x00R\x11ephemeralDiskSpec\x1ad\n" +
	"\rObjectStorage\x12;\n" +
	"\tbucket_id\x18\x01 \x01(\tB\x1e\xe8\xc71\x01\xf2\xc71\x0e[-.0-9a-zA-Z]*\x8a\xc81\x043-63R\bbucketId\x12\x16\n" +
	"\x06prefix\x18\x02 \x01(\tR\x06prefix\x1aE\n" +
	"\bDiskSpec\x12\x1a\n" +
	"\x04size\x18\x01 \x01(\x03B\x06\xfa\xc71\x02>0R\x04size\x12\x1d\n" +
	"\n" +
	"block_size\x18\x02 \x01(\x03R\tblockSize\";\n" +
	"\x04Mode\x12\x14\n" +
	"\x10MODE_UNSPECIFIED\x10\x00\x12\r\n" +
	"\tREAD_ONLY\x10\x01\x12\x0e\n" +
	"\n" +
	"READ_WRITE\x10\x02B\x0e\n" +
	"\x06target\x12\x04\xc0\xc11\x01J\x04\b\x02\x10\x03J\x04\b\x04\x10\n" +
	"\"\xb4\x04\n" +
	"\x15AsyncInvocationConfig\x12.\n" +
	"\rretries_count\x18\x01 \x01(\x03B\t\xfa\xc71\x050-100R\fretriesCount\x12w\n" +
	"\x0esuccess_target\x18\x02 \x01(\v2J.yandex.cloud.serverless.functions.v1.AsyncInvocationConfig.ResponseTargetB\x04\xe8\xc71\x01R\rsuccessTarget\x12w\n" +
	"\x0efailure_target\x18\x03 \x01(\v2J.yandex.cloud.serverless.functions.v1.AsyncInvocationConfig.ResponseTargetB\x04\xe8\xc71\x01R\rfailureTarget\x12,\n" +
	"\x12service_account_id\x18\x04 \x01(\tR\x10serviceAccountId\x1a\xca\x01\n" +
	"\x0eResponseTarget\x12V\n" +
	"\fempty_target\x18\x01 \x01(\v21.yandex.cloud.serverless.functions.v1.EmptyTargetH\x00R\vemptyTarget\x12P\n" +
	"\n" +
	"ymq_target\x18\x02 \x01(\v2/.yandex.cloud.serverless.functions.v1.YMQTargetH\x00R\tymqTargetB\x0e\n" +
	"\x06target\x12\x04\xc0\xc11\x01\"j\n" +
	"\tYMQTarget\x12!\n" +
	"\tqueue_arn\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\bqueueArn\x12:\n" +
	"\x12service_account_id\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x10serviceAccountId\"\r\n" +
	"\vEmptyTarget\"\xda\x01\n" +
	"\x0fMetadataOptions\x12`\n" +
	"\x11gce_http_endpoint\x18\x01 \x01(\x0e24.yandex.cloud.serverless.functions.v1.MetadataOptionR\x0fgceHttpEndpoint\x12e\n" +
	"\x14aws_v1_http_endpoint\x18\x02 \x01(\x0e24.yandex.cloud.serverless.functions.v1.MetadataOptionR\x11awsV1HttpEndpoint*L\n" +
	"\x0eMetadataOption\x12\x1f\n" +
	"\x1bMETADATA_OPTION_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aENABLED\x10\x01\x12\f\n" +
	"\bDISABLED\x10\x02B~\n" +
	"(yandex.cloud.api.serverless.functions.v1ZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/functions/v1;functionsb\x06proto3"

var (
	file_yandex_cloud_serverless_functions_v1_function_proto_rawDescOnce sync.Once
	file_yandex_cloud_serverless_functions_v1_function_proto_rawDescData []byte
)

func file_yandex_cloud_serverless_functions_v1_function_proto_rawDescGZIP() []byte {
	file_yandex_cloud_serverless_functions_v1_function_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_serverless_functions_v1_function_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_serverless_functions_v1_function_proto_rawDesc), len(file_yandex_cloud_serverless_functions_v1_function_proto_rawDesc)))
	})
	return file_yandex_cloud_serverless_functions_v1_function_proto_rawDescData
}

var file_yandex_cloud_serverless_functions_v1_function_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
var file_yandex_cloud_serverless_functions_v1_function_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
var file_yandex_cloud_serverless_functions_v1_function_proto_goTypes = []any{
	(MetadataOption)(0),           // 0: yandex.cloud.serverless.functions.v1.MetadataOption
	(Function_Status)(0),          // 1: yandex.cloud.serverless.functions.v1.Function.Status
	(Version_Status)(0),           // 2: yandex.cloud.serverless.functions.v1.Version.Status
	(Mount_Mode)(0),               // 3: yandex.cloud.serverless.functions.v1.Mount.Mode
	(*Function)(nil),              // 4: yandex.cloud.serverless.functions.v1.Function
	(*Version)(nil),               // 5: yandex.cloud.serverless.functions.v1.Version
	(*Resources)(nil),             // 6: yandex.cloud.serverless.functions.v1.Resources
	(*Package)(nil),               // 7: yandex.cloud.serverless.functions.v1.Package
	(*Connectivity)(nil),          // 8: yandex.cloud.serverless.functions.v1.Connectivity
	(*ScalingPolicy)(nil),         // 9: yandex.cloud.serverless.functions.v1.ScalingPolicy
	(*Secret)(nil),                // 10: yandex.cloud.serverless.functions.v1.Secret
	(*LogOptions)(nil),            // 11: yandex.cloud.serverless.functions.v1.LogOptions
	(*StorageMount)(nil),          // 12: yandex.cloud.serverless.functions.v1.StorageMount
	(*Mount)(nil),                 // 13: yandex.cloud.serverless.functions.v1.Mount
	(*AsyncInvocationConfig)(nil), // 14: yandex.cloud.serverless.functions.v1.AsyncInvocationConfig
	(*YMQTarget)(nil),             // 15: yandex.cloud.serverless.functions.v1.YMQTarget
	(*EmptyTarget)(nil),           // 16: yandex.cloud.serverless.functions.v1.EmptyTarget
	(*MetadataOptions)(nil),       // 17: yandex.cloud.serverless.functions.v1.MetadataOptions
	nil,                           // 18: yandex.cloud.serverless.functions.v1.Function.LabelsEntry
	nil,                           // 19: yandex.cloud.serverless.functions.v1.Version.EnvironmentEntry
	nil,                           // 20: yandex.cloud.serverless.functions.v1.Version.NamedServiceAccountsEntry
	(*Mount_ObjectStorage)(nil),   // 21: yandex.cloud.serverless.functions.v1.Mount.ObjectStorage
	(*Mount_DiskSpec)(nil),        // 22: yandex.cloud.serverless.functions.v1.Mount.DiskSpec
	(*AsyncInvocationConfig_ResponseTarget)(nil), // 23: yandex.cloud.serverless.functions.v1.AsyncInvocationConfig.ResponseTarget
	(*timestamppb.Timestamp)(nil),                // 24: google.protobuf.Timestamp
	(*durationpb.Duration)(nil),                  // 25: google.protobuf.Duration
	(v1.LogLevel_Level)(0),                       // 26: yandex.cloud.logging.v1.LogLevel.Level
}
var file_yandex_cloud_serverless_functions_v1_function_proto_depIdxs = []int32{
	24, // 0: yandex.cloud.serverless.functions.v1.Function.created_at:type_name -> google.protobuf.Timestamp
	18, // 1: yandex.cloud.serverless.functions.v1.Function.labels:type_name -> yandex.cloud.serverless.functions.v1.Function.LabelsEntry
	1,  // 2: yandex.cloud.serverless.functions.v1.Function.status:type_name -> yandex.cloud.serverless.functions.v1.Function.Status
	24, // 3: yandex.cloud.serverless.functions.v1.Version.created_at:type_name -> google.protobuf.Timestamp
	6,  // 4: yandex.cloud.serverless.functions.v1.Version.resources:type_name -> yandex.cloud.serverless.functions.v1.Resources
	25, // 5: yandex.cloud.serverless.functions.v1.Version.execution_timeout:type_name -> google.protobuf.Duration
	2,  // 6: yandex.cloud.serverless.functions.v1.Version.status:type_name -> yandex.cloud.serverless.functions.v1.Version.Status
	19, // 7: yandex.cloud.serverless.functions.v1.Version.environment:type_name -> yandex.cloud.serverless.functions.v1.Version.EnvironmentEntry
	8,  // 8: yandex.cloud.serverless.functions.v1.Version.connectivity:type_name -> yandex.cloud.serverless.functions.v1.Connectivity
	20, // 9: yandex.cloud.serverless.functions.v1.Version.named_service_accounts:type_name -> yandex.cloud.serverless.functions.v1.Version.NamedServiceAccountsEntry
	10, // 10: yandex.cloud.serverless.functions.v1.Version.secrets:type_name -> yandex.cloud.serverless.functions.v1.Secret
	11, // 11: yandex.cloud.serverless.functions.v1.Version.log_options:type_name -> yandex.cloud.serverless.functions.v1.LogOptions
	12, // 12: yandex.cloud.serverless.functions.v1.Version.storage_mounts:type_name -> yandex.cloud.serverless.functions.v1.StorageMount
	14, // 13: yandex.cloud.serverless.functions.v1.Version.async_invocation_config:type_name -> yandex.cloud.serverless.functions.v1.AsyncInvocationConfig
	13, // 14: yandex.cloud.serverless.functions.v1.Version.mounts:type_name -> yandex.cloud.serverless.functions.v1.Mount
	17, // 15: yandex.cloud.serverless.functions.v1.Version.metadata_options:type_name -> yandex.cloud.serverless.functions.v1.MetadataOptions
	24, // 16: yandex.cloud.serverless.functions.v1.ScalingPolicy.created_at:type_name -> google.protobuf.Timestamp
	24, // 17: yandex.cloud.serverless.functions.v1.ScalingPolicy.modified_at:type_name -> google.protobuf.Timestamp
	26, // 18: yandex.cloud.serverless.functions.v1.LogOptions.min_level:type_name -> yandex.cloud.logging.v1.LogLevel.Level
	3,  // 19: yandex.cloud.serverless.functions.v1.Mount.mode:type_name -> yandex.cloud.serverless.functions.v1.Mount.Mode
	21, // 20: yandex.cloud.serverless.functions.v1.Mount.object_storage:type_name -> yandex.cloud.serverless.functions.v1.Mount.ObjectStorage
	22, // 21: yandex.cloud.serverless.functions.v1.Mount.ephemeral_disk_spec:type_name -> yandex.cloud.serverless.functions.v1.Mount.DiskSpec
	23, // 22: yandex.cloud.serverless.functions.v1.AsyncInvocationConfig.success_target:type_name -> yandex.cloud.serverless.functions.v1.AsyncInvocationConfig.ResponseTarget
	23, // 23: yandex.cloud.serverless.functions.v1.AsyncInvocationConfig.failure_target:type_name -> yandex.cloud.serverless.functions.v1.AsyncInvocationConfig.ResponseTarget
	0,  // 24: yandex.cloud.serverless.functions.v1.MetadataOptions.gce_http_endpoint:type_name -> yandex.cloud.serverless.functions.v1.MetadataOption
	0,  // 25: yandex.cloud.serverless.functions.v1.MetadataOptions.aws_v1_http_endpoint:type_name -> yandex.cloud.serverless.functions.v1.MetadataOption
	16, // 26: yandex.cloud.serverless.functions.v1.AsyncInvocationConfig.ResponseTarget.empty_target:type_name -> yandex.cloud.serverless.functions.v1.EmptyTarget
	15, // 27: yandex.cloud.serverless.functions.v1.AsyncInvocationConfig.ResponseTarget.ymq_target:type_name -> yandex.cloud.serverless.functions.v1.YMQTarget
	28, // [28:28] is the sub-list for method output_type
	28, // [28:28] is the sub-list for method input_type
	28, // [28:28] is the sub-list for extension type_name
	28, // [28:28] is the sub-list for extension extendee
	0,  // [0:28] is the sub-list for field type_name
}

func init() { file_yandex_cloud_serverless_functions_v1_function_proto_init() }
func file_yandex_cloud_serverless_functions_v1_function_proto_init() {
	if File_yandex_cloud_serverless_functions_v1_function_proto != nil {
		return
	}
	file_yandex_cloud_serverless_functions_v1_function_proto_msgTypes[6].OneofWrappers = []any{
		(*Secret_EnvironmentVariable)(nil),
	}
	file_yandex_cloud_serverless_functions_v1_function_proto_msgTypes[7].OneofWrappers = []any{
		(*LogOptions_LogGroupId)(nil),
		(*LogOptions_FolderId)(nil),
	}
	file_yandex_cloud_serverless_functions_v1_function_proto_msgTypes[9].OneofWrappers = []any{
		(*Mount_ObjectStorage_)(nil),
		(*Mount_EphemeralDiskSpec)(nil),
	}
	file_yandex_cloud_serverless_functions_v1_function_proto_msgTypes[19].OneofWrappers = []any{
		(*AsyncInvocationConfig_ResponseTarget_EmptyTarget)(nil),
		(*AsyncInvocationConfig_ResponseTarget_YmqTarget)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_serverless_functions_v1_function_proto_rawDesc), len(file_yandex_cloud_serverless_functions_v1_function_proto_rawDesc)),
			NumEnums:      4,
			NumMessages:   20,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_serverless_functions_v1_function_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_serverless_functions_v1_function_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_serverless_functions_v1_function_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_serverless_functions_v1_function_proto_msgTypes,
	}.Build()
	File_yandex_cloud_serverless_functions_v1_function_proto = out.File
	file_yandex_cloud_serverless_functions_v1_function_proto_goTypes = nil
	file_yandex_cloud_serverless_functions_v1_function_proto_depIdxs = nil
}
