message

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2021 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_v1_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Auction

type Auction struct {
	Id               string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PayloadCid       string                 `protobuf:"bytes,2,opt,name=payload_cid,json=payloadCid,proto3" json:"payload_cid,omitempty"`
	DealSize         uint64                 `protobuf:"varint,3,opt,name=deal_size,json=dealSize,proto3" json:"deal_size,omitempty"`
	DealDuration     uint64                 `protobuf:"varint,4,opt,name=deal_duration,json=dealDuration,proto3" json:"deal_duration,omitempty"`
	FilEpochDeadline uint64                 `protobuf:"varint,5,opt,name=fil_epoch_deadline,json=filEpochDeadline,proto3" json:"fil_epoch_deadline,omitempty"`
	Sources          *Sources               `protobuf:"bytes,6,opt,name=sources,proto3" json:"sources,omitempty"`
	EndsAt           *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=ends_at,json=endsAt,proto3" json:"ends_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Auction) Descriptor deprecated

func (*Auction) Descriptor() ([]byte, []int)

Deprecated: Use Auction.ProtoReflect.Descriptor instead.

func (*Auction) GetDealDuration

func (x *Auction) GetDealDuration() uint64

func (*Auction) GetDealSize

func (x *Auction) GetDealSize() uint64

func (*Auction) GetEndsAt

func (x *Auction) GetEndsAt() *timestamppb.Timestamp

func (*Auction) GetFilEpochDeadline

func (x *Auction) GetFilEpochDeadline() uint64

func (*Auction) GetId

func (x *Auction) GetId() string

func (*Auction) GetPayloadCid

func (x *Auction) GetPayloadCid() string

func (*Auction) GetSources

func (x *Auction) GetSources() *Sources

func (*Auction) ProtoMessage

func (*Auction) ProtoMessage()

func (*Auction) ProtoReflect

func (x *Auction) ProtoReflect() protoreflect.Message

func (*Auction) Reset

func (x *Auction) Reset()

func (*Auction) String

func (x *Auction) String() string

type Bid

type Bid struct {
	AuctionId        string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"`
	MinerAddr        string `protobuf:"bytes,2,opt,name=miner_addr,json=minerAddr,proto3" json:"miner_addr,omitempty"`
	WalletAddrSig    []byte `protobuf:"bytes,3,opt,name=wallet_addr_sig,json=walletAddrSig,proto3" json:"wallet_addr_sig,omitempty"`
	AskPrice         int64  `protobuf:"varint,4,opt,name=ask_price,json=askPrice,proto3" json:"ask_price,omitempty"`
	VerifiedAskPrice int64  `protobuf:"varint,5,opt,name=verified_ask_price,json=verifiedAskPrice,proto3" json:"verified_ask_price,omitempty"`
	StartEpoch       uint64 `protobuf:"varint,6,opt,name=start_epoch,json=startEpoch,proto3" json:"start_epoch,omitempty"`
	FastRetrieval    bool   `protobuf:"varint,7,opt,name=fast_retrieval,json=fastRetrieval,proto3" json:"fast_retrieval,omitempty"`
	// contains filtered or unexported fields
}

func (*Bid) Descriptor deprecated

func (*Bid) Descriptor() ([]byte, []int)

Deprecated: Use Bid.ProtoReflect.Descriptor instead.

func (*Bid) GetAskPrice

func (x *Bid) GetAskPrice() int64

func (*Bid) GetAuctionId

func (x *Bid) GetAuctionId() string

func (*Bid) GetFastRetrieval

func (x *Bid) GetFastRetrieval() bool

func (*Bid) GetMinerAddr

func (x *Bid) GetMinerAddr() string

func (*Bid) GetStartEpoch

func (x *Bid) GetStartEpoch() uint64

func (*Bid) GetVerifiedAskPrice

func (x *Bid) GetVerifiedAskPrice() int64

func (*Bid) GetWalletAddrSig

func (x *Bid) GetWalletAddrSig() []byte

func (*Bid) ProtoMessage

func (*Bid) ProtoMessage()

func (*Bid) ProtoReflect

func (x *Bid) ProtoReflect() protoreflect.Message

func (*Bid) Reset

func (x *Bid) Reset()

func (*Bid) String

func (x *Bid) String() string

type Sources

type Sources struct {
	CarUrl  *Sources_CARURL  `protobuf:"bytes,1,opt,name=car_url,json=carUrl,proto3" json:"car_url,omitempty"`
	CarIpfs *Sources_CARIPFS `protobuf:"bytes,2,opt,name=car_ipfs,json=carIpfs,proto3" json:"car_ipfs,omitempty"`
	// contains filtered or unexported fields
}

func (*Sources) Descriptor deprecated

func (*Sources) Descriptor() ([]byte, []int)

Deprecated: Use Sources.ProtoReflect.Descriptor instead.

