Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type CommitID
- type CommitInfo
- func (*CommitInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CommitInfo) GetCommitHash() []byte
- func (x *CommitInfo) GetStoreInfos() []*StoreInfo
- func (x *CommitInfo) GetTimestamp() *timestamppb.Timestamp
- func (x *CommitInfo) GetVersion() int64
- func (*CommitInfo) ProtoMessage()
- func (x *CommitInfo) ProtoReflect() protoreflect.Message
- func (x *CommitInfo) Reset()
- func (x *CommitInfo) String() string
- type StoreInfo
- func (*StoreInfo) Descriptor() ([]byte, []int)deprecated
- func (x *StoreInfo) GetCommitId() *CommitID
- func (x *StoreInfo) GetName() string
- func (x *StoreInfo) GetStructure() string
- func (*StoreInfo) ProtoMessage()
- func (x *StoreInfo) ProtoReflect() protoreflect.Message
- func (x *StoreInfo) Reset()
- func (x *StoreInfo) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_cosmos_store_v2_commit_info_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CommitID ¶
type CommitID struct { Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
CommitID defines the commitment information when a specific store is committed.
func (*CommitID) Descriptor
deprecated
func (*CommitID) GetVersion ¶
func (*CommitID) ProtoMessage ¶
func (*CommitID) ProtoMessage()
func (*CommitID) ProtoReflect ¶
func (x *CommitID) ProtoReflect() protoreflect.Message
type CommitInfo ¶
type CommitInfo struct { Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` StoreInfos []*StoreInfo `protobuf:"bytes,2,rep,name=store_infos,json=storeInfos,proto3" json:"store_infos,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` CommitHash []byte `protobuf:"bytes,4,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"` // contains filtered or unexported fields }
CommitInfo defines commit information used by the multi-store when committing a version/height.
func (*CommitInfo) Descriptor
deprecated
func (*CommitInfo) Descriptor() ([]byte, []int)
Deprecated: Use CommitInfo.ProtoReflect.Descriptor instead.
func (*CommitInfo) GetCommitHash ¶
func (x *CommitInfo) GetCommitHash() []byte
func (*CommitInfo) GetStoreInfos ¶
func (x *CommitInfo) GetStoreInfos() []*StoreInfo
func (*CommitInfo) GetTimestamp ¶
func (x *CommitInfo) GetTimestamp() *timestamppb.Timestamp
func (*CommitInfo) GetVersion ¶
func (x *CommitInfo) GetVersion() int64
func (*CommitInfo) ProtoMessage ¶
func (*CommitInfo) ProtoMessage()
func (*CommitInfo) ProtoReflect ¶
func (x *CommitInfo) ProtoReflect() protoreflect.Message
func (*CommitInfo) Reset ¶
func (x *CommitInfo) Reset()
func (*CommitInfo) String ¶
func (x *CommitInfo) String() string
type StoreInfo ¶
type StoreInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CommitId *CommitID `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` Structure string `protobuf:"bytes,3,opt,name=structure,proto3" json:"structure,omitempty"` // contains filtered or unexported fields }
StoreInfo defines store-specific commit information. It contains a reference between a store name and the commit ID.
func (*StoreInfo) Descriptor
deprecated
func (*StoreInfo) GetCommitId ¶
func (*StoreInfo) GetStructure ¶
func (*StoreInfo) ProtoMessage ¶
func (*StoreInfo) ProtoMessage()
func (*StoreInfo) ProtoReflect ¶
func (x *StoreInfo) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.