| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
package schemaregistrypb |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
httpbody "google.golang.org/genproto/googleapis/api/httpbody" |
| 26 |
grpc "google.golang.org/grpc" |
| 27 |
codes "google.golang.org/grpc/codes" |
| 28 |
status "google.golang.org/grpc/status" |
| 29 |
emptypb "google.golang.org/protobuf/types/known/emptypb" |
| 30 |
) |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
const _ = grpc.SupportPackageIsVersion7 |
| 36 |
|
| 37 |
const ( |
| 38 |
ManagedSchemaRegistry_GetSchemaRegistry_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/GetSchemaRegistry" |
| 39 |
ManagedSchemaRegistry_ListSchemaRegistries_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/ListSchemaRegistries" |
| 40 |
ManagedSchemaRegistry_CreateSchemaRegistry_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/CreateSchemaRegistry" |
| 41 |
ManagedSchemaRegistry_DeleteSchemaRegistry_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/DeleteSchemaRegistry" |
| 42 |
ManagedSchemaRegistry_GetContext_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/GetContext" |
| 43 |
ManagedSchemaRegistry_ListContexts_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/ListContexts" |
| 44 |
ManagedSchemaRegistry_GetSchema_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/GetSchema" |
| 45 |
ManagedSchemaRegistry_GetRawSchema_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/GetRawSchema" |
| 46 |
ManagedSchemaRegistry_ListSchemaVersions_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/ListSchemaVersions" |
| 47 |
ManagedSchemaRegistry_ListSchemaTypes_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/ListSchemaTypes" |
| 48 |
ManagedSchemaRegistry_ListSubjects_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/ListSubjects" |
| 49 |
ManagedSchemaRegistry_ListSubjectsBySchemaId_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/ListSubjectsBySchemaId" |
| 50 |
ManagedSchemaRegistry_DeleteSubject_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/DeleteSubject" |
| 51 |
ManagedSchemaRegistry_LookupVersion_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/LookupVersion" |
| 52 |
ManagedSchemaRegistry_GetVersion_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/GetVersion" |
| 53 |
ManagedSchemaRegistry_GetRawSchemaVersion_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/GetRawSchemaVersion" |
| 54 |
ManagedSchemaRegistry_ListVersions_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/ListVersions" |
| 55 |
ManagedSchemaRegistry_CreateVersion_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/CreateVersion" |
| 56 |
ManagedSchemaRegistry_DeleteVersion_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/DeleteVersion" |
| 57 |
ManagedSchemaRegistry_ListReferencedSchemas_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/ListReferencedSchemas" |
| 58 |
ManagedSchemaRegistry_CheckCompatibility_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/CheckCompatibility" |
| 59 |
ManagedSchemaRegistry_GetSchemaConfig_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/GetSchemaConfig" |
| 60 |
ManagedSchemaRegistry_UpdateSchemaConfig_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/UpdateSchemaConfig" |
| 61 |
ManagedSchemaRegistry_DeleteSchemaConfig_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/DeleteSchemaConfig" |
| 62 |
ManagedSchemaRegistry_GetSchemaMode_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/GetSchemaMode" |
| 63 |
ManagedSchemaRegistry_UpdateSchemaMode_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/UpdateSchemaMode" |
| 64 |
ManagedSchemaRegistry_DeleteSchemaMode_FullMethodName = "/google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry/DeleteSchemaMode" |
| 65 |
) |
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
type ManagedSchemaRegistryClient interface { |
| 71 |
|
| 72 |
GetSchemaRegistry(ctx context.Context, in *GetSchemaRegistryRequest, opts ...grpc.CallOption) (*SchemaRegistry, error) |
| 73 |
|
| 74 |
ListSchemaRegistries(ctx context.Context, in *ListSchemaRegistriesRequest, opts ...grpc.CallOption) (*ListSchemaRegistriesResponse, error) |
| 75 |
|
| 76 |
CreateSchemaRegistry(ctx context.Context, in *CreateSchemaRegistryRequest, opts ...grpc.CallOption) (*SchemaRegistry, error) |
| 77 |
|
| 78 |
DeleteSchemaRegistry(ctx context.Context, in *DeleteSchemaRegistryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 79 |
|
| 80 |
GetContext(ctx context.Context, in *GetContextRequest, opts ...grpc.CallOption) (*Context, error) |
| 81 |
|
| 82 |
ListContexts(ctx context.Context, in *ListContextsRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) |
| 83 |
|
| 84 |
GetSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*Schema, error) |
| 85 |
|
| 86 |
|
| 87 |
GetRawSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) |
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
ListSchemaVersions(ctx context.Context, in *ListSchemaVersionsRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) |
| 92 |
|
| 93 |
|
| 94 |
ListSchemaTypes(ctx context.Context, in *ListSchemaTypesRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) |
| 95 |
|
| 96 |
|
| 97 |
ListSubjects(ctx context.Context, in *ListSubjectsRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) |
| 98 |
|
| 99 |
|
| 100 |
ListSubjectsBySchemaId(ctx context.Context, in *ListSubjectsBySchemaIdRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) |
| 101 |
|
| 102 |
|
| 103 |
DeleteSubject(ctx context.Context, in *DeleteSubjectRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) |
| 104 |
|
| 105 |
LookupVersion(ctx context.Context, in *LookupVersionRequest, opts ...grpc.CallOption) (*SchemaVersion, error) |
| 106 |
|
| 107 |
GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*SchemaVersion, error) |
| 108 |
|
| 109 |
|
| 110 |
GetRawSchemaVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) |
| 111 |
|
| 112 |
|
| 113 |
ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) |
| 114 |
|
| 115 |
CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*CreateVersionResponse, error) |
| 116 |
|
| 117 |
|
| 118 |
DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) |
| 119 |
|
| 120 |
|
| 121 |
ListReferencedSchemas(ctx context.Context, in *ListReferencedSchemasRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) |
| 122 |
|
| 123 |
|
| 124 |
CheckCompatibility(ctx context.Context, in *CheckCompatibilityRequest, opts ...grpc.CallOption) (*CheckCompatibilityResponse, error) |
| 125 |
|
| 126 |
GetSchemaConfig(ctx context.Context, in *GetSchemaConfigRequest, opts ...grpc.CallOption) (*SchemaConfig, error) |
| 127 |
|
| 128 |
|
| 129 |
UpdateSchemaConfig(ctx context.Context, in *UpdateSchemaConfigRequest, opts ...grpc.CallOption) (*SchemaConfig, error) |
| 130 |
|
| 131 |
DeleteSchemaConfig(ctx context.Context, in *DeleteSchemaConfigRequest, opts ...grpc.CallOption) (*SchemaConfig, error) |
| 132 |
|
| 133 |
GetSchemaMode(ctx context.Context, in *GetSchemaModeRequest, opts ...grpc.CallOption) (*SchemaMode, error) |
| 134 |
|
| 135 |
UpdateSchemaMode(ctx context.Context, in *UpdateSchemaModeRequest, opts ...grpc.CallOption) (*SchemaMode, error) |
| 136 |
|
| 137 |
DeleteSchemaMode(ctx context.Context, in *DeleteSchemaModeRequest, opts ...grpc.CallOption) (*SchemaMode, error) |
| 138 |
} |
| 139 |
|
| 140 |
type managedSchemaRegistryClient struct { |
| 141 |
cc grpc.ClientConnInterface |
| 142 |
} |
| 143 |
|
| 144 |
func NewManagedSchemaRegistryClient(cc grpc.ClientConnInterface) ManagedSchemaRegistryClient { |
| 145 |
return &managedSchemaRegistryClient{cc} |
| 146 |
} |
| 147 |
|
| 148 |
func (c *managedSchemaRegistryClient) GetSchemaRegistry(ctx context.Context, in *GetSchemaRegistryRequest, opts ...grpc.CallOption) (*SchemaRegistry, error) { |
| 149 |
out := new(SchemaRegistry) |
| 150 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_GetSchemaRegistry_FullMethodName, in, out, opts...) |
| 151 |
if err != nil { |
| 152 |
return nil, err |
| 153 |
} |
| 154 |
return out, nil |
| 155 |
} |
| 156 |
|
| 157 |
func (c *managedSchemaRegistryClient) ListSchemaRegistries(ctx context.Context, in *ListSchemaRegistriesRequest, opts ...grpc.CallOption) (*ListSchemaRegistriesResponse, error) { |
| 158 |
out := new(ListSchemaRegistriesResponse) |
| 159 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_ListSchemaRegistries_FullMethodName, in, out, opts...) |
| 160 |
if err != nil { |
| 161 |
return nil, err |
| 162 |
} |
| 163 |
return out, nil |
| 164 |
} |
| 165 |
|
| 166 |
func (c *managedSchemaRegistryClient) CreateSchemaRegistry(ctx context.Context, in *CreateSchemaRegistryRequest, opts ...grpc.CallOption) (*SchemaRegistry, error) { |
| 167 |
out := new(SchemaRegistry) |
| 168 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_CreateSchemaRegistry_FullMethodName, in, out, opts...) |
| 169 |
if err != nil { |
| 170 |
return nil, err |
| 171 |
} |
| 172 |
return out, nil |
| 173 |
} |
| 174 |
|
| 175 |
func (c *managedSchemaRegistryClient) DeleteSchemaRegistry(ctx context.Context, in *DeleteSchemaRegistryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 176 |
out := new(emptypb.Empty) |
| 177 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_DeleteSchemaRegistry_FullMethodName, in, out, opts...) |
| 178 |
if err != nil { |
| 179 |
return nil, err |
| 180 |
} |
| 181 |
return out, nil |
| 182 |
} |
| 183 |
|
| 184 |
func (c *managedSchemaRegistryClient) GetContext(ctx context.Context, in *GetContextRequest, opts ...grpc.CallOption) (*Context, error) { |
| 185 |
out := new(Context) |
| 186 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_GetContext_FullMethodName, in, out, opts...) |
| 187 |
if err != nil { |
| 188 |
return nil, err |
| 189 |
} |
| 190 |
return out, nil |
| 191 |
} |
| 192 |
|
| 193 |
func (c *managedSchemaRegistryClient) ListContexts(ctx context.Context, in *ListContextsRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) { |
| 194 |
out := new(httpbody.HttpBody) |
| 195 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_ListContexts_FullMethodName, in, out, opts...) |
| 196 |
if err != nil { |
| 197 |
return nil, err |
| 198 |
} |
| 199 |
return out, nil |
| 200 |
} |
| 201 |
|
| 202 |
func (c *managedSchemaRegistryClient) GetSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*Schema, error) { |
| 203 |
out := new(Schema) |
| 204 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_GetSchema_FullMethodName, in, out, opts...) |
| 205 |
if err != nil { |
| 206 |
return nil, err |
| 207 |
} |
| 208 |
return out, nil |
| 209 |
} |
| 210 |
|
| 211 |
func (c *managedSchemaRegistryClient) GetRawSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) { |
| 212 |
out := new(httpbody.HttpBody) |
| 213 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_GetRawSchema_FullMethodName, in, out, opts...) |
| 214 |
if err != nil { |
| 215 |
return nil, err |
| 216 |
} |
| 217 |
return out, nil |
| 218 |
} |
| 219 |
|
| 220 |
func (c *managedSchemaRegistryClient) ListSchemaVersions(ctx context.Context, in *ListSchemaVersionsRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) { |
| 221 |
out := new(httpbody.HttpBody) |
| 222 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_ListSchemaVersions_FullMethodName, in, out, opts...) |
| 223 |
if err != nil { |
| 224 |
return nil, err |
| 225 |
} |
| 226 |
return out, nil |
| 227 |
} |
| 228 |
|
| 229 |
func (c *managedSchemaRegistryClient) ListSchemaTypes(ctx context.Context, in *ListSchemaTypesRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) { |
| 230 |
out := new(httpbody.HttpBody) |
| 231 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_ListSchemaTypes_FullMethodName, in, out, opts...) |
| 232 |
if err != nil { |
| 233 |
return nil, err |
| 234 |
} |
| 235 |
return out, nil |
| 236 |
} |
| 237 |
|
| 238 |
func (c *managedSchemaRegistryClient) ListSubjects(ctx context.Context, in *ListSubjectsRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) { |
| 239 |
out := new(httpbody.HttpBody) |
| 240 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_ListSubjects_FullMethodName, in, out, opts...) |
| 241 |
if err != nil { |
| 242 |
return nil, err |
| 243 |
} |
| 244 |
return out, nil |
| 245 |
} |
| 246 |
|
| 247 |
func (c *managedSchemaRegistryClient) ListSubjectsBySchemaId(ctx context.Context, in *ListSubjectsBySchemaIdRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) { |
| 248 |
out := new(httpbody.HttpBody) |
| 249 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_ListSubjectsBySchemaId_FullMethodName, in, out, opts...) |
| 250 |
if err != nil { |
| 251 |
return nil, err |
| 252 |
} |
| 253 |
return out, nil |
| 254 |
} |
| 255 |
|
| 256 |
func (c *managedSchemaRegistryClient) DeleteSubject(ctx context.Context, in *DeleteSubjectRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) { |
| 257 |
out := new(httpbody.HttpBody) |
| 258 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_DeleteSubject_FullMethodName, in, out, opts...) |
| 259 |
if err != nil { |
| 260 |
return nil, err |
| 261 |
} |
| 262 |
return out, nil |
| 263 |
} |
| 264 |
|
| 265 |
func (c *managedSchemaRegistryClient) LookupVersion(ctx context.Context, in *LookupVersionRequest, opts ...grpc.CallOption) (*SchemaVersion, error) { |
| 266 |
out := new(SchemaVersion) |
| 267 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_LookupVersion_FullMethodName, in, out, opts...) |
| 268 |
if err != nil { |
| 269 |
return nil, err |
| 270 |
} |
| 271 |
return out, nil |
| 272 |
} |
| 273 |
|
| 274 |
func (c *managedSchemaRegistryClient) GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*SchemaVersion, error) { |
| 275 |
out := new(SchemaVersion) |
| 276 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_GetVersion_FullMethodName, in, out, opts...) |
| 277 |
if err != nil { |
| 278 |
return nil, err |
| 279 |
} |
| 280 |
return out, nil |
| 281 |
} |
| 282 |
|
| 283 |
func (c *managedSchemaRegistryClient) GetRawSchemaVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) { |
| 284 |
out := new(httpbody.HttpBody) |
| 285 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_GetRawSchemaVersion_FullMethodName, in, out, opts...) |
| 286 |
if err != nil { |
| 287 |
return nil, err |
| 288 |
} |
| 289 |
return out, nil |
| 290 |
} |
| 291 |
|
| 292 |
func (c *managedSchemaRegistryClient) ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) { |
| 293 |
out := new(httpbody.HttpBody) |
| 294 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_ListVersions_FullMethodName, in, out, opts...) |
| 295 |
if err != nil { |
| 296 |
return nil, err |
| 297 |
} |
| 298 |
return out, nil |
| 299 |
} |
| 300 |
|
| 301 |
func (c *managedSchemaRegistryClient) CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*CreateVersionResponse, error) { |
| 302 |
out := new(CreateVersionResponse) |
| 303 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_CreateVersion_FullMethodName, in, out, opts...) |
| 304 |
if err != nil { |
| 305 |
return nil, err |
| 306 |
} |
| 307 |
return out, nil |
| 308 |
} |
| 309 |
|
| 310 |
func (c *managedSchemaRegistryClient) DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) { |
| 311 |
out := new(httpbody.HttpBody) |
| 312 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_DeleteVersion_FullMethodName, in, out, opts...) |
| 313 |
if err != nil { |
| 314 |
return nil, err |
| 315 |
} |
| 316 |
return out, nil |
| 317 |
} |
| 318 |
|
| 319 |
func (c *managedSchemaRegistryClient) ListReferencedSchemas(ctx context.Context, in *ListReferencedSchemasRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) { |
| 320 |
out := new(httpbody.HttpBody) |
| 321 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_ListReferencedSchemas_FullMethodName, in, out, opts...) |
| 322 |
if err != nil { |
| 323 |
return nil, err |
| 324 |
} |
| 325 |
return out, nil |
| 326 |
} |
| 327 |
|
| 328 |
func (c *managedSchemaRegistryClient) CheckCompatibility(ctx context.Context, in *CheckCompatibilityRequest, opts ...grpc.CallOption) (*CheckCompatibilityResponse, error) { |
| 329 |
out := new(CheckCompatibilityResponse) |
| 330 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_CheckCompatibility_FullMethodName, in, out, opts...) |
| 331 |
if err != nil { |
| 332 |
return nil, err |
| 333 |
} |
| 334 |
return out, nil |
| 335 |
} |
| 336 |
|
| 337 |
func (c *managedSchemaRegistryClient) GetSchemaConfig(ctx context.Context, in *GetSchemaConfigRequest, opts ...grpc.CallOption) (*SchemaConfig, error) { |
| 338 |
out := new(SchemaConfig) |
| 339 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_GetSchemaConfig_FullMethodName, in, out, opts...) |
| 340 |
if err != nil { |
| 341 |
return nil, err |
| 342 |
} |
| 343 |
return out, nil |
| 344 |
} |
| 345 |
|
| 346 |
func (c *managedSchemaRegistryClient) UpdateSchemaConfig(ctx context.Context, in *UpdateSchemaConfigRequest, opts ...grpc.CallOption) (*SchemaConfig, error) { |
| 347 |
out := new(SchemaConfig) |
| 348 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_UpdateSchemaConfig_FullMethodName, in, out, opts...) |
| 349 |
if err != nil { |
| 350 |
return nil, err |
| 351 |
} |
| 352 |
return out, nil |
| 353 |
} |
| 354 |
|
| 355 |
func (c *managedSchemaRegistryClient) DeleteSchemaConfig(ctx context.Context, in *DeleteSchemaConfigRequest, opts ...grpc.CallOption) (*SchemaConfig, error) { |
| 356 |
out := new(SchemaConfig) |
| 357 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_DeleteSchemaConfig_FullMethodName, in, out, opts...) |
| 358 |
if err != nil { |
| 359 |
return nil, err |
| 360 |
} |
| 361 |
return out, nil |
| 362 |
} |
| 363 |
|
| 364 |
func (c *managedSchemaRegistryClient) GetSchemaMode(ctx context.Context, in *GetSchemaModeRequest, opts ...grpc.CallOption) (*SchemaMode, error) { |
| 365 |
out := new(SchemaMode) |
| 366 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_GetSchemaMode_FullMethodName, in, out, opts...) |
| 367 |
if err != nil { |
| 368 |
return nil, err |
| 369 |
} |
| 370 |
return out, nil |
| 371 |
} |
| 372 |
|
| 373 |
func (c *managedSchemaRegistryClient) UpdateSchemaMode(ctx context.Context, in *UpdateSchemaModeRequest, opts ...grpc.CallOption) (*SchemaMode, error) { |
| 374 |
out := new(SchemaMode) |
| 375 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_UpdateSchemaMode_FullMethodName, in, out, opts...) |
| 376 |
if err != nil { |
| 377 |
return nil, err |
| 378 |
} |
| 379 |
return out, nil |
| 380 |
} |
| 381 |
|
| 382 |
func (c *managedSchemaRegistryClient) DeleteSchemaMode(ctx context.Context, in *DeleteSchemaModeRequest, opts ...grpc.CallOption) (*SchemaMode, error) { |
| 383 |
out := new(SchemaMode) |
| 384 |
err := c.cc.Invoke(ctx, ManagedSchemaRegistry_DeleteSchemaMode_FullMethodName, in, out, opts...) |
| 385 |
if err != nil { |
| 386 |
return nil, err |
| 387 |
} |
| 388 |
return out, nil |
| 389 |
} |
| 390 |
|
| 391 |
|
| 392 |
|
| 393 |
|
| 394 |
type ManagedSchemaRegistryServer interface { |
| 395 |
|
| 396 |
GetSchemaRegistry(context.Context, *GetSchemaRegistryRequest) (*SchemaRegistry, error) |
| 397 |
|
| 398 |
ListSchemaRegistries(context.Context, *ListSchemaRegistriesRequest) (*ListSchemaRegistriesResponse, error) |
| 399 |
|
| 400 |
CreateSchemaRegistry(context.Context, *CreateSchemaRegistryRequest) (*SchemaRegistry, error) |
| 401 |
|
| 402 |
DeleteSchemaRegistry(context.Context, *DeleteSchemaRegistryRequest) (*emptypb.Empty, error) |
| 403 |
|
| 404 |
GetContext(context.Context, *GetContextRequest) (*Context, error) |
| 405 |
|
| 406 |
ListContexts(context.Context, *ListContextsRequest) (*httpbody.HttpBody, error) |
| 407 |
|
| 408 |
GetSchema(context.Context, *GetSchemaRequest) (*Schema, error) |
| 409 |
|
| 410 |
|
| 411 |
GetRawSchema(context.Context, *GetSchemaRequest) (*httpbody.HttpBody, error) |
| 412 |
|
| 413 |
|
| 414 |
|
| 415 |
ListSchemaVersions(context.Context, *ListSchemaVersionsRequest) (*httpbody.HttpBody, error) |
| 416 |
|
| 417 |
|
| 418 |
ListSchemaTypes(context.Context, *ListSchemaTypesRequest) (*httpbody.HttpBody, error) |
| 419 |
|
| 420 |
|
| 421 |
ListSubjects(context.Context, *ListSubjectsRequest) (*httpbody.HttpBody, error) |
| 422 |
|
| 423 |
|
| 424 |
ListSubjectsBySchemaId(context.Context, *ListSubjectsBySchemaIdRequest) (*httpbody.HttpBody, error) |
| 425 |
|
| 426 |
|
| 427 |
DeleteSubject(context.Context, *DeleteSubjectRequest) (*httpbody.HttpBody, error) |
| 428 |
|
| 429 |
LookupVersion(context.Context, *LookupVersionRequest) (*SchemaVersion, error) |
| 430 |
|
| 431 |
GetVersion(context.Context, *GetVersionRequest) (*SchemaVersion, error) |
| 432 |
|
| 433 |
|
| 434 |
GetRawSchemaVersion(context.Context, *GetVersionRequest) (*httpbody.HttpBody, error) |
| 435 |
|
| 436 |
|
| 437 |
ListVersions(context.Context, *ListVersionsRequest) (*httpbody.HttpBody, error) |
| 438 |
|
| 439 |
CreateVersion(context.Context, *CreateVersionRequest) (*CreateVersionResponse, error) |
| 440 |
|
| 441 |
|
| 442 |
DeleteVersion(context.Context, *DeleteVersionRequest) (*httpbody.HttpBody, error) |
| 443 |
|
| 444 |
|
| 445 |
ListReferencedSchemas(context.Context, *ListReferencedSchemasRequest) (*httpbody.HttpBody, error) |
| 446 |
|
| 447 |
|
| 448 |
CheckCompatibility(context.Context, *CheckCompatibilityRequest) (*CheckCompatibilityResponse, error) |
| 449 |
|
| 450 |
GetSchemaConfig(context.Context, *GetSchemaConfigRequest) (*SchemaConfig, error) |
| 451 |
|
| 452 |
|
| 453 |
UpdateSchemaConfig(context.Context, *UpdateSchemaConfigRequest) (*SchemaConfig, error) |
| 454 |
|
| 455 |
DeleteSchemaConfig(context.Context, *DeleteSchemaConfigRequest) (*SchemaConfig, error) |
| 456 |
|
| 457 |
GetSchemaMode(context.Context, *GetSchemaModeRequest) (*SchemaMode, error) |
| 458 |
|
| 459 |
UpdateSchemaMode(context.Context, *UpdateSchemaModeRequest) (*SchemaMode, error) |
| 460 |
|
| 461 |
DeleteSchemaMode(context.Context, *DeleteSchemaModeRequest) (*SchemaMode, error) |
| 462 |
} |
| 463 |
|
| 464 |
|
| 465 |
type UnimplementedManagedSchemaRegistryServer struct { |
| 466 |
} |
| 467 |
|
| 468 |
func (UnimplementedManagedSchemaRegistryServer) GetSchemaRegistry(context.Context, *GetSchemaRegistryRequest) (*SchemaRegistry, error) { |
| 469 |
return nil, status.Errorf(codes.Unimplemented, "method GetSchemaRegistry not implemented") |
| 470 |
} |
| 471 |
func (UnimplementedManagedSchemaRegistryServer) ListSchemaRegistries(context.Context, *ListSchemaRegistriesRequest) (*ListSchemaRegistriesResponse, error) { |
| 472 |
return nil, status.Errorf(codes.Unimplemented, "method ListSchemaRegistries not implemented") |
| 473 |
} |
| 474 |
func (UnimplementedManagedSchemaRegistryServer) CreateSchemaRegistry(context.Context, *CreateSchemaRegistryRequest) (*SchemaRegistry, error) { |
| 475 |
return nil, status.Errorf(codes.Unimplemented, "method CreateSchemaRegistry not implemented") |
| 476 |
} |
| 477 |
func (UnimplementedManagedSchemaRegistryServer) DeleteSchemaRegistry(context.Context, *DeleteSchemaRegistryRequest) (*emptypb.Empty, error) { |
| 478 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteSchemaRegistry not implemented") |
| 479 |
} |
| 480 |
func (UnimplementedManagedSchemaRegistryServer) GetContext(context.Context, *GetContextRequest) (*Context, error) { |
| 481 |
return nil, status.Errorf(codes.Unimplemented, "method GetContext not implemented") |
| 482 |
} |
| 483 |
func (UnimplementedManagedSchemaRegistryServer) ListContexts(context.Context, *ListContextsRequest) (*httpbody.HttpBody, error) { |
| 484 |
return nil, status.Errorf(codes.Unimplemented, "method ListContexts not implemented") |
| 485 |
} |
| 486 |
func (UnimplementedManagedSchemaRegistryServer) GetSchema(context.Context, *GetSchemaRequest) (*Schema, error) { |
| 487 |
return nil, status.Errorf(codes.Unimplemented, "method GetSchema not implemented") |
| 488 |
} |
| 489 |
func (UnimplementedManagedSchemaRegistryServer) GetRawSchema(context.Context, *GetSchemaRequest) (*httpbody.HttpBody, error) { |
| 490 |
return nil, status.Errorf(codes.Unimplemented, "method GetRawSchema not implemented") |
| 491 |
} |
| 492 |
func (UnimplementedManagedSchemaRegistryServer) ListSchemaVersions(context.Context, *ListSchemaVersionsRequest) (*httpbody.HttpBody, error) { |
| 493 |
return nil, status.Errorf(codes.Unimplemented, "method ListSchemaVersions not implemented") |
| 494 |
} |
| 495 |
func (UnimplementedManagedSchemaRegistryServer) ListSchemaTypes(context.Context, *ListSchemaTypesRequest) (*httpbody.HttpBody, error) { |
| 496 |
return nil, status.Errorf(codes.Unimplemented, "method ListSchemaTypes not implemented") |
| 497 |
} |
| 498 |
func (UnimplementedManagedSchemaRegistryServer) ListSubjects(context.Context, *ListSubjectsRequest) (*httpbody.HttpBody, error) { |
| 499 |
return nil, status.Errorf(codes.Unimplemented, "method ListSubjects not implemented") |
| 500 |
} |
| 501 |
func (UnimplementedManagedSchemaRegistryServer) ListSubjectsBySchemaId(context.Context, *ListSubjectsBySchemaIdRequest) (*httpbody.HttpBody, error) { |
| 502 |
return nil, status.Errorf(codes.Unimplemented, "method ListSubjectsBySchemaId not implemented") |
| 503 |
} |
| 504 |
func (UnimplementedManagedSchemaRegistryServer) DeleteSubject(context.Context, *DeleteSubjectRequest) (*httpbody.HttpBody, error) { |
| 505 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteSubject not implemented") |
| 506 |
} |
| 507 |
func (UnimplementedManagedSchemaRegistryServer) LookupVersion(context.Context, *LookupVersionRequest) (*SchemaVersion, error) { |
| 508 |
return nil, status.Errorf(codes.Unimplemented, "method LookupVersion not implemented") |
| 509 |
} |
| 510 |
func (UnimplementedManagedSchemaRegistryServer) GetVersion(context.Context, *GetVersionRequest) (*SchemaVersion, error) { |
| 511 |
return nil, status.Errorf(codes.Unimplemented, "method GetVersion not implemented") |
| 512 |
} |
| 513 |
func (UnimplementedManagedSchemaRegistryServer) GetRawSchemaVersion(context.Context, *GetVersionRequest) (*httpbody.HttpBody, error) { |
| 514 |
return nil, status.Errorf(codes.Unimplemented, "method GetRawSchemaVersion not implemented") |
| 515 |
} |
| 516 |
func (UnimplementedManagedSchemaRegistryServer) ListVersions(context.Context, *ListVersionsRequest) (*httpbody.HttpBody, error) { |
| 517 |
return nil, status.Errorf(codes.Unimplemented, "method ListVersions not implemented") |
| 518 |
} |
| 519 |
func (UnimplementedManagedSchemaRegistryServer) CreateVersion(context.Context, *CreateVersionRequest) (*CreateVersionResponse, error) { |
| 520 |
return nil, status.Errorf(codes.Unimplemented, "method CreateVersion not implemented") |
| 521 |
} |
| 522 |
func (UnimplementedManagedSchemaRegistryServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*httpbody.HttpBody, error) { |
| 523 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteVersion not implemented") |
| 524 |
} |
| 525 |
func (UnimplementedManagedSchemaRegistryServer) ListReferencedSchemas(context.Context, *ListReferencedSchemasRequest) (*httpbody.HttpBody, error) { |
| 526 |
return nil, status.Errorf(codes.Unimplemented, "method ListReferencedSchemas not implemented") |
| 527 |
} |
| 528 |
func (UnimplementedManagedSchemaRegistryServer) CheckCompatibility(context.Context, *CheckCompatibilityRequest) (*CheckCompatibilityResponse, error) { |
| 529 |
return nil, status.Errorf(codes.Unimplemented, "method CheckCompatibility not implemented") |
| 530 |
} |
| 531 |
func (UnimplementedManagedSchemaRegistryServer) GetSchemaConfig(context.Context, *GetSchemaConfigRequest) (*SchemaConfig, error) { |
| 532 |
return nil, status.Errorf(codes.Unimplemented, "method GetSchemaConfig not implemented") |
| 533 |
} |
| 534 |
func (UnimplementedManagedSchemaRegistryServer) UpdateSchemaConfig(context.Context, *UpdateSchemaConfigRequest) (*SchemaConfig, error) { |
| 535 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateSchemaConfig not implemented") |
| 536 |
} |
| 537 |
func (UnimplementedManagedSchemaRegistryServer) DeleteSchemaConfig(context.Context, *DeleteSchemaConfigRequest) (*SchemaConfig, error) { |
| 538 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteSchemaConfig not implemented") |
| 539 |
} |
| 540 |
func (UnimplementedManagedSchemaRegistryServer) GetSchemaMode(context.Context, *GetSchemaModeRequest) (*SchemaMode, error) { |
| 541 |
return nil, status.Errorf(codes.Unimplemented, "method GetSchemaMode not implemented") |
| 542 |
} |
| 543 |
func (UnimplementedManagedSchemaRegistryServer) UpdateSchemaMode(context.Context, *UpdateSchemaModeRequest) (*SchemaMode, error) { |
| 544 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateSchemaMode not implemented") |
| 545 |
} |
| 546 |
func (UnimplementedManagedSchemaRegistryServer) DeleteSchemaMode(context.Context, *DeleteSchemaModeRequest) (*SchemaMode, error) { |
| 547 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteSchemaMode not implemented") |
| 548 |
} |
| 549 |
|
| 550 |
|
| 551 |
|
| 552 |
|
| 553 |
type UnsafeManagedSchemaRegistryServer interface { |
| 554 |
mustEmbedUnimplementedManagedSchemaRegistryServer() |
| 555 |
} |
| 556 |
|
| 557 |
func RegisterManagedSchemaRegistryServer(s grpc.ServiceRegistrar, srv ManagedSchemaRegistryServer) { |
| 558 |
s.RegisterService(&ManagedSchemaRegistry_ServiceDesc, srv) |
| 559 |
} |
| 560 |
|
| 561 |
func _ManagedSchemaRegistry_GetSchemaRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 562 |
in := new(GetSchemaRegistryRequest) |
| 563 |
if err := dec(in); err != nil { |
| 564 |
return nil, err |
| 565 |
} |
| 566 |
if interceptor == nil { |
| 567 |
return srv.(ManagedSchemaRegistryServer).GetSchemaRegistry(ctx, in) |
| 568 |
} |
| 569 |
info := &grpc.UnaryServerInfo{ |
| 570 |
Server: srv, |
| 571 |
FullMethod: ManagedSchemaRegistry_GetSchemaRegistry_FullMethodName, |
| 572 |
} |
| 573 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 574 |
return srv.(ManagedSchemaRegistryServer).GetSchemaRegistry(ctx, req.(*GetSchemaRegistryRequest)) |
| 575 |
} |
| 576 |
return interceptor(ctx, in, info, handler) |
| 577 |
} |
| 578 |
|
| 579 |
func _ManagedSchemaRegistry_ListSchemaRegistries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 580 |
in := new(ListSchemaRegistriesRequest) |
| 581 |
if err := dec(in); err != nil { |
| 582 |
return nil, err |
| 583 |
} |
| 584 |
if interceptor == nil { |
| 585 |
return srv.(ManagedSchemaRegistryServer).ListSchemaRegistries(ctx, in) |
| 586 |
} |
| 587 |
info := &grpc.UnaryServerInfo{ |
| 588 |
Server: srv, |
| 589 |
FullMethod: ManagedSchemaRegistry_ListSchemaRegistries_FullMethodName, |
| 590 |
} |
| 591 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 592 |
return srv.(ManagedSchemaRegistryServer).ListSchemaRegistries(ctx, req.(*ListSchemaRegistriesRequest)) |
| 593 |
} |
| 594 |
return interceptor(ctx, in, info, handler) |
| 595 |
} |
| 596 |
|
| 597 |
func _ManagedSchemaRegistry_CreateSchemaRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 598 |
in := new(CreateSchemaRegistryRequest) |
| 599 |
if err := dec(in); err != nil { |
| 600 |
return nil, err |
| 601 |
} |
| 602 |
if interceptor == nil { |
| 603 |
return srv.(ManagedSchemaRegistryServer).CreateSchemaRegistry(ctx, in) |
| 604 |
} |
| 605 |
info := &grpc.UnaryServerInfo{ |
| 606 |
Server: srv, |
| 607 |
FullMethod: ManagedSchemaRegistry_CreateSchemaRegistry_FullMethodName, |
| 608 |
} |
| 609 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 610 |
return srv.(ManagedSchemaRegistryServer).CreateSchemaRegistry(ctx, req.(*CreateSchemaRegistryRequest)) |
| 611 |
} |
| 612 |
return interceptor(ctx, in, info, handler) |
| 613 |
} |
| 614 |
|
| 615 |
func _ManagedSchemaRegistry_DeleteSchemaRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 616 |
in := new(DeleteSchemaRegistryRequest) |
| 617 |
if err := dec(in); err != nil { |
| 618 |
return nil, err |
| 619 |
} |
| 620 |
if interceptor == nil { |
| 621 |
return srv.(ManagedSchemaRegistryServer).DeleteSchemaRegistry(ctx, in) |
| 622 |
} |
| 623 |
info := &grpc.UnaryServerInfo{ |
| 624 |
Server: srv, |
| 625 |
FullMethod: ManagedSchemaRegistry_DeleteSchemaRegistry_FullMethodName, |
| 626 |
} |
| 627 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 628 |
return srv.(ManagedSchemaRegistryServer).DeleteSchemaRegistry(ctx, req.(*DeleteSchemaRegistryRequest)) |
| 629 |
} |
| 630 |
return interceptor(ctx, in, info, handler) |
| 631 |
} |
| 632 |
|
| 633 |
func _ManagedSchemaRegistry_GetContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 634 |
in := new(GetContextRequest) |
| 635 |
if err := dec(in); err != nil { |
| 636 |
return nil, err |
| 637 |
} |
| 638 |
if interceptor == nil { |
| 639 |
return srv.(ManagedSchemaRegistryServer).GetContext(ctx, in) |
| 640 |
} |
| 641 |
info := &grpc.UnaryServerInfo{ |
| 642 |
Server: srv, |
| 643 |
FullMethod: ManagedSchemaRegistry_GetContext_FullMethodName, |
| 644 |
} |
| 645 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 646 |
return srv.(ManagedSchemaRegistryServer).GetContext(ctx, req.(*GetContextRequest)) |
| 647 |
} |
| 648 |
return interceptor(ctx, in, info, handler) |
| 649 |
} |
| 650 |
|
| 651 |
func _ManagedSchemaRegistry_ListContexts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 652 |
in := new(ListContextsRequest) |
| 653 |
if err := dec(in); err != nil { |
| 654 |
return nil, err |
| 655 |
} |
| 656 |
if interceptor == nil { |
| 657 |
return srv.(ManagedSchemaRegistryServer).ListContexts(ctx, in) |
| 658 |
} |
| 659 |
info := &grpc.UnaryServerInfo{ |
| 660 |
Server: srv, |
| 661 |
FullMethod: ManagedSchemaRegistry_ListContexts_FullMethodName, |
| 662 |
} |
| 663 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 664 |
return srv.(ManagedSchemaRegistryServer).ListContexts(ctx, req.(*ListContextsRequest)) |
| 665 |
} |
| 666 |
return interceptor(ctx, in, info, handler) |
| 667 |
} |
| 668 |
|
| 669 |
func _ManagedSchemaRegistry_GetSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 670 |
in := new(GetSchemaRequest) |
| 671 |
if err := dec(in); err != nil { |
| 672 |
return nil, err |
| 673 |
} |
| 674 |
if interceptor == nil { |
| 675 |
return srv.(ManagedSchemaRegistryServer).GetSchema(ctx, in) |
| 676 |
} |
| 677 |
info := &grpc.UnaryServerInfo{ |
| 678 |
Server: srv, |
| 679 |
FullMethod: ManagedSchemaRegistry_GetSchema_FullMethodName, |
| 680 |
} |
| 681 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 682 |
return srv.(ManagedSchemaRegistryServer).GetSchema(ctx, req.(*GetSchemaRequest)) |
| 683 |
} |
| 684 |
return interceptor(ctx, in, info, handler) |
| 685 |
} |
| 686 |
|
| 687 |
func _ManagedSchemaRegistry_GetRawSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 688 |
in := new(GetSchemaRequest) |
| 689 |
if err := dec(in); err != nil { |
| 690 |
return nil, err |
| 691 |
} |
| 692 |
if interceptor == nil { |
| 693 |
return srv.(ManagedSchemaRegistryServer).GetRawSchema(ctx, in) |
| 694 |
} |
| 695 |
info := &grpc.UnaryServerInfo{ |
| 696 |
Server: srv, |
| 697 |
FullMethod: ManagedSchemaRegistry_GetRawSchema_FullMethodName, |
| 698 |
} |
| 699 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 700 |
return srv.(ManagedSchemaRegistryServer).GetRawSchema(ctx, req.(*GetSchemaRequest)) |
| 701 |
} |
| 702 |
return interceptor(ctx, in, info, handler) |
| 703 |
} |
| 704 |
|
| 705 |
func _ManagedSchemaRegistry_ListSchemaVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 706 |
in := new(ListSchemaVersionsRequest) |
| 707 |
if err := dec(in); err != nil { |
| 708 |
return nil, err |
| 709 |
} |
| 710 |
if interceptor == nil { |
| 711 |
return srv.(ManagedSchemaRegistryServer).ListSchemaVersions(ctx, in) |
| 712 |
} |
| 713 |
info := &grpc.UnaryServerInfo{ |
| 714 |
Server: srv, |
| 715 |
FullMethod: ManagedSchemaRegistry_ListSchemaVersions_FullMethodName, |
| 716 |
} |
| 717 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 718 |
return srv.(ManagedSchemaRegistryServer).ListSchemaVersions(ctx, req.(*ListSchemaVersionsRequest)) |
| 719 |
} |
| 720 |
return interceptor(ctx, in, info, handler) |
| 721 |
} |
| 722 |
|
| 723 |
func _ManagedSchemaRegistry_ListSchemaTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 724 |
in := new(ListSchemaTypesRequest) |
| 725 |
if err := dec(in); err != nil { |
| 726 |
return nil, err |
| 727 |
} |
| 728 |
if interceptor == nil { |
| 729 |
return srv.(ManagedSchemaRegistryServer).ListSchemaTypes(ctx, in) |
| 730 |
} |
| 731 |
info := &grpc.UnaryServerInfo{ |
| 732 |
Server: srv, |
| 733 |
FullMethod: ManagedSchemaRegistry_ListSchemaTypes_FullMethodName, |
| 734 |
} |
| 735 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 736 |
return srv.(ManagedSchemaRegistryServer).ListSchemaTypes(ctx, req.(*ListSchemaTypesRequest)) |
| 737 |
} |
| 738 |
return interceptor(ctx, in, info, handler) |
| 739 |
} |
| 740 |
|
| 741 |
func _ManagedSchemaRegistry_ListSubjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 742 |
in := new(ListSubjectsRequest) |
| 743 |
if err := dec(in); err != nil { |
| 744 |
return nil, err |
| 745 |
} |
| 746 |
if interceptor == nil { |
| 747 |
return srv.(ManagedSchemaRegistryServer).ListSubjects(ctx, in) |
| 748 |
} |
| 749 |
info := &grpc.UnaryServerInfo{ |
| 750 |
Server: srv, |
| 751 |
FullMethod: ManagedSchemaRegistry_ListSubjects_FullMethodName, |
| 752 |
} |
| 753 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 754 |
return srv.(ManagedSchemaRegistryServer).ListSubjects(ctx, req.(*ListSubjectsRequest)) |
| 755 |
} |
| 756 |
return interceptor(ctx, in, info, handler) |
| 757 |
} |
| 758 |
|
| 759 |
func _ManagedSchemaRegistry_ListSubjectsBySchemaId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 760 |
in := new(ListSubjectsBySchemaIdRequest) |
| 761 |
if err := dec(in); err != nil { |
| 762 |
return nil, err |
| 763 |
} |
| 764 |
if interceptor == nil { |
| 765 |
return srv.(ManagedSchemaRegistryServer).ListSubjectsBySchemaId(ctx, in) |
| 766 |
} |
| 767 |
info := &grpc.UnaryServerInfo{ |
| 768 |
Server: srv, |
| 769 |
FullMethod: ManagedSchemaRegistry_ListSubjectsBySchemaId_FullMethodName, |
| 770 |
} |
| 771 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 772 |
return srv.(ManagedSchemaRegistryServer).ListSubjectsBySchemaId(ctx, req.(*ListSubjectsBySchemaIdRequest)) |
| 773 |
} |
| 774 |
return interceptor(ctx, in, info, handler) |
| 775 |
} |
| 776 |
|
| 777 |
func _ManagedSchemaRegistry_DeleteSubject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 778 |
in := new(DeleteSubjectRequest) |
| 779 |
if err := dec(in); err != nil { |
| 780 |
return nil, err |
| 781 |
} |
| 782 |
if interceptor == nil { |
| 783 |
return srv.(ManagedSchemaRegistryServer).DeleteSubject(ctx, in) |
| 784 |
} |
| 785 |
info := &grpc.UnaryServerInfo{ |
| 786 |
Server: srv, |
| 787 |
FullMethod: ManagedSchemaRegistry_DeleteSubject_FullMethodName, |
| 788 |
} |
| 789 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 790 |
return srv.(ManagedSchemaRegistryServer).DeleteSubject(ctx, req.(*DeleteSubjectRequest)) |
| 791 |
} |
| 792 |
return interceptor(ctx, in, info, handler) |
| 793 |
} |
| 794 |
|
| 795 |
func _ManagedSchemaRegistry_LookupVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 796 |
in := new(LookupVersionRequest) |
| 797 |
if err := dec(in); err != nil { |
| 798 |
return nil, err |
| 799 |
} |
| 800 |
if interceptor == nil { |
| 801 |
return srv.(ManagedSchemaRegistryServer).LookupVersion(ctx, in) |
| 802 |
} |
| 803 |
info := &grpc.UnaryServerInfo{ |
| 804 |
Server: srv, |
| 805 |
FullMethod: ManagedSchemaRegistry_LookupVersion_FullMethodName, |
| 806 |
} |
| 807 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 808 |
return srv.(ManagedSchemaRegistryServer).LookupVersion(ctx, req.(*LookupVersionRequest)) |
| 809 |
} |
| 810 |
return interceptor(ctx, in, info, handler) |
| 811 |
} |
| 812 |
|
| 813 |
func _ManagedSchemaRegistry_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 814 |
in := new(GetVersionRequest) |
| 815 |
if err := dec(in); err != nil { |
| 816 |
return nil, err |
| 817 |
} |
| 818 |
if interceptor == nil { |
| 819 |
return srv.(ManagedSchemaRegistryServer).GetVersion(ctx, in) |
| 820 |
} |
| 821 |
info := &grpc.UnaryServerInfo{ |
| 822 |
Server: srv, |
| 823 |
FullMethod: ManagedSchemaRegistry_GetVersion_FullMethodName, |
| 824 |
} |
| 825 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 826 |
return srv.(ManagedSchemaRegistryServer).GetVersion(ctx, req.(*GetVersionRequest)) |
| 827 |
} |
| 828 |
return interceptor(ctx, in, info, handler) |
| 829 |
} |
| 830 |
|
| 831 |
func _ManagedSchemaRegistry_GetRawSchemaVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 832 |
in := new(GetVersionRequest) |
| 833 |
if err := dec(in); err != nil { |
| 834 |
return nil, err |
| 835 |
} |
| 836 |
if interceptor == nil { |
| 837 |
return srv.(ManagedSchemaRegistryServer).GetRawSchemaVersion(ctx, in) |
| 838 |
} |
| 839 |
info := &grpc.UnaryServerInfo{ |
| 840 |
Server: srv, |
| 841 |
FullMethod: ManagedSchemaRegistry_GetRawSchemaVersion_FullMethodName, |
| 842 |
} |
| 843 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 844 |
return srv.(ManagedSchemaRegistryServer).GetRawSchemaVersion(ctx, req.(*GetVersionRequest)) |
| 845 |
} |
| 846 |
return interceptor(ctx, in, info, handler) |
| 847 |
} |
| 848 |
|
| 849 |
func _ManagedSchemaRegistry_ListVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 850 |
in := new(ListVersionsRequest) |
| 851 |
if err := dec(in); err != nil { |
| 852 |
return nil, err |
| 853 |
} |
| 854 |
if interceptor == nil { |
| 855 |
return srv.(ManagedSchemaRegistryServer).ListVersions(ctx, in) |
| 856 |
} |
| 857 |
info := &grpc.UnaryServerInfo{ |
| 858 |
Server: srv, |
| 859 |
FullMethod: ManagedSchemaRegistry_ListVersions_FullMethodName, |
| 860 |
} |
| 861 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 862 |
return srv.(ManagedSchemaRegistryServer).ListVersions(ctx, req.(*ListVersionsRequest)) |
| 863 |
} |
| 864 |
return interceptor(ctx, in, info, handler) |
| 865 |
} |
| 866 |
|
| 867 |
func _ManagedSchemaRegistry_CreateVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 868 |
in := new(CreateVersionRequest) |
| 869 |
if err := dec(in); err != nil { |
| 870 |
return nil, err |
| 871 |
} |
| 872 |
if interceptor == nil { |
| 873 |
return srv.(ManagedSchemaRegistryServer).CreateVersion(ctx, in) |
| 874 |
} |
| 875 |
info := &grpc.UnaryServerInfo{ |
| 876 |
Server: srv, |
| 877 |
FullMethod: ManagedSchemaRegistry_CreateVersion_FullMethodName, |
| 878 |
} |
| 879 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 880 |
return srv.(ManagedSchemaRegistryServer).CreateVersion(ctx, req.(*CreateVersionRequest)) |
| 881 |
} |
| 882 |
return interceptor(ctx, in, info, handler) |
| 883 |
} |
| 884 |
|
| 885 |
func _ManagedSchemaRegistry_DeleteVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 886 |
in := new(DeleteVersionRequest) |
| 887 |
if err := dec(in); err != nil { |
| 888 |
return nil, err |
| 889 |
} |
| 890 |
if interceptor == nil { |
| 891 |
return srv.(ManagedSchemaRegistryServer).DeleteVersion(ctx, in) |
| 892 |
} |
| 893 |
info := &grpc.UnaryServerInfo{ |
| 894 |
Server: srv, |
| 895 |
FullMethod: ManagedSchemaRegistry_DeleteVersion_FullMethodName, |
| 896 |
} |
| 897 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 898 |
return srv.(ManagedSchemaRegistryServer).DeleteVersion(ctx, req.(*DeleteVersionRequest)) |
| 899 |
} |
| 900 |
return interceptor(ctx, in, info, handler) |
| 901 |
} |
| 902 |
|
| 903 |
func _ManagedSchemaRegistry_ListReferencedSchemas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 904 |
in := new(ListReferencedSchemasRequest) |
| 905 |
if err := dec(in); err != nil { |
| 906 |
return nil, err |
| 907 |
} |
| 908 |
if interceptor == nil { |
| 909 |
return srv.(ManagedSchemaRegistryServer).ListReferencedSchemas(ctx, in) |
| 910 |
} |
| 911 |
info := &grpc.UnaryServerInfo{ |
| 912 |
Server: srv, |
| 913 |
FullMethod: ManagedSchemaRegistry_ListReferencedSchemas_FullMethodName, |
| 914 |
} |
| 915 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 916 |
return srv.(ManagedSchemaRegistryServer).ListReferencedSchemas(ctx, req.(*ListReferencedSchemasRequest)) |
| 917 |
} |
| 918 |
return interceptor(ctx, in, info, handler) |
| 919 |
} |
| 920 |
|
| 921 |
func _ManagedSchemaRegistry_CheckCompatibility_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 922 |
in := new(CheckCompatibilityRequest) |
| 923 |
if err := dec(in); err != nil { |
| 924 |
return nil, err |
| 925 |
} |
| 926 |
if interceptor == nil { |
| 927 |
return srv.(ManagedSchemaRegistryServer).CheckCompatibility(ctx, in) |
| 928 |
} |
| 929 |
info := &grpc.UnaryServerInfo{ |
| 930 |
Server: srv, |
| 931 |
FullMethod: ManagedSchemaRegistry_CheckCompatibility_FullMethodName, |
| 932 |
} |
| 933 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 934 |
return srv.(ManagedSchemaRegistryServer).CheckCompatibility(ctx, req.(*CheckCompatibilityRequest)) |
| 935 |
} |
| 936 |
return interceptor(ctx, in, info, handler) |
| 937 |
} |
| 938 |
|
| 939 |
func _ManagedSchemaRegistry_GetSchemaConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 940 |
in := new(GetSchemaConfigRequest) |
| 941 |
if err := dec(in); err != nil { |
| 942 |
return nil, err |
| 943 |
} |
| 944 |
if interceptor == nil { |
| 945 |
return srv.(ManagedSchemaRegistryServer).GetSchemaConfig(ctx, in) |
| 946 |
} |
| 947 |
info := &grpc.UnaryServerInfo{ |
| 948 |
Server: srv, |
| 949 |
FullMethod: ManagedSchemaRegistry_GetSchemaConfig_FullMethodName, |
| 950 |
} |
| 951 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 952 |
return srv.(ManagedSchemaRegistryServer).GetSchemaConfig(ctx, req.(*GetSchemaConfigRequest)) |
| 953 |
} |
| 954 |
return interceptor(ctx, in, info, handler) |
| 955 |
} |
| 956 |
|
| 957 |
func _ManagedSchemaRegistry_UpdateSchemaConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 958 |
in := new(UpdateSchemaConfigRequest) |
| 959 |
if err := dec(in); err != nil { |
| 960 |
return nil, err |
| 961 |
} |
| 962 |
if interceptor == nil { |
| 963 |
return srv.(ManagedSchemaRegistryServer).UpdateSchemaConfig(ctx, in) |
| 964 |
} |
| 965 |
info := &grpc.UnaryServerInfo{ |
| 966 |
Server: srv, |
| 967 |
FullMethod: ManagedSchemaRegistry_UpdateSchemaConfig_FullMethodName, |
| 968 |
} |
| 969 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 970 |
return srv.(ManagedSchemaRegistryServer).UpdateSchemaConfig(ctx, req.(*UpdateSchemaConfigRequest)) |
| 971 |
} |
| 972 |
return interceptor(ctx, in, info, handler) |
| 973 |
} |
| 974 |
|
| 975 |
func _ManagedSchemaRegistry_DeleteSchemaConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 976 |
in := new(DeleteSchemaConfigRequest) |
| 977 |
if err := dec(in); err != nil { |
| 978 |
return nil, err |
| 979 |
} |
| 980 |
if interceptor == nil { |
| 981 |
return srv.(ManagedSchemaRegistryServer).DeleteSchemaConfig(ctx, in) |
| 982 |
} |
| 983 |
info := &grpc.UnaryServerInfo{ |
| 984 |
Server: srv, |
| 985 |
FullMethod: ManagedSchemaRegistry_DeleteSchemaConfig_FullMethodName, |
| 986 |
} |
| 987 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 988 |
return srv.(ManagedSchemaRegistryServer).DeleteSchemaConfig(ctx, req.(*DeleteSchemaConfigRequest)) |
| 989 |
} |
| 990 |
return interceptor(ctx, in, info, handler) |
| 991 |
} |
| 992 |
|
| 993 |
func _ManagedSchemaRegistry_GetSchemaMode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 994 |
in := new(GetSchemaModeRequest) |
| 995 |
if err := dec(in); err != nil { |
| 996 |
return nil, err |
| 997 |
} |
| 998 |
if interceptor == nil { |
| 999 |
return srv.(ManagedSchemaRegistryServer).GetSchemaMode(ctx, in) |
| 1000 |
} |
| 1001 |
info := &grpc.UnaryServerInfo{ |
| 1002 |
Server: srv, |
| 1003 |
FullMethod: ManagedSchemaRegistry_GetSchemaMode_FullMethodName, |
| 1004 |
} |
| 1005 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1006 |
return srv.(ManagedSchemaRegistryServer).GetSchemaMode(ctx, req.(*GetSchemaModeRequest)) |
| 1007 |
} |
| 1008 |
return interceptor(ctx, in, info, handler) |
| 1009 |
} |
| 1010 |
|
| 1011 |
func _ManagedSchemaRegistry_UpdateSchemaMode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1012 |
in := new(UpdateSchemaModeRequest) |
| 1013 |
if err := dec(in); err != nil { |
| 1014 |
return nil, err |
| 1015 |
} |
| 1016 |
if interceptor == nil { |
| 1017 |
return srv.(ManagedSchemaRegistryServer).UpdateSchemaMode(ctx, in) |
| 1018 |
} |
| 1019 |
info := &grpc.UnaryServerInfo{ |
| 1020 |
Server: srv, |
| 1021 |
FullMethod: ManagedSchemaRegistry_UpdateSchemaMode_FullMethodName, |
| 1022 |
} |
| 1023 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1024 |
return srv.(ManagedSchemaRegistryServer).UpdateSchemaMode(ctx, req.(*UpdateSchemaModeRequest)) |
| 1025 |
} |
| 1026 |
return interceptor(ctx, in, info, handler) |
| 1027 |
} |
| 1028 |
|
| 1029 |
func _ManagedSchemaRegistry_DeleteSchemaMode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1030 |
in := new(DeleteSchemaModeRequest) |
| 1031 |
if err := dec(in); err != nil { |
| 1032 |
return nil, err |
| 1033 |
} |
| 1034 |
if interceptor == nil { |
| 1035 |
return srv.(ManagedSchemaRegistryServer).DeleteSchemaMode(ctx, in) |
| 1036 |
} |
| 1037 |
info := &grpc.UnaryServerInfo{ |
| 1038 |
Server: srv, |
| 1039 |
FullMethod: ManagedSchemaRegistry_DeleteSchemaMode_FullMethodName, |
| 1040 |
} |
| 1041 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1042 |
return srv.(ManagedSchemaRegistryServer).DeleteSchemaMode(ctx, req.(*DeleteSchemaModeRequest)) |
| 1043 |
} |
| 1044 |
return interceptor(ctx, in, info, handler) |
| 1045 |
} |
| 1046 |
|
| 1047 |
|
| 1048 |
|
| 1049 |
|
| 1050 |
var ManagedSchemaRegistry_ServiceDesc = grpc.ServiceDesc{ |
| 1051 |
ServiceName: "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", |
| 1052 |
HandlerType: (*ManagedSchemaRegistryServer)(nil), |
| 1053 |
Methods: []grpc.MethodDesc{ |
| 1054 |
{ |
| 1055 |
MethodName: "GetSchemaRegistry", |
| 1056 |
Handler: _ManagedSchemaRegistry_GetSchemaRegistry_Handler, |
| 1057 |
}, |
| 1058 |
{ |
| 1059 |
MethodName: "ListSchemaRegistries", |
| 1060 |
Handler: _ManagedSchemaRegistry_ListSchemaRegistries_Handler, |
| 1061 |
}, |
| 1062 |
{ |
| 1063 |
MethodName: "CreateSchemaRegistry", |
| 1064 |
Handler: _ManagedSchemaRegistry_CreateSchemaRegistry_Handler, |
| 1065 |
}, |
| 1066 |
{ |
| 1067 |
MethodName: "DeleteSchemaRegistry", |
| 1068 |
Handler: _ManagedSchemaRegistry_DeleteSchemaRegistry_Handler, |
| 1069 |
}, |
| 1070 |
{ |
| 1071 |
MethodName: "GetContext", |
| 1072 |
Handler: _ManagedSchemaRegistry_GetContext_Handler, |
| 1073 |
}, |
| 1074 |
{ |
| 1075 |
MethodName: "ListContexts", |
| 1076 |
Handler: _ManagedSchemaRegistry_ListContexts_Handler, |
| 1077 |
}, |
| 1078 |
{ |
| 1079 |
MethodName: "GetSchema", |
| 1080 |
Handler: _ManagedSchemaRegistry_GetSchema_Handler, |
| 1081 |
}, |
| 1082 |
{ |
| 1083 |
MethodName: "GetRawSchema", |
| 1084 |
Handler: _ManagedSchemaRegistry_GetRawSchema_Handler, |
| 1085 |
}, |
| 1086 |
{ |
| 1087 |
MethodName: "ListSchemaVersions", |
| 1088 |
Handler: _ManagedSchemaRegistry_ListSchemaVersions_Handler, |
| 1089 |
}, |
| 1090 |
{ |
| 1091 |
MethodName: "ListSchemaTypes", |
| 1092 |
Handler: _ManagedSchemaRegistry_ListSchemaTypes_Handler, |
| 1093 |
}, |
| 1094 |
{ |
| 1095 |
MethodName: "ListSubjects", |
| 1096 |
Handler: _ManagedSchemaRegistry_ListSubjects_Handler, |
| 1097 |
}, |
| 1098 |
{ |
| 1099 |
MethodName: "ListSubjectsBySchemaId", |
| 1100 |
Handler: _ManagedSchemaRegistry_ListSubjectsBySchemaId_Handler, |
| 1101 |
}, |
| 1102 |
{ |
| 1103 |
MethodName: "DeleteSubject", |
| 1104 |
Handler: _ManagedSchemaRegistry_DeleteSubject_Handler, |
| 1105 |
}, |
| 1106 |
{ |
| 1107 |
MethodName: "LookupVersion", |
| 1108 |
Handler: _ManagedSchemaRegistry_LookupVersion_Handler, |
| 1109 |
}, |
| 1110 |
{ |
| 1111 |
MethodName: "GetVersion", |
| 1112 |
Handler: _ManagedSchemaRegistry_GetVersion_Handler, |
| 1113 |
}, |
| 1114 |
{ |
| 1115 |
MethodName: "GetRawSchemaVersion", |
| 1116 |
Handler: _ManagedSchemaRegistry_GetRawSchemaVersion_Handler, |
| 1117 |
}, |
| 1118 |
{ |
| 1119 |
MethodName: "ListVersions", |
| 1120 |
Handler: _ManagedSchemaRegistry_ListVersions_Handler, |
| 1121 |
}, |
| 1122 |
{ |
| 1123 |
MethodName: "CreateVersion", |
| 1124 |
Handler: _ManagedSchemaRegistry_CreateVersion_Handler, |
| 1125 |
}, |
| 1126 |
{ |
| 1127 |
MethodName: "DeleteVersion", |
| 1128 |
Handler: _ManagedSchemaRegistry_DeleteVersion_Handler, |
| 1129 |
}, |
| 1130 |
{ |
| 1131 |
MethodName: "ListReferencedSchemas", |
| 1132 |
Handler: _ManagedSchemaRegistry_ListReferencedSchemas_Handler, |
| 1133 |
}, |
| 1134 |
{ |
| 1135 |
MethodName: "CheckCompatibility", |
| 1136 |
Handler: _ManagedSchemaRegistry_CheckCompatibility_Handler, |
| 1137 |
}, |
| 1138 |
{ |
| 1139 |
MethodName: "GetSchemaConfig", |
| 1140 |
Handler: _ManagedSchemaRegistry_GetSchemaConfig_Handler, |
| 1141 |
}, |
| 1142 |
{ |
| 1143 |
MethodName: "UpdateSchemaConfig", |
| 1144 |
Handler: _ManagedSchemaRegistry_UpdateSchemaConfig_Handler, |
| 1145 |
}, |
| 1146 |
{ |
| 1147 |
MethodName: "DeleteSchemaConfig", |
| 1148 |
Handler: _ManagedSchemaRegistry_DeleteSchemaConfig_Handler, |
| 1149 |
}, |
| 1150 |
{ |
| 1151 |
MethodName: "GetSchemaMode", |
| 1152 |
Handler: _ManagedSchemaRegistry_GetSchemaMode_Handler, |
| 1153 |
}, |
| 1154 |
{ |
| 1155 |
MethodName: "UpdateSchemaMode", |
| 1156 |
Handler: _ManagedSchemaRegistry_UpdateSchemaMode_Handler, |
| 1157 |
}, |
| 1158 |
{ |
| 1159 |
MethodName: "DeleteSchemaMode", |
| 1160 |
Handler: _ManagedSchemaRegistry_DeleteSchemaMode_Handler, |
| 1161 |
}, |
| 1162 |
}, |
| 1163 |
Streams: []grpc.StreamDesc{}, |
| 1164 |
Metadata: "google/cloud/managedkafka/schemaregistry/v1/schema_registry.proto", |
| 1165 |
} |