• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pact-foundation / pact-go / 14842327637

05 May 2025 05:25PM UTC coverage: 28.238%. Remained the same
14842327637

Pull #519

github

web-flow
build(deps): bump golangci/golangci-lint-action from 6 to 8

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 8.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6...v8)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #519: build(deps): bump golangci/golangci-lint-action from 6 to 8

1805 of 6392 relevant lines covered (28.24%)

8.25 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/internal/native/io.pact.plugin/plugin.pb.go
1
// Proto file for Pact plugin interface V1
2

3
// Code generated by protoc-gen-go. DO NOT EDIT.
4
// versions:
5
//         protoc-gen-go v1.28.0
6
//         protoc        v3.19.4
7
// source: pact_plugin.proto
8

9
package io_pact_plugin
10

11
import (
12
        protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13
        protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14
        emptypb "google.golang.org/protobuf/types/known/emptypb"
15
        structpb "google.golang.org/protobuf/types/known/structpb"
16
        wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
17
        reflect "reflect"
18
        sync "sync"
19
)
20

21
const (
22
        // Verify that this generated code is sufficiently up-to-date.
23
        _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24
        // Verify that runtime/protoimpl is sufficiently up-to-date.
25
        _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26
)
27

28
type CatalogueEntry_EntryType int32
29

30
const (
31
        // Matcher for contents of messages, requests or response bodies
32
        CatalogueEntry_CONTENT_MATCHER CatalogueEntry_EntryType = 0
33
        // Generator for contents of messages, requests or response bodies
34
        CatalogueEntry_CONTENT_GENERATOR CatalogueEntry_EntryType = 1
35
        // Mock server for a network protocol
36
        CatalogueEntry_MOCK_SERVER CatalogueEntry_EntryType = 2
37
        // Matching rule for content field/values
38
        CatalogueEntry_MATCHER CatalogueEntry_EntryType = 3
39
        // Type of interaction
40
        CatalogueEntry_INTERACTION CatalogueEntry_EntryType = 4
41
)
42

43
// Enum value maps for CatalogueEntry_EntryType.
44
var (
45
        CatalogueEntry_EntryType_name = map[int32]string{
46
                0: "CONTENT_MATCHER",
47
                1: "CONTENT_GENERATOR",
48
                2: "MOCK_SERVER",
49
                3: "MATCHER",
50
                4: "INTERACTION",
51
        }
52
        CatalogueEntry_EntryType_value = map[string]int32{
53
                "CONTENT_MATCHER":   0,
54
                "CONTENT_GENERATOR": 1,
55
                "MOCK_SERVER":       2,
56
                "MATCHER":           3,
57
                "INTERACTION":       4,
58
        }
59
)
60

61
func (x CatalogueEntry_EntryType) Enum() *CatalogueEntry_EntryType {
×
62
        p := new(CatalogueEntry_EntryType)
×
63
        *p = x
×
64
        return p
×
65
}
×
66

67
func (x CatalogueEntry_EntryType) String() string {
×
68
        return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
×
69
}
×
70

71
func (CatalogueEntry_EntryType) Descriptor() protoreflect.EnumDescriptor {
×
72
        return file_plugin_proto_enumTypes[0].Descriptor()
×
73
}
×
74

75
func (CatalogueEntry_EntryType) Type() protoreflect.EnumType {
×
76
        return &file_plugin_proto_enumTypes[0]
×
77
}
×
78

79
func (x CatalogueEntry_EntryType) Number() protoreflect.EnumNumber {
×
80
        return protoreflect.EnumNumber(x)
×
81
}
×
82

83
// Deprecated: Use CatalogueEntry_EntryType.Descriptor instead.
84
func (CatalogueEntry_EntryType) EnumDescriptor() ([]byte, []int) {
×
85
        return file_plugin_proto_rawDescGZIP(), []int{1, 0}
×
86
}
×
87

88
// Enum of content type override. This is a hint on how the content type should be treated.
89
type Body_ContentTypeHint int32
90

91
const (
92
        // Determine the form of the content using the default rules of the Pact implementation
93
        Body_DEFAULT Body_ContentTypeHint = 0
94
        // Contents must always be treated as a text form
95
        Body_TEXT Body_ContentTypeHint = 1
96
        // Contents must always be treated as a binary form
97
        Body_BINARY Body_ContentTypeHint = 2
98
)
99

100
// Enum value maps for Body_ContentTypeHint.
101
var (
102
        Body_ContentTypeHint_name = map[int32]string{
103
                0: "DEFAULT",
104
                1: "TEXT",
105
                2: "BINARY",
106
        }
107
        Body_ContentTypeHint_value = map[string]int32{
108
                "DEFAULT": 0,
109
                "TEXT":    1,
110
                "BINARY":  2,
111
        }
112
)
113

114
func (x Body_ContentTypeHint) Enum() *Body_ContentTypeHint {
×
115
        p := new(Body_ContentTypeHint)
×
116
        *p = x
×
117
        return p
×
118
}
×
119

120
func (x Body_ContentTypeHint) String() string {
×
121
        return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
×
122
}
×
123

124
func (Body_ContentTypeHint) Descriptor() protoreflect.EnumDescriptor {
×
125
        return file_plugin_proto_enumTypes[1].Descriptor()
×
126
}
×
127

128
func (Body_ContentTypeHint) Type() protoreflect.EnumType {
×
129
        return &file_plugin_proto_enumTypes[1]
×
130
}
×
131

132
func (x Body_ContentTypeHint) Number() protoreflect.EnumNumber {
×
133
        return protoreflect.EnumNumber(x)
×
134
}
×
135

136
// Deprecated: Use Body_ContentTypeHint.Descriptor instead.
137
func (Body_ContentTypeHint) EnumDescriptor() ([]byte, []int) {
×
138
        return file_plugin_proto_rawDescGZIP(), []int{4, 0}
×
139
}
×
140

141
// Type of markup used
142
type InteractionResponse_MarkupType int32
143

144
const (
145
        // CommonMark format
146
        InteractionResponse_COMMON_MARK InteractionResponse_MarkupType = 0
147
        // HTML format
148
        InteractionResponse_HTML InteractionResponse_MarkupType = 1
149
)
150

151
// Enum value maps for InteractionResponse_MarkupType.
152
var (
153
        InteractionResponse_MarkupType_name = map[int32]string{
154
                0: "COMMON_MARK",
155
                1: "HTML",
156
        }
157
        InteractionResponse_MarkupType_value = map[string]int32{
158
                "COMMON_MARK": 0,
159
                "HTML":        1,
160
        }
161
)
162

163
func (x InteractionResponse_MarkupType) Enum() *InteractionResponse_MarkupType {
×
164
        p := new(InteractionResponse_MarkupType)
×
165
        *p = x
×
166
        return p
×
167
}
×
168

169
func (x InteractionResponse_MarkupType) String() string {
×
170
        return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
×
171
}
×
172

173
func (InteractionResponse_MarkupType) Descriptor() protoreflect.EnumDescriptor {
×
174
        return file_plugin_proto_enumTypes[2].Descriptor()
×
175
}
×
176

177
func (InteractionResponse_MarkupType) Type() protoreflect.EnumType {
×
178
        return &file_plugin_proto_enumTypes[2]
×
179
}
×
180

181
func (x InteractionResponse_MarkupType) Number() protoreflect.EnumNumber {
×
182
        return protoreflect.EnumNumber(x)
×
183
}
×
184

185
// Deprecated: Use InteractionResponse_MarkupType.Descriptor instead.
186
func (InteractionResponse_MarkupType) EnumDescriptor() ([]byte, []int) {
×
187
        return file_plugin_proto_rawDescGZIP(), []int{15, 0}
×
188
}
×
189

190
// Request to verify the plugin has loaded OK
191
type InitPluginRequest struct {
192
        state         protoimpl.MessageState
193
        sizeCache     protoimpl.SizeCache
194
        unknownFields protoimpl.UnknownFields
195

196
        // Implementation calling the plugin
197
        Implementation string `protobuf:"bytes,1,opt,name=implementation,proto3" json:"implementation,omitempty"`
198
        // Version of the implementation
199
        Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
200
}
201

202
func (x *InitPluginRequest) Reset() {
×
203
        *x = InitPluginRequest{}
×
204
        if protoimpl.UnsafeEnabled {
×
205
                mi := &file_plugin_proto_msgTypes[0]
×
206
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
207
                ms.StoreMessageInfo(mi)
×
208
        }
×
209
}
210

211
func (x *InitPluginRequest) String() string {
×
212
        return protoimpl.X.MessageStringOf(x)
×
213
}
×
214

215
func (*InitPluginRequest) ProtoMessage() {}
×
216

217
func (x *InitPluginRequest) ProtoReflect() protoreflect.Message {
×
218
        mi := &file_plugin_proto_msgTypes[0]
×
219
        if protoimpl.UnsafeEnabled && x != nil {
×
220
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
221
                if ms.LoadMessageInfo() == nil {
×
222
                        ms.StoreMessageInfo(mi)
×
223
                }
×
224
                return ms
×
225
        }
226
        return mi.MessageOf(x)
×
227
}
228

229
// Deprecated: Use InitPluginRequest.ProtoReflect.Descriptor instead.
230
func (*InitPluginRequest) Descriptor() ([]byte, []int) {
×
231
        return file_plugin_proto_rawDescGZIP(), []int{0}
×
232
}
×
233

234
func (x *InitPluginRequest) GetImplementation() string {
×
235
        if x != nil {
×
236
                return x.Implementation
×
237
        }
×
238
        return ""
×
239
}
240

241
func (x *InitPluginRequest) GetVersion() string {
×
242
        if x != nil {
×
243
                return x.Version
×
244
        }
×
245
        return ""
×
246
}
247

248
// Entry to be added to the core catalogue. Each entry describes one of the features the plugin provides.
249
// Entries will be stored in the catalogue under the key "plugin/$name/$type/$key".
250
type CatalogueEntry struct {
251
        state         protoimpl.MessageState
252
        sizeCache     protoimpl.SizeCache
253
        unknownFields protoimpl.UnknownFields
254

255
        // Entry type
256
        Type CatalogueEntry_EntryType `protobuf:"varint,1,opt,name=type,proto3,enum=io.pact.plugin.CatalogueEntry_EntryType" json:"type,omitempty"`
257
        // Entry key
258
        Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
259
        // Associated data required for the entry. For CONTENT_MATCHER and CONTENT_GENERATOR types, a "content-types"
260
        // value (separated by semi-colons) is required for all the content types the plugin supports.
261
        Values map[string]string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
262
}
263

