Debian Codegraph @

securitycenter/apiv2/securitycenterpb/disk.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/v2/disk.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 // Contains information about the disk associated with the finding.
38 type Disk struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // The name of the disk, for example,
44 // "https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}".
45 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
46 }
47
48 func (x *Disk) Reset() {
49 *x = Disk{}
50 mi := &file_google_cloud_securitycenter_v2_disk_proto_msgTypes[0]
51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
52 ms.StoreMessageInfo(mi)
53 }
54
55 func (x *Disk) String() string {
56 return protoimpl.X.MessageStringOf(x)
57 }
58
59 func (*Disk) ProtoMessage() {}
60
61 func (x *Disk) ProtoReflect() protoreflect.Message {
62 mi := &file_google_cloud_securitycenter_v2_disk_proto_msgTypes[0]
63 if x != nil {
64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
65 if ms.LoadMessageInfo() == nil {
66 ms.StoreMessageInfo(mi)
67 }
68 return ms
69 }
70 return mi.MessageOf(x)
71 }
72
73 // Deprecated: Use Disk.ProtoReflect.Descriptor instead.
74 func (*Disk) Descriptor() ([]byte, []int) {
75 return file_google_cloud_securitycenter_v2_disk_proto_rawDescGZIP(), []int{0}
76 }
77
78 func (x *Disk) GetName() string {
79 if x != nil {
80 return x.Name
81 }
82 return ""
83 }
84
85 var File_google_cloud_securitycenter_v2_disk_proto protoreflect.FileDescriptor
86
87 var file_google_cloud_securitycenter_v2_disk_proto_rawDesc = []byte{
88 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
89 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32,
90 0x2f, 0x64, 0x69, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f,
91 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
92 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x22, 0x1a, 0x0a, 0x04, 0x44,
93 0x69, 0x73, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
94 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xe3, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e,
95 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63,
96 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x42, 0x09,
97 0x44, 0x69, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f,
98 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
99 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f,
100 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
101 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
102 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
103 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43,
104 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
105 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
106 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x32, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67,
107 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72,
108 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70,
109 0x72, 0x6f, 0x74, 0x6f, 0x33,
110 }
111
112 var (
113 file_google_cloud_securitycenter_v2_disk_proto_rawDescOnce sync.Once
114 file_google_cloud_securitycenter_v2_disk_proto_rawDescData = file_google_cloud_securitycenter_v2_disk_proto_rawDesc
115 )
116
117 func file_google_cloud_securitycenter_v2_disk_proto_rawDescGZIP() []byte {
118 file_google_cloud_securitycenter_v2_disk_proto_rawDescOnce.Do(func() {
119 file_google_cloud_securitycenter_v2_disk_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_disk_proto_rawDescData)
120 })
121 return file_google_cloud_securitycenter_v2_disk_proto_rawDescData
122 }
123
124 var file_google_cloud_securitycenter_v2_disk_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
125 var file_google_cloud_securitycenter_v2_disk_proto_goTypes = []any{
126 (*Disk)(nil), // 0: google.cloud.securitycenter.v2.Disk
127 }
128 var file_google_cloud_securitycenter_v2_disk_proto_depIdxs = []int32{
129 0, // [0:0] is the sub-list for method output_type
130 0, // [0:0] is the sub-list for method input_type
131 0, // [0:0] is the sub-list for extension type_name
132 0, // [0:0] is the sub-list for extension extendee
133 0, // [0:0] is the sub-list for field type_name
134 }
135
136 func init() { file_google_cloud_securitycenter_v2_disk_proto_init() }
137 func file_google_cloud_securitycenter_v2_disk_proto_init() {
138 if File_google_cloud_securitycenter_v2_disk_proto != nil {
139 return
140 }
141 type x struct{}
142 out := protoimpl.TypeBuilder{
143 File: protoimpl.DescBuilder{
144 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
145 RawDescriptor: file_google_cloud_securitycenter_v2_disk_proto_rawDesc,
146 NumEnums: 0,
147 NumMessages: 1,
148 NumExtensions: 0,
149 NumServices: 0,
150 },
151 GoTypes: file_google_cloud_securitycenter_v2_disk_proto_goTypes,
152 DependencyIndexes: file_google_cloud_securitycenter_v2_disk_proto_depIdxs,
153 MessageInfos: file_google_cloud_securitycenter_v2_disk_proto_msgTypes,
154 }.Build()
155 File_google_cloud_securitycenter_v2_disk_proto = out.File
156 file_google_cloud_securitycenter_v2_disk_proto_rawDesc = nil
157 file_google_cloud_securitycenter_v2_disk_proto_goTypes = nil
158 file_google_cloud_securitycenter_v2_disk_proto_depIdxs = nil
159 }