github.com/s7techlab/cckit@v0.10.5/extensions/owner/chaincode_owner.pb.go (about)

     1  // Chaincode owner service
     2  
     3  // Code generated by protoc-gen-go. DO NOT EDIT.
     4  // versions:
     5  // 	protoc-gen-go v1.27.1
     6  // 	protoc        (unknown)
     7  // source: owner/chaincode_owner.proto
     8  
     9  package owner
    10  
    11  import (
    12  	context "context"
    13  	_ "github.com/mwitkow/go-proto-validators"
    14  	_ "google.golang.org/genproto/googleapis/api/annotations"
    15  	grpc "google.golang.org/grpc"
    16  	codes "google.golang.org/grpc/codes"
    17  	status "google.golang.org/grpc/status"
    18  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    19  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    20  	emptypb "google.golang.org/protobuf/types/known/emptypb"
    21  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    22  	reflect "reflect"
    23  	sync "sync"
    24  )
    25  
    26  const (
    27  	// Verify that this generated code is sufficiently up-to-date.
    28  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    29  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    30  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    31  )
    32  
    33  // List: Chaincode owners
    34  type ChaincodeOwners struct {
    35  	state         protoimpl.MessageState
    36  	sizeCache     protoimpl.SizeCache
    37  	unknownFields protoimpl.UnknownFields
    38  
    39  	Items []*ChaincodeOwner `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
    40  }
    41  
    42  func (x *ChaincodeOwners) Reset() {
    43  	*x = ChaincodeOwners{}
    44  	if protoimpl.UnsafeEnabled {
    45  		mi := &file_owner_chaincode_owner_proto_msgTypes[0]
    46  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    47  		ms.StoreMessageInfo(mi)
    48  	}
    49  }
    50  
    51  func (x *ChaincodeOwners) String() string {
    52  	return protoimpl.X.MessageStringOf(x)
    53  }
    54  
    55  func (*ChaincodeOwners) ProtoMessage() {}
    56  
    57  func (x *ChaincodeOwners) ProtoReflect() protoreflect.Message {
    58  	mi := &file_owner_chaincode_owner_proto_msgTypes[0]
    59  	if protoimpl.UnsafeEnabled && x != nil {
    60  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    61  		if ms.LoadMessageInfo() == nil {
    62  			ms.StoreMessageInfo(mi)
    63  		}
    64  		return ms
    65  	}
    66  	return mi.MessageOf(x)
    67  }
    68  
    69  // Deprecated: Use ChaincodeOwners.ProtoReflect.Descriptor instead.
    70  func (*ChaincodeOwners) Descriptor() ([]byte, []int) {
    71  	return file_owner_chaincode_owner_proto_rawDescGZIP(), []int{0}
    72  }
    73  
    74  func (x *ChaincodeOwners) GetItems() []*ChaincodeOwner {
    75  	if x != nil {
    76  		return x.Items
    77  	}
    78  	return nil
    79  }
    80  
    81  // State: information stored in chaincode state about chaincode owner
    82  type ChaincodeOwner struct {
    83  	state         protoimpl.MessageState
    84  	sizeCache     protoimpl.SizeCache
    85  	unknownFields protoimpl.UnknownFields
    86  
    87  	// Msp Id
    88  	MspId string `protobuf:"bytes,1,opt,name=msp_id,json=mspId,proto3" json:"msp_id,omitempty"`
    89  	//  certificate subject
    90  	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
    91  	//  certificate issuer
    92  	Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"`
    93  	// cert valid not after
    94  	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
    95  	// Certificate
    96  	Cert []byte `protobuf:"bytes,5,opt,name=cert,proto3" json:"cert,omitempty"`
    97  	// Creator identity info
    98  	UpdatedByMspId string `protobuf:"bytes,6,opt,name=updated_by_msp_id,json=updatedByMspId,proto3" json:"updated_by_msp_id,omitempty"`
    99  	// Certificate
   100  	UpdatedByCert []byte `protobuf:"bytes,7,opt,name=updated_by_cert,json=updatedByCert,proto3" json:"updated_by_cert,omitempty"`
   101  	// Updated at
   102  	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
   103  }
   104  
   105  func (x *ChaincodeOwner) Reset() {
   106  	*x = ChaincodeOwner{}
   107  	if protoimpl.UnsafeEnabled {
   108  		mi := &file_owner_chaincode_owner_proto_msgTypes[1]
   109  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   110  		ms.StoreMessageInfo(mi)
   111  	}
   112  }
   113  
   114  func (x *ChaincodeOwner) String() string {
   115  	return protoimpl.X.MessageStringOf(x)
   116  }
   117  
   118  func (*ChaincodeOwner) ProtoMessage() {}
   119  
   120  func (x *ChaincodeOwner) ProtoReflect() protoreflect.Message {
   121  	mi := &file_owner_chaincode_owner_proto_msgTypes[1]
   122  	if protoimpl.UnsafeEnabled && x != nil {
   123  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   124  		if ms.LoadMessageInfo() == nil {
   125  			ms.StoreMessageInfo(mi)
   126  		}
   127  		return ms
   128  	}
   129  	return mi.MessageOf(x)
   130  }
   131  
   132  // Deprecated: Use ChaincodeOwner.ProtoReflect.Descriptor instead.
   133  func (*ChaincodeOwner) Descriptor() ([]byte, []int) {
   134  	return file_owner_chaincode_owner_proto_rawDescGZIP(), []int{1}
   135  }
   136  
   137  func (x *ChaincodeOwner) GetMspId() string {
   138  	if x != nil {
   139  		return x.MspId
   140  	}
   141  	return ""
   142  }
   143  
   144  func (x *ChaincodeOwner) GetSubject() string {
   145  	if x != nil {
   146  		return x.Subject
   147  	}
   148  	return ""
   149  }
   150  
   151  func (x *ChaincodeOwner) GetIssuer() string {
   152  	if x != nil {
   153  		return x.Issuer
   154  	}
   155  	return ""
   156  }
   157  
   158  func (x *ChaincodeOwner) GetExpiresAt() *timestamppb.Timestamp {
   159  	if x != nil {
   160  		return x.ExpiresAt
   161  	}
   162  	return nil
   163  }
   164  
   165  func (x *ChaincodeOwner) GetCert() []byte {
   166  	if x != nil {
   167  		return x.Cert
   168  	}
   169  	return nil
   170  }
   171  
   172  func (x *ChaincodeOwner) GetUpdatedByMspId() string {
   173  	if x != nil {
   174  		return x.UpdatedByMspId
   175  	}
   176  	return ""
   177  }
   178  
   179  func (x *ChaincodeOwner) GetUpdatedByCert() []byte {
   180  	if x != nil {
   181  		return x.UpdatedByCert
   182  	}
   183  	return nil
   184  }
   185  
   186  func (x *ChaincodeOwner) GetUpdatedAt() *timestamppb.Timestamp {
   187  	if x != nil {
   188  		return x.UpdatedAt
   189  	}
   190  	return nil
   191  }
   192  
   193  // Request: register owner
   194  type CreateOwnerRequest struct {
   195  	state         protoimpl.MessageState
   196  	sizeCache     protoimpl.SizeCache
   197  	unknownFields protoimpl.UnknownFields
   198  
   199  	// Msp Id
   200  	MspId string `protobuf:"bytes,1,opt,name=msp_id,json=mspId,proto3" json:"msp_id,omitempty"`
   201  	// Certificate
   202  	Cert []byte `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"`
   203  }
   204  
   205  func (x *CreateOwnerRequest) Reset() {
   206  	*x = CreateOwnerRequest{}
   207  	if protoimpl.UnsafeEnabled {
   208  		mi := &file_owner_chaincode_owner_proto_msgTypes[2]
   209  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   210  		ms.StoreMessageInfo(mi)
   211  	}
   212  }
   213  
   214  func (x *CreateOwnerRequest) String() string {
   215  	return protoimpl.X.MessageStringOf(x)
   216  }
   217  
   218  func (*CreateOwnerRequest) ProtoMessage() {}
   219  
   220  func (x *CreateOwnerRequest) ProtoReflect() protoreflect.Message {
   221  	mi := &file_owner_chaincode_owner_proto_msgTypes[2]
   222  	if protoimpl.UnsafeEnabled && x != nil {
   223  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   224  		if ms.LoadMessageInfo() == nil {
   225  			ms.StoreMessageInfo(mi)
   226  		}
   227  		return ms
   228  	}
   229  	return mi.MessageOf(x)
   230  }
   231  
   232  // Deprecated: Use CreateOwnerRequest.ProtoReflect.Descriptor instead.
   233  func (*CreateOwnerRequest) Descriptor() ([]byte, []int) {
   234  	return file_owner_chaincode_owner_proto_rawDescGZIP(), []int{2}
   235  }
   236  
   237  func (x *CreateOwnerRequest) GetMspId() string {
   238  	if x != nil {
   239  		return x.MspId
   240  	}
   241  	return ""
   242  }
   243  
   244  func (x *CreateOwnerRequest) GetCert() []byte {
   245  	if x != nil {
   246  		return x.Cert
   247  	}
   248  	return nil
   249  }
   250  
   251  // Request: update owner certificate
   252  type UpdateOwnerRequest struct {
   253  	state         protoimpl.MessageState
   254  	sizeCache     protoimpl.SizeCache
   255  	unknownFields protoimpl.UnknownFields
   256  
   257  	// Msp Id
   258  	MspId string `protobuf:"bytes,1,opt,name=msp_id,json=mspId,proto3" json:"msp_id,omitempty"`
   259  	// Current certificate
   260  	Cert []byte `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"`
   261  }
   262  
   263  func (x *UpdateOwnerRequest) Reset() {
   264  	*x = UpdateOwnerRequest{}
   265  	if protoimpl.UnsafeEnabled {
   266  		mi := &file_owner_chaincode_owner_proto_msgTypes[3]
   267  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   268  		ms.StoreMessageInfo(mi)
   269  	}
   270  }
   271  
   272  func (x *UpdateOwnerRequest) String() string {
   273  	return protoimpl.X.MessageStringOf(x)
   274  }
   275  
   276  func (*UpdateOwnerRequest) ProtoMessage() {}
   277  
   278  func (x *UpdateOwnerRequest) ProtoReflect() protoreflect.Message {
   279  	mi := &file_owner_chaincode_owner_proto_msgTypes[3]
   280  	if protoimpl.UnsafeEnabled && x != nil {
   281  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   282  		if ms.LoadMessageInfo() == nil {
   283  			ms.StoreMessageInfo(mi)
   284  		}
   285  		return ms
   286  	}
   287  	return mi.MessageOf(x)
   288  }
   289  
   290  // Deprecated: Use UpdateOwnerRequest.ProtoReflect.Descriptor instead.
   291  func (*UpdateOwnerRequest) Descriptor() ([]byte, []int) {
   292  	return file_owner_chaincode_owner_proto_rawDescGZIP(), []int{3}
   293  }
   294  
   295  func (x *UpdateOwnerRequest) GetMspId() string {
   296  	if x != nil {
   297  		return x.MspId
   298  	}
   299  	return ""
   300  }
   301  
   302  func (x *UpdateOwnerRequest) GetCert() []byte {
   303  	if x != nil {
   304  		return x.Cert
   305  	}
   306  	return nil
   307  }
   308  
   309  // Id: owner identifier
   310  type OwnerId struct {
   311  	state         protoimpl.MessageState
   312  	sizeCache     protoimpl.SizeCache
   313  	unknownFields protoimpl.UnknownFields
   314  
   315  	// Msp Id
   316  	MspId string `protobuf:"bytes,1,opt,name=msp_id,json=mspId,proto3" json:"msp_id,omitempty"`
   317  	// Certificate subject
   318  	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
   319  }
   320  
   321  func (x *OwnerId) Reset() {
   322  	*x = OwnerId{}
   323  	if protoimpl.UnsafeEnabled {
   324  		mi := &file_owner_chaincode_owner_proto_msgTypes[4]
   325  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   326  		ms.StoreMessageInfo(mi)
   327  	}
   328  }
   329  
   330  func (x *OwnerId) String() string {
   331  	return protoimpl.X.MessageStringOf(x)
   332  }
   333  
   334  func (*OwnerId) ProtoMessage() {}
   335  
   336  func (x *OwnerId) ProtoReflect() protoreflect.Message {
   337  	mi := &file_owner_chaincode_owner_proto_msgTypes[4]
   338  	if protoimpl.UnsafeEnabled && x != nil {
   339  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   340  		if ms.LoadMessageInfo() == nil {
   341  			ms.StoreMessageInfo(mi)
   342  		}
   343  		return ms
   344  	}
   345  	return mi.MessageOf(x)
   346  }
   347  
   348  // Deprecated: Use OwnerId.ProtoReflect.Descriptor instead.
   349  func (*OwnerId) Descriptor() ([]byte, []int) {
   350  	return file_owner_chaincode_owner_proto_rawDescGZIP(), []int{4}
   351  }
   352  
   353  func (x *OwnerId) GetMspId() string {
   354  	if x != nil {
   355  		return x.MspId
   356  	}
   357  	return ""
   358  }
   359  
   360  func (x *OwnerId) GetSubject() string {
   361  	if x != nil {
   362  		return x.Subject
   363  	}
   364  	return ""
   365  }
   366  
   367  // Event: new chaincode owner registered
   368  type ChaincodeOwnerCreated struct {
   369  	state         protoimpl.MessageState
   370  	sizeCache     protoimpl.SizeCache
   371  	unknownFields protoimpl.UnknownFields
   372  
   373  	// Msp Id
   374  	MspId string `protobuf:"bytes,1,opt,name=msp_id,json=mspId,proto3" json:"msp_id,omitempty"`
   375  	// certificate subject
   376  	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
   377  	//  certificate issuer
   378  	Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"`
   379  	// cert valid not after
   380  	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
   381  }
   382  
   383  func (x *ChaincodeOwnerCreated) Reset() {
   384  	*x = ChaincodeOwnerCreated{}
   385  	if protoimpl.UnsafeEnabled {
   386  		mi := &file_owner_chaincode_owner_proto_msgTypes[5]
   387  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   388  		ms.StoreMessageInfo(mi)
   389  	}
   390  }
   391  
   392  func (x *ChaincodeOwnerCreated) String() string {
   393  	return protoimpl.X.MessageStringOf(x)
   394  }
   395  
   396  func (*ChaincodeOwnerCreated) ProtoMessage() {}
   397  
   398  func (x *ChaincodeOwnerCreated) ProtoReflect() protoreflect.Message {
   399  	mi := &file_owner_chaincode_owner_proto_msgTypes[5]
   400  	if protoimpl.UnsafeEnabled && x != nil {
   401  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   402  		if ms.LoadMessageInfo() == nil {
   403  			ms.StoreMessageInfo(mi)
   404  		}
   405  		return ms
   406  	}
   407  	return mi.MessageOf(x)
   408  }
   409  
   410  // Deprecated: Use ChaincodeOwnerCreated.ProtoReflect.Descriptor instead.
   411  func (*ChaincodeOwnerCreated) Descriptor() ([]byte, []int) {
   412  	return file_owner_chaincode_owner_proto_rawDescGZIP(), []int{5}
   413  }
   414  
   415  func (x *ChaincodeOwnerCreated) GetMspId() string {
   416  	if x != nil {
   417  		return x.MspId
   418  	}
   419  	return ""
   420  }
   421  
   422  func (x *ChaincodeOwnerCreated) GetSubject() string {
   423  	if x != nil {
   424  		return x.Subject
   425  	}
   426  	return ""
   427  }
   428  
   429  func (x *ChaincodeOwnerCreated) GetIssuer() string {
   430  	if x != nil {
   431  		return x.Issuer
   432  	}
   433  	return ""
   434  }
   435  
   436  func (x *ChaincodeOwnerCreated) GetExpiresAt() *timestamppb.Timestamp {
   437  	if x != nil {
   438  		return x.ExpiresAt
   439  	}
   440  	return nil
   441  }
   442  
   443  // Event: new chaincode owner registered
   444  type ChaincodeOwnerUpdated struct {
   445  	state         protoimpl.MessageState
   446  	sizeCache     protoimpl.SizeCache
   447  	unknownFields protoimpl.UnknownFields
   448  
   449  	// Msp Id
   450  	MspId string `protobuf:"bytes,1,opt,name=msp_id,json=mspId,proto3" json:"msp_id,omitempty"`
   451  	// certificate subject
   452  	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
   453  	// cert valid not after
   454  	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
   455  }
   456  
   457  func (x *ChaincodeOwnerUpdated) Reset() {
   458  	*x = ChaincodeOwnerUpdated{}
   459  	if protoimpl.UnsafeEnabled {
   460  		mi := &file_owner_chaincode_owner_proto_msgTypes[6]
   461  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   462  		ms.StoreMessageInfo(mi)
   463  	}
   464  }
   465  
   466  func (x *ChaincodeOwnerUpdated) String() string {
   467  	return protoimpl.X.MessageStringOf(x)
   468  }
   469  
   470  func (*ChaincodeOwnerUpdated) ProtoMessage() {}
   471  
   472  func (x *ChaincodeOwnerUpdated) ProtoReflect() protoreflect.Message {
   473  	mi := &file_owner_chaincode_owner_proto_msgTypes[6]
   474  	if protoimpl.UnsafeEnabled && x != nil {
   475  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   476  		if ms.LoadMessageInfo() == nil {
   477  			ms.StoreMessageInfo(mi)
   478  		}
   479  		return ms
   480  	}
   481  	return mi.MessageOf(x)
   482  }
   483  
   484  // Deprecated: Use ChaincodeOwnerUpdated.ProtoReflect.Descriptor instead.
   485  func (*ChaincodeOwnerUpdated) Descriptor() ([]byte, []int) {
   486  	return file_owner_chaincode_owner_proto_rawDescGZIP(), []int{6}
   487  }
   488  
   489  func (x *ChaincodeOwnerUpdated) GetMspId() string {
   490  	if x != nil {
   491  		return x.MspId
   492  	}
   493  	return ""
   494  }
   495  
   496  func (x *ChaincodeOwnerUpdated) GetSubject() string {
   497  	if x != nil {
   498  		return x.Subject
   499  	}
   500  	return ""
   501  }
   502  
   503  func (x *ChaincodeOwnerUpdated) GetExpiresAt() *timestamppb.Timestamp {
   504  	if x != nil {
   505  		return x.ExpiresAt
   506  	}
   507  	return nil
   508  }
   509  
   510  // Event: chaincode owner deleted`
   511  type ChaincodeOwnerDeleted struct {
   512  	state         protoimpl.MessageState
   513  	sizeCache     protoimpl.SizeCache
   514  	unknownFields protoimpl.UnknownFields
   515  
   516  	// Msp Id
   517  	MspId string `protobuf:"bytes,1,opt,name=msp_id,json=mspId,proto3" json:"msp_id,omitempty"`
   518  	// certificate subject
   519  	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
   520  }
   521  
   522  func (x *ChaincodeOwnerDeleted) Reset() {
   523  	*x = ChaincodeOwnerDeleted{}
   524  	if protoimpl.UnsafeEnabled {
   525  		mi := &file_owner_chaincode_owner_proto_msgTypes[7]
   526  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   527  		ms.StoreMessageInfo(mi)
   528  	}
   529  }
   530  
   531  func (x *ChaincodeOwnerDeleted) String() string {
   532  	return protoimpl.X.MessageStringOf(x)
   533  }
   534  
   535  func (*ChaincodeOwnerDeleted) ProtoMessage() {}
   536  
   537  func (x *ChaincodeOwnerDeleted) ProtoReflect() protoreflect.Message {
   538  	mi := &file_owner_chaincode_owner_proto_msgTypes[7]
   539  	if protoimpl.UnsafeEnabled && x != nil {
   540  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   541  		if ms.LoadMessageInfo() == nil {
   542  			ms.StoreMessageInfo(mi)
   543  		}
   544  		return ms
   545  	}
   546  	return mi.MessageOf(x)
   547  }
   548  
   549  // Deprecated: Use ChaincodeOwnerDeleted.ProtoReflect.Descriptor instead.
   550  func (*ChaincodeOwnerDeleted) Descriptor() ([]byte, []int) {
   551  	return file_owner_chaincode_owner_proto_rawDescGZIP(), []int{7}
   552  }
   553  
   554  func (x *ChaincodeOwnerDeleted) GetMspId() string {
   555  	if x != nil {
   556  		return x.MspId
   557  	}
   558  	return ""
   559  }
   560  
   561  func (x *ChaincodeOwnerDeleted) GetSubject() string {
   562  	if x != nil {
   563  		return x.Subject
   564  	}
   565  	return ""
   566  }
   567  
   568  var File_owner_chaincode_owner_proto protoreflect.FileDescriptor
   569  
   570  var file_owner_chaincode_owner_proto_rawDesc = []byte{
   571  	0x0a, 0x1b, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64,
   572  	0x65, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x65,
   573  	0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x1a,
   574  	0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
   575  	0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67,
   576  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65,
   577  	0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
   578  	0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65,
   579  	0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x6d, 0x77, 0x69,
   580  	0x74, 0x6b, 0x6f, 0x77, 0x2f, 0x67, 0x6f, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2d, 0x76, 0x61,
   581  	0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
   582  	0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x69,
   583  	0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x36, 0x0a, 0x05, 0x69,
   584  	0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x78, 0x74,
   585  	0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x2e, 0x43, 0x68,
   586  	0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x05, 0x69, 0x74,
   587  	0x65, 0x6d, 0x73, 0x22, 0xb6, 0x02, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64,
   588  	0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x15, 0x0a, 0x06, 0x6d, 0x73, 0x70, 0x5f, 0x69, 0x64,
   589  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x73, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a,
   590  	0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
   591  	0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65,
   592  	0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12,
   593  	0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20,
   594  	0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   595  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
   596  	0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65,
   597  	0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x65, 0x72, 0x74, 0x12, 0x29,
   598  	0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x6d, 0x73, 0x70,
   599  	0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74,
   600  	0x65, 0x64, 0x42, 0x79, 0x4d, 0x73, 0x70, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x75, 0x70, 0x64,
   601  	0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x18, 0x07, 0x20, 0x01,
   602  	0x28, 0x0c, 0x52, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x43, 0x65, 0x72,
   603  	0x74, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
   604  	0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
   605  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
   606  	0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x4f, 0x0a, 0x12,
   607  	0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
   608  	0x73, 0x74, 0x12, 0x1d, 0x0a, 0x06, 0x6d, 0x73, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
   609  	0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x05, 0x6d, 0x73, 0x70, 0x49,
   610  	0x64, 0x12, 0x1a, 0x0a, 0x04, 0x63, 0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42,
   611  	0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x70, 0x00, 0x52, 0x04, 0x63, 0x65, 0x72, 0x74, 0x22, 0x4f, 0x0a,
   612  	0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
   613  	0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x06, 0x6d, 0x73, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
   614  	0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x05, 0x6d, 0x73, 0x70,
   615  	0x49, 0x64, 0x12, 0x1a, 0x0a, 0x04, 0x63, 0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
   616  	0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x70, 0x00, 0x52, 0x04, 0x63, 0x65, 0x72, 0x74, 0x22, 0x4a,
   617  	0x0a, 0x07, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x06, 0x6d, 0x73, 0x70,
   618  	0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58,
   619  	0x01, 0x52, 0x05, 0x6d, 0x73, 0x70, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a,
   620  	0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58,
   621  	0x01, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x9b, 0x01, 0x0a, 0x15, 0x43,
   622  	0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x43, 0x72, 0x65,
   623  	0x61, 0x74, 0x65, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x6d, 0x73, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01,
   624  	0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x73, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73,
   625  	0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75,
   626  	0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x18,
   627  	0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x39, 0x0a,
   628  	0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
   629  	0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   630  	0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65,
   631  	0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x22, 0x83, 0x01, 0x0a, 0x15, 0x43, 0x68, 0x61,
   632  	0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74,
   633  	0x65, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x6d, 0x73, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
   634  	0x28, 0x09, 0x52, 0x05, 0x6d, 0x73, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62,
   635  	0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a,
   636  	0x65, 0x63, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61,
   637  	0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   638  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
   639  	0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x22, 0x48,
   640  	0x0a, 0x15, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72,
   641  	0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x6d, 0x73, 0x70, 0x5f, 0x69,
   642  	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x73, 0x70, 0x49, 0x64, 0x12, 0x18,
   643  	0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
   644  	0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x32, 0xc3, 0x06, 0x0a, 0x15, 0x43, 0x68, 0x61,
   645  	0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69,
   646  	0x63, 0x65, 0x12, 0x71, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x42, 0x79,
   647  	0x54, 0x78, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   648  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
   649  	0x79, 0x1a, 0x20, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6f,
   650  	0x77, 0x6e, 0x65, 0x72, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4f, 0x77,
   651  	0x6e, 0x65, 0x72, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x63, 0x68,
   652  	0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x2f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x2f, 0x77,
   653  	0x68, 0x6f, 0x61, 0x6d, 0x69, 0x12, 0x62, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x77, 0x6e,
   654  	0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   655  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x21, 0x2e, 0x65, 0x78,
   656  	0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x2e, 0x43,
   657  	0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x22, 0x19,
   658  	0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f,
   659  	0x64, 0x65, 0x2f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x75, 0x0a, 0x08, 0x47, 0x65, 0x74,
   660  	0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
   661  	0x6e, 0x73, 0x2e, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64,
   662  	0x1a, 0x20, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6f, 0x77,
   663  	0x6e, 0x65, 0x72, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4f, 0x77, 0x6e,
   664  	0x65, 0x72, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x63, 0x68, 0x61,
   665  	0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x2f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x6d,
   666  	0x73, 0x70, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x7d,
   667  	0x12, 0x73, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12,
   668  	0x24, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6f, 0x77, 0x6e,
   669  	0x65, 0x72, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65,
   670  	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
   671  	0x6e, 0x73, 0x2e, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f,
   672  	0x64, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x22,
   673  	0x11, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x2f, 0x6f, 0x77, 0x6e, 0x65,
   674  	0x72, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0x78, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f,
   675  	0x77, 0x6e, 0x65, 0x72, 0x54, 0x78, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x2e,
   676  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
   677  	0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x20, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
   678  	0x6e, 0x73, 0x2e, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f,
   679  	0x64, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22,
   680  	0x1b, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x2f, 0x6f, 0x77, 0x6e, 0x65,
   681  	0x72, 0x73, 0x2f, 0x74, 0x78, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x01, 0x2a, 0x12,
   682  	0x73, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x24,
   683  	0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6f, 0x77, 0x6e, 0x65,
   684  	0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71,
   685  	0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
   686  	0x73, 0x2e, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64,
   687  	0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x1a, 0x11,
   688  	0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x2f, 0x6f, 0x77, 0x6e, 0x65, 0x72,
   689  	0x73, 0x3a, 0x01, 0x2a, 0x12, 0x78, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x77,
   690  	0x6e, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
   691  	0x2e, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x1a, 0x20,
   692  	0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6f, 0x77, 0x6e, 0x65,
   693  	0x72, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72,
   694  	0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x2a, 0x24, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e,
   695  	0x63, 0x6f, 0x64, 0x65, 0x2f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x6d, 0x73, 0x70,
   696  	0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x42, 0x2d,
   697  	0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x37, 0x74,
   698  	0x65, 0x63, 0x68, 0x6c, 0x61, 0x62, 0x2f, 0x63, 0x63, 0x6b, 0x69, 0x74, 0x2f, 0x65, 0x78, 0x74,
   699  	0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x62, 0x06, 0x70,
   700  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   701  }
   702  
   703  var (
   704  	file_owner_chaincode_owner_proto_rawDescOnce sync.Once
   705  	file_owner_chaincode_owner_proto_rawDescData = file_owner_chaincode_owner_proto_rawDesc
   706  )
   707  
   708  func file_owner_chaincode_owner_proto_rawDescGZIP() []byte {
   709  	file_owner_chaincode_owner_proto_rawDescOnce.Do(func() {
   710  		file_owner_chaincode_owner_proto_rawDescData = protoimpl.X.CompressGZIP(file_owner_chaincode_owner_proto_rawDescData)
   711  	})
   712  	return file_owner_chaincode_owner_proto_rawDescData
   713  }
   714  
   715  var file_owner_chaincode_owner_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
   716  var file_owner_chaincode_owner_proto_goTypes = []interface{}{
   717  	(*ChaincodeOwners)(nil),       // 0: extensions.owner.ChaincodeOwners
   718  	(*ChaincodeOwner)(nil),        // 1: extensions.owner.ChaincodeOwner
   719  	(*CreateOwnerRequest)(nil),    // 2: extensions.owner.CreateOwnerRequest
   720  	(*UpdateOwnerRequest)(nil),    // 3: extensions.owner.UpdateOwnerRequest
   721  	(*OwnerId)(nil),               // 4: extensions.owner.OwnerId
   722  	(*ChaincodeOwnerCreated)(nil), // 5: extensions.owner.ChaincodeOwnerCreated
   723  	(*ChaincodeOwnerUpdated)(nil), // 6: extensions.owner.ChaincodeOwnerUpdated
   724  	(*ChaincodeOwnerDeleted)(nil), // 7: extensions.owner.ChaincodeOwnerDeleted
   725  	(*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
   726  	(*emptypb.Empty)(nil),         // 9: google.protobuf.Empty
   727  }
   728  var file_owner_chaincode_owner_proto_depIdxs = []int32{
   729  	1,  // 0: extensions.owner.ChaincodeOwners.items:type_name -> extensions.owner.ChaincodeOwner
   730  	8,  // 1: extensions.owner.ChaincodeOwner.expires_at:type_name -> google.protobuf.Timestamp
   731  	8,  // 2: extensions.owner.ChaincodeOwner.updated_at:type_name -> google.protobuf.Timestamp
   732  	8,  // 3: extensions.owner.ChaincodeOwnerCreated.expires_at:type_name -> google.protobuf.Timestamp
   733  	8,  // 4: extensions.owner.ChaincodeOwnerUpdated.expires_at:type_name -> google.protobuf.Timestamp
   734  	9,  // 5: extensions.owner.ChaincodeOwnerService.GetOwnerByTxCreator:input_type -> google.protobuf.Empty
   735  	9,  // 6: extensions.owner.ChaincodeOwnerService.ListOwners:input_type -> google.protobuf.Empty
   736  	4,  // 7: extensions.owner.ChaincodeOwnerService.GetOwner:input_type -> extensions.owner.OwnerId
   737  	2,  // 8: extensions.owner.ChaincodeOwnerService.CreateOwner:input_type -> extensions.owner.CreateOwnerRequest
   738  	9,  // 9: extensions.owner.ChaincodeOwnerService.CreateOwnerTxCreator:input_type -> google.protobuf.Empty
   739  	3,  // 10: extensions.owner.ChaincodeOwnerService.UpdateOwner:input_type -> extensions.owner.UpdateOwnerRequest
   740  	4,  // 11: extensions.owner.ChaincodeOwnerService.DeleteOwner:input_type -> extensions.owner.OwnerId
   741  	1,  // 12: extensions.owner.ChaincodeOwnerService.GetOwnerByTxCreator:output_type -> extensions.owner.ChaincodeOwner
   742  	0,  // 13: extensions.owner.ChaincodeOwnerService.ListOwners:output_type -> extensions.owner.ChaincodeOwners
   743  	1,  // 14: extensions.owner.ChaincodeOwnerService.GetOwner:output_type -> extensions.owner.ChaincodeOwner
   744  	1,  // 15: extensions.owner.ChaincodeOwnerService.CreateOwner:output_type -> extensions.owner.ChaincodeOwner
   745  	1,  // 16: extensions.owner.ChaincodeOwnerService.CreateOwnerTxCreator:output_type -> extensions.owner.ChaincodeOwner
   746  	1,  // 17: extensions.owner.ChaincodeOwnerService.UpdateOwner:output_type -> extensions.owner.ChaincodeOwner
   747  	1,  // 18: extensions.owner.ChaincodeOwnerService.DeleteOwner:output_type -> extensions.owner.ChaincodeOwner
   748  	12, // [12:19] is the sub-list for method output_type
   749  	5,  // [5:12] is the sub-list for method input_type
   750  	5,  // [5:5] is the sub-list for extension type_name
   751  	5,  // [5:5] is the sub-list for extension extendee
   752  	0,  // [0:5] is the sub-list for field type_name
   753  }
   754  
   755  func init() { file_owner_chaincode_owner_proto_init() }
   756  func file_owner_chaincode_owner_proto_init() {
   757  	if File_owner_chaincode_owner_proto != nil {
   758  		return
   759  	}
   760  	if !protoimpl.UnsafeEnabled {
   761  		file_owner_chaincode_owner_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   762  			switch v := v.(*ChaincodeOwners); i {
   763  			case 0:
   764  				return &v.state
   765  			case 1:
   766  				return &v.sizeCache
   767  			case 2:
   768  				return &v.unknownFields
   769  			default:
   770  				return nil
   771  			}
   772  		}
   773  		file_owner_chaincode_owner_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   774  			switch v := v.(*ChaincodeOwner); i {
   775  			case 0:
   776  				return &v.state
   777  			case 1:
   778  				return &v.sizeCache
   779  			case 2:
   780  				return &v.unknownFields
   781  			default:
   782  				return nil
   783  			}
   784  		}
   785  		file_owner_chaincode_owner_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   786  			switch v := v.(*CreateOwnerRequest); i {
   787  			case 0:
   788  				return &v.state
   789  			case 1:
   790  				return &v.sizeCache
   791  			case 2:
   792  				return &v.unknownFields
   793  			default:
   794  				return nil
   795  			}
   796  		}
   797  		file_owner_chaincode_owner_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   798  			switch v := v.(*UpdateOwnerRequest); i {
   799  			case 0:
   800  				return &v.state
   801  			case 1:
   802  				return &v.sizeCache
   803  			case 2:
   804  				return &v.unknownFields
   805  			default:
   806  				return nil
   807  			}
   808  		}
   809  		file_owner_chaincode_owner_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   810  			switch v := v.(*OwnerId); i {
   811  			case 0:
   812  				return &v.state
   813  			case 1:
   814  				return &v.sizeCache
   815  			case 2:
   816  				return &v.unknownFields
   817  			default:
   818  				return nil
   819  			}
   820  		}
   821  		file_owner_chaincode_owner_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   822  			switch v := v.(*ChaincodeOwnerCreated); i {
   823  			case 0:
   824  				return &v.state
   825  			case 1:
   826  				return &v.sizeCache
   827  			case 2:
   828  				return &v.unknownFields
   829  			default:
   830  				return nil
   831  			}
   832  		}
   833  		file_owner_chaincode_owner_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   834  			switch v := v.(*ChaincodeOwnerUpdated); i {
   835  			case 0:
   836  				return &v.state
   837  			case 1:
   838  				return &v.sizeCache
   839  			case 2:
   840  				return &v.unknownFields
   841  			default:
   842  				return nil
   843  			}
   844  		}
   845  		file_owner_chaincode_owner_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
   846  			switch v := v.(*ChaincodeOwnerDeleted); i {
   847  			case 0:
   848  				return &v.state
   849  			case 1:
   850  				return &v.sizeCache
   851  			case 2:
   852  				return &v.unknownFields
   853  			default:
   854  				return nil
   855  			}
   856  		}
   857  	}
   858  	type x struct{}
   859  	out := protoimpl.TypeBuilder{
   860  		File: protoimpl.DescBuilder{
   861  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   862  			RawDescriptor: file_owner_chaincode_owner_proto_rawDesc,
   863  			NumEnums:      0,
   864  			NumMessages:   8,
   865  			NumExtensions: 0,
   866  			NumServices:   1,
   867  		},
   868  		GoTypes:           file_owner_chaincode_owner_proto_goTypes,
   869  		DependencyIndexes: file_owner_chaincode_owner_proto_depIdxs,
   870  		MessageInfos:      file_owner_chaincode_owner_proto_msgTypes,
   871  	}.Build()
   872  	File_owner_chaincode_owner_proto = out.File
   873  	file_owner_chaincode_owner_proto_rawDesc = nil
   874  	file_owner_chaincode_owner_proto_goTypes = nil
   875  	file_owner_chaincode_owner_proto_depIdxs = nil
   876  }
   877  
   878  // Reference imports to suppress errors if they are not otherwise used.
   879  var _ context.Context
   880  var _ grpc.ClientConnInterface
   881  
   882  // This is a compile-time assertion to ensure that this generated file
   883  // is compatible with the grpc package it is being compiled against.
   884  const _ = grpc.SupportPackageIsVersion6
   885  
   886  // ChaincodeOwnerServiceClient is the client API for ChaincodeOwnerService service.
   887  //
   888  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   889  type ChaincodeOwnerServiceClient interface {
   890  	// Checks tx creator is owner
   891  	GetOwnerByTxCreator(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ChaincodeOwner, error)
   892  	// Get owners list
   893  	ListOwners(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ChaincodeOwners, error)
   894  	// Get owner by msp_id and certificate subject
   895  	GetOwner(ctx context.Context, in *OwnerId, opts ...grpc.CallOption) (*ChaincodeOwner, error)
   896  	// Register new chaincode owner, method can be call by current owner or if no owner exists
   897  	// If chaincode owner with same MspID, certificate subject and issuer exists - throws error
   898  	CreateOwner(ctx context.Context, in *CreateOwnerRequest, opts ...grpc.CallOption) (*ChaincodeOwner, error)
   899  	// Register tx creator as chaincode owner
   900  	CreateOwnerTxCreator(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ChaincodeOwner, error)
   901  	//  Update chaincode owner. Msp id and certificate subject must be equal to current owner certificate
   902  	UpdateOwner(ctx context.Context, in *UpdateOwnerRequest, opts ...grpc.CallOption) (*ChaincodeOwner, error)
   903  	// Delete owner
   904  	DeleteOwner(ctx context.Context, in *OwnerId, opts ...grpc.CallOption) (*ChaincodeOwner, error)
   905  }
   906  
   907  type chaincodeOwnerServiceClient struct {
   908  	cc grpc.ClientConnInterface
   909  }
   910  
   911  func NewChaincodeOwnerServiceClient(cc grpc.ClientConnInterface) ChaincodeOwnerServiceClient {
   912  	return &chaincodeOwnerServiceClient{cc}
   913  }
   914  
   915  func (c *chaincodeOwnerServiceClient) GetOwnerByTxCreator(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ChaincodeOwner, error) {
   916  	out := new(ChaincodeOwner)
   917  	err := c.cc.Invoke(ctx, "/extensions.owner.ChaincodeOwnerService/GetOwnerByTxCreator", in, out, opts...)
   918  	if err != nil {
   919  		return nil, err
   920  	}
   921  	return out, nil
   922  }
   923  
   924  func (c *chaincodeOwnerServiceClient) ListOwners(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ChaincodeOwners, error) {
   925  	out := new(ChaincodeOwners)
   926  	err := c.cc.Invoke(ctx, "/extensions.owner.ChaincodeOwnerService/ListOwners", in, out, opts...)
   927  	if err != nil {
   928  		return nil, err
   929  	}
   930  	return out, nil
   931  }
   932  
   933  func (c *chaincodeOwnerServiceClient) GetOwner(ctx context.Context, in *OwnerId, opts ...grpc.CallOption) (*ChaincodeOwner, error) {
   934  	out := new(ChaincodeOwner)
   935  	err := c.cc.Invoke(ctx, "/extensions.owner.ChaincodeOwnerService/GetOwner", in, out, opts...)
   936  	if err != nil {
   937  		return nil, err
   938  	}
   939  	return out, nil
   940  }
   941  
   942  func (c *chaincodeOwnerServiceClient) CreateOwner(ctx context.Context, in *CreateOwnerRequest, opts ...grpc.CallOption) (*ChaincodeOwner, error) {
   943  	out := new(ChaincodeOwner)
   944  	err := c.cc.Invoke(ctx, "/extensions.owner.ChaincodeOwnerService/CreateOwner", in, out, opts...)
   945  	if err != nil {
   946  		return nil, err
   947  	}
   948  	return out, nil
   949  }
   950  
   951  func (c *chaincodeOwnerServiceClient) CreateOwnerTxCreator(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ChaincodeOwner, error) {
   952  	out := new(ChaincodeOwner)
   953  	err := c.cc.Invoke(ctx, "/extensions.owner.ChaincodeOwnerService/CreateOwnerTxCreator", in, out, opts...)
   954  	if err != nil {
   955  		return nil, err
   956  	}
   957  	return out, nil
   958  }
   959  
   960  func (c *chaincodeOwnerServiceClient) UpdateOwner(ctx context.Context, in *UpdateOwnerRequest, opts ...grpc.CallOption) (*ChaincodeOwner, error) {
   961  	out := new(ChaincodeOwner)
   962  	err := c.cc.Invoke(ctx, "/extensions.owner.ChaincodeOwnerService/UpdateOwner", in, out, opts...)
   963  	if err != nil {
   964  		return nil, err
   965  	}
   966  	return out, nil
   967  }
   968  
   969  func (c *chaincodeOwnerServiceClient) DeleteOwner(ctx context.Context, in *OwnerId, opts ...grpc.CallOption) (*ChaincodeOwner, error) {
   970  	out := new(ChaincodeOwner)
   971  	err := c.cc.Invoke(ctx, "/extensions.owner.ChaincodeOwnerService/DeleteOwner", in, out, opts...)
   972  	if err != nil {
   973  		return nil, err
   974  	}
   975  	return out, nil
   976  }
   977  
   978  // ChaincodeOwnerServiceServer is the server API for ChaincodeOwnerService service.
   979  type ChaincodeOwnerServiceServer interface {
   980  	// Checks tx creator is owner
   981  	GetOwnerByTxCreator(context.Context, *emptypb.Empty) (*ChaincodeOwner, error)
   982  	// Get owners list
   983  	ListOwners(context.Context, *emptypb.Empty) (*ChaincodeOwners, error)
   984  	// Get owner by msp_id and certificate subject
   985  	GetOwner(context.Context, *OwnerId) (*ChaincodeOwner, error)
   986  	// Register new chaincode owner, method can be call by current owner or if no owner exists
   987  	// If chaincode owner with same MspID, certificate subject and issuer exists - throws error
   988  	CreateOwner(context.Context, *CreateOwnerRequest) (*ChaincodeOwner, error)
   989  	// Register tx creator as chaincode owner
   990  	CreateOwnerTxCreator(context.Context, *emptypb.Empty) (*ChaincodeOwner, error)
   991  	//  Update chaincode owner. Msp id and certificate subject must be equal to current owner certificate
   992  	UpdateOwner(context.Context, *UpdateOwnerRequest) (*ChaincodeOwner, error)
   993  	// Delete owner
   994  	DeleteOwner(context.Context, *OwnerId) (*ChaincodeOwner, error)
   995  }
   996  
   997  // UnimplementedChaincodeOwnerServiceServer can be embedded to have forward compatible implementations.
   998  type UnimplementedChaincodeOwnerServiceServer struct {
   999  }
  1000  
  1001  func (*UnimplementedChaincodeOwnerServiceServer) GetOwnerByTxCreator(context.Context, *emptypb.Empty) (*ChaincodeOwner, error) {
  1002  	return nil, status.Errorf(codes.Unimplemented, "method GetOwnerByTxCreator not implemented")
  1003  }
  1004  func (*UnimplementedChaincodeOwnerServiceServer) ListOwners(context.Context, *emptypb.Empty) (*ChaincodeOwners, error) {
  1005  	return nil, status.Errorf(codes.Unimplemented, "method ListOwners not implemented")
  1006  }
  1007  func (*UnimplementedChaincodeOwnerServiceServer) GetOwner(context.Context, *OwnerId) (*ChaincodeOwner, error) {
  1008  	return nil, status.Errorf(codes.Unimplemented, "method GetOwner not implemented")
  1009  }
  1010  func (*UnimplementedChaincodeOwnerServiceServer) CreateOwner(context.Context, *CreateOwnerRequest) (*ChaincodeOwner, error) {
  1011  	return nil, status.Errorf(codes.Unimplemented, "method CreateOwner not implemented")
  1012  }
  1013  func (*UnimplementedChaincodeOwnerServiceServer) CreateOwnerTxCreator(context.Context, *emptypb.Empty) (*ChaincodeOwner, error) {
  1014  	return nil, status.Errorf(codes.Unimplemented, "method CreateOwnerTxCreator not implemented")
  1015  }
  1016  func (*UnimplementedChaincodeOwnerServiceServer) UpdateOwner(context.Context, *UpdateOwnerRequest) (*ChaincodeOwner, error) {
  1017  	return nil, status.Errorf(codes.Unimplemented, "method UpdateOwner not implemented")
  1018  }
  1019  func (*UnimplementedChaincodeOwnerServiceServer) DeleteOwner(context.Context, *OwnerId) (*ChaincodeOwner, error) {
  1020  	return nil, status.Errorf(codes.Unimplemented, "method DeleteOwner not implemented")
  1021  }
  1022  
  1023  func RegisterChaincodeOwnerServiceServer(s *grpc.Server, srv ChaincodeOwnerServiceServer) {
  1024  	s.RegisterService(&_ChaincodeOwnerService_serviceDesc, srv)
  1025  }
  1026  
  1027  func _ChaincodeOwnerService_GetOwnerByTxCreator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1028  	in := new(emptypb.Empty)
  1029  	if err := dec(in); err != nil {
  1030  		return nil, err
  1031  	}
  1032  	if interceptor == nil {
  1033  		return srv.(ChaincodeOwnerServiceServer).GetOwnerByTxCreator(ctx, in)
  1034  	}
  1035  	info := &grpc.UnaryServerInfo{
  1036  		Server:     srv,
  1037  		FullMethod: "/extensions.owner.ChaincodeOwnerService/GetOwnerByTxCreator",
  1038  	}
  1039  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1040  		return srv.(ChaincodeOwnerServiceServer).GetOwnerByTxCreator(ctx, req.(*emptypb.Empty))
  1041  	}
  1042  	return interceptor(ctx, in, info, handler)
  1043  }
  1044  
  1045  func _ChaincodeOwnerService_ListOwners_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1046  	in := new(emptypb.Empty)
  1047  	if err := dec(in); err != nil {
  1048  		return nil, err
  1049  	}
  1050  	if interceptor == nil {
  1051  		return srv.(ChaincodeOwnerServiceServer).ListOwners(ctx, in)
  1052  	}
  1053  	info := &grpc.UnaryServerInfo{
  1054  		Server:     srv,
  1055  		FullMethod: "/extensions.owner.ChaincodeOwnerService/ListOwners",
  1056  	}
  1057  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1058  		return srv.(ChaincodeOwnerServiceServer).ListOwners(ctx, req.(*emptypb.Empty))
  1059  	}
  1060  	return interceptor(ctx, in, info, handler)
  1061  }
  1062  
  1063  func _ChaincodeOwnerService_GetOwner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1064  	in := new(OwnerId)
  1065  	if err := dec(in); err != nil {
  1066  		return nil, err
  1067  	}
  1068  	if interceptor == nil {
  1069  		return srv.(ChaincodeOwnerServiceServer).GetOwner(ctx, in)
  1070  	}
  1071  	info := &grpc.UnaryServerInfo{
  1072  		Server:     srv,
  1073  		FullMethod: "/extensions.owner.ChaincodeOwnerService/GetOwner",
  1074  	}
  1075  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1076  		return srv.(ChaincodeOwnerServiceServer).GetOwner(ctx, req.(*OwnerId))
  1077  	}
  1078  	return interceptor(ctx, in, info, handler)
  1079  }
  1080  
  1081  func _ChaincodeOwnerService_CreateOwner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1082  	in := new(CreateOwnerRequest)
  1083  	if err := dec(in); err != nil {
  1084  		return nil, err
  1085  	}
  1086  	if interceptor == nil {
  1087  		return srv.(ChaincodeOwnerServiceServer).CreateOwner(ctx, in)
  1088  	}
  1089  	info := &grpc.UnaryServerInfo{
  1090  		Server:     srv,
  1091  		FullMethod: "/extensions.owner.ChaincodeOwnerService/CreateOwner",
  1092  	}
  1093  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1094  		return srv.(ChaincodeOwnerServiceServer).CreateOwner(ctx, req.(*CreateOwnerRequest))
  1095  	}
  1096  	return interceptor(ctx, in, info, handler)
  1097  }
  1098  
  1099  func _ChaincodeOwnerService_CreateOwnerTxCreator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1100  	in := new(emptypb.Empty)
  1101  	if err := dec(in); err != nil {
  1102  		return nil, err
  1103  	}
  1104  	if interceptor == nil {
  1105  		return srv.(ChaincodeOwnerServiceServer).CreateOwnerTxCreator(ctx, in)
  1106  	}
  1107  	info := &grpc.UnaryServerInfo{
  1108  		Server:     srv,
  1109  		FullMethod: "/extensions.owner.ChaincodeOwnerService/CreateOwnerTxCreator",
  1110  	}
  1111  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1112  		return srv.(ChaincodeOwnerServiceServer).CreateOwnerTxCreator(ctx, req.(*emptypb.Empty))
  1113  	}
  1114  	return interceptor(ctx, in, info, handler)
  1115  }
  1116  
  1117  func _ChaincodeOwnerService_UpdateOwner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1118  	in := new(UpdateOwnerRequest)
  1119  	if err := dec(in); err != nil {
  1120  		return nil, err
  1121  	}
  1122  	if interceptor == nil {
  1123  		return srv.(ChaincodeOwnerServiceServer).UpdateOwner(ctx, in)
  1124  	}
  1125  	info := &grpc.UnaryServerInfo{
  1126  		Server:     srv,
  1127  		FullMethod: "/extensions.owner.ChaincodeOwnerService/UpdateOwner",
  1128  	}
  1129  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1130  		return srv.(ChaincodeOwnerServiceServer).UpdateOwner(ctx, req.(*UpdateOwnerRequest))
  1131  	}
  1132  	return interceptor(ctx, in, info, handler)
  1133  }
  1134  
  1135  func _ChaincodeOwnerService_DeleteOwner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1136  	in := new(OwnerId)
  1137  	if err := dec(in); err != nil {
  1138  		return nil, err
  1139  	}
  1140  	if interceptor == nil {
  1141  		return srv.(ChaincodeOwnerServiceServer).DeleteOwner(ctx, in)
  1142  	}
  1143  	info := &grpc.UnaryServerInfo{
  1144  		Server:     srv,
  1145  		FullMethod: "/extensions.owner.ChaincodeOwnerService/DeleteOwner",
  1146  	}
  1147  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1148  		return srv.(ChaincodeOwnerServiceServer).DeleteOwner(ctx, req.(*OwnerId))
  1149  	}
  1150  	return interceptor(ctx, in, info, handler)
  1151  }
  1152  
  1153  var _ChaincodeOwnerService_serviceDesc = grpc.ServiceDesc{
  1154  	ServiceName: "extensions.owner.ChaincodeOwnerService",
  1155  	HandlerType: (*ChaincodeOwnerServiceServer)(nil),
  1156  	Methods: []grpc.MethodDesc{
  1157  		{
  1158  			MethodName: "GetOwnerByTxCreator",
  1159  			Handler:    _ChaincodeOwnerService_GetOwnerByTxCreator_Handler,
  1160  		},
  1161  		{
  1162  			MethodName: "ListOwners",
  1163  			Handler:    _ChaincodeOwnerService_ListOwners_Handler,
  1164  		},
  1165  		{
  1166  			MethodName: "GetOwner",
  1167  			Handler:    _ChaincodeOwnerService_GetOwner_Handler,
  1168  		},
  1169  		{
  1170  			MethodName: "CreateOwner",
  1171  			Handler:    _ChaincodeOwnerService_CreateOwner_Handler,
  1172  		},
  1173  		{
  1174  			MethodName: "CreateOwnerTxCreator",
  1175  			Handler:    _ChaincodeOwnerService_CreateOwnerTxCreator_Handler,
  1176  		},
  1177  		{
  1178  			MethodName: "UpdateOwner",
  1179  			Handler:    _ChaincodeOwnerService_UpdateOwner_Handler,
  1180  		},
  1181  		{
  1182  			MethodName: "DeleteOwner",
  1183  			Handler:    _ChaincodeOwnerService_DeleteOwner_Handler,
  1184  		},
  1185  	},
  1186  	Streams:  []grpc.StreamDesc{},
  1187  	Metadata: "owner/chaincode_owner.proto",
  1188  }