mirror of
https://github.com/aykhans/slash-e.git
synced 2026-09-23 14:26:49 +00:00
188 lines
5.1 KiB
Go
188 lines
5.1 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.6
|
|
// protoc (unknown)
|
|
// source: store/common.proto
|
|
|
|
package store
|
|
|
|
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 RowStatus int32
|
|
|
|
const (
|
|
RowStatus_ROW_STATUS_UNSPECIFIED RowStatus = 0
|
|
RowStatus_NORMAL RowStatus = 1
|
|
RowStatus_ARCHIVED RowStatus = 2
|
|
)
|
|
|
|
// Enum value maps for RowStatus.
|
|
var (
|
|
RowStatus_name = map[int32]string{
|
|
0: "ROW_STATUS_UNSPECIFIED",
|
|
1: "NORMAL",
|
|
2: "ARCHIVED",
|
|
}
|
|
RowStatus_value = map[string]int32{
|
|
"ROW_STATUS_UNSPECIFIED": 0,
|
|
"NORMAL": 1,
|
|
"ARCHIVED": 2,
|
|
}
|
|
)
|
|
|
|
func (x RowStatus) Enum() *RowStatus {
|
|
p := new(RowStatus)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x RowStatus) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (RowStatus) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_store_common_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (RowStatus) Type() protoreflect.EnumType {
|
|
return &file_store_common_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x RowStatus) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use RowStatus.Descriptor instead.
|
|
func (RowStatus) EnumDescriptor() ([]byte, []int) {
|
|
return file_store_common_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type Visibility int32
|
|
|
|
const (
|
|
Visibility_VISIBILITY_UNSPECIFIED Visibility = 0
|
|
Visibility_WORKSPACE Visibility = 1
|
|
Visibility_PUBLIC Visibility = 2
|
|
)
|
|
|
|
// Enum value maps for Visibility.
|
|
var (
|
|
Visibility_name = map[int32]string{
|
|
0: "VISIBILITY_UNSPECIFIED",
|
|
1: "WORKSPACE",
|
|
2: "PUBLIC",
|
|
}
|
|
Visibility_value = map[string]int32{
|
|
"VISIBILITY_UNSPECIFIED": 0,
|
|
"WORKSPACE": 1,
|
|
"PUBLIC": 2,
|
|
}
|
|
)
|
|
|
|
func (x Visibility) Enum() *Visibility {
|
|
p := new(Visibility)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Visibility) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Visibility) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_store_common_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (Visibility) Type() protoreflect.EnumType {
|
|
return &file_store_common_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x Visibility) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Visibility.Descriptor instead.
|
|
func (Visibility) EnumDescriptor() ([]byte, []int) {
|
|
return file_store_common_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
var File_store_common_proto protoreflect.FileDescriptor
|
|
|
|
const file_store_common_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x12store/common.proto\x12\vslash.store*A\n" +
|
|
"\tRowStatus\x12\x1a\n" +
|
|
"\x16ROW_STATUS_UNSPECIFIED\x10\x00\x12\n" +
|
|
"\n" +
|
|
"\x06NORMAL\x10\x01\x12\f\n" +
|
|
"\bARCHIVED\x10\x02*C\n" +
|
|
"\n" +
|
|
"Visibility\x12\x1a\n" +
|
|
"\x16VISIBILITY_UNSPECIFIED\x10\x00\x12\r\n" +
|
|
"\tWORKSPACE\x10\x01\x12\n" +
|
|
"\n" +
|
|
"\x06PUBLIC\x10\x02B\x9c\x01\n" +
|
|
"\x0fcom.slash.storeB\vCommonProtoP\x01Z/github.com/yourselfhosted/slash/proto/gen/store\xa2\x02\x03SSX\xaa\x02\vSlash.Store\xca\x02\vSlash\\Store\xe2\x02\x17Slash\\Store\\GPBMetadata\xea\x02\fSlash::Storeb\x06proto3"
|
|
|
|
var (
|
|
file_store_common_proto_rawDescOnce sync.Once
|
|
file_store_common_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_store_common_proto_rawDescGZIP() []byte {
|
|
file_store_common_proto_rawDescOnce.Do(func() {
|
|
file_store_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_store_common_proto_rawDesc), len(file_store_common_proto_rawDesc)))
|
|
})
|
|
return file_store_common_proto_rawDescData
|
|
}
|
|
|
|
var file_store_common_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_store_common_proto_goTypes = []any{
|
|
(RowStatus)(0), // 0: slash.store.RowStatus
|
|
(Visibility)(0), // 1: slash.store.Visibility
|
|
}
|
|
var file_store_common_proto_depIdxs = []int32{
|
|
0, // [0:0] is the sub-list for method output_type
|
|
0, // [0:0] 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_store_common_proto_init() }
|
|
func file_store_common_proto_init() {
|
|
if File_store_common_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_store_common_proto_rawDesc), len(file_store_common_proto_rawDesc)),
|
|
NumEnums: 2,
|
|
NumMessages: 0,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_store_common_proto_goTypes,
|
|
DependencyIndexes: file_store_common_proto_depIdxs,
|
|
EnumInfos: file_store_common_proto_enumTypes,
|
|
}.Build()
|
|
File_store_common_proto = out.File
|
|
file_store_common_proto_goTypes = nil
|
|
file_store_common_proto_depIdxs = nil
|
|
}
|