264
func (x *CatalogueEntry) Reset() {
×
265
        *x = CatalogueEntry{}
×
266
        if protoimpl.UnsafeEnabled {
×
267
                mi := &file_plugin_proto_msgTypes[1]
×
268
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
269
                ms.StoreMessageInfo(mi)
×
270
        }
×
271
}
272

273
func (x *CatalogueEntry) String() string {
×
274
        return protoimpl.X.MessageStringOf(x)
×
275
}
×
276

277
func (*CatalogueEntry) ProtoMessage() {}
×
278

279
func (x *CatalogueEntry) ProtoReflect() protoreflect.Message {
×
280
        mi := &file_plugin_proto_msgTypes[1]
×
281
        if protoimpl.UnsafeEnabled && x != nil {
×
282
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
283
                if ms.LoadMessageInfo() == nil {
×
284
                        ms.StoreMessageInfo(mi)
×
285
                }
×
286
                return ms
×
287
        }
288
        return mi.MessageOf(x)
×
289
}
290

291
// Deprecated: Use CatalogueEntry.ProtoReflect.Descriptor instead.
292
func (*CatalogueEntry) Descriptor() ([]byte, []int) {
×
293
        return file_plugin_proto_rawDescGZIP(), []int{1}
×
294
}
×
295

296
func (x *CatalogueEntry) GetType() CatalogueEntry_EntryType {
×
297
        if x != nil {
×
298
                return x.Type
×
299
        }
×
300
        return CatalogueEntry_CONTENT_MATCHER
×
301
}
302

303
func (x *CatalogueEntry) GetKey() string {
×
304
        if x != nil {
×
305
                return x.Key
×
306
        }
×
307
        return ""
×
308
}
309

310
func (x *CatalogueEntry) GetValues() map[string]string {
×
311
        if x != nil {
×
312
                return x.Values
×
313
        }
×
314
        return nil
×
315
}
316

317
// Response to init plugin, providing the catalogue entries the plugin provides
318
type InitPluginResponse struct {
319
        state         protoimpl.MessageState
320
        sizeCache     protoimpl.SizeCache
321
        unknownFields protoimpl.UnknownFields
322

323
        // List of entries the plugin supports
324
        Catalogue []*CatalogueEntry `protobuf:"bytes,1,rep,name=catalogue,proto3" json:"catalogue,omitempty"`
325
}
326

327
func (x *InitPluginResponse) Reset() {
×
328
        *x = InitPluginResponse{}
×
329
        if protoimpl.UnsafeEnabled {
×
330
                mi := &file_plugin_proto_msgTypes[2]
×
331
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
332
                ms.StoreMessageInfo(mi)
×
333
        }
×
334
}
335

336
func (x *InitPluginResponse) String() string {
×
337
        return protoimpl.X.MessageStringOf(x)
×
338
}
×
339

340
func (*InitPluginResponse) ProtoMessage() {}
×
341

342
func (x *InitPluginResponse) ProtoReflect() protoreflect.Message {
×
343
        mi := &file_plugin_proto_msgTypes[2]
×
344
        if protoimpl.UnsafeEnabled && x != nil {
×
345
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
346
                if ms.LoadMessageInfo() == nil {
×
347
                        ms.StoreMessageInfo(mi)
×
348
                }
×
349
                return ms
×
350
        }
351
        return mi.MessageOf(x)
×
352
}
353

354
// Deprecated: Use InitPluginResponse.ProtoReflect.Descriptor instead.
355
func (*InitPluginResponse) Descriptor() ([]byte, []int) {
×
356
        return file_plugin_proto_rawDescGZIP(), []int{2}
×
357
}
×
358

359
func (x *InitPluginResponse) GetCatalogue() []*CatalogueEntry {
×
360
        if x != nil {
×
361
                return x.Catalogue
×
362
        }
×
363
        return nil
×
364
}
365

366
// Catalogue of Core Pact + Plugin features
367
type Catalogue struct {
368
        state         protoimpl.MessageState
369
        sizeCache     protoimpl.SizeCache
370
        unknownFields protoimpl.UnknownFields
371

372
        // List of entries from the core catalogue
373
        Catalogue []*CatalogueEntry `protobuf:"bytes,1,rep,name=catalogue,proto3" json:"catalogue,omitempty"`
374
}
375

376
func (x *Catalogue) Reset() {
×
377
        *x = Catalogue{}
×
378
        if protoimpl.UnsafeEnabled {
×
379
                mi := &file_plugin_proto_msgTypes[3]
×
380
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
381
                ms.StoreMessageInfo(mi)
×
382
        }
×
383
}
384

385
func (x *Catalogue) String() string {
×
386
        return protoimpl.X.MessageStringOf(x)
×
387
}
×
388

389
func (*Catalogue) ProtoMessage() {}
×
390

391
func (x *Catalogue) ProtoReflect() protoreflect.Message {
×
392
        mi := &file_plugin_proto_msgTypes[3]
×
393
        if protoimpl.UnsafeEnabled && x != nil {
×
394
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
395
                if ms.LoadMessageInfo() == nil {
×
396
                        ms.StoreMessageInfo(mi)
×
397
                }
×
398
                return ms
×
399
        }
400
        return mi.MessageOf(x)
×
401
}
402

403
// Deprecated: Use Catalogue.ProtoReflect.Descriptor instead.
404
func (*Catalogue) Descriptor() ([]byte, []int) {
×
405
        return file_plugin_proto_rawDescGZIP(), []int{3}
×
406
}
×
407

408
func (x *Catalogue) GetCatalogue() []*CatalogueEntry {
×
409
        if x != nil {
×
410
                return x.Catalogue
×
411
        }
×
412
        return nil
×
413
}
414

415
// Message representing a request, response or message body
416
type Body struct {
417
        state         protoimpl.MessageState
418
        sizeCache     protoimpl.SizeCache
419
        unknownFields protoimpl.UnknownFields
420

421
        // The content type of the body in MIME format (i.e. application/json)
422
        ContentType string `protobuf:"bytes,1,opt,name=contentType,proto3" json:"contentType,omitempty"`
423
        // Bytes of the actual content
424
        Content *wrapperspb.BytesValue `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
425
        // Content type override to apply (if required). If omitted, the default rules of the Pact implementation
426
        // will be used
427
        ContentTypeHint Body_ContentTypeHint `protobuf:"varint,3,opt,name=contentTypeHint,proto3,enum=io.pact.plugin.Body_ContentTypeHint" json:"contentTypeHint,omitempty"`
428
}
429

430
func (x *Body) Reset() {
×
431
        *x = Body{}
×
432
        if protoimpl.UnsafeEnabled {
×
433
                mi := &file_plugin_proto_msgTypes[4]
×
434
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
435
                ms.StoreMessageInfo(mi)
×
436
        }
×
437
}
438

439
func (x *Body) String() string {
×
440
        return protoimpl.X.MessageStringOf(x)
×
441
}
×
442

443
func (*Body) ProtoMessage() {}
×
444

445
func (x *Body) ProtoReflect() protoreflect.Message {
×
446
        mi := &file_plugin_proto_msgTypes[4]
×
447
        if protoimpl.UnsafeEnabled && x != nil {
×
448
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
449
                if ms.LoadMessageInfo() == nil {
×
450
                        ms.StoreMessageInfo(mi)
×
451
                }
×
452
                return ms
×
453
        }
454
        return mi.MessageOf(x)
×
455
}
456

457
// Deprecated: Use Body.ProtoReflect.Descriptor instead.
458
func (*Body) Descriptor() ([]byte, []int) {
×
459
        return file_plugin_proto_rawDescGZIP(), []int{4}
×
460
}
×
461

462
func (x *Body) GetContentType() string {
×
463
        if x != nil {
×
464
                return x.ContentType
×
465
        }
×
466
        return ""
×
467
}
468

469
func (x *Body) GetContent() *wrapperspb.BytesValue {
×
470
        if x != nil {
×
471
                return x.Content
×
472
        }
×
473
        return nil
×
474
}
475

476
func (x *Body) GetContentTypeHint() Body_ContentTypeHint {
×
477
        if x != nil {
×
478
                return x.ContentTypeHint
×
479
        }
×
480
        return Body_DEFAULT
×
481
}
482

483
// Request to preform a comparison on an actual body given the expected one
484
type CompareContentsRequest struct {
485
        state         protoimpl.MessageState
486
        sizeCache     protoimpl.SizeCache
487
        unknownFields protoimpl.UnknownFields
488

489
        // Expected body from the Pact interaction
490
        Expected *Body `protobuf:"bytes,1,opt,name=expected,proto3" json:"expected,omitempty"`
491
        // Actual received body
492
        Actual *Body `protobuf:"bytes,2,opt,name=actual,proto3" json:"actual,omitempty"`
493
        // If unexpected keys or attributes should be allowed. Setting this to false results in additional keys or fields
494
        // will cause a mismatch
495
        AllowUnexpectedKeys bool `protobuf:"varint,3,opt,name=allow_unexpected_keys,json=allowUnexpectedKeys,proto3" json:"allow_unexpected_keys,omitempty"`
496
        // Map of expressions to matching rules. The expressions follow the documented Pact matching rule expressions
497
        Rules map[string]*MatchingRules `protobuf:"bytes,4,rep,name=rules,proto3" json:"rules,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
498
        // Additional data added to the Pact/Interaction by the plugin
499
        PluginConfiguration *PluginConfiguration `protobuf:"bytes,5,opt,name=pluginConfiguration,proto3" json:"pluginConfiguration,omitempty"`
500
}
501

502
func (x *CompareContentsRequest) Reset() {
×
503
        *x = CompareContentsRequest{}
×
504
        if protoimpl.UnsafeEnabled {
×
505
                mi := &file_plugin_proto_msgTypes[5]
×
506
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
507
                ms.StoreMessageInfo(mi)
×
508
        }
×
509
}
510

