other/cloudmedia/dlink/dlink.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: other/cloudmedia/dlink/dlink.proto
/*
Package dlink is a generated protocol buffer package.
It is generated from these files:
other/cloudmedia/dlink/dlink.proto
It has these top-level messages:
DLINK_MESSAGE
PreviewLink
*/
package dlink
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 Errors int32
const (
Errors_ERR_EMPTY_URL Errors = 0
Errors_ERR_INVALID_URL Errors = 1
Errors_ERR_CLOSE_CON Errors = 2
Errors_ERR_MALICIOUS_URL Errors = 3
Errors_ERR_PATH_MOVED Errors = 4
Errors_ERR_UNKNOWN_ Errors = 5
Errors_ERR_KEYS_NOT_EXIST Errors = 6
Errors_ERR_EMPTY_VALUE Errors = 7
Errors_NONE Errors = 8
)
var Errors_name = map[int32]string{
0: "ERR_EMPTY_URL",
1: "ERR_INVALID_URL",
2: "ERR_CLOSE_CON",
3: "ERR_MALICIOUS_URL",
4: "ERR_PATH_MOVED",
5: "ERR_UNKNOWN_",
6: "ERR_KEYS_NOT_EXIST",
7: "ERR_EMPTY_VALUE",
8: "NONE",
}
var Errors_value = map[string]int32{
"ERR_EMPTY_URL": 0,
"ERR_INVALID_URL": 1,
"ERR_CLOSE_CON": 2,
"ERR_MALICIOUS_URL": 3,
"ERR_PATH_MOVED": 4,
"ERR_UNKNOWN_": 5,
"ERR_KEYS_NOT_EXIST": 6,
"ERR_EMPTY_VALUE": 7,
"NONE": 8,
}
func (x Errors) String() string {
return proto.EnumName(Errors_name, int32(x))
}
func (Errors) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
type DLINK_MESSAGE struct {
RESOURCE_D_LINK string `protobuf:"bytes,1,opt,name=RESOURCE_D_LINK,json=rESOURCEDLINK" json:"RESOURCE_D_LINK,omitempty"`
USER_SESSION_ID string `protobuf:"bytes,2,opt,name=USER_SESSION_ID,json=uSERSESSIONID" json:"USER_SESSION_ID,omitempty"`
PEPPER_MESSAGE string `protobuf:"bytes,3,opt,name=PEPPER_MESSAGE,json=pEPPERMESSAGE" json:"PEPPER_MESSAGE,omitempty"`
ErrorType Errors `protobuf:"varint,4,opt,name=ErrorType,json=errorType,enum=dlink.Errors" json:"ErrorType,omitempty"`
}
func (m *DLINK_MESSAGE) Reset() { *m = DLINK_MESSAGE{} }
func (m *DLINK_MESSAGE) String() string { return proto.CompactTextString(m) }
func (*DLINK_MESSAGE) ProtoMessage() {}
func (*DLINK_MESSAGE) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *DLINK_MESSAGE) GetRESOURCE_D_LINK() string {
if m != nil {
return m.RESOURCE_D_LINK
}
return ""
}
func (m *DLINK_MESSAGE) GetUSER_SESSION_ID() string {
if m != nil {
return m.USER_SESSION_ID
}
return ""
}
func (m *DLINK_MESSAGE) GetPEPPER_MESSAGE() string {
if m != nil {
return m.PEPPER_MESSAGE
}
return ""
}
func (m *DLINK_MESSAGE) GetErrorType() Errors {
if m != nil {
return m.ErrorType
}
return Errors_ERR_EMPTY_URL
}
type PreviewLink struct {
Filename string `protobuf:"bytes,1,opt,name=Filename,json=filename" json:"Filename,omitempty"`
Path string `protobuf:"bytes,2,opt,name=Path,json=path" json:"Path,omitempty"`
Size string `protobuf:"bytes,3,opt,name=Size,json=size" json:"Size,omitempty"`
Readable string `protobuf:"bytes,4,opt,name=Readable,json=readable" json:"Readable,omitempty"`
DateTime string `protobuf:"bytes,5,opt,name=DateTime,json=dateTime" json:"DateTime,omitempty"`
}
func (m *PreviewLink) Reset() { *m = PreviewLink{} }
func (m *PreviewLink) String() string { return proto.CompactTextString(m) }
func (*PreviewLink) ProtoMessage() {}
func (*PreviewLink) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *PreviewLink) GetFilename() string {
if m != nil {
return m.Filename
}
return ""
}
func (m *PreviewLink) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
func (m *PreviewLink) GetSize() string {
if m != nil {
return m.Size
}
return ""
}
func (m *PreviewLink) GetReadable() string {
if m != nil {
return m.Readable
}
return ""
}
func (m *PreviewLink) GetDateTime() string {
if m != nil {
return m.DateTime
}
return ""
}
func init() {
proto.RegisterType((*DLINK_MESSAGE)(nil), "dlink.DLINK_MESSAGE")
proto.RegisterType((*PreviewLink)(nil), "dlink.PreviewLink")
proto.RegisterEnum("dlink.Errors", Errors_name, Errors_value)
}
func init() { proto.RegisterFile("other/cloudmedia/dlink/dlink.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 403 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x34, 0x92, 0xd1, 0x6e, 0xd3, 0x30,
0x18, 0x85, 0xc9, 0x96, 0x96, 0xf4, 0x87, 0x76, 0x99, 0x11, 0x28, 0xe2, 0x6a, 0xaa, 0x04, 0x9a,
0x40, 0xda, 0x24, 0x78, 0x82, 0xa8, 0xf9, 0x01, 0xab, 0xa9, 0x1d, 0xd9, 0x49, 0x61, 0x57, 0x56,
0x46, 0x8c, 0x1a, 0xad, 0x6d, 0xa2, 0x2c, 0x03, 0xb1, 0x37, 0xe0, 0x79, 0xb8, 0xe0, 0xf5, 0x90,
0x63, 0xe7, 0xc6, 0xd2, 0xf9, 0xce, 0x91, 0xcf, 0xb9, 0xf8, 0x61, 0xd9, 0xf4, 0x3b, 0xdd, 0x5d,
0x7f, 0xdf, 0x37, 0x0f, 0xd5, 0x41, 0x57, 0x75, 0x79, 0x5d, 0xed, 0xeb, 0xe3, 0x9d, 0x7d, 0xaf,
0xda, 0xae, 0xe9, 0x1b, 0x32, 0x19, 0xc4, 0xf2, 0xaf, 0x07, 0xf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