| /* |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: broker.proto |
| |
| /* |
| Package brokerpb is a generated protocol buffer package. |
| |
| It is generated from these files: |
| broker.proto |
| |
| It has these top-level messages: |
| Participant |
| Version |
| Pact |
| PactVersion |
| Tag |
| PublishPactRequest |
| PublishPactResponse |
| GetAllProviderPactsRequest |
| ConsumerInfo |
| Links |
| GetAllProviderPactsResponse |
| GetProviderConsumerVersionPactRequest |
| GetProviderConsumerVersionPactResponse |
| Verification |
| VerificationSummary |
| VerificationDetail |
| VerificationDetails |
| VerificationResult |
| PublishVerificationRequest |
| PublishVerificationResponse |
| RetrieveVerificationRequest |
| RetrieveVerificationResponse |
| BaseBrokerRequest |
| BrokerAPIInfoEntry |
| BrokerHomeResponse |
| */ |
| package brokerpb |
| |
| import proto "github.com/golang/protobuf/proto" |
| import fmt "fmt" |
| import math "math" |
| import proto1 "github.com/apache/servicecomb-service-center/server/core/proto" |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package |
| |
| type Participant struct { |
| Id int32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` |
| AppId string `protobuf:"bytes,2,opt,name=appId" json:"appId,omitempty"` |
| ServiceName string `protobuf:"bytes,3,opt,name=serviceName" json:"serviceName,omitempty"` |
| } |
| |
| func (m *Participant) Reset() { *m = Participant{} } |
| func (m *Participant) String() string { return proto.CompactTextString(m) } |
| func (*Participant) ProtoMessage() {} |
| func (*Participant) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } |
| |
| func (m *Participant) GetId() int32 { |
| if m != nil { |
| return m.Id |
| } |
| return 0 |
| } |
| |
| func (m *Participant) GetAppId() string { |
| if m != nil { |
| return m.AppId |
| } |
| return "" |
| } |
| |
| func (m *Participant) GetServiceName() string { |
| if m != nil { |
| return m.ServiceName |
| } |
| return "" |
| } |
| |
| type Version struct { |
| Id int32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` |
| Number string `protobuf:"bytes,2,opt,name=number" json:"number,omitempty"` |
| ParticipantId int32 `protobuf:"varint,3,opt,name=participantId" json:"participantId,omitempty"` |
| Order int32 `protobuf:"varint,4,opt,name=order" json:"order,omitempty"` |
| } |
| |
| func (m *Version) Reset() { *m = Version{} } |
| func (m *Version) String() string { return proto.CompactTextString(m) } |
| func (*Version) ProtoMessage() {} |
| func (*Version) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } |
| |
| func (m *Version) GetId() int32 { |
| if m != nil { |
| return m.Id |
| } |
| return 0 |
| } |
| |
| func (m *Version) GetNumber() string { |
| if m != nil { |
| return m.Number |
| } |
| return "" |
| } |
| |
| func (m *Version) GetParticipantId() int32 { |
| if m != nil { |
| return m.ParticipantId |
| } |
| return 0 |
| } |
| |
| func (m *Version) GetOrder() int32 { |
| if m != nil { |
| return m.Order |
| } |
| return 0 |
| } |
| |
| type Pact struct { |
| Id int32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` |
| ConsumerParticipantId int32 `protobuf:"varint,2,opt,name=consumerParticipantId" json:"consumerParticipantId,omitempty"` |
| ProviderParticipantId int32 `protobuf:"varint,3,opt,name=providerParticipantId" json:"providerParticipantId,omitempty"` |
| Sha []byte `protobuf:"bytes,4,opt,name=sha,proto3" json:"sha,omitempty"` |
| Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` |
| } |
| |
| func (m *Pact) Reset() { *m = Pact{} } |
| func (m *Pact) String() string { return proto.CompactTextString(m) } |
| func (*Pact) ProtoMessage() {} |
| func (*Pact) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } |
| |
| func (m *Pact) GetId() int32 { |
| if m != nil { |
| return m.Id |
| } |
| return 0 |
| } |
| |
| func (m *Pact) GetConsumerParticipantId() int32 { |
| if m != nil { |
| return m.ConsumerParticipantId |
| } |
| return 0 |
| } |
| |
| func (m *Pact) GetProviderParticipantId() int32 { |
| if m != nil { |
| return m.ProviderParticipantId |
| } |
| return 0 |
| } |
| |
| func (m *Pact) GetSha() []byte { |
| if m != nil { |
| return m.Sha |
| } |
| return nil |
| } |
| |
| func (m *Pact) GetContent() []byte { |
| if m != nil { |
| return m.Content |
| } |
| return nil |
| } |
| |
| type PactVersion struct { |
| Id int32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` |
| VersionId int32 `protobuf:"varint,2,opt,name=versionId" json:"versionId,omitempty"` |
| PactId int32 `protobuf:"varint,3,opt,name=pactId" json:"pactId,omitempty"` |
| ProviderParticipantId int32 `protobuf:"varint,4,opt,name=providerParticipantId" json:"providerParticipantId,omitempty"` |
| } |
| |
| func (m *PactVersion) Reset() { *m = PactVersion{} } |
| func (m *PactVersion) String() string { return proto.CompactTextString(m) } |
| func (*PactVersion) ProtoMessage() {} |
| func (*PactVersion) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} } |
| |
| func (m *PactVersion) GetId() int32 { |
| if m != nil { |
| return m.Id |
| } |
| return 0 |
| } |
| |
| func (m *PactVersion) GetVersionId() int32 { |
| if m != nil { |
| return m.VersionId |
| } |
| return 0 |
| } |
| |
| func (m *PactVersion) GetPactId() int32 { |
| if m != nil { |
| return m.PactId |
| } |
| return 0 |
| } |
| |
| func (m *PactVersion) GetProviderParticipantId() int32 { |
| if m != nil { |
| return m.ProviderParticipantId |
| } |
| return 0 |
| } |
| |
| type Tag struct { |
| Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| VersionId int32 `protobuf:"varint,2,opt,name=versionId" json:"versionId,omitempty"` |
| } |
| |
| func (m *Tag) Reset() { *m = Tag{} } |
| func (m *Tag) String() string { return proto.CompactTextString(m) } |
| func (*Tag) ProtoMessage() {} |
| func (*Tag) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} } |
| |
| func (m *Tag) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *Tag) GetVersionId() int32 { |
| if m != nil { |
| return m.VersionId |
| } |
| return 0 |
| } |
| |
| type PublishPactRequest struct { |
| ProviderId string `protobuf:"bytes,1,opt,name=providerId" json:"providerId,omitempty"` |
| ConsumerId string `protobuf:"bytes,2,opt,name=consumerId" json:"consumerId,omitempty"` |
| Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"` |
| Pact []byte `protobuf:"bytes,4,opt,name=pact,proto3" json:"pact,omitempty"` |
| } |
| |
| func (m *PublishPactRequest) Reset() { *m = PublishPactRequest{} } |
| func (m *PublishPactRequest) String() string { return proto.CompactTextString(m) } |
| func (*PublishPactRequest) ProtoMessage() {} |
| func (*PublishPactRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} } |
| |
| func (m *PublishPactRequest) GetProviderId() string { |
| if m != nil { |
| return m.ProviderId |
| } |
| return "" |
| } |
| |
| func (m *PublishPactRequest) GetConsumerId() string { |
| if m != nil { |
| return m.ConsumerId |
| } |
| return "" |
| } |
| |
| func (m *PublishPactRequest) GetPact() []byte { |
| if m != nil { |
| return m.Pact |
| } |
| return nil |
| } |
| |
| type PublishPactResponse struct { |
| Response *proto1.Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` |
| } |
| |
| func (m *PublishPactResponse) Reset() { *m = PublishPactResponse{} } |
| func (m *PublishPactResponse) String() string { return proto.CompactTextString(m) } |
| func (*PublishPactResponse) ProtoMessage() {} |
| func (*PublishPactResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} } |
| |
| type GetAllProviderPactsRequest struct { |
| ProviderId string `protobuf:"bytes,1,opt,name=providerId" json:"providerId,omitempty"` |
| BaseUrl *BaseBrokerRequest `protobuf:"bytes,2,opt,name=baseUrl" json:"baseUrl,omitempty"` |
| } |
| |
| func (m *GetAllProviderPactsRequest) Reset() { *m = GetAllProviderPactsRequest{} } |
| func (m *GetAllProviderPactsRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetAllProviderPactsRequest) ProtoMessage() {} |
| func (*GetAllProviderPactsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} } |
| |
| func (m *GetAllProviderPactsRequest) GetProviderId() string { |
| if m != nil { |
| return m.ProviderId |
| } |
| return "" |
| } |
| |
| func (m *GetAllProviderPactsRequest) GetBaseUrl() *BaseBrokerRequest { |
| if m != nil { |
| return m.BaseUrl |
| } |
| return nil |
| } |
| |
| type ConsumerInfo struct { |
| Href string `protobuf:"bytes,1,opt,name=href" json:"href,omitempty"` |
| Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` |
| } |
| |
| func (m *ConsumerInfo) Reset() { *m = ConsumerInfo{} } |
| func (m *ConsumerInfo) String() string { return proto.CompactTextString(m) } |
| func (*ConsumerInfo) ProtoMessage() {} |
| func (*ConsumerInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} } |
| |
| func (m *ConsumerInfo) GetHref() string { |
| if m != nil { |
| return m.Href |
| } |
| return "" |
| } |
| |
| func (m *ConsumerInfo) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| type Links struct { |
| Pacts []*ConsumerInfo `protobuf:"bytes,1,rep,name=pacts" json:"pacts,omitempty"` |
| } |
| |
| func (m *Links) Reset() { *m = Links{} } |
| func (m *Links) String() string { return proto.CompactTextString(m) } |
| func (*Links) ProtoMessage() {} |
| func (*Links) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} } |
| |
| func (m *Links) GetPacts() []*ConsumerInfo { |
| if m != nil { |
| return m.Pacts |
| } |
| return nil |
| } |
| |
| type GetAllProviderPactsResponse struct { |
| Response *proto1.Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` |
| XLinks *Links `protobuf:"bytes,2,opt,name=_links,json=Links" json:"_links,omitempty"` |
| } |
| |
| func (m *GetAllProviderPactsResponse) Reset() { *m = GetAllProviderPactsResponse{} } |
| func (m *GetAllProviderPactsResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetAllProviderPactsResponse) ProtoMessage() {} |
| func (*GetAllProviderPactsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} } |
| |
| func (m *GetAllProviderPactsResponse) GetXLinks() *Links { |
| if m != nil { |
| return m.XLinks |
| } |
| return nil |
| } |
| |
| type GetProviderConsumerVersionPactRequest struct { |
| ProviderId string `protobuf:"bytes,1,opt,name=providerId" json:"providerId,omitempty"` |
| ConsumerId string `protobuf:"bytes,2,opt,name=consumerId" json:"consumerId,omitempty"` |
| Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"` |
| BaseUrl *BaseBrokerRequest `protobuf:"bytes,4,opt,name=baseUrl" json:"baseUrl,omitempty"` |
| } |
| |
| func (m *GetProviderConsumerVersionPactRequest) Reset() { *m = GetProviderConsumerVersionPactRequest{} } |
| func (m *GetProviderConsumerVersionPactRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetProviderConsumerVersionPactRequest) ProtoMessage() {} |
| func (*GetProviderConsumerVersionPactRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor0, []int{11} |
| } |
| |
| func (m *GetProviderConsumerVersionPactRequest) GetProviderId() string { |
| if m != nil { |
| return m.ProviderId |
| } |
| return "" |
| } |
| |
| func (m *GetProviderConsumerVersionPactRequest) GetConsumerId() string { |
| if m != nil { |
| return m.ConsumerId |
| } |
| return "" |
| } |
| |
| func (m *GetProviderConsumerVersionPactRequest) GetBaseUrl() *BaseBrokerRequest { |
| if m != nil { |
| return m.BaseUrl |
| } |
| return nil |
| } |
| |
| type GetProviderConsumerVersionPactResponse struct { |
| Response *proto1.Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` |
| Pact []byte `protobuf:"bytes,2,opt,name=pact,proto3" json:"pact,omitempty"` |
| } |
| |
| func (m *GetProviderConsumerVersionPactResponse) Reset() { |
| *m = GetProviderConsumerVersionPactResponse{} |
| } |
| func (m *GetProviderConsumerVersionPactResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetProviderConsumerVersionPactResponse) ProtoMessage() {} |
| func (*GetProviderConsumerVersionPactResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor0, []int{12} |
| } |
| |
| func (m *GetProviderConsumerVersionPactResponse) GetPact() []byte { |
| if m != nil { |
| return m.Pact |
| } |
| return nil |
| } |
| |
| type Verification struct { |
| Id int32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` |
| Number int32 `protobuf:"varint,2,opt,name=number" json:"number,omitempty"` |
| PactVersionId int32 `protobuf:"varint,3,opt,name=pactVersionId" json:"pactVersionId,omitempty"` |
| Success bool `protobuf:"varint,4,opt,name=success" json:"success,omitempty"` |
| ProviderVersion string `protobuf:"bytes,5,opt,name=providerVersion" json:"providerVersion,omitempty"` |
| BuildUrl string `protobuf:"bytes,6,opt,name=buildUrl" json:"buildUrl,omitempty"` |
| VerificationDate string `protobuf:"bytes,7,opt,name=verificationDate" json:"verificationDate,omitempty"` |
| } |
| |
| func (m *Verification) Reset() { *m = Verification{} } |
| func (m *Verification) String() string { return proto.CompactTextString(m) } |
| func (*Verification) ProtoMessage() {} |
| func (*Verification) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} } |
| |
| func (m *Verification) GetId() int32 { |
| if m != nil { |
| return m.Id |
| } |
| return 0 |
| } |
| |
| func (m *Verification) GetNumber() int32 { |
| if m != nil { |
| return m.Number |
| } |
| return 0 |
| } |
| |
| func (m *Verification) GetPactVersionId() int32 { |
| if m != nil { |
| return m.PactVersionId |
| } |
| return 0 |
| } |
| |
| func (m *Verification) GetSuccess() bool { |
| if m != nil { |
| return m.Success |
| } |
| return false |
| } |
| |
| func (m *Verification) GetProviderVersion() string { |
| if m != nil { |
| return m.ProviderVersion |
| } |
| return "" |
| } |
| |
| func (m *Verification) GetBuildUrl() string { |
| if m != nil { |
| return m.BuildUrl |
| } |
| return "" |
| } |
| |
| func (m *Verification) GetVerificationDate() string { |
| if m != nil { |
| return m.VerificationDate |
| } |
| return "" |
| } |
| |
| type VerificationSummary struct { |
| Successful []string `protobuf:"bytes,1,rep,name=successful" json:"successful,omitempty"` |
| Failed []string `protobuf:"bytes,2,rep,name=failed" json:"failed,omitempty"` |
| Unknown []string `protobuf:"bytes,3,rep,name=unknown" json:"unknown,omitempty"` |
| } |
| |
| func (m *VerificationSummary) Reset() { *m = VerificationSummary{} } |
| func (m *VerificationSummary) String() string { return proto.CompactTextString(m) } |
| func (*VerificationSummary) ProtoMessage() {} |
| func (*VerificationSummary) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} } |
| |
| func (m *VerificationSummary) GetSuccessful() []string { |
| if m != nil { |
| return m.Successful |
| } |
| return nil |
| } |
| |
| func (m *VerificationSummary) GetFailed() []string { |
| if m != nil { |
| return m.Failed |
| } |
| return nil |
| } |
| |
| func (m *VerificationSummary) GetUnknown() []string { |
| if m != nil { |
| return m.Unknown |
| } |
| return nil |
| } |
| |
| type VerificationDetail struct { |
| ProviderName string `protobuf:"bytes,1,opt,name=providerName" json:"providerName,omitempty"` |
| ProviderApplicationVersion string `protobuf:"bytes,2,opt,name=providerApplicationVersion" json:"providerApplicationVersion,omitempty"` |
| Success bool `protobuf:"varint,3,opt,name=success" json:"success,omitempty"` |
| VerificationDate string `protobuf:"bytes,4,opt,name=verificationDate" json:"verificationDate,omitempty"` |
| } |
| |
| func (m *VerificationDetail) Reset() { *m = VerificationDetail{} } |
| func (m *VerificationDetail) String() string { return proto.CompactTextString(m) } |
| func (*VerificationDetail) ProtoMessage() {} |
| func (*VerificationDetail) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} } |
| |
| func (m *VerificationDetail) GetProviderName() string { |
| if m != nil { |
| return m.ProviderName |
| } |
| return "" |
| } |
| |
| func (m *VerificationDetail) GetProviderApplicationVersion() string { |
| if m != nil { |
| return m.ProviderApplicationVersion |
| } |
| return "" |
| } |
| |
| func (m *VerificationDetail) GetSuccess() bool { |
| if m != nil { |
| return m.Success |
| } |
| return false |
| } |
| |
| func (m *VerificationDetail) GetVerificationDate() string { |
| if m != nil { |
| return m.VerificationDate |
| } |
| return "" |
| } |
| |
| type VerificationDetails struct { |
| VerificationResults []*VerificationDetail `protobuf:"bytes,1,rep,name=verificationResults" json:"verificationResults,omitempty"` |
| } |
| |
| func (m *VerificationDetails) Reset() { *m = VerificationDetails{} } |
| func (m *VerificationDetails) String() string { return proto.CompactTextString(m) } |
| func (*VerificationDetails) ProtoMessage() {} |
| func (*VerificationDetails) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} } |
| |
| func (m *VerificationDetails) GetVerificationResults() []*VerificationDetail { |
| if m != nil { |
| return m.VerificationResults |
| } |
| return nil |
| } |
| |
| type VerificationResult struct { |
| Success bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"` |
| ProviderSummary *VerificationSummary `protobuf:"bytes,2,opt,name=providerSummary" json:"providerSummary,omitempty"` |
| XEmbedded *VerificationDetails `protobuf:"bytes,3,opt,name=_embedded,json=Embedded" json:"_embedded,omitempty"` |
| } |
| |
| func (m *VerificationResult) Reset() { *m = VerificationResult{} } |
| func (m *VerificationResult) String() string { return proto.CompactTextString(m) } |
| func (*VerificationResult) ProtoMessage() {} |
| func (*VerificationResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} } |
| |
| func (m *VerificationResult) GetSuccess() bool { |
| if m != nil { |
| return m.Success |
| } |
| return false |
| } |
| |
| func (m *VerificationResult) GetProviderSummary() *VerificationSummary { |
| if m != nil { |
| return m.ProviderSummary |
| } |
| return nil |
| } |
| |
| func (m *VerificationResult) GetXEmbedded() *VerificationDetails { |
| if m != nil { |
| return m.XEmbedded |
| } |
| return nil |
| } |
| |
| type PublishVerificationRequest struct { |
| ProviderId string `protobuf:"bytes,1,opt,name=providerId" json:"providerId,omitempty"` |
| ConsumerId string `protobuf:"bytes,2,opt,name=consumerId" json:"consumerId,omitempty"` |
| PactId int32 `protobuf:"varint,3,opt,name=pactId" json:"pactId,omitempty"` |
| Success bool `protobuf:"varint,4,opt,name=success" json:"success,omitempty"` |
| ProviderApplicationVersion string `protobuf:"bytes,5,opt,name=providerApplicationVersion" json:"providerApplicationVersion,omitempty"` |
| } |
| |
| func (m *PublishVerificationRequest) Reset() { *m = PublishVerificationRequest{} } |
| func (m *PublishVerificationRequest) String() string { return proto.CompactTextString(m) } |
| func (*PublishVerificationRequest) ProtoMessage() {} |
| func (*PublishVerificationRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} } |
| |
| func (m *PublishVerificationRequest) GetProviderId() string { |
| if m != nil { |
| return m.ProviderId |
| } |
| return "" |
| } |
| |
| func (m *PublishVerificationRequest) GetConsumerId() string { |
| if m != nil { |
| return m.ConsumerId |
| } |
| return "" |
| } |
| |
| func (m *PublishVerificationRequest) GetPactId() int32 { |
| if m != nil { |
| return m.PactId |
| } |
| return 0 |
| } |
| |
| func (m *PublishVerificationRequest) GetSuccess() bool { |
| if m != nil { |
| return m.Success |
| } |
| return false |
| } |
| |
| func (m *PublishVerificationRequest) GetProviderApplicationVersion() string { |
| if m != nil { |
| return m.ProviderApplicationVersion |
| } |
| return "" |
| } |
| |
| type PublishVerificationResponse struct { |
| Response *proto1.Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` |
| Confirmation *VerificationDetail `protobuf:"bytes,2,opt,name=confirmation" json:"confirmation,omitempty"` |
| } |
| |
| func (m *PublishVerificationResponse) Reset() { *m = PublishVerificationResponse{} } |
| func (m *PublishVerificationResponse) String() string { return proto.CompactTextString(m) } |
| func (*PublishVerificationResponse) ProtoMessage() {} |
| func (*PublishVerificationResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} } |
| |
| func (m *PublishVerificationResponse) GetConfirmation() *VerificationDetail { |
| if m != nil { |
| return m.Confirmation |
| } |
| return nil |
| } |
| |
| type RetrieveVerificationRequest struct { |
| ConsumerId string `protobuf:"bytes,1,opt,name=consumerId" json:"consumerId,omitempty"` |
| ConsumerVersion string `protobuf:"bytes,2,opt,name=consumerVersion" json:"consumerVersion,omitempty"` |
| } |
| |
| func (m *RetrieveVerificationRequest) Reset() { *m = RetrieveVerificationRequest{} } |
| func (m *RetrieveVerificationRequest) String() string { return proto.CompactTextString(m) } |
| func (*RetrieveVerificationRequest) ProtoMessage() {} |
| func (*RetrieveVerificationRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} } |
| |
| func (m *RetrieveVerificationRequest) GetConsumerId() string { |
| if m != nil { |
| return m.ConsumerId |
| } |
| return "" |
| } |
| |
| func (m *RetrieveVerificationRequest) GetConsumerVersion() string { |
| if m != nil { |
| return m.ConsumerVersion |
| } |
| return "" |
| } |
| |
| type RetrieveVerificationResponse struct { |
| Response *proto1.Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` |
| Result *VerificationResult `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"` |
| } |
| |
| func (m *RetrieveVerificationResponse) Reset() { *m = RetrieveVerificationResponse{} } |
| func (m *RetrieveVerificationResponse) String() string { return proto.CompactTextString(m) } |
| func (*RetrieveVerificationResponse) ProtoMessage() {} |
| func (*RetrieveVerificationResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} } |
| |
| func (m *RetrieveVerificationResponse) GetResult() *VerificationResult { |
| if m != nil { |
| return m.Result |
| } |
| return nil |
| } |
| |
| type BaseBrokerRequest struct { |
| HostAddress string `protobuf:"bytes,1,opt,name=hostAddress" json:"hostAddress,omitempty"` |
| Scheme string `protobuf:"bytes,2,opt,name=scheme" json:"scheme,omitempty"` |
| } |
| |
| func (m *BaseBrokerRequest) Reset() { *m = BaseBrokerRequest{} } |
| func (m *BaseBrokerRequest) String() string { return proto.CompactTextString(m) } |
| func (*BaseBrokerRequest) ProtoMessage() {} |
| func (*BaseBrokerRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} } |
| |
| func (m *BaseBrokerRequest) GetHostAddress() string { |
| if m != nil { |
| return m.HostAddress |
| } |
| return "" |
| } |
| |
| func (m *BaseBrokerRequest) GetScheme() string { |
| if m != nil { |
| return m.Scheme |
| } |
| return "" |
| } |
| |
| type BrokerAPIInfoEntry struct { |
| Href string `protobuf:"bytes,1,opt,name=href" json:"href,omitempty"` |
| Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` |
| Title string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"` |
| Templated bool `protobuf:"varint,4,opt,name=templated" json:"templated,omitempty"` |
| } |
| |
| func (m *BrokerAPIInfoEntry) Reset() { *m = BrokerAPIInfoEntry{} } |
| func (m *BrokerAPIInfoEntry) String() string { return proto.CompactTextString(m) } |
| func (*BrokerAPIInfoEntry) ProtoMessage() {} |
| func (*BrokerAPIInfoEntry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} } |
| |
| func (m *BrokerAPIInfoEntry) GetHref() string { |
| if m != nil { |
| return m.Href |
| } |
| return "" |
| } |
| |
| func (m *BrokerAPIInfoEntry) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *BrokerAPIInfoEntry) GetTitle() string { |
| if m != nil { |
| return m.Title |
| } |
| return "" |
| } |
| |
| func (m *BrokerAPIInfoEntry) GetTemplated() bool { |
| if m != nil { |
| return m.Templated |
| } |
| return false |
| } |
| |
| type BrokerHomeResponse struct { |
| Response *proto1.Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` |
| XLinks map[string]*BrokerAPIInfoEntry `protobuf:"bytes,2,rep,name=_links,json=Links" json:"_links,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| Curies []*BrokerAPIInfoEntry `protobuf:"bytes,3,rep,name=curies" json:"curies,omitempty"` |
| } |
| |
| func (m *BrokerHomeResponse) Reset() { *m = BrokerHomeResponse{} } |
| func (m *BrokerHomeResponse) String() string { return proto.CompactTextString(m) } |
| func (*BrokerHomeResponse) ProtoMessage() {} |
| func (*BrokerHomeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{24} } |
| |
| func (m *BrokerHomeResponse) GetXLinks() map[string]*BrokerAPIInfoEntry { |
| if m != nil { |
| return m.XLinks |
| } |
| return nil |
| } |
| |
| func (m *BrokerHomeResponse) GetCuries() []*BrokerAPIInfoEntry { |
| if m != nil { |
| return m.Curies |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*Participant)(nil), "brokerpb.Participant") |
| proto.RegisterType((*Version)(nil), "brokerpb.Version") |
| proto.RegisterType((*Pact)(nil), "brokerpb.Pact") |
| proto.RegisterType((*PactVersion)(nil), "brokerpb.PactVersion") |
| proto.RegisterType((*Tag)(nil), "brokerpb.Tag") |
| proto.RegisterType((*PublishPactRequest)(nil), "brokerpb.PublishPactRequest") |
| proto.RegisterType((*PublishPactResponse)(nil), "brokerpb.PublishPactResponse") |
| proto.RegisterType((*GetAllProviderPactsRequest)(nil), "brokerpb.GetAllProviderPactsRequest") |
| proto.RegisterType((*ConsumerInfo)(nil), "brokerpb.ConsumerInfo") |
| proto.RegisterType((*Links)(nil), "brokerpb.Links") |
| proto.RegisterType((*GetAllProviderPactsResponse)(nil), "brokerpb.GetAllProviderPactsResponse") |
| proto.RegisterType((*GetProviderConsumerVersionPactRequest)(nil), "brokerpb.GetProviderConsumerVersionPactRequest") |
| proto.RegisterType((*GetProviderConsumerVersionPactResponse)(nil), "brokerpb.GetProviderConsumerVersionPactResponse") |
| proto.RegisterType((*Verification)(nil), "brokerpb.Verification") |
| proto.RegisterType((*VerificationSummary)(nil), "brokerpb.VerificationSummary") |
| proto.RegisterType((*VerificationDetail)(nil), "brokerpb.VerificationDetail") |
| proto.RegisterType((*VerificationDetails)(nil), "brokerpb.VerificationDetails") |
| proto.RegisterType((*VerificationResult)(nil), "brokerpb.VerificationResult") |
| proto.RegisterType((*PublishVerificationRequest)(nil), "brokerpb.PublishVerificationRequest") |
| proto.RegisterType((*PublishVerificationResponse)(nil), "brokerpb.PublishVerificationResponse") |
| proto.RegisterType((*RetrieveVerificationRequest)(nil), "brokerpb.RetrieveVerificationRequest") |
| proto.RegisterType((*RetrieveVerificationResponse)(nil), "brokerpb.RetrieveVerificationResponse") |
| proto.RegisterType((*BaseBrokerRequest)(nil), "brokerpb.BaseBrokerRequest") |
| proto.RegisterType((*BrokerAPIInfoEntry)(nil), "brokerpb.BrokerAPIInfoEntry") |
| proto.RegisterType((*BrokerHomeResponse)(nil), "brokerpb.BrokerHomeResponse") |
| } |
| |
| func init() { proto.RegisterFile("broker.proto", fileDescriptor0) } |
| |
| var fileDescriptor0 = []byte{ |
| // 1077 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0x4d, 0x6f, 0x23, 0x45, |
| 0x13, 0xd6, 0x38, 0x76, 0x12, 0x57, 0xfc, 0xbe, 0x59, 0x3a, 0xb0, 0xb2, 0x9c, 0x80, 0xa2, 0x16, |
| 0x2c, 0x11, 0xb0, 0x89, 0x14, 0x76, 0x01, 0xed, 0x61, 0x45, 0xc2, 0xae, 0x42, 0x24, 0x36, 0xb2, |
| 0x06, 0x36, 0x07, 0x2e, 0xab, 0x71, 0x4f, 0x39, 0x6e, 0x65, 0xbe, 0xe8, 0xee, 0x31, 0xca, 0x11, |
| 0x6e, 0x48, 0x48, 0xfc, 0x13, 0x2e, 0x5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