Files
softplayer-go-proto/pkg/projects/v1/projects_v1.pb.go

396 lines
13 KiB
Go

/// Protobuf definitions for the accounts service.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc (unknown)
// source: projects/v1/projects_v1.proto
package v1
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)
)
type CreateProjectRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateProjectRequest) Reset() {
*x = CreateProjectRequest{}
mi := &file_projects_v1_projects_v1_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateProjectRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateProjectRequest) ProtoMessage() {}
func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message {
mi := &file_projects_v1_projects_v1_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 CreateProjectRequest.ProtoReflect.Descriptor instead.
func (*CreateProjectRequest) Descriptor() ([]byte, []int) {
return file_projects_v1_projects_v1_proto_rawDescGZIP(), []int{0}
}
type CreateProjectResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateProjectResponse) Reset() {
*x = CreateProjectResponse{}
mi := &file_projects_v1_projects_v1_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateProjectResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateProjectResponse) ProtoMessage() {}
func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message {
mi := &file_projects_v1_projects_v1_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 CreateProjectResponse.ProtoReflect.Descriptor instead.
func (*CreateProjectResponse) Descriptor() ([]byte, []int) {
return file_projects_v1_projects_v1_proto_rawDescGZIP(), []int{1}
}
type GetProjectRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetProjectRequest) Reset() {
*x = GetProjectRequest{}
mi := &file_projects_v1_projects_v1_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetProjectRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetProjectRequest) ProtoMessage() {}
func (x *GetProjectRequest) ProtoReflect() protoreflect.Message {
mi := &file_projects_v1_projects_v1_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 GetProjectRequest.ProtoReflect.Descriptor instead.
func (*GetProjectRequest) Descriptor() ([]byte, []int) {
return file_projects_v1_projects_v1_proto_rawDescGZIP(), []int{2}
}
type GetProjectResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetProjectResponse) Reset() {
*x = GetProjectResponse{}
mi := &file_projects_v1_projects_v1_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetProjectResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetProjectResponse) ProtoMessage() {}
func (x *GetProjectResponse) ProtoReflect() protoreflect.Message {
mi := &file_projects_v1_projects_v1_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 GetProjectResponse.ProtoReflect.Descriptor instead.
func (*GetProjectResponse) Descriptor() ([]byte, []int) {
return file_projects_v1_projects_v1_proto_rawDescGZIP(), []int{3}
}
type ListProjectsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListProjectsRequest) Reset() {
*x = ListProjectsRequest{}
mi := &file_projects_v1_projects_v1_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListProjectsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListProjectsRequest) ProtoMessage() {}
func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message {
mi := &file_projects_v1_projects_v1_proto_msgTypes[4]
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 ListProjectsRequest.ProtoReflect.Descriptor instead.
func (*ListProjectsRequest) Descriptor() ([]byte, []int) {
return file_projects_v1_projects_v1_proto_rawDescGZIP(), []int{4}
}
type ListProjectsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListProjectsResponse) Reset() {
*x = ListProjectsResponse{}
mi := &file_projects_v1_projects_v1_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListProjectsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListProjectsResponse) ProtoMessage() {}
func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message {
mi := &file_projects_v1_projects_v1_proto_msgTypes[5]
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 ListProjectsResponse.ProtoReflect.Descriptor instead.
func (*ListProjectsResponse) Descriptor() ([]byte, []int) {
return file_projects_v1_projects_v1_proto_rawDescGZIP(), []int{5}
}
type UpdateProjectRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateProjectRequest) Reset() {
*x = UpdateProjectRequest{}
mi := &file_projects_v1_projects_v1_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateProjectRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateProjectRequest) ProtoMessage() {}
func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message {
mi := &file_projects_v1_projects_v1_proto_msgTypes[6]
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 UpdateProjectRequest.ProtoReflect.Descriptor instead.
func (*UpdateProjectRequest) Descriptor() ([]byte, []int) {
return file_projects_v1_projects_v1_proto_rawDescGZIP(), []int{6}
}
type UpdateProjectResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateProjectResponse) Reset() {
*x = UpdateProjectResponse{}
mi := &file_projects_v1_projects_v1_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateProjectResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateProjectResponse) ProtoMessage() {}
func (x *UpdateProjectResponse) ProtoReflect() protoreflect.Message {
mi := &file_projects_v1_projects_v1_proto_msgTypes[7]
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 UpdateProjectResponse.ProtoReflect.Descriptor instead.
func (*UpdateProjectResponse) Descriptor() ([]byte, []int) {
return file_projects_v1_projects_v1_proto_rawDescGZIP(), []int{7}
}
var File_projects_v1_projects_v1_proto protoreflect.FileDescriptor
const file_projects_v1_projects_v1_proto_rawDesc = "" +
"\n" +
"\x1dprojects/v1/projects_v1.proto\x12\vprojects.v1\"\x16\n" +
"\x14CreateProjectRequest\"\x17\n" +
"\x15CreateProjectResponse\"\x13\n" +
"\x11GetProjectRequest\"\x14\n" +
"\x12GetProjectResponse\"\x15\n" +
"\x13ListProjectsRequest\"\x16\n" +
"\x14ListProjectsResponse\"\x16\n" +
"\x14UpdateProjectRequest\"\x17\n" +
"\x15UpdateProjectResponse2\xef\x02\n" +
"\x0fProjectsService\x12X\n" +
"\rCreateProject\x12!.projects.v1.CreateProjectRequest\x1a\".projects.v1.CreateProjectResponse\"\x00\x12O\n" +
"\n" +
"GetProject\x12\x1e.projects.v1.GetProjectRequest\x1a\x1f.projects.v1.GetProjectResponse\"\x00\x12W\n" +
"\fListProjects\x12 .projects.v1.ListProjectsRequest\x1a!.projects.v1.ListProjectsResponse\"\x000\x01\x12X\n" +
"\rUpdateProject\x12!.projects.v1.UpdateProjectRequest\x1a\".projects.v1.UpdateProjectResponse\"\x00BIZGgitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg/projects/v1b\x06proto3"
var (
file_projects_v1_projects_v1_proto_rawDescOnce sync.Once
file_projects_v1_projects_v1_proto_rawDescData []byte
)
func file_projects_v1_projects_v1_proto_rawDescGZIP() []byte {
file_projects_v1_projects_v1_proto_rawDescOnce.Do(func() {
file_projects_v1_projects_v1_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_projects_v1_projects_v1_proto_rawDesc), len(file_projects_v1_projects_v1_proto_rawDesc)))
})
return file_projects_v1_projects_v1_proto_rawDescData
}
var file_projects_v1_projects_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_projects_v1_projects_v1_proto_goTypes = []any{
(*CreateProjectRequest)(nil), // 0: projects.v1.CreateProjectRequest
(*CreateProjectResponse)(nil), // 1: projects.v1.CreateProjectResponse
(*GetProjectRequest)(nil), // 2: projects.v1.GetProjectRequest
(*GetProjectResponse)(nil), // 3: projects.v1.GetProjectResponse
(*ListProjectsRequest)(nil), // 4: projects.v1.ListProjectsRequest
(*ListProjectsResponse)(nil), // 5: projects.v1.ListProjectsResponse
(*UpdateProjectRequest)(nil), // 6: projects.v1.UpdateProjectRequest
(*UpdateProjectResponse)(nil), // 7: projects.v1.UpdateProjectResponse
}
var file_projects_v1_projects_v1_proto_depIdxs = []int32{
0, // 0: projects.v1.ProjectsService.CreateProject:input_type -> projects.v1.CreateProjectRequest
2, // 1: projects.v1.ProjectsService.GetProject:input_type -> projects.v1.GetProjectRequest
4, // 2: projects.v1.ProjectsService.ListProjects:input_type -> projects.v1.ListProjectsRequest
6, // 3: projects.v1.ProjectsService.UpdateProject:input_type -> projects.v1.UpdateProjectRequest
1, // 4: projects.v1.ProjectsService.CreateProject:output_type -> projects.v1.CreateProjectResponse
3, // 5: projects.v1.ProjectsService.GetProject:output_type -> projects.v1.GetProjectResponse
5, // 6: projects.v1.ProjectsService.ListProjects:output_type -> projects.v1.ListProjectsResponse
7, // 7: projects.v1.ProjectsService.UpdateProject:output_type -> projects.v1.UpdateProjectResponse
4, // [4:8] is the sub-list for method output_type
0, // [0:4] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_projects_v1_projects_v1_proto_init() }
func file_projects_v1_projects_v1_proto_init() {
if File_projects_v1_projects_v1_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_projects_v1_projects_v1_proto_rawDesc), len(file_projects_v1_projects_v1_proto_rawDesc)),
NumEnums: 0,
NumMessages: 8,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_projects_v1_projects_v1_proto_goTypes,
DependencyIndexes: file_projects_v1_projects_v1_proto_depIdxs,
MessageInfos: file_projects_v1_projects_v1_proto_msgTypes,
}.Build()
File_projects_v1_projects_v1_proto = out.File
file_projects_v1_projects_v1_proto_goTypes = nil
file_projects_v1_projects_v1_proto_depIdxs = nil
}