1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/cloud/binaryauthorization/v1beta1/service.proto
3
4package binaryauthorization
5
6import (
7	context "context"
8	fmt "fmt"
9	math "math"
10
11	proto "github.com/golang/protobuf/proto"
12	empty "github.com/golang/protobuf/ptypes/empty"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14	grpc "google.golang.org/grpc"
15	codes "google.golang.org/grpc/codes"
16	status "google.golang.org/grpc/status"
17)
18
19// Reference imports to suppress errors if they are not otherwise used.
20var _ = proto.Marshal
21var _ = fmt.Errorf
22var _ = math.Inf
23
24// This is a compile-time assertion to ensure that this generated file
25// is compatible with the proto package it is being compiled against.
26// A compilation error at this line likely means your copy of the
27// proto package needs to be updated.
28const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
29
30// Request message for [BinauthzManagementService.GetPolicy][].
31type GetPolicyRequest struct {
32	// Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
33	// in the format `projects/*/policy`.
34	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
35	XXX_NoUnkeyedLiteral struct{} `json:"-"`
36	XXX_unrecognized     []byte   `json:"-"`
37	XXX_sizecache        int32    `json:"-"`
38}
39
40func (m *GetPolicyRequest) Reset()         { *m = GetPolicyRequest{} }
41func (m *GetPolicyRequest) String() string { return proto.CompactTextString(m) }
42func (*GetPolicyRequest) ProtoMessage()    {}
43func (*GetPolicyRequest) Descriptor() ([]byte, []int) {
44	return fileDescriptor_b5f16bed3f845be4, []int{0}
45}
46
47func (m *GetPolicyRequest) XXX_Unmarshal(b []byte) error {
48	return xxx_messageInfo_GetPolicyRequest.Unmarshal(m, b)
49}
50func (m *GetPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
51	return xxx_messageInfo_GetPolicyRequest.Marshal(b, m, deterministic)
52}
53func (m *GetPolicyRequest) XXX_Merge(src proto.Message) {
54	xxx_messageInfo_GetPolicyRequest.Merge(m, src)
55}
56func (m *GetPolicyRequest) XXX_Size() int {
57	return xxx_messageInfo_GetPolicyRequest.Size(m)
58}
59func (m *GetPolicyRequest) XXX_DiscardUnknown() {
60	xxx_messageInfo_GetPolicyRequest.DiscardUnknown(m)
61}
62
63var xxx_messageInfo_GetPolicyRequest proto.InternalMessageInfo
64
65func (m *GetPolicyRequest) GetName() string {
66	if m != nil {
67		return m.Name
68	}
69	return ""
70}
71
72// Request message for [BinauthzManagementService.UpdatePolicy][].
73type UpdatePolicyRequest struct {
74	// Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
75	// overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
76	// the request URL, in the format `projects/*/policy`.
77	Policy               *Policy  `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
78	XXX_NoUnkeyedLiteral struct{} `json:"-"`
79	XXX_unrecognized     []byte   `json:"-"`
80	XXX_sizecache        int32    `json:"-"`
81}
82
83func (m *UpdatePolicyRequest) Reset()         { *m = UpdatePolicyRequest{} }
84func (m *UpdatePolicyRequest) String() string { return proto.CompactTextString(m) }
85func (*UpdatePolicyRequest) ProtoMessage()    {}
86func (*UpdatePolicyRequest) Descriptor() ([]byte, []int) {
87	return fileDescriptor_b5f16bed3f845be4, []int{1}
88}
89
90func (m *UpdatePolicyRequest) XXX_Unmarshal(b []byte) error {
91	return xxx_messageInfo_UpdatePolicyRequest.Unmarshal(m, b)
92}
93func (m *UpdatePolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
94	return xxx_messageInfo_UpdatePolicyRequest.Marshal(b, m, deterministic)
95}
96func (m *UpdatePolicyRequest) XXX_Merge(src proto.Message) {
97	xxx_messageInfo_UpdatePolicyRequest.Merge(m, src)
98}
99func (m *UpdatePolicyRequest) XXX_Size() int {
100	return xxx_messageInfo_UpdatePolicyRequest.Size(m)
101}
102func (m *UpdatePolicyRequest) XXX_DiscardUnknown() {
103	xxx_messageInfo_UpdatePolicyRequest.DiscardUnknown(m)
104}
105
106var xxx_messageInfo_UpdatePolicyRequest proto.InternalMessageInfo
107
108func (m *UpdatePolicyRequest) GetPolicy() *Policy {
109	if m != nil {
110		return m.Policy
111	}
112	return nil
113}
114
115// Request message for [BinauthzManagementService.CreateAttestor][].
116type CreateAttestorRequest struct {
117	// Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
118	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
119	// Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
120	AttestorId string `protobuf:"bytes,2,opt,name=attestor_id,json=attestorId,proto3" json:"attestor_id,omitempty"`
121	// Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
122	// overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
123	// in the format `projects/*/attestors/*`.
124	Attestor             *Attestor `protobuf:"bytes,3,opt,name=attestor,proto3" json:"attestor,omitempty"`
125	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
126	XXX_unrecognized     []byte    `json:"-"`
127	XXX_sizecache        int32     `json:"-"`
128}
129
130func (m *CreateAttestorRequest) Reset()         { *m = CreateAttestorRequest{} }
131func (m *CreateAttestorRequest) String() string { return proto.CompactTextString(m) }
132func (*CreateAttestorRequest) ProtoMessage()    {}
133func (*CreateAttestorRequest) Descriptor() ([]byte, []int) {
134	return fileDescriptor_b5f16bed3f845be4, []int{2}
135}
136
137func (m *CreateAttestorRequest) XXX_Unmarshal(b []byte) error {
138	return xxx_messageInfo_CreateAttestorRequest.Unmarshal(m, b)
139}
140func (m *CreateAttestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
141	return xxx_messageInfo_CreateAttestorRequest.Marshal(b, m, deterministic)
142}
143func (m *CreateAttestorRequest) XXX_Merge(src proto.Message) {
144	xxx_messageInfo_CreateAttestorRequest.Merge(m, src)
145}
146func (m *CreateAttestorRequest) XXX_Size() int {
147	return xxx_messageInfo_CreateAttestorRequest.Size(m)
148}
149func (m *CreateAttestorRequest) XXX_DiscardUnknown() {
150	xxx_messageInfo_CreateAttestorRequest.DiscardUnknown(m)
151}
152
153var xxx_messageInfo_CreateAttestorRequest proto.InternalMessageInfo
154
155func (m *CreateAttestorRequest) GetParent() string {
156	if m != nil {
157		return m.Parent
158	}
159	return ""
160}
161
162func (m *CreateAttestorRequest) GetAttestorId() string {
163	if m != nil {
164		return m.AttestorId
165	}
166	return ""
167}
168
169func (m *CreateAttestorRequest) GetAttestor() *Attestor {
170	if m != nil {
171		return m.Attestor
172	}
173	return nil
174}
175
176// Request message for [BinauthzManagementService.GetAttestor][].
177type GetAttestorRequest struct {
178	// Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
179	// `projects/*/attestors/*`.
180	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
181	XXX_NoUnkeyedLiteral struct{} `json:"-"`
182	XXX_unrecognized     []byte   `json:"-"`
183	XXX_sizecache        int32    `json:"-"`
184}
185
186func (m *GetAttestorRequest) Reset()         { *m = GetAttestorRequest{} }
187func (m *GetAttestorRequest) String() string { return proto.CompactTextString(m) }
188func (*GetAttestorRequest) ProtoMessage()    {}
189func (*GetAttestorRequest) Descriptor() ([]byte, []int) {
190	return fileDescriptor_b5f16bed3f845be4, []int{3}
191}
192
193func (m *GetAttestorRequest) XXX_Unmarshal(b []byte) error {
194	return xxx_messageInfo_GetAttestorRequest.Unmarshal(m, b)
195}
196func (m *GetAttestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
197	return xxx_messageInfo_GetAttestorRequest.Marshal(b, m, deterministic)
198}
199func (m *GetAttestorRequest) XXX_Merge(src proto.Message) {
200	xxx_messageInfo_GetAttestorRequest.Merge(m, src)
201}
202func (m *GetAttestorRequest) XXX_Size() int {
203	return xxx_messageInfo_GetAttestorRequest.Size(m)
204}
205func (m *GetAttestorRequest) XXX_DiscardUnknown() {
206	xxx_messageInfo_GetAttestorRequest.DiscardUnknown(m)
207}
208
209var xxx_messageInfo_GetAttestorRequest proto.InternalMessageInfo
210
211func (m *GetAttestorRequest) GetName() string {
212	if m != nil {
213		return m.Name
214	}
215	return ""
216}
217
218// Request message for [BinauthzManagementService.UpdateAttestor][].
219type UpdateAttestorRequest struct {
220	// Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
221	// overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
222	// in the request URL, in the format `projects/*/attestors/*`.
223	Attestor             *Attestor `protobuf:"bytes,1,opt,name=attestor,proto3" json:"attestor,omitempty"`
224	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
225	XXX_unrecognized     []byte    `json:"-"`
226	XXX_sizecache        int32     `json:"-"`
227}
228
229func (m *UpdateAttestorRequest) Reset()         { *m = UpdateAttestorRequest{} }
230func (m *UpdateAttestorRequest) String() string { return proto.CompactTextString(m) }
231func (*UpdateAttestorRequest) ProtoMessage()    {}
232func (*UpdateAttestorRequest) Descriptor() ([]byte, []int) {
233	return fileDescriptor_b5f16bed3f845be4, []int{4}
234}
235
236func (m *UpdateAttestorRequest) XXX_Unmarshal(b []byte) error {
237	return xxx_messageInfo_UpdateAttestorRequest.Unmarshal(m, b)
238}
239func (m *UpdateAttestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
240	return xxx_messageInfo_UpdateAttestorRequest.Marshal(b, m, deterministic)
241}
242func (m *UpdateAttestorRequest) XXX_Merge(src proto.Message) {
243	xxx_messageInfo_UpdateAttestorRequest.Merge(m, src)
244}
245func (m *UpdateAttestorRequest) XXX_Size() int {
246	return xxx_messageInfo_UpdateAttestorRequest.Size(m)
247}
248func (m *UpdateAttestorRequest) XXX_DiscardUnknown() {
249	xxx_messageInfo_UpdateAttestorRequest.DiscardUnknown(m)
250}
251
252var xxx_messageInfo_UpdateAttestorRequest proto.InternalMessageInfo
253
254func (m *UpdateAttestorRequest) GetAttestor() *Attestor {
255	if m != nil {
256		return m.Attestor
257	}
258	return nil
259}
260
261// Request message for [BinauthzManagementService.ListAttestors][].
262type ListAttestorsRequest struct {
263	// Required. The resource name of the project associated with the
264	// [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
265	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
266	// Requested page size. The server may return fewer results than requested. If
267	// unspecified, the server will pick an appropriate default.
268	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
269	// A token identifying a page of results the server should return. Typically,
270	// this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
271	// from the previous call to the `ListAttestors` method.
272	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
273	XXX_NoUnkeyedLiteral struct{} `json:"-"`
274	XXX_unrecognized     []byte   `json:"-"`
275	XXX_sizecache        int32    `json:"-"`
276}
277
278func (m *ListAttestorsRequest) Reset()         { *m = ListAttestorsRequest{} }
279func (m *ListAttestorsRequest) String() string { return proto.CompactTextString(m) }
280func (*ListAttestorsRequest) ProtoMessage()    {}
281func (*ListAttestorsRequest) Descriptor() ([]byte, []int) {
282	return fileDescriptor_b5f16bed3f845be4, []int{5}
283}
284
285func (m *ListAttestorsRequest) XXX_Unmarshal(b []byte) error {
286	return xxx_messageInfo_ListAttestorsRequest.Unmarshal(m, b)
287}
288func (m *ListAttestorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
289	return xxx_messageInfo_ListAttestorsRequest.Marshal(b, m, deterministic)
290}
291func (m *ListAttestorsRequest) XXX_Merge(src proto.Message) {
292	xxx_messageInfo_ListAttestorsRequest.Merge(m, src)
293}
294func (m *ListAttestorsRequest) XXX_Size() int {
295	return xxx_messageInfo_ListAttestorsRequest.Size(m)
296}
297func (m *ListAttestorsRequest) XXX_DiscardUnknown() {
298	xxx_messageInfo_ListAttestorsRequest.DiscardUnknown(m)
299}
300
301var xxx_messageInfo_ListAttestorsRequest proto.InternalMessageInfo
302
303func (m *ListAttestorsRequest) GetParent() string {
304	if m != nil {
305		return m.Parent
306	}
307	return ""
308}
309
310func (m *ListAttestorsRequest) GetPageSize() int32 {
311	if m != nil {
312		return m.PageSize
313	}
314	return 0
315}
316
317func (m *ListAttestorsRequest) GetPageToken() string {
318	if m != nil {
319		return m.PageToken
320	}
321	return ""
322}
323
324// Response message for [BinauthzManagementService.ListAttestors][].
325type ListAttestorsResponse struct {
326	// The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
327	Attestors []*Attestor `protobuf:"bytes,1,rep,name=attestors,proto3" json:"attestors,omitempty"`
328	// A token to retrieve the next page of results. Pass this value in the
329	// [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
330	// `ListAttestors` method to retrieve the next page of results.
331	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
332	XXX_NoUnkeyedLiteral struct{} `json:"-"`
333	XXX_unrecognized     []byte   `json:"-"`
334	XXX_sizecache        int32    `json:"-"`
335}
336
337func (m *ListAttestorsResponse) Reset()         { *m = ListAttestorsResponse{} }
338func (m *ListAttestorsResponse) String() string { return proto.CompactTextString(m) }
339func (*ListAttestorsResponse) ProtoMessage()    {}
340func (*ListAttestorsResponse) Descriptor() ([]byte, []int) {
341	return fileDescriptor_b5f16bed3f845be4, []int{6}
342}
343
344func (m *ListAttestorsResponse) XXX_Unmarshal(b []byte) error {
345	return xxx_messageInfo_ListAttestorsResponse.Unmarshal(m, b)
346}
347func (m *ListAttestorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
348	return xxx_messageInfo_ListAttestorsResponse.Marshal(b, m, deterministic)
349}
350func (m *ListAttestorsResponse) XXX_Merge(src proto.Message) {
351	xxx_messageInfo_ListAttestorsResponse.Merge(m, src)
352}
353func (m *ListAttestorsResponse) XXX_Size() int {
354	return xxx_messageInfo_ListAttestorsResponse.Size(m)
355}
356func (m *ListAttestorsResponse) XXX_DiscardUnknown() {
357	xxx_messageInfo_ListAttestorsResponse.DiscardUnknown(m)
358}
359
360var xxx_messageInfo_ListAttestorsResponse proto.InternalMessageInfo
361
362func (m *ListAttestorsResponse) GetAttestors() []*Attestor {
363	if m != nil {
364		return m.Attestors
365	}
366	return nil
367}
368
369func (m *ListAttestorsResponse) GetNextPageToken() string {
370	if m != nil {
371		return m.NextPageToken
372	}
373	return ""
374}
375
376// Request message for [BinauthzManagementService.DeleteAttestor][].
377type DeleteAttestorRequest struct {
378	// Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
379	// `projects/*/attestors/*`.
380	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
381	XXX_NoUnkeyedLiteral struct{} `json:"-"`
382	XXX_unrecognized     []byte   `json:"-"`
383	XXX_sizecache        int32    `json:"-"`
384}
385
386func (m *DeleteAttestorRequest) Reset()         { *m = DeleteAttestorRequest{} }
387func (m *DeleteAttestorRequest) String() string { return proto.CompactTextString(m) }
388func (*DeleteAttestorRequest) ProtoMessage()    {}
389func (*DeleteAttestorRequest) Descriptor() ([]byte, []int) {
390	return fileDescriptor_b5f16bed3f845be4, []int{7}
391}
392
393func (m *DeleteAttestorRequest) XXX_Unmarshal(b []byte) error {
394	return xxx_messageInfo_DeleteAttestorRequest.Unmarshal(m, b)
395}
396func (m *DeleteAttestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
397	return xxx_messageInfo_DeleteAttestorRequest.Marshal(b, m, deterministic)
398}
399func (m *DeleteAttestorRequest) XXX_Merge(src proto.Message) {
400	xxx_messageInfo_DeleteAttestorRequest.Merge(m, src)
401}
402func (m *DeleteAttestorRequest) XXX_Size() int {
403	return xxx_messageInfo_DeleteAttestorRequest.Size(m)
404}
405func (m *DeleteAttestorRequest) XXX_DiscardUnknown() {
406	xxx_messageInfo_DeleteAttestorRequest.DiscardUnknown(m)
407}
408
409var xxx_messageInfo_DeleteAttestorRequest proto.InternalMessageInfo
410
411func (m *DeleteAttestorRequest) GetName() string {
412	if m != nil {
413		return m.Name
414	}
415	return ""
416}
417
418func init() {
419	proto.RegisterType((*GetPolicyRequest)(nil), "google.cloud.binaryauthorization.v1beta1.GetPolicyRequest")
420	proto.RegisterType((*UpdatePolicyRequest)(nil), "google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest")
421	proto.RegisterType((*CreateAttestorRequest)(nil), "google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest")
422	proto.RegisterType((*GetAttestorRequest)(nil), "google.cloud.binaryauthorization.v1beta1.GetAttestorRequest")
423	proto.RegisterType((*UpdateAttestorRequest)(nil), "google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest")
424	proto.RegisterType((*ListAttestorsRequest)(nil), "google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest")
425	proto.RegisterType((*ListAttestorsResponse)(nil), "google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse")
426	proto.RegisterType((*DeleteAttestorRequest)(nil), "google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest")
427}
428
429func init() {
430	proto.RegisterFile("google/cloud/binaryauthorization/v1beta1/service.proto", fileDescriptor_b5f16bed3f845be4)
431}
432
433var fileDescriptor_b5f16bed3f845be4 = []byte{
434	// 872 bytes of a gzipped FileDescriptorProto
435	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x4f, 0x6f, 0xe3, 0x44,
436	0x1c, 0xd5, 0xa4, 0x50, 0x35, 0x13, 0x5a, 0xd0, 0x40, 0x20, 0xb8, 0x20, 0x8a, 0x41, 0x55, 0x68,
437	0xa9, 0xa7, 0x49, 0xc5, 0x1f, 0xa5, 0x94, 0xca, 0x81, 0xaa, 0x42, 0xb4, 0x52, 0x95, 0x42, 0x25,
438	0x40, 0x28, 0x9d, 0x24, 0x53, 0xd7, 0xe0, 0x78, 0x8c, 0x3d, 0x69, 0x69, 0x50, 0x2f, 0x7c, 0x83,
439	0xd5, 0x7e, 0x80, 0xdd, 0xfb, 0xde, 0xf7, 0x03, 0xec, 0x6d, 0x77, 0x6f, 0xdb, 0x5b, 0xa4, 0xd5,
440	0xf6, 0xb0, 0x1f, 0x62, 0xb5, 0xa7, 0x95, 0x67, 0x6c, 0xc7, 0x49, 0xdd, 0xd6, 0x89, 0xba, 0xb7,
441	0x64, 0x7e, 0xf3, 0x7b, 0xf3, 0xde, 0xbc, 0x9f, 0x9f, 0x06, 0x7e, 0x6d, 0x30, 0x66, 0x58, 0x14,
442	0x37, 0x2d, 0xd6, 0x69, 0xe1, 0x86, 0x69, 0x13, 0xf7, 0x84, 0x74, 0xf8, 0x21, 0x73, 0xcd, 0x2e,
443	0xe1, 0x26, 0xb3, 0xf1, 0x51, 0xa9, 0x41, 0x39, 0x29, 0x61, 0x8f, 0xba, 0x47, 0x66, 0x93, 0x6a,
444	0x8e, 0xcb, 0x38, 0x43, 0x45, 0xd9, 0xa7, 0x89, 0x3e, 0x2d, 0xa1, 0x4f, 0x0b, 0xfa, 0x94, 0x8f,
445	0x82, 0x13, 0x88, 0x63, 0x62, 0x62, 0xdb, 0x8c, 0x8b, 0xb2, 0x27, 0x71, 0x94, 0x0f, 0x62, 0xd5,
446	0xa6, 0x65, 0x52, 0x9b, 0x07, 0x85, 0x4f, 0x62, 0x85, 0x03, 0x93, 0x5a, 0xad, 0x7a, 0x83, 0x1e,
447	0x92, 0x23, 0x93, 0xb9, 0xc1, 0x86, 0x0f, 0x63, 0x1b, 0x5c, 0xea, 0xb1, 0x8e, 0x1b, 0x92, 0x53,
448	0xbe, 0x4d, 0x2d, 0x2a, 0x6c, 0x0c, 0xe9, 0xcc, 0x06, 0x9d, 0xe2, 0x5f, 0xa3, 0x73, 0x80, 0x69,
449	0xdb, 0xe1, 0x27, 0xb2, 0xa8, 0xfe, 0x06, 0xdf, 0xd9, 0xa4, 0x7c, 0x87, 0x59, 0x66, 0xf3, 0xa4,
450	0x46, 0xff, 0xe9, 0x50, 0x8f, 0xa3, 0x0d, 0xf8, 0x86, 0x4d, 0xda, 0xb4, 0x00, 0xe6, 0x40, 0x31,
451	0x5b, 0x2d, 0x9d, 0xeb, 0x99, 0x97, 0xfa, 0x22, 0xfc, 0x22, 0xe9, 0x42, 0x24, 0x34, 0x71, 0x4c,
452	0x4f, 0x6b, 0xb2, 0x36, 0x0e, 0x70, 0x44, 0xbb, 0xda, 0x82, 0xef, 0xfe, 0xea, 0xb4, 0x08, 0xa7,
453	0x83, 0xe8, 0xdb, 0x70, 0xd2, 0x11, 0x0b, 0x02, 0x3f, 0x57, 0x5e, 0xd6, 0xd2, 0x5e, 0xbb, 0x26,
454	0x81, 0xaa, 0x13, 0xe7, 0x7a, 0xa6, 0x16, 0x80, 0xa8, 0xcf, 0x00, 0xcc, 0xff, 0xe0, 0x52, 0xc2,
455	0xa9, 0xce, 0x39, 0xf5, 0x38, 0x73, 0xc3, 0x83, 0x7e, 0x86, 0x93, 0x0e, 0x71, 0xa9, 0xcd, 0x03,
456	0x21, 0x2b, 0x42, 0xc8, 0x12, 0x5c, 0x14, 0x07, 0x85, 0xb7, 0xd4, 0x26, 0x36, 0x31, 0xa8, 0x7b,
457	0x41, 0x89, 0xcb, 0xfe, 0xa2, 0x4d, 0x5e, 0x0b, 0x20, 0xd0, 0xe7, 0x30, 0x47, 0x02, 0xfc, 0xba,
458	0xd9, 0x2a, 0x64, 0x04, 0xa2, 0x20, 0x02, 0xc3, 0xf5, 0x9f, 0x5a, 0x68, 0x17, 0x4e, 0x85, 0xff,
459	0x0a, 0x13, 0x42, 0x5d, 0x39, 0xbd, 0xba, 0x90, 0xbf, 0x84, 0x8d, 0x80, 0xd4, 0x3f, 0x21, 0xda,
460	0xa4, 0x7c, 0x58, 0xdd, 0xe6, 0x80, 0x49, 0x91, 0xb6, 0x14, 0x26, 0x45, 0x48, 0xd2, 0x26, 0x0b,
461	0xe6, 0xa5, 0x4d, 0xc3, 0x27, 0xc4, 0xc5, 0x80, 0x9b, 0x12, 0x73, 0x07, 0xc0, 0xf7, 0xb6, 0x4c,
462	0x2f, 0x92, 0xe3, 0xbd, 0x16, 0xb7, 0x66, 0x61, 0xd6, 0x21, 0x06, 0xad, 0x7b, 0x66, 0x97, 0x0a,
463	0xaf, 0xde, 0xac, 0x4d, 0xf9, 0x0b, 0xbb, 0x66, 0x97, 0xa2, 0x8f, 0x21, 0x14, 0x45, 0xce, 0xfe,
464	0xa6, 0xb6, 0xb0, 0x29, 0x5b, 0x13, 0xdb, 0x7f, 0xf1, 0x17, 0xd4, 0x5b, 0x00, 0xe6, 0x87, 0x18,
465	0x7a, 0x0e, 0xb3, 0x3d, 0x8a, 0x76, 0x60, 0x36, 0xd4, 0xe1, 0x15, 0xc0, 0xdc, 0xc4, 0x78, 0x37,
466	0x52, 0xeb, 0x83, 0xa0, 0x79, 0xf8, 0xb6, 0x4d, 0xff, 0xe5, 0xf5, 0x18, 0x1f, 0x31, 0x59, 0xb5,
467	0x69, 0x7f, 0x79, 0x27, 0xe2, 0xb4, 0x0f, 0xf3, 0x3f, 0x52, 0x8b, 0x5e, 0xf4, 0xe8, 0xa6, 0xa6,
468	0xa0, 0xfc, 0x38, 0x07, 0xe7, 0xaa, 0xa6, 0xed, 0xb7, 0x74, 0xb7, 0xc5, 0x25, 0xb7, 0xa9, 0xcd,
469	0x77, 0x65, 0x3e, 0xee, 0x95, 0xaa, 0xbe, 0x04, 0x74, 0x0f, 0xc0, 0x6c, 0x94, 0x16, 0xa8, 0x92,
470	0x5e, 0xfb, 0x70, 0xc4, 0x28, 0x23, 0x7f, 0xf4, 0xea, 0x72, 0x4f, 0x17, 0x4c, 0xff, 0x3f, 0x7b,
471	0x7e, 0x3b, 0xf3, 0x19, 0xfa, 0x34, 0x8a, 0xbb, 0xff, 0xfc, 0xd5, 0x35, 0x47, 0x4e, 0x80, 0x87,
472	0x17, 0xb0, 0x0c, 0x86, 0x53, 0xf4, 0x00, 0xc0, 0xb7, 0xe2, 0x01, 0x84, 0xd6, 0xd2, 0x1f, 0x9a,
473	0x10, 0x5c, 0x63, 0x70, 0xd6, 0x7b, 0x7a, 0x10, 0x53, 0x82, 0x75, 0x59, 0x29, 0xf6, 0x59, 0xcb,
474	0x75, 0xed, 0x12, 0xf2, 0x95, 0xa0, 0x0f, 0x3d, 0x05, 0x70, 0x66, 0x30, 0xde, 0xd0, 0x7a, 0x7a,
475	0x1e, 0x89, 0xc1, 0xa8, 0x8c, 0x31, 0xb4, 0xea, 0x5e, 0x4f, 0x9f, 0x95, 0x1f, 0xd7, 0x97, 0xb1,
476	0x1c, 0x8c, 0x7e, 0x4b, 0x7d, 0xea, 0x7c, 0x4c, 0x9f, 0xd8, 0x1c, 0x93, 0x76, 0x8a, 0xa3, 0xb9,
477	0xaf, 0x44, 0x79, 0x80, 0xee, 0x03, 0x98, 0x8b, 0xa5, 0x1b, 0xfa, 0x6e, 0xa4, 0xa1, 0xba, 0x09,
478	0x65, 0x5f, 0xc5, 0x07, 0xab, 0x88, 0xe6, 0x2f, 0x1f, 0xac, 0x88, 0x3f, 0x5e, 0x38, 0x45, 0x67,
479	0x00, 0xce, 0x0c, 0xe6, 0xe6, 0x28, 0xc6, 0x24, 0x26, 0xee, 0x58, 0xf4, 0xb7, 0x7a, 0xfa, 0xd4,
480	0x80, 0x0b, 0xab, 0x0a, 0xee, 0x4b, 0x08, 0x2b, 0xda, 0x55, 0x5a, 0x62, 0x76, 0x3c, 0x04, 0x70,
481	0x7a, 0x20, 0xfc, 0xd0, 0xf7, 0xe9, 0x39, 0x25, 0xe5, 0xba, 0xb2, 0x3e, 0x76, 0xbf, 0x4c, 0x5d,
482	0xf5, 0x1b, 0xff, 0x23, 0x12, 0xc3, 0x74, 0xd1, 0xa1, 0xab, 0x86, 0x0c, 0xdd, 0x05, 0x70, 0x66,
483	0x30, 0x35, 0x47, 0x71, 0x28, 0x31, 0x6f, 0x95, 0xf7, 0x43, 0x80, 0xf0, 0x31, 0xa5, 0x6d, 0xf8,
484	0x8f, 0xa9, 0xa1, 0x21, 0x5a, 0x48, 0x39, 0x44, 0xca, 0xde, 0x23, 0x5d, 0xbd, 0x3e, 0xab, 0x9f,
485	0xe8, 0xda, 0x21, 0xe7, 0x8e, 0x57, 0xc1, 0xf8, 0xf8, 0xf8, 0x78, 0x38, 0xc8, 0xfd, 0x4e, 0xf9,
486	0x2a, 0x5c, 0x72, 0x2c, 0xc2, 0x0f, 0x98, 0xdb, 0xae, 0xee, 0xff, 0xfe, 0x47, 0xc0, 0xd3, 0x60,
487	0x16, 0xb1, 0x0d, 0x8d, 0xb9, 0x06, 0x36, 0xa8, 0x2d, 0x58, 0xe3, 0x3e, 0xc0, 0xf5, 0xaf, 0xc9,
488	0xd5, 0x84, 0xda, 0x0b, 0x00, 0x1a, 0x93, 0x02, 0x6a, 0xe5, 0x55, 0x00, 0x00, 0x00, 0xff, 0xff,
489	0x9e, 0xc6, 0x20, 0x53, 0x6c, 0x0b, 0x00, 0x00,
490}
491
492// Reference imports to suppress errors if they are not otherwise used.
493var _ context.Context
494var _ grpc.ClientConnInterface
495
496// This is a compile-time assertion to ensure that this generated file
497// is compatible with the grpc package it is being compiled against.
498const _ = grpc.SupportPackageIsVersion6
499
500// BinauthzManagementServiceV1Beta1Client is the client API for BinauthzManagementServiceV1Beta1 service.
501//
502// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
503type BinauthzManagementServiceV1Beta1Client interface {
504	// A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to
505	// a container image, before the project is allowed to deploy that
506	// image. There is at most one policy per project. All image admission
507	// requests are permitted if a project has no policy.
508	//
509	// Gets the [policy][google.cloud.binaryauthorization.v1beta1.Policy] for this project. Returns a default
510	// [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one.
511	GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*Policy, error)
512	// Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the
513	// new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race
514	// conditions with concurrent policy enforcement (or management!)
515	// requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
516	// if the request is malformed.
517	UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*Policy, error)
518	// Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new
519	// [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist,
520	// INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
521	// [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists.
522	CreateAttestor(ctx context.Context, in *CreateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error)
523	// Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
524	// Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
525	GetAttestor(ctx context.Context, in *GetAttestorRequest, opts ...grpc.CallOption) (*Attestor, error)
526	// Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
527	// Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
528	UpdateAttestor(ctx context.Context, in *UpdateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error)
529	// Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
530	// Returns INVALID_ARGUMENT if the project does not exist.
531	ListAttestors(ctx context.Context, in *ListAttestorsRequest, opts ...grpc.CallOption) (*ListAttestorsResponse, error)
532	// Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the
533	// [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
534	DeleteAttestor(ctx context.Context, in *DeleteAttestorRequest, opts ...grpc.CallOption) (*empty.Empty, error)
535}
536
537type binauthzManagementServiceV1Beta1Client struct {
538	cc grpc.ClientConnInterface
539}
540
541func NewBinauthzManagementServiceV1Beta1Client(cc grpc.ClientConnInterface) BinauthzManagementServiceV1Beta1Client {
542	return &binauthzManagementServiceV1Beta1Client{cc}
543}
544
545func (c *binauthzManagementServiceV1Beta1Client) GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*Policy, error) {
546	out := new(Policy)
547	err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetPolicy", in, out, opts...)
548	if err != nil {
549		return nil, err
550	}
551	return out, nil
552}
553
554func (c *binauthzManagementServiceV1Beta1Client) UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*Policy, error) {
555	out := new(Policy)
556	err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdatePolicy", in, out, opts...)
557	if err != nil {
558		return nil, err
559	}
560	return out, nil
561}
562
563func (c *binauthzManagementServiceV1Beta1Client) CreateAttestor(ctx context.Context, in *CreateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) {
564	out := new(Attestor)
565	err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/CreateAttestor", in, out, opts...)
566	if err != nil {
567		return nil, err
568	}
569	return out, nil
570}
571
572func (c *binauthzManagementServiceV1Beta1Client) GetAttestor(ctx context.Context, in *GetAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) {
573	out := new(Attestor)
574	err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetAttestor", in, out, opts...)
575	if err != nil {
576		return nil, err
577	}
578	return out, nil
579}
580
581func (c *binauthzManagementServiceV1Beta1Client) UpdateAttestor(ctx context.Context, in *UpdateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) {
582	out := new(Attestor)
583	err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdateAttestor", in, out, opts...)
584	if err != nil {
585		return nil, err
586	}
587	return out, nil
588}
589
590func (c *binauthzManagementServiceV1Beta1Client) ListAttestors(ctx context.Context, in *ListAttestorsRequest, opts ...grpc.CallOption) (*ListAttestorsResponse, error) {
591	out := new(ListAttestorsResponse)
592	err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/ListAttestors", in, out, opts...)
593	if err != nil {
594		return nil, err
595	}
596	return out, nil
597}
598
599func (c *binauthzManagementServiceV1Beta1Client) DeleteAttestor(ctx context.Context, in *DeleteAttestorRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
600	out := new(empty.Empty)
601	err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/DeleteAttestor", in, out, opts...)
602	if err != nil {
603		return nil, err
604	}
605	return out, nil
606}
607
608// BinauthzManagementServiceV1Beta1Server is the server API for BinauthzManagementServiceV1Beta1 service.
609type BinauthzManagementServiceV1Beta1Server interface {
610	// A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to
611	// a container image, before the project is allowed to deploy that
612	// image. There is at most one policy per project. All image admission
613	// requests are permitted if a project has no policy.
614	//
615	// Gets the [policy][google.cloud.binaryauthorization.v1beta1.Policy] for this project. Returns a default
616	// [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one.
617	GetPolicy(context.Context, *GetPolicyRequest) (*Policy, error)
618	// Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the
619	// new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race
620	// conditions with concurrent policy enforcement (or management!)
621	// requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
622	// if the request is malformed.
623	UpdatePolicy(context.Context, *UpdatePolicyRequest) (*Policy, error)
624	// Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new
625	// [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist,
626	// INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
627	// [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists.
628	CreateAttestor(context.Context, *CreateAttestorRequest) (*Attestor, error)
629	// Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
630	// Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
631	GetAttestor(context.Context, *GetAttestorRequest) (*Attestor, error)
632	// Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
633	// Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
634	UpdateAttestor(context.Context, *UpdateAttestorRequest) (*Attestor, error)
635	// Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
636	// Returns INVALID_ARGUMENT if the project does not exist.
637	ListAttestors(context.Context, *ListAttestorsRequest) (*ListAttestorsResponse, error)
638	// Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the
639	// [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
640	DeleteAttestor(context.Context, *DeleteAttestorRequest) (*empty.Empty, error)
641}
642
643// UnimplementedBinauthzManagementServiceV1Beta1Server can be embedded to have forward compatible implementations.
644type UnimplementedBinauthzManagementServiceV1Beta1Server struct {
645}
646
647func (*UnimplementedBinauthzManagementServiceV1Beta1Server) GetPolicy(ctx context.Context, req *GetPolicyRequest) (*Policy, error) {
648	return nil, status.Errorf(codes.Unimplemented, "method GetPolicy not implemented")
649}
650func (*UnimplementedBinauthzManagementServiceV1Beta1Server) UpdatePolicy(ctx context.Context, req *UpdatePolicyRequest) (*Policy, error) {
651	return nil, status.Errorf(codes.Unimplemented, "method UpdatePolicy not implemented")
652}
653func (*UnimplementedBinauthzManagementServiceV1Beta1Server) CreateAttestor(ctx context.Context, req *CreateAttestorRequest) (*Attestor, error) {
654	return nil, status.Errorf(codes.Unimplemented, "method CreateAttestor not implemented")
655}
656func (*UnimplementedBinauthzManagementServiceV1Beta1Server) GetAttestor(ctx context.Context, req *GetAttestorRequest) (*Attestor, error) {
657	return nil, status.Errorf(codes.Unimplemented, "method GetAttestor not implemented")
658}
659func (*UnimplementedBinauthzManagementServiceV1Beta1Server) UpdateAttestor(ctx context.Context, req *UpdateAttestorRequest) (*Attestor, error) {
660	return nil, status.Errorf(codes.Unimplemented, "method UpdateAttestor not implemented")
661}
662func (*UnimplementedBinauthzManagementServiceV1Beta1Server) ListAttestors(ctx context.Context, req *ListAttestorsRequest) (*ListAttestorsResponse, error) {
663	return nil, status.Errorf(codes.Unimplemented, "method ListAttestors not implemented")
664}
665func (*UnimplementedBinauthzManagementServiceV1Beta1Server) DeleteAttestor(ctx context.Context, req *DeleteAttestorRequest) (*empty.Empty, error) {
666	return nil, status.Errorf(codes.Unimplemented, "method DeleteAttestor not implemented")
667}
668
669func RegisterBinauthzManagementServiceV1Beta1Server(s *grpc.Server, srv BinauthzManagementServiceV1Beta1Server) {
670	s.RegisterService(&_BinauthzManagementServiceV1Beta1_serviceDesc, srv)
671}
672
673func _BinauthzManagementServiceV1Beta1_GetPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
674	in := new(GetPolicyRequest)
675	if err := dec(in); err != nil {
676		return nil, err
677	}
678	if interceptor == nil {
679		return srv.(BinauthzManagementServiceV1Beta1Server).GetPolicy(ctx, in)
680	}
681	info := &grpc.UnaryServerInfo{
682		Server:     srv,
683		FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetPolicy",
684	}
685	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
686		return srv.(BinauthzManagementServiceV1Beta1Server).GetPolicy(ctx, req.(*GetPolicyRequest))
687	}
688	return interceptor(ctx, in, info, handler)
689}
690
691func _BinauthzManagementServiceV1Beta1_UpdatePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
692	in := new(UpdatePolicyRequest)
693	if err := dec(in); err != nil {
694		return nil, err
695	}
696	if interceptor == nil {
697		return srv.(BinauthzManagementServiceV1Beta1Server).UpdatePolicy(ctx, in)
698	}
699	info := &grpc.UnaryServerInfo{
700		Server:     srv,
701		FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdatePolicy",
702	}
703	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
704		return srv.(BinauthzManagementServiceV1Beta1Server).UpdatePolicy(ctx, req.(*UpdatePolicyRequest))
705	}
706	return interceptor(ctx, in, info, handler)
707}
708
709func _BinauthzManagementServiceV1Beta1_CreateAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
710	in := new(CreateAttestorRequest)
711	if err := dec(in); err != nil {
712		return nil, err
713	}
714	if interceptor == nil {
715		return srv.(BinauthzManagementServiceV1Beta1Server).CreateAttestor(ctx, in)
716	}
717	info := &grpc.UnaryServerInfo{
718		Server:     srv,
719		FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/CreateAttestor",
720	}
721	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
722		return srv.(BinauthzManagementServiceV1Beta1Server).CreateAttestor(ctx, req.(*CreateAttestorRequest))
723	}
724	return interceptor(ctx, in, info, handler)
725}
726
727func _BinauthzManagementServiceV1Beta1_GetAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
728	in := new(GetAttestorRequest)
729	if err := dec(in); err != nil {
730		return nil, err
731	}
732	if interceptor == nil {
733		return srv.(BinauthzManagementServiceV1Beta1Server).GetAttestor(ctx, in)
734	}
735	info := &grpc.UnaryServerInfo{
736		Server:     srv,
737		FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetAttestor",
738	}
739	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
740		return srv.(BinauthzManagementServiceV1Beta1Server).GetAttestor(ctx, req.(*GetAttestorRequest))
741	}
742	return interceptor(ctx, in, info, handler)
743}
744
745func _BinauthzManagementServiceV1Beta1_UpdateAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
746	in := new(UpdateAttestorRequest)
747	if err := dec(in); err != nil {
748		return nil, err
749	}
750	if interceptor == nil {
751		return srv.(BinauthzManagementServiceV1Beta1Server).UpdateAttestor(ctx, in)
752	}
753	info := &grpc.UnaryServerInfo{
754		Server:     srv,
755		FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdateAttestor",
756	}
757	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
758		return srv.(BinauthzManagementServiceV1Beta1Server).UpdateAttestor(ctx, req.(*UpdateAttestorRequest))
759	}
760	return interceptor(ctx, in, info, handler)
761}
762
763func _BinauthzManagementServiceV1Beta1_ListAttestors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
764	in := new(ListAttestorsRequest)
765	if err := dec(in); err != nil {
766		return nil, err
767	}
768	if interceptor == nil {
769		return srv.(BinauthzManagementServiceV1Beta1Server).ListAttestors(ctx, in)
770	}
771	info := &grpc.UnaryServerInfo{
772		Server:     srv,
773		FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/ListAttestors",
774	}
775	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
776		return srv.(BinauthzManagementServiceV1Beta1Server).ListAttestors(ctx, req.(*ListAttestorsRequest))
777	}
778	return interceptor(ctx, in, info, handler)
779}
780
781func _BinauthzManagementServiceV1Beta1_DeleteAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
782	in := new(DeleteAttestorRequest)
783	if err := dec(in); err != nil {
784		return nil, err
785	}
786	if interceptor == nil {
787		return srv.(BinauthzManagementServiceV1Beta1Server).DeleteAttestor(ctx, in)
788	}
789	info := &grpc.UnaryServerInfo{
790		Server:     srv,
791		FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/DeleteAttestor",
792	}
793	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
794		return srv.(BinauthzManagementServiceV1Beta1Server).DeleteAttestor(ctx, req.(*DeleteAttestorRequest))
795	}
796	return interceptor(ctx, in, info, handler)
797}
798
799var _BinauthzManagementServiceV1Beta1_serviceDesc = grpc.ServiceDesc{
800	ServiceName: "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1",
801	HandlerType: (*BinauthzManagementServiceV1Beta1Server)(nil),
802	Methods: []grpc.MethodDesc{
803		{
804			MethodName: "GetPolicy",
805			Handler:    _BinauthzManagementServiceV1Beta1_GetPolicy_Handler,
806		},
807		{
808			MethodName: "UpdatePolicy",
809			Handler:    _BinauthzManagementServiceV1Beta1_UpdatePolicy_Handler,
810		},
811		{
812			MethodName: "CreateAttestor",
813			Handler:    _BinauthzManagementServiceV1Beta1_CreateAttestor_Handler,
814		},
815		{
816			MethodName: "GetAttestor",
817			Handler:    _BinauthzManagementServiceV1Beta1_GetAttestor_Handler,
818		},
819		{
820			MethodName: "UpdateAttestor",
821			Handler:    _BinauthzManagementServiceV1Beta1_UpdateAttestor_Handler,
822		},
823		{
824			MethodName: "ListAttestors",
825			Handler:    _BinauthzManagementServiceV1Beta1_ListAttestors_Handler,
826		},
827		{
828			MethodName: "DeleteAttestor",
829			Handler:    _BinauthzManagementServiceV1Beta1_DeleteAttestor_Handler,
830		},
831	},
832	Streams:  []grpc.StreamDesc{},
833	Metadata: "google/cloud/binaryauthorization/v1beta1/service.proto",
834}
835