1// Copyright 2021 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        v3.12.2
19// source: google/devtools/artifactregistry/v1/service.proto
20
21package artifactregistry
22
23import (
24	context "context"
25	reflect "reflect"
26
27	_ "google.golang.org/genproto/googleapis/api/annotations"
28	_ "google.golang.org/genproto/googleapis/iam/v1"
29	grpc "google.golang.org/grpc"
30	codes "google.golang.org/grpc/codes"
31	status "google.golang.org/grpc/status"
32	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
33	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
34)
35
36const (
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
43var File_google_devtools_artifactregistry_v1_service_proto protoreflect.FileDescriptor
44
45var file_google_devtools_artifactregistry_v1_service_proto_rawDesc = []byte{
46	0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
47	0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
48	0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72,
49	0x6f, 0x74, 0x6f, 0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74,
50	0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67,
51	0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
52	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
53	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
54	0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
55	0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73,
56	0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
57	0x79, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72,
58	0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74,
59	0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67,
60	0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
61	0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
62	0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
63	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x99, 0x06, 0x0a, 0x10, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61,
64	0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x12, 0xe1, 0x01, 0x0a, 0x10, 0x4c,
65	0x69, 0x73, 0x74, 0x44, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12,
66	0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
67	0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
68	0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6f, 0x63, 0x6b, 0x65, 0x72,
69	0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e,
70	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e,
71	0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
72	0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x49, 0x6d,
73	0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0x82, 0xd3,
74	0xe4, 0x93, 0x02, 0x41, 0x12, 0x3f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,
75	0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63,
76	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
77	0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x49,
78	0x6d, 0x61, 0x67, 0x65, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xd2,
79	0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72,
80	0x69, 0x65, 0x73, 0x12, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76,
81	0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65,
82	0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
83	0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
84	0x74, 0x1a, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f,
85	0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69,
86	0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f,
87	0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
88	0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,
89	0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
90	0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65,
91	0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72,
92	0x65, 0x6e, 0x74, 0x12, 0xbc, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73,
93	0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
94	0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
95	0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52,
96	0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
97	0x1a, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f,
98	0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73,
99	0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72,
100	0x79, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
101	0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
102	0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x70, 0x6f,
103	0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61,
104	0x6d, 0x65, 0x1a, 0x8c, 0x01, 0xca, 0x41, 0x1f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
105	0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
106	0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x67, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a,
107	0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
108	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d,
109	0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f,
110	0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
111	0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70,
112	0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x2d, 0x6f, 0x6e, 0x6c,
113	0x79, 0x42, 0xfa, 0x01, 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
114	0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
115	0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53,
116	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67,
117	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67,
118	0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
119	0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x61, 0x72,
120	0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76,
121	0x31, 0x3b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
122	0x72, 0x79, 0xaa, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75,
123	0x64, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
124	0x72, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43,
125	0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67,
126	0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
127	0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61,
128	0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
129	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
130}
131
132var file_google_devtools_artifactregistry_v1_service_proto_goTypes = []interface{}{
133	(*ListDockerImagesRequest)(nil),  // 0: google.devtools.artifactregistry.v1.ListDockerImagesRequest
134	(*ListRepositoriesRequest)(nil),  // 1: google.devtools.artifactregistry.v1.ListRepositoriesRequest
135	(*GetRepositoryRequest)(nil),     // 2: google.devtools.artifactregistry.v1.GetRepositoryRequest
136	(*ListDockerImagesResponse)(nil), // 3: google.devtools.artifactregistry.v1.ListDockerImagesResponse
137	(*ListRepositoriesResponse)(nil), // 4: google.devtools.artifactregistry.v1.ListRepositoriesResponse
138	(*Repository)(nil),               // 5: google.devtools.artifactregistry.v1.Repository
139}
140var file_google_devtools_artifactregistry_v1_service_proto_depIdxs = []int32{
141	0, // 0: google.devtools.artifactregistry.v1.ArtifactRegistry.ListDockerImages:input_type -> google.devtools.artifactregistry.v1.ListDockerImagesRequest
142	1, // 1: google.devtools.artifactregistry.v1.ArtifactRegistry.ListRepositories:input_type -> google.devtools.artifactregistry.v1.ListRepositoriesRequest
143	2, // 2: google.devtools.artifactregistry.v1.ArtifactRegistry.GetRepository:input_type -> google.devtools.artifactregistry.v1.GetRepositoryRequest
144	3, // 3: google.devtools.artifactregistry.v1.ArtifactRegistry.ListDockerImages:output_type -> google.devtools.artifactregistry.v1.ListDockerImagesResponse
145	4, // 4: google.devtools.artifactregistry.v1.ArtifactRegistry.ListRepositories:output_type -> google.devtools.artifactregistry.v1.ListRepositoriesResponse
146	5, // 5: google.devtools.artifactregistry.v1.ArtifactRegistry.GetRepository:output_type -> google.devtools.artifactregistry.v1.Repository
147	3, // [3:6] is the sub-list for method output_type
148	0, // [0:3] is the sub-list for method input_type
149	0, // [0:0] is the sub-list for extension type_name
150	0, // [0:0] is the sub-list for extension extendee
151	0, // [0:0] is the sub-list for field type_name
152}
153
154func init() { file_google_devtools_artifactregistry_v1_service_proto_init() }
155func file_google_devtools_artifactregistry_v1_service_proto_init() {
156	if File_google_devtools_artifactregistry_v1_service_proto != nil {
157		return
158	}
159	file_google_devtools_artifactregistry_v1_artifact_proto_init()
160	file_google_devtools_artifactregistry_v1_repository_proto_init()
161	type x struct{}
162	out := protoimpl.TypeBuilder{
163		File: protoimpl.DescBuilder{
164			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
165			RawDescriptor: file_google_devtools_artifactregistry_v1_service_proto_rawDesc,
166			NumEnums:      0,
167			NumMessages:   0,
168			NumExtensions: 0,
169			NumServices:   1,
170		},
171		GoTypes:           file_google_devtools_artifactregistry_v1_service_proto_goTypes,
172		DependencyIndexes: file_google_devtools_artifactregistry_v1_service_proto_depIdxs,
173	}.Build()
174	File_google_devtools_artifactregistry_v1_service_proto = out.File
175	file_google_devtools_artifactregistry_v1_service_proto_rawDesc = nil
176	file_google_devtools_artifactregistry_v1_service_proto_goTypes = nil
177	file_google_devtools_artifactregistry_v1_service_proto_depIdxs = nil
178}
179
180// Reference imports to suppress errors if they are not otherwise used.
181var _ context.Context
182var _ grpc.ClientConnInterface
183
184// This is a compile-time assertion to ensure that this generated file
185// is compatible with the grpc package it is being compiled against.
186const _ = grpc.SupportPackageIsVersion6
187
188// ArtifactRegistryClient is the client API for ArtifactRegistry service.
189//
190// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
191type ArtifactRegistryClient interface {
192	// Lists docker images.
193	ListDockerImages(ctx context.Context, in *ListDockerImagesRequest, opts ...grpc.CallOption) (*ListDockerImagesResponse, error)
194	// Lists repositories.
195	ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error)
196	// Gets a repository.
197	GetRepository(ctx context.Context, in *GetRepositoryRequest, opts ...grpc.CallOption) (*Repository, error)
198}
199
200type artifactRegistryClient struct {
201	cc grpc.ClientConnInterface
202}
203
204func NewArtifactRegistryClient(cc grpc.ClientConnInterface) ArtifactRegistryClient {
205	return &artifactRegistryClient{cc}
206}
207
208func (c *artifactRegistryClient) ListDockerImages(ctx context.Context, in *ListDockerImagesRequest, opts ...grpc.CallOption) (*ListDockerImagesResponse, error) {
209	out := new(ListDockerImagesResponse)
210	err := c.cc.Invoke(ctx, "/google.devtools.artifactregistry.v1.ArtifactRegistry/ListDockerImages", in, out, opts...)
211	if err != nil {
212		return nil, err
213	}
214	return out, nil
215}
216
217func (c *artifactRegistryClient) ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error) {
218	out := new(ListRepositoriesResponse)
219	err := c.cc.Invoke(ctx, "/google.devtools.artifactregistry.v1.ArtifactRegistry/ListRepositories", in, out, opts...)
220	if err != nil {
221		return nil, err
222	}
223	return out, nil
224}
225
226func (c *artifactRegistryClient) GetRepository(ctx context.Context, in *GetRepositoryRequest, opts ...grpc.CallOption) (*Repository, error) {
227	out := new(Repository)
228	err := c.cc.Invoke(ctx, "/google.devtools.artifactregistry.v1.ArtifactRegistry/GetRepository", in, out, opts...)
229	if err != nil {
230		return nil, err
231	}
232	return out, nil
233}
234
235// ArtifactRegistryServer is the server API for ArtifactRegistry service.
236type ArtifactRegistryServer interface {
237	// Lists docker images.
238	ListDockerImages(context.Context, *ListDockerImagesRequest) (*ListDockerImagesResponse, error)
239	// Lists repositories.
240	ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
241	// Gets a repository.
242	GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error)
243}
244
245// UnimplementedArtifactRegistryServer can be embedded to have forward compatible implementations.
246type UnimplementedArtifactRegistryServer struct {
247}
248
249func (*UnimplementedArtifactRegistryServer) ListDockerImages(context.Context, *ListDockerImagesRequest) (*ListDockerImagesResponse, error) {
250	return nil, status.Errorf(codes.Unimplemented, "method ListDockerImages not implemented")
251}
252func (*UnimplementedArtifactRegistryServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error) {
253	return nil, status.Errorf(codes.Unimplemented, "method ListRepositories not implemented")
254}
255func (*UnimplementedArtifactRegistryServer) GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error) {
256	return nil, status.Errorf(codes.Unimplemented, "method GetRepository not implemented")
257}
258
259func RegisterArtifactRegistryServer(s *grpc.Server, srv ArtifactRegistryServer) {
260	s.RegisterService(&_ArtifactRegistry_serviceDesc, srv)
261}
262
263func _ArtifactRegistry_ListDockerImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
264	in := new(ListDockerImagesRequest)
265	if err := dec(in); err != nil {
266		return nil, err
267	}
268	if interceptor == nil {
269		return srv.(ArtifactRegistryServer).ListDockerImages(ctx, in)
270	}
271	info := &grpc.UnaryServerInfo{
272		Server:     srv,
273		FullMethod: "/google.devtools.artifactregistry.v1.ArtifactRegistry/ListDockerImages",
274	}
275	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
276		return srv.(ArtifactRegistryServer).ListDockerImages(ctx, req.(*ListDockerImagesRequest))
277	}
278	return interceptor(ctx, in, info, handler)
279}
280
281func _ArtifactRegistry_ListRepositories_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
282	in := new(ListRepositoriesRequest)
283	if err := dec(in); err != nil {
284		return nil, err
285	}
286	if interceptor == nil {
287		return srv.(ArtifactRegistryServer).ListRepositories(ctx, in)
288	}
289	info := &grpc.UnaryServerInfo{
290		Server:     srv,
291		FullMethod: "/google.devtools.artifactregistry.v1.ArtifactRegistry/ListRepositories",
292	}
293	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
294		return srv.(ArtifactRegistryServer).ListRepositories(ctx, req.(*ListRepositoriesRequest))
295	}
296	return interceptor(ctx, in, info, handler)
297}
298
299func _ArtifactRegistry_GetRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
300	in := new(GetRepositoryRequest)
301	if err := dec(in); err != nil {
302		return nil, err
303	}
304	if interceptor == nil {
305		return srv.(ArtifactRegistryServer).GetRepository(ctx, in)
306	}
307	info := &grpc.UnaryServerInfo{
308		Server:     srv,
309		FullMethod: "/google.devtools.artifactregistry.v1.ArtifactRegistry/GetRepository",
310	}
311	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
312		return srv.(ArtifactRegistryServer).GetRepository(ctx, req.(*GetRepositoryRequest))
313	}
314	return interceptor(ctx, in, info, handler)
315}
316
317var _ArtifactRegistry_serviceDesc = grpc.ServiceDesc{
318	ServiceName: "google.devtools.artifactregistry.v1.ArtifactRegistry",
319	HandlerType: (*ArtifactRegistryServer)(nil),
320	Methods: []grpc.MethodDesc{
321		{
322			MethodName: "ListDockerImages",
323			Handler:    _ArtifactRegistry_ListDockerImages_Handler,
324		},
325		{
326			MethodName: "ListRepositories",
327			Handler:    _ArtifactRegistry_ListRepositories_Handler,
328		},
329		{
330			MethodName: "GetRepository",
331			Handler:    _ArtifactRegistry_GetRepository_Handler,
332		},
333	},
334	Streams:  []grpc.StreamDesc{},
335	Metadata: "google/devtools/artifactregistry/v1/service.proto",
336}
337