| 1 |
// Copyright (c) 2015, Google Inc. |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v3.12.2 |
| 19 |
// source: google/pubsub/v1beta2/pubsub.proto |
| 20 |
|
| 21 |
package pubsub |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
reflect "reflect" |
| 26 |
sync "sync" |
| 27 |
|
| 28 |
grpc "google.golang.org/grpc" |
| 29 |
codes "google.golang.org/grpc/codes" |
| 30 |
status "google.golang.org/grpc/status" |
| 31 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 32 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 33 |
emptypb "google.golang.org/protobuf/types/known/emptypb" |
| 34 |
) |
| 35 |
|
| 36 |
const ( |
| 37 |
// Verify that this generated code is sufficiently up-to-date. |
| 38 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 39 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 41 |
) |
| 42 |
|
| 43 |
// A topic resource. |
| 44 |
type Topic struct { |
| 45 |
state protoimpl.MessageState |
| 46 |
sizeCache protoimpl.SizeCache |
| 47 |
unknownFields protoimpl.UnknownFields |
| 48 |
|
| 49 |
// Name of the topic. |
| 50 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 51 |
} |
| 52 |
|
| 53 |
func (x *Topic) Reset() { |
| 54 |
*x = Topic{} |
| 55 |
if protoimpl.UnsafeEnabled { |
| 56 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[0] |
| 57 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 58 |
ms.StoreMessageInfo(mi) |
| 59 |
} |
| 60 |
} |
| 61 |
|
| 62 |
func (x *Topic) String() string { |
| 63 |
return protoimpl.X.MessageStringOf(x) |
| 64 |
} |
| 65 |
|
| 66 |
func (*Topic) ProtoMessage() {} |
| 67 |
|
| 68 |
func (x *Topic) ProtoReflect() protoreflect.Message { |
| 69 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[0] |
| 70 |
if protoimpl.UnsafeEnabled && x != nil { |
| 71 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 72 |
if ms.LoadMessageInfo() == nil { |
| 73 |
ms.StoreMessageInfo(mi) |
| 74 |
} |
| 75 |
return ms |
| 76 |
} |
| 77 |
return mi.MessageOf(x) |
| 78 |
} |
| 79 |
|
| 80 |
// Deprecated: Use Topic.ProtoReflect.Descriptor instead. |
| 81 |
func (*Topic) Descriptor() ([]byte, []int) { |
| 82 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{0} |
| 83 |
} |
| 84 |
|
| 85 |
func (x *Topic) GetName() string { |
| 86 |
if x != nil { |
| 87 |
return x.Name |
| 88 |
} |
| 89 |
return "" |
| 90 |
} |
| 91 |
|
| 92 |
// A message data and its attributes. |
| 93 |
type PubsubMessage struct { |
| 94 |
state protoimpl.MessageState |
| 95 |
sizeCache protoimpl.SizeCache |
| 96 |
unknownFields protoimpl.UnknownFields |
| 97 |
|
| 98 |
// The message payload. For JSON requests, the value of this field must be |
| 99 |
// base64-encoded. |
| 100 |
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` |
| 101 |
// Optional attributes for this message. |
| 102 |
Attributes map[string]string `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 103 |
// ID of this message assigned by the server at publication time. Guaranteed |
| 104 |
// to be unique within the topic. This value may be read by a subscriber |
| 105 |
// that receives a PubsubMessage via a Pull call or a push delivery. It must |
| 106 |
// not be populated by a publisher in a Publish call. |
| 107 |
MessageId string `protobuf:"bytes,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` |
| 108 |
} |
| 109 |
|
| 110 |
func (x *PubsubMessage) Reset() { |
| 111 |
*x = PubsubMessage{} |
| 112 |
if protoimpl.UnsafeEnabled { |
| 113 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[1] |
| 114 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 115 |
ms.StoreMessageInfo(mi) |
| 116 |
} |
| 117 |
} |
| 118 |
|
| 119 |
func (x *PubsubMessage) String() string { |
| 120 |
return protoimpl.X.MessageStringOf(x) |
| 121 |
} |
| 122 |
|
| 123 |
func (*PubsubMessage) ProtoMessage() {} |
| 124 |
|
| 125 |
func (x *PubsubMessage) ProtoReflect() protoreflect.Message { |
| 126 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[1] |
| 127 |
if protoimpl.UnsafeEnabled && x != nil { |
| 128 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 129 |
if ms.LoadMessageInfo() == nil { |
| 130 |
ms.StoreMessageInfo(mi) |
| 131 |
} |
| 132 |
return ms |
| 133 |
} |
| 134 |
return mi.MessageOf(x) |
| 135 |
} |
| 136 |
|
| 137 |
// Deprecated: Use PubsubMessage.ProtoReflect.Descriptor instead. |
| 138 |
func (*PubsubMessage) Descriptor() ([]byte, []int) { |
| 139 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{1} |
| 140 |
} |
| 141 |
|
| 142 |
func (x *PubsubMessage) GetData() []byte { |
| 143 |
if x != nil { |
| 144 |
return x.Data |
| 145 |
} |
| 146 |
return nil |
| 147 |
} |
| 148 |
|
| 149 |
func (x *PubsubMessage) GetAttributes() map[string]string { |
| 150 |
if x != nil { |
| 151 |
return x.Attributes |
| 152 |
} |
| 153 |
return nil |
| 154 |
} |
| 155 |
|
| 156 |
func (x *PubsubMessage) GetMessageId() string { |
| 157 |
if x != nil { |
| 158 |
return x.MessageId |
| 159 |
} |
| 160 |
return "" |
| 161 |
} |
| 162 |
|
| 163 |
// Request for the GetTopic method. |
| 164 |
type GetTopicRequest struct { |
| 165 |
state protoimpl.MessageState |
| 166 |
sizeCache protoimpl.SizeCache |
| 167 |
unknownFields protoimpl.UnknownFields |
| 168 |
|
| 169 |
// The name of the topic to get. |
| 170 |
Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` |
| 171 |
} |
| 172 |
|
| 173 |
func (x *GetTopicRequest) Reset() { |
| 174 |
*x = GetTopicRequest{} |
| 175 |
if protoimpl.UnsafeEnabled { |
| 176 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[2] |
| 177 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 178 |
ms.StoreMessageInfo(mi) |
| 179 |
} |
| 180 |
} |
| 181 |
|
| 182 |
func (x *GetTopicRequest) String() string { |
| 183 |
return protoimpl.X.MessageStringOf(x) |
| 184 |
} |
| 185 |
|
| 186 |
func (*GetTopicRequest) ProtoMessage() {} |
| 187 |
|
| 188 |
func (x *GetTopicRequest) ProtoReflect() protoreflect.Message { |
| 189 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[2] |
| 190 |
if protoimpl.UnsafeEnabled && x != nil { |
| 191 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 192 |
if ms.LoadMessageInfo() == nil { |
| 193 |
ms.StoreMessageInfo(mi) |
| 194 |
} |
| 195 |
return ms |
| 196 |
} |
| 197 |
return mi.MessageOf(x) |
| 198 |
} |
| 199 |
|
| 200 |
// Deprecated: Use GetTopicRequest.ProtoReflect.Descriptor instead. |
| 201 |
func (*GetTopicRequest) Descriptor() ([]byte, []int) { |
| 202 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{2} |
| 203 |
} |
| 204 |
|
| 205 |
func (x *GetTopicRequest) GetTopic() string { |
| 206 |
if x != nil { |
| 207 |
return x.Topic |
| 208 |
} |
| 209 |
return "" |
| 210 |
} |
| 211 |
|
| 212 |
// Request for the Publish method. |
| 213 |
type PublishRequest struct { |
| 214 |
state protoimpl.MessageState |
| 215 |
sizeCache protoimpl.SizeCache |
| 216 |
unknownFields protoimpl.UnknownFields |
| 217 |
|
| 218 |
// The messages in the request will be published on this topic. |
| 219 |
Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` |
| 220 |
// The messages to publish. |
| 221 |
Messages []*PubsubMessage `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` |
| 222 |
} |
| 223 |
|
| 224 |
func (x *PublishRequest) Reset() { |
| 225 |
*x = PublishRequest{} |
| 226 |
if protoimpl.UnsafeEnabled { |
| 227 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[3] |
| 228 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 229 |
ms.StoreMessageInfo(mi) |
| 230 |
} |
| 231 |
} |
| 232 |
|
| 233 |
func (x *PublishRequest) String() string { |
| 234 |
return protoimpl.X.MessageStringOf(x) |
| 235 |
} |
| 236 |
|
| 237 |
func (*PublishRequest) ProtoMessage() {} |
| 238 |
|
| 239 |
func (x *PublishRequest) ProtoReflect() protoreflect.Message { |
| 240 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[3] |
| 241 |
if protoimpl.UnsafeEnabled && 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 PublishRequest.ProtoReflect.Descriptor instead. |
| 252 |
func (*PublishRequest) Descriptor() ([]byte, []int) { |
| 253 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{3} |
| 254 |
} |
| 255 |
|
| 256 |
func (x *PublishRequest) GetTopic() string { |
| 257 |
if x != nil { |
| 258 |
return x.Topic |
| 259 |
} |
| 260 |
return "" |
| 261 |
} |
| 262 |
|
| 263 |
func (x *PublishRequest) GetMessages() []*PubsubMessage { |
| 264 |
if x != nil { |
| 265 |
return x.Messages |
| 266 |
} |
| 267 |
return nil |
| 268 |
} |
| 269 |
|
| 270 |
// Response for the Publish method. |
| 271 |
type PublishResponse struct { |
| 272 |
state protoimpl.MessageState |
| 273 |
sizeCache protoimpl.SizeCache |
| 274 |
unknownFields protoimpl.UnknownFields |
| 275 |
|
| 276 |
// The server-assigned ID of each published message, in the same order as |
| 277 |
// the messages in the request. IDs are guaranteed to be unique within |
| 278 |
// the topic. |
| 279 |
MessageIds []string `protobuf:"bytes,1,rep,name=message_ids,json=messageIds,proto3" json:"message_ids,omitempty"` |
| 280 |
} |
| 281 |
|
| 282 |
func (x *PublishResponse) Reset() { |
| 283 |
*x = PublishResponse{} |
| 284 |
if protoimpl.UnsafeEnabled { |
| 285 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[4] |
| 286 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 287 |
ms.StoreMessageInfo(mi) |
| 288 |
} |
| 289 |
} |
| 290 |
|
| 291 |
func (x *PublishResponse) String() string { |
| 292 |
return protoimpl.X.MessageStringOf(x) |
| 293 |
} |
| 294 |
|
| 295 |
func (*PublishResponse) ProtoMessage() {} |
| 296 |
|
| 297 |
func (x *PublishResponse) ProtoReflect() protoreflect.Message { |
| 298 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[4] |
| 299 |
if protoimpl.UnsafeEnabled && x != nil { |
| 300 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 301 |
if ms.LoadMessageInfo() == nil { |
| 302 |
ms.StoreMessageInfo(mi) |
| 303 |
} |
| 304 |
return ms |
| 305 |
} |
| 306 |
return mi.MessageOf(x) |
| 307 |
} |
| 308 |
|
| 309 |
// Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead. |
| 310 |
func (*PublishResponse) Descriptor() ([]byte, []int) { |
| 311 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{4} |
| 312 |
} |
| 313 |
|
| 314 |
func (x *PublishResponse) GetMessageIds() []string { |
| 315 |
if x != nil { |
| 316 |
return x.MessageIds |
| 317 |
} |
| 318 |
return nil |
| 319 |
} |
| 320 |
|
| 321 |
// Request for the ListTopics method. |
| 322 |
type ListTopicsRequest struct { |
| 323 |
state protoimpl.MessageState |
| 324 |
sizeCache protoimpl.SizeCache |
| 325 |
unknownFields protoimpl.UnknownFields |
| 326 |
|
| 327 |
// The name of the cloud project that topics belong to. |
| 328 |
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` |
| 329 |
// Maximum number of topics to return. |
| 330 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 331 |
// The value returned by the last ListTopicsResponse; indicates that this is |
| 332 |
// a continuation of a prior ListTopics call, and that the system should |
| 333 |
// return the next page of data. |
| 334 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 335 |
} |
| 336 |
|
| 337 |
func (x *ListTopicsRequest) Reset() { |
| 338 |
*x = ListTopicsRequest{} |
| 339 |
if protoimpl.UnsafeEnabled { |
| 340 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[5] |
| 341 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 342 |
ms.StoreMessageInfo(mi) |
| 343 |
} |
| 344 |
} |
| 345 |
|
| 346 |
func (x *ListTopicsRequest) String() string { |
| 347 |
return protoimpl.X.MessageStringOf(x) |
| 348 |
} |
| 349 |
|
| 350 |
func (*ListTopicsRequest) ProtoMessage() {} |
| 351 |
|
| 352 |
func (x *ListTopicsRequest) ProtoReflect() protoreflect.Message { |
| 353 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[5] |
| 354 |
if protoimpl.UnsafeEnabled && x != nil { |
| 355 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 356 |
if ms.LoadMessageInfo() == nil { |
| 357 |
ms.StoreMessageInfo(mi) |
| 358 |
} |
| 359 |
return ms |
| 360 |
} |
| 361 |
return mi.MessageOf(x) |
| 362 |
} |
| 363 |
|
| 364 |
// Deprecated: Use ListTopicsRequest.ProtoReflect.Descriptor instead. |
| 365 |
func (*ListTopicsRequest) Descriptor() ([]byte, []int) { |
| 366 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{5} |
| 367 |
} |
| 368 |
|
| 369 |
func (x *ListTopicsRequest) GetProject() string { |
| 370 |
if x != nil { |
| 371 |
return x.Project |
| 372 |
} |
| 373 |
return "" |
| 374 |
} |
| 375 |
|
| 376 |
func (x *ListTopicsRequest) GetPageSize() int32 { |
| 377 |
if x != nil { |
| 378 |
return x.PageSize |
| 379 |
} |
| 380 |
return 0 |
| 381 |
} |
| 382 |
|
| 383 |
func (x *ListTopicsRequest) GetPageToken() string { |
| 384 |
if x != nil { |
| 385 |
return x.PageToken |
| 386 |
} |
| 387 |
return "" |
| 388 |
} |
| 389 |
|
| 390 |
// Response for the ListTopics method. |
| 391 |
type ListTopicsResponse struct { |
| 392 |
state protoimpl.MessageState |
| 393 |
sizeCache protoimpl.SizeCache |
| 394 |
unknownFields protoimpl.UnknownFields |
| 395 |
|
| 396 |
// The resulting topics. |
| 397 |
Topics []*Topic `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"` |
| 398 |
// If not empty, indicates that there may be more topics that match the |
| 399 |
// request; this value should be passed in a new ListTopicsRequest. |
| 400 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 401 |
} |
| 402 |
|
| 403 |
func (x *ListTopicsResponse) Reset() { |
| 404 |
*x = ListTopicsResponse{} |
| 405 |
if protoimpl.UnsafeEnabled { |
| 406 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[6] |
| 407 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 408 |
ms.StoreMessageInfo(mi) |
| 409 |
} |
| 410 |
} |
| 411 |
|
| 412 |
func (x *ListTopicsResponse) String() string { |
| 413 |
return protoimpl.X.MessageStringOf(x) |
| 414 |
} |
| 415 |
|
| 416 |
func (*ListTopicsResponse) ProtoMessage() {} |
| 417 |
|
| 418 |
func (x *ListTopicsResponse) ProtoReflect() protoreflect.Message { |
| 419 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[6] |
| 420 |
if protoimpl.UnsafeEnabled && x != nil { |
| 421 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 422 |
if ms.LoadMessageInfo() == nil { |
| 423 |
ms.StoreMessageInfo(mi) |
| 424 |
} |
| 425 |
return ms |
| 426 |
} |
| 427 |
return mi.MessageOf(x) |
| 428 |
} |
| 429 |
|
| 430 |
// Deprecated: Use ListTopicsResponse.ProtoReflect.Descriptor instead. |
| 431 |
func (*ListTopicsResponse) Descriptor() ([]byte, []int) { |
| 432 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{6} |
| 433 |
} |
| 434 |
|
| 435 |
func (x *ListTopicsResponse) GetTopics() []*Topic { |
| 436 |
if x != nil { |
| 437 |
return x.Topics |
| 438 |
} |
| 439 |
return nil |
| 440 |
} |
| 441 |
|
| 442 |
func (x *ListTopicsResponse) GetNextPageToken() string { |
| 443 |
if x != nil { |
| 444 |
return x.NextPageToken |
| 445 |
} |
| 446 |
return "" |
| 447 |
} |
| 448 |
|
| 449 |
// Request for the ListTopicSubscriptions method. |
| 450 |
type ListTopicSubscriptionsRequest struct { |
| 451 |
state protoimpl.MessageState |
| 452 |
sizeCache protoimpl.SizeCache |
| 453 |
unknownFields protoimpl.UnknownFields |
| 454 |
|
| 455 |
// The name of the topic that subscriptions are attached to. |
| 456 |
Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` |
| 457 |
// Maximum number of subscription names to return. |
| 458 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 459 |
// The value returned by the last ListTopicSubscriptionsResponse; indicates |
| 460 |
// that this is a continuation of a prior ListTopicSubscriptions call, and |
| 461 |
// that the system should return the next page of data. |
| 462 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 463 |
} |
| 464 |
|
| 465 |
func (x *ListTopicSubscriptionsRequest) Reset() { |
| 466 |
*x = ListTopicSubscriptionsRequest{} |
| 467 |
if protoimpl.UnsafeEnabled { |
| 468 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[7] |
| 469 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 470 |
ms.StoreMessageInfo(mi) |
| 471 |
} |
| 472 |
} |
| 473 |
|
| 474 |
func (x *ListTopicSubscriptionsRequest) String() string { |
| 475 |
return protoimpl.X.MessageStringOf(x) |
| 476 |
} |
| 477 |
|
| 478 |
func (*ListTopicSubscriptionsRequest) ProtoMessage() {} |
| 479 |
|
| 480 |
func (x *ListTopicSubscriptionsRequest) ProtoReflect() protoreflect.Message { |
| 481 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[7] |
| 482 |
if protoimpl.UnsafeEnabled && x != nil { |
| 483 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 484 |
if ms.LoadMessageInfo() == nil { |
| 485 |
ms.StoreMessageInfo(mi) |
| 486 |
} |
| 487 |
return ms |
| 488 |
} |
| 489 |
return mi.MessageOf(x) |
| 490 |
} |
| 491 |
|
| 492 |
// Deprecated: Use ListTopicSubscriptionsRequest.ProtoReflect.Descriptor instead. |
| 493 |
func (*ListTopicSubscriptionsRequest) Descriptor() ([]byte, []int) { |
| 494 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{7} |
| 495 |
} |
| 496 |
|
| 497 |
func (x *ListTopicSubscriptionsRequest) GetTopic() string { |
| 498 |
if x != nil { |
| 499 |
return x.Topic |
| 500 |
} |
| 501 |
return "" |
| 502 |
} |
| 503 |
|
| 504 |
func (x *ListTopicSubscriptionsRequest) GetPageSize() int32 { |
| 505 |
if x != nil { |
| 506 |
return x.PageSize |
| 507 |
} |
| 508 |
return 0 |
| 509 |
} |
| 510 |
|
| 511 |
func (x *ListTopicSubscriptionsRequest) GetPageToken() string { |
| 512 |
if x != nil { |
| 513 |
return x.PageToken |
| 514 |
} |
| 515 |
return "" |
| 516 |
} |
| 517 |
|
| 518 |
// Response for the ListTopicSubscriptions method. |
| 519 |
type ListTopicSubscriptionsResponse struct { |
| 520 |
state protoimpl.MessageState |
| 521 |
sizeCache protoimpl.SizeCache |
| 522 |
unknownFields protoimpl.UnknownFields |
| 523 |
|
| 524 |
// The names of the subscriptions that match the request. |
| 525 |
Subscriptions []string `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` |
| 526 |
// If not empty, indicates that there may be more subscriptions that match |
| 527 |
// the request; this value should be passed in a new |
| 528 |
// ListTopicSubscriptionsRequest to get more subscriptions. |
| 529 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 530 |
} |
| 531 |
|
| 532 |
func (x *ListTopicSubscriptionsResponse) Reset() { |
| 533 |
*x = ListTopicSubscriptionsResponse{} |
| 534 |
if protoimpl.UnsafeEnabled { |
| 535 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[8] |
| 536 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 537 |
ms.StoreMessageInfo(mi) |
| 538 |
} |
| 539 |
} |
| 540 |
|
| 541 |
func (x *ListTopicSubscriptionsResponse) String() string { |
| 542 |
return protoimpl.X.MessageStringOf(x) |
| 543 |
} |
| 544 |
|
| 545 |
func (*ListTopicSubscriptionsResponse) ProtoMessage() {} |
| 546 |
|
| 547 |
func (x *ListTopicSubscriptionsResponse) ProtoReflect() protoreflect.Message { |
| 548 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[8] |
| 549 |
if protoimpl.UnsafeEnabled && x != nil { |
| 550 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 551 |
if ms.LoadMessageInfo() == nil { |
| 552 |
ms.StoreMessageInfo(mi) |
| 553 |
} |
| 554 |
return ms |
| 555 |
} |
| 556 |
return mi.MessageOf(x) |
| 557 |
} |
| 558 |
|
| 559 |
// Deprecated: Use ListTopicSubscriptionsResponse.ProtoReflect.Descriptor instead. |
| 560 |
func (*ListTopicSubscriptionsResponse) Descriptor() ([]byte, []int) { |
| 561 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{8} |
| 562 |
} |
| 563 |
|
| 564 |
func (x *ListTopicSubscriptionsResponse) GetSubscriptions() []string { |
| 565 |
if x != nil { |
| 566 |
return x.Subscriptions |
| 567 |
} |
| 568 |
return nil |
| 569 |
} |
| 570 |
|
| 571 |
func (x *ListTopicSubscriptionsResponse) GetNextPageToken() string { |
| 572 |
if x != nil { |
| 573 |
return x.NextPageToken |
| 574 |
} |
| 575 |
return "" |
| 576 |
} |
| 577 |
|
| 578 |
// Request for the DeleteTopic method. |
| 579 |
type DeleteTopicRequest struct { |
| 580 |
state protoimpl.MessageState |
| 581 |
sizeCache protoimpl.SizeCache |
| 582 |
unknownFields protoimpl.UnknownFields |
| 583 |
|
| 584 |
// Name of the topic to delete. |
| 585 |
Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` |
| 586 |
} |
| 587 |
|
| 588 |
func (x *DeleteTopicRequest) Reset() { |
| 589 |
*x = DeleteTopicRequest{} |
| 590 |
if protoimpl.UnsafeEnabled { |
| 591 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[9] |
| 592 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 593 |
ms.StoreMessageInfo(mi) |
| 594 |
} |
| 595 |
} |
| 596 |
|
| 597 |
func (x *DeleteTopicRequest) String() string { |
| 598 |
return protoimpl.X.MessageStringOf(x) |
| 599 |
} |
| 600 |
|
| 601 |
func (*DeleteTopicRequest) ProtoMessage() {} |
| 602 |
|
| 603 |
func (x *DeleteTopicRequest) ProtoReflect() protoreflect.Message { |
| 604 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[9] |
| 605 |
if protoimpl.UnsafeEnabled && x != nil { |
| 606 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 607 |
if ms.LoadMessageInfo() == nil { |
| 608 |
ms.StoreMessageInfo(mi) |
| 609 |
} |
| 610 |
return ms |
| 611 |
} |
| 612 |
return mi.MessageOf(x) |
| 613 |
} |
| 614 |
|
| 615 |
// Deprecated: Use DeleteTopicRequest.ProtoReflect.Descriptor instead. |
| 616 |
func (*DeleteTopicRequest) Descriptor() ([]byte, []int) { |
| 617 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{9} |
| 618 |
} |
| 619 |
|
| 620 |
func (x *DeleteTopicRequest) GetTopic() string { |
| 621 |
if x != nil { |
| 622 |
return x.Topic |
| 623 |
} |
| 624 |
return "" |
| 625 |
} |
| 626 |
|
| 627 |
// A subscription resource. |
| 628 |
type Subscription struct { |
| 629 |
state protoimpl.MessageState |
| 630 |
sizeCache protoimpl.SizeCache |
| 631 |
unknownFields protoimpl.UnknownFields |
| 632 |
|
| 633 |
// Name of the subscription. |
| 634 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 635 |
// The name of the topic from which this subscription is receiving messages. |
| 636 |
// This will be present if and only if the subscription has not been detached |
| 637 |
// from its topic. |
| 638 |
Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` |
| 639 |
// If push delivery is used with this subscription, this field is |
| 640 |
// used to configure it. An empty pushConfig signifies that the subscriber |
| 641 |
// will pull and ack messages using API methods. |
| 642 |
PushConfig *PushConfig `protobuf:"bytes,4,opt,name=push_config,json=pushConfig,proto3" json:"push_config,omitempty"` |
| 643 |
// This value is the maximum time after a subscriber receives a message |
| 644 |
// before the subscriber should acknowledge the message. After message |
| 645 |
// delivery but before the ack deadline expires and before the message is |
| 646 |
// acknowledged, it is an outstanding message and will not be delivered |
| 647 |
// again during that time (on a best-effort basis). |
| 648 |
// |
| 649 |
// For pull delivery this value |
| 650 |
// is used as the initial value for the ack deadline. It may be overridden |
| 651 |
// for a specific message by calling ModifyAckDeadline. |
| 652 |
// |
| 653 |
// For push delivery, this value is also used to set the request timeout for |
| 654 |
// the call to the push endpoint. |
| 655 |
// |
| 656 |
// If the subscriber never acknowledges the message, the Pub/Sub |
| 657 |
// system will eventually redeliver the message. |
| 658 |
AckDeadlineSeconds int32 `protobuf:"varint,5,opt,name=ack_deadline_seconds,json=ackDeadlineSeconds,proto3" json:"ack_deadline_seconds,omitempty"` |
| 659 |
} |
| 660 |
|
| 661 |
func (x *Subscription) Reset() { |
| 662 |
*x = Subscription{} |
| 663 |
if protoimpl.UnsafeEnabled { |
| 664 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[10] |
| 665 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 666 |
ms.StoreMessageInfo(mi) |
| 667 |
} |
| 668 |
} |
| 669 |
|
| 670 |
func (x *Subscription) String() string { |
| 671 |
return protoimpl.X.MessageStringOf(x) |
| 672 |
} |
| 673 |
|
| 674 |
func (*Subscription) ProtoMessage() {} |
| 675 |
|
| 676 |
func (x *Subscription) ProtoReflect() protoreflect.Message { |
| 677 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[10] |
| 678 |
if protoimpl.UnsafeEnabled && x != nil { |
| 679 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 680 |
if ms.LoadMessageInfo() == nil { |
| 681 |
ms.StoreMessageInfo(mi) |
| 682 |
} |
| 683 |
return ms |
| 684 |
} |
| 685 |
return mi.MessageOf(x) |
| 686 |
} |
| 687 |
|
| 688 |
// Deprecated: Use Subscription.ProtoReflect.Descriptor instead. |
| 689 |
func (*Subscription) Descriptor() ([]byte, []int) { |
| 690 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{10} |
| 691 |
} |
| 692 |
|
| 693 |
func (x *Subscription) GetName() string { |
| 694 |
if x != nil { |
| 695 |
return x.Name |
| 696 |
} |
| 697 |
return "" |
| 698 |
} |
| 699 |
|
| 700 |
func (x *Subscription) GetTopic() string { |
| 701 |
if x != nil { |
| 702 |
return x.Topic |
| 703 |
} |
| 704 |
return "" |
| 705 |
} |
| 706 |
|
| 707 |
func (x *Subscription) GetPushConfig() *PushConfig { |
| 708 |
if x != nil { |
| 709 |
return x.PushConfig |
| 710 |
} |
| 711 |
return nil |
| 712 |
} |
| 713 |
|
| 714 |
func (x *Subscription) GetAckDeadlineSeconds() int32 { |
| 715 |
if x != nil { |
| 716 |
return x.AckDeadlineSeconds |
| 717 |
} |
| 718 |
return 0 |
| 719 |
} |
| 720 |
|
| 721 |
// Configuration for a push delivery endpoint. |
| 722 |
type PushConfig struct { |
| 723 |
state protoimpl.MessageState |
| 724 |
sizeCache protoimpl.SizeCache |
| 725 |
unknownFields protoimpl.UnknownFields |
| 726 |
|
| 727 |
// A URL locating the endpoint to which messages should be pushed. |
| 728 |
// For example, a Webhook endpoint might use "https://example.com/push". |
| 729 |
PushEndpoint string `protobuf:"bytes,1,opt,name=push_endpoint,json=pushEndpoint,proto3" json:"push_endpoint,omitempty"` |
| 730 |
// Endpoint configuration attributes. |
| 731 |
// |
| 732 |
// Every endpoint has a set of API supported attributes that can be used to |
| 733 |
// control different aspects of the message delivery. |
| 734 |
// |
| 735 |
// The currently supported attribute is `x-goog-version`, which you can |
| 736 |
// use to change the format of the push message. This attribute |
| 737 |
// indicates the version of the data expected by the endpoint. This |
| 738 |
// controls the shape of the envelope (i.e. its fields and metadata). |
| 739 |
// The endpoint version is based on the version of the Pub/Sub |
| 740 |
// API. |
| 741 |
// |
| 742 |
// If not present during the CreateSubscription call, it will default to |
| 743 |
// the version of the API used to make such call. If not present during a |
| 744 |
// ModifyPushConfig call, its value will not be changed. GetSubscription |
| 745 |
// calls will always return a valid version, even if the subscription was |
| 746 |
// created without this attribute. |
| 747 |
// |
| 748 |
// The possible values for this attribute are: |
| 749 |
// |
| 750 |
// * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. |
| 751 |
// * `v1beta2`: uses the push format defined in the v1beta2 Pub/Sub API. |
| 752 |
// |
| 753 |
Attributes map[string]string `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 754 |
} |
| 755 |
|
| 756 |
func (x *PushConfig) Reset() { |
| 757 |
*x = PushConfig{} |
| 758 |
if protoimpl.UnsafeEnabled { |
| 759 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[11] |
| 760 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 761 |
ms.StoreMessageInfo(mi) |
| 762 |
} |
| 763 |
} |
| 764 |
|
| 765 |
func (x *PushConfig) String() string { |
| 766 |
return protoimpl.X.MessageStringOf(x) |
| 767 |
} |
| 768 |
|
| 769 |
func (*PushConfig) ProtoMessage() {} |
| 770 |
|
| 771 |
func (x *PushConfig) ProtoReflect() protoreflect.Message { |
| 772 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[11] |
| 773 |
if protoimpl.UnsafeEnabled && x != nil { |
| 774 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 775 |
if ms.LoadMessageInfo() == nil { |
| 776 |
ms.StoreMessageInfo(mi) |
| 777 |
} |
| 778 |
return ms |
| 779 |
} |
| 780 |
return mi.MessageOf(x) |
| 781 |
} |
| 782 |
|
| 783 |
// Deprecated: Use PushConfig.ProtoReflect.Descriptor instead. |
| 784 |
func (*PushConfig) Descriptor() ([]byte, []int) { |
| 785 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{11} |
| 786 |
} |
| 787 |
|
| 788 |
func (x *PushConfig) GetPushEndpoint() string { |
| 789 |
if x != nil { |
| 790 |
return x.PushEndpoint |
| 791 |
} |
| 792 |
return "" |
| 793 |
} |
| 794 |
|
| 795 |
func (x *PushConfig) GetAttributes() map[string]string { |
| 796 |
if x != nil { |
| 797 |
return x.Attributes |
| 798 |
} |
| 799 |
return nil |
| 800 |
} |
| 801 |
|
| 802 |
// A message and its corresponding acknowledgment ID. |
| 803 |
type ReceivedMessage struct { |
| 804 |
state protoimpl.MessageState |
| 805 |
sizeCache protoimpl.SizeCache |
| 806 |
unknownFields protoimpl.UnknownFields |
| 807 |
|
| 808 |
// This ID can be used to acknowledge the received message. |
| 809 |
AckId string `protobuf:"bytes,1,opt,name=ack_id,json=ackId,proto3" json:"ack_id,omitempty"` |
| 810 |
// The message. |
| 811 |
Message *PubsubMessage `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` |
| 812 |
} |
| 813 |
|
| 814 |
func (x *ReceivedMessage) Reset() { |
| 815 |
*x = ReceivedMessage{} |
| 816 |
if protoimpl.UnsafeEnabled { |
| 817 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[12] |
| 818 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 819 |
ms.StoreMessageInfo(mi) |
| 820 |
} |
| 821 |
} |
| 822 |
|
| 823 |
func (x *ReceivedMessage) String() string { |
| 824 |
return protoimpl.X.MessageStringOf(x) |
| 825 |
} |
| 826 |
|
| 827 |
func (*ReceivedMessage) ProtoMessage() {} |
| 828 |
|
| 829 |
func (x *ReceivedMessage) ProtoReflect() protoreflect.Message { |
| 830 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[12] |
| 831 |
if protoimpl.UnsafeEnabled && x != nil { |
| 832 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 833 |
if ms.LoadMessageInfo() == nil { |
| 834 |
ms.StoreMessageInfo(mi) |
| 835 |
} |
| 836 |
return ms |
| 837 |
} |
| 838 |
return mi.MessageOf(x) |
| 839 |
} |
| 840 |
|
| 841 |
// Deprecated: Use ReceivedMessage.ProtoReflect.Descriptor instead. |
| 842 |
func (*ReceivedMessage) Descriptor() ([]byte, []int) { |
| 843 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{12} |
| 844 |
} |
| 845 |
|
| 846 |
func (x *ReceivedMessage) GetAckId() string { |
| 847 |
if x != nil { |
| 848 |
return x.AckId |
| 849 |
} |
| 850 |
return "" |
| 851 |
} |
| 852 |
|
| 853 |
func (x *ReceivedMessage) GetMessage() *PubsubMessage { |
| 854 |
if x != nil { |
| 855 |
return x.Message |
| 856 |
} |
| 857 |
return nil |
| 858 |
} |
| 859 |
|
| 860 |
// Request for the GetSubscription method. |
| 861 |
type GetSubscriptionRequest struct { |
| 862 |
state protoimpl.MessageState |
| 863 |
sizeCache protoimpl.SizeCache |
| 864 |
unknownFields protoimpl.UnknownFields |
| 865 |
|
| 866 |
// The name of the subscription to get. |
| 867 |
Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` |
| 868 |
} |
| 869 |
|
| 870 |
func (x *GetSubscriptionRequest) Reset() { |
| 871 |
*x = GetSubscriptionRequest{} |
| 872 |
if protoimpl.UnsafeEnabled { |
| 873 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[13] |
| 874 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 875 |
ms.StoreMessageInfo(mi) |
| 876 |
} |
| 877 |
} |
| 878 |
|
| 879 |
func (x *GetSubscriptionRequest) String() string { |
| 880 |
return protoimpl.X.MessageStringOf(x) |
| 881 |
} |
| 882 |
|
| 883 |
func (*GetSubscriptionRequest) ProtoMessage() {} |
| 884 |
|
| 885 |
func (x *GetSubscriptionRequest) ProtoReflect() protoreflect.Message { |
| 886 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[13] |
| 887 |
if protoimpl.UnsafeEnabled && x != nil { |
| 888 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 889 |
if ms.LoadMessageInfo() == nil { |
| 890 |
ms.StoreMessageInfo(mi) |
| 891 |
} |
| 892 |
return ms |
| 893 |
} |
| 894 |
return mi.MessageOf(x) |
| 895 |
} |
| 896 |
|
| 897 |
// Deprecated: Use GetSubscriptionRequest.ProtoReflect.Descriptor instead. |
| 898 |
func (*GetSubscriptionRequest) Descriptor() ([]byte, []int) { |
| 899 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{13} |
| 900 |
} |
| 901 |
|
| 902 |
func (x *GetSubscriptionRequest) GetSubscription() string { |
| 903 |
if x != nil { |
| 904 |
return x.Subscription |
| 905 |
} |
| 906 |
return "" |
| 907 |
} |
| 908 |
|
| 909 |
// Request for the ListSubscriptions method. |
| 910 |
type ListSubscriptionsRequest struct { |
| 911 |
state protoimpl.MessageState |
| 912 |
sizeCache protoimpl.SizeCache |
| 913 |
unknownFields protoimpl.UnknownFields |
| 914 |
|
| 915 |
// The name of the cloud project that subscriptions belong to. |
| 916 |
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` |
| 917 |
// Maximum number of subscriptions to return. |
| 918 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 919 |
// The value returned by the last ListSubscriptionsResponse; indicates that |
| 920 |
// this is a continuation of a prior ListSubscriptions call, and that the |
| 921 |
// system should return the next page of data. |
| 922 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 923 |
} |
| 924 |
|
| 925 |
func (x *ListSubscriptionsRequest) Reset() { |
| 926 |
*x = ListSubscriptionsRequest{} |
| 927 |
if protoimpl.UnsafeEnabled { |
| 928 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[14] |
| 929 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 930 |
ms.StoreMessageInfo(mi) |
| 931 |
} |
| 932 |
} |
| 933 |
|
| 934 |
func (x *ListSubscriptionsRequest) String() string { |
| 935 |
return protoimpl.X.MessageStringOf(x) |
| 936 |
} |
| 937 |
|
| 938 |
func (*ListSubscriptionsRequest) ProtoMessage() {} |
| 939 |
|
| 940 |
func (x *ListSubscriptionsRequest) ProtoReflect() protoreflect.Message { |
| 941 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[14] |
| 942 |
if protoimpl.UnsafeEnabled && x != nil { |
| 943 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 944 |
if ms.LoadMessageInfo() == nil { |
| 945 |
ms.StoreMessageInfo(mi) |
| 946 |
} |
| 947 |
return ms |
| 948 |
} |
| 949 |
return mi.MessageOf(x) |
| 950 |
} |
| 951 |
|
| 952 |
// Deprecated: Use ListSubscriptionsRequest.ProtoReflect.Descriptor instead. |
| 953 |
func (*ListSubscriptionsRequest) Descriptor() ([]byte, []int) { |
| 954 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{14} |
| 955 |
} |
| 956 |
|
| 957 |
func (x *ListSubscriptionsRequest) GetProject() string { |
| 958 |
if x != nil { |
| 959 |
return x.Project |
| 960 |
} |
| 961 |
return "" |
| 962 |
} |
| 963 |
|
| 964 |
func (x *ListSubscriptionsRequest) GetPageSize() int32 { |
| 965 |
if x != nil { |
| 966 |
return x.PageSize |
| 967 |
} |
| 968 |
return 0 |
| 969 |
} |
| 970 |
|
| 971 |
func (x *ListSubscriptionsRequest) GetPageToken() string { |
| 972 |
if x != nil { |
| 973 |
return x.PageToken |
| 974 |
} |
| 975 |
return "" |
| 976 |
} |
| 977 |
|
| 978 |
// Response for the ListSubscriptions method. |
| 979 |
type ListSubscriptionsResponse struct { |
| 980 |
state protoimpl.MessageState |
| 981 |
sizeCache protoimpl.SizeCache |
| 982 |
unknownFields protoimpl.UnknownFields |
| 983 |
|
| 984 |
// The subscriptions that match the request. |
| 985 |
Subscriptions []*Subscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` |
| 986 |
// If not empty, indicates that there may be more subscriptions that match |
| 987 |
// the request; this value should be passed in a new ListSubscriptionsRequest |
| 988 |
// to get more subscriptions. |
| 989 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 990 |
} |
| 991 |
|
| 992 |
func (x *ListSubscriptionsResponse) Reset() { |
| 993 |
*x = ListSubscriptionsResponse{} |
| 994 |
if protoimpl.UnsafeEnabled { |
| 995 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[15] |
| 996 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 997 |
ms.StoreMessageInfo(mi) |
| 998 |
} |
| 999 |
} |
| 1000 |
|
| 1001 |
func (x *ListSubscriptionsResponse) String() string { |
| 1002 |
return protoimpl.X.MessageStringOf(x) |
| 1003 |
} |
| 1004 |
|
| 1005 |
func (*ListSubscriptionsResponse) ProtoMessage() {} |
| 1006 |
|
| 1007 |
func (x *ListSubscriptionsResponse) ProtoReflect() protoreflect.Message { |
| 1008 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[15] |
| 1009 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1010 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1011 |
if ms.LoadMessageInfo() == nil { |
| 1012 |
ms.StoreMessageInfo(mi) |
| 1013 |
} |
| 1014 |
return ms |
| 1015 |
} |
| 1016 |
return mi.MessageOf(x) |
| 1017 |
} |
| 1018 |
|
| 1019 |
// Deprecated: Use ListSubscriptionsResponse.ProtoReflect.Descriptor instead. |
| 1020 |
func (*ListSubscriptionsResponse) Descriptor() ([]byte, []int) { |
| 1021 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{15} |
| 1022 |
} |
| 1023 |
|
| 1024 |
func (x *ListSubscriptionsResponse) GetSubscriptions() []*Subscription { |
| 1025 |
if x != nil { |
| 1026 |
return x.Subscriptions |
| 1027 |
} |
| 1028 |
return nil |
| 1029 |
} |
| 1030 |
|
| 1031 |
func (x *ListSubscriptionsResponse) GetNextPageToken() string { |
| 1032 |
if x != nil { |
| 1033 |
return x.NextPageToken |
| 1034 |
} |
| 1035 |
return "" |
| 1036 |
} |
| 1037 |
|
| 1038 |
// Request for the DeleteSubscription method. |
| 1039 |
type DeleteSubscriptionRequest struct { |
| 1040 |
state protoimpl.MessageState |
| 1041 |
sizeCache protoimpl.SizeCache |
| 1042 |
unknownFields protoimpl.UnknownFields |
| 1043 |
|
| 1044 |
// The subscription to delete. |
| 1045 |
Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` |
| 1046 |
} |
| 1047 |
|
| 1048 |
func (x *DeleteSubscriptionRequest) Reset() { |
| 1049 |
*x = DeleteSubscriptionRequest{} |
| 1050 |
if protoimpl.UnsafeEnabled { |
| 1051 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[16] |
| 1052 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1053 |
ms.StoreMessageInfo(mi) |
| 1054 |
} |
| 1055 |
} |
| 1056 |
|
| 1057 |
func (x *DeleteSubscriptionRequest) String() string { |
| 1058 |
return protoimpl.X.MessageStringOf(x) |
| 1059 |
} |
| 1060 |
|
| 1061 |
func (*DeleteSubscriptionRequest) ProtoMessage() {} |
| 1062 |
|
| 1063 |
func (x *DeleteSubscriptionRequest) ProtoReflect() protoreflect.Message { |
| 1064 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[16] |
| 1065 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1066 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1067 |
if ms.LoadMessageInfo() == nil { |
| 1068 |
ms.StoreMessageInfo(mi) |
| 1069 |
} |
| 1070 |
return ms |
| 1071 |
} |
| 1072 |
return mi.MessageOf(x) |
| 1073 |
} |
| 1074 |
|
| 1075 |
// Deprecated: Use DeleteSubscriptionRequest.ProtoReflect.Descriptor instead. |
| 1076 |
func (*DeleteSubscriptionRequest) Descriptor() ([]byte, []int) { |
| 1077 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{16} |
| 1078 |
} |
| 1079 |
|
| 1080 |
func (x *DeleteSubscriptionRequest) GetSubscription() string { |
| 1081 |
if x != nil { |
| 1082 |
return x.Subscription |
| 1083 |
} |
| 1084 |
return "" |
| 1085 |
} |
| 1086 |
|
| 1087 |
// Request for the ModifyPushConfig method. |
| 1088 |
type ModifyPushConfigRequest struct { |
| 1089 |
state protoimpl.MessageState |
| 1090 |
sizeCache protoimpl.SizeCache |
| 1091 |
unknownFields protoimpl.UnknownFields |
| 1092 |
|
| 1093 |
// The name of the subscription. |
| 1094 |
Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` |
| 1095 |
// The push configuration for future deliveries. |
| 1096 |
// |
| 1097 |
// An empty pushConfig indicates that the Pub/Sub system should |
| 1098 |
// stop pushing messages from the given subscription and allow |
| 1099 |
// messages to be pulled and acknowledged - effectively pausing |
| 1100 |
// the subscription if Pull is not called. |
| 1101 |
PushConfig *PushConfig `protobuf:"bytes,2,opt,name=push_config,json=pushConfig,proto3" json:"push_config,omitempty"` |
| 1102 |
} |
| 1103 |
|
| 1104 |
func (x *ModifyPushConfigRequest) Reset() { |
| 1105 |
*x = ModifyPushConfigRequest{} |
| 1106 |
if protoimpl.UnsafeEnabled { |
| 1107 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[17] |
| 1108 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1109 |
ms.StoreMessageInfo(mi) |
| 1110 |
} |
| 1111 |
} |
| 1112 |
|
| 1113 |
func (x *ModifyPushConfigRequest) String() string { |
| 1114 |
return protoimpl.X.MessageStringOf(x) |
| 1115 |
} |
| 1116 |
|
| 1117 |
func (*ModifyPushConfigRequest) ProtoMessage() {} |
| 1118 |
|
| 1119 |
func (x *ModifyPushConfigRequest) ProtoReflect() protoreflect.Message { |
| 1120 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[17] |
| 1121 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1122 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1123 |
if ms.LoadMessageInfo() == nil { |
| 1124 |
ms.StoreMessageInfo(mi) |
| 1125 |
} |
| 1126 |
return ms |
| 1127 |
} |
| 1128 |
return mi.MessageOf(x) |
| 1129 |
} |
| 1130 |
|
| 1131 |
// Deprecated: Use ModifyPushConfigRequest.ProtoReflect.Descriptor instead. |
| 1132 |
func (*ModifyPushConfigRequest) Descriptor() ([]byte, []int) { |
| 1133 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{17} |
| 1134 |
} |
| 1135 |
|
| 1136 |
func (x *ModifyPushConfigRequest) GetSubscription() string { |
| 1137 |
if x != nil { |
| 1138 |
return x.Subscription |
| 1139 |
} |
| 1140 |
return "" |
| 1141 |
} |
| 1142 |
|
| 1143 |
func (x *ModifyPushConfigRequest) GetPushConfig() *PushConfig { |
| 1144 |
if x != nil { |
| 1145 |
return x.PushConfig |
| 1146 |
} |
| 1147 |
return nil |
| 1148 |
} |
| 1149 |
|
| 1150 |
// Request for the Pull method. |
| 1151 |
type PullRequest struct { |
| 1152 |
state protoimpl.MessageState |
| 1153 |
sizeCache protoimpl.SizeCache |
| 1154 |
unknownFields protoimpl.UnknownFields |
| 1155 |
|
| 1156 |
// The subscription from which messages should be pulled. |
| 1157 |
Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` |
| 1158 |
// If this is specified as true the system will respond immediately even if |
| 1159 |
// it is not able to return a message in the Pull response. Otherwise the |
| 1160 |
// system is allowed to wait until at least one message is available rather |
| 1161 |
// than returning no messages. The client may cancel the request if it does |
| 1162 |
// not wish to wait any longer for the response. |
| 1163 |
ReturnImmediately bool `protobuf:"varint,2,opt,name=return_immediately,json=returnImmediately,proto3" json:"return_immediately,omitempty"` |
| 1164 |
// The maximum number of messages returned for this request. The Pub/Sub |
| 1165 |
// system may return fewer than the number specified. |
| 1166 |
MaxMessages int32 `protobuf:"varint,3,opt,name=max_messages,json=maxMessages,proto3" json:"max_messages,omitempty"` |
| 1167 |
} |
| 1168 |
|
| 1169 |
func (x *PullRequest) Reset() { |
| 1170 |
*x = PullRequest{} |
| 1171 |
if protoimpl.UnsafeEnabled { |
| 1172 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[18] |
| 1173 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1174 |
ms.StoreMessageInfo(mi) |
| 1175 |
} |
| 1176 |
} |
| 1177 |
|
| 1178 |
func (x *PullRequest) String() string { |
| 1179 |
return protoimpl.X.MessageStringOf(x) |
| 1180 |
} |
| 1181 |
|
| 1182 |
func (*PullRequest) ProtoMessage() {} |
| 1183 |
|
| 1184 |
func (x *PullRequest) ProtoReflect() protoreflect.Message { |
| 1185 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[18] |
| 1186 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1187 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1188 |
if ms.LoadMessageInfo() == nil { |
| 1189 |
ms.StoreMessageInfo(mi) |
| 1190 |
} |
| 1191 |
return ms |
| 1192 |
} |
| 1193 |
return mi.MessageOf(x) |
| 1194 |
} |
| 1195 |
|
| 1196 |
// Deprecated: Use PullRequest.ProtoReflect.Descriptor instead. |
| 1197 |
func (*PullRequest) Descriptor() ([]byte, []int) { |
| 1198 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{18} |
| 1199 |
} |
| 1200 |
|
| 1201 |
func (x *PullRequest) GetSubscription() string { |
| 1202 |
if x != nil { |
| 1203 |
return x.Subscription |
| 1204 |
} |
| 1205 |
return "" |
| 1206 |
} |
| 1207 |
|
| 1208 |
func (x *PullRequest) GetReturnImmediately() bool { |
| 1209 |
if x != nil { |
| 1210 |
return x.ReturnImmediately |
| 1211 |
} |
| 1212 |
return false |
| 1213 |
} |
| 1214 |
|
| 1215 |
func (x *PullRequest) GetMaxMessages() int32 { |
| 1216 |
if x != nil { |
| 1217 |
return x.MaxMessages |
| 1218 |
} |
| 1219 |
return 0 |
| 1220 |
} |
| 1221 |
|
| 1222 |
// Response for the Pull method. |
| 1223 |
type PullResponse struct { |
| 1224 |
state protoimpl.MessageState |
| 1225 |
sizeCache protoimpl.SizeCache |
| 1226 |
unknownFields protoimpl.UnknownFields |
| 1227 |
|
| 1228 |
// Received Pub/Sub messages. The Pub/Sub system will return zero messages if |
| 1229 |
// there are no more available in the backlog. The Pub/Sub system may return |
| 1230 |
// fewer than the maxMessages requested even if there are more messages |
| 1231 |
// available in the backlog. |
| 1232 |
ReceivedMessages []*ReceivedMessage `protobuf:"bytes,1,rep,name=received_messages,json=receivedMessages,proto3" json:"received_messages,omitempty"` |
| 1233 |
} |
| 1234 |
|
| 1235 |
func (x *PullResponse) Reset() { |
| 1236 |
*x = PullResponse{} |
| 1237 |
if protoimpl.UnsafeEnabled { |
| 1238 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[19] |
| 1239 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1240 |
ms.StoreMessageInfo(mi) |
| 1241 |
} |
| 1242 |
} |
| 1243 |
|
| 1244 |
func (x *PullResponse) String() string { |
| 1245 |
return protoimpl.X.MessageStringOf(x) |
| 1246 |
} |
| 1247 |
|
| 1248 |
func (*PullResponse) ProtoMessage() {} |
| 1249 |
|
| 1250 |
func (x *PullResponse) ProtoReflect() protoreflect.Message { |
| 1251 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[19] |
| 1252 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1253 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1254 |
if ms.LoadMessageInfo() == nil { |
| 1255 |
ms.StoreMessageInfo(mi) |
| 1256 |
} |
| 1257 |
return ms |
| 1258 |
} |
| 1259 |
return mi.MessageOf(x) |
| 1260 |
} |
| 1261 |
|
| 1262 |
// Deprecated: Use PullResponse.ProtoReflect.Descriptor instead. |
| 1263 |
func (*PullResponse) Descriptor() ([]byte, []int) { |
| 1264 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{19} |
| 1265 |
} |
| 1266 |
|
| 1267 |
func (x *PullResponse) GetReceivedMessages() []*ReceivedMessage { |
| 1268 |
if x != nil { |
| 1269 |
return x.ReceivedMessages |
| 1270 |
} |
| 1271 |
return nil |
| 1272 |
} |
| 1273 |
|
| 1274 |
// Request for the ModifyAckDeadline method. |
| 1275 |
type ModifyAckDeadlineRequest struct { |
| 1276 |
state protoimpl.MessageState |
| 1277 |
sizeCache protoimpl.SizeCache |
| 1278 |
unknownFields protoimpl.UnknownFields |
| 1279 |
|
| 1280 |
// The name of the subscription. |
| 1281 |
Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` |
| 1282 |
// The acknowledgment ID. |
| 1283 |
AckId string `protobuf:"bytes,2,opt,name=ack_id,json=ackId,proto3" json:"ack_id,omitempty"` |
| 1284 |
// The new ack deadline with respect to the time this request was sent to the |
| 1285 |
// Pub/Sub system. Must be >= 0. For example, if the value is 10, the new ack |
| 1286 |
// deadline will expire 10 seconds after the ModifyAckDeadline call was made. |
| 1287 |
// Specifying zero may immediately make the message available for another pull |
| 1288 |
// request. |
| 1289 |
AckDeadlineSeconds int32 `protobuf:"varint,3,opt,name=ack_deadline_seconds,json=ackDeadlineSeconds,proto3" json:"ack_deadline_seconds,omitempty"` |
| 1290 |
} |
| 1291 |
|
| 1292 |
func (x *ModifyAckDeadlineRequest) Reset() { |
| 1293 |
*x = ModifyAckDeadlineRequest{} |
| 1294 |
if protoimpl.UnsafeEnabled { |
| 1295 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[20] |
| 1296 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1297 |
ms.StoreMessageInfo(mi) |
| 1298 |
} |
| 1299 |
} |
| 1300 |
|
| 1301 |
func (x *ModifyAckDeadlineRequest) String() string { |
| 1302 |
return protoimpl.X.MessageStringOf(x) |
| 1303 |
} |
| 1304 |
|
| 1305 |
func (*ModifyAckDeadlineRequest) ProtoMessage() {} |
| 1306 |
|
| 1307 |
func (x *ModifyAckDeadlineRequest) ProtoReflect() protoreflect.Message { |
| 1308 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[20] |
| 1309 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1310 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1311 |
if ms.LoadMessageInfo() == nil { |
| 1312 |
ms.StoreMessageInfo(mi) |
| 1313 |
} |
| 1314 |
return ms |
| 1315 |
} |
| 1316 |
return mi.MessageOf(x) |
| 1317 |
} |
| 1318 |
|
| 1319 |
// Deprecated: Use ModifyAckDeadlineRequest.ProtoReflect.Descriptor instead. |
| 1320 |
func (*ModifyAckDeadlineRequest) Descriptor() ([]byte, []int) { |
| 1321 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{20} |
| 1322 |
} |
| 1323 |
|
| 1324 |
func (x *ModifyAckDeadlineRequest) GetSubscription() string { |
| 1325 |
if x != nil { |
| 1326 |
return x.Subscription |
| 1327 |
} |
| 1328 |
return "" |
| 1329 |
} |
| 1330 |
|
| 1331 |
func (x *ModifyAckDeadlineRequest) GetAckId() string { |
| 1332 |
if x != nil { |
| 1333 |
return x.AckId |
| 1334 |
} |
| 1335 |
return "" |
| 1336 |
} |
| 1337 |
|
| 1338 |
func (x *ModifyAckDeadlineRequest) GetAckDeadlineSeconds() int32 { |
| 1339 |
if x != nil { |
| 1340 |
return x.AckDeadlineSeconds |
| 1341 |
} |
| 1342 |
return 0 |
| 1343 |
} |
| 1344 |
|
| 1345 |
// Request for the Acknowledge method. |
| 1346 |
type AcknowledgeRequest struct { |
| 1347 |
state protoimpl.MessageState |
| 1348 |
sizeCache protoimpl.SizeCache |
| 1349 |
unknownFields protoimpl.UnknownFields |
| 1350 |
|
| 1351 |
// The subscription whose message is being acknowledged. |
| 1352 |
Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` |
| 1353 |
// The acknowledgment ID for the messages being acknowledged that was returned |
| 1354 |
// by the Pub/Sub system in the Pull response. Must not be empty. |
| 1355 |
AckIds []string `protobuf:"bytes,2,rep,name=ack_ids,json=ackIds,proto3" json:"ack_ids,omitempty"` |
| 1356 |
} |
| 1357 |
|
| 1358 |
func (x *AcknowledgeRequest) Reset() { |
| 1359 |
*x = AcknowledgeRequest{} |
| 1360 |
if protoimpl.UnsafeEnabled { |
| 1361 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[21] |
| 1362 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1363 |
ms.StoreMessageInfo(mi) |
| 1364 |
} |
| 1365 |
} |
| 1366 |
|
| 1367 |
func (x *AcknowledgeRequest) String() string { |
| 1368 |
return protoimpl.X.MessageStringOf(x) |
| 1369 |
} |
| 1370 |
|
| 1371 |
func (*AcknowledgeRequest) ProtoMessage() {} |
| 1372 |
|
| 1373 |
func (x *AcknowledgeRequest) ProtoReflect() protoreflect.Message { |
| 1374 |
mi := &file_google_pubsub_v1beta2_pubsub_proto_msgTypes[21] |
| 1375 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1376 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1377 |
if ms.LoadMessageInfo() == nil { |
| 1378 |
ms.StoreMessageInfo(mi) |
| 1379 |
} |
| 1380 |
return ms |
| 1381 |
} |
| 1382 |
return mi.MessageOf(x) |
| 1383 |
} |
| 1384 |
|
| 1385 |
// Deprecated: Use AcknowledgeRequest.ProtoReflect.Descriptor instead. |
| 1386 |
func (*AcknowledgeRequest) Descriptor() ([]byte, []int) { |
| 1387 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP(), []int{21} |
| 1388 |
} |
| 1389 |
|
| 1390 |
func (x *AcknowledgeRequest) GetSubscription() string { |
| 1391 |
if x != nil { |
| 1392 |
return x.Subscription |
| 1393 |
} |
| 1394 |
return "" |
| 1395 |
} |
| 1396 |
|
| 1397 |
func (x *AcknowledgeRequest) GetAckIds() []string { |
| 1398 |
if x != nil { |
| 1399 |
return x.AckIds |
| 1400 |
} |
| 1401 |
return nil |
| 1402 |
} |
| 1403 |
|
| 1404 |
var File_google_pubsub_v1beta2_pubsub_proto protoreflect.FileDescriptor |
| 1405 |
|
| 1406 |
var file_google_pubsub_v1beta2_pubsub_proto_rawDesc = []byte{ |
| 1407 |
0x0a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2f, |
| 1408 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x70, |
| 1409 |
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, |
| 1410 |
0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, |
| 1411 |
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, |
| 1412 |
0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1b, 0x0a, 0x05, 0x54, 0x6f, 0x70, 0x69, |
| 1413 |
0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1414 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xd7, 0x01, 0x0a, 0x0d, 0x50, 0x75, 0x62, 0x73, 0x75, 0x62, |
| 1415 |
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, |
| 1416 |
0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x54, 0x0a, 0x0a, 0x61, |
| 1417 |
0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 1418 |
0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, |
| 1419 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x75, 0x62, 0x73, 0x75, 0x62, 0x4d, 0x65, |
| 1420 |
0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, |
| 1421 |
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, |
| 1422 |
0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, |
| 1423 |
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, |
| 1424 |
0x1a, 0x3d, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, |
| 1425 |
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 1426 |
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, |
| 1427 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, |
| 1428 |
0x27, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 1429 |
0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1430 |
0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x22, 0x68, 0x0a, 0x0e, 0x50, 0x75, 0x62, 0x6c, |
| 1431 |
0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, |
| 1432 |
0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, |
| 1433 |
0x12, 0x40, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, |
| 1434 |
0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, |
| 1435 |
0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x75, 0x62, 0x73, 0x75, |
| 1436 |
0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| 1437 |
0x65, 0x73, 0x22, 0x32, 0x0a, 0x0f, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, |
| 1438 |
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, |
| 1439 |
0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65, 0x73, 0x73, |
| 1440 |
0x61, 0x67, 0x65, 0x49, 0x64, 0x73, 0x22, 0x69, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, |
| 1441 |
0x70, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, |
| 1442 |
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, |
| 1443 |
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, |
| 1444 |
0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, |
| 1445 |
0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, |
| 1446 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, |
| 1447 |
0x6e, 0x22, 0x72, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x52, |
| 1448 |
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, |
| 1449 |
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1450 |
0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, |
| 1451 |
0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x26, 0x0a, |
| 1452 |
0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, |
| 1453 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, |
| 1454 |
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x71, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, |
| 1455 |
0x69, 0x63, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, |
| 1456 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, |
| 1457 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1b, 0x0a, 0x09, |
| 1458 |
0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, |
| 1459 |
0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, |
| 1460 |
0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, |
| 1461 |
0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x6e, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, |
| 1462 |
0x54, 0x6f, 0x70, 0x69, 0x63, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, |
| 1463 |
0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x75, |
| 1464 |
0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, |
| 1465 |
0x09, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 1466 |
0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, |
| 1467 |
0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, |
| 1468 |
0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x2a, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, |
| 1469 |
0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, |
| 1470 |
0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, |
| 1471 |
0x6f, 0x70, 0x69, 0x63, 0x22, 0xae, 0x01, 0x0a, 0x0c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, |
| 1472 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, |
| 1473 |
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, |
| 1474 |
0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, |
| 1475 |
0x42, 0x0a, 0x0b, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, |
| 1476 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, |
| 1477 |
0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x75, 0x73, |
| 1478 |
0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, 0x70, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6e, |
| 1479 |
0x66, 0x69, 0x67, 0x12, 0x30, 0x0a, 0x14, 0x61, 0x63, 0x6b, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6c, |
| 1480 |
0x69, 0x6e, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 1481 |
0x05, 0x52, 0x12, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x65, |
| 1482 |
0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0xc3, 0x01, 0x0a, 0x0a, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, |
| 1483 |
0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x65, 0x6e, 0x64, |
| 1484 |
0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x75, 0x73, |
| 1485 |
0x68, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x51, 0x0a, 0x0a, 0x61, 0x74, 0x74, |
| 1486 |
0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, |
| 1487 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, |
| 1488 |
0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 1489 |
0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, |
| 1490 |
0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, |
| 1491 |
0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, |
| 1492 |
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, |
| 1493 |
0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| 1494 |
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x68, 0x0a, 0x0f, 0x52, |
| 1495 |
0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x15, |
| 1496 |
0x0a, 0x06, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, |
| 1497 |
0x61, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, |
| 1498 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1499 |
0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, |
| 1500 |
0x75, 0x62, 0x73, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x6d, 0x65, |
| 1501 |
0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x3c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x73, |
| 1502 |
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
| 1503 |
0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, |
| 1504 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, |
| 1505 |
0x69, 0x6f, 0x6e, 0x22, 0x70, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, |
| 1506 |
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
| 1507 |
0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 1508 |
0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, |
| 1509 |
0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, |
| 1510 |
0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, |
| 1511 |
0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, |
| 1512 |
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x8e, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, |
| 1513 |
0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 1514 |
0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, |
| 1515 |
0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, |
| 1516 |
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 1517 |
0x61, 0x32, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, |
| 1518 |
0x0d, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, |
| 1519 |
0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, |
| 1520 |
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, |
| 1521 |
0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x3f, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, |
| 1522 |
0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, |
| 1523 |
0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, |
| 1524 |
0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, |
| 1525 |
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x17, 0x4d, 0x6f, 0x64, 0x69, |
| 1526 |
0x66, 0x79, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, |
| 1527 |
0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, |
| 1528 |
0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, |
| 1529 |
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x0b, 0x70, 0x75, 0x73, 0x68, 0x5f, |
| 1530 |
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, |
| 1531 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, |
| 1532 |
0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, |
| 1533 |
0x0a, 0x70, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x83, 0x01, 0x0a, 0x0b, |
| 1534 |
0x50, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x73, |
| 1535 |
0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1536 |
0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 1537 |
0x2d, 0x0a, 0x12, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, |
| 1538 |
0x61, 0x74, 0x65, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x72, 0x65, 0x74, |
| 1539 |
0x75, 0x72, 0x6e, 0x49, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x6c, 0x79, 0x12, 0x21, |
| 1540 |
0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x03, |
| 1541 |
0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, |
| 1542 |
0x73, 0x22, 0x63, 0x0a, 0x0c, 0x50, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 1543 |
0x65, 0x12, 0x53, 0x0a, 0x11, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x6d, 0x65, |
| 1544 |
0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, |
| 1545 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, |
| 1546 |
0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4d, 0x65, 0x73, |
| 1547 |
0x73, 0x61, 0x67, 0x65, 0x52, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x4d, 0x65, |
| 1548 |
0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x87, 0x01, 0x0a, 0x18, 0x4d, 0x6f, 0x64, 0x69, 0x66, |
| 1549 |
0x79, 0x41, 0x63, 0x6b, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, |
| 1550 |
0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, |
| 1551 |
0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, |
| 1552 |
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x63, 0x6b, 0x5f, 0x69, |
| 1553 |
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x30, |
| 1554 |
0x0a, 0x14, 0x61, 0x63, 0x6b, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x73, |
| 1555 |
0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x61, 0x63, |
| 1556 |
0x6b, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, |
| 1557 |
0x22, 0x51, 0x0a, 0x12, 0x41, 0x63, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x52, |
| 1558 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, |
| 1559 |
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, |
| 1560 |
0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x63, |
| 1561 |
0x6b, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x6b, |
| 1562 |
0x49, 0x64, 0x73, 0x32, 0x88, 0x06, 0x0a, 0x0a, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, |
| 1563 |
0x65, 0x72, 0x12, 0x5e, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, |
| 1564 |
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1565 |
0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, |
| 1566 |
0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x23, 0x2e, |
| 1567 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, |
| 1568 |
0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, |
| 1569 |
0x6f, 0x6e, 0x12, 0x65, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, |
| 1570 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 1571 |
0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, |
| 1572 |
0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, |
| 1573 |
0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, |
| 1574 |
0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x75, 0x62, |
| 1575 |
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x76, 0x0a, 0x11, 0x4c, 0x69, 0x73, |
| 1576 |
0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, |
| 1577 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, |
| 1578 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, |
| 1579 |
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, |
| 1580 |
0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, |
| 1581 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x62, 0x73, |
| 1582 |
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 1583 |
0x65, 0x12, 0x5e, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, |
| 1584 |
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1585 |
0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, |
| 1586 |
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, |
| 1587 |
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1588 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, |
| 1589 |
0x79, 0x12, 0x5c, 0x0a, 0x11, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x41, 0x63, 0x6b, 0x44, 0x65, |
| 1590 |
0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1591 |
0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4d, |
| 1592 |
0x6f, 0x64, 0x69, 0x66, 0x79, 0x41, 0x63, 0x6b, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, |
| 1593 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1594 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, |
| 1595 |
0x50, 0x0a, 0x0b, 0x41, 0x63, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x12, 0x29, |
| 1596 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, |
| 1597 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x63, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, |
| 1598 |
0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1599 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, |
| 1600 |
0x79, 0x12, 0x4f, 0x0a, 0x04, 0x50, 0x75, 0x6c, 0x6c, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1601 |
0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 1602 |
0x32, 0x2e, 0x50, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, |
| 1603 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, |
| 1604 |
0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 1605 |
0x73, 0x65, 0x12, 0x5a, 0x0a, 0x10, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x50, 0x75, 0x73, 0x68, |
| 1606 |
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1607 |
0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4d, |
| 1608 |
0x6f, 0x64, 0x69, 0x66, 0x79, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, |
| 1609 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1610 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x32, 0xbf, |
| 1611 |
0x04, 0x0a, 0x09, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x0b, |
| 1612 |
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1c, 0x2e, 0x67, 0x6f, |
| 1613 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, |
| 1614 |
0x74, 0x61, 0x32, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1615 |
0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 1616 |
0x32, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x58, 0x0a, 0x07, 0x50, 0x75, 0x62, 0x6c, 0x69, |
| 1617 |
0x73, 0x68, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, |
| 1618 |
0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, |
| 1619 |
0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1620 |
0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 1621 |
0x32, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 1622 |
0x65, 0x12, 0x50, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x26, 0x2e, |
| 1623 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, |
| 1624 |
0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, |
| 1625 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 1626 |
0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x6f, |
| 1627 |
0x70, 0x69, 0x63, 0x12, 0x61, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, |
| 1628 |
0x73, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, |
| 1629 |
0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, |
| 1630 |
0x70, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, |
| 1631 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, |
| 1632 |
0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x52, 0x65, |
| 1633 |
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x85, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x54, |
| 1634 |
0x6f, 0x70, 0x69, 0x63, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 1635 |
0x73, 0x12, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, |
| 1636 |
0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, |
| 1637 |
0x70, 0x69, 0x63, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 1638 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1639 |
0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, |
| 1640 |
0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, |
| 1641 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, |
| 1642 |
0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x29, 0x2e, |
| 1643 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, |
| 1644 |
0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, |
| 1645 |
0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1646 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, |
| 1647 |
0x42, 0x67, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 1648 |
0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x42, 0x0b, 0x50, |
| 1649 |
0x75, 0x62, 0x73, 0x75, 0x62, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x6f, |
| 1650 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, |
| 1651 |
0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, |
| 1652 |
0x70, 0x69, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 1653 |
0x61, 0x32, 0x3b, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 1654 |
0x33, |
| 1655 |
} |
| 1656 |
|
| 1657 |
var ( |
| 1658 |
file_google_pubsub_v1beta2_pubsub_proto_rawDescOnce sync.Once |
| 1659 |
file_google_pubsub_v1beta2_pubsub_proto_rawDescData = file_google_pubsub_v1beta2_pubsub_proto_rawDesc |
| 1660 |
) |
| 1661 |
|
| 1662 |
func file_google_pubsub_v1beta2_pubsub_proto_rawDescGZIP() []byte { |
| 1663 |
file_google_pubsub_v1beta2_pubsub_proto_rawDescOnce.Do(func() { |
| 1664 |
file_google_pubsub_v1beta2_pubsub_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_pubsub_v1beta2_pubsub_proto_rawDescData) |
| 1665 |
}) |
| 1666 |
return file_google_pubsub_v1beta2_pubsub_proto_rawDescData |
| 1667 |
} |
| 1668 |
|
| 1669 |
var file_google_pubsub_v1beta2_pubsub_proto_msgTypes = make([]protoimpl.MessageInfo, 24) |
| 1670 |
var file_google_pubsub_v1beta2_pubsub_proto_goTypes = []interface{}{ |
| 1671 |
(*Topic)(nil), // 0: google.pubsub.v1beta2.Topic |
| 1672 |
(*PubsubMessage)(nil), // 1: google.pubsub.v1beta2.PubsubMessage |
| 1673 |
(*GetTopicRequest)(nil), // 2: google.pubsub.v1beta2.GetTopicRequest |
| 1674 |
(*PublishRequest)(nil), // 3: google.pubsub.v1beta2.PublishRequest |
| 1675 |
(*PublishResponse)(nil), // 4: google.pubsub.v1beta2.PublishResponse |
| 1676 |
(*ListTopicsRequest)(nil), // 5: google.pubsub.v1beta2.ListTopicsRequest |
| 1677 |
(*ListTopicsResponse)(nil), // 6: google.pubsub.v1beta2.ListTopicsResponse |
| 1678 |
(*ListTopicSubscriptionsRequest)(nil), // 7: google.pubsub.v1beta2.ListTopicSubscriptionsRequest |
| 1679 |
(*ListTopicSubscriptionsResponse)(nil), // 8: google.pubsub.v1beta2.ListTopicSubscriptionsResponse |
| 1680 |
(*DeleteTopicRequest)(nil), // 9: google.pubsub.v1beta2.DeleteTopicRequest |
| 1681 |
(*Subscription)(nil), // 10: google.pubsub.v1beta2.Subscription |
| 1682 |
(*PushConfig)(nil), // 11: google.pubsub.v1beta2.PushConfig |
| 1683 |
(*ReceivedMessage)(nil), // 12: google.pubsub.v1beta2.ReceivedMessage |
| 1684 |
(*GetSubscriptionRequest)(nil), // 13: google.pubsub.v1beta2.GetSubscriptionRequest |
| 1685 |
(*ListSubscriptionsRequest)(nil), // 14: google.pubsub.v1beta2.ListSubscriptionsRequest |
| 1686 |
(*ListSubscriptionsResponse)(nil), // 15: google.pubsub.v1beta2.ListSubscriptionsResponse |
| 1687 |
(*DeleteSubscriptionRequest)(nil), // 16: google.pubsub.v1beta2.DeleteSubscriptionRequest |
| 1688 |
(*ModifyPushConfigRequest)(nil), // 17: google.pubsub.v1beta2.ModifyPushConfigRequest |
| 1689 |
(*PullRequest)(nil), // 18: google.pubsub.v1beta2.PullRequest |
| 1690 |
(*PullResponse)(nil), // 19: google.pubsub.v1beta2.PullResponse |
| 1691 |
(*ModifyAckDeadlineRequest)(nil), // 20: google.pubsub.v1beta2.ModifyAckDeadlineRequest |
| 1692 |
(*AcknowledgeRequest)(nil), // 21: google.pubsub.v1beta2.AcknowledgeRequest |
| 1693 |
nil, // 22: google.pubsub.v1beta2.PubsubMessage.AttributesEntry |
| 1694 |
nil, // 23: google.pubsub.v1beta2.PushConfig.AttributesEntry |
| 1695 |
(*emptypb.Empty)(nil), // 24: google.protobuf.Empty |
| 1696 |
} |
| 1697 |
var file_google_pubsub_v1beta2_pubsub_proto_depIdxs = []int32{ |
| 1698 |
22, // 0: google.pubsub.v1beta2.PubsubMessage.attributes:type_name -> google.pubsub.v1beta2.PubsubMessage.AttributesEntry |
| 1699 |
1, // 1: google.pubsub.v1beta2.PublishRequest.messages:type_name -> google.pubsub.v1beta2.PubsubMessage |
| 1700 |
0, // 2: google.pubsub.v1beta2.ListTopicsResponse.topics:type_name -> google.pubsub.v1beta2.Topic |
| 1701 |
11, // 3: google.pubsub.v1beta2.Subscription.push_config:type_name -> google.pubsub.v1beta2.PushConfig |
| 1702 |
23, // 4: google.pubsub.v1beta2.PushConfig.attributes:type_name -> google.pubsub.v1beta2.PushConfig.AttributesEntry |
| 1703 |
1, // 5: google.pubsub.v1beta2.ReceivedMessage.message:type_name -> google.pubsub.v1beta2.PubsubMessage |
| 1704 |
10, // 6: google.pubsub.v1beta2.ListSubscriptionsResponse.subscriptions:type_name -> google.pubsub.v1beta2.Subscription |
| 1705 |
11, // 7: google.pubsub.v1beta2.ModifyPushConfigRequest.push_config:type_name -> google.pubsub.v1beta2.PushConfig |
| 1706 |
12, // 8: google.pubsub.v1beta2.PullResponse.received_messages:type_name -> google.pubsub.v1beta2.ReceivedMessage |
| 1707 |
10, // 9: google.pubsub.v1beta2.Subscriber.CreateSubscription:input_type -> google.pubsub.v1beta2.Subscription |
| 1708 |
13, // 10: google.pubsub.v1beta2.Subscriber.GetSubscription:input_type -> google.pubsub.v1beta2.GetSubscriptionRequest |
| 1709 |
14, // 11: google.pubsub.v1beta2.Subscriber.ListSubscriptions:input_type -> google.pubsub.v1beta2.ListSubscriptionsRequest |
| 1710 |
16, // 12: google.pubsub.v1beta2.Subscriber.DeleteSubscription:input_type -> google.pubsub.v1beta2.DeleteSubscriptionRequest |
| 1711 |
20, // 13: google.pubsub.v1beta2.Subscriber.ModifyAckDeadline:input_type -> google.pubsub.v1beta2.ModifyAckDeadlineRequest |
| 1712 |
21, // 14: google.pubsub.v1beta2.Subscriber.Acknowledge:input_type -> google.pubsub.v1beta2.AcknowledgeRequest |
| 1713 |
18, // 15: google.pubsub.v1beta2.Subscriber.Pull:input_type -> google.pubsub.v1beta2.PullRequest |
| 1714 |
17, // 16: google.pubsub.v1beta2.Subscriber.ModifyPushConfig:input_type -> google.pubsub.v1beta2.ModifyPushConfigRequest |
| 1715 |
0, // 17: google.pubsub.v1beta2.Publisher.CreateTopic:input_type -> google.pubsub.v1beta2.Topic |
| 1716 |
3, // 18: google.pubsub.v1beta2.Publisher.Publish:input_type -> google.pubsub.v1beta2.PublishRequest |
| 1717 |
2, // 19: google.pubsub.v1beta2.Publisher.GetTopic:input_type -> google.pubsub.v1beta2.GetTopicRequest |
| 1718 |
5, // 20: google.pubsub.v1beta2.Publisher.ListTopics:input_type -> google.pubsub.v1beta2.ListTopicsRequest |
| 1719 |
7, // 21: google.pubsub.v1beta2.Publisher.ListTopicSubscriptions:input_type -> google.pubsub.v1beta2.ListTopicSubscriptionsRequest |
| 1720 |
9, // 22: google.pubsub.v1beta2.Publisher.DeleteTopic:input_type -> google.pubsub.v1beta2.DeleteTopicRequest |
| 1721 |
10, // 23: google.pubsub.v1beta2.Subscriber.CreateSubscription:output_type -> google.pubsub.v1beta2.Subscription |
| 1722 |
10, // 24: google.pubsub.v1beta2.Subscriber.GetSubscription:output_type -> google.pubsub.v1beta2.Subscription |
| 1723 |
15, // 25: google.pubsub.v1beta2.Subscriber.ListSubscriptions:output_type -> google.pubsub.v1beta2.ListSubscriptionsResponse |
| 1724 |
24, // 26: google.pubsub.v1beta2.Subscriber.DeleteSubscription:output_type -> google.protobuf.Empty |
| 1725 |
24, // 27: google.pubsub.v1beta2.Subscriber.ModifyAckDeadline:output_type -> google.protobuf.Empty |
| 1726 |
24, // 28: google.pubsub.v1beta2.Subscriber.Acknowledge:output_type -> google.protobuf.Empty |
| 1727 |
19, // 29: google.pubsub.v1beta2.Subscriber.Pull:output_type -> google.pubsub.v1beta2.PullResponse |
| 1728 |
24, // 30: google.pubsub.v1beta2.Subscriber.ModifyPushConfig:output_type -> google.protobuf.Empty |
| 1729 |
0, // 31: google.pubsub.v1beta2.Publisher.CreateTopic:output_type -> google.pubsub.v1beta2.Topic |
| 1730 |
4, // 32: google.pubsub.v1beta2.Publisher.Publish:output_type -> google.pubsub.v1beta2.PublishResponse |
| 1731 |
0, // 33: google.pubsub.v1beta2.Publisher.GetTopic:output_type -> google.pubsub.v1beta2.Topic |
| 1732 |
6, // 34: google.pubsub.v1beta2.Publisher.ListTopics:output_type -> google.pubsub.v1beta2.ListTopicsResponse |
| 1733 |
8, // 35: google.pubsub.v1beta2.Publisher.ListTopicSubscriptions:output_type -> google.pubsub.v1beta2.ListTopicSubscriptionsResponse |
| 1734 |
24, // 36: google.pubsub.v1beta2.Publisher.DeleteTopic:output_type -> google.protobuf.Empty |
| 1735 |
23, // [23:37] is the sub-list for method output_type |
| 1736 |
9, // [9:23] is the sub-list for method input_type |
| 1737 |
9, // [9:9] is the sub-list for extension type_name |
| 1738 |
9, // [9:9] is the sub-list for extension extendee |
| 1739 |
0, // [0:9] is the sub-list for field type_name |
| 1740 |
} |
| 1741 |
|
| 1742 |
func init() { file_google_pubsub_v1beta2_pubsub_proto_init() } |
| 1743 |
func file_google_pubsub_v1beta2_pubsub_proto_init() { |
| 1744 |
if File_google_pubsub_v1beta2_pubsub_proto != nil { |
| 1745 |
return |
| 1746 |
} |
| 1747 |
if !protoimpl.UnsafeEnabled { |
| 1748 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 1749 |
switch v := v.(*Topic); i { |
| 1750 |
case 0: |
| 1751 |
return &v.state |
| 1752 |
case 1: |
| 1753 |
return &v.sizeCache |
| 1754 |
case 2: |
| 1755 |
return &v.unknownFields |
| 1756 |
default: |
| 1757 |
return nil |
| 1758 |
} |
| 1759 |
} |
| 1760 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 1761 |
switch v := v.(*PubsubMessage); i { |
| 1762 |
case 0: |
| 1763 |
return &v.state |
| 1764 |
case 1: |
| 1765 |
return &v.sizeCache |
| 1766 |
case 2: |
| 1767 |
return &v.unknownFields |
| 1768 |
default: |
| 1769 |
return nil |
| 1770 |
} |
| 1771 |
} |
| 1772 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 1773 |
switch v := v.(*GetTopicRequest); i { |
| 1774 |
case 0: |
| 1775 |
return &v.state |
| 1776 |
case 1: |
| 1777 |
return &v.sizeCache |
| 1778 |
case 2: |
| 1779 |
return &v.unknownFields |
| 1780 |
default: |
| 1781 |
return nil |
| 1782 |
} |
| 1783 |
} |
| 1784 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 1785 |
switch v := v.(*PublishRequest); i { |
| 1786 |
case 0: |
| 1787 |
return &v.state |
| 1788 |
case 1: |
| 1789 |
return &v.sizeCache |
| 1790 |
case 2: |
| 1791 |
return &v.unknownFields |
| 1792 |
default: |
| 1793 |
return nil |
| 1794 |
} |
| 1795 |
} |
| 1796 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 1797 |
switch v := v.(*PublishResponse); i { |
| 1798 |
case 0: |
| 1799 |
return &v.state |
| 1800 |
case 1: |
| 1801 |
return &v.sizeCache |
| 1802 |
case 2: |
| 1803 |
return &v.unknownFields |
| 1804 |
default: |
| 1805 |
return nil |
| 1806 |
} |
| 1807 |
} |
| 1808 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1809 |
switch v := v.(*ListTopicsRequest); i { |
| 1810 |
case 0: |
| 1811 |
return &v.state |
| 1812 |
case 1: |
| 1813 |
return &v.sizeCache |
| 1814 |
case 2: |
| 1815 |
return &v.unknownFields |
| 1816 |
default: |
| 1817 |
return nil |
| 1818 |
} |
| 1819 |
} |
| 1820 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 1821 |
switch v := v.(*ListTopicsResponse); i { |
| 1822 |
case 0: |
| 1823 |
return &v.state |
| 1824 |
case 1: |
| 1825 |
return &v.sizeCache |
| 1826 |
case 2: |
| 1827 |
return &v.unknownFields |
| 1828 |
default: |
| 1829 |
return nil |
| 1830 |
} |
| 1831 |
} |
| 1832 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 1833 |
switch v := v.(*ListTopicSubscriptionsRequest); i { |
| 1834 |
case 0: |
| 1835 |
return &v.state |
| 1836 |
case 1: |
| 1837 |
return &v.sizeCache |
| 1838 |
case 2: |
| 1839 |
return &v.unknownFields |
| 1840 |
default: |
| 1841 |
return nil |
| 1842 |
} |
| 1843 |
} |
| 1844 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 1845 |
switch v := v.(*ListTopicSubscriptionsResponse); i { |
| 1846 |
case 0: |
| 1847 |
return &v.state |
| 1848 |
case 1: |
| 1849 |
return &v.sizeCache |
| 1850 |
case 2: |
| 1851 |
return &v.unknownFields |
| 1852 |
default: |
| 1853 |
return nil |
| 1854 |
} |
| 1855 |
} |
| 1856 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| 1857 |
switch v := v.(*DeleteTopicRequest); i { |
| 1858 |
case 0: |
| 1859 |
return &v.state |
| 1860 |
case 1: |
| 1861 |
return &v.sizeCache |
| 1862 |
case 2: |
| 1863 |
return &v.unknownFields |
| 1864 |
default: |
| 1865 |
return nil |
| 1866 |
} |
| 1867 |
} |
| 1868 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| 1869 |
switch v := v.(*Subscription); i { |
| 1870 |
case 0: |
| 1871 |
return &v.state |
| 1872 |
case 1: |
| 1873 |
return &v.sizeCache |
| 1874 |
case 2: |
| 1875 |
return &v.unknownFields |
| 1876 |
default: |
| 1877 |
return nil |
| 1878 |
} |
| 1879 |
} |
| 1880 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
| 1881 |
switch v := v.(*PushConfig); i { |
| 1882 |
case 0: |
| 1883 |
return &v.state |
| 1884 |
case 1: |
| 1885 |
return &v.sizeCache |
| 1886 |
case 2: |
| 1887 |
return &v.unknownFields |
| 1888 |
default: |
| 1889 |
return nil |
| 1890 |
} |
| 1891 |
} |
| 1892 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
| 1893 |
switch v := v.(*ReceivedMessage); i { |
| 1894 |
case 0: |
| 1895 |
return &v.state |
| 1896 |
case 1: |
| 1897 |
return &v.sizeCache |
| 1898 |
case 2: |
| 1899 |
return &v.unknownFields |
| 1900 |
default: |
| 1901 |
return nil |
| 1902 |
} |
| 1903 |
} |
| 1904 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
| 1905 |
switch v := v.(*GetSubscriptionRequest); i { |
| 1906 |
case 0: |
| 1907 |
return &v.state |
| 1908 |
case 1: |
| 1909 |
return &v.sizeCache |
| 1910 |
case 2: |
| 1911 |
return &v.unknownFields |
| 1912 |
default: |
| 1913 |
return nil |
| 1914 |
} |
| 1915 |
} |
| 1916 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
| 1917 |
switch v := v.(*ListSubscriptionsRequest); i { |
| 1918 |
case 0: |
| 1919 |
return &v.state |
| 1920 |
case 1: |
| 1921 |
return &v.sizeCache |
| 1922 |
case 2: |
| 1923 |
return &v.unknownFields |
| 1924 |
default: |
| 1925 |
return nil |
| 1926 |
} |
| 1927 |
} |
| 1928 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
| 1929 |
switch v := v.(*ListSubscriptionsResponse); i { |
| 1930 |
case 0: |
| 1931 |
return &v.state |
| 1932 |
case 1: |
| 1933 |
return &v.sizeCache |
| 1934 |
case 2: |
| 1935 |
return &v.unknownFields |
| 1936 |
default: |
| 1937 |
return nil |
| 1938 |
} |
| 1939 |
} |
| 1940 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { |
| 1941 |
switch v := v.(*DeleteSubscriptionRequest); i { |
| 1942 |
case 0: |
| 1943 |
return &v.state |
| 1944 |
case 1: |
| 1945 |
return &v.sizeCache |
| 1946 |
case 2: |
| 1947 |
return &v.unknownFields |
| 1948 |
default: |
| 1949 |
return nil |
| 1950 |
} |
| 1951 |
} |
| 1952 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { |
| 1953 |
switch v := v.(*ModifyPushConfigRequest); i { |
| 1954 |
case 0: |
| 1955 |
return &v.state |
| 1956 |
case 1: |
| 1957 |
return &v.sizeCache |
| 1958 |
case 2: |
| 1959 |
return &v.unknownFields |
| 1960 |
default: |
| 1961 |
return nil |
| 1962 |
} |
| 1963 |
} |
| 1964 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { |
| 1965 |
switch v := v.(*PullRequest); i { |
| 1966 |
case 0: |
| 1967 |
return &v.state |
| 1968 |
case 1: |
| 1969 |
return &v.sizeCache |
| 1970 |
case 2: |
| 1971 |
return &v.unknownFields |
| 1972 |
default: |
| 1973 |
return nil |
| 1974 |
} |
| 1975 |
} |
| 1976 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { |
| 1977 |
switch v := v.(*PullResponse); i { |
| 1978 |
case 0: |
| 1979 |
return &v.state |
| 1980 |
case 1: |
| 1981 |
return &v.sizeCache |
| 1982 |
case 2: |
| 1983 |
return &v.unknownFields |
| 1984 |
default: |
| 1985 |
return nil |
| 1986 |
} |
| 1987 |
} |
| 1988 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { |
| 1989 |
switch v := v.(*ModifyAckDeadlineRequest); i { |
| 1990 |
case 0: |
| 1991 |
return &v.state |
| 1992 |
case 1: |
| 1993 |
return &v.sizeCache |
| 1994 |
case 2: |
| 1995 |
return &v.unknownFields |
| 1996 |
default: |
| 1997 |
return nil |
| 1998 |
} |
| 1999 |
} |
| 2000 |
file_google_pubsub_v1beta2_pubsub_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { |
| 2001 |
switch v := v.(*AcknowledgeRequest); i { |
| 2002 |
case 0: |
| 2003 |
return &v.state |
| 2004 |
case 1: |
| 2005 |
return &v.sizeCache |
| 2006 |
case 2: |
| 2007 |
return &v.unknownFields |
| 2008 |
default: |
| 2009 |
return nil |
| 2010 |
} |
| 2011 |
} |
| 2012 |
} |
| 2013 |
type x struct{} |
| 2014 |
out := protoimpl.TypeBuilder{ |
| 2015 |
File: protoimpl.DescBuilder{ |
| 2016 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 2017 |
RawDescriptor: file_google_pubsub_v1beta2_pubsub_proto_rawDesc, |
| 2018 |
NumEnums: 0, |
| 2019 |
NumMessages: 24, |
| 2020 |
NumExtensions: 0, |
| 2021 |
NumServices: 2, |
| 2022 |
}, |
| 2023 |
GoTypes: file_google_pubsub_v1beta2_pubsub_proto_goTypes, |
| 2024 |
DependencyIndexes: file_google_pubsub_v1beta2_pubsub_proto_depIdxs, |
| 2025 |
MessageInfos: file_google_pubsub_v1beta2_pubsub_proto_msgTypes, |
| 2026 |
}.Build() |
| 2027 |
File_google_pubsub_v1beta2_pubsub_proto = out.File |
| 2028 |
file_google_pubsub_v1beta2_pubsub_proto_rawDesc = nil |
| 2029 |
file_google_pubsub_v1beta2_pubsub_proto_goTypes = nil |
| 2030 |
file_google_pubsub_v1beta2_pubsub_proto_depIdxs = nil |
| 2031 |
} |
| 2032 |
|
| 2033 |
// Reference imports to suppress errors if they are not otherwise used. |
| 2034 |
var _ context.Context |
| 2035 |
var _ grpc.ClientConnInterface |
| 2036 |
|
| 2037 |
// This is a compile-time assertion to ensure that this generated file |
| 2038 |
// is compatible with the grpc package it is being compiled against. |
| 2039 |
const _ = grpc.SupportPackageIsVersion6 |
| 2040 |
|
| 2041 |
// SubscriberClient is the client API for Subscriber service. |
| 2042 |
// |
| 2043 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 2044 |
type SubscriberClient interface { |
| 2045 |
// Creates a subscription to a given topic for a given subscriber. |
| 2046 |
// If the subscription already exists, returns ALREADY_EXISTS. |
| 2047 |
// If the corresponding topic doesn't exist, returns NOT_FOUND. |
| 2048 |
// |
| 2049 |
// If the name is not provided in the request, the server will assign a random |
| 2050 |
// name for this subscription on the same project as the topic. |
| 2051 |
CreateSubscription(ctx context.Context, in *Subscription, opts ...grpc.CallOption) (*Subscription, error) |
| 2052 |
// Gets the configuration details of a subscription. |
| 2053 |
GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) |
| 2054 |
// Lists matching subscriptions. |
| 2055 |
ListSubscriptions(ctx context.Context, in *ListSubscriptionsRequest, opts ...grpc.CallOption) (*ListSubscriptionsResponse, error) |
| 2056 |
// Deletes an existing subscription. All pending messages in the subscription |
| 2057 |
// are immediately dropped. Calls to Pull after deletion will return |
| 2058 |
// NOT_FOUND. After a subscription is deleted, a new one may be created with |
| 2059 |
// the same name, but the new one has no association with the old |
| 2060 |
// subscription, or its topic unless the same topic is specified. |
| 2061 |
DeleteSubscription(ctx context.Context, in *DeleteSubscriptionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 2062 |
// Modifies the ack deadline for a specific message. This method is useful to |
| 2063 |
// indicate that more time is needed to process a message by the subscriber, |
| 2064 |
// or to make the message available for redelivery if the processing was |
| 2065 |
// interrupted. |
| 2066 |
ModifyAckDeadline(ctx context.Context, in *ModifyAckDeadlineRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 2067 |
// Acknowledges the messages associated with the ack tokens in the |
| 2068 |
// AcknowledgeRequest. The Pub/Sub system can remove the relevant messages |
| 2069 |
// from the subscription. |
| 2070 |
// |
| 2071 |
// Acknowledging a message whose ack deadline has expired may succeed, |
| 2072 |
// but such a message may be redelivered later. Acknowledging a message more |
| 2073 |
// than once will not result in an error. |
| 2074 |
Acknowledge(ctx context.Context, in *AcknowledgeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 2075 |
// Pulls messages from the server. Returns an empty list if there are no |
| 2076 |
// messages available in the backlog. The server may return UNAVAILABLE if |
| 2077 |
// there are too many concurrent pull requests pending for the given |
| 2078 |
// subscription. |
| 2079 |
Pull(ctx context.Context, in *PullRequest, opts ...grpc.CallOption) (*PullResponse, error) |
| 2080 |
// Modifies the PushConfig for a specified subscription. |
| 2081 |
// |
| 2082 |
// This may be used to change a push subscription to a pull one (signified |
| 2083 |
// by an empty PushConfig) or vice versa, or change the endpoint URL and other |
| 2084 |
// attributes of a push subscription. Messages will accumulate for |
| 2085 |
// delivery continuously through the call regardless of changes to the |
| 2086 |
// PushConfig. |
| 2087 |
ModifyPushConfig(ctx context.Context, in *ModifyPushConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 2088 |
} |
| 2089 |
|
| 2090 |
type subscriberClient struct { |
| 2091 |
cc grpc.ClientConnInterface |
| 2092 |
} |
| 2093 |
|
| 2094 |
func NewSubscriberClient(cc grpc.ClientConnInterface) SubscriberClient { |
| 2095 |
return &subscriberClient{cc} |
| 2096 |
} |
| 2097 |
|
| 2098 |
func (c *subscriberClient) CreateSubscription(ctx context.Context, in *Subscription, opts ...grpc.CallOption) (*Subscription, error) { |
| 2099 |
out := new(Subscription) |
| 2100 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/CreateSubscription", in, out, opts...) |
| 2101 |
if err != nil { |
| 2102 |
return nil, err |
| 2103 |
} |
| 2104 |
return out, nil |
| 2105 |
} |
| 2106 |
|
| 2107 |
func (c *subscriberClient) GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) { |
| 2108 |
out := new(Subscription) |
| 2109 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/GetSubscription", in, out, opts...) |
| 2110 |
if err != nil { |
| 2111 |
return nil, err |
| 2112 |
} |
| 2113 |
return out, nil |
| 2114 |
} |
| 2115 |
|
| 2116 |
func (c *subscriberClient) ListSubscriptions(ctx context.Context, in *ListSubscriptionsRequest, opts ...grpc.CallOption) (*ListSubscriptionsResponse, error) { |
| 2117 |
out := new(ListSubscriptionsResponse) |
| 2118 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/ListSubscriptions", in, out, opts...) |
| 2119 |
if err != nil { |
| 2120 |
return nil, err |
| 2121 |
} |
| 2122 |
return out, nil |
| 2123 |
} |
| 2124 |
|
| 2125 |
func (c *subscriberClient) DeleteSubscription(ctx context.Context, in *DeleteSubscriptionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 2126 |
out := new(emptypb.Empty) |
| 2127 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/DeleteSubscription", in, out, opts...) |
| 2128 |
if err != nil { |
| 2129 |
return nil, err |
| 2130 |
} |
| 2131 |
return out, nil |
| 2132 |
} |
| 2133 |
|
| 2134 |
func (c *subscriberClient) ModifyAckDeadline(ctx context.Context, in *ModifyAckDeadlineRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 2135 |
out := new(emptypb.Empty) |
| 2136 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/ModifyAckDeadline", in, out, opts...) |
| 2137 |
if err != nil { |
| 2138 |
return nil, err |
| 2139 |
} |
| 2140 |
return out, nil |
| 2141 |
} |
| 2142 |
|
| 2143 |
func (c *subscriberClient) Acknowledge(ctx context.Context, in *AcknowledgeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 2144 |
out := new(emptypb.Empty) |
| 2145 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/Acknowledge", in, out, opts...) |
| 2146 |
if err != nil { |
| 2147 |
return nil, err |
| 2148 |
} |
| 2149 |
return out, nil |
| 2150 |
} |
| 2151 |
|
| 2152 |
func (c *subscriberClient) Pull(ctx context.Context, in *PullRequest, opts ...grpc.CallOption) (*PullResponse, error) { |
| 2153 |
out := new(PullResponse) |
| 2154 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/Pull", in, out, opts...) |
| 2155 |
if err != nil { |
| 2156 |
return nil, err |
| 2157 |
} |
| 2158 |
return out, nil |
| 2159 |
} |
| 2160 |
|
| 2161 |
func (c *subscriberClient) ModifyPushConfig(ctx context.Context, in *ModifyPushConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 2162 |
out := new(emptypb.Empty) |
| 2163 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/ModifyPushConfig", in, out, opts...) |
| 2164 |
if err != nil { |
| 2165 |
return nil, err |
| 2166 |
} |
| 2167 |
return out, nil |
| 2168 |
} |
| 2169 |
|
| 2170 |
// SubscriberServer is the server API for Subscriber service. |
| 2171 |
type SubscriberServer interface { |
| 2172 |
// Creates a subscription to a given topic for a given subscriber. |
| 2173 |
// If the subscription already exists, returns ALREADY_EXISTS. |
| 2174 |
// If the corresponding topic doesn't exist, returns NOT_FOUND. |
| 2175 |
// |
| 2176 |
// If the name is not provided in the request, the server will assign a random |
| 2177 |
// name for this subscription on the same project as the topic. |
| 2178 |
CreateSubscription(context.Context, *Subscription) (*Subscription, error) |
| 2179 |
// Gets the configuration details of a subscription. |
| 2180 |
GetSubscription(context.Context, *GetSubscriptionRequest) (*Subscription, error) |
| 2181 |
// Lists matching subscriptions. |
| 2182 |
ListSubscriptions(context.Context, *ListSubscriptionsRequest) (*ListSubscriptionsResponse, error) |
| 2183 |
// Deletes an existing subscription. All pending messages in the subscription |
| 2184 |
// are immediately dropped. Calls to Pull after deletion will return |
| 2185 |
// NOT_FOUND. After a subscription is deleted, a new one may be created with |
| 2186 |
// the same name, but the new one has no association with the old |
| 2187 |
// subscription, or its topic unless the same topic is specified. |
| 2188 |
DeleteSubscription(context.Context, *DeleteSubscriptionRequest) (*emptypb.Empty, error) |
| 2189 |
// Modifies the ack deadline for a specific message. This method is useful to |
| 2190 |
// indicate that more time is needed to process a message by the subscriber, |
| 2191 |
// or to make the message available for redelivery if the processing was |
| 2192 |
// interrupted. |
| 2193 |
ModifyAckDeadline(context.Context, *ModifyAckDeadlineRequest) (*emptypb.Empty, error) |
| 2194 |
// Acknowledges the messages associated with the ack tokens in the |
| 2195 |
// AcknowledgeRequest. The Pub/Sub system can remove the relevant messages |
| 2196 |
// from the subscription. |
| 2197 |
// |
| 2198 |
// Acknowledging a message whose ack deadline has expired may succeed, |
| 2199 |
// but such a message may be redelivered later. Acknowledging a message more |
| 2200 |
// than once will not result in an error. |
| 2201 |
Acknowledge(context.Context, *AcknowledgeRequest) (*emptypb.Empty, error) |
| 2202 |
// Pulls messages from the server. Returns an empty list if there are no |
| 2203 |
// messages available in the backlog. The server may return UNAVAILABLE if |
| 2204 |
// there are too many concurrent pull requests pending for the given |
| 2205 |
// subscription. |
| 2206 |
Pull(context.Context, *PullRequest) (*PullResponse, error) |
| 2207 |
// Modifies the PushConfig for a specified subscription. |
| 2208 |
// |
| 2209 |
// This may be used to change a push subscription to a pull one (signified |
| 2210 |
// by an empty PushConfig) or vice versa, or change the endpoint URL and other |
| 2211 |
// attributes of a push subscription. Messages will accumulate for |
| 2212 |
// delivery continuously through the call regardless of changes to the |
| 2213 |
// PushConfig. |
| 2214 |
ModifyPushConfig(context.Context, *ModifyPushConfigRequest) (*emptypb.Empty, error) |
| 2215 |
} |
| 2216 |
|
| 2217 |
// UnimplementedSubscriberServer can be embedded to have forward compatible implementations. |
| 2218 |
type UnimplementedSubscriberServer struct { |
| 2219 |
} |
| 2220 |
|
| 2221 |
func (*UnimplementedSubscriberServer) CreateSubscription(context.Context, *Subscription) (*Subscription, error) { |
| 2222 |
return nil, status.Errorf(codes.Unimplemented, "method CreateSubscription not implemented") |
| 2223 |
} |
| 2224 |
func (*UnimplementedSubscriberServer) GetSubscription(context.Context, *GetSubscriptionRequest) (*Subscription, error) { |
| 2225 |
return nil, status.Errorf(codes.Unimplemented, "method GetSubscription not implemented") |
| 2226 |
} |
| 2227 |
func (*UnimplementedSubscriberServer) ListSubscriptions(context.Context, *ListSubscriptionsRequest) (*ListSubscriptionsResponse, error) { |
| 2228 |
return nil, status.Errorf(codes.Unimplemented, "method ListSubscriptions not implemented") |
| 2229 |
} |
| 2230 |
func (*UnimplementedSubscriberServer) DeleteSubscription(context.Context, *DeleteSubscriptionRequest) (*emptypb.Empty, error) { |
| 2231 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteSubscription not implemented") |
| 2232 |
} |
| 2233 |
func (*UnimplementedSubscriberServer) ModifyAckDeadline(context.Context, *ModifyAckDeadlineRequest) (*emptypb.Empty, error) { |
| 2234 |
return nil, status.Errorf(codes.Unimplemented, "method ModifyAckDeadline not implemented") |
| 2235 |
} |
| 2236 |
func (*UnimplementedSubscriberServer) Acknowledge(context.Context, *AcknowledgeRequest) (*emptypb.Empty, error) { |
| 2237 |
return nil, status.Errorf(codes.Unimplemented, "method Acknowledge not implemented") |
| 2238 |
} |
| 2239 |
func (*UnimplementedSubscriberServer) Pull(context.Context, *PullRequest) (*PullResponse, error) { |
| 2240 |
return nil, status.Errorf(codes.Unimplemented, "method Pull not implemented") |
| 2241 |
} |
| 2242 |
func (*UnimplementedSubscriberServer) ModifyPushConfig(context.Context, *ModifyPushConfigRequest) (*emptypb.Empty, error) { |
| 2243 |
return nil, status.Errorf(codes.Unimplemented, "method ModifyPushConfig not implemented") |
| 2244 |
} |
| 2245 |
|
| 2246 |
func RegisterSubscriberServer(s *grpc.Server, srv SubscriberServer) { |
| 2247 |
s.RegisterService(&_Subscriber_serviceDesc, srv) |
| 2248 |
} |
| 2249 |
|
| 2250 |
func _Subscriber_CreateSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2251 |
in := new(Subscription) |
| 2252 |
if err := dec(in); err != nil { |
| 2253 |
return nil, err |
| 2254 |
} |
| 2255 |
if interceptor == nil { |
| 2256 |
return srv.(SubscriberServer).CreateSubscription(ctx, in) |
| 2257 |
} |
| 2258 |
info := &grpc.UnaryServerInfo{ |
| 2259 |
Server: srv, |
| 2260 |
FullMethod: "/google.pubsub.v1beta2.Subscriber/CreateSubscription", |
| 2261 |
} |
| 2262 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2263 |
return srv.(SubscriberServer).CreateSubscription(ctx, req.(*Subscription)) |
| 2264 |
} |
| 2265 |
return interceptor(ctx, in, info, handler) |
| 2266 |
} |
| 2267 |
|
| 2268 |
func _Subscriber_GetSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2269 |
in := new(GetSubscriptionRequest) |
| 2270 |
if err := dec(in); err != nil { |
| 2271 |
return nil, err |
| 2272 |
} |
| 2273 |
if interceptor == nil { |
| 2274 |
return srv.(SubscriberServer).GetSubscription(ctx, in) |
| 2275 |
} |
| 2276 |
info := &grpc.UnaryServerInfo{ |
| 2277 |
Server: srv, |
| 2278 |
FullMethod: "/google.pubsub.v1beta2.Subscriber/GetSubscription", |
| 2279 |
} |
| 2280 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2281 |
return srv.(SubscriberServer).GetSubscription(ctx, req.(*GetSubscriptionRequest)) |
| 2282 |
} |
| 2283 |
return interceptor(ctx, in, info, handler) |
| 2284 |
} |
| 2285 |
|
| 2286 |
func _Subscriber_ListSubscriptions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2287 |
in := new(ListSubscriptionsRequest) |
| 2288 |
if err := dec(in); err != nil { |
| 2289 |
return nil, err |
| 2290 |
} |
| 2291 |
if interceptor == nil { |
| 2292 |
return srv.(SubscriberServer).ListSubscriptions(ctx, in) |
| 2293 |
} |
| 2294 |
info := &grpc.UnaryServerInfo{ |
| 2295 |
Server: srv, |
| 2296 |
FullMethod: "/google.pubsub.v1beta2.Subscriber/ListSubscriptions", |
| 2297 |
} |
| 2298 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2299 |
return srv.(SubscriberServer).ListSubscriptions(ctx, req.(*ListSubscriptionsRequest)) |
| 2300 |
} |
| 2301 |
return interceptor(ctx, in, info, handler) |
| 2302 |
} |
| 2303 |
|
| 2304 |
func _Subscriber_DeleteSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2305 |
in := new(DeleteSubscriptionRequest) |
| 2306 |
if err := dec(in); err != nil { |
| 2307 |
return nil, err |
| 2308 |
} |
| 2309 |
if interceptor == nil { |
| 2310 |
return srv.(SubscriberServer).DeleteSubscription(ctx, in) |
| 2311 |
} |
| 2312 |
info := &grpc.UnaryServerInfo{ |
| 2313 |
Server: srv, |
| 2314 |
FullMethod: "/google.pubsub.v1beta2.Subscriber/DeleteSubscription", |
| 2315 |
} |
| 2316 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2317 |
return srv.(SubscriberServer).DeleteSubscription(ctx, req.(*DeleteSubscriptionRequest)) |
| 2318 |
} |
| 2319 |
return interceptor(ctx, in, info, handler) |
| 2320 |
} |
| 2321 |
|
| 2322 |
func _Subscriber_ModifyAckDeadline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2323 |
in := new(ModifyAckDeadlineRequest) |
| 2324 |
if err := dec(in); err != nil { |
| 2325 |
return nil, err |
| 2326 |
} |
| 2327 |
if interceptor == nil { |
| 2328 |
return srv.(SubscriberServer).ModifyAckDeadline(ctx, in) |
| 2329 |
} |
| 2330 |
info := &grpc.UnaryServerInfo{ |
| 2331 |
Server: srv, |
| 2332 |
FullMethod: "/google.pubsub.v1beta2.Subscriber/ModifyAckDeadline", |
| 2333 |
} |
| 2334 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2335 |
return srv.(SubscriberServer).ModifyAckDeadline(ctx, req.(*ModifyAckDeadlineRequest)) |
| 2336 |
} |
| 2337 |
return interceptor(ctx, in, info, handler) |
| 2338 |
} |
| 2339 |
|
| 2340 |
func _Subscriber_Acknowledge_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2341 |
in := new(AcknowledgeRequest) |
| 2342 |
if err := dec(in); err != nil { |
| 2343 |
return nil, err |
| 2344 |
} |
| 2345 |
if interceptor == nil { |
| 2346 |
return srv.(SubscriberServer).Acknowledge(ctx, in) |
| 2347 |
} |
| 2348 |
info := &grpc.UnaryServerInfo{ |
| 2349 |
Server: srv, |
| 2350 |
FullMethod: "/google.pubsub.v1beta2.Subscriber/Acknowledge", |
| 2351 |
} |
| 2352 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2353 |
return srv.(SubscriberServer).Acknowledge(ctx, req.(*AcknowledgeRequest)) |
| 2354 |
} |
| 2355 |
return interceptor(ctx, in, info, handler) |
| 2356 |
} |
| 2357 |
|
| 2358 |
func _Subscriber_Pull_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2359 |
in := new(PullRequest) |
| 2360 |
if err := dec(in); err != nil { |
| 2361 |
return nil, err |
| 2362 |
} |
| 2363 |
if interceptor == nil { |
| 2364 |
return srv.(SubscriberServer).Pull(ctx, in) |
| 2365 |
} |
| 2366 |
info := &grpc.UnaryServerInfo{ |
| 2367 |
Server: srv, |
| 2368 |
FullMethod: "/google.pubsub.v1beta2.Subscriber/Pull", |
| 2369 |
} |
| 2370 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2371 |
return srv.(SubscriberServer).Pull(ctx, req.(*PullRequest)) |
| 2372 |
} |
| 2373 |
return interceptor(ctx, in, info, handler) |
| 2374 |
} |
| 2375 |
|
| 2376 |
func _Subscriber_ModifyPushConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2377 |
in := new(ModifyPushConfigRequest) |
| 2378 |
if err := dec(in); err != nil { |
| 2379 |
return nil, err |
| 2380 |
} |
| 2381 |
if interceptor == nil { |
| 2382 |
return srv.(SubscriberServer).ModifyPushConfig(ctx, in) |
| 2383 |
} |
| 2384 |
info := &grpc.UnaryServerInfo{ |
| 2385 |
Server: srv, |
| 2386 |
FullMethod: "/google.pubsub.v1beta2.Subscriber/ModifyPushConfig", |
| 2387 |
} |
| 2388 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2389 |
return srv.(SubscriberServer).ModifyPushConfig(ctx, req.(*ModifyPushConfigRequest)) |
| 2390 |
} |
| 2391 |
return interceptor(ctx, in, info, handler) |
| 2392 |
} |
| 2393 |
|
| 2394 |
var _Subscriber_serviceDesc = grpc.ServiceDesc{ |
| 2395 |
ServiceName: "google.pubsub.v1beta2.Subscriber", |
| 2396 |
HandlerType: (*SubscriberServer)(nil), |
| 2397 |
Methods: []grpc.MethodDesc{ |
| 2398 |
{ |
| 2399 |
MethodName: "CreateSubscription", |
| 2400 |
Handler: _Subscriber_CreateSubscription_Handler, |
| 2401 |
}, |
| 2402 |
{ |
| 2403 |
MethodName: "GetSubscription", |
| 2404 |
Handler: _Subscriber_GetSubscription_Handler, |
| 2405 |
}, |
| 2406 |
{ |
| 2407 |
MethodName: "ListSubscriptions", |
| 2408 |
Handler: _Subscriber_ListSubscriptions_Handler, |
| 2409 |
}, |
| 2410 |
{ |
| 2411 |
MethodName: "DeleteSubscription", |
| 2412 |
Handler: _Subscriber_DeleteSubscription_Handler, |
| 2413 |
}, |
| 2414 |
{ |
| 2415 |
MethodName: "ModifyAckDeadline", |
| 2416 |
Handler: _Subscriber_ModifyAckDeadline_Handler, |
| 2417 |
}, |
| 2418 |
{ |
| 2419 |
MethodName: "Acknowledge", |
| 2420 |
Handler: _Subscriber_Acknowledge_Handler, |
| 2421 |
}, |
| 2422 |
{ |
| 2423 |
MethodName: "Pull", |
| 2424 |
Handler: _Subscriber_Pull_Handler, |
| 2425 |
}, |
| 2426 |
{ |
| 2427 |
MethodName: "ModifyPushConfig", |
| 2428 |
Handler: _Subscriber_ModifyPushConfig_Handler, |
| 2429 |
}, |
| 2430 |
}, |
| 2431 |
Streams: []grpc.StreamDesc{}, |
| 2432 |
Metadata: "google/pubsub/v1beta2/pubsub.proto", |
| 2433 |
} |
| 2434 |
|
| 2435 |
// PublisherClient is the client API for Publisher service. |
| 2436 |
// |
| 2437 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 2438 |
type PublisherClient interface { |
| 2439 |
// Creates the given topic with the given name. |
| 2440 |
CreateTopic(ctx context.Context, in *Topic, opts ...grpc.CallOption) (*Topic, error) |
| 2441 |
// Adds one or more messages to the topic. Returns NOT_FOUND if the topic does |
| 2442 |
// not exist. |
| 2443 |
Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error) |
| 2444 |
// Gets the configuration of a topic. |
| 2445 |
GetTopic(ctx context.Context, in *GetTopicRequest, opts ...grpc.CallOption) (*Topic, error) |
| 2446 |
// Lists matching topics. |
| 2447 |
ListTopics(ctx context.Context, in *ListTopicsRequest, opts ...grpc.CallOption) (*ListTopicsResponse, error) |
| 2448 |
// Lists the name of the subscriptions for this topic. |
| 2449 |
ListTopicSubscriptions(ctx context.Context, in *ListTopicSubscriptionsRequest, opts ...grpc.CallOption) (*ListTopicSubscriptionsResponse, error) |
| 2450 |
// Deletes the topic with the given name. Returns NOT_FOUND if the topic does |
| 2451 |
// not exist. After a topic is deleted, a new topic may be created with the |
| 2452 |
// same name; this is an entirely new topic with none of the old |
| 2453 |
// configuration or subscriptions. Existing subscriptions to this topic are |
| 2454 |
// not deleted. |
| 2455 |
DeleteTopic(ctx context.Context, in *DeleteTopicRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 2456 |
} |
| 2457 |
|
| 2458 |
type publisherClient struct { |
| 2459 |
cc grpc.ClientConnInterface |
| 2460 |
} |
| 2461 |
|
| 2462 |
func NewPublisherClient(cc grpc.ClientConnInterface) PublisherClient { |
| 2463 |
return &publisherClient{cc} |
| 2464 |
} |
| 2465 |
|
| 2466 |
func (c *publisherClient) CreateTopic(ctx context.Context, in *Topic, opts ...grpc.CallOption) (*Topic, error) { |
| 2467 |
out := new(Topic) |
| 2468 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Publisher/CreateTopic", in, out, opts...) |
| 2469 |
if err != nil { |
| 2470 |
return nil, err |
| 2471 |
} |
| 2472 |
return out, nil |
| 2473 |
} |
| 2474 |
|
| 2475 |
func (c *publisherClient) Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error) { |
| 2476 |
out := new(PublishResponse) |
| 2477 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Publisher/Publish", in, out, opts...) |
| 2478 |
if err != nil { |
| 2479 |
return nil, err |
| 2480 |
} |
| 2481 |
return out, nil |
| 2482 |
} |
| 2483 |
|
| 2484 |
func (c *publisherClient) GetTopic(ctx context.Context, in *GetTopicRequest, opts ...grpc.CallOption) (*Topic, error) { |
| 2485 |
out := new(Topic) |
| 2486 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Publisher/GetTopic", in, out, opts...) |
| 2487 |
if err != nil { |
| 2488 |
return nil, err |
| 2489 |
} |
| 2490 |
return out, nil |
| 2491 |
} |
| 2492 |
|
| 2493 |
func (c *publisherClient) ListTopics(ctx context.Context, in *ListTopicsRequest, opts ...grpc.CallOption) (*ListTopicsResponse, error) { |
| 2494 |
out := new(ListTopicsResponse) |
| 2495 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Publisher/ListTopics", in, out, opts...) |
| 2496 |
if err != nil { |
| 2497 |
return nil, err |
| 2498 |
} |
| 2499 |
return out, nil |
| 2500 |
} |
| 2501 |
|
| 2502 |
func (c *publisherClient) ListTopicSubscriptions(ctx context.Context, in *ListTopicSubscriptionsRequest, opts ...grpc.CallOption) (*ListTopicSubscriptionsResponse, error) { |
| 2503 |
out := new(ListTopicSubscriptionsResponse) |
| 2504 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Publisher/ListTopicSubscriptions", in, out, opts...) |
| 2505 |
if err != nil { |
| 2506 |
return nil, err |
| 2507 |
} |
| 2508 |
return out, nil |
| 2509 |
} |
| 2510 |
|
| 2511 |
func (c *publisherClient) DeleteTopic(ctx context.Context, in *DeleteTopicRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 2512 |
out := new(emptypb.Empty) |
| 2513 |
err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Publisher/DeleteTopic", in, out, opts...) |
| 2514 |
if err != nil { |
| 2515 |
return nil, err |
| 2516 |
} |
| 2517 |
return out, nil |
| 2518 |
} |
| 2519 |
|
| 2520 |
// PublisherServer is the server API for Publisher service. |
| 2521 |
type PublisherServer interface { |
| 2522 |
// Creates the given topic with the given name. |
| 2523 |
CreateTopic(context.Context, *Topic) (*Topic, error) |
| 2524 |
// Adds one or more messages to the topic. Returns NOT_FOUND if the topic does |
| 2525 |
// not exist. |
| 2526 |
Publish(context.Context, *PublishRequest) (*PublishResponse, error) |
| 2527 |
// Gets the configuration of a topic. |
| 2528 |
GetTopic(context.Context, *GetTopicRequest) (*Topic, error) |
| 2529 |
// Lists matching topics. |
| 2530 |
ListTopics(context.Context, *ListTopicsRequest) (*ListTopicsResponse, error) |
| 2531 |
// Lists the name of the subscriptions for this topic. |
| 2532 |
ListTopicSubscriptions(context.Context, *ListTopicSubscriptionsRequest) (*ListTopicSubscriptionsResponse, error) |
| 2533 |
// Deletes the topic with the given name. Returns NOT_FOUND if the topic does |
| 2534 |
// not exist. After a topic is deleted, a new topic may be created with the |
| 2535 |
// same name; this is an entirely new topic with none of the old |
| 2536 |
// configuration or subscriptions. Existing subscriptions to this topic are |
| 2537 |
// not deleted. |
| 2538 |
DeleteTopic(context.Context, *DeleteTopicRequest) (*emptypb.Empty, error) |
| 2539 |
} |
| 2540 |
|
| 2541 |
// UnimplementedPublisherServer can be embedded to have forward compatible implementations. |
| 2542 |
type UnimplementedPublisherServer struct { |
| 2543 |
} |
| 2544 |
|
| 2545 |
func (*UnimplementedPublisherServer) CreateTopic(context.Context, *Topic) (*Topic, error) { |
| 2546 |
return nil, status.Errorf(codes.Unimplemented, "method CreateTopic not implemented") |
| 2547 |
} |
| 2548 |
func (*UnimplementedPublisherServer) Publish(context.Context, *PublishRequest) (*PublishResponse, error) { |
| 2549 |
return nil, status.Errorf(codes.Unimplemented, "method Publish not implemented") |
| 2550 |
} |
| 2551 |
func (*UnimplementedPublisherServer) GetTopic(context.Context, *GetTopicRequest) (*Topic, error) { |
| 2552 |
return nil, status.Errorf(codes.Unimplemented, "method GetTopic not implemented") |
| 2553 |
} |
| 2554 |
func (*UnimplementedPublisherServer) ListTopics(context.Context, *ListTopicsRequest) (*ListTopicsResponse, error) { |
| 2555 |
return nil, status.Errorf(codes.Unimplemented, "method ListTopics not implemented") |
| 2556 |
} |
| 2557 |
func (*UnimplementedPublisherServer) ListTopicSubscriptions(context.Context, *ListTopicSubscriptionsRequest) (*ListTopicSubscriptionsResponse, error) { |
| 2558 |
return nil, status.Errorf(codes.Unimplemented, "method ListTopicSubscriptions not implemented") |
| 2559 |
} |
| 2560 |
func (*UnimplementedPublisherServer) DeleteTopic(context.Context, *DeleteTopicRequest) (*emptypb.Empty, error) { |
| 2561 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteTopic not implemented") |
| 2562 |
} |
| 2563 |
|
| 2564 |
func RegisterPublisherServer(s *grpc.Server, srv PublisherServer) { |
| 2565 |
s.RegisterService(&_Publisher_serviceDesc, srv) |
| 2566 |
} |
| 2567 |
|
| 2568 |
func _Publisher_CreateTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2569 |
in := new(Topic) |
| 2570 |
if err := dec(in); err != nil { |
| 2571 |
return nil, err |
| 2572 |
} |
| 2573 |
if interceptor == nil { |
| 2574 |
return srv.(PublisherServer).CreateTopic(ctx, in) |
| 2575 |
} |
| 2576 |
info := &grpc.UnaryServerInfo{ |
| 2577 |
Server: srv, |
| 2578 |
FullMethod: "/google.pubsub.v1beta2.Publisher/CreateTopic", |
| 2579 |
} |
| 2580 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2581 |
return srv.(PublisherServer).CreateTopic(ctx, req.(*Topic)) |
| 2582 |
} |
| 2583 |
return interceptor(ctx, in, info, handler) |
| 2584 |
} |
| 2585 |
|
| 2586 |
func _Publisher_Publish_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2587 |
in := new(PublishRequest) |
| 2588 |
if err := dec(in); err != nil { |
| 2589 |
return nil, err |
| 2590 |
} |
| 2591 |
if interceptor == nil { |
| 2592 |
return srv.(PublisherServer).Publish(ctx, in) |
| 2593 |
} |
| 2594 |
info := &grpc.UnaryServerInfo{ |
| 2595 |
Server: srv, |
| 2596 |
FullMethod: "/google.pubsub.v1beta2.Publisher/Publish", |
| 2597 |
} |
| 2598 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2599 |
return srv.(PublisherServer).Publish(ctx, req.(*PublishRequest)) |
| 2600 |
} |
| 2601 |
return interceptor(ctx, in, info, handler) |
| 2602 |
} |
| 2603 |
|
| 2604 |
func _Publisher_GetTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2605 |
in := new(GetTopicRequest) |
| 2606 |
if err := dec(in); err != nil { |
| 2607 |
return nil, err |
| 2608 |
} |
| 2609 |
if interceptor == nil { |
| 2610 |
return srv.(PublisherServer).GetTopic(ctx, in) |
| 2611 |
} |
| 2612 |
info := &grpc.UnaryServerInfo{ |
| 2613 |
Server: srv, |
| 2614 |
FullMethod: "/google.pubsub.v1beta2.Publisher/GetTopic", |
| 2615 |
} |
| 2616 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2617 |
return srv.(PublisherServer).GetTopic(ctx, req.(*GetTopicRequest)) |
| 2618 |
} |
| 2619 |
return interceptor(ctx, in, info, handler) |
| 2620 |
} |
| 2621 |
|
| 2622 |
func _Publisher_ListTopics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2623 |
in := new(ListTopicsRequest) |
| 2624 |
if err := dec(in); err != nil { |
| 2625 |
return nil, err |
| 2626 |
} |
| 2627 |
if interceptor == nil { |
| 2628 |
return srv.(PublisherServer).ListTopics(ctx, in) |
| 2629 |
} |
| 2630 |
info := &grpc.UnaryServerInfo{ |
| 2631 |
Server: srv, |
| 2632 |
FullMethod: "/google.pubsub.v1beta2.Publisher/ListTopics", |
| 2633 |
} |
| 2634 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2635 |
return srv.(PublisherServer).ListTopics(ctx, req.(*ListTopicsRequest)) |
| 2636 |
} |
| 2637 |
return interceptor(ctx, in, info, handler) |
| 2638 |
} |
| 2639 |
|
| 2640 |
func _Publisher_ListTopicSubscriptions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2641 |
in := new(ListTopicSubscriptionsRequest) |
| 2642 |
if err := dec(in); err != nil { |
| 2643 |
return nil, err |
| 2644 |
} |
| 2645 |
if interceptor == nil { |
| 2646 |
return srv.(PublisherServer).ListTopicSubscriptions(ctx, in) |
| 2647 |
} |
| 2648 |
info := &grpc.UnaryServerInfo{ |
| 2649 |
Server: srv, |
| 2650 |
FullMethod: "/google.pubsub.v1beta2.Publisher/ListTopicSubscriptions", |
| 2651 |
} |
| 2652 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2653 |
return srv.(PublisherServer).ListTopicSubscriptions(ctx, req.(*ListTopicSubscriptionsRequest)) |
| 2654 |
} |
| 2655 |
return interceptor(ctx, in, info, handler) |
| 2656 |
} |
| 2657 |
|
| 2658 |
func _Publisher_DeleteTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2659 |
in := new(DeleteTopicRequest) |
| 2660 |
if err := dec(in); err != nil { |
| 2661 |
return nil, err |
| 2662 |
} |
| 2663 |
if interceptor == nil { |
| 2664 |
return srv.(PublisherServer).DeleteTopic(ctx, in) |
| 2665 |
} |
| 2666 |
info := &grpc.UnaryServerInfo{ |
| 2667 |
Server: srv, |
| 2668 |
FullMethod: "/google.pubsub.v1beta2.Publisher/DeleteTopic", |
| 2669 |
} |
| 2670 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2671 |
return srv.(PublisherServer).DeleteTopic(ctx, req.(*DeleteTopicRequest)) |
| 2672 |
} |
| 2673 |
return interceptor(ctx, in, info, handler) |
| 2674 |
} |
| 2675 |
|
| 2676 |
var _Publisher_serviceDesc = grpc.ServiceDesc{ |
| 2677 |
ServiceName: "google.pubsub.v1beta2.Publisher", |
| 2678 |
HandlerType: (*PublisherServer)(nil), |
| 2679 |
Methods: []grpc.MethodDesc{ |
| 2680 |
{ |
| 2681 |
MethodName: "CreateTopic", |
| 2682 |
Handler: _Publisher_CreateTopic_Handler, |
| 2683 |
}, |
| 2684 |
{ |
| 2685 |
MethodName: "Publish", |
| 2686 |
Handler: _Publisher_Publish_Handler, |
| 2687 |
}, |
| 2688 |
{ |
| 2689 |
MethodName: "GetTopic", |
| 2690 |
Handler: _Publisher_GetTopic_Handler, |
| 2691 |
}, |
| 2692 |
{ |
| 2693 |
MethodName: "ListTopics", |
| 2694 |
Handler: _Publisher_ListTopics_Handler, |
| 2695 |
}, |
| 2696 |
{ |
| 2697 |
MethodName: "ListTopicSubscriptions", |
| 2698 |
Handler: _Publisher_ListTopicSubscriptions_Handler, |
| 2699 |
}, |
| 2700 |
{ |
| 2701 |
MethodName: "DeleteTopic", |
| 2702 |
Handler: _Publisher_DeleteTopic_Handler, |
| 2703 |
}, |
| 2704 |
}, |
| 2705 |
Streams: []grpc.StreamDesc{}, |
| 2706 |
Metadata: "google/pubsub/v1beta2/pubsub.proto", |
| 2707 |
} |