Debian Codegraph @

securitycenter/apiv2/securitycenterpb/notebook.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/notebook.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 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise
39 // notebook](https://cloud.google.com/colab/docs/introduction) file, that is
40 // associated with a finding.
41 type Notebook struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46 // The name of the notebook.
47 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
48 // The source notebook service, for example, "Colab Enterprise".
49 Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
50 // The user ID of the latest author to modify the notebook.
51 LastAuthor string `protobuf:"bytes,3,opt,name=last_author,json=lastAuthor,proto3" json:"last_author,omitempty"`
52 // The most recent time the notebook was updated.
53 NotebookUpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=notebook_update_time,json=notebookUpdateTime,proto3" json:"notebook_update_time,omitempty"`
54 }
55
56 func (x *Notebook) Reset() {
57 *x = Notebook{}
58 mi := &file_google_cloud_securitycenter_v2_notebook_proto_msgTypes[0]
59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
60 ms.StoreMessageInfo(mi)
61 }
62
63 func (x *Notebook) String() string {
64 return protoimpl.X.MessageStringOf(x)
65 }
66
67 func (*Notebook) ProtoMessage() {}
68
69 func (x *Notebook) ProtoReflect() protoreflect.Message {
70 mi := &file_google_cloud_securitycenter_v2_notebook_proto_msgTypes[0]
71 if x != nil {
72 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
73 if ms.LoadMessageInfo() == nil {
74 ms.StoreMessageInfo(mi)
75 }
76 return ms
77 }
78 return mi.MessageOf(x)
79 }
80
81 // Deprecated: Use Notebook.ProtoReflect.Descriptor instead.
82 func (*Notebook) Descriptor() ([]byte, []int) {
83 return file_google_cloud_securitycenter_v2_notebook_proto_rawDescGZIP(), []int{0}
84 }
85
86 func (x *Notebook) GetName() string {
87 if x != nil {
88 return x.Name
89 }
90 return ""
91 }
92
93 func (x *Notebook) GetService() string {
94 if x != nil {
95 return x.Service
96 }
97 return ""
98 }
99
100 func (x *Notebook) GetLastAuthor() string {
101 if x != nil {
102 return x.LastAuthor
103 }
104 return ""
105 }
106
107 func (x *Notebook) GetNotebookUpdateTime() *timestamppb.Timestamp {
108 if x != nil {
109 return x.NotebookUpdateTime
110 }
111 return nil
112 }
113
114 var File_google_cloud_securitycenter_v2_notebook_proto protoreflect.FileDescriptor
115
116 var file_google_cloud_securitycenter_v2_notebook_proto_rawDesc = []byte{
117 0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
118 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32,
119 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
120 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65,
121 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x1a,
122 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
123 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
124 0x22, 0xa7, 0x01, 0x0a, 0x08, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x12, 0x0a,
125 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
126 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01,
127 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6c,
128 0x61, 0x73, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
129 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x4c, 0x0a, 0x14,
130 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
131 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
132 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
133 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x12, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b,
134 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x42, 0xe7, 0x01, 0x0a, 0x22, 0x63,
135 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
136 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76,
137 0x32, 0x42, 0x0d, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f,
138 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
139 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
140 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x63,
141 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65,
142 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02,
143 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65,
144 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x32, 0xca,
145 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53,
146 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x32,
147 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64,
148 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72,
149 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
150 }
151
152 var (
153 file_google_cloud_securitycenter_v2_notebook_proto_rawDescOnce sync.Once
154 file_google_cloud_securitycenter_v2_notebook_proto_rawDescData = file_google_cloud_securitycenter_v2_notebook_proto_rawDesc
155 )
156
157 func file_google_cloud_securitycenter_v2_notebook_proto_rawDescGZIP() []byte {
158 file_google_cloud_securitycenter_v2_notebook_proto_rawDescOnce.Do(func() {
159 file_google_cloud_securitycenter_v2_notebook_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_notebook_proto_rawDescData)
160 })
161 return file_google_cloud_securitycenter_v2_notebook_proto_rawDescData
162 }
163
164 var file_google_cloud_securitycenter_v2_notebook_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
165 var file_google_cloud_securitycenter_v2_notebook_proto_goTypes = []any{
166 (*Notebook)(nil), // 0: google.cloud.securitycenter.v2.Notebook
167 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
168 }
169 var file_google_cloud_securitycenter_v2_notebook_proto_depIdxs = []int32{
170 1, // 0: google.cloud.securitycenter.v2.Notebook.notebook_update_time:type_name -> google.protobuf.Timestamp
171 1, // [1:1] is the sub-list for method output_type
172 1, // [1:1] is the sub-list for method input_type
173 1, // [1:1] is the sub-list for extension type_name
174 1, // [1:1] is the sub-list for extension extendee
175 0, // [0:1] is the sub-list for field type_name
176 }
177
178 func init() { file_google_cloud_securitycenter_v2_notebook_proto_init() }
179 func file_google_cloud_securitycenter_v2_notebook_proto_init() {
180 if File_google_cloud_securitycenter_v2_notebook_proto != nil {
181 return
182 }
183 type x struct{}
184 out := protoimpl.TypeBuilder{
185 File: protoimpl.DescBuilder{
186 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
187 RawDescriptor: file_google_cloud_securitycenter_v2_notebook_proto_rawDesc,
188 NumEnums: 0,
189 NumMessages: 1,
190 NumExtensions: 0,
191 NumServices: 0,
192 },
193 GoTypes: file_google_cloud_securitycenter_v2_notebook_proto_goTypes,
194 DependencyIndexes: file_google_cloud_securitycenter_v2_notebook_proto_depIdxs,
195 MessageInfos: file_google_cloud_securitycenter_v2_notebook_proto_msgTypes,
196 }.Build()
197 File_google_cloud_securitycenter_v2_notebook_proto = out.File
198 file_google_cloud_securitycenter_v2_notebook_proto_rawDesc = nil
199 file_google_cloud_securitycenter_v2_notebook_proto_goTypes = nil
200 file_google_cloud_securitycenter_v2_notebook_proto_depIdxs = nil
201 }