Debian Codegraph @

go/types/v1/environment.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.5
4 // protoc (unknown)
5 // source: types/v1/environment.proto
6
7 package typesv1
8
9 import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 reflect "reflect"
13 sync "sync"
14 unsafe "unsafe"
15 )
16
17 const (
18 // Verify that this generated code is sufficiently up-to-date.
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20 // Verify that runtime/protoimpl is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22 )
23
24 type Environment struct {
25 state protoimpl.MessageState `protogen:"open.v1"`
26 Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
27 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
28 unknownFields protoimpl.UnknownFields
29 sizeCache protoimpl.SizeCache
30 }
31
32 func (x *Environment) Reset() {
33 *x = Environment{}
34 mi := &file_types_v1_environment_proto_msgTypes[0]
35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
36 ms.StoreMessageInfo(mi)
37 }
38
39 func (x *Environment) String() string {
40 return protoimpl.X.MessageStringOf(x)
41 }
42
43 func (*Environment) ProtoMessage() {}
44
45 func (x *Environment) ProtoReflect() protoreflect.Message {
46 mi := &file_types_v1_environment_proto_msgTypes[0]
47 if x != nil {
48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
49 if ms.LoadMessageInfo() == nil {
50 ms.StoreMessageInfo(mi)
51 }
52 return ms
53 }
54 return mi.MessageOf(x)
55 }
56
57 // Deprecated: Use Environment.ProtoReflect.Descriptor instead.
58 func (*Environment) Descriptor() ([]byte, []int) {
59 return file_types_v1_environment_proto_rawDescGZIP(), []int{0}
60 }
61
62 func (x *Environment) GetId() int64 {
63 if x != nil {
64 return x.Id
65 }
66 return 0
67 }
68
69 func (x *Environment) GetName() string {
70 if x != nil {
71 return x.Name
72 }
73 return ""
74 }
75
76 var File_types_v1_environment_proto protoreflect.FileDescriptor
77
78 var file_types_v1_environment_proto_rawDesc = string([]byte{
79 0x0a, 0x1a, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x76, 0x69, 0x72,
80 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x74, 0x79,
81 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x31, 0x0a, 0x0b, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f,
82 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
83 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
84 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x90, 0x01, 0x0a, 0x0c, 0x63, 0x6f,
85 0x6d, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x45, 0x6e, 0x76, 0x69,
86 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d,
87 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x75, 0x6d, 0x61, 0x6e,
88 0x6c, 0x6f, 0x67, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x79, 0x70,
89 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03,
90 0x54, 0x58, 0x58, 0xaa, 0x02, 0x08, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02,
91 0x08, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x14, 0x54, 0x79, 0x70, 0x65,
92 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
93 0xea, 0x02, 0x09, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
94 0x6f, 0x74, 0x6f, 0x33,
95 })
96
97 var (
98 file_types_v1_environment_proto_rawDescOnce sync.Once
99 file_types_v1_environment_proto_rawDescData []byte
100 )
101
102 func file_types_v1_environment_proto_rawDescGZIP() []byte {
103 file_types_v1_environment_proto_rawDescOnce.Do(func() {
104 file_types_v1_environment_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_types_v1_environment_proto_rawDesc), len(file_types_v1_environment_proto_rawDesc)))
105 })
106 return file_types_v1_environment_proto_rawDescData
107 }
108
109 var file_types_v1_environment_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
110 var file_types_v1_environment_proto_goTypes = []any{
111 (*Environment)(nil), // 0: types.v1.Environment
112 }
113 var file_types_v1_environment_proto_depIdxs = []int32{
114 0, // [0:0] is the sub-list for method output_type
115 0, // [0:0] is the sub-list for method input_type
116 0, // [0:0] is the sub-list for extension type_name
117 0, // [0:0] is the sub-list for extension extendee
118 0, // [0:0] is the sub-list for field type_name
119 }
120
121 func init() { file_types_v1_environment_proto_init() }
122 func file_types_v1_environment_proto_init() {
123 if File_types_v1_environment_proto != nil {
124 return
125 }
126 type x struct{}
127 out := protoimpl.TypeBuilder{
128 File: protoimpl.DescBuilder{
129 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
130 RawDescriptor: unsafe.Slice(unsafe.StringData(file_types_v1_environment_proto_rawDesc), len(file_types_v1_environment_proto_rawDesc)),
131 NumEnums: 0,
132 NumMessages: 1,
133 NumExtensions: 0,
134 NumServices: 0,
135 },
136 GoTypes: file_types_v1_environment_proto_goTypes,
137 DependencyIndexes: file_types_v1_environment_proto_depIdxs,
138 MessageInfos: file_types_v1_environment_proto_msgTypes,
139 }.Build()
140 File_types_v1_environment_proto = out.File
141 file_types_v1_environment_proto_goTypes = nil
142 file_types_v1_environment_proto_depIdxs = nil
143 }