Debian Codegraph @

securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/securitycenter/v1p1beta1/folder.proto
20
21 package securitycenterpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // Message that contains the resource name and display name of a folder
38 // resource.
39 type Folder struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // Full resource name of this folder. See:
45 // https://cloud.google.com/apis/design/resource_names#full_resource_name
46 ResourceFolder string `protobuf:"bytes,1,opt,name=resource_folder,json=resourceFolder,proto3" json:"resource_folder,omitempty"`
47 // The user defined display name for this folder.
48 ResourceFolderDisplayName string `protobuf:"bytes,2,opt,name=resource_folder_display_name,json=resourceFolderDisplayName,proto3" json:"resource_folder_display_name,omitempty"`
49 }
50
51 func (x *Folder) Reset() {
52 *x = Folder{}
53 mi := &file_google_cloud_securitycenter_v1p1beta1_folder_proto_msgTypes[0]
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 ms.StoreMessageInfo(mi)
56 }
57
58 func (x *Folder) String() string {
59 return protoimpl.X.MessageStringOf(x)
60 }
61
62 func (*Folder) ProtoMessage() {}
63
64 func (x *Folder) ProtoReflect() protoreflect.Message {
65 mi := &file_google_cloud_securitycenter_v1p1beta1_folder_proto_msgTypes[0]
66 if x != nil {
67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68 if ms.LoadMessageInfo() == nil {
69 ms.StoreMessageInfo(mi)
70 }
71 return ms
72 }
73 return mi.MessageOf(x)
74 }
75
76 // Deprecated: Use Folder.ProtoReflect.Descriptor instead.
77 func (*Folder) Descriptor() ([]byte, []int) {
78 return file_google_cloud_securitycenter_v1p1beta1_folder_proto_rawDescGZIP(), []int{0}
79 }
80
81 func (x *Folder) GetResourceFolder() string {
82 if x != nil {
83 return x.ResourceFolder
84 }
85 return ""
86 }
87
88 func (x *Folder) GetResourceFolderDisplayName() string {
89 if x != nil {
90 return x.ResourceFolderDisplayName
91 }
92 return ""
93 }
94
95 var File_google_cloud_securitycenter_v1p1beta1_folder_proto protoreflect.FileDescriptor
96
97 var file_google_cloud_securitycenter_v1p1beta1_folder_proto_rawDesc = []byte{
98 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
99 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
100 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x70,
101 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
102 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65,
103 0x72, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, 0x72, 0x0a, 0x06, 0x46,
104 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
105 0x65, 0x5f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
106 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x3f,
107 0x0a, 0x1c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x6c, 0x64, 0x65,
108 0x72, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
109 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x6f,
110 0x6c, 0x64, 0x65, 0x72, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x42,
111 0x88, 0x02, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
112 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
113 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0b, 0x46,
114 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x63, 0x6c,
115 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
116 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
117 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x65,
118 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73,
119 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa,
120 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53,
121 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31,
122 0x50, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
123 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43,
124 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea,
125 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
126 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a,
127 0x3a, 0x56, 0x31, 0x70, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
128 0x6f, 0x33,
129 }
130
131 var (
132 file_google_cloud_securitycenter_v1p1beta1_folder_proto_rawDescOnce sync.Once
133 file_google_cloud_securitycenter_v1p1beta1_folder_proto_rawDescData = file_google_cloud_securitycenter_v1p1beta1_folder_proto_rawDesc
134 )
135
136 func file_google_cloud_securitycenter_v1p1beta1_folder_proto_rawDescGZIP() []byte {
137 file_google_cloud_securitycenter_v1p1beta1_folder_proto_rawDescOnce.Do(func() {
138 file_google_cloud_securitycenter_v1p1beta1_folder_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1p1beta1_folder_proto_rawDescData)
139 })
140 return file_google_cloud_securitycenter_v1p1beta1_folder_proto_rawDescData
141 }
142
143 var file_google_cloud_securitycenter_v1p1beta1_folder_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
144 var file_google_cloud_securitycenter_v1p1beta1_folder_proto_goTypes = []any{
145 (*Folder)(nil), // 0: google.cloud.securitycenter.v1p1beta1.Folder
146 }
147 var file_google_cloud_securitycenter_v1p1beta1_folder_proto_depIdxs = []int32{
148 0, // [0:0] is the sub-list for method output_type
149 0, // [0:0] is the sub-list for method input_type
150 0, // [0:0] is the sub-list for extension type_name
151 0, // [0:0] is the sub-list for extension extendee
152 0, // [0:0] is the sub-list for field type_name
153 }
154
155 func init() { file_google_cloud_securitycenter_v1p1beta1_folder_proto_init() }
156 func file_google_cloud_securitycenter_v1p1beta1_folder_proto_init() {
157 if File_google_cloud_securitycenter_v1p1beta1_folder_proto != nil {
158 return
159 }
160 type x struct{}
161 out := protoimpl.TypeBuilder{
162 File: protoimpl.DescBuilder{
163 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
164 RawDescriptor: file_google_cloud_securitycenter_v1p1beta1_folder_proto_rawDesc,
165 NumEnums: 0,
166 NumMessages: 1,
167 NumExtensions: 0,
168 NumServices: 0,
169 },
170 GoTypes: file_google_cloud_securitycenter_v1p1beta1_folder_proto_goTypes,
171 DependencyIndexes: file_google_cloud_securitycenter_v1p1beta1_folder_proto_depIdxs,
172 MessageInfos: file_google_cloud_securitycenter_v1p1beta1_folder_proto_msgTypes,
173 }.Build()
174 File_google_cloud_securitycenter_v1p1beta1_folder_proto = out.File
175 file_google_cloud_securitycenter_v1p1beta1_folder_proto_rawDesc = nil
176 file_google_cloud_securitycenter_v1p1beta1_folder_proto_goTypes = nil
177 file_google_cloud_securitycenter_v1p1beta1_folder_proto_depIdxs = nil
178 }