511
func (x *CompareContentsRequest) String() string {
×
512
        return protoimpl.X.MessageStringOf(x)
×
513
}
×
514

515
func (*CompareContentsRequest) ProtoMessage() {}
×
516

517
func (x *CompareContentsRequest) ProtoReflect() protoreflect.Message {
×
518
        mi := &file_plugin_proto_msgTypes[5]
×
519
        if protoimpl.UnsafeEnabled && x != nil {
×
520
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
521
                if ms.LoadMessageInfo() == nil {
×
522
                        ms.StoreMessageInfo(mi)
×
523
                }
×
524
                return ms
×
525
        }
526
        return mi.MessageOf(x)
×
527
}
528

529
// Deprecated: Use CompareContentsRequest.ProtoReflect.Descriptor instead.
530
func (*CompareContentsRequest) Descriptor() ([]byte, []int) {
×
531
        return file_plugin_proto_rawDescGZIP(), []int{5}
×
532
}
×
533

534
func (x *CompareContentsRequest) GetExpected() *Body {
×
535
        if x != nil {
×
536
                return x.Expected
×
537
        }
×
538
        return nil
×
539
}
540

541
func (x *CompareContentsRequest) GetActual() *Body {
×
542
        if x != nil {
×
543
                return x.Actual
×
544
        }
×
545
        return nil
×
546
}
547

548
func (x *CompareContentsRequest) GetAllowUnexpectedKeys() bool {
×
549
        if x != nil {
×
550
                return x.AllowUnexpectedKeys
×
551
        }
×
552
        return false
×
553
}
554

555
func (x *CompareContentsRequest) GetRules() map[string]*MatchingRules {
×
556
        if x != nil {
×
557
                return x.Rules
×
558
        }
×
559
        return nil
×
560
}
561

562
func (x *CompareContentsRequest) GetPluginConfiguration() *PluginConfiguration {
×
563
        if x != nil {
×
564
                return x.PluginConfiguration
×
565
        }
×
566
        return nil
×
567
}
568

569
// Indicates that there was a mismatch with the content type
570
type ContentTypeMismatch struct {
571
        state         protoimpl.MessageState
572
        sizeCache     protoimpl.SizeCache
573
        unknownFields protoimpl.UnknownFields
574

575
        // Expected content type (MIME format)
576
        Expected string `protobuf:"bytes,1,opt,name=expected,proto3" json:"expected,omitempty"`
577
        // Actual content type received (MIME format)
578
        Actual string `protobuf:"bytes,2,opt,name=actual,proto3" json:"actual,omitempty"`
579
}
580

581
func (x *ContentTypeMismatch) Reset() {
×
582
        *x = ContentTypeMismatch{}
×
583
        if protoimpl.UnsafeEnabled {
×
584
                mi := &file_plugin_proto_msgTypes[6]
×
585
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
586
                ms.StoreMessageInfo(mi)
×
587
        }
×
588
}
589

590
func (x *ContentTypeMismatch) String() string {
×
591
        return protoimpl.X.MessageStringOf(x)
×
592
}
×
593

594
func (*ContentTypeMismatch) ProtoMessage() {}
×
595

596
func (x *ContentTypeMismatch) ProtoReflect() protoreflect.Message {
×
597
        mi := &file_plugin_proto_msgTypes[6]
×
598
        if protoimpl.UnsafeEnabled && x != nil {
×
599
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
600
                if ms.LoadMessageInfo() == nil {
×
601
                        ms.StoreMessageInfo(mi)
×
602
                }
×
603
                return ms
×
604
        }
605
        return mi.MessageOf(x)
×
606
}
607

608
// Deprecated: Use ContentTypeMismatch.ProtoReflect.Descriptor instead.
609
func (*ContentTypeMismatch) Descriptor() ([]byte, []int) {
×
610
        return file_plugin_proto_rawDescGZIP(), []int{6}
×
611
}
×
612

613
func (x *ContentTypeMismatch) GetExpected() string {
×
614
        if x != nil {
×
615
                return x.Expected
×
616
        }
×
617
        return ""
×
618
}
619

620
func (x *ContentTypeMismatch) GetActual() string {
×
621
        if x != nil {
×
622
                return x.Actual
×
623
        }
×
624
        return ""
×
625
}
626

627
// A mismatch for an particular item of content
628
type ContentMismatch struct {
629
        state         protoimpl.MessageState
630
        sizeCache     protoimpl.SizeCache
631
        unknownFields protoimpl.UnknownFields
632

633
        // Expected data bytes
634
        Expected *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=expected,proto3" json:"expected,omitempty"`
635
        // Actual data bytes
636
        Actual *wrapperspb.BytesValue `protobuf:"bytes,2,opt,name=actual,proto3" json:"actual,omitempty"`
637
        // Description of the mismatch
638
        Mismatch string `protobuf:"bytes,3,opt,name=mismatch,proto3" json:"mismatch,omitempty"`
639
        // Path to the item that was matched. This is the value as per the documented Pact matching rule expressions.
640
        Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
641
        // Optional diff of the contents
642
        Diff string `protobuf:"bytes,5,opt,name=diff,proto3" json:"diff,omitempty"`
643
}
644

645
func (x *ContentMismatch) Reset() {
×
646
        *x = ContentMismatch{}
×
647
        if protoimpl.UnsafeEnabled {
×
648
                mi := &file_plugin_proto_msgTypes[7]
×
649
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
650
                ms.StoreMessageInfo(mi)
×
651
        }
×
652
}
653

654
func (x *ContentMismatch) String() string {
×
655
        return protoimpl.X.MessageStringOf(x)
×
656
}
×
657

658
func (*ContentMismatch) ProtoMessage() {}
×
659

660
func (x *ContentMismatch) ProtoReflect() protoreflect.Message {
×
661
        mi := &file_plugin_proto_msgTypes[7]
×
662
        if protoimpl.UnsafeEnabled && x != nil {
×
663
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
664
                if ms.LoadMessageInfo() == nil {
×
665
                        ms.StoreMessageInfo(mi)
×
666
                }
×
667
                return ms
×
668
        }
669
        return mi.MessageOf(x)
×
670
}
671

672
// Deprecated: Use ContentMismatch.ProtoReflect.Descriptor instead.
673
func (*ContentMismatch) Descriptor() ([]byte, []int) {
×
674
        return file_plugin_proto_rawDescGZIP(), []int{7}
×
675
}
×
676

677
func (x *ContentMismatch) GetExpected() *wrapperspb.BytesValue {
×
678
        if x != nil {
×
679
                return x.Expected
×
680
        }
×
681
        return nil
×
682
}
683

684
func (x *ContentMismatch) GetActual() *wrapperspb.BytesValue {
×
685
        if x != nil {
×
686
                return x.Actual
×
687
        }
×
688
        return nil
×
689
}
690

691
func (x *ContentMismatch) GetMismatch() string {
×
692
        if x != nil {
×
693
                return x.Mismatch
×
694
        }
×
695
        return ""
×
696
}
697

698
func (x *ContentMismatch) GetPath() string {
×
699
        if x != nil {
×
700
                return x.Path
×
701
        }
×
702
        return ""
×
703
}
704

705
func (x *ContentMismatch) GetDiff() string {
×
706
        if x != nil {
×
707
                return x.Diff
×
708
        }
×
709
        return ""
×
710
}
711

712
// List of content mismatches
713
type ContentMismatches struct {
714
        state         protoimpl.MessageState
715
        sizeCache     protoimpl.SizeCache
716
        unknownFields protoimpl.UnknownFields
717

718
        Mismatches []*ContentMismatch `protobuf:"bytes,1,rep,name=mismatches,proto3" json:"mismatches,omitempty"`
719
}
720

721
func (x *ContentMismatches) Reset() {
×
722
        *x = ContentMismatches{}
×
723
        if protoimpl.UnsafeEnabled {
×
724
                mi := &file_plugin_proto_msgTypes[8]
×
725
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
726
                ms.StoreMessageInfo(mi)
×
727
        }
×
728
}
729

730
func (x *ContentMismatches) String() string {
×
731
        return protoimpl.X.MessageStringOf(x)
×
732
}
×
733

734
func (*ContentMismatches) ProtoMessage() {}
×
735

736
func (x *ContentMismatches) ProtoReflect() protoreflect.Message {
×
737
        mi := &file_plugin_proto_msgTypes[8]
×
738
        if protoimpl.UnsafeEnabled && x != nil {
×
739
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
740
                if ms.LoadMessageInfo() == nil {
×
741
                        ms.StoreMessageInfo(mi)
×
742
                }
×
743
                return ms
×
744
        }
745
        return mi.MessageOf(x)
×
746
}
747

748
// Deprecated: Use ContentMismatches.ProtoReflect.Descriptor instead.
749
func (*ContentMismatches) Descriptor() ([]byte, []int) {
×
750
        return file_plugin_proto_rawDescGZIP(), []int{8}
×
751
}
×
752

753
func (x *ContentMismatches) GetMismatches() []*ContentMismatch {
×
754
        if x != nil {
×
755
                return x.Mismatches
×
756
        }
×
757
        return nil
×
758
}
759

