// Copyright 2016-2022 Fraunhofer AISEC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//           $$\                           $$\ $$\   $$\
//           $$ |                          $$ |\__|  $$ |
//  $$$$$$$\ $$ | $$$$$$\  $$\   $$\  $$$$$$$ |$$\ $$$$$$\    $$$$$$\   $$$$$$\
// $$  _____|$$ |$$  __$$\ $$ |  $$ |$$  __$$ |$$ |\_$$  _|  $$  __$$\ $$  __$$\
// $$ /      $$ |$$ /  $$ |$$ |  $$ |$$ /  $$ |$$ |  $$ |    $$ /  $$ |$$ | \__|
// $$ |      $$ |$$ |  $$ |$$ |  $$ |$$ |  $$ |$$ |  $$ |$$\ $$ |  $$ |$$ |
// \$$$$$$\  $$ |\$$$$$   |\$$$$$   |\$$$$$$  |$$ |  \$$$   |\$$$$$   |$$ |
//  \_______|\__| \______/  \______/  \_______|\__|   \____/  \______/ \__|
//
// This file is part of Clouditor Community Edition.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        (unknown)
// source: api/evidence/experimental.proto

package evidence

import (
	_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	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 UpdateResourceRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Resource      *Resource              `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateResourceRequest) ProtoMessage() {}

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

func (x *UpdateResourceRequest) GetResource() *Resource {
	if x != nil {
		return x.Resource
	}
	return nil
}

type ListGraphEdgesRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	PageSize      int32                  `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken     string                 `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy       string                 `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc           bool                   `protobuf:"varint,13,opt,name=asc,proto3" json:"asc,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListGraphEdgesRequest) ProtoMessage() {}

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

func (x *ListGraphEdgesRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListGraphEdgesRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

func (x *ListGraphEdgesRequest) GetOrderBy() string {
	if x != nil {
		return x.OrderBy
	}
	return ""
}

func (x *ListGraphEdgesRequest) GetAsc() bool {
	if x != nil {
		return x.Asc
	}
	return false
}

type ListGraphEdgesResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Edges         []*GraphEdge           `protobuf:"bytes,1,rep,name=edges,proto3" json:"edges,omitempty"`
	NextPageToken string                 `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListGraphEdgesResponse) ProtoMessage() {}

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

func (x *ListGraphEdgesResponse) GetEdges() []*GraphEdge {
	if x != nil {
		return x.Edges
	}
	return nil
}

