metadata

package
Version: v0.0.0-...-7df6cc8 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MonetizationTypes_name = map[int32]string{
		0: "NONE",
		1: "TIPS",
		2: "ERC721_RESERVE_AUCTION",
		3: "ETH_EDITIONS",
	}
	MonetizationTypes_value = map[string]int32{
		"NONE":                   0,
		"TIPS":                   1,
		"ERC721_RESERVE_AUCTION": 2,
		"ETH_EDITIONS":           3,
	}
)

Enum value maps for MonetizationTypes.

View Source
var (
	Protocol_name = map[int32]string{
		0: "SOLANA_MAINNET",
		1: "ETH_MAINNET",
		2: "ETH_RINKEBY",
	}
	Protocol_value = map[string]int32{
		"SOLANA_MAINNET": 0,
		"ETH_MAINNET":    1,
		"ETH_RINKEBY":    2,
	}
)

Enum value maps for Protocol.

View Source
var File_Address_proto protoreflect.FileDescriptor
View Source
var File_ERC721ReserveAuction_proto protoreflect.FileDescriptor
View Source
var File_EthereumEdition_proto protoreflect.FileDescriptor
View Source
var File_EthereumNFTMetadata_proto protoreflect.FileDescriptor
View Source
var File_MonetizationTypes_proto protoreflect.FileDescriptor
View Source
var File_Monetization_proto protoreflect.FileDescriptor
View Source
var File_Protocol_proto protoreflect.FileDescriptor
View Source
var File_StreamData_proto protoreflect.FileDescriptor
View Source
var File_StreamMetadata_proto protoreflect.FileDescriptor
View Source
var File_VideoData_proto protoreflect.FileDescriptor
View Source
var File_VideoMetadata_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Address

