// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v4.24.4
// source: in_toto_attestation/predicates/svr/v0.1/svr.proto

package v01

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

// Proto representation of predicate type https://in-toto.io/attestation/svr/v0.1
type SimpleVerificationResult struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Verifier describes the verification engine (policy engine). The verifier
	// provides meaning to the data recorded in the policy field.
	Verifier *SimpleVerificationResult_Verifier `protobuf:"bytes,1,opt,name=verifier,proto3" json:"verifier,omitempty"`
	// Creation timestamp, reflecting when the verification took place.
	TimeCreated *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"`
	// List of labels representing the verified properties. These strings are
	// application-specific.
	Properties    []string `protobuf:"bytes,3,rep,name=properties,proto3" json:"properties,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SimpleVerificationResult) ProtoMessage() {}

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

func (x *SimpleVerificationResult) GetVerifier() *SimpleVerificationResult_Verifier {
	if x != nil {
		return x.Verifier
	}
	return nil
}

func (x *SimpleVerificationResult) GetTimeCreated() *timestamppb.Timestamp {
	if x != nil {
		return x.TimeCreated
	}
	return nil
}

func (x *SimpleVerificationResult) GetProperties() []string {
	if x != nil {
		return x.Properties
	}
	return nil
}

type SimpleVerificationResult_Verifier struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Policy        *anypb.Any             `protobuf:"bytes,2,opt,name=policy,proto3,oneof" json:"policy,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SimpleVerificationResult_Verifier) ProtoMessage() {}

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

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

func (x *SimpleVerificationResult_Verifier) GetPolicy() *anypb.Any {
	if x != nil {
		return x.Policy
	}
	return nil
}

var File_in_toto_attestation_predicates_svr_v0_1_svr_proto protoreflect.FileDescriptor

const file_in_toto_attestation_predicates_svr_v0_1_svr_proto_rawDesc = "" +
	"\n" +
	"1in_toto_attestation/predicates/svr/v0.1/svr.proto\x12'in_toto_attestation.predicates.svr.v0_1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto\"\xbb\x02\n" +
	"\x18SimpleVerificationResult\x12f\n" +
	"\bverifier\x18\x01 \x01(\v2J.in_toto_attestation.predicates.svr.v0_1.SimpleVerificationResult.VerifierR\bverifier\x12=\n" +
	"\ftime_created\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\vtimeCreated\x12\x1e\n" +
	"\n" +
	"properties\x18\x03 \x03(\tR\n" +
	"properties\x1aX\n" +
	"\bVerifier\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x121\n" +
	"\x06policy\x18\x02 \x01(\v2\x14.google.protobuf.AnyH\x00R\x06policy\x88\x01\x01B\t\n" +
	"\a_policyBg\n" +
	"/io.github.intoto.attestation.predicates.svr.v01Z4github.com/in-toto/attestation/go/predicates/svr/v01b\x06proto3"

var (
	file_in_toto_attestation_predicates_svr_v0_1_svr_proto_rawDescOnce sync.Once
	file_in_toto_attestation_predicates_svr_v0_1_svr_proto_rawDescData []byte
)

func file_in_toto_attestation_predicates_svr_v0_1_svr_proto_rawDescGZIP() []byte {
	file_in_toto_attestation_predicates_svr_v0_1_svr_proto_rawDescOnce.Do(func() {
		file_in_toto_attestation_predicates_svr_v0_1_svr_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_in_toto_attestation_predicates_svr_v0_1_svr_proto_rawDesc), len(file_in_toto_attestation_predicates_svr_v0_1_svr_proto_rawDesc)))
	})
	return file_in_toto_attestation_predicates_svr_v0_1_svr_proto_rawDescData
}

var file_in_toto_attestation_predicates_svr_v0_1_svr_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_in_toto_attestation_predicates_svr_v0_1_svr_proto_goTypes = []any{
	(*SimpleVerificationResult)(nil),          // 0: in_toto_attestation.predicates.svr.v0_1.SimpleVerificationResult
	(*SimpleVerificationResult_Verifier)(nil), // 1: in_toto_attestation.predicates.svr.v0_1.SimpleVerificationResult.Verifier
	(*timestamppb.Timestamp)(nil),             // 2: google.protobuf.Timestamp
	(*anypb.Any)(nil),                         // 3: google.protobuf.Any
}
var file_in_toto_attestation_predicates_svr_v0_1_svr_proto_depIdxs = []int32{
	1, // 0: in_toto_attestation.predicates.svr.v0_1.SimpleVerificationResult.verifier:type_name -> in_toto_attestation.predicates.svr.v0_1.SimpleVerificationResult.Verifier
	2, // 1: in_toto_attestation.predicates.svr.v0_1.SimpleVerificationResult.time_created:type_name -> google.protobuf.Timestamp
	3, // 2: in_toto_attestation.predicates.svr.v0_1.SimpleVerificationResult.Verifier.policy:type_name -> google.protobuf.Any
	3, // [3:3] is the sub-list for method output_type
	3, // [3:3] is the sub-list for method input_type
	3, // [3:3] is the sub-list for extension type_name
	3, // [3:3] is the sub-list for extension extendee
	0, // [0:3] is the sub-list for field type_name
}

func init() { file_in_toto_attestation_predicates_svr_v0_1_svr_proto_init() }
func file_in_toto_attestation_predicates_svr_v0_1_svr_proto_init() {
	if File_in_toto_attestation_predicates_svr_v0_1_svr_proto != nil {
		return
	}
	file_in_toto_attestation_predicates_svr_v0_1_svr_proto_msgTypes[1].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_in_toto_attestation_predicates_svr_v0_1_svr_proto_rawDesc), len(file_in_toto_attestation_predicates_svr_v0_1_svr_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_in_toto_attestation_predicates_svr_v0_1_svr_proto_goTypes,
		DependencyIndexes: file_in_toto_attestation_predicates_svr_v0_1_svr_proto_depIdxs,
		MessageInfos:      file_in_toto_attestation_predicates_svr_v0_1_svr_proto_msgTypes,
	}.Build()
	File_in_toto_attestation_predicates_svr_v0_1_svr_proto = out.File
	file_in_toto_attestation_predicates_svr_v0_1_svr_proto_goTypes = nil
	file_in_toto_attestation_predicates_svr_v0_1_svr_proto_depIdxs = nil
}
