// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v3.21.12
// source: yandex/cloud/loadtesting/api/v1/test/file_pointer.proto

package test

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	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)
)

// Variant-like structure for referencing files in different sources.
type FilePointer struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to FilePointer:
	//
	//	*FilePointer_ObjectStorage
	FilePointer   isFilePointer_FilePointer `protobuf_oneof:"file_pointer"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*FilePointer) ProtoMessage() {}

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

func (x *FilePointer) GetFilePointer() isFilePointer_FilePointer {
	if x != nil {
		return x.FilePointer
	}
	return nil
}

func (x *FilePointer) GetObjectStorage() *ObjectStorage {
	if x != nil {
		if x, ok := x.FilePointer.(*FilePointer_ObjectStorage); ok {
			return x.ObjectStorage
		}
	}
	return nil
}

type isFilePointer_FilePointer interface {
	isFilePointer_FilePointer()
}

type FilePointer_ObjectStorage struct {
	// Reference to a file in Object Storage.
	ObjectStorage *ObjectStorage `protobuf:"bytes,1,opt,name=object_storage,json=objectStorage,proto3,oneof"`
}

func (*FilePointer_ObjectStorage) isFilePointer_FilePointer() {}

var File_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto protoreflect.FileDescriptor

const file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_rawDesc = "" +
	"\n" +
	"7yandex/cloud/loadtesting/api/v1/test/file_pointer.proto\x12$yandex.cloud.loadtesting.api.v1.test\x1a9yandex/cloud/loadtesting/api/v1/test/object_storage.proto\"{\n" +
	"\vFilePointer\x12\\\n" +
	"\x0eobject_storage\x18\x01 \x01(\v23.yandex.cloud.loadtesting.api.v1.test.ObjectStorageH\x00R\robjectStorageB\x0e\n" +
	"\ffile_pointerBy\n" +
	"(yandex.cloud.api.loadtesting.api.v1.testZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1/test;testb\x06proto3"

var (
	file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_rawDescOnce sync.Once
	file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_rawDescData []byte
)

func file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_rawDescGZIP() []byte {
	file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_rawDesc), len(file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_rawDesc)))
	})
	return file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_rawDescData
}

var file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_goTypes = []any{
	(*FilePointer)(nil),   // 0: yandex.cloud.loadtesting.api.v1.test.FilePointer
	(*ObjectStorage)(nil), // 1: yandex.cloud.loadtesting.api.v1.test.ObjectStorage
}
var file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_depIdxs = []int32{
	1, // 0: yandex.cloud.loadtesting.api.v1.test.FilePointer.object_storage:type_name -> yandex.cloud.loadtesting.api.v1.test.ObjectStorage
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_init() }
func file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_init() {
	if File_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto != nil {
		return
	}
	file_yandex_cloud_loadtesting_api_v1_test_object_storage_proto_init()
	file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_msgTypes[0].OneofWrappers = []any{
		(*FilePointer_ObjectStorage)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_rawDesc), len(file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_msgTypes,
	}.Build()
	File_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto = out.File
	file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_goTypes = nil
	file_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto_depIdxs = nil
}