func (x *ListGraphEdgesResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

type GraphEdge struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Source        string                 `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	Target        string                 `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	Type          string                 `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GraphEdge) ProtoMessage() {}

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

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

func (x *GraphEdge) GetSource() string {
	if x != nil {
		return x.Source
	}
	return ""
}

func (x *GraphEdge) GetTarget() string {
	if x != nil {
		return x.Target
	}
	return ""
}

func (x *GraphEdge) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

var File_api_evidence_experimental_proto protoreflect.FileDescriptor

const file_api_evidence_experimental_proto_rawDesc = "" +
	"\n" +
	"\x1fapi/evidence/experimental.proto\x12!clouditor.evidence.v1experimental\x1a\x1bapi/evidence/evidence.proto\x1a\x1bbuf/validate/validate.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\"Y\n" +
	"\x15UpdateResourceRequest\x12@\n" +
	"\bresource\x18\x01 \x01(\v2\x1f.clouditor.evidence.v1.ResourceB\x03\xe0A\x02R\bresource\"\x80\x01\n" +
	"\x15ListGraphEdgesRequest\x12\x1b\n" +
	"\tpage_size\x18\n" +
	" \x01(\x05R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18\v \x01(\tR\tpageToken\x12\x19\n" +
	"\border_by\x18\f \x01(\tR\aorderBy\x12\x10\n" +
	"\x03asc\x18\r \x01(\bR\x03asc\"\x89\x01\n" +
	"\x16ListGraphEdgesResponse\x12G\n" +
	"\x05edges\x18\x01 \x03(\v2,.clouditor.evidence.v1experimental.GraphEdgeB\x03\xe0A\x02R\x05edges\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\x88\x01\n" +
	"\tGraphEdge\x12\x1a\n" +
	"\x02id\x18\x01 \x01(\tB\n" +
	"\xe0A\x02\xbaH\x04r\x02\x10\x01R\x02id\x12\"\n" +
	"\x06source\x18\x02 \x01(\tB\n" +
	"\xe0A\x02\xbaH\x04r\x02\x10\x01R\x06source\x12\"\n" +
	"\x06target\x18\x03 \x01(\tB\n" +
	"\xe0A\x02\xbaH\x04r\x02\x10\x01R\x06target\x12\x17\n" +
	"\x04type\x18\x04 \x01(\tB\x03\xe0A\x02R\x04type2\xfe\x02\n" +
	"\x15ExperimentalResources\x12\xae\x01\n" +
	"\x0eUpdateResource\x128.clouditor.evidence.v1experimental.UpdateResourceRequest\x1a\x1f.clouditor.evidence.v1.Resource\"A\x82\xd3\xe4\x93\x02;:\x01*\"6/v1experimental/evidence_store/resources/{resource.id}\x12\xb3\x01\n" +
	"\x0eListGraphEdges\x128.clouditor.evidence.v1experimental.ListGraphEdgesRequest\x1a9.clouditor.evidence.v1experimental.ListGraphEdgesResponse\",\x82\xd3\xe4\x93\x02&\x12$/v1experimental/evidence/graph/edgesB(Z&clouditor.io/clouditor/v2/api/evidenceb\x06proto3"

var (
	file_api_evidence_experimental_proto_rawDescOnce sync.Once
	file_api_evidence_experimental_proto_rawDescData []byte
)

func file_api_evidence_experimental_proto_rawDescGZIP() []byte {
	file_api_evidence_experimental_proto_rawDescOnce.Do(func() {
		file_api_evidence_experimental_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_evidence_experimental_proto_rawDesc), len(file_api_evidence_experimental_proto_rawDesc)))
	})
	return file_api_evidence_experimental_proto_rawDescData
}

var file_api_evidence_experimental_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_api_evidence_experimental_proto_goTypes = []any{
	(*UpdateResourceRequest)(nil),  // 0: clouditor.evidence.v1experimental.UpdateResourceRequest
	(*ListGraphEdgesRequest)(nil),  // 1: clouditor.evidence.v1experimental.ListGraphEdgesRequest
	(*ListGraphEdgesResponse)(nil), // 2: clouditor.evidence.v1experimental.ListGraphEdgesResponse
	(*GraphEdge)(nil),              // 3: clouditor.evidence.v1experimental.GraphEdge
	(*Resource)(nil),               // 4: clouditor.evidence.v1.Resource
}
var file_api_evidence_experimental_proto_depIdxs = []int32{
	4, // 0: clouditor.evidence.v1experimental.UpdateResourceRequest.resource:type_name -> clouditor.evidence.v1.Resource
	3, // 1: clouditor.evidence.v1experimental.ListGraphEdgesResponse.edges:type_name -> clouditor.evidence.v1experimental.GraphEdge
	0, // 2: clouditor.evidence.v1experimental.ExperimentalResources.UpdateResource:input_type -> clouditor.evidence.v1experimental.UpdateResourceRequest
	1, // 3: clouditor.evidence.v1experimental.ExperimentalResources.ListGraphEdges:input_type -> clouditor.evidence.v1experimental.ListGraphEdgesRequest
	4, // 4: clouditor.evidence.v1experimental.ExperimentalResources.UpdateResource:output_type -> clouditor.evidence.v1.Resource
	2, // 5: clouditor.evidence.v1experimental.ExperimentalResources.ListGraphEdges:output_type -> clouditor.evidence.v1experimental.ListGraphEdgesResponse
	4, // [4:6] is the sub-list for method output_type
	2, // [2:4] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_api_evidence_experimental_proto_init() }
func file_api_evidence_experimental_proto_init() {
	if File_api_evidence_experimental_proto != nil {
		return
	}
	file_api_evidence_evidence_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_evidence_experimental_proto_rawDesc), len(file_api_evidence_experimental_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_api_evidence_experimental_proto_goTypes,
		DependencyIndexes: file_api_evidence_experimental_proto_depIdxs,
		MessageInfos:      file_api_evidence_experimental_proto_msgTypes,
	}.Build()
	File_api_evidence_experimental_proto = out.File
	file_api_evidence_experimental_proto_goTypes = nil
	file_api_evidence_experimental_proto_depIdxs = nil
}
