Debian Codegraph @

securitycenter/apiv2/securitycenterpb/application.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/application.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 // Represents an application associated with a finding.
38 type Application struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // The base URI that identifies the network location of the application in
44 // which the vulnerability was detected. For example, `http://example.com`.
45 BaseUri string `protobuf:"bytes,1,opt,name=base_uri,json=baseUri,proto3" json:"base_uri,omitempty"`
46 // The full URI with payload that could be used to reproduce the
47 // vulnerability. For example, `http://example.com?p=aMmYgI6H`.
48 FullUri string `protobuf:"bytes,2,opt,name=full_uri,json=fullUri,proto3" json:"full_uri,omitempty"`
49 }
50
51 func (x *Application) Reset() {
52 *x = Application{}
53 mi := &file_google_cloud_securitycenter_v2_application_proto_msgTypes[0]
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 ms.StoreMessageInfo(mi)
56 }
57
58 func (x *Application) String() string {
59 return protoimpl.X.MessageStringOf(x)
60 }
61
62 func (*Application) ProtoMessage() {}
63
64 func (x *Application) ProtoReflect() protoreflect.Message {
65 mi := &file_google_cloud_securitycenter_v2_application_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 Application.ProtoReflect.Descriptor instead.
77 func (*Application) Descriptor() ([]byte, []int) {
78 return file_google_cloud_securitycenter_v2_application_proto_rawDescGZIP(), []int{0}
79 }
80
81 func (x *Application) GetBaseUri() string {
82 if x != nil {
83 return x.BaseUri
84 }
85 return ""
86 }
87
88 func (x *Application) GetFullUri() string {
89 if x != nil {
90 return x.FullUri
91 }
92 return ""
93 }
94
95 var File_google_cloud_securitycenter_v2_application_proto protoreflect.FileDescriptor
96
97 var file_google_cloud_securitycenter_v2_application_proto_rawDesc = []byte{
98 0x0a, 0x30, 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, 0x32,
100 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
101 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
102 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
103 0x76, 0x32, 0x22, 0x43, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
104 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20,
105 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x73, 0x65, 0x55, 0x72, 0x69, 0x12, 0x19, 0x0a, 0x08,
106 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
107 0x66, 0x75, 0x6c, 0x6c, 0x55, 0x72, 0x69, 0x42, 0xea, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e,
108 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63,
109 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x42, 0x10,
110 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
111 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
112 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
113 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x63,
114 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65,
115 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02,
116 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65,
117 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x32, 0xca,
118 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53,
119 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x32,
120 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64,
121 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72,
122 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
123 }
124
125 var (
126 file_google_cloud_securitycenter_v2_application_proto_rawDescOnce sync.Once
127 file_google_cloud_securitycenter_v2_application_proto_rawDescData = file_google_cloud_securitycenter_v2_application_proto_rawDesc
128 )
129
130 func file_google_cloud_securitycenter_v2_application_proto_rawDescGZIP() []byte {
131 file_google_cloud_securitycenter_v2_application_proto_rawDescOnce.Do(func() {
132 file_google_cloud_securitycenter_v2_application_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_application_proto_rawDescData)
133 })
134 return file_google_cloud_securitycenter_v2_application_proto_rawDescData
135 }
136
137 var file_google_cloud_securitycenter_v2_application_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
138 var file_google_cloud_securitycenter_v2_application_proto_goTypes = []any{
139 (*Application)(nil), // 0: google.cloud.securitycenter.v2.Application
140 }
141 var file_google_cloud_securitycenter_v2_application_proto_depIdxs = []int32{
142 0, // [0:0] is the sub-list for method output_type
143 0, // [0:0] is the sub-list for method input_type
144 0, // [0:0] is the sub-list for extension type_name
145 0, // [0:0] is the sub-list for extension extendee
146 0, // [0:0] is the sub-list for field type_name
147 }
148
149 func init() { file_google_cloud_securitycenter_v2_application_proto_init() }
150 func file_google_cloud_securitycenter_v2_application_proto_init() {
151 if File_google_cloud_securitycenter_v2_application_proto != nil {
152 return
153 }
154 type x struct{}
155 out := protoimpl.TypeBuilder{
156 File: protoimpl.DescBuilder{
157 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
158 RawDescriptor: file_google_cloud_securitycenter_v2_application_proto_rawDesc,
159 NumEnums: 0,
160 NumMessages: 1,
161 NumExtensions: 0,
162 NumServices: 0,
163 },
164 GoTypes: file_google_cloud_securitycenter_v2_application_proto_goTypes,
165 DependencyIndexes: file_google_cloud_securitycenter_v2_application_proto_depIdxs,
166 MessageInfos: file_google_cloud_securitycenter_v2_application_proto_msgTypes,
167 }.Build()
168 File_google_cloud_securitycenter_v2_application_proto = out.File
169 file_google_cloud_securitycenter_v2_application_proto_rawDesc = nil
170 file_google_cloud_securitycenter_v2_application_proto_goTypes = nil
171 file_google_cloud_securitycenter_v2_application_proto_depIdxs = nil
172 }