ali2210/WizDwarf

View on GitHub
other/cloudmedia/media/media.pb.go

Summary

Maintainability
A
0 mins
Test Coverage
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: other/cloudmedia/media/media.proto

/*
Package media is a generated protocol buffer package.

It is generated from these files:
    other/cloudmedia/media/media.proto

It has these top-level messages:
    IMAGE_METADATA
    MediaStream
*/
package media

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package

type TOKEN_CATEGORY int32

const (
    TOKEN_CATEGORY_NON_FUNGIABLE_TOKEN TOKEN_CATEGORY = 0
    TOKEN_CATEGORY_FUNGIABLE_TOKEN     TOKEN_CATEGORY = 1
    TOKEN_CATEGORY_SOUL_BOUND_TOKEN    TOKEN_CATEGORY = 2
)

var TOKEN_CATEGORY_name = map[int32]string{
    0: "NON_FUNGIABLE_TOKEN",
    1: "FUNGIABLE_TOKEN",
    2: "SOUL_BOUND_TOKEN",
}
var TOKEN_CATEGORY_value = map[string]int32{
    "NON_FUNGIABLE_TOKEN": 0,
    "FUNGIABLE_TOKEN":     1,
    "SOUL_BOUND_TOKEN":    2,
}

func (x TOKEN_CATEGORY) String() string {
    return proto.EnumName(TOKEN_CATEGORY_name, int32(x))
}
func (TOKEN_CATEGORY) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }

type Descriptor_Category int32

const (
    Descriptor_Category_Text  Descriptor_Category = 0
    Descriptor_Category_Video Descriptor_Category = 1
    Descriptor_Category_Audio Descriptor_Category = 2
    Descriptor_Category_Image Descriptor_Category = 3
)

var Descriptor_Category_name = map[int32]string{
    0: "Text",
    1: "Video",
    2: "Audio",
    3: "Image",
}
var Descriptor_Category_value = map[string]int32{
    "Text":  0,
    "Video": 1,
    "Audio": 2,
    "Image": 3,
}

func (x Descriptor_Category) String() string {
    return proto.EnumName(Descriptor_Category_name, int32(x))
}
func (Descriptor_Category) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }

type IMAGE_METADATA struct {
    Name      string            `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    Type      string            `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
    Created   string            `protobuf:"bytes,3,opt,name=created" json:"created,omitempty"`
    Tokens    TOKEN_CATEGORY    `protobuf:"varint,4,opt,name=tokens,enum=media.TOKEN_CATEGORY" json:"tokens,omitempty"`
    MyProfile bool              `protobuf:"varint,5,opt,name=MyProfile,json=myProfile" json:"MyProfile,omitempty"`
    Cdr       map[string]string `protobuf:"bytes,6,rep,name=cdr" json:"cdr,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
    Timeline  string            `protobuf:"bytes,7,opt,name=timeline" json:"timeline,omitempty"`
    Tags      string            `protobuf:"bytes,8,opt,name=tags" json:"tags,omitempty"`
    Signature []string          `protobuf:"bytes,9,rep,name=Signature,json=signature" json:"Signature,omitempty"`
}

func (m *IMAGE_METADATA) Reset()                    { *m = IMAGE_METADATA{} }
func (m *IMAGE_METADATA) String() string            { return proto.CompactTextString(m) }
func (*IMAGE_METADATA) ProtoMessage()               {}
func (*IMAGE_METADATA) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }

func (m *IMAGE_METADATA) GetName() string {
    if m != nil {
        return m.Name
    }
    return ""
}

func (m *IMAGE_METADATA) GetType() string {
    if m != nil {
        return m.Type
    }
    return ""
}

func (m *IMAGE_METADATA) GetCreated() string {
    if m != nil {
        return m.Created
    }
    return ""
}

func (m *IMAGE_METADATA) GetTokens() TOKEN_CATEGORY {
    if m != nil {
        return m.Tokens
    }
    return TOKEN_CATEGORY_NON_FUNGIABLE_TOKEN
}

func (m *IMAGE_METADATA) GetMyProfile() bool {
    if m != nil {
        return m.MyProfile
    }
    return false
}

func (m *IMAGE_METADATA) GetCdr() map[string]string {
    if m != nil {
        return m.Cdr
    }
    return nil
}

func (m *IMAGE_METADATA) GetTimeline() string {
    if m != nil {
        return m.Timeline
    }
    return ""
}

func (m *IMAGE_METADATA) GetTags() string {
    if m != nil {
        return m.Tags
    }
    return ""
}

func (m *IMAGE_METADATA) GetSignature() []string {
    if m != nil {
        return m.Signature
    }
    return nil
}

type MediaStream struct {
    Name         string              `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
    IdentityCode string              `protobuf:"bytes,2,opt,name=identity_code,json=identityCode" json:"identity_code,omitempty"`
    Datecreated  string              `protobuf:"bytes,3,opt,name=datecreated" json:"datecreated,omitempty"`
    Path         string              `protobuf:"bytes,4,opt,name=path" json:"path,omitempty"`
    Category     Descriptor_Category `protobuf:"varint,5,opt,name=category,enum=media.Descriptor_Category" json:"category,omitempty"`
    Signature    []string            `protobuf:"bytes,6,rep,name=Signature,json=signature" json:"Signature,omitempty"`
    Cdrlink      string              `protobuf:"bytes,7,opt,name=cdrlink" json:"cdrlink,omitempty"`
}

func (m *MediaStream) Reset()                    { *m = MediaStream{} }
func (m *MediaStream) String() string            { return proto.CompactTextString(m) }
func (*MediaStream) ProtoMessage()               {}
func (*MediaStream) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }

