1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/devtools/containeranalysis/v1beta1/containeranalysis.proto
3
4package containeranalysis
5
6import (
7	context "context"
8	fmt "fmt"
9	math "math"
10
11	proto "github.com/golang/protobuf/proto"
12	timestamp "github.com/golang/protobuf/ptypes/timestamp"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14	v1 "google.golang.org/genproto/googleapis/iam/v1"
15	grpc "google.golang.org/grpc"
16	codes "google.golang.org/grpc/codes"
17	status "google.golang.org/grpc/status"
18)
19
20// Reference imports to suppress errors if they are not otherwise used.
21var _ = proto.Marshal
22var _ = fmt.Errorf
23var _ = math.Inf
24
25// This is a compile-time assertion to ensure that this generated file
26// is compatible with the proto package it is being compiled against.
27// A compilation error at this line likely means your copy of the
28// proto package needs to be updated.
29const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
30
31// A scan configuration specifies whether Cloud components in a project have a
32// particular type of analysis being run. For example, it can configure whether
33// vulnerability scanning is being done on Docker images or not.
34type ScanConfig struct {
35	// Output only. The name of the scan configuration in the form of
36	// `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
37	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
38	// Output only. A human-readable description of what the scan configuration
39	// does.
40	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
41	// Whether the scan is enabled.
42	Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
43	// Output only. The time this scan config was created.
44	CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
45	// Output only. The time this scan config was last updated.
46	UpdateTime           *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
47	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
48	XXX_unrecognized     []byte               `json:"-"`
49	XXX_sizecache        int32                `json:"-"`
50}
51
52func (m *ScanConfig) Reset()         { *m = ScanConfig{} }
53func (m *ScanConfig) String() string { return proto.CompactTextString(m) }
54func (*ScanConfig) ProtoMessage()    {}
55func (*ScanConfig) Descriptor() ([]byte, []int) {
56	return fileDescriptor_20a7ff65c4c4547f, []int{0}
57}
58
59func (m *ScanConfig) XXX_Unmarshal(b []byte) error {
60	return xxx_messageInfo_ScanConfig.Unmarshal(m, b)
61}
62func (m *ScanConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
63	return xxx_messageInfo_ScanConfig.Marshal(b, m, deterministic)
64}
65func (m *ScanConfig) XXX_Merge(src proto.Message) {
66	xxx_messageInfo_ScanConfig.Merge(m, src)
67}
68func (m *ScanConfig) XXX_Size() int {
69	return xxx_messageInfo_ScanConfig.Size(m)
70}
71func (m *ScanConfig) XXX_DiscardUnknown() {
72	xxx_messageInfo_ScanConfig.DiscardUnknown(m)
73}
74
75var xxx_messageInfo_ScanConfig proto.InternalMessageInfo
76
77func (m *ScanConfig) GetName() string {
78	if m != nil {
79		return m.Name
80	}
81	return ""
82}
83
84func (m *ScanConfig) GetDescription() string {
85	if m != nil {
86		return m.Description
87	}
88	return ""
89}
90
91func (m *ScanConfig) GetEnabled() bool {
92	if m != nil {
93		return m.Enabled
94	}
95	return false
96}
97
98func (m *ScanConfig) GetCreateTime() *timestamp.Timestamp {
99	if m != nil {
100		return m.CreateTime
101	}
102	return nil
103}
104
105func (m *ScanConfig) GetUpdateTime() *timestamp.Timestamp {
106	if m != nil {
107		return m.UpdateTime
108	}
109	return nil
110}
111
112// Request to get a scan configuration.
113type GetScanConfigRequest struct {
114	// Required. The name of the scan configuration in the form of
115	// `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
116	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
117	XXX_NoUnkeyedLiteral struct{} `json:"-"`
118	XXX_unrecognized     []byte   `json:"-"`
119	XXX_sizecache        int32    `json:"-"`
120}
121
122func (m *GetScanConfigRequest) Reset()         { *m = GetScanConfigRequest{} }
123func (m *GetScanConfigRequest) String() string { return proto.CompactTextString(m) }
124func (*GetScanConfigRequest) ProtoMessage()    {}
125func (*GetScanConfigRequest) Descriptor() ([]byte, []int) {
126	return fileDescriptor_20a7ff65c4c4547f, []int{1}
127}
128
129func (m *GetScanConfigRequest) XXX_Unmarshal(b []byte) error {
130	return xxx_messageInfo_GetScanConfigRequest.Unmarshal(m, b)
131}
132func (m *GetScanConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
133	return xxx_messageInfo_GetScanConfigRequest.Marshal(b, m, deterministic)
134}
135func (m *GetScanConfigRequest) XXX_Merge(src proto.Message) {
136	xxx_messageInfo_GetScanConfigRequest.Merge(m, src)
137}
138func (m *GetScanConfigRequest) XXX_Size() int {
139	return xxx_messageInfo_GetScanConfigRequest.Size(m)
140}
141func (m *GetScanConfigRequest) XXX_DiscardUnknown() {
142	xxx_messageInfo_GetScanConfigRequest.DiscardUnknown(m)
143}
144
145var xxx_messageInfo_GetScanConfigRequest proto.InternalMessageInfo
146
147func (m *GetScanConfigRequest) GetName() string {
148	if m != nil {
149		return m.Name
150	}
151	return ""
152}
153
154// Request to list scan configurations.
155type ListScanConfigsRequest struct {
156	// Required. The name of the project to list scan configurations for in the form of
157	// `projects/[PROJECT_ID]`.
158	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
159	// Required. The filter expression.
160	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
161	// The number of scan configs to return in the list.
162	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
163	// Token to provide to skip to a particular spot in the list.
164	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
165	XXX_NoUnkeyedLiteral struct{} `json:"-"`
166	XXX_unrecognized     []byte   `json:"-"`
167	XXX_sizecache        int32    `json:"-"`
168}
169
170func (m *ListScanConfigsRequest) Reset()         { *m = ListScanConfigsRequest{} }
171func (m *ListScanConfigsRequest) String() string { return proto.CompactTextString(m) }
172func (*ListScanConfigsRequest) ProtoMessage()    {}
173func (*ListScanConfigsRequest) Descriptor() ([]byte, []int) {
174	return fileDescriptor_20a7ff65c4c4547f, []int{2}
175}
176
177func (m *ListScanConfigsRequest) XXX_Unmarshal(b []byte) error {
178	return xxx_messageInfo_ListScanConfigsRequest.Unmarshal(m, b)
179}
180func (m *ListScanConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
181	return xxx_messageInfo_ListScanConfigsRequest.Marshal(b, m, deterministic)
182}
183func (m *ListScanConfigsRequest) XXX_Merge(src proto.Message) {
184	xxx_messageInfo_ListScanConfigsRequest.Merge(m, src)
185}
186func (m *ListScanConfigsRequest) XXX_Size() int {
187	return xxx_messageInfo_ListScanConfigsRequest.Size(m)
188}
189func (m *ListScanConfigsRequest) XXX_DiscardUnknown() {
190	xxx_messageInfo_ListScanConfigsRequest.DiscardUnknown(m)
191}
192
193var xxx_messageInfo_ListScanConfigsRequest proto.InternalMessageInfo
194
195func (m *ListScanConfigsRequest) GetParent() string {
196	if m != nil {
197		return m.Parent
198	}
199	return ""
200}
201
202func (m *ListScanConfigsRequest) GetFilter() string {
203	if m != nil {
204		return m.Filter
205	}
206	return ""
207}
208
209func (m *ListScanConfigsRequest) GetPageSize() int32 {
210	if m != nil {
211		return m.PageSize
212	}
213	return 0
214}
215
216func (m *ListScanConfigsRequest) GetPageToken() string {
217	if m != nil {
218		return m.PageToken
219	}
220	return ""
221}
222
223// Response for listing scan configurations.
224type ListScanConfigsResponse struct {
225	// The scan configurations requested.
226	ScanConfigs []*ScanConfig `protobuf:"bytes,1,rep,name=scan_configs,json=scanConfigs,proto3" json:"scan_configs,omitempty"`
227	// The next pagination token in the list response. It should be used as
228	// `page_token` for the following request. An empty value means no more
229	// results.
230	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
231	XXX_NoUnkeyedLiteral struct{} `json:"-"`
232	XXX_unrecognized     []byte   `json:"-"`
233	XXX_sizecache        int32    `json:"-"`
234}
235
236func (m *ListScanConfigsResponse) Reset()         { *m = ListScanConfigsResponse{} }
237func (m *ListScanConfigsResponse) String() string { return proto.CompactTextString(m) }
238func (*ListScanConfigsResponse) ProtoMessage()    {}
239func (*ListScanConfigsResponse) Descriptor() ([]byte, []int) {
240	return fileDescriptor_20a7ff65c4c4547f, []int{3}
241}
242
243func (m *ListScanConfigsResponse) XXX_Unmarshal(b []byte) error {
244	return xxx_messageInfo_ListScanConfigsResponse.Unmarshal(m, b)
245}
246func (m *ListScanConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
247	return xxx_messageInfo_ListScanConfigsResponse.Marshal(b, m, deterministic)
248}
249func (m *ListScanConfigsResponse) XXX_Merge(src proto.Message) {
250	xxx_messageInfo_ListScanConfigsResponse.Merge(m, src)
251}
252func (m *ListScanConfigsResponse) XXX_Size() int {
253	return xxx_messageInfo_ListScanConfigsResponse.Size(m)
254}
255func (m *ListScanConfigsResponse) XXX_DiscardUnknown() {
256	xxx_messageInfo_ListScanConfigsResponse.DiscardUnknown(m)
257}
258
259var xxx_messageInfo_ListScanConfigsResponse proto.InternalMessageInfo
260
261func (m *ListScanConfigsResponse) GetScanConfigs() []*ScanConfig {
262	if m != nil {
263		return m.ScanConfigs
264	}
265	return nil
266}
267
268func (m *ListScanConfigsResponse) GetNextPageToken() string {
269	if m != nil {
270		return m.NextPageToken
271	}
272	return ""
273}
274
275// A request to update a scan configuration.
276type UpdateScanConfigRequest struct {
277	// Required. The name of the scan configuration in the form of
278	// `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
279	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
280	// Required. The updated scan configuration.
281	ScanConfig           *ScanConfig `protobuf:"bytes,2,opt,name=scan_config,json=scanConfig,proto3" json:"scan_config,omitempty"`
282	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
283	XXX_unrecognized     []byte      `json:"-"`
284	XXX_sizecache        int32       `json:"-"`
285}
286
287func (m *UpdateScanConfigRequest) Reset()         { *m = UpdateScanConfigRequest{} }
288func (m *UpdateScanConfigRequest) String() string { return proto.CompactTextString(m) }
289func (*UpdateScanConfigRequest) ProtoMessage()    {}
290func (*UpdateScanConfigRequest) Descriptor() ([]byte, []int) {
291	return fileDescriptor_20a7ff65c4c4547f, []int{4}
292}
293
294func (m *UpdateScanConfigRequest) XXX_Unmarshal(b []byte) error {
295	return xxx_messageInfo_UpdateScanConfigRequest.Unmarshal(m, b)
296}
297func (m *UpdateScanConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
298	return xxx_messageInfo_UpdateScanConfigRequest.Marshal(b, m, deterministic)
299}
300func (m *UpdateScanConfigRequest) XXX_Merge(src proto.Message) {
301	xxx_messageInfo_UpdateScanConfigRequest.Merge(m, src)
302}
303func (m *UpdateScanConfigRequest) XXX_Size() int {
304	return xxx_messageInfo_UpdateScanConfigRequest.Size(m)
305}
306func (m *UpdateScanConfigRequest) XXX_DiscardUnknown() {
307	xxx_messageInfo_UpdateScanConfigRequest.DiscardUnknown(m)
308}
309
310var xxx_messageInfo_UpdateScanConfigRequest proto.InternalMessageInfo
311
312func (m *UpdateScanConfigRequest) GetName() string {
313	if m != nil {
314		return m.Name
315	}
316	return ""
317}
318
319func (m *UpdateScanConfigRequest) GetScanConfig() *ScanConfig {
320	if m != nil {
321		return m.ScanConfig
322	}
323	return nil
324}
325
326func init() {
327	proto.RegisterType((*ScanConfig)(nil), "google.devtools.containeranalysis.v1beta1.ScanConfig")
328	proto.RegisterType((*GetScanConfigRequest)(nil), "google.devtools.containeranalysis.v1beta1.GetScanConfigRequest")
329	proto.RegisterType((*ListScanConfigsRequest)(nil), "google.devtools.containeranalysis.v1beta1.ListScanConfigsRequest")
330	proto.RegisterType((*ListScanConfigsResponse)(nil), "google.devtools.containeranalysis.v1beta1.ListScanConfigsResponse")
331	proto.RegisterType((*UpdateScanConfigRequest)(nil), "google.devtools.containeranalysis.v1beta1.UpdateScanConfigRequest")
332}
333
334func init() {
335	proto.RegisterFile("google/devtools/containeranalysis/v1beta1/containeranalysis.proto", fileDescriptor_20a7ff65c4c4547f)
336}
337
338var fileDescriptor_20a7ff65c4c4547f = []byte{
339	// 963 bytes of a gzipped FileDescriptorProto
340	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x4f, 0x6f, 0x1b, 0x45,
341	0x14, 0xd7, 0x38, 0x6d, 0x48, 0xc6, 0x89, 0x52, 0x8d, 0x0a, 0x31, 0x2e, 0x7f, 0xac, 0x15, 0x42,
342	0xae, 0x49, 0x77, 0xe4, 0x44, 0xa8, 0xc2, 0x15, 0x94, 0x75, 0x90, 0x2c, 0x04, 0x07, 0xcb, 0x09,
343	0x08, 0xa5, 0x12, 0xd6, 0x78, 0x3d, 0xde, 0x0c, 0xec, 0xce, 0x2c, 0x3b, 0x63, 0xa7, 0x6d, 0x94,
344	0x0b, 0xe2, 0x02, 0x07, 0x84, 0xc4, 0x91, 0x5b, 0x3f, 0x04, 0x07, 0x0e, 0xc0, 0x99, 0x23, 0x88,
345	0x8b, 0x85, 0x44, 0x0f, 0x9c, 0xf8, 0x08, 0x9c, 0xd0, 0xce, 0xee, 0xda, 0x13, 0x6f, 0xda, 0xd8,
346	0x89, 0x7a, 0xb2, 0xe7, 0xfd, 0xde, 0xbf, 0xdf, 0x7b, 0x33, 0xef, 0x2d, 0x74, 0x3c, 0x21, 0x3c,
347	0x9f, 0xe2, 0x3e, 0x1d, 0x29, 0x21, 0x7c, 0x89, 0x5d, 0xc1, 0x15, 0x61, 0x9c, 0x46, 0x84, 0x13,
348	0xff, 0x81, 0x64, 0x12, 0x8f, 0xea, 0x3d, 0xaa, 0x48, 0x3d, 0x8f, 0xd8, 0x61, 0x24, 0x94, 0x40,
349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, 0xbb, 0x63,
394	0x0d, 0x73, 0x68, 0x97, 0xf7, 0x7f, 0x73, 0x2a, 0xe7, 0x4d, 0xfe, 0xdf, 0x1d, 0xfb, 0x50, 0xa9,
395	0x50, 0x36, 0x30, 0x3e, 0x3a, 0x3a, 0x9a, 0x5d, 0x0b, 0x64, 0xa8, 0x0e, 0xb1, 0x5e, 0xcd, 0xb7,
396	0x42, 0x9f, 0xa8, 0x81, 0x88, 0x82, 0xe6, 0x37, 0x00, 0xbe, 0xe6, 0x8a, 0x20, 0x23, 0xf9, 0x44,
397	0x6e, 0x6d, 0x70, 0x70, 0x90, 0xea, 0x78, 0xc2, 0x27, 0xdc, 0xb3, 0x45, 0xe4, 0x61, 0x8f, 0x72,
398	0xfd, 0xf9, 0x83, 0xa7, 0x91, 0xe6, 0xf8, 0xfe, 0xbd, 0x93, 0x43, 0x1e, 0x15, 0x96, 0x5a, 0xbb,
399	0x4e, 0x6f, 0x59, 0x3b, 0xdb, 0xf9, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xb6, 0x50, 0x92, 0xac, 0x4b,
400	0x0b, 0x00, 0x00,
401}
402
403// Reference imports to suppress errors if they are not otherwise used.
404var _ context.Context
405var _ grpc.ClientConnInterface
406
407// This is a compile-time assertion to ensure that this generated file
408// is compatible with the grpc package it is being compiled against.
409const _ = grpc.SupportPackageIsVersion6
410
411// ContainerAnalysisV1Beta1Client is the client API for ContainerAnalysisV1Beta1 service.
412//
413// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
414type ContainerAnalysisV1Beta1Client interface {
415	// Sets the access control policy on the specified note or occurrence.
416	// Requires `containeranalysis.notes.setIamPolicy` or
417	// `containeranalysis.occurrences.setIamPolicy` permission if the resource is
418	// a note or an occurrence, respectively.
419	//
420	// The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
421	// notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
422	// occurrences.
423	SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
424	// Gets the access control policy for a note or an occurrence resource.
425	// Requires `containeranalysis.notes.setIamPolicy` or
426	// `containeranalysis.occurrences.setIamPolicy` permission if the resource is
427	// a note or occurrence, respectively.
428	//
429	// The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
430	// notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
431	// occurrences.
432	GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
433	// Returns the permissions that a caller has on the specified note or
434	// occurrence. Requires list permission on the project (for example,
435	// `containeranalysis.notes.list`).
436	//
437	// The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
438	// notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
439	// occurrences.
440	TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
441	// Gets the specified scan configuration.
442	GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error)
443	// Lists scan configurations for the specified project.
444	ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error)
445	// Updates the specified scan configuration.
446	UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error)
447}
448
449type containerAnalysisV1Beta1Client struct {
450	cc grpc.ClientConnInterface
451}
452
453func NewContainerAnalysisV1Beta1Client(cc grpc.ClientConnInterface) ContainerAnalysisV1Beta1Client {
454	return &containerAnalysisV1Beta1Client{cc}
455}
456
457func (c *containerAnalysisV1Beta1Client) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) {
458	out := new(v1.Policy)
459	err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/SetIamPolicy", in, out, opts...)
460	if err != nil {
461		return nil, err
462	}
463	return out, nil
464}
465
466func (c *containerAnalysisV1Beta1Client) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) {
467	out := new(v1.Policy)
468	err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/GetIamPolicy", in, out, opts...)
469	if err != nil {
470		return nil, err
471	}
472	return out, nil
473}
474
475func (c *containerAnalysisV1Beta1Client) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) {
476	out := new(v1.TestIamPermissionsResponse)
477	err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/TestIamPermissions", in, out, opts...)
478	if err != nil {
479		return nil, err
480	}
481	return out, nil
482}
483
484func (c *containerAnalysisV1Beta1Client) GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) {
485	out := new(ScanConfig)
486	err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/GetScanConfig", in, out, opts...)
487	if err != nil {
488		return nil, err
489	}
490	return out, nil
491}
492
493func (c *containerAnalysisV1Beta1Client) ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) {
494	out := new(ListScanConfigsResponse)
495	err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/ListScanConfigs", in, out, opts...)
496	if err != nil {
497		return nil, err
498	}
499	return out, nil
500}
501
502func (c *containerAnalysisV1Beta1Client) UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) {
503	out := new(ScanConfig)
504	err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/UpdateScanConfig", in, out, opts...)
505	if err != nil {
506		return nil, err
507	}
508	return out, nil
509}
510
511// ContainerAnalysisV1Beta1Server is the server API for ContainerAnalysisV1Beta1 service.
512type ContainerAnalysisV1Beta1Server interface {
513	// Sets the access control policy on the specified note or occurrence.
514	// Requires `containeranalysis.notes.setIamPolicy` or
515	// `containeranalysis.occurrences.setIamPolicy` permission if the resource is
516	// a note or an occurrence, respectively.
517	//
518	// The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
519	// notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
520	// occurrences.
521	SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
522	// Gets the access control policy for a note or an occurrence resource.
523	// Requires `containeranalysis.notes.setIamPolicy` or
524	// `containeranalysis.occurrences.setIamPolicy` permission if the resource is
525	// a note or occurrence, respectively.
526	//
527	// The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
528	// notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
529	// occurrences.
530	GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
531	// Returns the permissions that a caller has on the specified note or
532	// occurrence. Requires list permission on the project (for example,
533	// `containeranalysis.notes.list`).
534	//
535	// The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
536	// notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
537	// occurrences.
538	TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
539	// Gets the specified scan configuration.
540	GetScanConfig(context.Context, *GetScanConfigRequest) (*ScanConfig, error)
541	// Lists scan configurations for the specified project.
542	ListScanConfigs(context.Context, *ListScanConfigsRequest) (*ListScanConfigsResponse, error)
543	// Updates the specified scan configuration.
544	UpdateScanConfig(context.Context, *UpdateScanConfigRequest) (*ScanConfig, error)
545}
546
547// UnimplementedContainerAnalysisV1Beta1Server can be embedded to have forward compatible implementations.
548type UnimplementedContainerAnalysisV1Beta1Server struct {
549}
550
551func (*UnimplementedContainerAnalysisV1Beta1Server) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) {
552	return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented")
553}
554func (*UnimplementedContainerAnalysisV1Beta1Server) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) {
555	return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented")
556}
557func (*UnimplementedContainerAnalysisV1Beta1Server) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) {
558	return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented")
559}
560func (*UnimplementedContainerAnalysisV1Beta1Server) GetScanConfig(ctx context.Context, req *GetScanConfigRequest) (*ScanConfig, error) {
561	return nil, status.Errorf(codes.Unimplemented, "method GetScanConfig not implemented")
562}
563func (*UnimplementedContainerAnalysisV1Beta1Server) ListScanConfigs(ctx context.Context, req *ListScanConfigsRequest) (*ListScanConfigsResponse, error) {
564	return nil, status.Errorf(codes.Unimplemented, "method ListScanConfigs not implemented")
565}
566func (*UnimplementedContainerAnalysisV1Beta1Server) UpdateScanConfig(ctx context.Context, req *UpdateScanConfigRequest) (*ScanConfig, error) {
567	return nil, status.Errorf(codes.Unimplemented, "method UpdateScanConfig not implemented")
568}
569
570func RegisterContainerAnalysisV1Beta1Server(s *grpc.Server, srv ContainerAnalysisV1Beta1Server) {
571	s.RegisterService(&_ContainerAnalysisV1Beta1_serviceDesc, srv)
572}
573
574func _ContainerAnalysisV1Beta1_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
575	in := new(v1.SetIamPolicyRequest)
576	if err := dec(in); err != nil {
577		return nil, err
578	}
579	if interceptor == nil {
580		return srv.(ContainerAnalysisV1Beta1Server).SetIamPolicy(ctx, in)
581	}
582	info := &grpc.UnaryServerInfo{
583		Server:     srv,
584		FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/SetIamPolicy",
585	}
586	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
587		return srv.(ContainerAnalysisV1Beta1Server).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest))
588	}
589	return interceptor(ctx, in, info, handler)
590}
591
592func _ContainerAnalysisV1Beta1_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
593	in := new(v1.GetIamPolicyRequest)
594	if err := dec(in); err != nil {
595		return nil, err
596	}
597	if interceptor == nil {
598		return srv.(ContainerAnalysisV1Beta1Server).GetIamPolicy(ctx, in)
599	}
600	info := &grpc.UnaryServerInfo{
601		Server:     srv,
602		FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/GetIamPolicy",
603	}
604	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
605		return srv.(ContainerAnalysisV1Beta1Server).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest))
606	}
607	return interceptor(ctx, in, info, handler)
608}
609
610func _ContainerAnalysisV1Beta1_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
611	in := new(v1.TestIamPermissionsRequest)
612	if err := dec(in); err != nil {
613		return nil, err
614	}
615	if interceptor == nil {
616		return srv.(ContainerAnalysisV1Beta1Server).TestIamPermissions(ctx, in)
617	}
618	info := &grpc.UnaryServerInfo{
619		Server:     srv,
620		FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/TestIamPermissions",
621	}
622	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
623		return srv.(ContainerAnalysisV1Beta1Server).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest))
624	}
625	return interceptor(ctx, in, info, handler)
626}
627
628func _ContainerAnalysisV1Beta1_GetScanConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
629	in := new(GetScanConfigRequest)
630	if err := dec(in); err != nil {
631		return nil, err
632	}
633	if interceptor == nil {
634		return srv.(ContainerAnalysisV1Beta1Server).GetScanConfig(ctx, in)
635	}
636	info := &grpc.UnaryServerInfo{
637		Server:     srv,
638		FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/GetScanConfig",
639	}
640	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
641		return srv.(ContainerAnalysisV1Beta1Server).GetScanConfig(ctx, req.(*GetScanConfigRequest))
642	}
643	return interceptor(ctx, in, info, handler)
644}
645
646func _ContainerAnalysisV1Beta1_ListScanConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
647	in := new(ListScanConfigsRequest)
648	if err := dec(in); err != nil {
649		return nil, err
650	}
651	if interceptor == nil {
652		return srv.(ContainerAnalysisV1Beta1Server).ListScanConfigs(ctx, in)
653	}
654	info := &grpc.UnaryServerInfo{
655		Server:     srv,
656		FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/ListScanConfigs",
657	}
658	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
659		return srv.(ContainerAnalysisV1Beta1Server).ListScanConfigs(ctx, req.(*ListScanConfigsRequest))
660	}
661	return interceptor(ctx, in, info, handler)
662}
663
664func _ContainerAnalysisV1Beta1_UpdateScanConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
665	in := new(UpdateScanConfigRequest)
666	if err := dec(in); err != nil {
667		return nil, err
668	}
669	if interceptor == nil {
670		return srv.(ContainerAnalysisV1Beta1Server).UpdateScanConfig(ctx, in)
671	}
672	info := &grpc.UnaryServerInfo{
673		Server:     srv,
674		FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/UpdateScanConfig",
675	}
676	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
677		return srv.(ContainerAnalysisV1Beta1Server).UpdateScanConfig(ctx, req.(*UpdateScanConfigRequest))
678	}
679	return interceptor(ctx, in, info, handler)
680}
681
682var _ContainerAnalysisV1Beta1_serviceDesc = grpc.ServiceDesc{
683	ServiceName: "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1",
684	HandlerType: (*ContainerAnalysisV1Beta1Server)(nil),
685	Methods: []grpc.MethodDesc{
686		{
687			MethodName: "SetIamPolicy",
688			Handler:    _ContainerAnalysisV1Beta1_SetIamPolicy_Handler,
689		},
690		{
691			MethodName: "GetIamPolicy",
692			Handler:    _ContainerAnalysisV1Beta1_GetIamPolicy_Handler,
693		},
694		{
695			MethodName: "TestIamPermissions",
696			Handler:    _ContainerAnalysisV1Beta1_TestIamPermissions_Handler,
697		},
698		{
699			MethodName: "GetScanConfig",
700			Handler:    _ContainerAnalysisV1Beta1_GetScanConfig_Handler,
701		},
702		{
703			MethodName: "ListScanConfigs",
704			Handler:    _ContainerAnalysisV1Beta1_ListScanConfigs_Handler,
705		},
706		{
707			MethodName: "UpdateScanConfig",
708			Handler:    _ContainerAnalysisV1Beta1_UpdateScanConfig_Handler,
709		},
710	},
711	Streams:  []grpc.StreamDesc{},
712	Metadata: "google/devtools/containeranalysis/v1beta1/containeranalysis.proto",
713}
714