| 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.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/pubsub/v1/schema.proto |
| 20 |
|
| 21 |
package pubsubpb |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 26 |
grpc "google.golang.org/grpc" |
| 27 |
codes "google.golang.org/grpc/codes" |
| 28 |
status "google.golang.org/grpc/status" |
| 29 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 30 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 31 |
emptypb "google.golang.org/protobuf/types/known/emptypb" |
| 32 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 33 |
reflect "reflect" |
| 34 |
sync "sync" |
| 35 |
) |
| 36 |
|
| 37 |
const ( |
| 38 |
// Verify that this generated code is sufficiently up-to-date. |
| 39 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 40 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 41 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 42 |
) |
| 43 |
|
| 44 |
// View of Schema object fields to be returned by GetSchema and ListSchemas. |
| 45 |
type SchemaView int32 |
| 46 |
|
| 47 |
const ( |
| 48 |
// The default / unset value. |
| 49 |
// The API will default to the BASIC view. |
| 50 |
SchemaView_SCHEMA_VIEW_UNSPECIFIED SchemaView = 0 |
| 51 |
// Include the name and type of the schema, but not the definition. |
| 52 |
SchemaView_BASIC SchemaView = 1 |
| 53 |
// Include all Schema object fields. |
| 54 |
SchemaView_FULL SchemaView = 2 |
| 55 |
) |
| 56 |
|
| 57 |
// Enum value maps for SchemaView. |
| 58 |
var ( |
| 59 |
SchemaView_name = map[int32]string{ |
| 60 |
0: "SCHEMA_VIEW_UNSPECIFIED", |
| 61 |
1: "BASIC", |
| 62 |
2: "FULL", |
| 63 |
} |
| 64 |
SchemaView_value = map[string]int32{ |
| 65 |
"SCHEMA_VIEW_UNSPECIFIED": 0, |
| 66 |
"BASIC": 1, |
| 67 |
"FULL": 2, |
| 68 |
} |
| 69 |
) |
| 70 |
|
| 71 |
func (x SchemaView) Enum() *SchemaView { |
| 72 |
p := new(SchemaView) |
| 73 |
*p = x |
| 74 |
return p |
| 75 |
} |
| 76 |
|
| 77 |
func (x SchemaView) String() string { |
| 78 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 79 |
} |
| 80 |
|
| 81 |
func (SchemaView) Descriptor() protoreflect.EnumDescriptor { |
| 82 |
return file_google_pubsub_v1_schema_proto_enumTypes[0].Descriptor() |
| 83 |
} |
| 84 |
|
| 85 |
func (SchemaView) Type() protoreflect.EnumType { |
| 86 |
return &file_google_pubsub_v1_schema_proto_enumTypes[0] |
| 87 |
} |
| 88 |
|
| 89 |
func (x SchemaView) Number() protoreflect.EnumNumber { |
| 90 |
return protoreflect.EnumNumber(x) |
| 91 |
} |
| 92 |
|
| 93 |
// Deprecated: Use SchemaView.Descriptor instead. |
| 94 |
func (SchemaView) EnumDescriptor() ([]byte, []int) { |
| 95 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{0} |
| 96 |
} |
| 97 |
|
| 98 |
// Possible encoding types for messages. |
| 99 |
type Encoding int32 |
| 100 |
|
| 101 |
const ( |
| 102 |
// Unspecified |
| 103 |
Encoding_ENCODING_UNSPECIFIED Encoding = 0 |
| 104 |
// JSON encoding |
| 105 |
Encoding_JSON Encoding = 1 |
| 106 |
// Binary encoding, as defined by the schema type. For some schema types, |
| 107 |
// binary encoding may not be available. |
| 108 |
Encoding_BINARY Encoding = 2 |
| 109 |
) |
| 110 |
|
| 111 |
// Enum value maps for Encoding. |
| 112 |
var ( |
| 113 |
Encoding_name = map[int32]string{ |
| 114 |
0: "ENCODING_UNSPECIFIED", |
| 115 |
1: "JSON", |
| 116 |
2: "BINARY", |
| 117 |
} |
| 118 |
Encoding_value = map[string]int32{ |
| 119 |
"ENCODING_UNSPECIFIED": 0, |
| 120 |
"JSON": 1, |
| 121 |
"BINARY": 2, |
| 122 |
} |
| 123 |
) |
| 124 |
|
| 125 |
func (x Encoding) Enum() *Encoding { |
| 126 |
p := new(Encoding) |
| 127 |
*p = x |
| 128 |
return p |
| 129 |
} |
| 130 |
|
| 131 |
func (x Encoding) String() string { |
| 132 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 133 |
} |
| 134 |
|
| 135 |
func (Encoding) Descriptor() protoreflect.EnumDescriptor { |
| 136 |
return file_google_pubsub_v1_schema_proto_enumTypes[1].Descriptor() |
| 137 |
} |
| 138 |
|
| 139 |
func (Encoding) Type() protoreflect.EnumType { |
| 140 |
return &file_google_pubsub_v1_schema_proto_enumTypes[1] |
| 141 |
} |
| 142 |
|
| 143 |
func (x Encoding) Number() protoreflect.EnumNumber { |
| 144 |
return protoreflect.EnumNumber(x) |
| 145 |
} |
| 146 |
|
| 147 |
// Deprecated: Use Encoding.Descriptor instead. |
| 148 |
func (Encoding) EnumDescriptor() ([]byte, []int) { |
| 149 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{1} |
| 150 |
} |
| 151 |
|
| 152 |
// Possible schema definition types. |
| 153 |
type Schema_Type int32 |
| 154 |
|
| 155 |
const ( |
| 156 |
// Default value. This value is unused. |
| 157 |
Schema_TYPE_UNSPECIFIED Schema_Type = 0 |
| 158 |
// A Protocol Buffer schema definition. |
| 159 |
Schema_PROTOCOL_BUFFER Schema_Type = 1 |
| 160 |
// An Avro schema definition. |
| 161 |
Schema_AVRO Schema_Type = 2 |
| 162 |
) |
| 163 |
|
| 164 |
// Enum value maps for Schema_Type. |
| 165 |
var ( |
| 166 |
Schema_Type_name = map[int32]string{ |
| 167 |
0: "TYPE_UNSPECIFIED", |
| 168 |
1: "PROTOCOL_BUFFER", |
| 169 |
2: "AVRO", |
| 170 |
} |
| 171 |
Schema_Type_value = map[string]int32{ |
| 172 |
"TYPE_UNSPECIFIED": 0, |
| 173 |
"PROTOCOL_BUFFER": 1, |
| 174 |
"AVRO": 2, |
| 175 |
} |
| 176 |
) |
| 177 |
|
| 178 |
func (x Schema_Type) Enum() *Schema_Type { |
| 179 |
p := new(Schema_Type) |
| 180 |
*p = x |
| 181 |
return p |
| 182 |
} |
| 183 |
|
| 184 |
func (x Schema_Type) String() string { |
| 185 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 186 |
} |
| 187 |
|
| 188 |
func (Schema_Type) Descriptor() protoreflect.EnumDescriptor { |
| 189 |
return file_google_pubsub_v1_schema_proto_enumTypes[2].Descriptor() |
| 190 |
} |
| 191 |
|
| 192 |
func (Schema_Type) Type() protoreflect.EnumType { |
| 193 |
return &file_google_pubsub_v1_schema_proto_enumTypes[2] |
| 194 |
} |
| 195 |
|
| 196 |
func (x Schema_Type) Number() protoreflect.EnumNumber { |
| 197 |
return protoreflect.EnumNumber(x) |
| 198 |
} |
| 199 |
|
| 200 |
// Deprecated: Use Schema_Type.Descriptor instead. |
| 201 |
func (Schema_Type) EnumDescriptor() ([]byte, []int) { |
| 202 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{0, 0} |
| 203 |
} |
| 204 |
|
| 205 |
// A schema resource. |
| 206 |
type Schema struct { |
| 207 |
state protoimpl.MessageState |
| 208 |
sizeCache protoimpl.SizeCache |
| 209 |
unknownFields protoimpl.UnknownFields |
| 210 |
|
| 211 |
// Required. Name of the schema. |
| 212 |
// Format is `projects/{project}/schemas/{schema}`. |
| 213 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 214 |
// The type of the schema definition. |
| 215 |
Type Schema_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.pubsub.v1.Schema_Type" json:"type,omitempty"` |
| 216 |
// The definition of the schema. This should contain a string representing |
| 217 |
// the full definition of the schema that is a valid schema definition of |
| 218 |
// the type specified in `type`. |
| 219 |
Definition string `protobuf:"bytes,3,opt,name=definition,proto3" json:"definition,omitempty"` |
| 220 |
// Output only. Immutable. The revision ID of the schema. |
| 221 |
RevisionId string `protobuf:"bytes,4,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` |
| 222 |
// Output only. The timestamp that the revision was created. |
| 223 |
RevisionCreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=revision_create_time,json=revisionCreateTime,proto3" json:"revision_create_time,omitempty"` |
| 224 |
} |
| 225 |
|
| 226 |
func (x *Schema) Reset() { |
| 227 |
*x = Schema{} |
| 228 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[0] |
| 229 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 230 |
ms.StoreMessageInfo(mi) |
| 231 |
} |
| 232 |
|
| 233 |
func (x *Schema) String() string { |
| 234 |
return protoimpl.X.MessageStringOf(x) |
| 235 |
} |
| 236 |
|
| 237 |
func (*Schema) ProtoMessage() {} |
| 238 |
|
| 239 |
func (x *Schema) ProtoReflect() protoreflect.Message { |
| 240 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[0] |
| 241 |
if x != nil { |
| 242 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 243 |
if ms.LoadMessageInfo() == nil { |
| 244 |
ms.StoreMessageInfo(mi) |
| 245 |
} |
| 246 |
return ms |
| 247 |
} |
| 248 |
return mi.MessageOf(x) |
| 249 |
} |
| 250 |
|
| 251 |
// Deprecated: Use Schema.ProtoReflect.Descriptor instead. |
| 252 |
func (*Schema) Descriptor() ([]byte, []int) { |
| 253 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{0} |
| 254 |
} |
| 255 |
|
| 256 |
func (x *Schema) GetName() string { |
| 257 |
if x != nil { |
| 258 |
return x.Name |
| 259 |
} |
| 260 |
return "" |
| 261 |
} |
| 262 |
|
| 263 |
func (x *Schema) GetType() Schema_Type { |
| 264 |
if x != nil { |
| 265 |
return x.Type |
| 266 |
} |
| 267 |
return Schema_TYPE_UNSPECIFIED |
| 268 |
} |
| 269 |
|
| 270 |
func (x *Schema) GetDefinition() string { |
| 271 |
if x != nil { |
| 272 |
return x.Definition |
| 273 |
} |
| 274 |
return "" |
| 275 |
} |
| 276 |
|
| 277 |
func (x *Schema) GetRevisionId() string { |
| 278 |
if x != nil { |
| 279 |
return x.RevisionId |
| 280 |
} |
| 281 |
return "" |
| 282 |
} |
| 283 |
|
| 284 |
func (x *Schema) GetRevisionCreateTime() *timestamppb.Timestamp { |
| 285 |
if x != nil { |
| 286 |
return x.RevisionCreateTime |
| 287 |
} |
| 288 |
return nil |
| 289 |
} |
| 290 |
|
| 291 |
// Request for the CreateSchema method. |
| 292 |
type CreateSchemaRequest struct { |
| 293 |
state protoimpl.MessageState |
| 294 |
sizeCache protoimpl.SizeCache |
| 295 |
unknownFields protoimpl.UnknownFields |
| 296 |
|
| 297 |
// Required. The name of the project in which to create the schema. |
| 298 |
// Format is `projects/{project-id}`. |
| 299 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 300 |
// Required. The schema object to create. |
| 301 |
// |
| 302 |
// This schema's `name` parameter is ignored. The schema object returned |
| 303 |
// by CreateSchema will have a `name` made using the given `parent` and |
| 304 |
// `schema_id`. |
| 305 |
Schema *Schema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` |
| 306 |
// The ID to use for the schema, which will become the final component of |
| 307 |
// the schema's resource name. |
| 308 |
// |
| 309 |
// See https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names for |
| 310 |
// resource name constraints. |
| 311 |
SchemaId string `protobuf:"bytes,3,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"` |
| 312 |
} |
| 313 |
|
| 314 |
func (x *CreateSchemaRequest) Reset() { |
| 315 |
*x = CreateSchemaRequest{} |
| 316 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[1] |
| 317 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 318 |
ms.StoreMessageInfo(mi) |
| 319 |
} |
| 320 |
|
| 321 |
func (x *CreateSchemaRequest) String() string { |
| 322 |
return protoimpl.X.MessageStringOf(x) |
| 323 |
} |
| 324 |
|
| 325 |
func (*CreateSchemaRequest) ProtoMessage() {} |
| 326 |
|
| 327 |
func (x *CreateSchemaRequest) ProtoReflect() protoreflect.Message { |
| 328 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[1] |
| 329 |
if x != nil { |
| 330 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 331 |
if ms.LoadMessageInfo() == nil { |
| 332 |
ms.StoreMessageInfo(mi) |
| 333 |
} |
| 334 |
return ms |
| 335 |
} |
| 336 |
return mi.MessageOf(x) |
| 337 |
} |
| 338 |
|
| 339 |
// Deprecated: Use CreateSchemaRequest.ProtoReflect.Descriptor instead. |
| 340 |
func (*CreateSchemaRequest) Descriptor() ([]byte, []int) { |
| 341 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{1} |
| 342 |
} |
| 343 |
|
| 344 |
func (x *CreateSchemaRequest) GetParent() string { |
| 345 |
if x != nil { |
| 346 |
return x.Parent |
| 347 |
} |
| 348 |
return "" |
| 349 |
} |
| 350 |
|
| 351 |
func (x *CreateSchemaRequest) GetSchema() *Schema { |
| 352 |
if x != nil { |
| 353 |
return x.Schema |
| 354 |
} |
| 355 |
return nil |
| 356 |
} |
| 357 |
|
| 358 |
func (x *CreateSchemaRequest) GetSchemaId() string { |
| 359 |
if x != nil { |
| 360 |
return x.SchemaId |
| 361 |
} |
| 362 |
return "" |
| 363 |
} |
| 364 |
|
| 365 |
// Request for the GetSchema method. |
| 366 |
type GetSchemaRequest struct { |
| 367 |
state protoimpl.MessageState |
| 368 |
sizeCache protoimpl.SizeCache |
| 369 |
unknownFields protoimpl.UnknownFields |
| 370 |
|
| 371 |
// Required. The name of the schema to get. |
| 372 |
// Format is `projects/{project}/schemas/{schema}`. |
| 373 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 374 |
// The set of fields to return in the response. If not set, returns a Schema |
| 375 |
// with all fields filled out. Set to `BASIC` to omit the `definition`. |
| 376 |
View SchemaView `protobuf:"varint,2,opt,name=view,proto3,enum=google.pubsub.v1.SchemaView" json:"view,omitempty"` |
| 377 |
} |
| 378 |
|
| 379 |
func (x *GetSchemaRequest) Reset() { |
| 380 |
*x = GetSchemaRequest{} |
| 381 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[2] |
| 382 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 383 |
ms.StoreMessageInfo(mi) |
| 384 |
} |
| 385 |
|
| 386 |
func (x *GetSchemaRequest) String() string { |
| 387 |
return protoimpl.X.MessageStringOf(x) |
| 388 |
} |
| 389 |
|
| 390 |
func (*GetSchemaRequest) ProtoMessage() {} |
| 391 |
|
| 392 |
func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message { |
| 393 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[2] |
| 394 |
if x != nil { |
| 395 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 396 |
if ms.LoadMessageInfo() == nil { |
| 397 |
ms.StoreMessageInfo(mi) |
| 398 |
} |
| 399 |
return ms |
| 400 |
} |
| 401 |
return mi.MessageOf(x) |
| 402 |
} |
| 403 |
|
| 404 |
// Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead. |
| 405 |
func (*GetSchemaRequest) Descriptor() ([]byte, []int) { |
| 406 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{2} |
| 407 |
} |
| 408 |
|
| 409 |
func (x *GetSchemaRequest) GetName() string { |
| 410 |
if x != nil { |
| 411 |
return x.Name |
| 412 |
} |
| 413 |
return "" |
| 414 |
} |
| 415 |
|
| 416 |
func (x *GetSchemaRequest) GetView() SchemaView { |
| 417 |
if x != nil { |
| 418 |
return x.View |
| 419 |
} |
| 420 |
return SchemaView_SCHEMA_VIEW_UNSPECIFIED |
| 421 |
} |
| 422 |
|
| 423 |
// Request for the `ListSchemas` method. |
| 424 |
type ListSchemasRequest struct { |
| 425 |
state protoimpl.MessageState |
| 426 |
sizeCache protoimpl.SizeCache |
| 427 |
unknownFields protoimpl.UnknownFields |
| 428 |
|
| 429 |
// Required. The name of the project in which to list schemas. |
| 430 |
// Format is `projects/{project-id}`. |
| 431 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 432 |
// The set of Schema fields to return in the response. If not set, returns |
| 433 |
// Schemas with `name` and `type`, but not `definition`. Set to `FULL` to |
| 434 |
// retrieve all fields. |
| 435 |
View SchemaView `protobuf:"varint,2,opt,name=view,proto3,enum=google.pubsub.v1.SchemaView" json:"view,omitempty"` |
| 436 |
// Maximum number of schemas to return. |
| 437 |
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 438 |
// The value returned by the last `ListSchemasResponse`; indicates that |
| 439 |
// this is a continuation of a prior `ListSchemas` call, and that the |
| 440 |
// system should return the next page of data. |
| 441 |
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 442 |
} |
| 443 |
|
| 444 |
func (x *ListSchemasRequest) Reset() { |
| 445 |
*x = ListSchemasRequest{} |
| 446 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[3] |
| 447 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 448 |
ms.StoreMessageInfo(mi) |
| 449 |
} |
| 450 |
|
| 451 |
func (x *ListSchemasRequest) String() string { |
| 452 |
return protoimpl.X.MessageStringOf(x) |
| 453 |
} |
| 454 |
|
| 455 |
func (*ListSchemasRequest) ProtoMessage() {} |
| 456 |
|
| 457 |
func (x *ListSchemasRequest) ProtoReflect() protoreflect.Message { |
| 458 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[3] |
| 459 |
if x != nil { |
| 460 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 461 |
if ms.LoadMessageInfo() == nil { |
| 462 |
ms.StoreMessageInfo(mi) |
| 463 |
} |
| 464 |
return ms |
| 465 |
} |
| 466 |
return mi.MessageOf(x) |
| 467 |
} |
| 468 |
|
| 469 |
// Deprecated: Use ListSchemasRequest.ProtoReflect.Descriptor instead. |
| 470 |
func (*ListSchemasRequest) Descriptor() ([]byte, []int) { |
| 471 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{3} |
| 472 |
} |
| 473 |
|
| 474 |
func (x *ListSchemasRequest) GetParent() string { |
| 475 |
if x != nil { |
| 476 |
return x.Parent |
| 477 |
} |
| 478 |
return "" |
| 479 |
} |
| 480 |
|
| 481 |
func (x *ListSchemasRequest) GetView() SchemaView { |
| 482 |
if x != nil { |
| 483 |
return x.View |
| 484 |
} |
| 485 |
return SchemaView_SCHEMA_VIEW_UNSPECIFIED |
| 486 |
} |
| 487 |
|
| 488 |
func (x *ListSchemasRequest) GetPageSize() int32 { |
| 489 |
if x != nil { |
| 490 |
return x.PageSize |
| 491 |
} |
| 492 |
return 0 |
| 493 |
} |
| 494 |
|
| 495 |
func (x *ListSchemasRequest) GetPageToken() string { |
| 496 |
if x != nil { |
| 497 |
return x.PageToken |
| 498 |
} |
| 499 |
return "" |
| 500 |
} |
| 501 |
|
| 502 |
// Response for the `ListSchemas` method. |
| 503 |
type ListSchemasResponse struct { |
| 504 |
state protoimpl.MessageState |
| 505 |
sizeCache protoimpl.SizeCache |
| 506 |
unknownFields protoimpl.UnknownFields |
| 507 |
|
| 508 |
// The resulting schemas. |
| 509 |
Schemas []*Schema `protobuf:"bytes,1,rep,name=schemas,proto3" json:"schemas,omitempty"` |
| 510 |
// If not empty, indicates that there may be more schemas that match the |
| 511 |
// request; this value should be passed in a new `ListSchemasRequest`. |
| 512 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 513 |
} |
| 514 |
|
| 515 |
func (x *ListSchemasResponse) Reset() { |
| 516 |
*x = ListSchemasResponse{} |
| 517 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[4] |
| 518 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 519 |
ms.StoreMessageInfo(mi) |
| 520 |
} |
| 521 |
|
| 522 |
func (x *ListSchemasResponse) String() string { |
| 523 |
return protoimpl.X.MessageStringOf(x) |
| 524 |
} |
| 525 |
|
| 526 |
func (*ListSchemasResponse) ProtoMessage() {} |
| 527 |
|
| 528 |
func (x *ListSchemasResponse) ProtoReflect() protoreflect.Message { |
| 529 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[4] |
| 530 |
if x != nil { |
| 531 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 532 |
if ms.LoadMessageInfo() == nil { |
| 533 |
ms.StoreMessageInfo(mi) |
| 534 |
} |
| 535 |
return ms |
| 536 |
} |
| 537 |
return mi.MessageOf(x) |
| 538 |
} |
| 539 |
|
| 540 |
// Deprecated: Use ListSchemasResponse.ProtoReflect.Descriptor instead. |
| 541 |
func (*ListSchemasResponse) Descriptor() ([]byte, []int) { |
| 542 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{4} |
| 543 |
} |
| 544 |
|
| 545 |
func (x *ListSchemasResponse) GetSchemas() []*Schema { |
| 546 |
if x != nil { |
| 547 |
return x.Schemas |
| 548 |
} |
| 549 |
return nil |
| 550 |
} |
| 551 |
|
| 552 |
func (x *ListSchemasResponse) GetNextPageToken() string { |
| 553 |
if x != nil { |
| 554 |
return x.NextPageToken |
| 555 |
} |
| 556 |
return "" |
| 557 |
} |
| 558 |
|
| 559 |
// Request for the `ListSchemaRevisions` method. |
| 560 |
type ListSchemaRevisionsRequest struct { |
| 561 |
state protoimpl.MessageState |
| 562 |
sizeCache protoimpl.SizeCache |
| 563 |
unknownFields protoimpl.UnknownFields |
| 564 |
|
| 565 |
// Required. The name of the schema to list revisions for. |
| 566 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 567 |
// The set of Schema fields to return in the response. If not set, returns |
| 568 |
// Schemas with `name` and `type`, but not `definition`. Set to `FULL` to |
| 569 |
// retrieve all fields. |
| 570 |
View SchemaView `protobuf:"varint,2,opt,name=view,proto3,enum=google.pubsub.v1.SchemaView" json:"view,omitempty"` |
| 571 |
// The maximum number of revisions to return per page. |
| 572 |
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 573 |
// The page token, received from a previous ListSchemaRevisions call. |
| 574 |
// Provide this to retrieve the subsequent page. |
| 575 |
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 576 |
} |
| 577 |
|
| 578 |
func (x *ListSchemaRevisionsRequest) Reset() { |
| 579 |
*x = ListSchemaRevisionsRequest{} |
| 580 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[5] |
| 581 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 582 |
ms.StoreMessageInfo(mi) |
| 583 |
} |
| 584 |
|
| 585 |
func (x *ListSchemaRevisionsRequest) String() string { |
| 586 |
return protoimpl.X.MessageStringOf(x) |
| 587 |
} |
| 588 |
|
| 589 |
func (*ListSchemaRevisionsRequest) ProtoMessage() {} |
| 590 |
|
| 591 |
func (x *ListSchemaRevisionsRequest) ProtoReflect() protoreflect.Message { |
| 592 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[5] |
| 593 |
if x != nil { |
| 594 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 595 |
if ms.LoadMessageInfo() == nil { |
| 596 |
ms.StoreMessageInfo(mi) |
| 597 |
} |
| 598 |
return ms |
| 599 |
} |
| 600 |
return mi.MessageOf(x) |
| 601 |
} |
| 602 |
|
| 603 |
// Deprecated: Use ListSchemaRevisionsRequest.ProtoReflect.Descriptor instead. |
| 604 |
func (*ListSchemaRevisionsRequest) Descriptor() ([]byte, []int) { |
| 605 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{5} |
| 606 |
} |
| 607 |
|
| 608 |
func (x *ListSchemaRevisionsRequest) GetName() string { |
| 609 |
if x != nil { |
| 610 |
return x.Name |
| 611 |
} |
| 612 |
return "" |
| 613 |
} |
| 614 |
|
| 615 |
func (x *ListSchemaRevisionsRequest) GetView() SchemaView { |
| 616 |
if x != nil { |
| 617 |
return x.View |
| 618 |
} |
| 619 |
return SchemaView_SCHEMA_VIEW_UNSPECIFIED |
| 620 |
} |
| 621 |
|
| 622 |
func (x *ListSchemaRevisionsRequest) GetPageSize() int32 { |
| 623 |
if x != nil { |
| 624 |
return x.PageSize |
| 625 |
} |
| 626 |
return 0 |
| 627 |
} |
| 628 |
|
| 629 |
func (x *ListSchemaRevisionsRequest) GetPageToken() string { |
| 630 |
if x != nil { |
| 631 |
return x.PageToken |
| 632 |
} |
| 633 |
return "" |
| 634 |
} |
| 635 |
|
| 636 |
// Response for the `ListSchemaRevisions` method. |
| 637 |
type ListSchemaRevisionsResponse struct { |
| 638 |
state protoimpl.MessageState |
| 639 |
sizeCache protoimpl.SizeCache |
| 640 |
unknownFields protoimpl.UnknownFields |
| 641 |
|
| 642 |
// The revisions of the schema. |
| 643 |
Schemas []*Schema `protobuf:"bytes,1,rep,name=schemas,proto3" json:"schemas,omitempty"` |
| 644 |
// A token that can be sent as `page_token` to retrieve the next page. |
| 645 |
// If this field is empty, there are no subsequent pages. |
| 646 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 647 |
} |
| 648 |
|
| 649 |
func (x *ListSchemaRevisionsResponse) Reset() { |
| 650 |
*x = ListSchemaRevisionsResponse{} |
| 651 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[6] |
| 652 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 653 |
ms.StoreMessageInfo(mi) |
| 654 |
} |
| 655 |
|
| 656 |
func (x *ListSchemaRevisionsResponse) String() string { |
| 657 |
return protoimpl.X.MessageStringOf(x) |
| 658 |
} |
| 659 |
|
| 660 |
func (*ListSchemaRevisionsResponse) ProtoMessage() {} |
| 661 |
|
| 662 |
func (x *ListSchemaRevisionsResponse) ProtoReflect() protoreflect.Message { |
| 663 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[6] |
| 664 |
if x != nil { |
| 665 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 666 |
if ms.LoadMessageInfo() == nil { |
| 667 |
ms.StoreMessageInfo(mi) |
| 668 |
} |
| 669 |
return ms |
| 670 |
} |
| 671 |
return mi.MessageOf(x) |
| 672 |
} |
| 673 |
|
| 674 |
// Deprecated: Use ListSchemaRevisionsResponse.ProtoReflect.Descriptor instead. |
| 675 |
func (*ListSchemaRevisionsResponse) Descriptor() ([]byte, []int) { |
| 676 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{6} |
| 677 |
} |
| 678 |
|
| 679 |
func (x *ListSchemaRevisionsResponse) GetSchemas() []*Schema { |
| 680 |
if x != nil { |
| 681 |
return x.Schemas |
| 682 |
} |
| 683 |
return nil |
| 684 |
} |
| 685 |
|
| 686 |
func (x *ListSchemaRevisionsResponse) GetNextPageToken() string { |
| 687 |
if x != nil { |
| 688 |
return x.NextPageToken |
| 689 |
} |
| 690 |
return "" |
| 691 |
} |
| 692 |
|
| 693 |
// Request for CommitSchema method. |
| 694 |
type CommitSchemaRequest struct { |
| 695 |
state protoimpl.MessageState |
| 696 |
sizeCache protoimpl.SizeCache |
| 697 |
unknownFields protoimpl.UnknownFields |
| 698 |
|
| 699 |
// Required. The name of the schema we are revising. |
| 700 |
// Format is `projects/{project}/schemas/{schema}`. |
| 701 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 702 |
// Required. The schema revision to commit. |
| 703 |
Schema *Schema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` |
| 704 |
} |
| 705 |
|
| 706 |
func (x *CommitSchemaRequest) Reset() { |
| 707 |
*x = CommitSchemaRequest{} |
| 708 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[7] |
| 709 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 710 |
ms.StoreMessageInfo(mi) |
| 711 |
} |
| 712 |
|
| 713 |
func (x *CommitSchemaRequest) String() string { |
| 714 |
return protoimpl.X.MessageStringOf(x) |
| 715 |
} |
| 716 |
|
| 717 |
func (*CommitSchemaRequest) ProtoMessage() {} |
| 718 |
|
| 719 |
func (x *CommitSchemaRequest) ProtoReflect() protoreflect.Message { |
| 720 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[7] |
| 721 |
if x != nil { |
| 722 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 723 |
if ms.LoadMessageInfo() == nil { |
| 724 |
ms.StoreMessageInfo(mi) |
| 725 |
} |
| 726 |
return ms |
| 727 |
} |
| 728 |
return mi.MessageOf(x) |
| 729 |
} |
| 730 |
|
| 731 |
// Deprecated: Use CommitSchemaRequest.ProtoReflect.Descriptor instead. |
| 732 |
func (*CommitSchemaRequest) Descriptor() ([]byte, []int) { |
| 733 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{7} |
| 734 |
} |
| 735 |
|
| 736 |
func (x *CommitSchemaRequest) GetName() string { |
| 737 |
if x != nil { |
| 738 |
return x.Name |
| 739 |
} |
| 740 |
return "" |
| 741 |
} |
| 742 |
|
| 743 |
func (x *CommitSchemaRequest) GetSchema() *Schema { |
| 744 |
if x != nil { |
| 745 |
return x.Schema |
| 746 |
} |
| 747 |
return nil |
| 748 |
} |
| 749 |
|
| 750 |
// Request for the `RollbackSchema` method. |
| 751 |
type RollbackSchemaRequest struct { |
| 752 |
state protoimpl.MessageState |
| 753 |
sizeCache protoimpl.SizeCache |
| 754 |
unknownFields protoimpl.UnknownFields |
| 755 |
|
| 756 |
// Required. The schema being rolled back with revision id. |
| 757 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 758 |
// Required. The revision ID to roll back to. |
| 759 |
// It must be a revision of the same schema. |
| 760 |
// |
| 761 |
// Example: c7cfa2a8 |
| 762 |
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` |
| 763 |
} |
| 764 |
|
| 765 |
func (x *RollbackSchemaRequest) Reset() { |
| 766 |
*x = RollbackSchemaRequest{} |
| 767 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[8] |
| 768 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 769 |
ms.StoreMessageInfo(mi) |
| 770 |
} |
| 771 |
|
| 772 |
func (x *RollbackSchemaRequest) String() string { |
| 773 |
return protoimpl.X.MessageStringOf(x) |
| 774 |
} |
| 775 |
|
| 776 |
func (*RollbackSchemaRequest) ProtoMessage() {} |
| 777 |
|
| 778 |
func (x *RollbackSchemaRequest) ProtoReflect() protoreflect.Message { |
| 779 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[8] |
| 780 |
if x != nil { |
| 781 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 782 |
if ms.LoadMessageInfo() == nil { |
| 783 |
ms.StoreMessageInfo(mi) |
| 784 |
} |
| 785 |
return ms |
| 786 |
} |
| 787 |
return mi.MessageOf(x) |
| 788 |
} |
| 789 |
|
| 790 |
// Deprecated: Use RollbackSchemaRequest.ProtoReflect.Descriptor instead. |
| 791 |
func (*RollbackSchemaRequest) Descriptor() ([]byte, []int) { |
| 792 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{8} |
| 793 |
} |
| 794 |
|
| 795 |
func (x *RollbackSchemaRequest) GetName() string { |
| 796 |
if x != nil { |
| 797 |
return x.Name |
| 798 |
} |
| 799 |
return "" |
| 800 |
} |
| 801 |
|
| 802 |
func (x *RollbackSchemaRequest) GetRevisionId() string { |
| 803 |
if x != nil { |
| 804 |
return x.RevisionId |
| 805 |
} |
| 806 |
return "" |
| 807 |
} |
| 808 |
|
| 809 |
// Request for the `DeleteSchemaRevision` method. |
| 810 |
type DeleteSchemaRevisionRequest struct { |
| 811 |
state protoimpl.MessageState |
| 812 |
sizeCache protoimpl.SizeCache |
| 813 |
unknownFields protoimpl.UnknownFields |
| 814 |
|
| 815 |
// Required. The name of the schema revision to be deleted, with a revision ID |
| 816 |
// explicitly included. |
| 817 |
// |
| 818 |
// Example: `projects/123/schemas/my-schema@c7cfa2a8` |
| 819 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 820 |
// Optional. This field is deprecated and should not be used for specifying |
| 821 |
// the revision ID. The revision ID should be specified via the `name` |
| 822 |
// parameter. |
| 823 |
// |
| 824 |
// Deprecated: Marked as deprecated in google/pubsub/v1/schema.proto. |
| 825 |
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` |
| 826 |
} |
| 827 |
|
| 828 |
func (x *DeleteSchemaRevisionRequest) Reset() { |
| 829 |
*x = DeleteSchemaRevisionRequest{} |
| 830 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[9] |
| 831 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 832 |
ms.StoreMessageInfo(mi) |
| 833 |
} |
| 834 |
|
| 835 |
func (x *DeleteSchemaRevisionRequest) String() string { |
| 836 |
return protoimpl.X.MessageStringOf(x) |
| 837 |
} |
| 838 |
|
| 839 |
func (*DeleteSchemaRevisionRequest) ProtoMessage() {} |
| 840 |
|
| 841 |
func (x *DeleteSchemaRevisionRequest) ProtoReflect() protoreflect.Message { |
| 842 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[9] |
| 843 |
if x != nil { |
| 844 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 845 |
if ms.LoadMessageInfo() == nil { |
| 846 |
ms.StoreMessageInfo(mi) |
| 847 |
} |
| 848 |
return ms |
| 849 |
} |
| 850 |
return mi.MessageOf(x) |
| 851 |
} |
| 852 |
|
| 853 |
// Deprecated: Use DeleteSchemaRevisionRequest.ProtoReflect.Descriptor instead. |
| 854 |
func (*DeleteSchemaRevisionRequest) Descriptor() ([]byte, []int) { |
| 855 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{9} |
| 856 |
} |
| 857 |
|
| 858 |
func (x *DeleteSchemaRevisionRequest) GetName() string { |
| 859 |
if x != nil { |
| 860 |
return x.Name |
| 861 |
} |
| 862 |
return "" |
| 863 |
} |
| 864 |
|
| 865 |
// Deprecated: Marked as deprecated in google/pubsub/v1/schema.proto. |
| 866 |
func (x *DeleteSchemaRevisionRequest) GetRevisionId() string { |
| 867 |
if x != nil { |
| 868 |
return x.RevisionId |
| 869 |
} |
| 870 |
return "" |
| 871 |
} |
| 872 |
|
| 873 |
// Request for the `DeleteSchema` method. |
| 874 |
type DeleteSchemaRequest struct { |
| 875 |
state protoimpl.MessageState |
| 876 |
sizeCache protoimpl.SizeCache |
| 877 |
unknownFields protoimpl.UnknownFields |
| 878 |
|
| 879 |
// Required. Name of the schema to delete. |
| 880 |
// Format is `projects/{project}/schemas/{schema}`. |
| 881 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 882 |
} |
| 883 |
|
| 884 |
func (x *DeleteSchemaRequest) Reset() { |
| 885 |
*x = DeleteSchemaRequest{} |
| 886 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[10] |
| 887 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 888 |
ms.StoreMessageInfo(mi) |
| 889 |
} |
| 890 |
|
| 891 |
func (x *DeleteSchemaRequest) String() string { |
| 892 |
return protoimpl.X.MessageStringOf(x) |
| 893 |
} |
| 894 |
|
| 895 |
func (*DeleteSchemaRequest) ProtoMessage() {} |
| 896 |
|
| 897 |
func (x *DeleteSchemaRequest) ProtoReflect() protoreflect.Message { |
| 898 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[10] |
| 899 |
if x != nil { |
| 900 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 901 |
if ms.LoadMessageInfo() == nil { |
| 902 |
ms.StoreMessageInfo(mi) |
| 903 |
} |
| 904 |
return ms |
| 905 |
} |
| 906 |
return mi.MessageOf(x) |
| 907 |
} |
| 908 |
|
| 909 |
// Deprecated: Use DeleteSchemaRequest.ProtoReflect.Descriptor instead. |
| 910 |
func (*DeleteSchemaRequest) Descriptor() ([]byte, []int) { |
| 911 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{10} |
| 912 |
} |
| 913 |
|
| 914 |
func (x *DeleteSchemaRequest) GetName() string { |
| 915 |
if x != nil { |
| 916 |
return x.Name |
| 917 |
} |
| 918 |
return "" |
| 919 |
} |
| 920 |
|
| 921 |
// Request for the `ValidateSchema` method. |
| 922 |
type ValidateSchemaRequest struct { |
| 923 |
state protoimpl.MessageState |
| 924 |
sizeCache protoimpl.SizeCache |
| 925 |
unknownFields protoimpl.UnknownFields |
| 926 |
|
| 927 |
// Required. The name of the project in which to validate schemas. |
| 928 |
// Format is `projects/{project-id}`. |
| 929 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 930 |
// Required. The schema object to validate. |
| 931 |
Schema *Schema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` |
| 932 |
} |
| 933 |
|
| 934 |
func (x *ValidateSchemaRequest) Reset() { |
| 935 |
*x = ValidateSchemaRequest{} |
| 936 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[11] |
| 937 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 938 |
ms.StoreMessageInfo(mi) |
| 939 |
} |
| 940 |
|
| 941 |
func (x *ValidateSchemaRequest) String() string { |
| 942 |
return protoimpl.X.MessageStringOf(x) |
| 943 |
} |
| 944 |
|
| 945 |
func (*ValidateSchemaRequest) ProtoMessage() {} |
| 946 |
|
| 947 |
func (x *ValidateSchemaRequest) ProtoReflect() protoreflect.Message { |
| 948 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[11] |
| 949 |
if x != nil { |
| 950 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 951 |
if ms.LoadMessageInfo() == nil { |
| 952 |
ms.StoreMessageInfo(mi) |
| 953 |
} |
| 954 |
return ms |
| 955 |
} |
| 956 |
return mi.MessageOf(x) |
| 957 |
} |
| 958 |
|
| 959 |
// Deprecated: Use ValidateSchemaRequest.ProtoReflect.Descriptor instead. |
| 960 |
func (*ValidateSchemaRequest) Descriptor() ([]byte, []int) { |
| 961 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{11} |
| 962 |
} |
| 963 |
|
| 964 |
func (x *ValidateSchemaRequest) GetParent() string { |
| 965 |
if x != nil { |
| 966 |
return x.Parent |
| 967 |
} |
| 968 |
return "" |
| 969 |
} |
| 970 |
|
| 971 |
func (x *ValidateSchemaRequest) GetSchema() *Schema { |
| 972 |
if x != nil { |
| 973 |
return x.Schema |
| 974 |
} |
| 975 |
return nil |
| 976 |
} |
| 977 |
|
| 978 |
// Response for the `ValidateSchema` method. |
| 979 |
// Empty for now. |
| 980 |
type ValidateSchemaResponse struct { |
| 981 |
state protoimpl.MessageState |
| 982 |
sizeCache protoimpl.SizeCache |
| 983 |
unknownFields protoimpl.UnknownFields |
| 984 |
} |
| 985 |
|
| 986 |
func (x *ValidateSchemaResponse) Reset() { |
| 987 |
*x = ValidateSchemaResponse{} |
| 988 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[12] |
| 989 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 990 |
ms.StoreMessageInfo(mi) |
| 991 |
} |
| 992 |
|
| 993 |
func (x *ValidateSchemaResponse) String() string { |
| 994 |
return protoimpl.X.MessageStringOf(x) |
| 995 |
} |
| 996 |
|
| 997 |
func (*ValidateSchemaResponse) ProtoMessage() {} |
| 998 |
|
| 999 |
func (x *ValidateSchemaResponse) ProtoReflect() protoreflect.Message { |
| 1000 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[12] |
| 1001 |
if x != nil { |
| 1002 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1003 |
if ms.LoadMessageInfo() == nil { |
| 1004 |
ms.StoreMessageInfo(mi) |
| 1005 |
} |
| 1006 |
return ms |
| 1007 |
} |
| 1008 |
return mi.MessageOf(x) |
| 1009 |
} |
| 1010 |
|
| 1011 |
// Deprecated: Use ValidateSchemaResponse.ProtoReflect.Descriptor instead. |
| 1012 |
func (*ValidateSchemaResponse) Descriptor() ([]byte, []int) { |
| 1013 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{12} |
| 1014 |
} |
| 1015 |
|
| 1016 |
// Request for the `ValidateMessage` method. |
| 1017 |
type ValidateMessageRequest struct { |
| 1018 |
state protoimpl.MessageState |
| 1019 |
sizeCache protoimpl.SizeCache |
| 1020 |
unknownFields protoimpl.UnknownFields |
| 1021 |
|
| 1022 |
// Required. The name of the project in which to validate schemas. |
| 1023 |
// Format is `projects/{project-id}`. |
| 1024 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 1025 |
// Types that are assignable to SchemaSpec: |
| 1026 |
// |
| 1027 |
// *ValidateMessageRequest_Name |
| 1028 |
// *ValidateMessageRequest_Schema |
| 1029 |
SchemaSpec isValidateMessageRequest_SchemaSpec `protobuf_oneof:"schema_spec"` |
| 1030 |
// Message to validate against the provided `schema_spec`. |
| 1031 |
Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` |
| 1032 |
// The encoding expected for messages |
| 1033 |
Encoding Encoding `protobuf:"varint,5,opt,name=encoding,proto3,enum=google.pubsub.v1.Encoding" json:"encoding,omitempty"` |
| 1034 |
} |
| 1035 |
|
| 1036 |
func (x *ValidateMessageRequest) Reset() { |
| 1037 |
*x = ValidateMessageRequest{} |
| 1038 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[13] |
| 1039 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1040 |
ms.StoreMessageInfo(mi) |
| 1041 |
} |
| 1042 |
|
| 1043 |
func (x *ValidateMessageRequest) String() string { |
| 1044 |
return protoimpl.X.MessageStringOf(x) |
| 1045 |
} |
| 1046 |
|
| 1047 |
func (*ValidateMessageRequest) ProtoMessage() {} |
| 1048 |
|
| 1049 |
func (x *ValidateMessageRequest) ProtoReflect() protoreflect.Message { |
| 1050 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[13] |
| 1051 |
if x != nil { |
| 1052 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1053 |
if ms.LoadMessageInfo() == nil { |
| 1054 |
ms.StoreMessageInfo(mi) |
| 1055 |
} |
| 1056 |
return ms |
| 1057 |
} |
| 1058 |
return mi.MessageOf(x) |
| 1059 |
} |
| 1060 |
|
| 1061 |
// Deprecated: Use ValidateMessageRequest.ProtoReflect.Descriptor instead. |
| 1062 |
func (*ValidateMessageRequest) Descriptor() ([]byte, []int) { |
| 1063 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{13} |
| 1064 |
} |
| 1065 |
|
| 1066 |
func (x *ValidateMessageRequest) GetParent() string { |
| 1067 |
if x != nil { |
| 1068 |
return x.Parent |
| 1069 |
} |
| 1070 |
return "" |
| 1071 |
} |
| 1072 |
|
| 1073 |
func (m *ValidateMessageRequest) GetSchemaSpec() isValidateMessageRequest_SchemaSpec { |
| 1074 |
if m != nil { |
| 1075 |
return m.SchemaSpec |
| 1076 |
} |
| 1077 |
return nil |
| 1078 |
} |
| 1079 |
|
| 1080 |
func (x *ValidateMessageRequest) GetName() string { |
| 1081 |
if x, ok := x.GetSchemaSpec().(*ValidateMessageRequest_Name); ok { |
| 1082 |
return x.Name |
| 1083 |
} |
| 1084 |
return "" |
| 1085 |
} |
| 1086 |
|
| 1087 |
func (x *ValidateMessageRequest) GetSchema() *Schema { |
| 1088 |
if x, ok := x.GetSchemaSpec().(*ValidateMessageRequest_Schema); ok { |
| 1089 |
return x.Schema |
| 1090 |
} |
| 1091 |
return nil |
| 1092 |
} |
| 1093 |
|
| 1094 |
func (x *ValidateMessageRequest) GetMessage() []byte { |
| 1095 |
if x != nil { |
| 1096 |
return x.Message |
| 1097 |
} |
| 1098 |
return nil |
| 1099 |
} |
| 1100 |
|
| 1101 |
func (x *ValidateMessageRequest) GetEncoding() Encoding { |
| 1102 |
if x != nil { |
| 1103 |
return x.Encoding |
| 1104 |
} |
| 1105 |
return Encoding_ENCODING_UNSPECIFIED |
| 1106 |
} |
| 1107 |
|
| 1108 |
type isValidateMessageRequest_SchemaSpec interface { |
| 1109 |
isValidateMessageRequest_SchemaSpec() |
| 1110 |
} |
| 1111 |
|
| 1112 |
type ValidateMessageRequest_Name struct { |
| 1113 |
// Name of the schema against which to validate. |
| 1114 |
// |
| 1115 |
// Format is `projects/{project}/schemas/{schema}`. |
| 1116 |
Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"` |
| 1117 |
} |
| 1118 |
|
| 1119 |
type ValidateMessageRequest_Schema struct { |
| 1120 |
// Ad-hoc schema against which to validate |
| 1121 |
Schema *Schema `protobuf:"bytes,3,opt,name=schema,proto3,oneof"` |
| 1122 |
} |
| 1123 |
|
| 1124 |
func (*ValidateMessageRequest_Name) isValidateMessageRequest_SchemaSpec() {} |
| 1125 |
|
| 1126 |
func (*ValidateMessageRequest_Schema) isValidateMessageRequest_SchemaSpec() {} |
| 1127 |
|
| 1128 |
// Response for the `ValidateMessage` method. |
| 1129 |
// Empty for now. |
| 1130 |
type ValidateMessageResponse struct { |
| 1131 |
state protoimpl.MessageState |
| 1132 |
sizeCache protoimpl.SizeCache |
| 1133 |
unknownFields protoimpl.UnknownFields |
| 1134 |
} |
| 1135 |
|
| 1136 |
func (x *ValidateMessageResponse) Reset() { |
| 1137 |
*x = ValidateMessageResponse{} |
| 1138 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[14] |
| 1139 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1140 |
ms.StoreMessageInfo(mi) |
| 1141 |
} |
| 1142 |
|
| 1143 |
func (x *ValidateMessageResponse) String() string { |
| 1144 |
return protoimpl.X.MessageStringOf(x) |
| 1145 |
} |
| 1146 |
|
| 1147 |
func (*ValidateMessageResponse) ProtoMessage() {} |
| 1148 |
|
| 1149 |
func (x *ValidateMessageResponse) ProtoReflect() protoreflect.Message { |
| 1150 |
mi := &file_google_pubsub_v1_schema_proto_msgTypes[14] |
| 1151 |
if x != nil { |
| 1152 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1153 |
if ms.LoadMessageInfo() == nil { |
| 1154 |
ms.StoreMessageInfo(mi) |
| 1155 |
} |
| 1156 |
return ms |
| 1157 |
} |
| 1158 |
return mi.MessageOf(x) |
| 1159 |
} |
| 1160 |
|
| 1161 |
// Deprecated: Use ValidateMessageResponse.ProtoReflect.Descriptor instead. |
| 1162 |
func (*ValidateMessageResponse) Descriptor() ([]byte, []int) { |
| 1163 |
return file_google_pubsub_v1_schema_proto_rawDescGZIP(), []int{14} |
| 1164 |
} |
| 1165 |
|
| 1166 |
var File_google_pubsub_v1_schema_proto protoreflect.FileDescriptor |
| 1167 |
|
| 1168 |
var file_google_pubsub_v1_schema_proto_rawDesc = []byte{ |
| 1169 |
0x0a, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2f, |
| 1170 |
0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 1171 |
0x10, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, |
| 1172 |
0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, |
| 1173 |
0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 1174 |
0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, |
| 1175 |
0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1176 |
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, |
| 1177 |
0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1178 |
0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, |
| 1179 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, |
| 1180 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 1181 |
0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 1182 |
0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, |
| 1183 |
0x74, 0x6f, 0x22, 0xf5, 0x02, 0x0a, 0x06, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x17, 0x0a, |
| 1184 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, |
| 1185 |
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, |
| 1186 |
0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, |
| 1187 |
0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, |
| 1188 |
0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, |
| 1189 |
0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, |
| 1190 |
0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0b, 0x72, 0x65, 0x76, |
| 1191 |
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, |
| 1192 |
0xe0, 0x41, 0x05, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, |
| 1193 |
0x49, 0x64, 0x12, 0x51, 0x0a, 0x14, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, |
| 1194 |
0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, |
| 1195 |
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 1196 |
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, |
| 1197 |
0x03, 0x52, 0x12, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, |
| 1198 |
0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x3b, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, |
| 1199 |
0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, |
| 1200 |
0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x5f, |
| 1201 |
0x42, 0x55, 0x46, 0x46, 0x45, 0x52, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x56, 0x52, 0x4f, |
| 1202 |
0x10, 0x02, 0x3a, 0x46, 0xea, 0x41, 0x43, 0x0a, 0x1c, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, |
| 1203 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, |
| 1204 |
0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x23, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, |
| 1205 |
0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, |
| 1206 |
0x73, 0x2f, 0x7b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x7d, 0x22, 0xa7, 0x01, 0x0a, 0x13, 0x43, |
| 1207 |
0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 1208 |
0x73, 0x74, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, |
| 1209 |
0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x12, 0x1c, 0x70, 0x75, 0x62, 0x73, |
| 1210 |
0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, |
| 1211 |
0x6d, 0x2f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, |
| 1212 |
0x12, 0x35, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 1213 |
0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, |
| 1214 |
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, |
| 1215 |
0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x63, 0x68, 0x65, 0x6d, |
| 1216 |
0x61, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, |
| 1217 |
0x6d, 0x61, 0x49, 0x64, 0x22, 0x7e, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, |
| 1218 |
0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 1219 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, |
| 1220 |
0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, |
| 1221 |
0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x04, 0x6e, 0x61, |
| 1222 |
0x6d, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, |
| 1223 |
0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, |
| 1224 |
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, |
| 1225 |
0x76, 0x69, 0x65, 0x77, 0x22, 0xcf, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, |
| 1226 |
0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x06, 0x70, |
| 1227 |
0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, |
| 1228 |
0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, |
| 1229 |
0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1230 |
0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, |
| 1231 |
0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, |
| 1232 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1233 |
0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, |
| 1234 |
0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, |
| 1235 |
0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, |
| 1236 |
0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, |
| 1237 |
0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, |
| 1238 |
0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x71, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, |
| 1239 |
0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, |
| 1240 |
0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, |
| 1241 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, |
| 1242 |
0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, |
| 1243 |
0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, |
| 1244 |
0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, |
| 1245 |
0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xc4, 0x01, 0x0a, 0x1a, 0x4c, 0x69, |
| 1246 |
0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, |
| 1247 |
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 1248 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, |
| 1249 |
0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, |
| 1250 |
0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x04, 0x6e, 0x61, |
| 1251 |
0x6d, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, |
| 1252 |
0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, |
| 1253 |
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, |
| 1254 |
0x76, 0x69, 0x65, 0x77, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, |
| 1255 |
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, |
| 1256 |
0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, |
| 1257 |
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, |
| 1258 |
0x22, 0x79, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, |
| 1259 |
0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, |
| 1260 |
0x32, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, |
| 1261 |
0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, |
| 1262 |
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, |
| 1263 |
0x6d, 0x61, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, |
| 1264 |
0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, |
| 1265 |
0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x86, 0x01, 0x0a, 0x13, |
| 1266 |
0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, |
| 1267 |
0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1268 |
0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x70, 0x75, 0x62, 0x73, 0x75, |
| 1269 |
0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, |
| 1270 |
0x2f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, |
| 1271 |
0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, |
| 1272 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, |
| 1273 |
0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x73, 0x63, |
| 1274 |
0x68, 0x65, 0x6d, 0x61, 0x22, 0x77, 0x0a, 0x15, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, |
| 1275 |
0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, |
| 1276 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, |
| 1277 |
0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1278 |
0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x63, 0x68, 0x65, 0x6d, |
| 1279 |
0x61, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x72, 0x65, 0x76, 0x69, 0x73, |
| 1280 |
0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, |
| 1281 |
0x02, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7f, 0x0a, |
| 1282 |
0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x76, |
| 1283 |
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, |
| 1284 |
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, |
| 1285 |
0x41, 0x1e, 0x0a, 0x1c, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1286 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, |
| 1287 |
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0b, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, |
| 1288 |
0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0xe0, 0x41, 0x01, |
| 1289 |
0x18, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x4f, |
| 1290 |
0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, |
| 1291 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, |
| 1292 |
0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x70, 0x75, 0x62, |
| 1293 |
0x73, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, |
| 1294 |
0x6f, 0x6d, 0x2f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, |
| 1295 |
0x9b, 0x01, 0x0a, 0x15, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, |
| 1296 |
0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x06, 0x70, 0x61, 0x72, |
| 1297 |
0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, |
| 1298 |
0x2d, 0x0a, 0x2b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 1299 |
0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 1300 |
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, |
| 1301 |
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, |
| 1302 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1303 |
0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, |
| 1304 |
0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x18, 0x0a, |
| 1305 |
0x16, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, |
| 1306 |
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb3, 0x02, 0x0a, 0x16, 0x56, 0x61, 0x6c, 0x69, |
| 1307 |
0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 1308 |
0x73, 0x74, 0x12, 0x4b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, |
| 1309 |
0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63, 0x6c, 0x6f, 0x75, |
| 1310 |
0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, |
| 1311 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, |
| 1312 |
0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, |
| 1313 |
0x37, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x21, 0xfa, |
| 1314 |
0x41, 0x1e, 0x0a, 0x1c, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1315 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, |
| 1316 |
0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, |
| 1317 |
0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1318 |
0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, |
| 1319 |
0x6d, 0x61, 0x48, 0x00, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x18, 0x0a, 0x07, |
| 1320 |
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, |
| 1321 |
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, |
| 1322 |
0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1323 |
0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x6f, |
| 1324 |
0x64, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x0d, |
| 1325 |
0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x22, 0x19, 0x0a, |
| 1326 |
0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, |
| 1327 |
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x3e, 0x0a, 0x0a, 0x53, 0x63, 0x68, 0x65, |
| 1328 |
0x6d, 0x61, 0x56, 0x69, 0x65, 0x77, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, |
| 1329 |
0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, |
| 1330 |
0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x08, |
| 1331 |
0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x2a, 0x3a, 0x0a, 0x08, 0x45, 0x6e, 0x63, 0x6f, |
| 1332 |
0x64, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, |
| 1333 |
0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, |
| 1334 |
0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, |
| 1335 |
0x52, 0x59, 0x10, 0x02, 0x32, 0x88, 0x0d, 0x0a, 0x0d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, |
| 1336 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9a, 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, |
| 1337 |
0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1338 |
0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, |
| 1339 |
0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, |
| 1340 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, |
| 1341 |
0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x49, 0xda, 0x41, 0x17, 0x70, 0x61, 0x72, |
| 1342 |
0x65, 0x6e, 0x74, 0x2c, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2c, 0x73, 0x63, 0x68, 0x65, 0x6d, |
| 1343 |
0x61, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x06, 0x73, 0x63, 0x68, 0x65, |
| 1344 |
0x6d, 0x61, 0x22, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, |
| 1345 |
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x63, 0x68, 0x65, |
| 1346 |
0x6d, 0x61, 0x73, 0x12, 0x79, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, |
| 1347 |
0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, |
| 1348 |
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, |
| 1349 |
0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, |
| 1350 |
0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x2e, |
| 1351 |
0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, |
| 1352 |
0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, |
| 1353 |
0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8c, |
| 1354 |
0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x24, |
| 1355 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, |
| 1356 |
0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, |
| 1357 |
0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, |
| 1358 |
0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, |
| 1359 |
0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0xda, 0x41, 0x06, |
| 1360 |
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x76, |
| 1361 |
0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| 1362 |
0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0xb0, 0x01, |
| 1363 |
0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x76, 0x69, |
| 1364 |
0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 1365 |
0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, |
| 1366 |
0x65, 0x6d, 0x61, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, |
| 1367 |
0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, |
| 1368 |
0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, |
| 1369 |
0x61, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 1370 |
0x73, 0x65, 0x22, 0x3c, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, |
| 1371 |
0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, |
| 1372 |
0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x2f, |
| 1373 |
0x2a, 0x7d, 0x3a, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, |
| 1374 |
0x12, 0x90, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, |
| 1375 |
0x61, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, |
| 1376 |
0x62, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, |
| 1377 |
0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1378 |
0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, |
| 1379 |
0x6d, 0x61, 0x22, 0x3f, 0xda, 0x41, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x73, 0x63, 0x68, 0x65, |
| 1380 |
0x6d, 0x61, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x76, 0x31, |
| 1381 |
0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, |
| 1382 |
0x2a, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63, 0x6f, 0x6d, |
| 1383 |
0x6d, 0x69, 0x74, 0x12, 0x9b, 0x01, 0x0a, 0x0e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, |
| 1384 |
0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1385 |
0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, |
| 1386 |
0x63, 0x6b, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, |
| 1387 |
0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, |
| 1388 |
0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x46, 0xda, 0x41, 0x10, 0x6e, 0x61, |
| 1389 |
0x6d, 0x65, 0x2c, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x82, 0xd3, |
| 1390 |
0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x01, 0x2a, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, |
| 1391 |
0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x63, |
| 1392 |
0x68, 0x65, 0x6d, 0x61, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, |
| 1393 |
0x6b, 0x12, 0xaa, 0x01, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, |
| 1394 |
0x6d, 0x61, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, |
| 1395 |
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, |
| 1396 |
0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, |
| 1397 |
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1398 |
0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, |
| 1399 |
0x65, 0x6d, 0x61, 0x22, 0x49, 0xda, 0x41, 0x10, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x72, 0x65, 0x76, |
| 1400 |
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x2a, 0x2e, |
| 1401 |
0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| 1402 |
0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, |
| 1403 |
0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x7d, |
| 1404 |
0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x25, |
| 1405 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, |
| 1406 |
0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, |
| 1407 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 1408 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2e, 0xda, |
| 1409 |
0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x2a, 0x1f, 0x2f, 0x76, |
| 1410 |
0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, |
| 1411 |
0x2f, 0x2a, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa8, 0x01, |
| 1412 |
0x0a, 0x0e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, |
| 1413 |
0x12, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, |
| 1414 |
0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, |
| 1415 |
0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1416 |
0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, |
| 1417 |
0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 1418 |
0x6e, 0x73, 0x65, 0x22, 0x43, 0xda, 0x41, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x73, |
| 1419 |
0x63, 0x68, 0x65, 0x6d, 0x61, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x01, 0x2a, 0x22, 0x28, |
| 1420 |
0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, |
| 1421 |
0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x3a, |
| 1422 |
0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x12, 0xa2, 0x01, 0x0a, 0x0f, 0x56, 0x61, 0x6c, |
| 1423 |
0x69, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x28, 0x2e, 0x67, |
| 1424 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, |
| 1425 |
0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, |
| 1426 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1427 |
0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, |
| 1428 |
0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 1429 |
0x65, 0x22, 0x3a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x3a, 0x01, 0x2a, 0x22, 0x2f, 0x2f, 0x76, |
| 1430 |
0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| 1431 |
0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x3a, 0x76, 0x61, |
| 1432 |
0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x70, 0xca, |
| 1433 |
0x41, 0x15, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, |
| 1434 |
0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x55, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, |
| 1435 |
0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 1436 |
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, |
| 1437 |
0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, |
| 1438 |
0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, |
| 1439 |
0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x42, |
| 1440 |
0xaa, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 1441 |
0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, |
| 1442 |
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, |
| 1443 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x75, 0x62, |
| 1444 |
0x73, 0x75, 0x62, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x70, 0x75, 0x62, |
| 1445 |
0x73, 0x75, 0x62, 0x70, 0x62, 0x3b, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x70, 0x62, 0xaa, 0x02, |
| 1446 |
0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x50, 0x75, |
| 1447 |
0x62, 0x53, 0x75, 0x62, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1448 |
0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x50, 0x75, 0x62, 0x53, 0x75, 0x62, 0x5c, 0x56, 0x31, |
| 1449 |
0xea, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 1450 |
0x3a, 0x3a, 0x50, 0x75, 0x62, 0x53, 0x75, 0x62, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, |
| 1451 |
0x6f, 0x74, 0x6f, 0x33, |
| 1452 |
} |
| 1453 |
|
| 1454 |
var ( |
| 1455 |
file_google_pubsub_v1_schema_proto_rawDescOnce sync.Once |
| 1456 |
file_google_pubsub_v1_schema_proto_rawDescData = file_google_pubsub_v1_schema_proto_rawDesc |
| 1457 |
) |
| 1458 |
|
| 1459 |
func file_google_pubsub_v1_schema_proto_rawDescGZIP() []byte { |
| 1460 |
file_google_pubsub_v1_schema_proto_rawDescOnce.Do(func() { |
| 1461 |
file_google_pubsub_v1_schema_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_pubsub_v1_schema_proto_rawDescData) |
| 1462 |
}) |
| 1463 |
return file_google_pubsub_v1_schema_proto_rawDescData |
| 1464 |
} |
| 1465 |
|
| 1466 |
var file_google_pubsub_v1_schema_proto_enumTypes = make([]protoimpl.EnumInfo, 3) |
| 1467 |
var file_google_pubsub_v1_schema_proto_msgTypes = make([]protoimpl.MessageInfo, 15) |
| 1468 |
var file_google_pubsub_v1_schema_proto_goTypes = []any{ |
| 1469 |
(SchemaView)(0), // 0: google.pubsub.v1.SchemaView |
| 1470 |
(Encoding)(0), // 1: google.pubsub.v1.Encoding |
| 1471 |
(Schema_Type)(0), // 2: google.pubsub.v1.Schema.Type |
| 1472 |
(*Schema)(nil), // 3: google.pubsub.v1.Schema |
| 1473 |
(*CreateSchemaRequest)(nil), // 4: google.pubsub.v1.CreateSchemaRequest |
| 1474 |
(*GetSchemaRequest)(nil), // 5: google.pubsub.v1.GetSchemaRequest |
| 1475 |
(*ListSchemasRequest)(nil), // 6: google.pubsub.v1.ListSchemasRequest |
| 1476 |
(*ListSchemasResponse)(nil), // 7: google.pubsub.v1.ListSchemasResponse |
| 1477 |
(*ListSchemaRevisionsRequest)(nil), // 8: google.pubsub.v1.ListSchemaRevisionsRequest |
| 1478 |
(*ListSchemaRevisionsResponse)(nil), // 9: google.pubsub.v1.ListSchemaRevisionsResponse |
| 1479 |
(*CommitSchemaRequest)(nil), // 10: google.pubsub.v1.CommitSchemaRequest |
| 1480 |
(*RollbackSchemaRequest)(nil), // 11: google.pubsub.v1.RollbackSchemaRequest |
| 1481 |
(*DeleteSchemaRevisionRequest)(nil), // 12: google.pubsub.v1.DeleteSchemaRevisionRequest |
| 1482 |
(*DeleteSchemaRequest)(nil), // 13: google.pubsub.v1.DeleteSchemaRequest |
| 1483 |
(*ValidateSchemaRequest)(nil), // 14: google.pubsub.v1.ValidateSchemaRequest |
| 1484 |
(*ValidateSchemaResponse)(nil), // 15: google.pubsub.v1.ValidateSchemaResponse |
| 1485 |
(*ValidateMessageRequest)(nil), // 16: google.pubsub.v1.ValidateMessageRequest |
| 1486 |
(*ValidateMessageResponse)(nil), // 17: google.pubsub.v1.ValidateMessageResponse |
| 1487 |
(*timestamppb.Timestamp)(nil), // 18: google.protobuf.Timestamp |
| 1488 |
(*emptypb.Empty)(nil), // 19: google.protobuf.Empty |
| 1489 |
} |
| 1490 |
var file_google_pubsub_v1_schema_proto_depIdxs = []int32{ |
| 1491 |
2, // 0: google.pubsub.v1.Schema.type:type_name -> google.pubsub.v1.Schema.Type |
| 1492 |
18, // 1: google.pubsub.v1.Schema.revision_create_time:type_name -> google.protobuf.Timestamp |
| 1493 |
3, // 2: google.pubsub.v1.CreateSchemaRequest.schema:type_name -> google.pubsub.v1.Schema |
| 1494 |
0, // 3: google.pubsub.v1.GetSchemaRequest.view:type_name -> google.pubsub.v1.SchemaView |
| 1495 |
0, // 4: google.pubsub.v1.ListSchemasRequest.view:type_name -> google.pubsub.v1.SchemaView |
| 1496 |
3, // 5: google.pubsub.v1.ListSchemasResponse.schemas:type_name -> google.pubsub.v1.Schema |
| 1497 |
0, // 6: google.pubsub.v1.ListSchemaRevisionsRequest.view:type_name -> google.pubsub.v1.SchemaView |
| 1498 |
3, // 7: google.pubsub.v1.ListSchemaRevisionsResponse.schemas:type_name -> google.pubsub.v1.Schema |
| 1499 |
3, // 8: google.pubsub.v1.CommitSchemaRequest.schema:type_name -> google.pubsub.v1.Schema |
| 1500 |
3, // 9: google.pubsub.v1.ValidateSchemaRequest.schema:type_name -> google.pubsub.v1.Schema |
| 1501 |
3, // 10: google.pubsub.v1.ValidateMessageRequest.schema:type_name -> google.pubsub.v1.Schema |
| 1502 |
1, // 11: google.pubsub.v1.ValidateMessageRequest.encoding:type_name -> google.pubsub.v1.Encoding |
| 1503 |
4, // 12: google.pubsub.v1.SchemaService.CreateSchema:input_type -> google.pubsub.v1.CreateSchemaRequest |
| 1504 |
5, // 13: google.pubsub.v1.SchemaService.GetSchema:input_type -> google.pubsub.v1.GetSchemaRequest |
| 1505 |
6, // 14: google.pubsub.v1.SchemaService.ListSchemas:input_type -> google.pubsub.v1.ListSchemasRequest |
| 1506 |
8, // 15: google.pubsub.v1.SchemaService.ListSchemaRevisions:input_type -> google.pubsub.v1.ListSchemaRevisionsRequest |
| 1507 |
10, // 16: google.pubsub.v1.SchemaService.CommitSchema:input_type -> google.pubsub.v1.CommitSchemaRequest |
| 1508 |
11, // 17: google.pubsub.v1.SchemaService.RollbackSchema:input_type -> google.pubsub.v1.RollbackSchemaRequest |
| 1509 |
12, // 18: google.pubsub.v1.SchemaService.DeleteSchemaRevision:input_type -> google.pubsub.v1.DeleteSchemaRevisionRequest |
| 1510 |
13, // 19: google.pubsub.v1.SchemaService.DeleteSchema:input_type -> google.pubsub.v1.DeleteSchemaRequest |
| 1511 |
14, // 20: google.pubsub.v1.SchemaService.ValidateSchema:input_type -> google.pubsub.v1.ValidateSchemaRequest |
| 1512 |
16, // 21: google.pubsub.v1.SchemaService.ValidateMessage:input_type -> google.pubsub.v1.ValidateMessageRequest |
| 1513 |
3, // 22: google.pubsub.v1.SchemaService.CreateSchema:output_type -> google.pubsub.v1.Schema |
| 1514 |
3, // 23: google.pubsub.v1.SchemaService.GetSchema:output_type -> google.pubsub.v1.Schema |
| 1515 |
7, // 24: google.pubsub.v1.SchemaService.ListSchemas:output_type -> google.pubsub.v1.ListSchemasResponse |
| 1516 |
9, // 25: google.pubsub.v1.SchemaService.ListSchemaRevisions:output_type -> google.pubsub.v1.ListSchemaRevisionsResponse |
| 1517 |
3, // 26: google.pubsub.v1.SchemaService.CommitSchema:output_type -> google.pubsub.v1.Schema |
| 1518 |
3, // 27: google.pubsub.v1.SchemaService.RollbackSchema:output_type -> google.pubsub.v1.Schema |
| 1519 |
3, // 28: google.pubsub.v1.SchemaService.DeleteSchemaRevision:output_type -> google.pubsub.v1.Schema |
| 1520 |
19, // 29: google.pubsub.v1.SchemaService.DeleteSchema:output_type -> google.protobuf.Empty |
| 1521 |
15, // 30: google.pubsub.v1.SchemaService.ValidateSchema:output_type -> google.pubsub.v1.ValidateSchemaResponse |
| 1522 |
17, // 31: google.pubsub.v1.SchemaService.ValidateMessage:output_type -> google.pubsub.v1.ValidateMessageResponse |
| 1523 |
22, // [22:32] is the sub-list for method output_type |
| 1524 |
12, // [12:22] is the sub-list for method input_type |
| 1525 |
12, // [12:12] is the sub-list for extension type_name |
| 1526 |
12, // [12:12] is the sub-list for extension extendee |
| 1527 |
0, // [0:12] is the sub-list for field type_name |
| 1528 |
} |
| 1529 |
|
| 1530 |
func init() { file_google_pubsub_v1_schema_proto_init() } |
| 1531 |
func file_google_pubsub_v1_schema_proto_init() { |
| 1532 |
if File_google_pubsub_v1_schema_proto != nil { |
| 1533 |
return |
| 1534 |
} |
| 1535 |
file_google_pubsub_v1_schema_proto_msgTypes[13].OneofWrappers = []any{ |
| 1536 |
(*ValidateMessageRequest_Name)(nil), |
| 1537 |
(*ValidateMessageRequest_Schema)(nil), |
| 1538 |
} |
| 1539 |
type x struct{} |
| 1540 |
out := protoimpl.TypeBuilder{ |
| 1541 |
File: protoimpl.DescBuilder{ |
| 1542 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1543 |
RawDescriptor: file_google_pubsub_v1_schema_proto_rawDesc, |
| 1544 |
NumEnums: 3, |
| 1545 |
NumMessages: 15, |
| 1546 |
NumExtensions: 0, |
| 1547 |
NumServices: 1, |
| 1548 |
}, |
| 1549 |
GoTypes: file_google_pubsub_v1_schema_proto_goTypes, |
| 1550 |
DependencyIndexes: file_google_pubsub_v1_schema_proto_depIdxs, |
| 1551 |
EnumInfos: file_google_pubsub_v1_schema_proto_enumTypes, |
| 1552 |
MessageInfos: file_google_pubsub_v1_schema_proto_msgTypes, |
| 1553 |
}.Build() |
| 1554 |
File_google_pubsub_v1_schema_proto = out.File |
| 1555 |
file_google_pubsub_v1_schema_proto_rawDesc = nil |
| 1556 |
file_google_pubsub_v1_schema_proto_goTypes = nil |
| 1557 |
file_google_pubsub_v1_schema_proto_depIdxs = nil |
| 1558 |
} |
| 1559 |
|
| 1560 |
// Reference imports to suppress errors if they are not otherwise used. |
| 1561 |
var _ context.Context |
| 1562 |
var _ grpc.ClientConnInterface |
| 1563 |
|
| 1564 |
// This is a compile-time assertion to ensure that this generated file |
| 1565 |
// is compatible with the grpc package it is being compiled against. |
| 1566 |
const _ = grpc.SupportPackageIsVersion6 |
| 1567 |
|
| 1568 |
// SchemaServiceClient is the client API for SchemaService service. |
| 1569 |
// |
| 1570 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 1571 |
type SchemaServiceClient interface { |
| 1572 |
// Creates a schema. |
| 1573 |
CreateSchema(ctx context.Context, in *CreateSchemaRequest, opts ...grpc.CallOption) (*Schema, error) |
| 1574 |
// Gets a schema. |
| 1575 |
GetSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*Schema, error) |
| 1576 |
// Lists schemas in a project. |
| 1577 |
ListSchemas(ctx context.Context, in *ListSchemasRequest, opts ...grpc.CallOption) (*ListSchemasResponse, error) |
| 1578 |
// Lists all schema revisions for the named schema. |
| 1579 |
ListSchemaRevisions(ctx context.Context, in *ListSchemaRevisionsRequest, opts ...grpc.CallOption) (*ListSchemaRevisionsResponse, error) |
| 1580 |
// Commits a new schema revision to an existing schema. |
| 1581 |
CommitSchema(ctx context.Context, in *CommitSchemaRequest, opts ...grpc.CallOption) (*Schema, error) |
| 1582 |
// Creates a new schema revision that is a copy of the provided revision_id. |
| 1583 |
RollbackSchema(ctx context.Context, in *RollbackSchemaRequest, opts ...grpc.CallOption) (*Schema, error) |
| 1584 |
// Deletes a specific schema revision. |
| 1585 |
DeleteSchemaRevision(ctx context.Context, in *DeleteSchemaRevisionRequest, opts ...grpc.CallOption) (*Schema, error) |
| 1586 |
// Deletes a schema. |
| 1587 |
DeleteSchema(ctx context.Context, in *DeleteSchemaRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 1588 |
// Validates a schema. |
| 1589 |
ValidateSchema(ctx context.Context, in *ValidateSchemaRequest, opts ...grpc.CallOption) (*ValidateSchemaResponse, error) |
| 1590 |
// Validates a message against a schema. |
| 1591 |
ValidateMessage(ctx context.Context, in *ValidateMessageRequest, opts ...grpc.CallOption) (*ValidateMessageResponse, error) |
| 1592 |
} |
| 1593 |
|
| 1594 |
type schemaServiceClient struct { |
| 1595 |
cc grpc.ClientConnInterface |
| 1596 |
} |
| 1597 |
|
| 1598 |
func NewSchemaServiceClient(cc grpc.ClientConnInterface) SchemaServiceClient { |
| 1599 |
return &schemaServiceClient{cc} |
| 1600 |
} |
| 1601 |
|
| 1602 |
func (c *schemaServiceClient) CreateSchema(ctx context.Context, in *CreateSchemaRequest, opts ...grpc.CallOption) (*Schema, error) { |
| 1603 |
out := new(Schema) |
| 1604 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1.SchemaService/CreateSchema", in, out, opts...) |
| 1605 |
if err != nil { |
| 1606 |
return nil, err |
| 1607 |
} |
| 1608 |
return out, nil |
| 1609 |
} |
| 1610 |
|
| 1611 |
func (c *schemaServiceClient) GetSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*Schema, error) { |
| 1612 |
out := new(Schema) |
| 1613 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1.SchemaService/GetSchema", in, out, opts...) |
| 1614 |
if err != nil { |
| 1615 |
return nil, err |
| 1616 |
} |
| 1617 |
return out, nil |
| 1618 |
} |
| 1619 |
|
| 1620 |
func (c *schemaServiceClient) ListSchemas(ctx context.Context, in *ListSchemasRequest, opts ...grpc.CallOption) (*ListSchemasResponse, error) { |
| 1621 |
out := new(ListSchemasResponse) |
| 1622 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1.SchemaService/ListSchemas", in, out, opts...) |
| 1623 |
if err != nil { |
| 1624 |
return nil, err |
| 1625 |
} |
| 1626 |
return out, nil |
| 1627 |
} |
| 1628 |
|
| 1629 |
func (c *schemaServiceClient) ListSchemaRevisions(ctx context.Context, in *ListSchemaRevisionsRequest, opts ...grpc.CallOption) (*ListSchemaRevisionsResponse, error) { |
| 1630 |
out := new(ListSchemaRevisionsResponse) |
| 1631 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1.SchemaService/ListSchemaRevisions", in, out, opts...) |
| 1632 |
if err != nil { |
| 1633 |
return nil, err |
| 1634 |
} |
| 1635 |
return out, nil |
| 1636 |
} |
| 1637 |
|
| 1638 |
func (c *schemaServiceClient) CommitSchema(ctx context.Context, in *CommitSchemaRequest, opts ...grpc.CallOption) (*Schema, error) { |
| 1639 |
out := new(Schema) |
| 1640 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1.SchemaService/CommitSchema", in, out, opts...) |
| 1641 |
if err != nil { |
| 1642 |
return nil, err |
| 1643 |
} |
| 1644 |
return out, nil |
| 1645 |
} |
| 1646 |
|
| 1647 |
func (c *schemaServiceClient) RollbackSchema(ctx context.Context, in *RollbackSchemaRequest, opts ...grpc.CallOption) (*Schema, error) { |
| 1648 |
out := new(Schema) |
| 1649 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1.SchemaService/RollbackSchema", in, out, opts...) |
| 1650 |
if err != nil { |
| 1651 |
return nil, err |
| 1652 |
} |
| 1653 |
return out, nil |
| 1654 |
} |
| 1655 |
|
| 1656 |
func (c *schemaServiceClient) DeleteSchemaRevision(ctx context.Context, in *DeleteSchemaRevisionRequest, opts ...grpc.CallOption) (*Schema, error) { |
| 1657 |
out := new(Schema) |
| 1658 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1.SchemaService/DeleteSchemaRevision", in, out, opts...) |
| 1659 |
if err != nil { |
| 1660 |
return nil, err |
| 1661 |
} |
| 1662 |
return out, nil |
| 1663 |
} |
| 1664 |
|
| 1665 |
func (c *schemaServiceClient) DeleteSchema(ctx context.Context, in *DeleteSchemaRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 1666 |
out := new(emptypb.Empty) |
| 1667 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1.SchemaService/DeleteSchema", in, out, opts...) |
| 1668 |
if err != nil { |
| 1669 |
return nil, err |
| 1670 |
} |
| 1671 |
return out, nil |
| 1672 |
} |
| 1673 |
|
| 1674 |
func (c *schemaServiceClient) ValidateSchema(ctx context.Context, in *ValidateSchemaRequest, opts ...grpc.CallOption) (*ValidateSchemaResponse, error) { |
| 1675 |
out := new(ValidateSchemaResponse) |
| 1676 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1.SchemaService/ValidateSchema", in, out, opts...) |
| 1677 |
if err != nil { |
| 1678 |
return nil, err |
| 1679 |
} |
| 1680 |
return out, nil |
| 1681 |
} |
| 1682 |
|
| 1683 |
func (c *schemaServiceClient) ValidateMessage(ctx context.Context, in *ValidateMessageRequest, opts ...grpc.CallOption) (*ValidateMessageResponse, error) { |
| 1684 |
out := new(ValidateMessageResponse) |
| 1685 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1.SchemaService/ValidateMessage", in, out, opts...) |
| 1686 |
if err != nil { |
| 1687 |
return nil, err |
| 1688 |
} |
| 1689 |
return out, nil |
| 1690 |
} |
| 1691 |
|
| 1692 |
// SchemaServiceServer is the server API for SchemaService service. |
| 1693 |
type SchemaServiceServer interface { |
| 1694 |
// Creates a schema. |
| 1695 |
CreateSchema(context.Context, *CreateSchemaRequest) (*Schema, error) |
| 1696 |
// Gets a schema. |
| 1697 |
GetSchema(context.Context, *GetSchemaRequest) (*Schema, error) |
| 1698 |
// Lists schemas in a project. |
| 1699 |
ListSchemas(context.Context, *ListSchemasRequest) (*ListSchemasResponse, error) |
| 1700 |
// Lists all schema revisions for the named schema. |
| 1701 |
ListSchemaRevisions(context.Context, *ListSchemaRevisionsRequest) (*ListSchemaRevisionsResponse, error) |
| 1702 |
// Commits a new schema revision to an existing schema. |
| 1703 |
CommitSchema(context.Context, *CommitSchemaRequest) (*Schema, error) |
| 1704 |
// Creates a new schema revision that is a copy of the provided revision_id. |
| 1705 |
RollbackSchema(context.Context, *RollbackSchemaRequest) (*Schema, error) |
| 1706 |
// Deletes a specific schema revision. |
| 1707 |
DeleteSchemaRevision(context.Context, *DeleteSchemaRevisionRequest) (*Schema, error) |
| 1708 |
// Deletes a schema. |
| 1709 |
DeleteSchema(context.Context, *DeleteSchemaRequest) (*emptypb.Empty, error) |
| 1710 |
// Validates a schema. |
| 1711 |
ValidateSchema(context.Context, *ValidateSchemaRequest) (*ValidateSchemaResponse, error) |
| 1712 |
// Validates a message against a schema. |
| 1713 |
ValidateMessage(context.Context, *ValidateMessageRequest) (*ValidateMessageResponse, error) |
| 1714 |
} |
| 1715 |
|
| 1716 |
// UnimplementedSchemaServiceServer can be embedded to have forward compatible implementations. |
| 1717 |
type UnimplementedSchemaServiceServer struct { |
| 1718 |
} |
| 1719 |
|
| 1720 |
func (*UnimplementedSchemaServiceServer) CreateSchema(context.Context, *CreateSchemaRequest) (*Schema, error) { |
| 1721 |
return nil, status.Errorf(codes.Unimplemented, "method CreateSchema not implemented") |
| 1722 |
} |
| 1723 |
func (*UnimplementedSchemaServiceServer) GetSchema(context.Context, *GetSchemaRequest) (*Schema, error) { |
| 1724 |
return nil, status.Errorf(codes.Unimplemented, "method GetSchema not implemented") |
| 1725 |
} |
| 1726 |
func (*UnimplementedSchemaServiceServer) ListSchemas(context.Context, *ListSchemasRequest) (*ListSchemasResponse, error) { |
| 1727 |
return nil, status.Errorf(codes.Unimplemented, "method ListSchemas not implemented") |
| 1728 |
} |
| 1729 |
func (*UnimplementedSchemaServiceServer) ListSchemaRevisions(context.Context, *ListSchemaRevisionsRequest) (*ListSchemaRevisionsResponse, error) { |
| 1730 |
return nil, status.Errorf(codes.Unimplemented, "method ListSchemaRevisions not implemented") |
| 1731 |
} |
| 1732 |
func (*UnimplementedSchemaServiceServer) CommitSchema(context.Context, *CommitSchemaRequest) (*Schema, error) { |
| 1733 |
return nil, status.Errorf(codes.Unimplemented, "method CommitSchema not implemented") |
| 1734 |
} |
| 1735 |
func (*UnimplementedSchemaServiceServer) RollbackSchema(context.Context, *RollbackSchemaRequest) (*Schema, error) { |
| 1736 |
return nil, status.Errorf(codes.Unimplemented, "method RollbackSchema not implemented") |
| 1737 |
} |
| 1738 |
func (*UnimplementedSchemaServiceServer) DeleteSchemaRevision(context.Context, *DeleteSchemaRevisionRequest) (*Schema, error) { |
| 1739 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteSchemaRevision not implemented") |
| 1740 |
} |
| 1741 |
func (*UnimplementedSchemaServiceServer) DeleteSchema(context.Context, *DeleteSchemaRequest) (*emptypb.Empty, error) { |
| 1742 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteSchema not implemented") |
| 1743 |
} |
| 1744 |
func (*UnimplementedSchemaServiceServer) ValidateSchema(context.Context, *ValidateSchemaRequest) (*ValidateSchemaResponse, error) { |
| 1745 |
return nil, status.Errorf(codes.Unimplemented, "method ValidateSchema not implemented") |
| 1746 |
} |
| 1747 |
func (*UnimplementedSchemaServiceServer) ValidateMessage(context.Context, *ValidateMessageRequest) (*ValidateMessageResponse, error) { |
| 1748 |
return nil, status.Errorf(codes.Unimplemented, "method ValidateMessage not implemented") |
| 1749 |
} |
| 1750 |
|
| 1751 |
func RegisterSchemaServiceServer(s *grpc.Server, srv SchemaServiceServer) { |
| 1752 |
s.RegisterService(&_SchemaService_serviceDesc, srv) |
| 1753 |
} |
| 1754 |
|
| 1755 |
func _SchemaService_CreateSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1756 |
in := new(CreateSchemaRequest) |
| 1757 |
if err := dec(in); err != nil { |
| 1758 |
return nil, err |
| 1759 |
} |
| 1760 |
if interceptor == nil { |
| 1761 |
return srv.(SchemaServiceServer).CreateSchema(ctx, in) |
| 1762 |
} |
| 1763 |
info := &grpc.UnaryServerInfo{ |
| 1764 |
Server: srv, |
| 1765 |
FullMethod: "/google.pubsub.v1.SchemaService/CreateSchema", |
| 1766 |
} |
| 1767 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1768 |
return srv.(SchemaServiceServer).CreateSchema(ctx, req.(*CreateSchemaRequest)) |
| 1769 |
} |
| 1770 |
return interceptor(ctx, in, info, handler) |
| 1771 |
} |
| 1772 |
|
| 1773 |
func _SchemaService_GetSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1774 |
in := new(GetSchemaRequest) |
| 1775 |
if err := dec(in); err != nil { |
| 1776 |
return nil, err |
| 1777 |
} |
| 1778 |
if interceptor == nil { |
| 1779 |
return srv.(SchemaServiceServer).GetSchema(ctx, in) |
| 1780 |
} |
| 1781 |
info := &grpc.UnaryServerInfo{ |
| 1782 |
Server: srv, |
| 1783 |
FullMethod: "/google.pubsub.v1.SchemaService/GetSchema", |
| 1784 |
} |
| 1785 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1786 |
return srv.(SchemaServiceServer).GetSchema(ctx, req.(*GetSchemaRequest)) |
| 1787 |
} |
| 1788 |
return interceptor(ctx, in, info, handler) |
| 1789 |
} |
| 1790 |
|
| 1791 |
func _SchemaService_ListSchemas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1792 |
in := new(ListSchemasRequest) |
| 1793 |
if err := dec(in); err != nil { |
| 1794 |
return nil, err |
| 1795 |
} |
| 1796 |
if interceptor == nil { |
| 1797 |
return srv.(SchemaServiceServer).ListSchemas(ctx, in) |
| 1798 |
} |
| 1799 |
info := &grpc.UnaryServerInfo{ |
| 1800 |
Server: srv, |
| 1801 |
FullMethod: "/google.pubsub.v1.SchemaService/ListSchemas", |
| 1802 |
} |
| 1803 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1804 |
return srv.(SchemaServiceServer).ListSchemas(ctx, req.(*ListSchemasRequest)) |
| 1805 |
} |
| 1806 |
return interceptor(ctx, in, info, handler) |
| 1807 |
} |
| 1808 |
|
| 1809 |
func _SchemaService_ListSchemaRevisions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1810 |
in := new(ListSchemaRevisionsRequest) |
| 1811 |
if err := dec(in); err != nil { |
| 1812 |
return nil, err |
| 1813 |
} |
| 1814 |
if interceptor == nil { |
| 1815 |
return srv.(SchemaServiceServer).ListSchemaRevisions(ctx, in) |
| 1816 |
} |
| 1817 |
info := &grpc.UnaryServerInfo{ |
| 1818 |
Server: srv, |
| 1819 |
FullMethod: "/google.pubsub.v1.SchemaService/ListSchemaRevisions", |
| 1820 |
} |
| 1821 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1822 |
return srv.(SchemaServiceServer).ListSchemaRevisions(ctx, req.(*ListSchemaRevisionsRequest)) |
| 1823 |
} |
| 1824 |
return interceptor(ctx, in, info, handler) |
| 1825 |
} |
| 1826 |
|
| 1827 |
func _SchemaService_CommitSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1828 |
in := new(CommitSchemaRequest) |
| 1829 |
if err := dec(in); err != nil { |
| 1830 |
return nil, err |
| 1831 |
} |
| 1832 |
if interceptor == nil { |
| 1833 |
return srv.(SchemaServiceServer).CommitSchema(ctx, in) |
| 1834 |
} |
| 1835 |
info := &grpc.UnaryServerInfo{ |
| 1836 |
Server: srv, |
| 1837 |
FullMethod: "/google.pubsub.v1.SchemaService/CommitSchema", |
| 1838 |
} |
| 1839 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1840 |
return srv.(SchemaServiceServer).CommitSchema(ctx, req.(*CommitSchemaRequest)) |
| 1841 |
} |
| 1842 |
return interceptor(ctx, in, info, handler) |
| 1843 |
} |
| 1844 |
|
| 1845 |
func _SchemaService_RollbackSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1846 |
in := new(RollbackSchemaRequest) |
| 1847 |
if err := dec(in); err != nil { |
| 1848 |
return nil, err |
| 1849 |
} |
| 1850 |
if interceptor == nil { |
| 1851 |
return srv.(SchemaServiceServer).RollbackSchema(ctx, in) |
| 1852 |
} |
| 1853 |
info := &grpc.UnaryServerInfo{ |
| 1854 |
Server: srv, |
| 1855 |
FullMethod: "/google.pubsub.v1.SchemaService/RollbackSchema", |
| 1856 |
} |
| 1857 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1858 |
return srv.(SchemaServiceServer).RollbackSchema(ctx, req.(*RollbackSchemaRequest)) |
| 1859 |
} |
| 1860 |
return interceptor(ctx, in, info, handler) |
| 1861 |
} |
| 1862 |
|
| 1863 |
func _SchemaService_DeleteSchemaRevision_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1864 |
in := new(DeleteSchemaRevisionRequest) |
| 1865 |
if err := dec(in); err != nil { |
| 1866 |
return nil, err |
| 1867 |
} |
| 1868 |
if interceptor == nil { |
| 1869 |
return srv.(SchemaServiceServer).DeleteSchemaRevision(ctx, in) |
| 1870 |
} |
| 1871 |
info := &grpc.UnaryServerInfo{ |
| 1872 |
Server: srv, |
| 1873 |
FullMethod: "/google.pubsub.v1.SchemaService/DeleteSchemaRevision", |
| 1874 |
} |
| 1875 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1876 |
return srv.(SchemaServiceServer).DeleteSchemaRevision(ctx, req.(*DeleteSchemaRevisionRequest)) |
| 1877 |
} |
| 1878 |
return interceptor(ctx, in, info, handler) |
| 1879 |
} |
| 1880 |
|
| 1881 |
func _SchemaService_DeleteSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1882 |
in := new(DeleteSchemaRequest) |
| 1883 |
if err := dec(in); err != nil { |
| 1884 |
return nil, err |
| 1885 |
} |
| 1886 |
if interceptor == nil { |
| 1887 |
return srv.(SchemaServiceServer).DeleteSchema(ctx, in) |
| 1888 |
} |
| 1889 |
info := &grpc.UnaryServerInfo{ |
| 1890 |
Server: srv, |
| 1891 |
FullMethod: "/google.pubsub.v1.SchemaService/DeleteSchema", |
| 1892 |
} |
| 1893 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1894 |
return srv.(SchemaServiceServer).DeleteSchema(ctx, req.(*DeleteSchemaRequest)) |
| 1895 |
} |
| 1896 |
return interceptor(ctx, in, info, handler) |
| 1897 |
} |
| 1898 |
|
| 1899 |
func _SchemaService_ValidateSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1900 |
in := new(ValidateSchemaRequest) |
| 1901 |
if err := dec(in); err != nil { |
| 1902 |
return nil, err |
| 1903 |
} |
| 1904 |
if interceptor == nil { |
| 1905 |
return srv.(SchemaServiceServer).ValidateSchema(ctx, in) |
| 1906 |
} |
| 1907 |
info := &grpc.UnaryServerInfo{ |
| 1908 |
Server: srv, |
| 1909 |
FullMethod: "/google.pubsub.v1.SchemaService/ValidateSchema", |
| 1910 |
} |
| 1911 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1912 |
return srv.(SchemaServiceServer).ValidateSchema(ctx, req.(*ValidateSchemaRequest)) |
| 1913 |
} |
| 1914 |
return interceptor(ctx, in, info, handler) |
| 1915 |
} |
| 1916 |
|
| 1917 |
func _SchemaService_ValidateMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1918 |
in := new(ValidateMessageRequest) |
| 1919 |
if err := dec(in); err != nil { |
| 1920 |
return nil, err |
| 1921 |
} |
| 1922 |
if interceptor == nil { |
| 1923 |
return srv.(SchemaServiceServer).ValidateMessage(ctx, in) |
| 1924 |
} |
| 1925 |
info := &grpc.UnaryServerInfo{ |
| 1926 |
Server: srv, |
| 1927 |
FullMethod: "/google.pubsub.v1.SchemaService/ValidateMessage", |
| 1928 |
} |
| 1929 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1930 |
return srv.(SchemaServiceServer).ValidateMessage(ctx, req.(*ValidateMessageRequest)) |
| 1931 |
} |
| 1932 |
return interceptor(ctx, in, info, handler) |
| 1933 |
} |
| 1934 |
|
| 1935 |
var _SchemaService_serviceDesc = grpc.ServiceDesc{ |
| 1936 |
ServiceName: "google.pubsub.v1.SchemaService", |
| 1937 |
HandlerType: (*SchemaServiceServer)(nil), |
| 1938 |
Methods: []grpc.MethodDesc{ |
| 1939 |
{ |
| 1940 |
MethodName: "CreateSchema", |
| 1941 |
Handler: _SchemaService_CreateSchema_Handler, |
| 1942 |
}, |
| 1943 |
{ |
| 1944 |
MethodName: "GetSchema", |
| 1945 |
Handler: _SchemaService_GetSchema_Handler, |
| 1946 |
}, |
| 1947 |
{ |
| 1948 |
MethodName: "ListSchemas", |
| 1949 |
Handler: _SchemaService_ListSchemas_Handler, |
| 1950 |
}, |
| 1951 |
{ |
| 1952 |
MethodName: "ListSchemaRevisions", |
| 1953 |
Handler: _SchemaService_ListSchemaRevisions_Handler, |
| 1954 |
}, |
| 1955 |
{ |
| 1956 |
MethodName: "CommitSchema", |
| 1957 |
Handler: _SchemaService_CommitSchema_Handler, |
| 1958 |
}, |
| 1959 |
{ |
| 1960 |
MethodName: "RollbackSchema", |
| 1961 |
Handler: _SchemaService_RollbackSchema_Handler, |
| 1962 |
}, |
| 1963 |
{ |
| 1964 |
MethodName: "DeleteSchemaRevision", |
| 1965 |
Handler: _SchemaService_DeleteSchemaRevision_Handler, |
| 1966 |
}, |
| 1967 |
{ |
| 1968 |
MethodName: "DeleteSchema", |
| 1969 |
Handler: _SchemaService_DeleteSchema_Handler, |
| 1970 |
}, |
| 1971 |
{ |
| 1972 |
MethodName: "ValidateSchema", |
| 1973 |
Handler: _SchemaService_ValidateSchema_Handler, |
| 1974 |
}, |
| 1975 |
{ |
| 1976 |
MethodName: "ValidateMessage", |
| 1977 |
Handler: _SchemaService_ValidateMessage_Handler, |
| 1978 |
}, |
| 1979 |
}, |
| 1980 |
Streams: []grpc.StreamDesc{}, |
| 1981 |
Metadata: "google/pubsub/v1/schema.proto", |
| 1982 |
} |