func (m *MediaStream) GetName() string {
    if m != nil {
        return m.Name
    }
    return ""
}

func (m *MediaStream) GetIdentityCode() string {
    if m != nil {
        return m.IdentityCode
    }
    return ""
}

func (m *MediaStream) GetDatecreated() string {
    if m != nil {
        return m.Datecreated
    }
    return ""
}

func (m *MediaStream) GetPath() string {
    if m != nil {
        return m.Path
    }
    return ""
}

func (m *MediaStream) GetCategory() Descriptor_Category {
    if m != nil {
        return m.Category
    }
    return Descriptor_Category_Text
}

func (m *MediaStream) GetSignature() []string {
    if m != nil {
        return m.Signature
    }
    return nil
}

func (m *MediaStream) GetCdrlink() string {
    if m != nil {
        return m.Cdrlink
    }
    return ""
}

func init() {
    proto.RegisterType((*IMAGE_METADATA)(nil), "media.IMAGE_METADATA")
    proto.RegisterType((*MediaStream)(nil), "media.MediaStream")
    proto.RegisterEnum("media.TOKEN_CATEGORY", TOKEN_CATEGORY_name, TOKEN_CATEGORY_value)
    proto.RegisterEnum("media.Descriptor_Category", Descriptor_Category_name, Descriptor_Category_value)
}

func init() { proto.RegisterFile("other/cloudmedia/media/media.proto", fileDescriptor0) }

var fileDescriptor0 = []byte{
    // 479 bytes of a gzipped FileDescriptorProto
    0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xd1, 0x8a, 0xda, 0x40,
    0x14, 0x86, 0x37, 0x46, 0xdd, 0xe4, 0xd8, 0xda, 0x30, 0x6e, 0x69, 0x90, 0x52, 0x82, 0xbd, 0x91,
    0x85, 0xba, 0xc5, 0xc2, 0x52, 0x7a, 0xd5, 0xac, 0xa6, 0x22, 0x5d, 0xb5, 0xc4, 0x58, 0xe8, 0x55,
    0x98, 0x66, 0x4e, 0xdd, 0x41, 0x93, 0x91, 0x71, 0x2c, 0xcd, 0x93, 0xf6, 0x25, 0xfa, 0x10, 0x25,
    0x63, 0xb2, 0xac, 0xcb, 0xde, 0x84, 0xff, 0xff, 0x73, 0x38, 0x73, 0xe6, 0x3b, 0x03, 0x3d, 0xa1,
    0xee, 0x50, 0x5e, 0x25, 0x5b, 0x71, 0x60, 0x29, 0x32, 0x4e, 0xaf, 0x1e, 0x7c, 0x07, 0x3b, 0x29,
    0x94, 0x20, 0x0d, 0x6d, 0x7a, 0x7f, 0x6b, 0xd0, 0x9e, 0xce, 0xfc, 0x49, 0x10, 0xcf, 0x82, 0xc8,
    0x1f, 0xfb, 0x91, 0x4f, 0x08, 0xd4, 0x33, 0x9a, 0xa2, 0x6b, 0x78, 0x46, 0xdf, 0x0e, 0xb5, 0x2e,
    0x32, 0x95, 0xef, 0xd0, 0xad, 0x1d, 0xb3, 0x42, 0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a, 0x70, 0x24, 0x18,
    0x12, 0x0f, 0x5a, 0x8c, 0x2a, 0x3c, 0x65, 0xfd, 0x30, 0x2a, 0x5a, 0xef, 0xa8, 0xba, 0xd3, 0xb4,
    0xed, 0x50, 0x6b, 0x72, 0x0d, 0x56, 0x42, 0x15, 0xae, 0x85, 0xcc, 0x35, 0xd3, 0xf6, 0xb0, 0x5b,
    0xb2, 0x1b, 0xe3, 0x3e, 0x91, 0x7c, 0xa7, 0x84, 0x8c, 0x47, 0x65, 0x45, 0x78, 0x5f, 0x7b, 0x0a,
    0xa3, 0xf9, 0x08, 0x86, 0xde, 0x39, 0x93, 0x5b, 0x9e, 0x6d, 0x4a, 0xb2, 0x95, 0xbd, 0x8c, 0xa0,
    0x7d, 0xba, 0x5e, 0xf2, 0x0a, 0x3a, 0xf3, 0xc5, 0x3c, 0xfe, 0xb2, 0x9a, 0x4f, 0xa6, 0xfe, 0xcd,
    0x6d, 0x10, 0xeb, 0xff, 0xce, 0x19, 0xe9, 0xc0, 0x8b, 0xc7, 0xa1, 0x41, 0x2e, 0xc0, 0x59, 0x2e,
    0x56, 0xb7, 0xf1, 0xcd, 0x62, 0x35, 0x1f, 0x97, 0x69, 0xed, 0xf2, 0x33, 0x74, 0x9e, 0x18, 0x97,
    0x58, 0x50, 0x8f, 0xf0, 0x8f, 0x72, 0xce, 0x88, 0x0d, 0x8d, 0xef, 0x9c, 0xa1, 0x70, 0x8c, 0x42,
    0xfa, 0x07, 0xc6, 0x85, 0x53, 0x2b, 0xe4, 0x34, 0xa5, 0x6b, 0x74, 0xcc, 0x9f, 0x4d, 0xfd, 0xdc,
    0x3f, 0xfc, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x88, 0x15, 0xe2, 0x19, 0x14, 0x03, 0x00, 0x00,
}