760
// Response to the CompareContentsRequest with the results of the comparison
761
type CompareContentsResponse struct {
762
        state         protoimpl.MessageState
763
        sizeCache     protoimpl.SizeCache
764
        unknownFields protoimpl.UnknownFields
765

766
        // Error message if an error occurred. If this field is set, the remaining fields will be ignored and the
767
        // verification marked as failed
768
        Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
769
        // There was a mismatch with the types of content. If this is set, the results may not be set.
770
        TypeMismatch *ContentTypeMismatch `protobuf:"bytes,2,opt,name=typeMismatch,proto3" json:"typeMismatch,omitempty"`
771
        // Results of the match, keyed by matching rule expression
772
        Results map[string]*ContentMismatches `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
773
}
774

775
func (x *CompareContentsResponse) Reset() {
×
776
        *x = CompareContentsResponse{}
×
777
        if protoimpl.UnsafeEnabled {
×
778
                mi := &file_plugin_proto_msgTypes[9]
×
779
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
780
                ms.StoreMessageInfo(mi)
×
781
        }
×
782
}
783

784
func (x *CompareContentsResponse) String() string {
×
785
        return protoimpl.X.MessageStringOf(x)
×
786
}
×
787

788
func (*CompareContentsResponse) ProtoMessage() {}
×
789

790
func (x *CompareContentsResponse) ProtoReflect() protoreflect.Message {
×
791
        mi := &file_plugin_proto_msgTypes[9]
×
792
        if protoimpl.UnsafeEnabled && x != nil {
×
793
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
794
                if ms.LoadMessageInfo() == nil {
×
795
                        ms.StoreMessageInfo(mi)
×
796
                }
×
797
                return ms
×
798
        }
799
        return mi.MessageOf(x)
×
800
}
801

802
// Deprecated: Use CompareContentsResponse.ProtoReflect.Descriptor instead.
803
func (*CompareContentsResponse) Descriptor() ([]byte, []int) {
×
804
        return file_plugin_proto_rawDescGZIP(), []int{9}
×
805
}
×
806

807
func (x *CompareContentsResponse) GetError() string {
×
808
        if x != nil {
×
809
                return x.Error
×
810
        }
×
811
        return ""
×
812
}
813

814
func (x *CompareContentsResponse) GetTypeMismatch() *ContentTypeMismatch {
×
815
        if x != nil {
×
816
                return x.TypeMismatch
×
817
        }
×
818
        return nil
×
819
}
820

821
func (x *CompareContentsResponse) GetResults() map[string]*ContentMismatches {
×
822
        if x != nil {
×
823
                return x.Results
×
824
        }
×
825
        return nil
×
826
}
827

828
// Request to configure/setup an interaction so that it can be verified later
829
type ConfigureInteractionRequest struct {
830
        state         protoimpl.MessageState
831
        sizeCache     protoimpl.SizeCache
832
        unknownFields protoimpl.UnknownFields
833

834
        // Content type of the interaction (MIME format)
835
        ContentType string `protobuf:"bytes,1,opt,name=contentType,proto3" json:"contentType,omitempty"`
836
        // This is data specified by the user in the consumer test
837
        ContentsConfig *structpb.Struct `protobuf:"bytes,2,opt,name=contentsConfig,proto3" json:"contentsConfig,omitempty"`
838
}
839

840
func (x *ConfigureInteractionRequest) Reset() {
×
841
        *x = ConfigureInteractionRequest{}
×
842
        if protoimpl.UnsafeEnabled {
×
843
                mi := &file_plugin_proto_msgTypes[10]
×
844
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
845
                ms.StoreMessageInfo(mi)
×
846
        }
×
847
}
848

849
func (x *ConfigureInteractionRequest) String() string {
×
850
        return protoimpl.X.MessageStringOf(x)
×
851
}
×
852

853
func (*ConfigureInteractionRequest) ProtoMessage() {}
×
854

855
func (x *ConfigureInteractionRequest) ProtoReflect() protoreflect.Message {
×
856
        mi := &file_plugin_proto_msgTypes[10]
×
857
        if protoimpl.UnsafeEnabled && x != nil {
×
858
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
859
                if ms.LoadMessageInfo() == nil {
×
860
                        ms.StoreMessageInfo(mi)
×
861
                }
×
862
                return ms
×
863
        }
864
        return mi.MessageOf(x)
×
865
}
866

867
// Deprecated: Use ConfigureInteractionRequest.ProtoReflect.Descriptor instead.
868
func (*ConfigureInteractionRequest) Descriptor() ([]byte, []int) {
×
869
        return file_plugin_proto_rawDescGZIP(), []int{10}
×
870
}
×
871

872
func (x *ConfigureInteractionRequest) GetContentType() string {
×
873
        if x != nil {
×
874
                return x.ContentType
×
875
        }
×
876
        return ""
×
877
}
878

879
func (x *ConfigureInteractionRequest) GetContentsConfig() *structpb.Struct {
×
880
        if x != nil {
×
881
                return x.ContentsConfig
×
882
        }
×
883
        return nil
×
884
}
885

886
// Represents a matching rule
887
type MatchingRule struct {
888
        state         protoimpl.MessageState
889
        sizeCache     protoimpl.SizeCache
890
        unknownFields protoimpl.UnknownFields
891

892
        // Type of the matching rule
893
        Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
894
        // Associated data for the matching rule
895
        Values *structpb.Struct `protobuf:"bytes,2,opt,name=values,proto3" json:"values,omitempty"`
896
}
897

898
func (x *MatchingRule) Reset() {
×
899
        *x = MatchingRule{}
×
900
        if protoimpl.UnsafeEnabled {
×
901
                mi := &file_plugin_proto_msgTypes[11]
×
902
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
903
                ms.StoreMessageInfo(mi)
×
904
        }
×
905
}
906

907
func (x *MatchingRule) String() string {
×
908
        return protoimpl.X.MessageStringOf(x)
×
909
}
×
910

911
func (*MatchingRule) ProtoMessage() {}
×
912

913
func (x *MatchingRule) ProtoReflect() protoreflect.Message {
×
914
        mi := &file_plugin_proto_msgTypes[11]
×
915
        if protoimpl.UnsafeEnabled && x != nil {
×
916
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
917
                if ms.LoadMessageInfo() == nil {
×
918
                        ms.StoreMessageInfo(mi)
×
919
                }
×
920
                return ms
×
921
        }
922
        return mi.MessageOf(x)
×
923
}
924

925
// Deprecated: Use MatchingRule.ProtoReflect.Descriptor instead.
926
func (*MatchingRule) Descriptor() ([]byte, []int) {
×
927
        return file_plugin_proto_rawDescGZIP(), []int{11}
×
928
}
×
929

930
func (x *MatchingRule) GetType() string {
×
931
        if x != nil {
×
932
                return x.Type
×
933
        }
×
934
        return ""
×
935
}
936

937
func (x *MatchingRule) GetValues() *structpb.Struct {
×
938
        if x != nil {
×
939
                return x.Values
×
940
        }
×
941
        return nil
×
942
}
943

944
// List of matching rules
945
type MatchingRules struct {
946
        state         protoimpl.MessageState
947
        sizeCache     protoimpl.SizeCache
948
        unknownFields protoimpl.UnknownFields
949

950
        Rule []*MatchingRule `protobuf:"bytes,1,rep,name=rule,proto3" json:"rule,omitempty"`
951
}
952

953
func (x *MatchingRules) Reset() {
×
954
        *x = MatchingRules{}
×
955
        if protoimpl.UnsafeEnabled {
×
956
                mi := &file_plugin_proto_msgTypes[12]
×
957
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
958
                ms.StoreMessageInfo(mi)
×
959
        }
×
960
}
961

962
func (x *MatchingRules) String() string {
×
963
        return protoimpl.X.MessageStringOf(x)
×
964
}
×
965

966
func (*MatchingRules) ProtoMessage() {}
×
967

968
func (x *MatchingRules) ProtoReflect() protoreflect.Message {
×
969
        mi := &file_plugin_proto_msgTypes[12]
×
970
        if protoimpl.UnsafeEnabled && x != nil {
×
971
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
972
                if ms.LoadMessageInfo() == nil {
×
973
                        ms.StoreMessageInfo(mi)
×
974
                }
×
975
                return ms
×
976
        }
977
        return mi.MessageOf(x)
×
978
}
979

980
// Deprecated: Use MatchingRules.ProtoReflect.Descriptor instead.
981
func (*MatchingRules) Descriptor() ([]byte, []int) {
×
982
        return file_plugin_proto_rawDescGZIP(), []int{12}
×
983
}
×
984

985
func (x *MatchingRules) GetRule() []*MatchingRule {
×
986
        if x != nil {
×
987
                return x.Rule
×
988
        }
×
989
        return nil
×
990
}
991

992
// Example generator
993
type Generator struct {
994
        state         protoimpl.MessageState
995
        sizeCache     protoimpl.SizeCache
996
        unknownFields protoimpl.UnknownFields
997

998
        // Type of generator
999
        Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
1000
        // Associated data for the generator
1001
        Values *structpb.Struct `protobuf:"bytes,2,opt,name=values,proto3" json:"values,omitempty"`
1002
}
1003

1004
func (x *Generator) Reset() {
×
1005
        *x = Generator{}
×
1006
        if protoimpl.UnsafeEnabled {
×
1007
                mi := &file_plugin_proto_msgTypes[13]
×
1008
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1009
                ms.StoreMessageInfo(mi)
×
1010
        }
×
1011
}
1012

1013
func (x *Generator) String() string {
×
1014
        return protoimpl.X.MessageStringOf(x)
×
1015
}
×
1016

1017
func (*Generator) ProtoMessage() {}
×
1018

1019
func (x *Generator) ProtoReflect() protoreflect.Message {
×
1020
        mi := &file_plugin_proto_msgTypes[13]
×
1021
        if protoimpl.UnsafeEnabled && x != nil {
×
1022
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1023
                if ms.LoadMessageInfo() == nil {
×
1024
                        ms.StoreMessageInfo(mi)
×
1025
                }
×
1026
                return ms
×
1027
        }
1028
        return mi.MessageOf(x)
×
1029
}
1030

1031
// Deprecated: Use Generator.ProtoReflect.Descriptor instead.
1032
func (*Generator) Descriptor() ([]byte, []int) {
×
1033
        return file_plugin_proto_rawDescGZIP(), []int{13}
×
1034
}
×
1035

1036
func (x *Generator) GetType() string {
×
1037
        if x != nil {
×
1038
                return x.Type
×
1039
        }
×
1040
        return ""
×
1041
}
1042

1043
func (x *Generator) GetValues() *structpb.Struct {
×
1044
        if x != nil {
×
1045
                return x.Values
×
1046
        }
×
1047
        return nil
×
1048
}
1049

1050
// Plugin configuration added to the pact file by the ConfigureInteraction step
1051
type PluginConfiguration struct {
1052
        state         protoimpl.MessageState
1053
        sizeCache     protoimpl.SizeCache
1054
        unknownFields protoimpl.UnknownFields
1055

1056
        // Data to be persisted against the interaction
1057
        InteractionConfiguration *structpb.Struct `protobuf:"bytes,1,opt,name=interactionConfiguration,proto3" json:"interactionConfiguration,omitempty"`
1058
        // Data to be persisted in the Pact file metadata (Global data)
1059
        PactConfiguration *structpb.Struct `protobuf:"bytes,2,opt,name=pactConfiguration,proto3" json:"pactConfiguration,omitempty"`
1060
}
1061

1062
func (x *PluginConfiguration) Reset() {
×
1063
        *x = PluginConfiguration{}
×
1064
        if protoimpl.UnsafeEnabled {
×
1065
                mi := &file_plugin_proto_msgTypes[14]
×
1066
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1067
                ms.StoreMessageInfo(mi)
×
1068
        }
×
1069
}
1070

1071
func (x *PluginConfiguration) String() string {
×
1072
        return protoimpl.X.MessageStringOf(x)
×
1073
}
×
1074

1075
func (*PluginConfiguration) ProtoMessage() {}
×
1076

1077
func (x *PluginConfiguration) ProtoReflect() protoreflect.Message {
×
1078
        mi := &file_plugin_proto_msgTypes[14]
×
1079
        if protoimpl.UnsafeEnabled && x != nil {
×
1080
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1081
                if ms.LoadMessageInfo() == nil {
×
1082
                        ms.StoreMessageInfo(mi)
×
1083
                }
×
1084
                return ms
×
1085
        }
1086
        return mi.MessageOf(x)
×
1087
}
1088

1089
// Deprecated: Use PluginConfiguration.ProtoReflect.Descriptor instead.
1090
func (*PluginConfiguration) Descriptor() ([]byte, []int) {
×
1091
        return file_plugin_proto_rawDescGZIP(), []int{14}
×
1092
}
×
1093

1094
func (x *PluginConfiguration) GetInteractionConfiguration() *structpb.Struct {
×
1095
        if x != nil {
×
1096
                return x.InteractionConfiguration
×
1097
        }
×
1098
        return nil
×
1099
}
1100

1101
func (x *PluginConfiguration) GetPactConfiguration() *structpb.Struct {
×
1102
        if x != nil {
×
1103
                return x.PactConfiguration
×
1104
        }
×
1105
        return nil
×
1106
}
1107

1108
// Response to the configure/setup an interaction request
1109
type InteractionResponse struct {
1110
        state         protoimpl.MessageState
1111
        sizeCache     protoimpl.SizeCache
1112
        unknownFields protoimpl.UnknownFields
1113

1114
        // Contents for the interaction
1115
        Contents *Body `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"`
1116
        // All matching rules to apply
1117
        Rules map[string]*MatchingRules `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
1118
        // Generators to apply
1119
        Generators map[string]*Generator `protobuf:"bytes,3,rep,name=generators,proto3" json:"generators,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
1120
        // For message interactions, any metadata to be applied
1121
        MessageMetadata *structpb.Struct `protobuf:"bytes,4,opt,name=messageMetadata,proto3" json:"messageMetadata,omitempty"`
1122
        // Plugin specific data to be persisted in the pact file
1123
        PluginConfiguration *PluginConfiguration `protobuf:"bytes,5,opt,name=pluginConfiguration,proto3" json:"pluginConfiguration,omitempty"`
1124
        // Markdown/HTML formatted text representation of the interaction
1125
        InteractionMarkup     string                         `protobuf:"bytes,6,opt,name=interactionMarkup,proto3" json:"interactionMarkup,omitempty"`
1126
        InteractionMarkupType InteractionResponse_MarkupType `protobuf:"varint,7,opt,name=interactionMarkupType,proto3,enum=io.pact.plugin.InteractionResponse_MarkupType" json:"interactionMarkupType,omitempty"`
1127
        // Description of what part this interaction belongs to (in the case of there being more than one, for instance,
1128
        // request/response messages)
1129
        PartName string `protobuf:"bytes,8,opt,name=partName,proto3" json:"partName,omitempty"`
1130
}
1131

