Debian Codegraph @

googleapis/apps/drive/labels/v2/label_service.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v4.24.4
19 // source: google/apps/drive/labels/v2/label_service.proto
20
21 package labels
22
23 import (
24 context "context"
25 reflect "reflect"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 grpc "google.golang.org/grpc"
29 codes "google.golang.org/grpc/codes"
30 status "google.golang.org/grpc/status"
31 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
33 emptypb "google.golang.org/protobuf/types/known/emptypb"
34 )
35
36 const (
37 // Verify that this generated code is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39 // Verify that runtime/protoimpl is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41 )
42
43 var File_google_apps_drive_labels_v2_label_service_proto protoreflect.FileDescriptor
44
45 var file_google_apps_drive_labels_v2_label_service_proto_rawDesc = []byte{
46 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72,
47 0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x61,
48 0x62, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
49 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64,
50 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x1c,
51 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
52 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f,
53 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e,
54 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
55 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f,
56 0x76, 0x32, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e,
57 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76,
58 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x61, 0x62, 0x65,
59 0x6c, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32,
60 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76,
61 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x61, 0x62, 0x65,
62 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
63 0x74, 0x6f, 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f,
64 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x2f,
65 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33,
66 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76,
67 0x65, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72,
68 0x5f, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72,
69 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
70 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
71 0x32, 0xce, 0x1c, 0x0a, 0x0c, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
72 0x65, 0x12, 0xad, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x70,
73 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
74 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61,
75 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x43,
76 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
77 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73,
78 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32,
79 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65,
80 0x73, 0x22, 0x2e, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21,
81 0x12, 0x1f, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72,
82 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73,
83 0x7d, 0x12, 0x81, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
84 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64,
85 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c,
86 0x69, 0x73, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
87 0x1a, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64,
88 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c,
89 0x69, 0x73, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
90 0x65, 0x22, 0x12, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0c, 0x12, 0x0a, 0x2f, 0x76, 0x32, 0x2f, 0x6c,
91 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62,
92 0x65, 0x6c, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73,
93 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32,
94 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
95 0x1a, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64,
96 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c,
97 0x61, 0x62, 0x65, 0x6c, 0x22, 0x22, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4,
98 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6c,
99 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x88, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74,
100 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x32, 0x2e, 0x67, 0x6f,
101 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e,
102 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62,
103 0x65, 0x6c, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
104 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72,
105 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x61,
106 0x62, 0x65, 0x6c, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02,
107 0x12, 0x12, 0x10, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x6c, 0x61,
108 0x62, 0x65, 0x6c, 0x12, 0x85, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x61,
109 0x62, 0x65, 0x6c, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70,
110 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76,
111 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x71,
112 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
113 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e,
114 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x21, 0xda, 0x41, 0x05, 0x6c, 0x61, 0x62,
115 0x65, 0x6c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x22, 0x0a, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x61,
116 0x62, 0x65, 0x6c, 0x73, 0x3a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0xac, 0x01, 0x0a, 0x10,
117 0x44, 0x65, 0x6c, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c,
118 0x12, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64,
119 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44,
120 0x65, 0x6c, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52,
121 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
122 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c,
123 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
124 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0xda,
125 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x22, 0x19, 0x2f, 0x76,
126 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a,
127 0x7d, 0x3a, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x3a, 0x01, 0x2a, 0x12, 0xad, 0x01, 0x0a, 0x13, 0x55,
128 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x43, 0x6f, 0x70, 0x79, 0x4d, 0x6f,
129 0x64, 0x65, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73,
130 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32,
131 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x43, 0x6f, 0x70, 0x79,
132 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x6f,
133 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e,
134 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x22,
135 0x39, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x22, 0x27,
136 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
137 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x43,
138 0x6f, 0x70, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x93, 0x01, 0x0a, 0x0c, 0x50,
139 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x30, 0x2e, 0x67, 0x6f,
140 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e,
141 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73,
142 0x68, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
143 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76,
144 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65,
145 0x6c, 0x22, 0x2d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20,
146 0x22, 0x1b, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6c, 0x61, 0x62, 0x65,
147 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x3a, 0x01, 0x2a,
148 0x12, 0x93, 0x01, 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x61, 0x62, 0x65,
149 0x6c, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e,
150 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e,
151 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75,
152 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70,
153 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76,
154 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x2d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,
155 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
156 0x65, 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x69, 0x73, 0x61,
157 0x62, 0x6c, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x90, 0x01, 0x0a, 0x0b, 0x45, 0x6e, 0x61, 0x62, 0x6c,
158 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
159 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c,
160 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c,
161 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
162 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65,
163 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x2c, 0xda, 0x41, 0x04,
164 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1a, 0x2f, 0x76, 0x32, 0x2f,
165 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,
166 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x7a, 0x0a, 0x0b, 0x44, 0x65, 0x6c,
167 0x65, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
168 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62,
169 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x61, 0x62,
170 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
171 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
172 0x79, 0x22, 0x22, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15,
173 0x2a, 0x13, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6c, 0x61, 0x62, 0x65,
174 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xf0, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61,
175 0x62, 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38,
176 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69,
177 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73,
178 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
179 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
180 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62,
181 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c,
182 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
183 0x6e, 0x73, 0x65, 0x22, 0x63, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3,
184 0xe4, 0x93, 0x02, 0x54, 0x12, 0x21, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,
185 0x74, 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x65, 0x72, 0x6d,
186 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5a, 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x32, 0x2f, 0x7b,
187 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x2f,
188 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x65, 0x72,
189 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x9b, 0x02, 0x0a, 0x15, 0x43, 0x72, 0x65,
190 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
191 0x6f, 0x6e, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73,
192 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32,
193 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d,
194 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e,
195 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76,
196 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65,
197 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x98, 0x01, 0xda, 0x41,
198 0x17, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x70, 0x65,
199 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x78, 0x22, 0x21,
200 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6c, 0x61, 0x62, 0x65,
201 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
202 0x73, 0x3a, 0x10, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
203 0x69, 0x6f, 0x6e, 0x5a, 0x41, 0x22, 0x2d, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,
204 0x6e, 0x74, 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69,
205 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
206 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x10, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x6d,
207 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x8a, 0x02, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74,
208 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
209 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64,
210 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x55,
211 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
212 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x6f,
213 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e,
214 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50,
215 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x87, 0x01, 0xda, 0x41, 0x06, 0x70,
216 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x78, 0x32, 0x21, 0x2f, 0x76, 0x32,
217 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f,
218 0x2a, 0x7d, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x10,
219 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
220 0x5a, 0x41, 0x32, 0x2d, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
221 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,
222 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
223 0x73, 0x3a, 0x10, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
224 0x69, 0x6f, 0x6e, 0x12, 0xcd, 0x01, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x61,
225 0x62, 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x2e,
226 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76,
227 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65,
228 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
229 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
230 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
231 0x22, 0x61, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x54, 0x2a,
232 0x21, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c,
233 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
234 0x2a, 0x7d, 0x5a, 0x2f, 0x2a, 0x2d, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
235 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,
236 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
237 0x2f, 0x2a, 0x7d, 0x12, 0xa4, 0x02, 0x0a, 0x1b, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64,
238 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
239 0x6f, 0x6e, 0x73, 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70,
240 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76,
241 0x32, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62,
242 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71,
243 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
244 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e,
245 0x76, 0x32, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61,
246 0x62, 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,
247 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x81, 0x01, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65,
248 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x72, 0x22, 0x2d, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70,
249 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
250 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63,
251 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x3e, 0x22, 0x39, 0x2f, 0x76,
252 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
253 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
254 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63,
255 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0xfa, 0x01, 0x0a, 0x1b, 0x42,
256 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50,
257 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f,
258 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c,
259 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65,
260 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
261 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
262 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
263 0x70, 0x74, 0x79, 0x22, 0x81, 0x01, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82,
264 0xd3, 0xe4, 0x93, 0x02, 0x72, 0x22, 0x2d, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,
265 0x6e, 0x74, 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x65, 0x72,
266 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65,
267 0x6c, 0x65, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x3e, 0x22, 0x39, 0x2f, 0x76, 0x32, 0x2f, 0x7b,
268 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x2f,
269 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x65, 0x72,
270 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65,
271 0x6c, 0x65, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0xd2, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74,
272 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f,
273 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c,
274 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x62,
275 0x65, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33,
276 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69,
277 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73,
278 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
279 0x6e, 0x73, 0x65, 0x22, 0x57, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3,
280 0xe4, 0x93, 0x02, 0x48, 0x12, 0x1b, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,
281 0x74, 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x6b,
282 0x73, 0x5a, 0x29, 0x12, 0x27, 0x2f, 0x76, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
283 0x3d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69,
284 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x1a, 0xf2, 0x01, 0xca,
285 0x41, 0x1a, 0x64, 0x72, 0x69, 0x76, 0x65, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x67, 0x6f,
286 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0xd1, 0x01,
287 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
288 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f,
289 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x6c, 0x61, 0x62, 0x65,
290 0x6c, 0x73, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67,
291 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75,
292 0x74, 0x68, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x6c,
293 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x2c, 0x68,
294 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
295 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64,
296 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2c, 0x68, 0x74, 0x74, 0x70,
297 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
298 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64, 0x72, 0x69, 0x76,
299 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x6f, 0x6e, 0x6c,
300 0x79, 0x42, 0x80, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
301 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x6c, 0x61, 0x62, 0x65,
302 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x42, 0x11, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x72, 0x76,
303 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67,
304 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
305 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
306 0x73, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x6c, 0x61, 0x62,
307 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x3b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0xa2, 0x02, 0x04,
308 0x44, 0x4c, 0x42, 0x4c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
309 }
310
311 var file_google_apps_drive_labels_v2_label_service_proto_goTypes = []interface{}{
312 (*GetUserCapabilitiesRequest)(nil), // 0: google.apps.drive.labels.v2.GetUserCapabilitiesRequest
313 (*ListLabelsRequest)(nil), // 1: google.apps.drive.labels.v2.ListLabelsRequest
314 (*GetLabelRequest)(nil), // 2: google.apps.drive.labels.v2.GetLabelRequest
315 (*GetLabelLimitsRequest)(nil), // 3: google.apps.drive.labels.v2.GetLabelLimitsRequest
316 (*CreateLabelRequest)(nil), // 4: google.apps.drive.labels.v2.CreateLabelRequest
317 (*DeltaUpdateLabelRequest)(nil), // 5: google.apps.drive.labels.v2.DeltaUpdateLabelRequest
318 (*UpdateLabelCopyModeRequest)(nil), // 6: google.apps.drive.labels.v2.UpdateLabelCopyModeRequest
319 (*PublishLabelRequest)(nil), // 7: google.apps.drive.labels.v2.PublishLabelRequest
320 (*DisableLabelRequest)(nil), // 8: google.apps.drive.labels.v2.DisableLabelRequest
321 (*EnableLabelRequest)(nil), // 9: google.apps.drive.labels.v2.EnableLabelRequest
322 (*DeleteLabelRequest)(nil), // 10: google.apps.drive.labels.v2.DeleteLabelRequest
323 (*ListLabelPermissionsRequest)(nil), // 11: google.apps.drive.labels.v2.ListLabelPermissionsRequest
324 (*CreateLabelPermissionRequest)(nil), // 12: google.apps.drive.labels.v2.CreateLabelPermissionRequest
325 (*UpdateLabelPermissionRequest)(nil), // 13: google.apps.drive.labels.v2.UpdateLabelPermissionRequest
326 (*DeleteLabelPermissionRequest)(nil), // 14: google.apps.drive.labels.v2.DeleteLabelPermissionRequest
327 (*BatchUpdateLabelPermissionsRequest)(nil), // 15: google.apps.drive.labels.v2.BatchUpdateLabelPermissionsRequest
328 (*BatchDeleteLabelPermissionsRequest)(nil), // 16: google.apps.drive.labels.v2.BatchDeleteLabelPermissionsRequest
329 (*ListLabelLocksRequest)(nil), // 17: google.apps.drive.labels.v2.ListLabelLocksRequest
330 (*UserCapabilities)(nil), // 18: google.apps.drive.labels.v2.UserCapabilities
331 (*ListLabelsResponse)(nil), // 19: google.apps.drive.labels.v2.ListLabelsResponse
332 (*Label)(nil), // 20: google.apps.drive.labels.v2.Label
333 (*LabelLimits)(nil), // 21: google.apps.drive.labels.v2.LabelLimits
334 (*DeltaUpdateLabelResponse)(nil), // 22: google.apps.drive.labels.v2.DeltaUpdateLabelResponse
335 (*emptypb.Empty)(nil), // 23: google.protobuf.Empty
336 (*ListLabelPermissionsResponse)(nil), // 24: google.apps.drive.labels.v2.ListLabelPermissionsResponse
337 (*LabelPermission)(nil), // 25: google.apps.drive.labels.v2.LabelPermission
338 (*BatchUpdateLabelPermissionsResponse)(nil), // 26: google.apps.drive.labels.v2.BatchUpdateLabelPermissionsResponse
339 (*ListLabelLocksResponse)(nil), // 27: google.apps.drive.labels.v2.ListLabelLocksResponse
340 }
341 var file_google_apps_drive_labels_v2_label_service_proto_depIdxs = []int32{
342 0, // 0: google.apps.drive.labels.v2.LabelService.GetUserCapabilities:input_type -> google.apps.drive.labels.v2.GetUserCapabilitiesRequest
343 1, // 1: google.apps.drive.labels.v2.LabelService.ListLabels:input_type -> google.apps.drive.labels.v2.ListLabelsRequest
344 2, // 2: google.apps.drive.labels.v2.LabelService.GetLabel:input_type -> google.apps.drive.labels.v2.GetLabelRequest
345 3, // 3: google.apps.drive.labels.v2.LabelService.GetLabelLimits:input_type -> google.apps.drive.labels.v2.GetLabelLimitsRequest
346 4, // 4: google.apps.drive.labels.v2.LabelService.CreateLabel:input_type -> google.apps.drive.labels.v2.CreateLabelRequest
347 5, // 5: google.apps.drive.labels.v2.LabelService.DeltaUpdateLabel:input_type -> google.apps.drive.labels.v2.DeltaUpdateLabelRequest
348 6, // 6: google.apps.drive.labels.v2.LabelService.UpdateLabelCopyMode:input_type -> google.apps.drive.labels.v2.UpdateLabelCopyModeRequest
349 7, // 7: google.apps.drive.labels.v2.LabelService.PublishLabel:input_type -> google.apps.drive.labels.v2.PublishLabelRequest
350 8, // 8: google.apps.drive.labels.v2.LabelService.DisableLabel:input_type -> google.apps.drive.labels.v2.DisableLabelRequest
351 9, // 9: google.apps.drive.labels.v2.LabelService.EnableLabel:input_type -> google.apps.drive.labels.v2.EnableLabelRequest
352 10, // 10: google.apps.drive.labels.v2.LabelService.DeleteLabel:input_type -> google.apps.drive.labels.v2.DeleteLabelRequest
353 11, // 11: google.apps.drive.labels.v2.LabelService.ListLabelPermissions:input_type -> google.apps.drive.labels.v2.ListLabelPermissionsRequest
354 12, // 12: google.apps.drive.labels.v2.LabelService.CreateLabelPermission:input_type -> google.apps.drive.labels.v2.CreateLabelPermissionRequest
355 13, // 13: google.apps.drive.labels.v2.LabelService.UpdateLabelPermission:input_type -> google.apps.drive.labels.v2.UpdateLabelPermissionRequest
356 14, // 14: google.apps.drive.labels.v2.LabelService.DeleteLabelPermission:input_type -> google.apps.drive.labels.v2.DeleteLabelPermissionRequest
357 15, // 15: google.apps.drive.labels.v2.LabelService.BatchUpdateLabelPermissions:input_type -> google.apps.drive.labels.v2.BatchUpdateLabelPermissionsRequest
358 16, // 16: google.apps.drive.labels.v2.LabelService.BatchDeleteLabelPermissions:input_type -> google.apps.drive.labels.v2.BatchDeleteLabelPermissionsRequest
359 17, // 17: google.apps.drive.labels.v2.LabelService.ListLabelLocks:input_type -> google.apps.drive.labels.v2.ListLabelLocksRequest
360 18, // 18: google.apps.drive.labels.v2.LabelService.GetUserCapabilities:output_type -> google.apps.drive.labels.v2.UserCapabilities
361 19, // 19: google.apps.drive.labels.v2.LabelService.ListLabels:output_type -> google.apps.drive.labels.v2.ListLabelsResponse
362 20, // 20: google.apps.drive.labels.v2.LabelService.GetLabel:output_type -> google.apps.drive.labels.v2.Label
363 21, // 21: google.apps.drive.labels.v2.LabelService.GetLabelLimits:output_type -> google.apps.drive.labels.v2.LabelLimits
364 20, // 22: google.apps.drive.labels.v2.LabelService.CreateLabel:output_type -> google.apps.drive.labels.v2.Label
365 22, // 23: google.apps.drive.labels.v2.LabelService.DeltaUpdateLabel:output_type -> google.apps.drive.labels.v2.DeltaUpdateLabelResponse
366 20, // 24: google.apps.drive.labels.v2.LabelService.UpdateLabelCopyMode:output_type -> google.apps.drive.labels.v2.Label
367 20, // 25: google.apps.drive.labels.v2.LabelService.PublishLabel:output_type -> google.apps.drive.labels.v2.Label
368 20, // 26: google.apps.drive.labels.v2.LabelService.DisableLabel:output_type -> google.apps.drive.labels.v2.Label
369 20, // 27: google.apps.drive.labels.v2.LabelService.EnableLabel:output_type -> google.apps.drive.labels.v2.Label
370 23, // 28: google.apps.drive.labels.v2.LabelService.DeleteLabel:output_type -> google.protobuf.Empty
371 24, // 29: google.apps.drive.labels.v2.LabelService.ListLabelPermissions:output_type -> google.apps.drive.labels.v2.ListLabelPermissionsResponse
372 25, // 30: google.apps.drive.labels.v2.LabelService.CreateLabelPermission:output_type -> google.apps.drive.labels.v2.LabelPermission
373 25, // 31: google.apps.drive.labels.v2.LabelService.UpdateLabelPermission:output_type -> google.apps.drive.labels.v2.LabelPermission
374 23, // 32: google.apps.drive.labels.v2.LabelService.DeleteLabelPermission:output_type -> google.protobuf.Empty
375 26, // 33: google.apps.drive.labels.v2.LabelService.BatchUpdateLabelPermissions:output_type -> google.apps.drive.labels.v2.BatchUpdateLabelPermissionsResponse
376 23, // 34: google.apps.drive.labels.v2.LabelService.BatchDeleteLabelPermissions:output_type -> google.protobuf.Empty
377 27, // 35: google.apps.drive.labels.v2.LabelService.ListLabelLocks:output_type -> google.apps.drive.labels.v2.ListLabelLocksResponse
378 18, // [18:36] is the sub-list for method output_type
379 0, // [0:18] is the sub-list for method input_type
380 0, // [0:0] is the sub-list for extension type_name
381 0, // [0:0] is the sub-list for extension extendee
382 0, // [0:0] is the sub-list for field type_name
383 }
384
385 func init() { file_google_apps_drive_labels_v2_label_service_proto_init() }
386 func file_google_apps_drive_labels_v2_label_service_proto_init() {
387 if File_google_apps_drive_labels_v2_label_service_proto != nil {
388 return
389 }
390 file_google_apps_drive_labels_v2_label_proto_init()
391 file_google_apps_drive_labels_v2_label_limits_proto_init()
392 file_google_apps_drive_labels_v2_label_permission_proto_init()
393 file_google_apps_drive_labels_v2_requests_proto_init()
394 file_google_apps_drive_labels_v2_user_capabilities_proto_init()
395 type x struct{}
396 out := protoimpl.TypeBuilder{
397 File: protoimpl.DescBuilder{
398 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
399 RawDescriptor: file_google_apps_drive_labels_v2_label_service_proto_rawDesc,
400 NumEnums: 0,
401 NumMessages: 0,
402 NumExtensions: 0,
403 NumServices: 1,
404 },
405 GoTypes: file_google_apps_drive_labels_v2_label_service_proto_goTypes,
406 DependencyIndexes: file_google_apps_drive_labels_v2_label_service_proto_depIdxs,
407 }.Build()
408 File_google_apps_drive_labels_v2_label_service_proto = out.File
409 file_google_apps_drive_labels_v2_label_service_proto_rawDesc = nil
410 file_google_apps_drive_labels_v2_label_service_proto_goTypes = nil
411 file_google_apps_drive_labels_v2_label_service_proto_depIdxs = nil
412 }
413
414 // Reference imports to suppress errors if they are not otherwise used.
415 var _ context.Context
416 var _ grpc.ClientConnInterface
417
418 // This is a compile-time assertion to ensure that this generated file
419 // is compatible with the grpc package it is being compiled against.
420 const _ = grpc.SupportPackageIsVersion6
421
422 // LabelServiceClient is the client API for LabelService service.
423 //
424 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
425 type LabelServiceClient interface {
426 // Gets the user capabilities.
427 GetUserCapabilities(ctx context.Context, in *GetUserCapabilitiesRequest, opts ...grpc.CallOption) (*UserCapabilities, error)
428 // List labels.
429 ListLabels(ctx context.Context, in *ListLabelsRequest, opts ...grpc.CallOption) (*ListLabelsResponse, error)
430 // Get a label by its resource name.
431 // Resource name may be any of:
432 //
433 // - `labels/{id}` - See `labels/{id}@latest`
434 // - `labels/{id}@latest` - Gets the latest revision of the label.
435 // - `labels/{id}@published` - Gets the current published revision of the
436 // label.
437 // - `labels/{id}@{revision_id}` - Gets the label at the specified revision
438 // ID.
439 GetLabel(ctx context.Context, in *GetLabelRequest, opts ...grpc.CallOption) (*Label, error)
440 // Get the constraints on the structure of a Label; such as, the maximum
441 // number of Fields allowed and maximum length of the label title.
442 GetLabelLimits(ctx context.Context, in *GetLabelLimitsRequest, opts ...grpc.CallOption) (*LabelLimits, error)
443 // Creates a new Label.
444 CreateLabel(ctx context.Context, in *CreateLabelRequest, opts ...grpc.CallOption) (*Label, error)
445 // Updates a single Label by applying a set of update requests resulting in a
446 // new draft revision. The batch update is all-or-nothing: If any of the
447 // update requests are invalid, no changes are applied. The resulting draft
448 // revision must be published before the changes may be used with Drive Items.
449 DeltaUpdateLabel(ctx context.Context, in *DeltaUpdateLabelRequest, opts ...grpc.CallOption) (*DeltaUpdateLabelResponse, error)
450 // Updates a Label's `CopyMode`. Changes to this policy are not revisioned, do
451 // not require publishing, and take effect immediately.
452 UpdateLabelCopyMode(ctx context.Context, in *UpdateLabelCopyModeRequest, opts ...grpc.CallOption) (*Label, error)
453 // Publish all draft changes to the Label. Once published, the Label may not
454 // return to its draft state. See
455 // `google.apps.drive.labels.v2.Lifecycle` for more information.
456 //
457 // Publishing a Label will result in a new published revision. All previous
458 // draft revisions will be deleted. Previous published revisions will be kept
459 // but are subject to automated deletion as needed.
460 //
461 // Once published, some changes are no longer permitted. Generally, any change
462 // that would invalidate or cause new restrictions on existing metadata
463 // related to the Label will be rejected. For example, the following changes
464 // to a Label will be rejected after the Label is published:
465 // - The label cannot be directly deleted. It must be disabled first, then
466 // deleted.
467 // - Field.FieldType cannot be changed.
468 // - Changes to Field validation options cannot reject something that was
469 // previously accepted.
470 // - Reducing the max entries.
471 PublishLabel(ctx context.Context, in *PublishLabelRequest, opts ...grpc.CallOption) (*Label, error)
472 // Disable a published Label.
473 // Disabling a Label will result in a new disabled published revision based on
474 // the current published revision. If there is a draft revision, a new
475 // disabled draft revision will be created based on the latest draft revision.
476 // Older draft revisions will be deleted.
477 //
478 // Once disabled, a label may be deleted with `DeleteLabel`.
479 DisableLabel(ctx context.Context, in *DisableLabelRequest, opts ...grpc.CallOption) (*Label, error)
480 // Enable a disabled Label and restore it to its published state.
481 // This will result in a new published revision based on the current disabled
482 // published revision. If there is an existing disabled draft revision, a new
483 // revision will be created based on that draft and will be enabled.
484 EnableLabel(ctx context.Context, in *EnableLabelRequest, opts ...grpc.CallOption) (*Label, error)
485 // Permanently deletes a Label and related metadata on Drive Items.
486 //
487 // Once deleted, the Label and related Drive item metadata will be deleted.
488 // Only draft Labels, and disabled Labels may be deleted.
489 DeleteLabel(ctx context.Context, in *DeleteLabelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
490 // Lists a Label's permissions.
491 ListLabelPermissions(ctx context.Context, in *ListLabelPermissionsRequest, opts ...grpc.CallOption) (*ListLabelPermissionsResponse, error)
492 // Updates a Label's permissions. If a permission for the indicated principal
493 // doesn't exist, a new Label Permission is created, otherwise the existing
494 // permission is updated. Permissions affect the Label resource as a whole,
495 // are not revisioned, and do not require publishing.
496 CreateLabelPermission(ctx context.Context, in *CreateLabelPermissionRequest, opts ...grpc.CallOption) (*LabelPermission, error)
497 // Updates a Label's permissions. If a permission for the indicated principal
498 // doesn't exist, a new Label Permission is created, otherwise the existing
499 // permission is updated. Permissions affect the Label resource as a whole,
500 // are not revisioned, and do not require publishing.
501 UpdateLabelPermission(ctx context.Context, in *UpdateLabelPermissionRequest, opts ...grpc.CallOption) (*LabelPermission, error)
502 // Deletes a Label's permission. Permissions affect the Label resource as a
503 // whole, are not revisioned, and do not require publishing.
504 DeleteLabelPermission(ctx context.Context, in *DeleteLabelPermissionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
505 // Updates Label permissions. If a permission for the
506 // indicated principal doesn't exist, a new Label Permission is created,
507 // otherwise the existing permission is updated. Permissions affect the Label
508 // resource as a whole, are not revisioned, and do not require publishing.
509 BatchUpdateLabelPermissions(ctx context.Context, in *BatchUpdateLabelPermissionsRequest, opts ...grpc.CallOption) (*BatchUpdateLabelPermissionsResponse, error)
510 // Deletes Label permissions. Permissions affect the Label resource as a
511 // whole, are not revisioned, and do not require publishing.
512 BatchDeleteLabelPermissions(ctx context.Context, in *BatchDeleteLabelPermissionsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
513 // Lists the LabelLocks on a Label.
514 ListLabelLocks(ctx context.Context, in *ListLabelLocksRequest, opts ...grpc.CallOption) (*ListLabelLocksResponse, error)
515 }
516
517 type labelServiceClient struct {
518 cc grpc.ClientConnInterface
519 }
520
521 func NewLabelServiceClient(cc grpc.ClientConnInterface) LabelServiceClient {
522 return &labelServiceClient{cc}
523 }
524
525 func (c *labelServiceClient) GetUserCapabilities(ctx context.Context, in *GetUserCapabilitiesRequest, opts ...grpc.CallOption) (*UserCapabilities, error) {
526 out := new(UserCapabilities)
527 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/GetUserCapabilities", in, out, opts...)
528 if err != nil {
529 return nil, err
530 }
531 return out, nil
532 }
533
534 func (c *labelServiceClient) ListLabels(ctx context.Context, in *ListLabelsRequest, opts ...grpc.CallOption) (*ListLabelsResponse, error) {
535 out := new(ListLabelsResponse)
536 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/ListLabels", in, out, opts...)
537 if err != nil {
538 return nil, err
539 }
540 return out, nil
541 }
542
543 func (c *labelServiceClient) GetLabel(ctx context.Context, in *GetLabelRequest, opts ...grpc.CallOption) (*Label, error) {
544 out := new(Label)
545 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/GetLabel", in, out, opts...)
546 if err != nil {
547 return nil, err
548 }
549 return out, nil
550 }
551
552 func (c *labelServiceClient) GetLabelLimits(ctx context.Context, in *GetLabelLimitsRequest, opts ...grpc.CallOption) (*LabelLimits, error) {
553 out := new(LabelLimits)
554 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/GetLabelLimits", in, out, opts...)
555 if err != nil {
556 return nil, err
557 }
558 return out, nil
559 }
560
561 func (c *labelServiceClient) CreateLabel(ctx context.Context, in *CreateLabelRequest, opts ...grpc.CallOption) (*Label, error) {
562 out := new(Label)
563 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/CreateLabel", in, out, opts...)
564 if err != nil {
565 return nil, err
566 }
567 return out, nil
568 }
569
570 func (c *labelServiceClient) DeltaUpdateLabel(ctx context.Context, in *DeltaUpdateLabelRequest, opts ...grpc.CallOption) (*DeltaUpdateLabelResponse, error) {
571 out := new(DeltaUpdateLabelResponse)
572 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/DeltaUpdateLabel", in, out, opts...)
573 if err != nil {
574 return nil, err
575 }
576 return out, nil
577 }
578
579 func (c *labelServiceClient) UpdateLabelCopyMode(ctx context.Context, in *UpdateLabelCopyModeRequest, opts ...grpc.CallOption) (*Label, error) {
580 out := new(Label)
581 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/UpdateLabelCopyMode", in, out, opts...)
582 if err != nil {
583 return nil, err
584 }
585 return out, nil
586 }
587
588 func (c *labelServiceClient) PublishLabel(ctx context.Context, in *PublishLabelRequest, opts ...grpc.CallOption) (*Label, error) {
589 out := new(Label)
590 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/PublishLabel", in, out, opts...)
591 if err != nil {
592 return nil, err
593 }
594 return out, nil
595 }
596
597 func (c *labelServiceClient) DisableLabel(ctx context.Context, in *DisableLabelRequest, opts ...grpc.CallOption) (*Label, error) {
598 out := new(Label)
599 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/DisableLabel", in, out, opts...)
600 if err != nil {
601 return nil, err
602 }
603 return out, nil
604 }
605
606 func (c *labelServiceClient) EnableLabel(ctx context.Context, in *EnableLabelRequest, opts ...grpc.CallOption) (*Label, error) {
607 out := new(Label)
608 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/EnableLabel", in, out, opts...)
609 if err != nil {
610 return nil, err
611 }
612 return out, nil
613 }
614
615 func (c *labelServiceClient) DeleteLabel(ctx context.Context, in *DeleteLabelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
616 out := new(emptypb.Empty)
617 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/DeleteLabel", in, out, opts...)
618 if err != nil {
619 return nil, err
620 }
621 return out, nil
622 }
623
624 func (c *labelServiceClient) ListLabelPermissions(ctx context.Context, in *ListLabelPermissionsRequest, opts ...grpc.CallOption) (*ListLabelPermissionsResponse, error) {
625 out := new(ListLabelPermissionsResponse)
626 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/ListLabelPermissions", in, out, opts...)
627 if err != nil {
628 return nil, err
629 }
630 return out, nil
631 }
632
633 func (c *labelServiceClient) CreateLabelPermission(ctx context.Context, in *CreateLabelPermissionRequest, opts ...grpc.CallOption) (*LabelPermission, error) {
634 out := new(LabelPermission)
635 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/CreateLabelPermission", in, out, opts...)
636 if err != nil {
637 return nil, err
638 }
639 return out, nil
640 }
641
642 func (c *labelServiceClient) UpdateLabelPermission(ctx context.Context, in *UpdateLabelPermissionRequest, opts ...grpc.CallOption) (*LabelPermission, error) {
643 out := new(LabelPermission)
644 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/UpdateLabelPermission", in, out, opts...)
645 if err != nil {
646 return nil, err
647 }
648 return out, nil
649 }
650
651 func (c *labelServiceClient) DeleteLabelPermission(ctx context.Context, in *DeleteLabelPermissionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
652 out := new(emptypb.Empty)
653 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/DeleteLabelPermission", in, out, opts...)
654 if err != nil {
655 return nil, err
656 }
657 return out, nil
658 }
659
660 func (c *labelServiceClient) BatchUpdateLabelPermissions(ctx context.Context, in *BatchUpdateLabelPermissionsRequest, opts ...grpc.CallOption) (*BatchUpdateLabelPermissionsResponse, error) {
661 out := new(BatchUpdateLabelPermissionsResponse)
662 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/BatchUpdateLabelPermissions", in, out, opts...)
663 if err != nil {
664 return nil, err
665 }
666 return out, nil
667 }
668
669 func (c *labelServiceClient) BatchDeleteLabelPermissions(ctx context.Context, in *BatchDeleteLabelPermissionsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
670 out := new(emptypb.Empty)
671 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/BatchDeleteLabelPermissions", in, out, opts...)
672 if err != nil {
673 return nil, err
674 }
675 return out, nil
676 }
677
678 func (c *labelServiceClient) ListLabelLocks(ctx context.Context, in *ListLabelLocksRequest, opts ...grpc.CallOption) (*ListLabelLocksResponse, error) {
679 out := new(ListLabelLocksResponse)
680 err := c.cc.Invoke(ctx, "/google.apps.drive.labels.v2.LabelService/ListLabelLocks", in, out, opts...)
681 if err != nil {
682 return nil, err
683 }
684 return out, nil
685 }
686
687 // LabelServiceServer is the server API for LabelService service.
688 type LabelServiceServer interface {
689 // Gets the user capabilities.
690 GetUserCapabilities(context.Context, *GetUserCapabilitiesRequest) (*UserCapabilities, error)
691 // List labels.
692 ListLabels(context.Context, *ListLabelsRequest) (*ListLabelsResponse, error)
693 // Get a label by its resource name.
694 // Resource name may be any of:
695 //
696 // - `labels/{id}` - See `labels/{id}@latest`
697 // - `labels/{id}@latest` - Gets the latest revision of the label.
698 // - `labels/{id}@published` - Gets the current published revision of the
699 // label.
700 // - `labels/{id}@{revision_id}` - Gets the label at the specified revision
701 // ID.
702 GetLabel(context.Context, *GetLabelRequest) (*Label, error)
703 // Get the constraints on the structure of a Label; such as, the maximum
704 // number of Fields allowed and maximum length of the label title.
705 GetLabelLimits(context.Context, *GetLabelLimitsRequest) (*LabelLimits, error)
706 // Creates a new Label.
707 CreateLabel(context.Context, *CreateLabelRequest) (*Label, error)
708 // Updates a single Label by applying a set of update requests resulting in a
709 // new draft revision. The batch update is all-or-nothing: If any of the
710 // update requests are invalid, no changes are applied. The resulting draft
711 // revision must be published before the changes may be used with Drive Items.
712 DeltaUpdateLabel(context.Context, *DeltaUpdateLabelRequest) (*DeltaUpdateLabelResponse, error)
713 // Updates a Label's `CopyMode`. Changes to this policy are not revisioned, do
714 // not require publishing, and take effect immediately.
715 UpdateLabelCopyMode(context.Context, *UpdateLabelCopyModeRequest) (*Label, error)
716 // Publish all draft changes to the Label. Once published, the Label may not
717 // return to its draft state. See
718 // `google.apps.drive.labels.v2.Lifecycle` for more information.
719 //
720 // Publishing a Label will result in a new published revision. All previous
721 // draft revisions will be deleted. Previous published revisions will be kept
722 // but are subject to automated deletion as needed.
723 //
724 // Once published, some changes are no longer permitted. Generally, any change
725 // that would invalidate or cause new restrictions on existing metadata
726 // related to the Label will be rejected. For example, the following changes
727 // to a Label will be rejected after the Label is published:
728 // - The label cannot be directly deleted. It must be disabled first, then
729 // deleted.
730 // - Field.FieldType cannot be changed.
731 // - Changes to Field validation options cannot reject something that was
732 // previously accepted.
733 // - Reducing the max entries.
734 PublishLabel(context.Context, *PublishLabelRequest) (*Label, error)
735 // Disable a published Label.
736 // Disabling a Label will result in a new disabled published revision based on
737 // the current published revision. If there is a draft revision, a new
738 // disabled draft revision will be created based on the latest draft revision.
739 // Older draft revisions will be deleted.
740 //
741 // Once disabled, a label may be deleted with `DeleteLabel`.
742 DisableLabel(context.Context, *DisableLabelRequest) (*Label, error)
743 // Enable a disabled Label and restore it to its published state.
744 // This will result in a new published revision based on the current disabled
745 // published revision. If there is an existing disabled draft revision, a new
746 // revision will be created based on that draft and will be enabled.
747 EnableLabel(context.Context, *EnableLabelRequest) (*Label, error)
748 // Permanently deletes a Label and related metadata on Drive Items.
749 //
750 // Once deleted, the Label and related Drive item metadata will be deleted.
751 // Only draft Labels, and disabled Labels may be deleted.
752 DeleteLabel(context.Context, *DeleteLabelRequest) (*emptypb.Empty, error)
753 // Lists a Label's permissions.
754 ListLabelPermissions(context.Context, *ListLabelPermissionsRequest) (*ListLabelPermissionsResponse, error)
755 // Updates a Label's permissions. If a permission for the indicated principal
756 // doesn't exist, a new Label Permission is created, otherwise the existing
757 // permission is updated. Permissions affect the Label resource as a whole,
758 // are not revisioned, and do not require publishing.
759 CreateLabelPermission(context.Context, *CreateLabelPermissionRequest) (*LabelPermission, error)
760 // Updates a Label's permissions. If a permission for the indicated principal
761 // doesn't exist, a new Label Permission is created, otherwise the existing
762 // permission is updated. Permissions affect the Label resource as a whole,
763 // are not revisioned, and do not require publishing.
764 UpdateLabelPermission(context.Context, *UpdateLabelPermissionRequest) (*LabelPermission, error)
765 // Deletes a Label's permission. Permissions affect the Label resource as a
766 // whole, are not revisioned, and do not require publishing.
767 DeleteLabelPermission(context.Context, *DeleteLabelPermissionRequest) (*emptypb.Empty, error)
768 // Updates Label permissions. If a permission for the
769 // indicated principal doesn't exist, a new Label Permission is created,
770 // otherwise the existing permission is updated. Permissions affect the Label
771 // resource as a whole, are not revisioned, and do not require publishing.
772 BatchUpdateLabelPermissions(context.Context, *BatchUpdateLabelPermissionsRequest) (*BatchUpdateLabelPermissionsResponse, error)
773 // Deletes Label permissions. Permissions affect the Label resource as a
774 // whole, are not revisioned, and do not require publishing.
775 BatchDeleteLabelPermissions(context.Context, *BatchDeleteLabelPermissionsRequest) (*emptypb.Empty, error)
776 // Lists the LabelLocks on a Label.
777 ListLabelLocks(context.Context, *ListLabelLocksRequest) (*ListLabelLocksResponse, error)
778 }
779
780 // UnimplementedLabelServiceServer can be embedded to have forward compatible implementations.
781 type UnimplementedLabelServiceServer struct {
782 }
783
784 func (*UnimplementedLabelServiceServer) GetUserCapabilities(context.Context, *GetUserCapabilitiesRequest) (*UserCapabilities, error) {
785 return nil, status.Errorf(codes.Unimplemented, "method GetUserCapabilities not implemented")
786 }
787 func (*UnimplementedLabelServiceServer) ListLabels(context.Context, *ListLabelsRequest) (*ListLabelsResponse, error) {
788 return nil, status.Errorf(codes.Unimplemented, "method ListLabels not implemented")
789 }
790 func (*UnimplementedLabelServiceServer) GetLabel(context.Context, *GetLabelRequest) (*Label, error) {
791 return nil, status.Errorf(codes.Unimplemented, "method GetLabel not implemented")
792 }
793 func (*UnimplementedLabelServiceServer) GetLabelLimits(context.Context, *GetLabelLimitsRequest) (*LabelLimits, error) {
794 return nil, status.Errorf(codes.Unimplemented, "method GetLabelLimits not implemented")
795 }
796 func (*UnimplementedLabelServiceServer) CreateLabel(context.Context, *CreateLabelRequest) (*Label, error) {
797 return nil, status.Errorf(codes.Unimplemented, "method CreateLabel not implemented")
798 }
799 func (*UnimplementedLabelServiceServer) DeltaUpdateLabel(context.Context, *DeltaUpdateLabelRequest) (*DeltaUpdateLabelResponse, error) {
800 return nil, status.Errorf(codes.Unimplemented, "method DeltaUpdateLabel not implemented")
801 }
802 func (*UnimplementedLabelServiceServer) UpdateLabelCopyMode(context.Context, *UpdateLabelCopyModeRequest) (*Label, error) {
803 return nil, status.Errorf(codes.Unimplemented, "method UpdateLabelCopyMode not implemented")
804 }
805 func (*UnimplementedLabelServiceServer) PublishLabel(context.Context, *PublishLabelRequest) (*Label, error) {
806 return nil, status.Errorf(codes.Unimplemented, "method PublishLabel not implemented")
807 }
808 func (*UnimplementedLabelServiceServer) DisableLabel(context.Context, *DisableLabelRequest) (*Label, error) {
809 return nil, status.Errorf(codes.Unimplemented, "method DisableLabel not implemented")
810 }
811 func (*UnimplementedLabelServiceServer) EnableLabel(context.Context, *EnableLabelRequest) (*Label, error) {
812 return nil, status.Errorf(codes.Unimplemented, "method EnableLabel not implemented")
813 }
814 func (*UnimplementedLabelServiceServer) DeleteLabel(context.Context, *DeleteLabelRequest) (*emptypb.Empty, error) {
815 return nil, status.Errorf(codes.Unimplemented, "method DeleteLabel not implemented")
816 }
817 func (*UnimplementedLabelServiceServer) ListLabelPermissions(context.Context, *ListLabelPermissionsRequest) (*ListLabelPermissionsResponse, error) {
818 return nil, status.Errorf(codes.Unimplemented, "method ListLabelPermissions not implemented")
819 }
820 func (*UnimplementedLabelServiceServer) CreateLabelPermission(context.Context, *CreateLabelPermissionRequest) (*LabelPermission, error) {
821 return nil, status.Errorf(codes.Unimplemented, "method CreateLabelPermission not implemented")
822 }
823 func (*UnimplementedLabelServiceServer) UpdateLabelPermission(context.Context, *UpdateLabelPermissionRequest) (*LabelPermission, error) {
824 return nil, status.Errorf(codes.Unimplemented, "method UpdateLabelPermission not implemented")
825 }
826 func (*UnimplementedLabelServiceServer) DeleteLabelPermission(context.Context, *DeleteLabelPermissionRequest) (*emptypb.Empty, error) {
827 return nil, status.Errorf(codes.Unimplemented, "method DeleteLabelPermission not implemented")
828 }
829 func (*UnimplementedLabelServiceServer) BatchUpdateLabelPermissions(context.Context, *BatchUpdateLabelPermissionsRequest) (*BatchUpdateLabelPermissionsResponse, error) {
830 return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateLabelPermissions not implemented")
831 }
832 func (*UnimplementedLabelServiceServer) BatchDeleteLabelPermissions(context.Context, *BatchDeleteLabelPermissionsRequest) (*emptypb.Empty, error) {
833 return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteLabelPermissions not implemented")
834 }
835 func (*UnimplementedLabelServiceServer) ListLabelLocks(context.Context, *ListLabelLocksRequest) (*ListLabelLocksResponse, error) {
836 return nil, status.Errorf(codes.Unimplemented, "method ListLabelLocks not implemented")
837 }
838
839 func RegisterLabelServiceServer(s *grpc.Server, srv LabelServiceServer) {
840 s.RegisterService(&_LabelService_serviceDesc, srv)
841 }
842
843 func _LabelService_GetUserCapabilities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
844 in := new(GetUserCapabilitiesRequest)
845 if err := dec(in); err != nil {
846 return nil, err
847 }
848 if interceptor == nil {
849 return srv.(LabelServiceServer).GetUserCapabilities(ctx, in)
850 }
851 info := &grpc.UnaryServerInfo{
852 Server: srv,
853 FullMethod: "/google.apps.drive.labels.v2.LabelService/GetUserCapabilities",
854 }
855 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
856 return srv.(LabelServiceServer).GetUserCapabilities(ctx, req.(*GetUserCapabilitiesRequest))
857 }
858 return interceptor(ctx, in, info, handler)
859 }
860
861 func _LabelService_ListLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
862 in := new(ListLabelsRequest)
863 if err := dec(in); err != nil {
864 return nil, err
865 }
866 if interceptor == nil {
867 return srv.(LabelServiceServer).ListLabels(ctx, in)
868 }
869 info := &grpc.UnaryServerInfo{
870 Server: srv,
871 FullMethod: "/google.apps.drive.labels.v2.LabelService/ListLabels",
872 }
873 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
874 return srv.(LabelServiceServer).ListLabels(ctx, req.(*ListLabelsRequest))
875 }
876 return interceptor(ctx, in, info, handler)
877 }
878
879 func _LabelService_GetLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
880 in := new(GetLabelRequest)
881 if err := dec(in); err != nil {
882 return nil, err
883 }
884 if interceptor == nil {
885 return srv.(LabelServiceServer).GetLabel(ctx, in)
886 }
887 info := &grpc.UnaryServerInfo{
888 Server: srv,
889 FullMethod: "/google.apps.drive.labels.v2.LabelService/GetLabel",
890 }
891 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
892 return srv.(LabelServiceServer).GetLabel(ctx, req.(*GetLabelRequest))
893 }
894 return interceptor(ctx, in, info, handler)
895 }
896
897 func _LabelService_GetLabelLimits_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
898 in := new(GetLabelLimitsRequest)
899 if err := dec(in); err != nil {
900 return nil, err
901 }
902 if interceptor == nil {
903 return srv.(LabelServiceServer).GetLabelLimits(ctx, in)
904 }
905 info := &grpc.UnaryServerInfo{
906 Server: srv,
907 FullMethod: "/google.apps.drive.labels.v2.LabelService/GetLabelLimits",
908 }
909 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
910 return srv.(LabelServiceServer).GetLabelLimits(ctx, req.(*GetLabelLimitsRequest))
911 }
912 return interceptor(ctx, in, info, handler)
913 }
914
915 func _LabelService_CreateLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
916 in := new(CreateLabelRequest)
917 if err := dec(in); err != nil {
918 return nil, err
919 }
920 if interceptor == nil {
921 return srv.(LabelServiceServer).CreateLabel(ctx, in)
922 }
923 info := &grpc.UnaryServerInfo{
924 Server: srv,
925 FullMethod: "/google.apps.drive.labels.v2.LabelService/CreateLabel",
926 }
927 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
928 return srv.(LabelServiceServer).CreateLabel(ctx, req.(*CreateLabelRequest))
929 }
930 return interceptor(ctx, in, info, handler)
931 }
932
933 func _LabelService_DeltaUpdateLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
934 in := new(DeltaUpdateLabelRequest)
935 if err := dec(in); err != nil {
936 return nil, err
937 }
938 if interceptor == nil {
939 return srv.(LabelServiceServer).DeltaUpdateLabel(ctx, in)
940 }
941 info := &grpc.UnaryServerInfo{
942 Server: srv,
943 FullMethod: "/google.apps.drive.labels.v2.LabelService/DeltaUpdateLabel",
944 }
945 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
946 return srv.(LabelServiceServer).DeltaUpdateLabel(ctx, req.(*DeltaUpdateLabelRequest))
947 }
948 return interceptor(ctx, in, info, handler)
949 }
950
951 func _LabelService_UpdateLabelCopyMode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
952 in := new(UpdateLabelCopyModeRequest)
953 if err := dec(in); err != nil {
954 return nil, err
955 }
956 if interceptor == nil {
957 return srv.(LabelServiceServer).UpdateLabelCopyMode(ctx, in)
958 }
959 info := &grpc.UnaryServerInfo{
960 Server: srv,
961 FullMethod: "/google.apps.drive.labels.v2.LabelService/UpdateLabelCopyMode",
962 }
963 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
964 return srv.(LabelServiceServer).UpdateLabelCopyMode(ctx, req.(*UpdateLabelCopyModeRequest))
965 }
966 return interceptor(ctx, in, info, handler)
967 }
968
969 func _LabelService_PublishLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
970 in := new(PublishLabelRequest)
971 if err := dec(in); err != nil {
972 return nil, err
973 }
974 if interceptor == nil {
975 return srv.(LabelServiceServer).PublishLabel(ctx, in)
976 }
977 info := &grpc.UnaryServerInfo{
978 Server: srv,
979 FullMethod: "/google.apps.drive.labels.v2.LabelService/PublishLabel",
980 }
981 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
982 return srv.(LabelServiceServer).PublishLabel(ctx, req.(*PublishLabelRequest))
983 }
984 return interceptor(ctx, in, info, handler)
985 }
986
987 func _LabelService_DisableLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
988 in := new(DisableLabelRequest)
989 if err := dec(in); err != nil {
990 return nil, err
991 }
992 if interceptor == nil {
993 return srv.(LabelServiceServer).DisableLabel(ctx, in)
994 }
995 info := &grpc.UnaryServerInfo{
996 Server: srv,
997 FullMethod: "/google.apps.drive.labels.v2.LabelService/DisableLabel",
998 }
999 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1000 return srv.(LabelServiceServer).DisableLabel(ctx, req.(*DisableLabelRequest))
1001 }
1002 return interceptor(ctx, in, info, handler)
1003 }
1004
1005 func _LabelService_EnableLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1006 in := new(EnableLabelRequest)
1007 if err := dec(in); err != nil {
1008 return nil, err
1009 }
1010 if interceptor == nil {
1011 return srv.(LabelServiceServer).EnableLabel(ctx, in)
1012 }
1013 info := &grpc.UnaryServerInfo{
1014 Server: srv,
1015 FullMethod: "/google.apps.drive.labels.v2.LabelService/EnableLabel",
1016 }
1017 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1018 return srv.(LabelServiceServer).EnableLabel(ctx, req.(*EnableLabelRequest))
1019 }
1020 return interceptor(ctx, in, info, handler)
1021 }
1022
1023 func _LabelService_DeleteLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1024 in := new(DeleteLabelRequest)
1025 if err := dec(in); err != nil {
1026 return nil, err
1027 }
1028 if interceptor == nil {
1029 return srv.(LabelServiceServer).DeleteLabel(ctx, in)
1030 }
1031 info := &grpc.UnaryServerInfo{
1032 Server: srv,
1033 FullMethod: "/google.apps.drive.labels.v2.LabelService/DeleteLabel",
1034 }
1035 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1036 return srv.(LabelServiceServer).DeleteLabel(ctx, req.(*DeleteLabelRequest))
1037 }
1038 return interceptor(ctx, in, info, handler)
1039 }
1040
1041 func _LabelService_ListLabelPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1042 in := new(ListLabelPermissionsRequest)
1043 if err := dec(in); err != nil {
1044 return nil, err
1045 }
1046 if interceptor == nil {
1047 return srv.(LabelServiceServer).ListLabelPermissions(ctx, in)
1048 }
1049 info := &grpc.UnaryServerInfo{
1050 Server: srv,
1051 FullMethod: "/google.apps.drive.labels.v2.LabelService/ListLabelPermissions",
1052 }
1053 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1054 return srv.(LabelServiceServer).ListLabelPermissions(ctx, req.(*ListLabelPermissionsRequest))
1055 }
1056 return interceptor(ctx, in, info, handler)
1057 }
1058
1059 func _LabelService_CreateLabelPermission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1060 in := new(CreateLabelPermissionRequest)
1061 if err := dec(in); err != nil {
1062 return nil, err
1063 }
1064 if interceptor == nil {
1065 return srv.(LabelServiceServer).CreateLabelPermission(ctx, in)
1066 }
1067 info := &grpc.UnaryServerInfo{
1068 Server: srv,
1069 FullMethod: "/google.apps.drive.labels.v2.LabelService/CreateLabelPermission",
1070 }
1071 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1072 return srv.(LabelServiceServer).CreateLabelPermission(ctx, req.(*CreateLabelPermissionRequest))
1073 }
1074 return interceptor(ctx, in, info, handler)
1075 }
1076
1077 func _LabelService_UpdateLabelPermission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1078 in := new(UpdateLabelPermissionRequest)
1079 if err := dec(in); err != nil {
1080 return nil, err
1081 }
1082 if interceptor == nil {
1083 return srv.(LabelServiceServer).UpdateLabelPermission(ctx, in)
1084 }
1085 info := &grpc.UnaryServerInfo{
1086 Server: srv,
1087 FullMethod: "/google.apps.drive.labels.v2.LabelService/UpdateLabelPermission",
1088 }
1089 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1090 return srv.(LabelServiceServer).UpdateLabelPermission(ctx, req.(*UpdateLabelPermissionRequest))
1091 }
1092 return interceptor(ctx, in, info, handler)
1093 }
1094
1095 func _LabelService_DeleteLabelPermission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1096 in := new(DeleteLabelPermissionRequest)
1097 if err := dec(in); err != nil {
1098 return nil, err
1099 }
1100 if interceptor == nil {
1101 return srv.(LabelServiceServer).DeleteLabelPermission(ctx, in)
1102 }
1103 info := &grpc.UnaryServerInfo{
1104 Server: srv,
1105 FullMethod: "/google.apps.drive.labels.v2.LabelService/DeleteLabelPermission",
1106 }
1107 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1108 return srv.(LabelServiceServer).DeleteLabelPermission(ctx, req.(*DeleteLabelPermissionRequest))
1109 }
1110 return interceptor(ctx, in, info, handler)
1111 }
1112
1113 func _LabelService_BatchUpdateLabelPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1114 in := new(BatchUpdateLabelPermissionsRequest)
1115 if err := dec(in); err != nil {
1116 return nil, err
1117 }
1118 if interceptor == nil {
1119 return srv.(LabelServiceServer).BatchUpdateLabelPermissions(ctx, in)
1120 }
1121 info := &grpc.UnaryServerInfo{
1122 Server: srv,
1123 FullMethod: "/google.apps.drive.labels.v2.LabelService/BatchUpdateLabelPermissions",
1124 }
1125 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1126 return srv.(LabelServiceServer).BatchUpdateLabelPermissions(ctx, req.(*BatchUpdateLabelPermissionsRequest))
1127 }
1128 return interceptor(ctx, in, info, handler)
1129 }
1130
1131 func _LabelService_BatchDeleteLabelPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1132 in := new(BatchDeleteLabelPermissionsRequest)
1133 if err := dec(in); err != nil {
1134 return nil, err
1135 }
1136 if interceptor == nil {
1137 return srv.(LabelServiceServer).BatchDeleteLabelPermissions(ctx, in)
1138 }
1139 info := &grpc.UnaryServerInfo{
1140 Server: srv,
1141 FullMethod: "/google.apps.drive.labels.v2.LabelService/BatchDeleteLabelPermissions",
1142 }
1143 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1144 return srv.(LabelServiceServer).BatchDeleteLabelPermissions(ctx, req.(*BatchDeleteLabelPermissionsRequest))
1145 }
1146 return interceptor(ctx, in, info, handler)
1147 }
1148
1149 func _LabelService_ListLabelLocks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1150 in := new(ListLabelLocksRequest)
1151 if err := dec(in); err != nil {
1152 return nil, err
1153 }
1154 if interceptor == nil {
1155 return srv.(LabelServiceServer).ListLabelLocks(ctx, in)
1156 }
1157 info := &grpc.UnaryServerInfo{
1158 Server: srv,
1159 FullMethod: "/google.apps.drive.labels.v2.LabelService/ListLabelLocks",
1160 }
1161 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1162 return srv.(LabelServiceServer).ListLabelLocks(ctx, req.(*ListLabelLocksRequest))
1163 }
1164 return interceptor(ctx, in, info, handler)
1165 }
1166
1167 var _LabelService_serviceDesc = grpc.ServiceDesc{
1168 ServiceName: "google.apps.drive.labels.v2.LabelService",
1169 HandlerType: (*LabelServiceServer)(nil),
1170 Methods: []grpc.MethodDesc{
1171 {
1172 MethodName: "GetUserCapabilities",
1173 Handler: _LabelService_GetUserCapabilities_Handler,
1174 },
1175 {
1176 MethodName: "ListLabels",
1177 Handler: _LabelService_ListLabels_Handler,
1178 },
1179 {
1180 MethodName: "GetLabel",
1181 Handler: _LabelService_GetLabel_Handler,
1182 },
1183 {
1184 MethodName: "GetLabelLimits",
1185 Handler: _LabelService_GetLabelLimits_Handler,
1186 },
1187 {
1188 MethodName: "CreateLabel",
1189 Handler: _LabelService_CreateLabel_Handler,
1190 },
1191 {
1192 MethodName: "DeltaUpdateLabel",
1193 Handler: _LabelService_DeltaUpdateLabel_Handler,
1194 },
1195 {
1196 MethodName: "UpdateLabelCopyMode",
1197 Handler: _LabelService_UpdateLabelCopyMode_Handler,
1198 },
1199 {
1200 MethodName: "PublishLabel",
1201 Handler: _LabelService_PublishLabel_Handler,
1202 },
1203 {
1204 MethodName: "DisableLabel",
1205 Handler: _LabelService_DisableLabel_Handler,
1206 },
1207 {
1208 MethodName: "EnableLabel",
1209 Handler: _LabelService_EnableLabel_Handler,
1210 },
1211 {
1212 MethodName: "DeleteLabel",
1213 Handler: _LabelService_DeleteLabel_Handler,
1214 },
1215 {
1216 MethodName: "ListLabelPermissions",
1217 Handler: _LabelService_ListLabelPermissions_Handler,
1218 },
1219 {
1220 MethodName: "CreateLabelPermission",
1221 Handler: _LabelService_CreateLabelPermission_Handler,
1222 },
1223 {
1224 MethodName: "UpdateLabelPermission",
1225 Handler: _LabelService_UpdateLabelPermission_Handler,
1226 },
1227 {
1228 MethodName: "DeleteLabelPermission",
1229 Handler: _LabelService_DeleteLabelPermission_Handler,
1230 },
1231 {
1232 MethodName: "BatchUpdateLabelPermissions",
1233 Handler: _LabelService_BatchUpdateLabelPermissions_Handler,
1234 },
1235 {
1236 MethodName: "BatchDeleteLabelPermissions",
1237 Handler: _LabelService_BatchDeleteLabelPermissions_Handler,
1238 },
1239 {
1240 MethodName: "ListLabelLocks",
1241 Handler: _LabelService_ListLabelLocks_Handler,
1242 },
1243 },
1244 Streams: []grpc.StreamDesc{},
1245 Metadata: "google/apps/drive/labels/v2/label_service.proto",
1246 }