| // Copyright 2021 Google LLC | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, software | |
| // distributed under the License is distributed on an "AS IS" BASIS, | |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| // See the License for the specific language governing permissions and | |
| // limitations under the License. | |
| // Code generated by protoc-gen-go. DO NOT EDIT. | |
| // versions: | |
| // protoc-gen-go v1.30.0 | |
| // protoc v4.23.2 | |
| // source: google/cloud/binaryauthorization/v1beta1/service.proto | |
| package binaryauthorizationpb | |
| import ( | |
| context "context" | |
| reflect "reflect" | |
| sync "sync" | |
| _ "google.golang.org/genproto/googleapis/api/annotations" | |
| grpc "google.golang.org/grpc" | |
| codes "google.golang.org/grpc/codes" | |
| status "google.golang.org/grpc/status" | |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" | |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" | |
| emptypb "google.golang.org/protobuf/types/known/emptypb" | |
| ) | |
| const ( | |
| // Verify that this generated code is sufficiently up-to-date. | |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) | |
| // Verify that runtime/protoimpl is sufficiently up-to-date. | |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) | |
| ) | |
| // Request message for [BinauthzManagementService.GetPolicy][]. | |
| type GetPolicyRequest struct { | |
| state protoimpl.MessageState | |
| sizeCache protoimpl.SizeCache | |
| unknownFields protoimpl.UnknownFields | |
| // Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve, | |
| // in the format `projects/*/policy`. | |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` | |
| } | |
| func (x *GetPolicyRequest) Reset() { | |
| *x = GetPolicyRequest{} | |
| if protoimpl.UnsafeEnabled { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[0] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| } | |
| func (x *GetPolicyRequest) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*GetPolicyRequest) ProtoMessage() {} | |
| func (x *GetPolicyRequest) ProtoReflect() protoreflect.Message { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[0] | |
| if protoimpl.UnsafeEnabled && x != nil { | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| if ms.LoadMessageInfo() == nil { | |
| ms.StoreMessageInfo(mi) | |
| } | |
| return ms | |
| } | |
| return mi.MessageOf(x) | |
| } | |
| // Deprecated: Use GetPolicyRequest.ProtoReflect.Descriptor instead. | |
| func (*GetPolicyRequest) Descriptor() ([]byte, []int) { | |
| return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{0} | |
| } | |
| func (x *GetPolicyRequest) GetName() string { | |
| if x != nil { | |
| return x.Name | |
| } | |
| return "" | |
| } | |
| // Request message for [BinauthzManagementService.UpdatePolicy][]. | |
| type UpdatePolicyRequest struct { | |
| state protoimpl.MessageState | |
| sizeCache protoimpl.SizeCache | |
| unknownFields protoimpl.UnknownFields | |
| // Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will | |
| // overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in | |
| // the request URL, in the format `projects/*/policy`. | |
| Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` | |
| } | |
| func (x *UpdatePolicyRequest) Reset() { | |
| *x = UpdatePolicyRequest{} | |
| if protoimpl.UnsafeEnabled { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[1] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| } | |
| func (x *UpdatePolicyRequest) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*UpdatePolicyRequest) ProtoMessage() {} | |
| func (x *UpdatePolicyRequest) ProtoReflect() protoreflect.Message { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[1] | |
| if protoimpl.UnsafeEnabled && x != nil { | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| if ms.LoadMessageInfo() == nil { | |
| ms.StoreMessageInfo(mi) | |
| } | |
| return ms | |
| } | |
| return mi.MessageOf(x) | |
| } | |
| // Deprecated: Use UpdatePolicyRequest.ProtoReflect.Descriptor instead. | |
| func (*UpdatePolicyRequest) Descriptor() ([]byte, []int) { | |
| return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{1} | |
| } | |
| func (x *UpdatePolicyRequest) GetPolicy() *Policy { | |
| if x != nil { | |
| return x.Policy | |
| } | |
| return nil | |
| } | |
| // Request message for [BinauthzManagementService.CreateAttestor][]. | |
| type CreateAttestorRequest struct { | |
| state protoimpl.MessageState | |
| sizeCache protoimpl.SizeCache | |
| unknownFields protoimpl.UnknownFields | |
| // Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. | |
| Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` | |
| // Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID. | |
| AttestorId string `protobuf:"bytes,2,opt,name=attestor_id,json=attestorId,proto3" json:"attestor_id,omitempty"` | |
| // Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will | |
| // overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name, | |
| // in the format `projects/*/attestors/*`. | |
| Attestor *Attestor `protobuf:"bytes,3,opt,name=attestor,proto3" json:"attestor,omitempty"` | |
| } | |
| func (x *CreateAttestorRequest) Reset() { | |
| *x = CreateAttestorRequest{} | |
| if protoimpl.UnsafeEnabled { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[2] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| } | |
| func (x *CreateAttestorRequest) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*CreateAttestorRequest) ProtoMessage() {} | |
| func (x *CreateAttestorRequest) ProtoReflect() protoreflect.Message { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[2] | |
| if protoimpl.UnsafeEnabled && x != nil { | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| if ms.LoadMessageInfo() == nil { | |
| ms.StoreMessageInfo(mi) | |
| } | |
| return ms | |
| } | |
| return mi.MessageOf(x) | |
| } | |
| // Deprecated: Use CreateAttestorRequest.ProtoReflect.Descriptor instead. | |
| func (*CreateAttestorRequest) Descriptor() ([]byte, []int) { | |
| return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{2} | |
| } | |
| func (x *CreateAttestorRequest) GetParent() string { | |
| if x != nil { | |
| return x.Parent | |
| } | |
| return "" | |
| } | |
| func (x *CreateAttestorRequest) GetAttestorId() string { | |
| if x != nil { | |
| return x.AttestorId | |
| } | |
| return "" | |
| } | |
| func (x *CreateAttestorRequest) GetAttestor() *Attestor { | |
| if x != nil { | |
| return x.Attestor | |
| } | |
| return nil | |
| } | |
| // Request message for [BinauthzManagementService.GetAttestor][]. | |
| type GetAttestorRequest struct { | |
| state protoimpl.MessageState | |
| sizeCache protoimpl.SizeCache | |
| unknownFields protoimpl.UnknownFields | |
| // Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format | |
| // `projects/*/attestors/*`. | |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` | |
| } | |
| func (x *GetAttestorRequest) Reset() { | |
| *x = GetAttestorRequest{} | |
| if protoimpl.UnsafeEnabled { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[3] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| } | |
| func (x *GetAttestorRequest) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*GetAttestorRequest) ProtoMessage() {} | |
| func (x *GetAttestorRequest) ProtoReflect() protoreflect.Message { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[3] | |
| if protoimpl.UnsafeEnabled && x != nil { | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| if ms.LoadMessageInfo() == nil { | |
| ms.StoreMessageInfo(mi) | |
| } | |
| return ms | |
| } | |
| return mi.MessageOf(x) | |
| } | |
| // Deprecated: Use GetAttestorRequest.ProtoReflect.Descriptor instead. | |
| func (*GetAttestorRequest) Descriptor() ([]byte, []int) { | |
| return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{3} | |
| } | |
| func (x *GetAttestorRequest) GetName() string { | |
| if x != nil { | |
| return x.Name | |
| } | |
| return "" | |
| } | |
| // Request message for [BinauthzManagementService.UpdateAttestor][]. | |
| type UpdateAttestorRequest struct { | |
| state protoimpl.MessageState | |
| sizeCache protoimpl.SizeCache | |
| unknownFields protoimpl.UnknownFields | |
| // Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will | |
| // overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name | |
| // in the request URL, in the format `projects/*/attestors/*`. | |
| Attestor *Attestor `protobuf:"bytes,1,opt,name=attestor,proto3" json:"attestor,omitempty"` | |
| } | |
| func (x *UpdateAttestorRequest) Reset() { | |
| *x = UpdateAttestorRequest{} | |
| if protoimpl.UnsafeEnabled { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[4] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| } | |
| func (x *UpdateAttestorRequest) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*UpdateAttestorRequest) ProtoMessage() {} | |
| func (x *UpdateAttestorRequest) ProtoReflect() protoreflect.Message { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[4] | |
| if protoimpl.UnsafeEnabled && x != nil { | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| if ms.LoadMessageInfo() == nil { | |
| ms.StoreMessageInfo(mi) | |
| } | |
| return ms | |
| } | |
| return mi.MessageOf(x) | |
| } | |
| // Deprecated: Use UpdateAttestorRequest.ProtoReflect.Descriptor instead. | |
| func (*UpdateAttestorRequest) Descriptor() ([]byte, []int) { | |
| return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{4} | |
| } | |
| func (x *UpdateAttestorRequest) GetAttestor() *Attestor { | |
| if x != nil { | |
| return x.Attestor | |
| } | |
| return nil | |
| } | |
| // Request message for [BinauthzManagementService.ListAttestors][]. | |
| type ListAttestorsRequest struct { | |
| state protoimpl.MessageState | |
| sizeCache protoimpl.SizeCache | |
| unknownFields protoimpl.UnknownFields | |
| // Required. The resource name of the project associated with the | |
| // [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`. | |
| Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` | |
| // Requested page size. The server may return fewer results than requested. If | |
| // unspecified, the server will pick an appropriate default. | |
| PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` | |
| // A token identifying a page of results the server should return. Typically, | |
| // this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned | |
| // from the previous call to the `ListAttestors` method. | |
| PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` | |
| } | |
| func (x *ListAttestorsRequest) Reset() { | |
| *x = ListAttestorsRequest{} | |
| if protoimpl.UnsafeEnabled { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[5] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| } | |
| func (x *ListAttestorsRequest) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*ListAttestorsRequest) ProtoMessage() {} | |
| func (x *ListAttestorsRequest) ProtoReflect() protoreflect.Message { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[5] | |
| if protoimpl.UnsafeEnabled && x != nil { | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| if ms.LoadMessageInfo() == nil { | |
| ms.StoreMessageInfo(mi) | |
| } | |
| return ms | |
| } | |
| return mi.MessageOf(x) | |
| } | |
| // Deprecated: Use ListAttestorsRequest.ProtoReflect.Descriptor instead. | |
| func (*ListAttestorsRequest) Descriptor() ([]byte, []int) { | |
| return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{5} | |
| } | |
| func (x *ListAttestorsRequest) GetParent() string { | |
| if x != nil { | |
| return x.Parent | |
| } | |
| return "" | |
| } | |
| func (x *ListAttestorsRequest) GetPageSize() int32 { | |
| if x != nil { | |
| return x.PageSize | |
| } | |
| return 0 | |
| } | |
| func (x *ListAttestorsRequest) GetPageToken() string { | |
| if x != nil { | |
| return x.PageToken | |
| } | |
| return "" | |
| } | |
| // Response message for [BinauthzManagementService.ListAttestors][]. | |
| type ListAttestorsResponse struct { | |
| state protoimpl.MessageState | |
| sizeCache protoimpl.SizeCache | |
| unknownFields protoimpl.UnknownFields | |
| // The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor]. | |
| Attestors []*Attestor `protobuf:"bytes,1,rep,name=attestors,proto3" json:"attestors,omitempty"` | |
| // A token to retrieve the next page of results. Pass this value in the | |
| // [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the | |
| // `ListAttestors` method to retrieve the next page of results. | |
| NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` | |
| } | |
| func (x *ListAttestorsResponse) Reset() { | |
| *x = ListAttestorsResponse{} | |
| if protoimpl.UnsafeEnabled { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[6] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| } | |
| func (x *ListAttestorsResponse) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*ListAttestorsResponse) ProtoMessage() {} | |
| func (x *ListAttestorsResponse) ProtoReflect() protoreflect.Message { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[6] | |
| if protoimpl.UnsafeEnabled && x != nil { | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| if ms.LoadMessageInfo() == nil { | |
| ms.StoreMessageInfo(mi) | |
| } | |
| return ms | |
| } | |
| return mi.MessageOf(x) | |
| } | |
| // Deprecated: Use ListAttestorsResponse.ProtoReflect.Descriptor instead. | |
| func (*ListAttestorsResponse) Descriptor() ([]byte, []int) { | |
| return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{6} | |
| } | |
| func (x *ListAttestorsResponse) GetAttestors() []*Attestor { | |
| if x != nil { | |
| return x.Attestors | |
| } | |
| return nil | |
| } | |
| func (x *ListAttestorsResponse) GetNextPageToken() string { | |
| if x != nil { | |
| return x.NextPageToken | |
| } | |
| return "" | |
| } | |
| // Request message for [BinauthzManagementService.DeleteAttestor][]. | |
| type DeleteAttestorRequest struct { | |
| state protoimpl.MessageState | |
| sizeCache protoimpl.SizeCache | |
| unknownFields protoimpl.UnknownFields | |
| // Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format | |
| // `projects/*/attestors/*`. | |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` | |
| } | |
| func (x *DeleteAttestorRequest) Reset() { | |
| *x = DeleteAttestorRequest{} | |
| if protoimpl.UnsafeEnabled { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[7] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| } | |
| func (x *DeleteAttestorRequest) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*DeleteAttestorRequest) ProtoMessage() {} | |
| func (x *DeleteAttestorRequest) ProtoReflect() protoreflect.Message { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[7] | |
| if protoimpl.UnsafeEnabled && x != nil { | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| if ms.LoadMessageInfo() == nil { | |
| ms.StoreMessageInfo(mi) | |
| } | |
| return ms | |
| } | |
| return mi.MessageOf(x) | |
| } | |
| // Deprecated: Use DeleteAttestorRequest.ProtoReflect.Descriptor instead. | |
| func (*DeleteAttestorRequest) Descriptor() ([]byte, []int) { | |
| return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{7} | |
| } | |
| func (x *DeleteAttestorRequest) GetName() string { | |
| if x != nil { | |
| return x.Name | |
| } | |
| return "" | |
| } | |
| // Request to read the current system policy. | |
| type GetSystemPolicyRequest struct { | |
| state protoimpl.MessageState | |
| sizeCache protoimpl.SizeCache | |
| unknownFields protoimpl.UnknownFields | |
| // Required. The resource name, in the format `locations/*/policy`. | |
| // Note that the system policy is not associated with a project. | |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` | |
| } | |
| func (x *GetSystemPolicyRequest) Reset() { | |
| *x = GetSystemPolicyRequest{} | |
| if protoimpl.UnsafeEnabled { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[8] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| } | |
| func (x *GetSystemPolicyRequest) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*GetSystemPolicyRequest) ProtoMessage() {} | |
| func (x *GetSystemPolicyRequest) ProtoReflect() protoreflect.Message { | |
| mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[8] | |
| if protoimpl.UnsafeEnabled && x != nil { | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| if ms.LoadMessageInfo() == nil { | |
| ms.StoreMessageInfo(mi) | |
| } | |
| return ms | |
| } | |
| return mi.MessageOf(x) | |
| } | |
| // Deprecated: Use GetSystemPolicyRequest.ProtoReflect.Descriptor instead. | |
| func (*GetSystemPolicyRequest) Descriptor() ([]byte, []int) { | |
| return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{8} | |
| } | |
| func (x *GetSystemPolicyRequest) GetName() string { | |
| if x != nil { | |
| return x.Name | |
| } | |
| return "" | |
| } | |
| var File_google_cloud_binaryauthorization_v1beta1_service_proto protoreflect.FileDescriptor | |
| var file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDesc = []byte{ | |
| 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, | |
| 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, | |
| 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, | |
| 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, | |
| 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, | |
| 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, | |
| 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, | |
| 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, | |
| 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, | |
| 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, | |
| 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, | |
| 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, | |
| 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, | |
| 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, | |
| 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, | |
| 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, | |
| 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, | |
| 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, | |
| 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x10, | |
| 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, | |
| 0x12, 0x45, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, | |
| 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2b, 0x0a, 0x29, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, | |
| 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, | |
| 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6f, 0x6c, 0x69, 0x63, | |
| 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x64, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, | |
| 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, | |
| 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, | |
| 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, | |
| 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, | |
| 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, | |
| 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0xdf, 0x01, | |
| 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, | |
| 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, | |
| 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, | |
| 0x2b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, | |
| 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, | |
| 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, | |
| 0x72, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, | |
| 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, | |
| 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x53, 0x0a, 0x08, 0x61, 0x74, | |
| 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, | |
| 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, | |
| 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, | |
| 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, | |
| 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x22, | |
| 0x5d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, | |
| 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, | |
| 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x62, 0x69, 0x6e, | |
| 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, | |
| 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, | |
| 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6c, | |
| 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, | |
| 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x53, 0x0a, 0x08, 0x61, 0x74, 0x74, 0x65, 0x73, | |
| 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, | |
| 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, | |
| 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, | |
| 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x42, 0x03, 0xe0, | |
| 0x41, 0x02, 0x52, 0x08, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x22, 0x9f, 0x01, 0x0a, | |
| 0x14, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, | |
| 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, | |
| 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63, | |
| 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, | |
| 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, | |
| 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, | |
| 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, | |
| 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, | |
| 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, | |
| 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x91, | |
| 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, | |
| 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x65, | |
| 0x73, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, | |
| 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, | |
| 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, | |
| 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, | |
| 0x09, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, | |
| 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, | |
| 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, | |
| 0x65, 0x6e, 0x22, 0x60, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, | |
| 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, | |
| 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, | |
| 0x2d, 0x0a, 0x2b, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, | |
| 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, | |
| 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x04, | |
| 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x5f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, | |
| 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, | |
| 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xe0, 0x41, | |
| 0x02, 0xfa, 0x41, 0x2b, 0x0a, 0x29, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, | |
| 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, | |
| 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, | |
| 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xcb, 0x0b, 0x0a, 0x20, 0x42, 0x69, 0x6e, 0x61, 0x75, 0x74, | |
| 0x68, 0x7a, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, | |
| 0x69, 0x63, 0x65, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x12, 0xab, 0x01, 0x0a, 0x09, 0x47, | |
| 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, | |
| 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, | |
| 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, | |
| 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, | |
| 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, | |
| 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, | |
| 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, | |
| 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x30, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, | |
| 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, | |
| 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, | |
| 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x12, 0xc2, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, | |
| 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, | |
| 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, | |
| 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, | |
| 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, | |
| 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, | |
| 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, | |
| 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, | |
| 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x41, 0xda, 0x41, 0x06, 0x70, | |
| 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x3a, 0x06, 0x70, 0x6f, 0x6c, | |
| 0x69, 0x63, 0x79, 0x1a, 0x28, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, | |
| 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, | |
| 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x12, 0xdd, 0x01, | |
| 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, | |
| 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, | |
| 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, | |
| 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, | |
| 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, | |
| 0x74, 0x1a, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, | |
| 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, | |
| 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, | |
| 0x65, 0x73, 0x74, 0x6f, 0x72, 0x22, 0x56, 0xda, 0x41, 0x1b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, | |
| 0x2c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x2c, 0x61, 0x74, 0x74, | |
| 0x65, 0x73, 0x74, 0x6f, 0x72, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x3a, 0x08, 0x61, 0x74, 0x74, | |
| 0x65, 0x73, 0x74, 0x6f, 0x72, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, | |
| 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, | |
| 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x12, 0xb6, 0x01, | |
| 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x12, 0x3c, 0x2e, | |
| 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, | |
| 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, | |
| 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, | |
| 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x67, 0x6f, | |
| 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, | |
| 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, | |
| 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x22, | |
| 0x35, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, | |
| 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, | |
| 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, | |
| 0x6f, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xd3, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, | |
| 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, | |
| 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, | |
| 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, | |
| 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, | |
| 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x67, 0x6f, 0x6f, | |
| 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, | |
| 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, | |
| 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x22, 0x4c, | |
| 0xda, 0x41, 0x08, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x82, 0xd3, 0xe4, 0x93, 0x02, | |
| 0x3b, 0x3a, 0x08, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x1a, 0x2f, 0x2f, 0x76, 0x31, | |
| 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x2e, | |
| 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, | |
| 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xc9, 0x01, 0x0a, | |
| 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x3e, | |
| 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, | |
| 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, | |
| 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, | |
| 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, | |
| 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, | |
| 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, | |
| 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, | |
| 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, | |
| 0x37, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, | |
| 0x12, 0x26, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, | |
| 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, | |
| 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x12, 0xa0, 0x01, 0x0a, 0x0e, 0x44, 0x65, 0x6c, | |
| 0x65, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x12, 0x3f, 0x2e, 0x67, 0x6f, | |
| 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, | |
| 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, | |
| 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x74, 0x74, | |
| 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, | |
| 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, | |
| 0x6d, 0x70, 0x74, 0x79, 0x22, 0x35, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, | |
| 0x93, 0x02, 0x28, 0x2a, 0x26, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, | |
| 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x61, | |
| 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x1a, 0x56, 0xca, 0x41, 0x22, | |
| 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, | |
| 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, | |
| 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, | |
| 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, | |
| 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, | |
| 0x6f, 0x72, 0x6d, 0x32, 0xa8, 0x02, 0x0a, 0x13, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x6f, | |
| 0x6c, 0x69, 0x63, 0x79, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x12, 0xb8, 0x01, 0x0a, 0x0f, | |
| 0x47, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, | |
| 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, | |
| 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, | |
| 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x79, | |
| 0x73, 0x74, 0x65, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, | |
| 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, | |
| 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, | |
| 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x6c, | |
| 0x69, 0x63, 0x79, 0x22, 0x31, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, | |
| 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, | |
| 0x6d, 0x65, 0x3d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70, | |
| 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x1a, 0x56, 0xca, 0x41, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, | |
| 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x67, | |
| 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, | |
| 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, | |
| 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, | |
| 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xb8, | |
| 0x02, 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, | |
| 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, | |
| 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, | |
| 0x1f, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, | |
| 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, | |
| 0x50, 0x01, 0x5a, 0x5e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, | |
| 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, | |
| 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x76, | |
| 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, | |
| 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0x3b, 0x62, 0x69, 0x6e, | |
| 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, | |
| 0x70, 0x62, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, | |
| 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, | |
| 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, | |
| 0xca, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, | |
| 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, | |
| 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x2b, 0x47, 0x6f, | |
| 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x42, 0x69, 0x6e, | |
| 0x61, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, | |
| 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, | |
| 0x33, | |
| } | |
| var ( | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescOnce sync.Once | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescData = file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDesc | |
| ) | |
| func file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP() []byte { | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescOnce.Do(func() { | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescData) | |
| }) | |
| return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescData | |
| } | |
| var file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 9) | |
| var file_google_cloud_binaryauthorization_v1beta1_service_proto_goTypes = []interface{}{ | |
| (*GetPolicyRequest)(nil), // 0: google.cloud.binaryauthorization.v1beta1.GetPolicyRequest | |
| (*UpdatePolicyRequest)(nil), // 1: google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest | |
| (*CreateAttestorRequest)(nil), // 2: google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest | |
| (*GetAttestorRequest)(nil), // 3: google.cloud.binaryauthorization.v1beta1.GetAttestorRequest | |
| (*UpdateAttestorRequest)(nil), // 4: google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest | |
| (*ListAttestorsRequest)(nil), // 5: google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest | |
| (*ListAttestorsResponse)(nil), // 6: google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse | |
| (*DeleteAttestorRequest)(nil), // 7: google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest | |
| (*GetSystemPolicyRequest)(nil), // 8: google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest | |
| (*Policy)(nil), // 9: google.cloud.binaryauthorization.v1beta1.Policy | |
| (*Attestor)(nil), // 10: google.cloud.binaryauthorization.v1beta1.Attestor | |
| (*emptypb.Empty)(nil), // 11: google.protobuf.Empty | |
| } | |
| var file_google_cloud_binaryauthorization_v1beta1_service_proto_depIdxs = []int32{ | |
| 9, // 0: google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.policy:type_name -> google.cloud.binaryauthorization.v1beta1.Policy | |
| 10, // 1: google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.attestor:type_name -> google.cloud.binaryauthorization.v1beta1.Attestor | |
| 10, // 2: google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.attestor:type_name -> google.cloud.binaryauthorization.v1beta1.Attestor | |
| 10, // 3: google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.attestors:type_name -> google.cloud.binaryauthorization.v1beta1.Attestor | |
| 0, // 4: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetPolicy:input_type -> google.cloud.binaryauthorization.v1beta1.GetPolicyRequest | |
| 1, // 5: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdatePolicy:input_type -> google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest | |
| 2, // 6: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.CreateAttestor:input_type -> google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest | |
| 3, // 7: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetAttestor:input_type -> google.cloud.binaryauthorization.v1beta1.GetAttestorRequest | |
| 4, // 8: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdateAttestor:input_type -> google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest | |
| 5, // 9: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.ListAttestors:input_type -> google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest | |
| 7, // 10: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.DeleteAttestor:input_type -> google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest | |
| 8, // 11: google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1.GetSystemPolicy:input_type -> google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest | |
| 9, // 12: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetPolicy:output_type -> google.cloud.binaryauthorization.v1beta1.Policy | |
| 9, // 13: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdatePolicy:output_type -> google.cloud.binaryauthorization.v1beta1.Policy | |
| 10, // 14: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.CreateAttestor:output_type -> google.cloud.binaryauthorization.v1beta1.Attestor | |
| 10, // 15: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetAttestor:output_type -> google.cloud.binaryauthorization.v1beta1.Attestor | |
| 10, // 16: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdateAttestor:output_type -> google.cloud.binaryauthorization.v1beta1.Attestor | |
| 6, // 17: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.ListAttestors:output_type -> google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse | |
| 11, // 18: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.DeleteAttestor:output_type -> google.protobuf.Empty | |
| 9, // 19: google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1.GetSystemPolicy:output_type -> google.cloud.binaryauthorization.v1beta1.Policy | |
| 12, // [12:20] is the sub-list for method output_type | |
| 4, // [4:12] is the sub-list for method input_type | |
| 4, // [4:4] is the sub-list for extension type_name | |
| 4, // [4:4] is the sub-list for extension extendee | |
| 0, // [0:4] is the sub-list for field type_name | |
| } | |
| func init() { file_google_cloud_binaryauthorization_v1beta1_service_proto_init() } | |
| func file_google_cloud_binaryauthorization_v1beta1_service_proto_init() { | |
| if File_google_cloud_binaryauthorization_v1beta1_service_proto != nil { | |
| return | |
| } | |
| file_google_cloud_binaryauthorization_v1beta1_resources_proto_init() | |
| if !protoimpl.UnsafeEnabled { | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { | |
| switch v := v.(*GetPolicyRequest); i { | |
| case 0: | |
| return &v.state | |
| case 1: | |
| return &v.sizeCache | |
| case 2: | |
| return &v.unknownFields | |
| default: | |
| return nil | |
| } | |
| } | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { | |
| switch v := v.(*UpdatePolicyRequest); i { | |
| case 0: | |
| return &v.state | |
| case 1: | |
| return &v.sizeCache | |
| case 2: | |
| return &v.unknownFields | |
| default: | |
| return nil | |
| } | |
| } | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { | |
| switch v := v.(*CreateAttestorRequest); i { | |
| case 0: | |
| return &v.state | |
| case 1: | |
| return &v.sizeCache | |
| case 2: | |
| return &v.unknownFields | |
| default: | |
| return nil | |
| } | |
| } | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { | |
| switch v := v.(*GetAttestorRequest); i { | |
| case 0: | |
| return &v.state | |
| case 1: | |
| return &v.sizeCache | |
| case 2: | |
| return &v.unknownFields | |
| default: | |
| return nil | |
| } | |
| } | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { | |
| switch v := v.(*UpdateAttestorRequest); i { | |
| case 0: | |
| return &v.state | |
| case 1: | |
| return &v.sizeCache | |
| case 2: | |
| return &v.unknownFields | |
| default: | |
| return nil | |
| } | |
| } | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { | |
| switch v := v.(*ListAttestorsRequest); i { | |
| case 0: | |
| return &v.state | |
| case 1: | |
| return &v.sizeCache | |
| case 2: | |
| return &v.unknownFields | |
| default: | |
| return nil | |
| } | |
| } | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { | |
| switch v := v.(*ListAttestorsResponse); i { | |
| case 0: | |
| return &v.state | |
| case 1: | |
| return &v.sizeCache | |
| case 2: | |
| return &v.unknownFields | |
| default: | |
| return nil | |
| } | |
| } | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { | |
| switch v := v.(*DeleteAttestorRequest); i { | |
| case 0: | |
| return &v.state | |
| case 1: | |
| return &v.sizeCache | |
| case 2: | |
| return &v.unknownFields | |
| default: | |
| return nil | |
| } | |
| } | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { | |
| switch v := v.(*GetSystemPolicyRequest); i { | |
| case 0: | |
| return &v.state | |
| case 1: | |
| return &v.sizeCache | |
| case 2: | |
| return &v.unknownFields | |
| default: | |
| return nil | |
| } | |
| } | |
| } | |
| type x struct{} | |
| out := protoimpl.TypeBuilder{ | |
| File: protoimpl.DescBuilder{ | |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), | |
| RawDescriptor: file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDesc, | |
| NumEnums: 0, | |
| NumMessages: 9, | |
| NumExtensions: 0, | |
| NumServices: 2, | |
| }, | |
| GoTypes: file_google_cloud_binaryauthorization_v1beta1_service_proto_goTypes, | |
| DependencyIndexes: file_google_cloud_binaryauthorization_v1beta1_service_proto_depIdxs, | |
| MessageInfos: file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes, | |
| }.Build() | |
| File_google_cloud_binaryauthorization_v1beta1_service_proto = out.File | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDesc = nil | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_goTypes = nil | |
| file_google_cloud_binaryauthorization_v1beta1_service_proto_depIdxs = nil | |
| } | |
| // Reference imports to suppress errors if they are not otherwise used. | |
| var _ context.Context | |
| var _ grpc.ClientConnInterface | |
| // This is a compile-time assertion to ensure that this generated file | |
| // is compatible with the grpc package it is being compiled against. | |
| const _ = grpc.SupportPackageIsVersion6 | |
| // BinauthzManagementServiceV1Beta1Client is the client API for BinauthzManagementServiceV1Beta1 service. | |
| // | |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. | |
| type BinauthzManagementServiceV1Beta1Client interface { | |
| // A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to | |
| // a container image, before the project is allowed to deploy that | |
| // image. There is at most one policy per project. All image admission | |
| // requests are permitted if a project has no policy. | |
| // | |
| // Gets the [policy][google.cloud.binaryauthorization.v1beta1.Policy] for this project. Returns a default | |
| // [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one. | |
| GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*Policy, error) | |
| // Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the | |
| // new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race | |
| // conditions with concurrent policy enforcement (or management!) | |
| // requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT | |
| // if the request is malformed. | |
| UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*Policy, error) | |
| // Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new | |
| // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist, | |
| // INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the | |
| // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists. | |
| CreateAttestor(ctx context.Context, in *CreateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) | |
| // Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. | |
| // Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. | |
| GetAttestor(ctx context.Context, in *GetAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) | |
| // Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. | |
| // Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. | |
| UpdateAttestor(ctx context.Context, in *UpdateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) | |
| // Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor]. | |
| // Returns INVALID_ARGUMENT if the project does not exist. | |
| ListAttestors(ctx context.Context, in *ListAttestorsRequest, opts ...grpc.CallOption) (*ListAttestorsResponse, error) | |
| // Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the | |
| // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. | |
| DeleteAttestor(ctx context.Context, in *DeleteAttestorRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) | |
| } | |
| type binauthzManagementServiceV1Beta1Client struct { | |
| cc grpc.ClientConnInterface | |
| } | |
| func NewBinauthzManagementServiceV1Beta1Client(cc grpc.ClientConnInterface) BinauthzManagementServiceV1Beta1Client { | |
| return &binauthzManagementServiceV1Beta1Client{cc} | |
| } | |
| func (c *binauthzManagementServiceV1Beta1Client) GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*Policy, error) { | |
| out := new(Policy) | |
| err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetPolicy", in, out, opts...) | |
| if err != nil { | |
| return nil, err | |
| } | |
| return out, nil | |
| } | |
| func (c *binauthzManagementServiceV1Beta1Client) UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*Policy, error) { | |
| out := new(Policy) | |
| err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdatePolicy", in, out, opts...) | |
| if err != nil { | |
| return nil, err | |
| } | |
| return out, nil | |
| } | |
| func (c *binauthzManagementServiceV1Beta1Client) CreateAttestor(ctx context.Context, in *CreateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) { | |
| out := new(Attestor) | |
| err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/CreateAttestor", in, out, opts...) | |
| if err != nil { | |
| return nil, err | |
| } | |
| return out, nil | |
| } | |
| func (c *binauthzManagementServiceV1Beta1Client) GetAttestor(ctx context.Context, in *GetAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) { | |
| out := new(Attestor) | |
| err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetAttestor", in, out, opts...) | |
| if err != nil { | |
| return nil, err | |
| } | |
| return out, nil | |
| } | |
| func (c *binauthzManagementServiceV1Beta1Client) UpdateAttestor(ctx context.Context, in *UpdateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) { | |
| out := new(Attestor) | |
| err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdateAttestor", in, out, opts...) | |
| if err != nil { | |
| return nil, err | |
| } | |
| return out, nil | |
| } | |
| func (c *binauthzManagementServiceV1Beta1Client) ListAttestors(ctx context.Context, in *ListAttestorsRequest, opts ...grpc.CallOption) (*ListAttestorsResponse, error) { | |
| out := new(ListAttestorsResponse) | |
| err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/ListAttestors", in, out, opts...) | |
| if err != nil { | |
| return nil, err | |
| } | |
| return out, nil | |
| } | |
| func (c *binauthzManagementServiceV1Beta1Client) DeleteAttestor(ctx context.Context, in *DeleteAttestorRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { | |
| out := new(emptypb.Empty) | |
| err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/DeleteAttestor", in, out, opts...) | |
| if err != nil { | |
| return nil, err | |
| } | |
| return out, nil | |
| } | |
| // BinauthzManagementServiceV1Beta1Server is the server API for BinauthzManagementServiceV1Beta1 service. | |
| type BinauthzManagementServiceV1Beta1Server interface { | |
| // A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to | |
| // a container image, before the project is allowed to deploy that | |
| // image. There is at most one policy per project. All image admission | |
| // requests are permitted if a project has no policy. | |
| // | |
| // Gets the [policy][google.cloud.binaryauthorization.v1beta1.Policy] for this project. Returns a default | |
| // [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one. | |
| GetPolicy(context.Context, *GetPolicyRequest) (*Policy, error) | |
| // Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the | |
| // new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race | |
| // conditions with concurrent policy enforcement (or management!) | |
| // requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT | |
| // if the request is malformed. | |
| UpdatePolicy(context.Context, *UpdatePolicyRequest) (*Policy, error) | |
| // Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new | |
| // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist, | |
| // INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the | |
| // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists. | |
| CreateAttestor(context.Context, *CreateAttestorRequest) (*Attestor, error) | |
| // Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. | |
| // Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. | |
| GetAttestor(context.Context, *GetAttestorRequest) (*Attestor, error) | |
| // Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. | |
| // Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. | |
| UpdateAttestor(context.Context, *UpdateAttestorRequest) (*Attestor, error) | |
| // Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor]. | |
| // Returns INVALID_ARGUMENT if the project does not exist. | |
| ListAttestors(context.Context, *ListAttestorsRequest) (*ListAttestorsResponse, error) | |
| // Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the | |
| // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. | |
| DeleteAttestor(context.Context, *DeleteAttestorRequest) (*emptypb.Empty, error) | |
| } | |
| // UnimplementedBinauthzManagementServiceV1Beta1Server can be embedded to have forward compatible implementations. | |
| type UnimplementedBinauthzManagementServiceV1Beta1Server struct { | |
| } | |
| func (*UnimplementedBinauthzManagementServiceV1Beta1Server) GetPolicy(context.Context, *GetPolicyRequest) (*Policy, error) { | |
| return nil, status.Errorf(codes.Unimplemented, "method GetPolicy not implemented") | |
| } | |
| func (*UnimplementedBinauthzManagementServiceV1Beta1Server) UpdatePolicy(context.Context, *UpdatePolicyRequest) (*Policy, error) { | |
| return nil, status.Errorf(codes.Unimplemented, "method UpdatePolicy not implemented") | |
| } | |
| func (*UnimplementedBinauthzManagementServiceV1Beta1Server) CreateAttestor(context.Context, *CreateAttestorRequest) (*Attestor, error) { | |
| return nil, status.Errorf(codes.Unimplemented, "method CreateAttestor not implemented") | |
| } | |
| func (*UnimplementedBinauthzManagementServiceV1Beta1Server) GetAttestor(context.Context, *GetAttestorRequest) (*Attestor, error) { | |
| return nil, status.Errorf(codes.Unimplemented, "method GetAttestor not implemented") | |
| } | |
| func (*UnimplementedBinauthzManagementServiceV1Beta1Server) UpdateAttestor(context.Context, *UpdateAttestorRequest) (*Attestor, error) { | |
| return nil, status.Errorf(codes.Unimplemented, "method UpdateAttestor not implemented") | |
| } | |
| func (*UnimplementedBinauthzManagementServiceV1Beta1Server) ListAttestors(context.Context, *ListAttestorsRequest) (*ListAttestorsResponse, error) { | |
| return nil, status.Errorf(codes.Unimplemented, "method ListAttestors not implemented") | |
| } | |
| func (*UnimplementedBinauthzManagementServiceV1Beta1Server) DeleteAttestor(context.Context, *DeleteAttestorRequest) (*emptypb.Empty, error) { | |
| return nil, status.Errorf(codes.Unimplemented, "method DeleteAttestor not implemented") | |
| } | |
| func RegisterBinauthzManagementServiceV1Beta1Server(s *grpc.Server, srv BinauthzManagementServiceV1Beta1Server) { | |
| s.RegisterService(&_BinauthzManagementServiceV1Beta1_serviceDesc, srv) | |
| } | |
| func _BinauthzManagementServiceV1Beta1_GetPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | |
| in := new(GetPolicyRequest) | |
| if err := dec(in); err != nil { | |
| return nil, err | |
| } | |
| if interceptor == nil { | |
| return srv.(BinauthzManagementServiceV1Beta1Server).GetPolicy(ctx, in) | |
| } | |
| info := &grpc.UnaryServerInfo{ | |
| Server: srv, | |
| FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetPolicy", | |
| } | |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { | |
| return srv.(BinauthzManagementServiceV1Beta1Server).GetPolicy(ctx, req.(*GetPolicyRequest)) | |
| } | |
| return interceptor(ctx, in, info, handler) | |
| } | |
| func _BinauthzManagementServiceV1Beta1_UpdatePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | |
| in := new(UpdatePolicyRequest) | |
| if err := dec(in); err != nil { | |
| return nil, err | |
| } | |
| if interceptor == nil { | |
| return srv.(BinauthzManagementServiceV1Beta1Server).UpdatePolicy(ctx, in) | |
| } | |
| info := &grpc.UnaryServerInfo{ | |
| Server: srv, | |
| FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdatePolicy", | |
| } | |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { | |
| return srv.(BinauthzManagementServiceV1Beta1Server).UpdatePolicy(ctx, req.(*UpdatePolicyRequest)) | |
| } | |
| return interceptor(ctx, in, info, handler) | |
| } | |
| func _BinauthzManagementServiceV1Beta1_CreateAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | |
| in := new(CreateAttestorRequest) | |
| if err := dec(in); err != nil { | |
| return nil, err | |
| } | |
| if interceptor == nil { | |
| return srv.(BinauthzManagementServiceV1Beta1Server).CreateAttestor(ctx, in) | |
| } | |
| info := &grpc.UnaryServerInfo{ | |
| Server: srv, | |
| FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/CreateAttestor", | |
| } | |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { | |
| return srv.(BinauthzManagementServiceV1Beta1Server).CreateAttestor(ctx, req.(*CreateAttestorRequest)) | |
| } | |
| return interceptor(ctx, in, info, handler) | |
| } | |
| func _BinauthzManagementServiceV1Beta1_GetAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | |
| in := new(GetAttestorRequest) | |
| if err := dec(in); err != nil { | |
| return nil, err | |
| } | |
| if interceptor == nil { | |
| return srv.(BinauthzManagementServiceV1Beta1Server).GetAttestor(ctx, in) | |
| } | |
| info := &grpc.UnaryServerInfo{ | |
| Server: srv, | |
| FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetAttestor", | |
| } | |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { | |
| return srv.(BinauthzManagementServiceV1Beta1Server).GetAttestor(ctx, req.(*GetAttestorRequest)) | |
| } | |
| return interceptor(ctx, in, info, handler) | |
| } | |
| func _BinauthzManagementServiceV1Beta1_UpdateAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | |
| in := new(UpdateAttestorRequest) | |
| if err := dec(in); err != nil { | |
| return nil, err | |
| } | |
| if interceptor == nil { | |
| return srv.(BinauthzManagementServiceV1Beta1Server).UpdateAttestor(ctx, in) | |
| } | |
| info := &grpc.UnaryServerInfo{ | |
| Server: srv, | |
| FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdateAttestor", | |
| } | |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { | |
| return srv.(BinauthzManagementServiceV1Beta1Server).UpdateAttestor(ctx, req.(*UpdateAttestorRequest)) | |
| } | |
| return interceptor(ctx, in, info, handler) | |
| } | |
| func _BinauthzManagementServiceV1Beta1_ListAttestors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | |
| in := new(ListAttestorsRequest) | |
| if err := dec(in); err != nil { | |
| return nil, err | |
| } | |
| if interceptor == nil { | |
| return srv.(BinauthzManagementServiceV1Beta1Server).ListAttestors(ctx, in) | |
| } | |
| info := &grpc.UnaryServerInfo{ | |
| Server: srv, | |
| FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/ListAttestors", | |
| } | |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { | |
| return srv.(BinauthzManagementServiceV1Beta1Server).ListAttestors(ctx, req.(*ListAttestorsRequest)) | |
| } | |
| return interceptor(ctx, in, info, handler) | |
| } | |
| func _BinauthzManagementServiceV1Beta1_DeleteAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | |
| in := new(DeleteAttestorRequest) | |
| if err := dec(in); err != nil { | |
| return nil, err | |
| } | |
| if interceptor == nil { | |
| return srv.(BinauthzManagementServiceV1Beta1Server).DeleteAttestor(ctx, in) | |
| } | |
| info := &grpc.UnaryServerInfo{ | |
| Server: srv, | |
| FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/DeleteAttestor", | |
| } | |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { | |
| return srv.(BinauthzManagementServiceV1Beta1Server).DeleteAttestor(ctx, req.(*DeleteAttestorRequest)) | |
| } | |
| return interceptor(ctx, in, info, handler) | |
| } | |
| var _BinauthzManagementServiceV1Beta1_serviceDesc = grpc.ServiceDesc{ | |
| ServiceName: "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1", | |
| HandlerType: (*BinauthzManagementServiceV1Beta1Server)(nil), | |
| Methods: []grpc.MethodDesc{ | |
| { | |
| MethodName: "GetPolicy", | |
| Handler: _BinauthzManagementServiceV1Beta1_GetPolicy_Handler, | |
| }, | |
| { | |
| MethodName: "UpdatePolicy", | |
| Handler: _BinauthzManagementServiceV1Beta1_UpdatePolicy_Handler, | |
| }, | |
| { | |
| MethodName: "CreateAttestor", | |
| Handler: _BinauthzManagementServiceV1Beta1_CreateAttestor_Handler, | |
| }, | |
| { | |
| MethodName: "GetAttestor", | |
| Handler: _BinauthzManagementServiceV1Beta1_GetAttestor_Handler, | |
| }, | |
| { | |
| MethodName: "UpdateAttestor", | |
| Handler: _BinauthzManagementServiceV1Beta1_UpdateAttestor_Handler, | |
| }, | |
| { | |
| MethodName: "ListAttestors", | |
| Handler: _BinauthzManagementServiceV1Beta1_ListAttestors_Handler, | |
| }, | |
| { | |
| MethodName: "DeleteAttestor", | |
| Handler: _BinauthzManagementServiceV1Beta1_DeleteAttestor_Handler, | |
| }, | |
| }, | |
| Streams: []grpc.StreamDesc{}, | |
| Metadata: "google/cloud/binaryauthorization/v1beta1/service.proto", | |
| } | |
| // SystemPolicyV1Beta1Client is the client API for SystemPolicyV1Beta1 service. | |
| // | |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. | |
| type SystemPolicyV1Beta1Client interface { | |
| // Gets the current system policy in the specified location. | |
| GetSystemPolicy(ctx context.Context, in *GetSystemPolicyRequest, opts ...grpc.CallOption) (*Policy, error) | |
| } | |
| type systemPolicyV1Beta1Client struct { | |
| cc grpc.ClientConnInterface | |
| } | |
| func NewSystemPolicyV1Beta1Client(cc grpc.ClientConnInterface) SystemPolicyV1Beta1Client { | |
| return &systemPolicyV1Beta1Client{cc} | |
| } | |
| func (c *systemPolicyV1Beta1Client) GetSystemPolicy(ctx context.Context, in *GetSystemPolicyRequest, opts ...grpc.CallOption) (*Policy, error) { | |
| out := new(Policy) | |
| err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1/GetSystemPolicy", in, out, opts...) | |
| if err != nil { | |
| return nil, err | |
| } | |
| return out, nil | |
| } | |
| // SystemPolicyV1Beta1Server is the server API for SystemPolicyV1Beta1 service. | |
| type SystemPolicyV1Beta1Server interface { | |
| // Gets the current system policy in the specified location. | |
| GetSystemPolicy(context.Context, *GetSystemPolicyRequest) (*Policy, error) | |
| } | |
| // UnimplementedSystemPolicyV1Beta1Server can be embedded to have forward compatible implementations. | |
| type UnimplementedSystemPolicyV1Beta1Server struct { | |
| } | |
| func (*UnimplementedSystemPolicyV1Beta1Server) GetSystemPolicy(context.Context, *GetSystemPolicyRequest) (*Policy, error) { | |
| return nil, status.Errorf(codes.Unimplemented, "method GetSystemPolicy not implemented") | |
| } | |
| func RegisterSystemPolicyV1Beta1Server(s *grpc.Server, srv SystemPolicyV1Beta1Server) { | |
| s.RegisterService(&_SystemPolicyV1Beta1_serviceDesc, srv) | |
| } | |
| func _SystemPolicyV1Beta1_GetSystemPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | |
| in := new(GetSystemPolicyRequest) | |
| if err := dec(in); err != nil { | |
| return nil, err | |
| } | |
| if interceptor == nil { | |
| return srv.(SystemPolicyV1Beta1Server).GetSystemPolicy(ctx, in) | |
| } | |
| info := &grpc.UnaryServerInfo{ | |
| Server: srv, | |
| FullMethod: "/google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1/GetSystemPolicy", | |
| } | |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { | |
| return srv.(SystemPolicyV1Beta1Server).GetSystemPolicy(ctx, req.(*GetSystemPolicyRequest)) | |
| } | |
| return interceptor(ctx, in, info, handler) | |
| } | |
| var _SystemPolicyV1Beta1_serviceDesc = grpc.ServiceDesc{ | |
| ServiceName: "google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1", | |
| HandlerType: (*SystemPolicyV1Beta1Server)(nil), | |
| Methods: []grpc.MethodDesc{ | |
| { | |
| MethodName: "GetSystemPolicy", | |
| Handler: _SystemPolicyV1Beta1_GetSystemPolicy_Handler, | |
| }, | |
| }, | |
| Streams: []grpc.StreamDesc{}, | |
| Metadata: "google/cloud/binaryauthorization/v1beta1/service.proto", | |
| } |