Files
waf-platform/EdgeCommon/pkg/rpc/pb/service_client_agent.pb.go
2026-03-22 17:37:40 +08:00

169 lines
5.7 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v3.19.6
// source: service_client_agent.proto
package pb
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)
)
// 查找所有Agent
type FindAllClientAgentsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindAllClientAgentsRequest) Reset() {
*x = FindAllClientAgentsRequest{}
mi := &file_service_client_agent_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FindAllClientAgentsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllClientAgentsRequest) ProtoMessage() {}
func (x *FindAllClientAgentsRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_client_agent_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 FindAllClientAgentsRequest.ProtoReflect.Descriptor instead.
func (*FindAllClientAgentsRequest) Descriptor() ([]byte, []int) {
return file_service_client_agent_proto_rawDescGZIP(), []int{0}
}
type FindAllClientAgentsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClientAgents []*ClientAgent `protobuf:"bytes,1,rep,name=clientAgents,proto3" json:"clientAgents,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindAllClientAgentsResponse) Reset() {
*x = FindAllClientAgentsResponse{}
mi := &file_service_client_agent_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FindAllClientAgentsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllClientAgentsResponse) ProtoMessage() {}
func (x *FindAllClientAgentsResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_client_agent_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 FindAllClientAgentsResponse.ProtoReflect.Descriptor instead.
func (*FindAllClientAgentsResponse) Descriptor() ([]byte, []int) {
return file_service_client_agent_proto_rawDescGZIP(), []int{1}
}
func (x *FindAllClientAgentsResponse) GetClientAgents() []*ClientAgent {
if x != nil {
return x.ClientAgents
}
return nil
}
var File_service_client_agent_proto protoreflect.FileDescriptor
const file_service_client_agent_proto_rawDesc = "" +
"\n" +
"\x1aservice_client_agent.proto\x12\x02pb\x1a\x1fmodels/model_client_agent.proto\"\x1c\n" +
"\x1aFindAllClientAgentsRequest\"R\n" +
"\x1bFindAllClientAgentsResponse\x123\n" +
"\fclientAgents\x18\x01 \x03(\v2\x0f.pb.ClientAgentR\fclientAgents2l\n" +
"\x12ClientAgentService\x12V\n" +
"\x13findAllClientAgents\x12\x1e.pb.FindAllClientAgentsRequest\x1a\x1f.pb.FindAllClientAgentsResponseB\x06Z\x04./pbb\x06proto3"
var (
file_service_client_agent_proto_rawDescOnce sync.Once
file_service_client_agent_proto_rawDescData []byte
)
func file_service_client_agent_proto_rawDescGZIP() []byte {
file_service_client_agent_proto_rawDescOnce.Do(func() {
file_service_client_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_client_agent_proto_rawDesc), len(file_service_client_agent_proto_rawDesc)))
})
return file_service_client_agent_proto_rawDescData
}
var file_service_client_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_service_client_agent_proto_goTypes = []any{
(*FindAllClientAgentsRequest)(nil), // 0: pb.FindAllClientAgentsRequest
(*FindAllClientAgentsResponse)(nil), // 1: pb.FindAllClientAgentsResponse
(*ClientAgent)(nil), // 2: pb.ClientAgent
}
var file_service_client_agent_proto_depIdxs = []int32{
2, // 0: pb.FindAllClientAgentsResponse.clientAgents:type_name -> pb.ClientAgent
0, // 1: pb.ClientAgentService.findAllClientAgents:input_type -> pb.FindAllClientAgentsRequest
1, // 2: pb.ClientAgentService.findAllClientAgents:output_type -> pb.FindAllClientAgentsResponse
2, // [2:3] is the sub-list for method output_type
1, // [1:2] 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_service_client_agent_proto_init() }
func file_service_client_agent_proto_init() {
if File_service_client_agent_proto != nil {
return
}
file_models_model_client_agent_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_client_agent_proto_rawDesc), len(file_service_client_agent_proto_rawDesc)),
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_service_client_agent_proto_goTypes,
DependencyIndexes: file_service_client_agent_proto_depIdxs,
MessageInfos: file_service_client_agent_proto_msgTypes,
}.Build()
File_service_client_agent_proto = out.File
file_service_client_agent_proto_goTypes = nil
file_service_client_agent_proto_depIdxs = nil
}