1132
func (x *InteractionResponse) Reset() {
×
1133
        *x = InteractionResponse{}
×
1134
        if protoimpl.UnsafeEnabled {
×
1135
                mi := &file_plugin_proto_msgTypes[15]
×
1136
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1137
                ms.StoreMessageInfo(mi)
×
1138
        }
×
1139
}
1140

1141
func (x *InteractionResponse) String() string {
×
1142
        return protoimpl.X.MessageStringOf(x)
×
1143
}
×
1144

1145
func (*InteractionResponse) ProtoMessage() {}
×
1146

1147
func (x *InteractionResponse) ProtoReflect() protoreflect.Message {
×
1148
        mi := &file_plugin_proto_msgTypes[15]
×
1149
        if protoimpl.UnsafeEnabled && x != nil {
×
1150
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1151
                if ms.LoadMessageInfo() == nil {
×
1152
                        ms.StoreMessageInfo(mi)
×
1153
                }
×
1154
                return ms
×
1155
        }
1156
        return mi.MessageOf(x)
×
1157
}
1158

1159
// Deprecated: Use InteractionResponse.ProtoReflect.Descriptor instead.
1160
func (*InteractionResponse) Descriptor() ([]byte, []int) {
×
1161
        return file_plugin_proto_rawDescGZIP(), []int{15}
×
1162
}
×
1163

1164
func (x *InteractionResponse) GetContents() *Body {
×
1165
        if x != nil {
×
1166
                return x.Contents
×
1167
        }
×
1168
        return nil
×
1169
}
1170

1171
func (x *InteractionResponse) GetRules() map[string]*MatchingRules {
×
1172
        if x != nil {
×
1173
                return x.Rules
×
1174
        }
×
1175
        return nil
×
1176
}
1177

1178
func (x *InteractionResponse) GetGenerators() map[string]*Generator {
×
1179
        if x != nil {
×
1180
                return x.Generators
×
1181
        }
×
1182
        return nil
×
1183
}
1184

1185
func (x *InteractionResponse) GetMessageMetadata() *structpb.Struct {
×
1186
        if x != nil {
×
1187
                return x.MessageMetadata
×
1188
        }
×
1189
        return nil
×
1190
}
1191

1192
func (x *InteractionResponse) GetPluginConfiguration() *PluginConfiguration {
×
1193
        if x != nil {
×
1194
                return x.PluginConfiguration
×
1195
        }
×
1196
        return nil
×
1197
}
1198

1199
func (x *InteractionResponse) GetInteractionMarkup() string {
×
1200
        if x != nil {
×
1201
                return x.InteractionMarkup
×
1202
        }
×
1203
        return ""
×
1204
}
1205

1206
func (x *InteractionResponse) GetInteractionMarkupType() InteractionResponse_MarkupType {
×
1207
        if x != nil {
×
1208
                return x.InteractionMarkupType
×
1209
        }
×
1210
        return InteractionResponse_COMMON_MARK
×
1211
}
1212

1213
func (x *InteractionResponse) GetPartName() string {
×
1214
        if x != nil {
×
1215
                return x.PartName
×
1216
        }
×
1217
        return ""
×
1218
}
1219

1220
// Response to the configure/setup an interaction request
1221
type ConfigureInteractionResponse struct {
1222
        state         protoimpl.MessageState
1223
        sizeCache     protoimpl.SizeCache
1224
        unknownFields protoimpl.UnknownFields
1225

1226
        // If an error occurred. In this case, the other fields will be ignored/not set
1227
        Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
1228
        // The actual response if no error occurred.
1229
        Interaction []*InteractionResponse `protobuf:"bytes,2,rep,name=interaction,proto3" json:"interaction,omitempty"`
1230
        // Plugin specific data to be persisted in the pact file
1231
        PluginConfiguration *PluginConfiguration `protobuf:"bytes,3,opt,name=pluginConfiguration,proto3" json:"pluginConfiguration,omitempty"`
1232
}
1233

1234
func (x *ConfigureInteractionResponse) Reset() {
×
1235
        *x = ConfigureInteractionResponse{}
×
1236
        if protoimpl.UnsafeEnabled {
×
1237
                mi := &file_plugin_proto_msgTypes[16]
×
1238
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1239
                ms.StoreMessageInfo(mi)
×
1240
        }
×
1241
}
1242

1243
func (x *ConfigureInteractionResponse) String() string {
×
1244
        return protoimpl.X.MessageStringOf(x)
×
1245
}
×
1246

1247
func (*ConfigureInteractionResponse) ProtoMessage() {}
×
1248

1249
func (x *ConfigureInteractionResponse) ProtoReflect() protoreflect.Message {
×
1250
        mi := &file_plugin_proto_msgTypes[16]
×
1251
        if protoimpl.UnsafeEnabled && x != nil {
×
1252
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1253
                if ms.LoadMessageInfo() == nil {
×
1254
                        ms.StoreMessageInfo(mi)
×
1255
                }
×
1256
                return ms
×
1257
        }
1258
        return mi.MessageOf(x)
×
1259
}
1260

1261
// Deprecated: Use ConfigureInteractionResponse.ProtoReflect.Descriptor instead.
1262
func (*ConfigureInteractionResponse) Descriptor() ([]byte, []int) {
×
1263
        return file_plugin_proto_rawDescGZIP(), []int{16}
×
1264
}
×
1265

1266
func (x *ConfigureInteractionResponse) GetError() string {
×
1267
        if x != nil {
×
1268
                return x.Error
×
1269
        }
×
1270
        return ""
×
1271
}
1272

1273
func (x *ConfigureInteractionResponse) GetInteraction() []*InteractionResponse {
×
1274
        if x != nil {
×
1275
                return x.Interaction
×
1276
        }
×
1277
        return nil
×
1278
}
1279

1280
func (x *ConfigureInteractionResponse) GetPluginConfiguration() *PluginConfiguration {
×
1281
        if x != nil {
×
1282
                return x.PluginConfiguration
×
1283
        }
×
1284
        return nil
×
1285
}
1286

1287
// Request to generate the contents using any defined generators
1288
type GenerateContentRequest struct {
1289
        state         protoimpl.MessageState
1290
        sizeCache     protoimpl.SizeCache
1291
        unknownFields protoimpl.UnknownFields
1292

1293
        // Original contents
1294
        Contents *Body `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"`
1295
        // Generators to apply
1296
        Generators map[string]*Generator `protobuf:"bytes,2,rep,name=generators,proto3" json:"generators,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
1297
        // Additional data added to the Pact/Interaction by the plugin
1298
        PluginConfiguration *PluginConfiguration `protobuf:"bytes,3,opt,name=pluginConfiguration,proto3" json:"pluginConfiguration,omitempty"`
1299
}
1300

1301
func (x *GenerateContentRequest) Reset() {
×
1302
        *x = GenerateContentRequest{}
×
1303
        if protoimpl.UnsafeEnabled {
×
1304
                mi := &file_plugin_proto_msgTypes[17]
×
1305
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1306
                ms.StoreMessageInfo(mi)
×
1307
        }
×
1308
}
1309

1310
func (x *GenerateContentRequest) String() string {
×
1311
        return protoimpl.X.MessageStringOf(x)
×
1312
}
×
1313

1314
func (*GenerateContentRequest) ProtoMessage() {}
×
1315

1316
func (x *GenerateContentRequest) ProtoReflect() protoreflect.Message {
×
1317
        mi := &file_plugin_proto_msgTypes[17]
×
1318
        if protoimpl.UnsafeEnabled && x != nil {
×
1319
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1320
                if ms.LoadMessageInfo() == nil {
×
1321
                        ms.StoreMessageInfo(mi)
×
1322
                }
×
1323
                return ms
×
1324
        }
1325
        return mi.MessageOf(x)
×
1326
}
1327

1328
// Deprecated: Use GenerateContentRequest.ProtoReflect.Descriptor instead.
1329
func (*GenerateContentRequest) Descriptor() ([]byte, []int) {
×
1330
        return file_plugin_proto_rawDescGZIP(), []int{17}
×
1331
}
×
1332

1333
func (x *GenerateContentRequest) GetContents() *Body {
×
1334
        if x != nil {
×
1335
                return x.Contents
×
1336
        }
×
1337
        return nil
×
1338
}
1339

1340
func (x *GenerateContentRequest) GetGenerators() map[string]*Generator {
×
1341
        if x != nil {
×
1342
                return x.Generators
×
1343
        }
×
1344
        return nil
×
1345
}
1346

1347
func (x *GenerateContentRequest) GetPluginConfiguration() *PluginConfiguration {
×
1348
        if x != nil {
×
1349
                return x.PluginConfiguration
×
1350
        }
×
1351
        return nil
×
1352
}
1353

1354
// Generated body/message response
1355
type GenerateContentResponse struct {
1356
        state         protoimpl.MessageState
1357
        sizeCache     protoimpl.SizeCache
1358
        unknownFields protoimpl.UnknownFields
1359

1360
        Contents *Body `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"`
1361
}
1362

1363
func (x *GenerateContentResponse) Reset() {
×
1364
        *x = GenerateContentResponse{}
×
1365
        if protoimpl.UnsafeEnabled {
×
1366
                mi := &file_plugin_proto_msgTypes[18]
×
1367
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1368
                ms.StoreMessageInfo(mi)
×
1369
        }
×
1370
}
1371

1372
func (x *GenerateContentResponse) String() string {
×
1373
        return protoimpl.X.MessageStringOf(x)
×
1374
}
×
1375

1376
func (*GenerateContentResponse) ProtoMessage() {}
×
1377

1378
func (x *GenerateContentResponse) ProtoReflect() protoreflect.Message {
×
1379
        mi := &file_plugin_proto_msgTypes[18]
×
1380
        if protoimpl.UnsafeEnabled && x != nil {
×
1381
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1382
                if ms.LoadMessageInfo() == nil {
×
1383
                        ms.StoreMessageInfo(mi)
×
1384
                }
×
1385
                return ms
×
1386
        }
1387
        return mi.MessageOf(x)
×
1388
}
1389

1390
// Deprecated: Use GenerateContentResponse.ProtoReflect.Descriptor instead.
1391
func (*GenerateContentResponse) Descriptor() ([]byte, []int) {
×
1392
        return file_plugin_proto_rawDescGZIP(), []int{18}
×
1393
}
×
1394

1395
func (x *GenerateContentResponse) GetContents() *Body {
×
1396
        if x != nil {
×
1397
                return x.Contents
×
1398
        }
×
1399
        return nil
×
1400
}
1401

1402
var File_plugin_proto protoreflect.FileDescriptor
1403