func (*Sources) GetCarIpfs

func (x *Sources) GetCarIpfs() *Sources_CARIPFS

func (*Sources) GetCarUrl

func (x *Sources) GetCarUrl() *Sources_CARURL

func (*Sources) ProtoMessage

func (*Sources) ProtoMessage()

func (*Sources) ProtoReflect

func (x *Sources) ProtoReflect() protoreflect.Message

func (*Sources) Reset

func (x *Sources) Reset()

func (*Sources) String

func (x *Sources) String() string

type Sources_CARIPFS

type Sources_CARIPFS struct {
	Cid        string   `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
	Multiaddrs []string `protobuf:"bytes,2,rep,name=multiaddrs,proto3" json:"multiaddrs,omitempty"`
	// contains filtered or unexported fields
}

func (*Sources_CARIPFS) Descriptor deprecated

func (*Sources_CARIPFS) Descriptor() ([]byte, []int)

Deprecated: Use Sources_CARIPFS.ProtoReflect.Descriptor instead.

func (*Sources_CARIPFS) GetCid

func (x *Sources_CARIPFS) GetCid() string

func (*Sources_CARIPFS) GetMultiaddrs

func (x *Sources_CARIPFS) GetMultiaddrs() []string

func (*Sources_CARIPFS) ProtoMessage

func (*Sources_CARIPFS) ProtoMessage()

func (*Sources_CARIPFS) ProtoReflect

func (x *Sources_CARIPFS) ProtoReflect() protoreflect.Message

func (*Sources_CARIPFS) Reset

func (x *Sources_CARIPFS) Reset()

func (*Sources_CARIPFS) String

func (x *Sources_CARIPFS) String() string

type Sources_CARURL

type Sources_CARURL struct {
	URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"`
	// contains filtered or unexported fields
}

func (*Sources_CARURL) Descriptor deprecated

func (*Sources_CARURL) Descriptor() ([]byte, []int)

Deprecated: Use Sources_CARURL.ProtoReflect.Descriptor instead.

func (*Sources_CARURL) GetURL

func (x *Sources_CARURL) GetURL() string

func (*Sources_CARURL) ProtoMessage

func (*Sources_CARURL) ProtoMessage()

func (*Sources_CARURL) ProtoReflect

func (x *Sources_CARURL) ProtoReflect() protoreflect.Message

func (*Sources_CARURL) Reset

func (x *Sources_CARURL) Reset()

func (*Sources_CARURL) String

func (x *Sources_CARURL) String() string

type WinningBid

type WinningBid struct {
	AuctionId string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"`
	BidId     string `protobuf:"bytes,2,opt,name=bid_id,json=bidId,proto3" json:"bid_id,omitempty"`
	// contains filtered or unexported fields
}

func (*WinningBid) Descriptor deprecated

func (*WinningBid) Descriptor() ([]byte, []int)

Deprecated: Use WinningBid.ProtoReflect.Descriptor instead.

func (*WinningBid) GetAuctionId

func (x *WinningBid) GetAuctionId() string

func (*WinningBid) GetBidId

func (x *WinningBid) GetBidId() string

func (*WinningBid) ProtoMessage

func (*WinningBid) ProtoMessage()

func (*WinningBid) ProtoReflect

func (x *WinningBid) ProtoReflect() protoreflect.Message

func (*WinningBid) Reset

func (x *WinningBid) Reset()

func (*WinningBid) String

func (x *WinningBid) String() string

type WinningBidProposal

type WinningBidProposal struct {
	AuctionId   string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"`
	BidId       string `protobuf:"bytes,2,opt,name=bid_id,json=bidId,proto3" json:"bid_id,omitempty"`
	ProposalCid string `protobuf:"bytes,3,opt,name=proposal_cid,json=proposalCid,proto3" json:"proposal_cid,omitempty"`
	// contains filtered or unexported fields
}

func (*WinningBidProposal) Descriptor deprecated

func (*WinningBidProposal) Descriptor() ([]byte, []int)

Deprecated: Use WinningBidProposal.ProtoReflect.Descriptor instead.

func (*WinningBidProposal) GetAuctionId

func (x *WinningBidProposal) GetAuctionId() string

func (*WinningBidProposal) GetBidId

func (x *WinningBidProposal) GetBidId() string

func (*WinningBidProposal) GetProposalCid

func (x *WinningBidProposal) GetProposalCid() string

func (*WinningBidProposal) ProtoMessage

func (*WinningBidProposal) ProtoMessage()

func (*WinningBidProposal) ProtoReflect

func (x *WinningBidProposal) ProtoReflect() protoreflect.Message

func (*WinningBidProposal) Reset

func (x *WinningBidProposal) Reset()

func (*WinningBidProposal) String

func (x *WinningBidProposal) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL