Debian Codegraph @

securitycenter/apiv2/securitycenterpb/network.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/network.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 a VPC network associated with the finding.
38 type Network struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // The name of the VPC network resource, for example,
44 // `//compute.googleapis.com/projects/my-project/global/networks/my-network`.
45 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
46 }
47
48 func (x *Network) Reset() {
49 *x = Network{}
50 mi := &file_google_cloud_securitycenter_v2_network_proto_msgTypes[0]
51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
52 ms.StoreMessageInfo(mi)
53 }
54
55 func (x *Network) String() string {
56 return protoimpl.X.MessageStringOf(x)
57 }
58
59 func (*Network) ProtoMessage() {}
60
61 func (x *Network) ProtoReflect() protoreflect.Message {
62 mi := &file_google_cloud_securitycenter_v2_network_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 Network.ProtoReflect.Descriptor instead.
74 func (*Network) Descriptor() ([]byte, []int) {
75 return file_google_cloud_securitycenter_v2_network_proto_rawDescGZIP(), []int{0}
76 }
77
78 func (x *Network) GetName() string {
79 if x != nil {
80 return x.Name
81 }
82 return ""
83 }
84
85 var File_google_cloud_securitycenter_v2_network_proto protoreflect.FileDescriptor
86
87 var file_google_cloud_securitycenter_v2_network_proto_rawDesc = []byte{
88 0x0a, 0x2c, 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, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e,
91 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63,
92 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x22, 0x1d,
93 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
94 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xe6, 0x01,
95 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
96 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65,
97 0x72, 0x2e, 0x76, 0x32, 0x42, 0x0c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f,
98 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
99 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
100 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x73,
101 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b,
102 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62,
103 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
104 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56,
105 0x32, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64,
106 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c,
107 0x56, 0x32, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f,
108 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74,
109 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
110 }
111
112 var (
113 file_google_cloud_securitycenter_v2_network_proto_rawDescOnce sync.Once
114 file_google_cloud_securitycenter_v2_network_proto_rawDescData = file_google_cloud_securitycenter_v2_network_proto_rawDesc
115 )
116
117 func file_google_cloud_securitycenter_v2_network_proto_rawDescGZIP() []byte {
118 file_google_cloud_securitycenter_v2_network_proto_rawDescOnce.Do(func() {
119 file_google_cloud_securitycenter_v2_network_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_network_proto_rawDescData)
120 })
121 return file_google_cloud_securitycenter_v2_network_proto_rawDescData
122 }
123
124 var file_google_cloud_securitycenter_v2_network_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
125 var file_google_cloud_securitycenter_v2_network_proto_goTypes = []any{
126 (*Network)(nil), // 0: google.cloud.securitycenter.v2.Network
127 }
128 var file_google_cloud_securitycenter_v2_network_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_network_proto_init() }
137 func file_google_cloud_securitycenter_v2_network_proto_init() {
138 if File_google_cloud_securitycenter_v2_network_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_network_proto_rawDesc,
146 NumEnums: 0,
147 NumMessages: 1,
148 NumExtensions: 0,
149 NumServices: 0,
150 },
151 GoTypes: file_google_cloud_securitycenter_v2_network_proto_goTypes,
152 DependencyIndexes: file_google_cloud_securitycenter_v2_network_proto_depIdxs,
153 MessageInfos: file_google_cloud_securitycenter_v2_network_proto_msgTypes,
154 }.Build()
155 File_google_cloud_securitycenter_v2_network_proto = out.File
156 file_google_cloud_securitycenter_v2_network_proto_rawDesc = nil
157 file_google_cloud_securitycenter_v2_network_proto_goTypes = nil
158 file_google_cloud_securitycenter_v2_network_proto_depIdxs = nil
159 }