1404
var file_plugin_proto_rawDesc = []byte{
1405
        0x0a, 0x0c, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e,
1406
        0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x1a, 0x1c,
1407
        0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
1408
        0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f,
1409
        0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72,
1410
        0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f,
1411
        0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d,
1412
        0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x11, 0x49, 0x6e, 0x69,
1413
        0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26,
1414
        0x0a, 0x0e, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1415
        0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e,
1416
        0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
1417
        0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
1418
        0x22, 0xc7, 0x02, 0x0a, 0x0e, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x6e,
1419
        0x74, 0x72, 0x79, 0x12, 0x3c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
1420
        0x0e, 0x32, 0x28, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67,
1421
        0x69, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72,
1422
        0x79, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70,
1423
        0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
1424
        0x6b, 0x65, 0x79, 0x12, 0x42, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20,
1425
        0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c,
1426
        0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x6e,
1427
        0x74, 0x72, 0x79, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
1428
        0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x56, 0x61, 0x6c, 0x75, 0x65,
1429
        0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
1430
        0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
1431
        0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
1432
        0x38, 0x01, 0x22, 0x66, 0x0a, 0x09, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12,
1433
        0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48,
1434
        0x45, 0x52, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f,
1435
        0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4d,
1436
        0x4f, 0x43, 0x4b, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07,
1437
        0x4d, 0x41, 0x54, 0x43, 0x48, 0x45, 0x52, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4e, 0x54,
1438
        0x45, 0x52, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x22, 0x52, 0x0a, 0x12, 0x49, 0x6e,
1439
        0x69, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
1440
        0x12, 0x3c, 0x0a, 0x09, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x75, 0x65, 0x18, 0x01, 0x20,
1441
        0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c,
1442
        0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x6e,
1443
        0x74, 0x72, 0x79, 0x52, 0x09, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x75, 0x65, 0x22, 0x49,
1444
        0x0a, 0x09, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x63,
1445
        0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e,
1446
        0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e,
1447
        0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09,
1448
        0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x75, 0x65, 0x22, 0xe5, 0x01, 0x0a, 0x04, 0x42, 0x6f,
1449
        0x64, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70,
1450
        0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
1451
        0x54, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18,
1452
        0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
1453
        0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c,
1454
        0x75, 0x65, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x4e, 0x0a, 0x0f, 0x63,
1455
        0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x18, 0x03,
1456
        0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70,
1457
        0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65,
1458
        0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74,
1459
        0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x22, 0x34, 0x0a, 0x0f, 0x43,
1460
        0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x0b,
1461
        0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x54,
1462
        0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10,
1463
        0x02, 0x22, 0xa5, 0x03, 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x43, 0x6f, 0x6e,
1464
        0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x08,
1465
        0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
1466
        0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e,
1467
        0x42, 0x6f, 0x64, 0x79, 0x52, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x2c,
1468
        0x0a, 0x06, 0x61, 0x63, 0x74, 0x75, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
1469
        0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e,
1470
        0x42, 0x6f, 0x64, 0x79, 0x52, 0x06, 0x61, 0x63, 0x74, 0x75, 0x61, 0x6c, 0x12, 0x32, 0x0a, 0x15,
1471
        0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64,
1472
        0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x6c, 0x6c,
1473
        0x6f, 0x77, 0x55, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x73,
1474
        0x12, 0x47, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
1475
        0x31, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e,
1476
        0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73,
1477
        0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74,
1478
        0x72, 0x79, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x55, 0x0a, 0x13, 0x70, 0x6c, 0x75,
1479
        0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1480
        0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74,
1481
        0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f,
1482
        0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x70, 0x6c, 0x75,
1483
        0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1484
        0x1a, 0x57, 0x0a, 0x0a, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
1485
        0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
1486
        0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
1487
        0x1d, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e,
1488
        0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x05,
1489
        0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x49, 0x0a, 0x13, 0x43, 0x6f, 0x6e,
1490
        0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68,
1491
        0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01,
1492
        0x28, 0x09, 0x52, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06,
1493
        0x61, 0x63, 0x74, 0x75, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63,
1494
        0x74, 0x75, 0x61, 0x6c, 0x22, 0xc3, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
1495
        0x4d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x37, 0x0a, 0x08, 0x65, 0x78, 0x70, 0x65,
1496
        0x63, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f,
1497
        0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74,
1498
        0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65,
1499
        0x64, 0x12, 0x33, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x75, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
1500
        0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1501
        0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06,
1502
        0x61, 0x63, 0x74, 0x75, 0x61, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x69, 0x73, 0x6d, 0x61, 0x74,
1503
        0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x73, 0x6d, 0x61, 0x74,
1504
        0x63, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
1505
        0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x69, 0x66, 0x66, 0x18, 0x05,
1506
        0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x69, 0x66, 0x66, 0x22, 0x54, 0x0a, 0x11, 0x43, 0x6f,
1507
        0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12,
1508
        0x3f, 0x0a, 0x0a, 0x6d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20,
1509
        0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c,
1510
        0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4d, 0x69, 0x73, 0x6d,
1511
        0x61, 0x74, 0x63, 0x68, 0x52, 0x0a, 0x6d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73,
1512
        0x22, 0xa7, 0x02, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x74,
1513
        0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05,
1514
        0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72,
1515
        0x6f, 0x72, 0x12, 0x47, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x69, 0x73, 0x6d, 0x61, 0x74,
1516
        0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61,
1517
        0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
1518
        0x74, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x0c, 0x74,
1519
        0x79, 0x70, 0x65, 0x4d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x4e, 0x0a, 0x07, 0x72,
1520
        0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x69,
1521
        0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x6f,
1522
        0x6d, 0x70, 0x61, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73,
1523
        0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x45, 0x6e, 0x74,
1524
        0x72, 0x79, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x5d, 0x0a, 0x0c, 0x52,
1525
        0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
1526
        0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a,
1527
        0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69,
1528
        0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x6f,
1529
        0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x52,
1530
        0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x80, 0x01, 0x0a, 0x1b, 0x43,
1531
        0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74,
1532
        0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f,
1533
        0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1534
        0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x0e,
1535
        0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02,
1536
        0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
1537
        0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0e, 0x63,
1538
        0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x53, 0x0a,
1539
        0x0c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a,
1540
        0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,
1541
        0x65, 0x12, 0x2f, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
1542
        0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1543
        0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75,
1544
        0x65, 0x73, 0x22, 0x41, 0x0a, 0x0d, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x75,
1545
        0x6c, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28,
1546
        0x0b, 0x32, 0x1c, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67,
1547
        0x69, 0x6e, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x52,
1548
        0x04, 0x72, 0x75, 0x6c, 0x65, 0x22, 0x50, 0x0a, 0x09, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
1549
        0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1550
        0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
1551
        0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1552
        0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52,
1553
        0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xb1, 0x01, 0x0a, 0x13, 0x50, 0x6c, 0x75, 0x67,
1554
        0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
1555
        0x53, 0x0a, 0x18, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f,
1556
        0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
1557
        0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1558
        0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x18, 0x69, 0x6e, 0x74, 0x65,
1559
        0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
1560
        0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x11, 0x70, 0x61, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x66,
1561
        0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
1562
        0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1563
        0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x11, 0x70, 0x61, 0x63, 0x74, 0x43, 0x6f,
1564
        0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x88, 0x06, 0x0a, 0x13,
1565
        0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
1566
        0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18,
1567
        0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e,
1568
        0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x08, 0x63, 0x6f, 0x6e,
1569
        0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02,
1570
        0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70,
1571
        0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f,
1572
        0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x45,
1573
        0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x53, 0x0a, 0x0a, 0x67,
1574
        0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
1575
        0x33, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e,
1576
        0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
1577
        0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x45,
1578
        0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73,
1579
        0x12, 0x41, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64,
1580
        0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1581
        0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75,
1582
        0x63, 0x74, 0x52, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64,
1583
        0x61, 0x74, 0x61, 0x12, 0x55, 0x0a, 0x13, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e,
1584
        0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
1585
        0x32, 0x23, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69,
1586
        0x6e, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72,
1587
        0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e,
1588
        0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x11, 0x69, 0x6e,
1589
        0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x72, 0x6b, 0x75, 0x70, 0x18,
1590
        0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69,
1591
        0x6f, 0x6e, 0x4d, 0x61, 0x72, 0x6b, 0x75, 0x70, 0x12, 0x64, 0x0a, 0x15, 0x69, 0x6e, 0x74, 0x65,
1592
        0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x72, 0x6b, 0x75, 0x70, 0x54, 0x79, 0x70,
1593
        0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63,
1594
        0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63,
1595
        0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x61, 0x72,
1596
        0x6b, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 0x52, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63,
1597
        0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x72, 0x6b, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a,
1598
        0x0a, 0x08, 0x70, 0x61, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
1599
        0x52, 0x08, 0x70, 0x61, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x57, 0x0a, 0x0a, 0x52, 0x75,
1600
        0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
1601
        0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61,
1602
        0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6f, 0x2e, 0x70,
1603
        0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68,
1604
        0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
1605
        0x02, 0x38, 0x01, 0x1a, 0x58, 0x0a, 0x0f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
1606
        0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
1607
        0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
1608
        0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63,
1609
        0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
1610
        0x6f, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x27, 0x0a,
1611
        0x0a, 0x4d, 0x61, 0x72, 0x6b, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x43,
1612
        0x4f, 0x4d, 0x4d, 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04,
1613
        0x48, 0x54, 0x4d, 0x4c, 0x10, 0x01, 0x22, 0xd2, 0x01, 0x0a, 0x1c, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1614
        0x67, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
1615
        0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
1616
        0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x45, 0x0a,
1617
        0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03,
1618
        0x28, 0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75,
1619
        0x67, 0x69, 0x6e, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
1620
        0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63,
1621
        0x74, 0x69, 0x6f, 0x6e, 0x12, 0x55, 0x0a, 0x13, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f,
1622
        0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
1623
        0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67,
1624
        0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
1625
        0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f,
1626
        0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xd3, 0x02, 0x0a, 0x16,
1627
        0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52,
1628
        0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
1629
        0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61,
1630
        0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x08,
1631
        0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x56, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65,
1632
        0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x69,
1633
        0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x47, 0x65,
1634
        0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71,
1635
        0x75, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x45,
1636
        0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73,
1637
        0x12, 0x55, 0x0a, 0x13, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1638
        0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e,
1639
        0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x50,
1640
        0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
1641
        0x6f, 0x6e, 0x52, 0x13, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1642
        0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x58, 0x0a, 0x0f, 0x47, 0x65, 0x6e, 0x65, 0x72,
1643
        0x61, 0x74, 0x6f, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
1644
        0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05,
1645
        0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x69, 0x6f,
1646
        0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x6e,
1647
        0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
1648
        0x01, 0x22, 0x4b, 0x0a, 0x17, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e,
1649
        0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08,
1650
        0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
1651
        0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e,
1652
        0x42, 0x6f, 0x64, 0x79, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x32, 0xe2,
1653
        0x03, 0x0a, 0x0a, 0x50, 0x61, 0x63, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x53, 0x0a,
1654
        0x0a, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x21, 0x2e, 0x69, 0x6f,
1655
        0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x6e, 0x69,
1656
        0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22,
1657
        0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e,
1658
        0x49, 0x6e, 0x69, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1659
        0x73, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x74, 0x61,
1660
        0x6c, 0x6f, 0x67, 0x75, 0x65, 0x12, 0x19, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e,
1661
        0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x75, 0x65,
1662
        0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1663
        0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x62, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70,
1664
        0x61, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x2e, 0x69, 0x6f,
1665
        0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x6f, 0x6d,
1666
        0x70, 0x61, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
1667
        0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c,
1668
        0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x74,
1669
        0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x14,
1670
        0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63,
1671
        0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70,
1672
        0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x49,
1673
        0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1674
        0x74, 0x1a, 0x2c, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67,
1675
        0x69, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x74, 0x65,
1676
        0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
1677
        0x62, 0x0a, 0x0f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65,
1678
        0x6e, 0x74, 0x12, 0x26, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75,
1679
        0x67, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74,
1680
        0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x69, 0x6f, 0x2e,
1681
        0x70, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x6e, 0x65,
1682
        0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
1683
        0x6e, 0x73, 0x65, 0x42, 0x10, 0x5a, 0x0e, 0x69, 0x6f, 0x2e, 0x70, 0x61, 0x63, 0x74, 0x2e, 0x70,
1684
        0x6c, 0x75, 0x67, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1685
}
1686

1687
var (
1688
        file_plugin_proto_rawDescOnce sync.Once
1689
        file_plugin_proto_rawDescData = file_plugin_proto_rawDesc
1690
)
1691

1692
func file_plugin_proto_rawDescGZIP() []byte {
×
1693
        file_plugin_proto_rawDescOnce.Do(func() {
×
1694
                file_plugin_proto_rawDescData = protoimpl.X.CompressGZIP(file_plugin_proto_rawDescData)
×
1695
        })
×
1696
        return file_plugin_proto_rawDescData
×
1697
}
1698

1699
var file_plugin_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
1700
var file_plugin_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
1701
var file_plugin_proto_goTypes = []interface{}{
1702
        (CatalogueEntry_EntryType)(0),        // 0: io.pact.plugin.CatalogueEntry.EntryType
1703
        (Body_ContentTypeHint)(0),            // 1: io.pact.plugin.Body.ContentTypeHint
1704
        (InteractionResponse_MarkupType)(0),  // 2: io.pact.plugin.InteractionResponse.MarkupType
1705
        (*InitPluginRequest)(nil),            // 3: io.pact.plugin.InitPluginRequest
1706
        (*CatalogueEntry)(nil),               // 4: io.pact.plugin.CatalogueEntry
1707
        (*InitPluginResponse)(nil),           // 5: io.pact.plugin.InitPluginResponse
1708
        (*Catalogue)(nil),                    // 6: io.pact.plugin.Catalogue
1709
        (*Body)(nil),                         // 7: io.pact.plugin.Body
1710
        (*CompareContentsRequest)(nil),       // 8: io.pact.plugin.CompareContentsRequest
1711
        (*ContentTypeMismatch)(nil),          // 9: io.pact.plugin.ContentTypeMismatch
1712
        (*ContentMismatch)(nil),              // 10: io.pact.plugin.ContentMismatch
1713
        (*ContentMismatches)(nil),            // 11: io.pact.plugin.ContentMismatches
1714
        (*CompareContentsResponse)(nil),      // 12: io.pact.plugin.CompareContentsResponse
1715
        (*ConfigureInteractionRequest)(nil),  // 13: io.pact.plugin.ConfigureInteractionRequest
1716
        (*MatchingRule)(nil),                 // 14: io.pact.plugin.MatchingRule
1717
        (*MatchingRules)(nil),                // 15: io.pact.plugin.MatchingRules
1718
        (*Generator)(nil),                    // 16: io.pact.plugin.Generator
1719
        (*PluginConfiguration)(nil),          // 17: io.pact.plugin.PluginConfiguration
1720
        (*InteractionResponse)(nil),          // 18: io.pact.plugin.InteractionResponse
1721
        (*ConfigureInteractionResponse)(nil), // 19: io.pact.plugin.ConfigureInteractionResponse
1722
        (*GenerateContentRequest)(nil),       // 20: io.pact.plugin.GenerateContentRequest
1723
        (*GenerateContentResponse)(nil),      // 21: io.pact.plugin.GenerateContentResponse
1724
        nil,                                  // 22: io.pact.plugin.CatalogueEntry.ValuesEntry
1725
        nil,                                  // 23: io.pact.plugin.CompareContentsRequest.RulesEntry
1726
        nil,                                  // 24: io.pact.plugin.CompareContentsResponse.ResultsEntry
1727
        nil,                                  // 25: io.pact.plugin.InteractionResponse.RulesEntry
1728
        nil,                                  // 26: io.pact.plugin.InteractionResponse.GeneratorsEntry
1729
        nil,                                  // 27: io.pact.plugin.GenerateContentRequest.GeneratorsEntry
1730
        (*wrapperspb.BytesValue)(nil),        // 28: google.protobuf.BytesValue
1731
        (*structpb.Struct)(nil),              // 29: google.protobuf.Struct
1732
        (*emptypb.Empty)(nil),                // 30: google.protobuf.Empty
1733
}
1734
var file_plugin_proto_depIdxs = []int32{
1735
        0,  // 0: io.pact.plugin.CatalogueEntry.type:type_name -> io.pact.plugin.CatalogueEntry.EntryType
1736
        22, // 1: io.pact.plugin.CatalogueEntry.values:type_name -> io.pact.plugin.CatalogueEntry.ValuesEntry
1737
        4,  // 2: io.pact.plugin.InitPluginResponse.catalogue:type_name -> io.pact.plugin.CatalogueEntry
1738
        4,  // 3: io.pact.plugin.Catalogue.catalogue:type_name -> io.pact.plugin.CatalogueEntry
1739
        28, // 4: io.pact.plugin.Body.content:type_name -> google.protobuf.BytesValue
1740
        1,  // 5: io.pact.plugin.Body.contentTypeHint:type_name -> io.pact.plugin.Body.ContentTypeHint
1741
        7,  // 6: io.pact.plugin.CompareContentsRequest.expected:type_name -> io.pact.plugin.Body
1742
        7,  // 7: io.pact.plugin.CompareContentsRequest.actual:type_name -> io.pact.plugin.Body
1743
        23, // 8: io.pact.plugin.CompareContentsRequest.rules:type_name -> io.pact.plugin.CompareContentsRequest.RulesEntry
1744
        17, // 9: io.pact.plugin.CompareContentsRequest.pluginConfiguration:type_name -> io.pact.plugin.PluginConfiguration
1745
        28, // 10: io.pact.plugin.ContentMismatch.expected:type_name -> google.protobuf.BytesValue
1746
        28, // 11: io.pact.plugin.ContentMismatch.actual:type_name -> google.protobuf.BytesValue
1747
        10, // 12: io.pact.plugin.ContentMismatches.mismatches:type_name -> io.pact.plugin.ContentMismatch
1748
        9,  // 13: io.pact.plugin.CompareContentsResponse.typeMismatch:type_name -> io.pact.plugin.ContentTypeMismatch
1749
        24, // 14: io.pact.plugin.CompareContentsResponse.results:type_name -> io.pact.plugin.CompareContentsResponse.ResultsEntry
1750
        29, // 15: io.pact.plugin.ConfigureInteractionRequest.contentsConfig:type_name -> google.protobuf.Struct
1751
        29, // 16: io.pact.plugin.MatchingRule.values:type_name -> google.protobuf.Struct
1752
        14, // 17: io.pact.plugin.MatchingRules.rule:type_name -> io.pact.plugin.MatchingRule
1753
        29, // 18: io.pact.plugin.Generator.values:type_name -> google.protobuf.Struct
1754
        29, // 19: io.pact.plugin.PluginConfiguration.interactionConfiguration:type_name -> google.protobuf.Struct
1755
        29, // 20: io.pact.plugin.PluginConfiguration.pactConfiguration:type_name -> google.protobuf.Struct
1756
        7,  // 21: io.pact.plugin.InteractionResponse.contents:type_name -> io.pact.plugin.Body
1757
        25, // 22: io.pact.plugin.InteractionResponse.rules:type_name -> io.pact.plugin.InteractionResponse.RulesEntry
1758
        26, // 23: io.pact.plugin.InteractionResponse.generators:type_name -> io.pact.plugin.InteractionResponse.GeneratorsEntry
1759
        29, // 24: io.pact.plugin.InteractionResponse.messageMetadata:type_name -> google.protobuf.Struct
1760
        17, // 25: io.pact.plugin.InteractionResponse.pluginConfiguration:type_name -> io.pact.plugin.PluginConfiguration
1761
        2,  // 26: io.pact.plugin.InteractionResponse.interactionMarkupType:type_name -> io.pact.plugin.InteractionResponse.MarkupType
1762
        18, // 27: io.pact.plugin.ConfigureInteractionResponse.interaction:type_name -> io.pact.plugin.InteractionResponse
1763
        17, // 28: io.pact.plugin.ConfigureInteractionResponse.pluginConfiguration:type_name -> io.pact.plugin.PluginConfiguration
1764
        7,  // 29: io.pact.plugin.GenerateContentRequest.contents:type_name -> io.pact.plugin.Body
1765
        27, // 30: io.pact.plugin.GenerateContentRequest.generators:type_name -> io.pact.plugin.GenerateContentRequest.GeneratorsEntry
1766
        17, // 31: io.pact.plugin.GenerateContentRequest.pluginConfiguration:type_name -> io.pact.plugin.PluginConfiguration
1767
        7,  // 32: io.pact.plugin.GenerateContentResponse.contents:type_name -> io.pact.plugin.Body
1768
        15, // 33: io.pact.plugin.CompareContentsRequest.RulesEntry.value:type_name -> io.pact.plugin.MatchingRules
1769
        11, // 34: io.pact.plugin.CompareContentsResponse.ResultsEntry.value:type_name -> io.pact.plugin.ContentMismatches
1770
        15, // 35: io.pact.plugin.InteractionResponse.RulesEntry.value:type_name -> io.pact.plugin.MatchingRules
1771
        16, // 36: io.pact.plugin.InteractionResponse.GeneratorsEntry.value:type_name -> io.pact.plugin.Generator
1772
        16, // 37: io.pact.plugin.GenerateContentRequest.GeneratorsEntry.value:type_name -> io.pact.plugin.Generator
1773
        3,  // 38: io.pact.plugin.PactPlugin.InitPlugin:input_type -> io.pact.plugin.InitPluginRequest
1774
        6,  // 39: io.pact.plugin.PactPlugin.UpdateCatalogue:input_type -> io.pact.plugin.Catalogue
1775
        8,  // 40: io.pact.plugin.PactPlugin.CompareContents:input_type -> io.pact.plugin.CompareContentsRequest
1776
        13, // 41: io.pact.plugin.PactPlugin.ConfigureInteraction:input_type -> io.pact.plugin.ConfigureInteractionRequest
1777
        20, // 42: io.pact.plugin.PactPlugin.GenerateContent:input_type -> io.pact.plugin.GenerateContentRequest
1778
        5,  // 43: io.pact.plugin.PactPlugin.InitPlugin:output_type -> io.pact.plugin.InitPluginResponse
1779
        30, // 44: io.pact.plugin.PactPlugin.UpdateCatalogue:output_type -> google.protobuf.Empty
1780
        12, // 45: io.pact.plugin.PactPlugin.CompareContents:output_type -> io.pact.plugin.CompareContentsResponse
1781
        19, // 46: io.pact.plugin.PactPlugin.ConfigureInteraction:output_type -> io.pact.plugin.ConfigureInteractionResponse
1782
        21, // 47: io.pact.plugin.PactPlugin.GenerateContent:output_type -> io.pact.plugin.GenerateContentResponse
1783
        43, // [43:48] is the sub-list for method output_type
1784
        38, // [38:43] is the sub-list for method input_type
1785
        38, // [38:38] is the sub-list for extension type_name
1786
        38, // [38:38] is the sub-list for extension extendee
1787
        0,  // [0:38] is the sub-list for field type_name
1788
}
1789

1790
func init() { file_plugin_proto_init() }
×
1791
func file_plugin_proto_init() {
×
1792
        if File_plugin_proto != nil {
×
1793
                return
×
1794
        }
×
1795
        if !protoimpl.UnsafeEnabled {
×
1796
                file_plugin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
×
1797
                        switch v := v.(*InitPluginRequest); 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_plugin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
×
1809
                        switch v := v.(*CatalogueEntry); 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_plugin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
×
1821
                        switch v := v.(*InitPluginResponse); 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_plugin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
×
1833
                        switch v := v.(*Catalogue); 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_plugin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
×
1845
                        switch v := v.(*Body); 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_plugin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
×
1857
                        switch v := v.(*CompareContentsRequest); 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_plugin_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
×
1869
                        switch v := v.(*ContentTypeMismatch); 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_plugin_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
×
1881
                        switch v := v.(*ContentMismatch); 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_plugin_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
×
1893
                        switch v := v.(*ContentMismatches); 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_plugin_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
×
1905
                        switch v := v.(*CompareContentsResponse); 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_plugin_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
×
1917
                        switch v := v.(*ConfigureInteractionRequest); 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_plugin_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
×
1929
                        switch v := v.(*MatchingRule); 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_plugin_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
×
1941
                        switch v := v.(*MatchingRules); 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_plugin_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
×
1953
                        switch v := v.(*Generator); 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_plugin_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
×
1965
                        switch v := v.(*PluginConfiguration); 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_plugin_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
×
1977
                        switch v := v.(*InteractionResponse); 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_plugin_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
×
1989
                        switch v := v.(*ConfigureInteractionResponse); 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_plugin_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
×
2001
                        switch v := v.(*GenerateContentRequest); 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
                file_plugin_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
×
2013
                        switch v := v.(*GenerateContentResponse); i {
×
2014
                        case 0:
×
2015
                                return &v.state
×
2016
                        case 1:
×
2017
                                return &v.sizeCache
×
2018
                        case 2:
×
2019
                                return &v.unknownFields
×
2020
                        default:
×
2021
                                return nil
×
2022
                        }
2023
                }
2024
        }
2025
        type x struct{}
×
2026
        out := protoimpl.TypeBuilder{
×
2027
                File: protoimpl.DescBuilder{
×
2028
                        GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
×
2029
                        RawDescriptor: file_plugin_proto_rawDesc,
×
2030
                        NumEnums:      3,
×
2031
                        NumMessages:   25,
×
2032
                        NumExtensions: 0,
×
2033
                        NumServices:   1,
×
2034
                },
×
2035
                GoTypes:           file_plugin_proto_goTypes,
×
2036
                DependencyIndexes: file_plugin_proto_depIdxs,
×
2037
                EnumInfos:         file_plugin_proto_enumTypes,
×
2038
                MessageInfos:      file_plugin_proto_msgTypes,
×
2039
        }.Build()
×
2040
        File_plugin_proto = out.File
×
2041
        file_plugin_proto_rawDesc = nil
×
2042
        file_plugin_proto_goTypes = nil
×
2043
        file_plugin_proto_depIdxs = nil
×
2044
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc