// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v6.31.1
// source: github.com/buildbarn/bb-remote-execution/pkg/proto/bazeloutputservice/rev2/bazel_output_service_rev2.proto

package bazeloutputservicerev2

import (
	v2 "github.com/bazelbuild/remote-apis/build/bazel/remote/execution/v2"
	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)
)

type StartBuildArgs struct {
	state          protoimpl.MessageState  `protogen:"open.v1"`
	RemoteCache    string                  `protobuf:"bytes,1,opt,name=remote_cache,json=remoteCache,proto3" json:"remote_cache,omitempty"`
	InstanceName   string                  `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
	DigestFunction v2.DigestFunction_Value `protobuf:"varint,3,opt,name=digest_function,json=digestFunction,proto3,enum=build.bazel.remote.execution.v2.DigestFunction_Value" json:"digest_function,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*StartBuildArgs) ProtoMessage() {}

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

func (x *StartBuildArgs) GetRemoteCache() string {
	if x != nil {
		return x.RemoteCache
	}
	return ""
}

func (x *StartBuildArgs) GetInstanceName() string {
	if x != nil {
		return x.InstanceName
	}
	return ""
}

func (x *StartBuildArgs) GetDigestFunction() v2.DigestFunction_Value {
	if x != nil {
		return x.DigestFunction
	}
	return v2.DigestFunction_Value(0)
}

type FileArtifactLocator struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Digest        *v2.Digest             `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*FileArtifactLocator) ProtoMessage() {}

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

func (x *FileArtifactLocator) GetDigest() *v2.Digest {
	if x != nil {
		return x.Digest
	}
	return nil
}

type TreeArtifactLocator struct {
	state               protoimpl.MessageState `protogen:"open.v1"`
	TreeDigest          *v2.Digest             `protobuf:"bytes,1,opt,name=tree_digest,json=treeDigest,proto3" json:"tree_digest,omitempty"`
	RootDirectoryDigest *v2.Digest             `protobuf:"bytes,2,opt,name=root_directory_digest,json=rootDirectoryDigest,proto3" json:"root_directory_digest,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

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

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

func (*TreeArtifactLocator) ProtoMessage() {}

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

func (x *TreeArtifactLocator) GetTreeDigest() *v2.Digest {
	if x != nil {
		return x.TreeDigest
	}
	return nil
}

func (x *TreeArtifactLocator) GetRootDirectoryDigest() *v2.Digest {
	if x != nil {
		return x.RootDirectoryDigest
	}
	return nil
}

var File_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto protoreflect.FileDescriptor

const file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_rawDesc = "" +
	"\n" +
	"jgithub.com/buildbarn/bb-remote-execution/pkg/proto/bazeloutputservice/rev2/bazel_output_service_rev2.proto\x12\x19bazel_output_service_rev2\x1a6build/bazel/remote/execution/v2/remote_execution.proto\"\xb8\x01\n" +
	"\x0eStartBuildArgs\x12!\n" +
	"\fremote_cache\x18\x01 \x01(\tR\vremoteCache\x12#\n" +
	"\rinstance_name\x18\x02 \x01(\tR\finstanceName\x12^\n" +
	"\x0fdigest_function\x18\x03 \x01(\x0e25.build.bazel.remote.execution.v2.DigestFunction.ValueR\x0edigestFunction\"V\n" +
	"\x13FileArtifactLocator\x12?\n" +
	"\x06digest\x18\x01 \x01(\v2'.build.bazel.remote.execution.v2.DigestR\x06digest\"\xbc\x01\n" +
	"\x13TreeArtifactLocator\x12H\n" +
	"\vtree_digest\x18\x01 \x01(\v2'.build.bazel.remote.execution.v2.DigestR\n" +
	"treeDigest\x12[\n" +
	"\x15root_directory_digest\x18\x02 \x01(\v2'.build.bazel.remote.execution.v2.DigestR\x13rootDirectoryDigestB[\n" +
	"$com.google.devtools.build.lib.remoteB\x1bBazelOutputServiceREv2ProtoZ\x16bazeloutputservicerev2b\x06proto3"

var (
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_rawDescOnce sync.Once
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_rawDescData []byte
)

func file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_rawDescGZIP() []byte {
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_rawDescOnce.Do(func() {
		file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_rawDesc), len(file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_rawDesc)))
	})
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_rawDescData
}

var file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_goTypes = []any{
	(*StartBuildArgs)(nil),       // 0: bazel_output_service_rev2.StartBuildArgs
	(*FileArtifactLocator)(nil),  // 1: bazel_output_service_rev2.FileArtifactLocator
	(*TreeArtifactLocator)(nil),  // 2: bazel_output_service_rev2.TreeArtifactLocator
	(v2.DigestFunction_Value)(0), // 3: build.bazel.remote.execution.v2.DigestFunction.Value
	(*v2.Digest)(nil),            // 4: build.bazel.remote.execution.v2.Digest
}
var file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_depIdxs = []int32{
	3, // 0: bazel_output_service_rev2.StartBuildArgs.digest_function:type_name -> build.bazel.remote.execution.v2.DigestFunction.Value
	4, // 1: bazel_output_service_rev2.FileArtifactLocator.digest:type_name -> build.bazel.remote.execution.v2.Digest
	4, // 2: bazel_output_service_rev2.TreeArtifactLocator.tree_digest:type_name -> build.bazel.remote.execution.v2.Digest
	4, // 3: bazel_output_service_rev2.TreeArtifactLocator.root_directory_digest:type_name -> build.bazel.remote.execution.v2.Digest
	4, // [4:4] is the sub-list for method output_type
	4, // [4:4] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() {
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_init()
}
func file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_init() {
	if File_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_rawDesc), len(file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_goTypes,
		DependencyIndexes: file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_depIdxs,
		MessageInfos:      file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_msgTypes,
	}.Build()
	File_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto = out.File
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_goTypes = nil
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_bazeloutputservice_rev2_bazel_output_service_rev2_proto_depIdxs = nil
}
