Compare commits

...

2 Commits

  1. 137
      enum/env.pb.go

@ -0,0 +1,137 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v3.19.4
// source: enum/env.proto
package enum
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
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)
)
type Env int32
const (
Env_Local Env = 0
Env_Develop Env = 1
Env_Preview Env = 2
Env_Production Env = 3
)
// Enum value maps for Env.
var (
Env_name = map[int32]string{
0: "Local",
1: "Develop",
2: "Preview",
3: "Production",
}
Env_value = map[string]int32{
"Local": 0,
"Develop": 1,
"Preview": 2,
"Production": 3,
}
)
func (x Env) Enum() *Env {
p := new(Env)
*p = x
return p
}
func (x Env) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Env) Descriptor() protoreflect.EnumDescriptor {
return file_enum_env_proto_enumTypes[0].Descriptor()
}
func (Env) Type() protoreflect.EnumType {
return &file_enum_env_proto_enumTypes[0]
}
func (x Env) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Env.Descriptor instead.
func (Env) EnumDescriptor() ([]byte, []int) {
return file_enum_env_proto_rawDescGZIP(), []int{0}
}
var File_enum_env_proto protoreflect.FileDescriptor
var file_enum_env_proto_rawDesc = []byte{
0x0a, 0x0e, 0x65, 0x6e, 0x75, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x10, 0x70, 0x68, 0x61, 0x72, 0x6e, 0x65, 0x78, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x65, 0x6e,
0x75, 0x6d, 0x2a, 0x3a, 0x0a, 0x03, 0x45, 0x6e, 0x76, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x6f, 0x63,
0x61, 0x6c, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x10,
0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x10, 0x02, 0x12, 0x0e,
0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x03, 0x42, 0x30,
0x5a, 0x2e, 0x67, 0x69, 0x74, 0x65, 0x61, 0x2e, 0x64, 0x72, 0x75, 0x67, 0x65, 0x79, 0x65, 0x73,
0x2e, 0x76, 0x69, 0x70, 0x2f, 0x70, 0x68, 0x61, 0x72, 0x6e, 0x65, 0x78, 0x62, 0x61, 0x73, 0x65,
0x2f, 0x75, 0x74, 0x69, 0x6c, 0x73, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x3b, 0x65, 0x6e, 0x75, 0x6d,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_enum_env_proto_rawDescOnce sync.Once
file_enum_env_proto_rawDescData = file_enum_env_proto_rawDesc
)
func file_enum_env_proto_rawDescGZIP() []byte {
file_enum_env_proto_rawDescOnce.Do(func() {
file_enum_env_proto_rawDescData = protoimpl.X.CompressGZIP(file_enum_env_proto_rawDescData)
})
return file_enum_env_proto_rawDescData
}
var file_enum_env_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_enum_env_proto_goTypes = []interface{}{
(Env)(0), // 0: pharnexbase.enum.Env
}
var file_enum_env_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_enum_env_proto_init() }
func file_enum_env_proto_init() {
if File_enum_env_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_enum_env_proto_rawDesc,
NumEnums: 1,
NumMessages: 0,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_enum_env_proto_goTypes,
DependencyIndexes: file_enum_env_proto_depIdxs,
EnumInfos: file_enum_env_proto_enumTypes,
}.Build()
File_enum_env_proto = out.File
file_enum_env_proto_rawDesc = nil
file_enum_env_proto_goTypes = nil
file_enum_env_proto_depIdxs = nil
}
Loading…
Cancel
Save