type Address struct {
	Address  string   `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	Protocol Protocol `protobuf:"varint,2,opt,name=Protocol,proto3,enum=metadata.Protocol" json:"Protocol,omitempty"`
	// contains filtered or unexported fields
}

func (*Address) Descriptor deprecated

This method has been deprecated.
func (*Address) Descriptor() ([]byte, []int)

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetAddress

func (x *Address) GetAddress() string

func (*Address) GetProtocol

func (x *Address) GetProtocol() Protocol

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type ERC721ReserveAuction

type ERC721ReserveAuction struct {
	AuctionContractAddress string `protobuf:"bytes,1,opt,name=AuctionContractAddress,proto3" json:"AuctionContractAddress,omitempty"`
	ERC721ContractAddress  string `protobuf:"bytes,2,opt,name=ERC721ContractAddress,proto3" json:"ERC721ContractAddress,omitempty"`
	ERC721TokenID          string `protobuf:"bytes,3,opt,name=ERC721TokenID,proto3" json:"ERC721TokenID,omitempty"`
	// contains filtered or unexported fields
}

func (*ERC721ReserveAuction) Descriptor deprecated

This method has been deprecated.
func (*ERC721ReserveAuction) Descriptor() ([]byte, []int)

Deprecated: Use ERC721ReserveAuction.ProtoReflect.Descriptor instead.

func (*ERC721ReserveAuction) GetAuctionContractAddress

func (x *ERC721ReserveAuction) GetAuctionContractAddress() string

func (*ERC721ReserveAuction) GetERC721ContractAddress

func (x *ERC721ReserveAuction) GetERC721ContractAddress() string

func (*ERC721ReserveAuction) GetERC721TokenID

func (x *ERC721ReserveAuction) GetERC721TokenID() string

func (*ERC721ReserveAuction) ProtoMessage

func (*ERC721ReserveAuction) ProtoMessage()

func (*ERC721ReserveAuction) ProtoReflect

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

func (*ERC721ReserveAuction) Reset

func (x *ERC721ReserveAuction) Reset()

func (*ERC721ReserveAuction) String

func (x *ERC721ReserveAuction) String() string

type EthereumEdition

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

func (*EthereumEdition) Descriptor deprecated

This method has been deprecated.
func (*EthereumEdition) Descriptor() ([]byte, []int)

Deprecated: Use EthereumEdition.ProtoReflect.Descriptor instead.

func (*EthereumEdition) GetEditionContract

func (x *EthereumEdition) GetEditionContract() string

func (*EthereumEdition) GetEditionId

func (x *EthereumEdition) GetEditionId() string

func (*EthereumEdition) ProtoMessage

func (*EthereumEdition) ProtoMessage()

func (*EthereumEdition) ProtoReflect

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

func (*EthereumEdition) Reset

func (x *EthereumEdition) Reset()

func (*EthereumEdition) String

func (x *EthereumEdition) String() string

type EthereumNFTMetadata

type EthereumNFTMetadata struct {
	Image       string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*EthereumNFTMetadata) Descriptor deprecated

This method has been deprecated.
func (*EthereumNFTMetadata) Descriptor() ([]byte, []int)

Deprecated: Use EthereumNFTMetadata.ProtoReflect.Descriptor instead.

func (*EthereumNFTMetadata) GetDescription

func (x *EthereumNFTMetadata) GetDescription() string

func (*EthereumNFTMetadata) GetImage

func (x *EthereumNFTMetadata) GetImage() string

func (*EthereumNFTMetadata) GetName

func (x *EthereumNFTMetadata) GetName() string

func (*EthereumNFTMetadata) ProtoMessage

func (*EthereumNFTMetadata) ProtoMessage()

func (*EthereumNFTMetadata) ProtoReflect

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

func (*EthereumNFTMetadata) Reset

func (x *EthereumNFTMetadata) Reset()

func (*EthereumNFTMetadata) String

func (x *EthereumNFTMetadata) String() string
type Link struct {
	Source   string `protobuf:"bytes,1,opt,name=Source,proto3" json:"Source,omitempty"`
	MimeType string `protobuf:"bytes,2,opt,name=MimeType,proto3" json:"MimeType,omitempty"`
	// contains filtered or unexported fields
}

func (*Link) Descriptor deprecated

This method has been deprecated.
func (*Link) Descriptor() ([]byte, []int)

Deprecated: Use Link.ProtoReflect.Descriptor instead.

func (*Link) GetMimeType

func (x *Link) GetMimeType() string

func (*Link) GetSource

func (x *Link) GetSource() string

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) ProtoReflect

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

func (*Link) Reset

func (x *Link) Reset()

func (*Link) String

func (x *Link) String() string

type Monetization

type Monetization struct {
	MonetizationType MonetizationTypes `protobuf:"varint,1,opt,name=MonetizationType,proto3,enum=metadata.MonetizationTypes" json:"MonetizationType,omitempty"`
	Protocol         Protocol          `protobuf:"varint,2,opt,name=Protocol,proto3,enum=metadata.Protocol" json:"Protocol,omitempty"`
	Metadata         *Link             `protobuf:"bytes,3,opt,name=Metadata,proto3" json:"Metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Monetization) Descriptor deprecated

This method has been deprecated.
func (*Monetization) Descriptor() ([]byte, []int)

Deprecated: Use Monetization.ProtoReflect.Descriptor instead.

func (*Monetization) GetMetadata

func (x *Monetization) GetMetadata() *Link

func (*Monetization) GetMonetizationType

func (x *Monetization) GetMonetizationType() MonetizationTypes

func (*Monetization) GetProtocol

func (x *Monetization) GetProtocol() Protocol

func (*Monetization) ProtoMessage

func (*Monetization) ProtoMessage()

func (*Monetization) ProtoReflect

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

func (*Monetization) Reset

func (x *Monetization) Reset()

func (*Monetization) String

func (x *Monetization) String() string

type MonetizationTypes

type MonetizationTypes int32
const (
	MonetizationTypes_NONE                   MonetizationTypes = 0
	MonetizationTypes_TIPS                   MonetizationTypes = 1
	MonetizationTypes_ERC721_RESERVE_AUCTION MonetizationTypes = 2
	MonetizationTypes_ETH_EDITIONS           MonetizationTypes = 3
)

func (MonetizationTypes) Descriptor

func (MonetizationTypes) Enum

func (MonetizationTypes) EnumDescriptor deprecated

This method has been deprecated.
func (MonetizationTypes) EnumDescriptor() ([]byte, []int)

Deprecated: Use MonetizationTypes.Descriptor instead.

func (MonetizationTypes) Number

func (MonetizationTypes) String

func (x MonetizationTypes) String() string

func (MonetizationTypes) Type

type Protocol

type Protocol int32
const (
	Protocol_SOLANA_MAINNET Protocol = 0
	Protocol_ETH_MAINNET    Protocol = 1
	Protocol_ETH_RINKEBY    Protocol = 2
)

func (Protocol) Descriptor

func (Protocol) Descriptor() protoreflect.EnumDescriptor

func (Protocol) Enum

func (x Protocol) Enum() *Protocol

func (Protocol) EnumDescriptor deprecated

This method has been deprecated.
func (Protocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use Protocol.Descriptor instead.

func (Protocol) Number

func (x Protocol) Number() protoreflect.EnumNumber

func (Protocol) String

func (x Protocol) String() string

func (Protocol) Type

type StreamData

type StreamData struct {
	CreatorAddress    *Address        `protobuf:"bytes,1,opt,name=CreatorAddress,proto3" json:"CreatorAddress,omitempty"`
	CreatedDate       int64           `protobuf:"varint,2,opt,name=CreatedDate,proto3" json:"CreatedDate,omitempty"`
	StreamTitle       string          `protobuf:"bytes,3,opt,name=StreamTitle,proto3" json:"StreamTitle,omitempty"`
	StreamDescription string          `protobuf:"bytes,4,opt,name=StreamDescription,proto3" json:"StreamDescription,omitempty"`
	StreamPoster      *Link           `protobuf:"bytes,5,opt,name=StreamPoster,proto3" json:"StreamPoster,omitempty"`
	StreamID          string          `protobuf:"bytes,6,opt,name=StreamID,proto3" json:"StreamID,omitempty"`
	SessionID         string          `protobuf:"bytes,7,opt,name=SessionID,proto3" json:"SessionID,omitempty"`
	Monetization      []*Monetization `protobuf:"bytes,8,rep,name=Monetization,proto3" json:"Monetization,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamData) Descriptor deprecated

This method has been deprecated.
func (*StreamData) Descriptor() ([]byte, []int)

Deprecated: Use StreamData.ProtoReflect.Descriptor instead.

func (*StreamData) GetCreatedDate

func (x *StreamData) GetCreatedDate() int64

func (*StreamData) GetCreatorAddress

func (x *StreamData) GetCreatorAddress() *Address

func (*StreamData) GetMonetization

func (x *StreamData) GetMonetization() []*Monetization

func (*StreamData) GetSessionID

func (x *StreamData) GetSessionID() string

func (*StreamData) GetStreamDescription

func (x *StreamData) GetStreamDescription() string

func (*StreamData) GetStreamID

func (x *StreamData) GetStreamID() string

func (*StreamData) GetStreamPoster

func (x *StreamData) GetStreamPoster() *Link

func (*StreamData) GetStreamTitle

func (x *StreamData) GetStreamTitle() string

func (*StreamData) ProtoMessage

func (*StreamData) ProtoMessage()

func (*StreamData) ProtoReflect

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

func (*StreamData) Reset

func (x *StreamData) Reset()

func (*StreamData) String

func (x *StreamData) String() string

type StreamMetadata

type StreamMetadata struct {
	Version    string      `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"`
	Data       *StreamData `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
	Signatures []string    `protobuf:"bytes,3,rep,name=Signatures,proto3" json:"Signatures,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamMetadata) Descriptor deprecated

This method has been deprecated.
func (*StreamMetadata) Descriptor() ([]byte, []int)

Deprecated: Use StreamMetadata.ProtoReflect.Descriptor instead.

func (*StreamMetadata) GetData

func (x *StreamMetadata) GetData() *StreamData

func (*StreamMetadata) GetSignatures

func (x *StreamMetadata) GetSignatures() []string

func (*StreamMetadata) GetVersion

func (x *StreamMetadata) GetVersion() string

func (*StreamMetadata) ProtoMessage

func (*StreamMetadata) ProtoMessage()

func (*StreamMetadata) ProtoReflect

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

func (*StreamMetadata) Reset

func (x *StreamMetadata) Reset()

func (*StreamMetadata) String

func (x *StreamMetadata) String() string

type Tips

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

func (*Tips) Descriptor deprecated

This method has been deprecated.
func (*Tips) Descriptor() ([]byte, []int)

Deprecated: Use Tips.ProtoReflect.Descriptor instead.

func (*Tips) GetRecipientAddress

func (x *Tips) GetRecipientAddress() string

func (*Tips) ProtoMessage

func (*Tips) ProtoMessage()

func (*Tips) ProtoReflect

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

func (*Tips) Reset

func (x *Tips) Reset()

func (*Tips) String

func (x *Tips) String() string

type VideoData

type VideoData struct {
	CreatorAddress   *Address        `protobuf:"bytes,1,opt,name=CreatorAddress,proto3" json:"CreatorAddress,omitempty"`
	CreatedDate      int64           `protobuf:"varint,2,opt,name=CreatedDate,proto3" json:"CreatedDate,omitempty"`
	VideoTitle       string          `protobuf:"bytes,3,opt,name=VideoTitle,proto3" json:"VideoTitle,omitempty"`
	VideoDescription string          `protobuf:"bytes,4,opt,name=VideoDescription,proto3" json:"VideoDescription,omitempty"`
	VideoPoster      *Link           `protobuf:"bytes,5,opt,name=VideoPoster,proto3" json:"VideoPoster,omitempty"`
	VideoData        *Link           `protobuf:"bytes,6,opt,name=VideoData,proto3" json:"VideoData,omitempty"`
	Monetization     []*Monetization `protobuf:"bytes,7,rep,name=Monetization,proto3" json:"Monetization,omitempty"`
	Loop             bool            `protobuf:"varint,8,opt,name=Loop,proto3" json:"Loop,omitempty"`
	VideoWidth       int64           `protobuf:"varint,9,opt,name=VideoWidth,proto3" json:"VideoWidth,omitempty"`
	VideoHeight      int64           `protobuf:"varint,10,opt,name=VideoHeight,proto3" json:"VideoHeight,omitempty"`
	// contains filtered or unexported fields
}

func (*VideoData) Descriptor deprecated

This method has been deprecated.
func (*VideoData) Descriptor() ([]byte, []int)

Deprecated: Use VideoData.ProtoReflect.Descriptor instead.

func (*VideoData) GetCreatedDate

func (x *VideoData) GetCreatedDate() int64

func (*VideoData) GetCreatorAddress

func (x *VideoData) GetCreatorAddress() *Address

func (*VideoData) GetLoop

func (x *VideoData) GetLoop() bool

func (*VideoData) GetMonetization

func (x *VideoData) GetMonetization() []*Monetization

func (*VideoData) GetVideoData

func (x *VideoData) GetVideoData() *Link

func (*VideoData) GetVideoDescription

func (x *VideoData) GetVideoDescription() string

func (*VideoData) GetVideoHeight

func (x *VideoData) GetVideoHeight() int64

func (*VideoData) GetVideoPoster

func (x *VideoData) GetVideoPoster() *Link

func (*VideoData) GetVideoTitle

func (x *VideoData) GetVideoTitle() string

func (*VideoData) GetVideoWidth

func (x *VideoData) GetVideoWidth() int64

func (*VideoData) ProtoMessage

func (*VideoData) ProtoMessage()

func (*VideoData) ProtoReflect

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

func (*VideoData) Reset

func (x *VideoData) Reset()

func (*VideoData) String

func (x *VideoData) String() string

type VideoMetadata

type VideoMetadata struct {
	Version    string     `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"`
	Data       *VideoData `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
	Signatures []string   `protobuf:"bytes,3,rep,name=Signatures,proto3" json:"Signatures,omitempty"`
	// contains filtered or unexported fields
}

func (*VideoMetadata) Descriptor deprecated

This method has been deprecated.
func (*VideoMetadata) Descriptor() ([]byte, []int)

Deprecated: Use VideoMetadata.ProtoReflect.Descriptor instead.

func (*VideoMetadata) GetData

func (x *VideoMetadata) GetData() *VideoData

func (*VideoMetadata) GetSignatures

func (x *VideoMetadata) GetSignatures() []string

func (*VideoMetadata) GetVersion

func (x *VideoMetadata) GetVersion() string

func (*VideoMetadata) ProtoMessage

func (*VideoMetadata) ProtoMessage()

func (*VideoMetadata) ProtoReflect

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

func (*VideoMetadata) Reset

func (x *VideoMetadata) Reset()

func (*VideoMetadata) String

func (x *VideoMetadata) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL