Debian Codegraph @

securitycenter/apiv1/securitycenterpb/contact_details.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/v1/contact_details.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 // Details about specific contacts
38 type ContactDetails struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // A list of contacts
44 Contacts []*Contact `protobuf:"bytes,1,rep,name=contacts,proto3" json:"contacts,omitempty"`
45 }
46
47 func (x *ContactDetails) Reset() {
48 *x = ContactDetails{}
49 mi := &file_google_cloud_securitycenter_v1_contact_details_proto_msgTypes[0]
50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51 ms.StoreMessageInfo(mi)
52 }
53
54 func (x *ContactDetails) String() string {
55 return protoimpl.X.MessageStringOf(x)
56 }
57
58 func (*ContactDetails) ProtoMessage() {}
59
60 func (x *ContactDetails) ProtoReflect() protoreflect.Message {
61 mi := &file_google_cloud_securitycenter_v1_contact_details_proto_msgTypes[0]
62 if x != nil {
63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
64 if ms.LoadMessageInfo() == nil {
65 ms.StoreMessageInfo(mi)
66 }
67 return ms
68 }
69 return mi.MessageOf(x)
70 }
71
72 // Deprecated: Use ContactDetails.ProtoReflect.Descriptor instead.
73 func (*ContactDetails) Descriptor() ([]byte, []int) {
74 return file_google_cloud_securitycenter_v1_contact_details_proto_rawDescGZIP(), []int{0}
75 }
76
77 func (x *ContactDetails) GetContacts() []*Contact {
78 if x != nil {
79 return x.Contacts
80 }
81 return nil
82 }
83
84 // The email address of a contact.
85 type Contact struct {
86 state protoimpl.MessageState
87 sizeCache protoimpl.SizeCache
88 unknownFields protoimpl.UnknownFields
89
90 // An email address. For example, "`[email protected]`".
91 Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
92 }
93
94 func (x *Contact) Reset() {
95 *x = Contact{}
96 mi := &file_google_cloud_securitycenter_v1_contact_details_proto_msgTypes[1]
97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
98 ms.StoreMessageInfo(mi)
99 }
100
101 func (x *Contact) String() string {
102 return protoimpl.X.MessageStringOf(x)
103 }
104
105 func (*Contact) ProtoMessage() {}
106
107 func (x *Contact) ProtoReflect() protoreflect.Message {
108 mi := &file_google_cloud_securitycenter_v1_contact_details_proto_msgTypes[1]
109 if x != nil {
110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
111 if ms.LoadMessageInfo() == nil {
112 ms.StoreMessageInfo(mi)
113 }
114 return ms
115 }
116 return mi.MessageOf(x)
117 }
118
119 // Deprecated: Use Contact.ProtoReflect.Descriptor instead.
120 func (*Contact) Descriptor() ([]byte, []int) {
121 return file_google_cloud_securitycenter_v1_contact_details_proto_rawDescGZIP(), []int{1}
122 }
123
124 func (x *Contact) GetEmail() string {
125 if x != nil {
126 return x.Email
127 }
128 return ""
129 }
130
131 var File_google_cloud_securitycenter_v1_contact_details_proto protoreflect.FileDescriptor
132
133 var file_google_cloud_securitycenter_v1_contact_details_proto_rawDesc = []byte{
134 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
135 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
136 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73,
137 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
138 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
139 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x22, 0x55, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63,
140 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x43, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74,
141 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f,
142 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
143 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74,
144 0x61, 0x63, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x22, 0x1f, 0x0a,
145 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69,
146 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x42, 0xed,
147 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
148 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74,
149 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x44, 0x65,
150 0x74, 0x61, 0x69, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c,
151 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
152 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
153 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
154 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
155 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
156 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
157 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67,
158 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
159 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f,
160 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75,
161 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
162 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
163 }
164
165 var (
166 file_google_cloud_securitycenter_v1_contact_details_proto_rawDescOnce sync.Once
167 file_google_cloud_securitycenter_v1_contact_details_proto_rawDescData = file_google_cloud_securitycenter_v1_contact_details_proto_rawDesc
168 )
169
170 func file_google_cloud_securitycenter_v1_contact_details_proto_rawDescGZIP() []byte {
171 file_google_cloud_securitycenter_v1_contact_details_proto_rawDescOnce.Do(func() {
172 file_google_cloud_securitycenter_v1_contact_details_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1_contact_details_proto_rawDescData)
173 })
174 return file_google_cloud_securitycenter_v1_contact_details_proto_rawDescData
175 }
176
177 var file_google_cloud_securitycenter_v1_contact_details_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
178 var file_google_cloud_securitycenter_v1_contact_details_proto_goTypes = []any{
179 (*ContactDetails)(nil), // 0: google.cloud.securitycenter.v1.ContactDetails
180 (*Contact)(nil), // 1: google.cloud.securitycenter.v1.Contact
181 }
182 var file_google_cloud_securitycenter_v1_contact_details_proto_depIdxs = []int32{
183 1, // 0: google.cloud.securitycenter.v1.ContactDetails.contacts:type_name -> google.cloud.securitycenter.v1.Contact
184 1, // [1:1] is the sub-list for method output_type
185 1, // [1:1] is the sub-list for method input_type
186 1, // [1:1] is the sub-list for extension type_name
187 1, // [1:1] is the sub-list for extension extendee
188 0, // [0:1] is the sub-list for field type_name
189 }
190
191 func init() { file_google_cloud_securitycenter_v1_contact_details_proto_init() }
192 func file_google_cloud_securitycenter_v1_contact_details_proto_init() {
193 if File_google_cloud_securitycenter_v1_contact_details_proto != nil {
194 return
195 }
196 type x struct{}
197 out := protoimpl.TypeBuilder{
198 File: protoimpl.DescBuilder{
199 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
200 RawDescriptor: file_google_cloud_securitycenter_v1_contact_details_proto_rawDesc,
201 NumEnums: 0,
202 NumMessages: 2,
203 NumExtensions: 0,
204 NumServices: 0,
205 },
206 GoTypes: file_google_cloud_securitycenter_v1_contact_details_proto_goTypes,
207 DependencyIndexes: file_google_cloud_securitycenter_v1_contact_details_proto_depIdxs,
208 MessageInfos: file_google_cloud_securitycenter_v1_contact_details_proto_msgTypes,
209 }.Build()
210 File_google_cloud_securitycenter_v1_contact_details_proto = out.File
211 file_google_cloud_securitycenter_v1_contact_details_proto_rawDesc = nil
212 file_google_cloud_securitycenter_v1_contact_details_proto_goTypes = nil
213 file_google_cloud_securitycenter_v1_contact_details_proto_depIdxs = nil
214 }