github.com/ewagmig/fabric@v2.1.1+incompatible/core/ledger/kvledger/txmgmt/privacyenabledstate/update_batch.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: update_batch.proto
     3  
     4  package privacyenabledstate
     5  
     6  import (
     7  	fmt "fmt"
     8  	proto "github.com/golang/protobuf/proto"
     9  	math "math"
    10  )
    11  
    12  // Reference imports to suppress errors if they are not otherwise used.
    13  var _ = proto.Marshal
    14  var _ = fmt.Errorf
    15  var _ = math.Inf
    16  
    17  // This is a compile-time assertion to ensure that this generated file
    18  // is compatible with the proto package it is being compiled against.
    19  // A compilation error at this line likely means your copy of the
    20  // proto package needs to be updated.
    21  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    22  
    23  type KVWriteProto struct {
    24  	Namespace            string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
    25  	Collection           string   `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
    26  	Key                  []byte   `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
    27  	IsDelete             bool     `protobuf:"varint,4,opt,name=isDelete,proto3" json:"isDelete,omitempty"`
    28  	Value                []byte   `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
    29  	VersionBytes         []byte   `protobuf:"bytes,6,opt,name=version_bytes,json=versionBytes,proto3" json:"version_bytes,omitempty"`
    30  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    31  	XXX_unrecognized     []byte   `json:"-"`
    32  	XXX_sizecache        int32    `json:"-"`
    33  }
    34  
    35  func (m *KVWriteProto) Reset()         { *m = KVWriteProto{} }
    36  func (m *KVWriteProto) String() string { return proto.CompactTextString(m) }
    37  func (*KVWriteProto) ProtoMessage()    {}
    38  func (*KVWriteProto) Descriptor() ([]byte, []int) {
    39  	return fileDescriptor_a8166e034ebfc04c, []int{0}
    40  }
    41  
    42  func (m *KVWriteProto) XXX_Unmarshal(b []byte) error {
    43  	return xxx_messageInfo_KVWriteProto.Unmarshal(m, b)
    44  }
    45  func (m *KVWriteProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    46  	return xxx_messageInfo_KVWriteProto.Marshal(b, m, deterministic)
    47  }
    48  func (m *KVWriteProto) XXX_Merge(src proto.Message) {
    49  	xxx_messageInfo_KVWriteProto.Merge(m, src)
    50  }
    51  func (m *KVWriteProto) XXX_Size() int {
    52  	return xxx_messageInfo_KVWriteProto.Size(m)
    53  }
    54  func (m *KVWriteProto) XXX_DiscardUnknown() {
    55  	xxx_messageInfo_KVWriteProto.DiscardUnknown(m)
    56  }
    57  
    58  var xxx_messageInfo_KVWriteProto proto.InternalMessageInfo
    59  
    60  func (m *KVWriteProto) GetNamespace() string {
    61  	if m != nil {
    62  		return m.Namespace
    63  	}
    64  	return ""
    65  }
    66  
    67  func (m *KVWriteProto) GetCollection() string {
    68  	if m != nil {
    69  		return m.Collection
    70  	}
    71  	return ""
    72  }
    73  
    74  func (m *KVWriteProto) GetKey() []byte {
    75  	if m != nil {
    76  		return m.Key
    77  	}
    78  	return nil
    79  }
    80  
    81  func (m *KVWriteProto) GetIsDelete() bool {
    82  	if m != nil {
    83  		return m.IsDelete
    84  	}
    85  	return false
    86  }
    87  
    88  func (m *KVWriteProto) GetValue() []byte {
    89  	if m != nil {
    90  		return m.Value
    91  	}
    92  	return nil
    93  }
    94  
    95  func (m *KVWriteProto) GetVersionBytes() []byte {
    96  	if m != nil {
    97  		return m.VersionBytes
    98  	}
    99  	return nil
   100  }
   101  
   102  type KVWritesBatchProto struct {
   103  	Kvwrites             []*KVWriteProto `protobuf:"bytes,1,rep,name=kvwrites,proto3" json:"kvwrites,omitempty"`
   104  	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
   105  	XXX_unrecognized     []byte          `json:"-"`
   106  	XXX_sizecache        int32           `json:"-"`
   107  }
   108  
   109  func (m *KVWritesBatchProto) Reset()         { *m = KVWritesBatchProto{} }
   110  func (m *KVWritesBatchProto) String() string { return proto.CompactTextString(m) }
   111  func (*KVWritesBatchProto) ProtoMessage()    {}
   112  func (*KVWritesBatchProto) Descriptor() ([]byte, []int) {
   113  	return fileDescriptor_a8166e034ebfc04c, []int{1}
   114  }
   115  
   116  func (m *KVWritesBatchProto) XXX_Unmarshal(b []byte) error {
   117  	return xxx_messageInfo_KVWritesBatchProto.Unmarshal(m, b)
   118  }
   119  func (m *KVWritesBatchProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   120  	return xxx_messageInfo_KVWritesBatchProto.Marshal(b, m, deterministic)
   121  }
   122  func (m *KVWritesBatchProto) XXX_Merge(src proto.Message) {
   123  	xxx_messageInfo_KVWritesBatchProto.Merge(m, src)
   124  }
   125  func (m *KVWritesBatchProto) XXX_Size() int {
   126  	return xxx_messageInfo_KVWritesBatchProto.Size(m)
   127  }
   128  func (m *KVWritesBatchProto) XXX_DiscardUnknown() {
   129  	xxx_messageInfo_KVWritesBatchProto.DiscardUnknown(m)
   130  }
   131  
   132  var xxx_messageInfo_KVWritesBatchProto proto.InternalMessageInfo
   133  
   134  func (m *KVWritesBatchProto) GetKvwrites() []*KVWriteProto {
   135  	if m != nil {
   136  		return m.Kvwrites
   137  	}
   138  	return nil
   139  }
   140  
   141  func init() {
   142  	proto.RegisterType((*KVWriteProto)(nil), "privacyenabledstate.KVWriteProto")
   143  	proto.RegisterType((*KVWritesBatchProto)(nil), "privacyenabledstate.KVWritesBatchProto")
   144  }
   145  
   146  func init() { proto.RegisterFile("update_batch.proto", fileDescriptor_a8166e034ebfc04c) }
   147  
   148  var fileDescriptor_a8166e034ebfc04c = []byte{
   149  	// 281 bytes of a gzipped FileDescriptorProto
   150  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xc1, 0x4b, 0xc3, 0x30,
   151  	0x14, 0xc6, 0x89, 0x73, 0x63, 0x8b, 0x13, 0x24, 0x7a, 0x08, 0x22, 0x52, 0xe7, 0xa5, 0xa7, 0x16,
   152  	0xf4, 0xec, 0x65, 0x78, 0x13, 0x51, 0x2a, 0x28, 0x78, 0x19, 0x49, 0xf6, 0x5c, 0x43, 0xd3, 0xa6,
   153  	0x24, 0xaf, 0xd5, 0xfe, 0x61, 0xfe, 0x7f, 0xd2, 0xac, 0xcc, 0x1d, 0x76, 0x7b, 0xef, 0xf7, 0x7d,
   154  	0x21, 0xdf, 0xf7, 0x28, 0x6b, 0xea, 0xb5, 0x40, 0x58, 0x49, 0x81, 0x2a, 0x4f, 0x6a, 0x67, 0xd1,
   155  	0xb2, 0xf3, 0xda, 0xe9, 0x56, 0xa8, 0x0e, 0x2a, 0x21, 0x0d, 0xac, 0x3d, 0x0a, 0x84, 0xc5, 0x2f,
   156  	0xa1, 0xf3, 0xa7, 0xf7, 0x0f, 0xa7, 0x11, 0x5e, 0x83, 0xeb, 0x8a, 0xce, 0x2a, 0x51, 0x82, 0xaf,
   157  	0x85, 0x02, 0x4e, 0x22, 0x12, 0xcf, 0xb2, 0x7f, 0xc0, 0xae, 0x29, 0x55, 0xd6, 0x18, 0x50, 0xa8,
   158  	0x6d, 0xc5, 0x8f, 0x82, 0xbc, 0x47, 0xd8, 0x19, 0x1d, 0x15, 0xd0, 0xf1, 0x51, 0x44, 0xe2, 0x79,
   159  	0xd6, 0x8f, 0xec, 0x92, 0x4e, 0xb5, 0x7f, 0x04, 0x03, 0x08, 0xfc, 0x38, 0x22, 0xf1, 0x34, 0xdb,
   160  	0xed, 0xec, 0x82, 0x8e, 0x5b, 0x61, 0x1a, 0xe0, 0xe3, 0xe0, 0xdf, 0x2e, 0xec, 0x96, 0x9e, 0xb6,
   161  	0xe0, 0xbc, 0xb6, 0xd5, 0x4a, 0x76, 0x08, 0x9e, 0x4f, 0x82, 0x3a, 0x1f, 0xe0, 0xb2, 0x67, 0x8b,
   162  	0x37, 0xca, 0x86, 0xd8, 0x7e, 0xd9, 0x77, 0xdc, 0x86, 0x7f, 0xa0, 0xd3, 0xa2, 0xfd, 0x0e, 0x94,
   163  	0x93, 0x68, 0x14, 0x9f, 0xdc, 0xdd, 0x24, 0x07, 0x5a, 0x27, 0xfb, 0x8d, 0xb3, 0xdd, 0x93, 0xe5,
   164  	0xcb, 0xe7, 0xf3, 0x46, 0x63, 0xde, 0xc8, 0x44, 0xd9, 0x32, 0xcd, 0xbb, 0x1a, 0x9c, 0x81, 0xf5,
   165  	0x06, 0x5c, 0xfa, 0x25, 0xa4, 0xd3, 0x2a, 0x55, 0xd6, 0x41, 0x3a, 0xa0, 0xa2, 0x1d, 0x06, 0xfc,
   166  	0x29, 0x37, 0x25, 0xa6, 0x07, 0xfe, 0x91, 0x93, 0x70, 0xf9, 0xfb, 0xbf, 0x00, 0x00, 0x00, 0xff,
   167  	0xff, 0xcc, 0xa1, 0x09, 0xeb, 0x8f, 0x01, 0x00, 0x00,
   168  }