softplayer-go-proto/pkg/accounts/accounts_v1.pb.go

500 lines
16 KiB
Go

/// This file has messages for describing environments
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v4.24.4
// source: accounts/accounts_v1.proto
package accounts
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
reflect "reflect"
sync "sync"
)
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)
)
// *
// Represents a environment UUID only
type AccountId struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Contour ID: UUID
}
func (x *AccountId) Reset() {
*x = AccountId{}
if protoimpl.UnsafeEnabled {
mi := &file_accounts_accounts_v1_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccountId) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccountId) ProtoMessage() {}
func (x *AccountId) ProtoReflect() protoreflect.Message {
mi := &file_accounts_accounts_v1_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccountId.ProtoReflect.Descriptor instead.
func (*AccountId) Descriptor() ([]byte, []int) {
return file_accounts_accounts_v1_proto_rawDescGZIP(), []int{0}
}
func (x *AccountId) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type AccountPassword struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Password string `protobuf:"bytes,1,opt,name=Password,proto3" json:"Password,omitempty"`
}
func (x *AccountPassword) Reset() {
*x = AccountPassword{}
if protoimpl.UnsafeEnabled {
mi := &file_accounts_accounts_v1_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccountPassword) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccountPassword) ProtoMessage() {}
func (x *AccountPassword) ProtoReflect() protoreflect.Message {
mi := &file_accounts_accounts_v1_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccountPassword.ProtoReflect.Descriptor instead.
func (*AccountPassword) Descriptor() ([]byte, []int) {
return file_accounts_accounts_v1_proto_rawDescGZIP(), []int{1}
}
func (x *AccountPassword) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
type AccountData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Account name
}
func (x *AccountData) Reset() {
*x = AccountData{}
if protoimpl.UnsafeEnabled {
mi := &file_accounts_accounts_v1_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccountData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccountData) ProtoMessage() {}
func (x *AccountData) ProtoReflect() protoreflect.Message {
mi := &file_accounts_accounts_v1_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccountData.ProtoReflect.Descriptor instead.
func (*AccountData) Descriptor() ([]byte, []int) {
return file_accounts_accounts_v1_proto_rawDescGZIP(), []int{2}
}
func (x *AccountData) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type AccountWithPassword struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data *AccountData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
AccountPassword *AccountPassword `protobuf:"bytes,2,opt,name=AccountPassword,proto3" json:"AccountPassword,omitempty"`
}
func (x *AccountWithPassword) Reset() {
*x = AccountWithPassword{}
if protoimpl.UnsafeEnabled {
mi := &file_accounts_accounts_v1_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccountWithPassword) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccountWithPassword) ProtoMessage() {}
func (x *AccountWithPassword) ProtoReflect() protoreflect.Message {
mi := &file_accounts_accounts_v1_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccountWithPassword.ProtoReflect.Descriptor instead.
func (*AccountWithPassword) Descriptor() ([]byte, []int) {
return file_accounts_accounts_v1_proto_rawDescGZIP(), []int{3}
}
func (x *AccountWithPassword) GetData() *AccountData {
if x != nil {
return x.Data
}
return nil
}
func (x *AccountWithPassword) GetAccountPassword() *AccountPassword {
if x != nil {
return x.AccountPassword
}
return nil
}
type AccountFull struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id *AccountId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Data *AccountData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}
func (x *AccountFull) Reset() {
*x = AccountFull{}
if protoimpl.UnsafeEnabled {
mi := &file_accounts_accounts_v1_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccountFull) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccountFull) ProtoMessage() {}
func (x *AccountFull) ProtoReflect() protoreflect.Message {
mi := &file_accounts_accounts_v1_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccountFull.ProtoReflect.Descriptor instead.
func (*AccountFull) Descriptor() ([]byte, []int) {
return file_accounts_accounts_v1_proto_rawDescGZIP(), []int{4}
}
func (x *AccountFull) GetId() *AccountId {
if x != nil {
return x.Id
}
return nil
}
func (x *AccountFull) GetData() *AccountData {
if x != nil {
return x.Data
}
return nil
}
type AccountWithKubeConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *AccountWithKubeConfig) Reset() {
*x = AccountWithKubeConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_accounts_accounts_v1_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccountWithKubeConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccountWithKubeConfig) ProtoMessage() {}
func (x *AccountWithKubeConfig) ProtoReflect() protoreflect.Message {
mi := &file_accounts_accounts_v1_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccountWithKubeConfig.ProtoReflect.Descriptor instead.
func (*AccountWithKubeConfig) Descriptor() ([]byte, []int) {
return file_accounts_accounts_v1_proto_rawDescGZIP(), []int{5}
}
var File_accounts_accounts_v1_proto protoreflect.FileDescriptor
var file_accounts_accounts_v1_proto_rawDesc = []byte{
0x0a, 0x1a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x73, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x22, 0x1b, 0x0a, 0x09, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
0x22, 0x2d, 0x0a, 0x0f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77,
0x6f, 0x72, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22,
0x21, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12,
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x13, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x57, 0x69,
0x74, 0x68, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x29, 0x0a, 0x04, 0x64, 0x61,
0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x73, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52,
0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x43, 0x0a, 0x0f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x0f, 0x41, 0x63, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x5d, 0x0a, 0x0b, 0x41, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x12, 0x23, 0x0a, 0x02, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29,
0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61,
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44,
0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x17, 0x0a, 0x15, 0x41, 0x63, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x57, 0x69, 0x74, 0x68, 0x4b, 0x75, 0x62, 0x65, 0x43, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x32, 0x8f, 0x01, 0x0a, 0x08, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12,
0x40, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70, 0x12, 0x1d, 0x2e, 0x61, 0x63, 0x63, 0x6f,
0x75, 0x6e, 0x74, 0x73, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x57, 0x69, 0x74, 0x68,
0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x1a, 0x15, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x73, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x22,
0x00, 0x12, 0x41, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x12, 0x1d, 0x2e, 0x61, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x57, 0x69,
0x74, 0x68, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
0x74, 0x79, 0x22, 0x00, 0x42, 0x44, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x2e, 0x62, 0x61, 0x64, 0x68,
0x6f, 0x75, 0x73, 0x65, 0x70, 0x6c, 0x61, 0x6e, 0x74, 0x73, 0x2e, 0x6e, 0x65, 0x74, 0x2f, 0x73,
0x6f, 0x66, 0x74, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x73, 0x6f, 0x66, 0x74, 0x70, 0x6c,
0x61, 0x79, 0x65, 0x72, 0x2d, 0x67, 0x6f, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x6b,
0x67, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var (
file_accounts_accounts_v1_proto_rawDescOnce sync.Once
file_accounts_accounts_v1_proto_rawDescData = file_accounts_accounts_v1_proto_rawDesc
)
func file_accounts_accounts_v1_proto_rawDescGZIP() []byte {
file_accounts_accounts_v1_proto_rawDescOnce.Do(func() {
file_accounts_accounts_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_accounts_accounts_v1_proto_rawDescData)
})
return file_accounts_accounts_v1_proto_rawDescData
}
var file_accounts_accounts_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_accounts_accounts_v1_proto_goTypes = []interface{}{
(*AccountId)(nil), // 0: accounts.AccountId
(*AccountPassword)(nil), // 1: accounts.AccountPassword
(*AccountData)(nil), // 2: accounts.AccountData
(*AccountWithPassword)(nil), // 3: accounts.AccountWithPassword
(*AccountFull)(nil), // 4: accounts.AccountFull
(*AccountWithKubeConfig)(nil), // 5: accounts.AccountWithKubeConfig
(*emptypb.Empty)(nil), // 6: google.protobuf.Empty
}
var file_accounts_accounts_v1_proto_depIdxs = []int32{
2, // 0: accounts.AccountWithPassword.data:type_name -> accounts.AccountData
1, // 1: accounts.AccountWithPassword.AccountPassword:type_name -> accounts.AccountPassword
0, // 2: accounts.AccountFull.id:type_name -> accounts.AccountId
2, // 3: accounts.AccountFull.data:type_name -> accounts.AccountData
3, // 4: accounts.Accounts.SignUp:input_type -> accounts.AccountWithPassword
3, // 5: accounts.Accounts.SignIn:input_type -> accounts.AccountWithPassword
4, // 6: accounts.Accounts.SignUp:output_type -> accounts.AccountFull
6, // 7: accounts.Accounts.SignIn:output_type -> google.protobuf.Empty
6, // [6:8] is the sub-list for method output_type
4, // [4:6] 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_accounts_accounts_v1_proto_init() }
func file_accounts_accounts_v1_proto_init() {
if File_accounts_accounts_v1_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_accounts_accounts_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccountId); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_accounts_accounts_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccountPassword); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_accounts_accounts_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccountData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_accounts_accounts_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccountWithPassword); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_accounts_accounts_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccountFull); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_accounts_accounts_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccountWithKubeConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_accounts_accounts_v1_proto_rawDesc,
NumEnums: 0,
NumMessages: 6,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_accounts_accounts_v1_proto_goTypes,
DependencyIndexes: file_accounts_accounts_v1_proto_depIdxs,
MessageInfos: file_accounts_accounts_v1_proto_msgTypes,
}.Build()
File_accounts_accounts_v1_proto = out.File
file_accounts_accounts_v1_proto_rawDesc = nil
file_accounts_accounts_v1_proto_goTypes = nil
file_accounts_accounts_v1_proto_depIdxs = nil
}