pb

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterLambdaServer

func RegisterLambdaServer(s *grpc.Server, srv LambdaServer)

func RegisterMonitorServer

func RegisterMonitorServer(s *grpc.Server, srv MonitorServer)

Types

type Checkpoint

type Checkpoint struct {
	// weights stores different weights against a string label
	Weights map[string]*Variable `` /* 155-byte string literal not displayed */
	// biases stores different biases against a string label
	Biases               map[string]*Variable `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Checkpoint is a struct storing weights and biases

func (*Checkpoint) Descriptor

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

func (*Checkpoint) GetBiases

func (m *Checkpoint) GetBiases() map[string]*Variable

func (*Checkpoint) GetWeights

func (m *Checkpoint) GetWeights() map[string]*Variable

func (*Checkpoint) ProtoMessage

func (*Checkpoint) ProtoMessage()

func (*Checkpoint) Reset

func (m *Checkpoint) Reset()

func (*Checkpoint) String

func (m *Checkpoint) String() string

func (*Checkpoint) XXX_DiscardUnknown

func (m *Checkpoint) XXX_DiscardUnknown()

func (*Checkpoint) XXX_Marshal

func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Checkpoint) XXX_Merge

func (dst *Checkpoint) XXX_Merge(src proto.Message)

func (*Checkpoint) XXX_Size

func (m *Checkpoint) XXX_Size() int

func (*Checkpoint) XXX_Unmarshal

func (m *Checkpoint) XXX_Unmarshal(b []byte) error

type ConfigRequest

type ConfigRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ConfigRequest is a message used to get config parameters

func (*ConfigRequest) Descriptor

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

func (*ConfigRequest) ProtoMessage

func (*ConfigRequest) ProtoMessage()

func (*ConfigRequest) Reset

func (m *ConfigRequest) Reset()

func (*ConfigRequest) String

func (m *ConfigRequest) String() string

func (*ConfigRequest) XXX_DiscardUnknown

func (m *ConfigRequest) XXX_DiscardUnknown()

func (*ConfigRequest) XXX_Marshal

func (m *ConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigRequest) XXX_Merge

func (dst *ConfigRequest) XXX_Merge(src proto.Message)

func (*ConfigRequest) XXX_Size

func (m *ConfigRequest) XXX_Size() int

func (*ConfigRequest) XXX_Unmarshal

func (m *ConfigRequest) XXX_Unmarshal(b []byte) error

type ConfigResponse

type ConfigResponse struct {
	// name of lambda function
	FuncName string `protobuf:"bytes,1,opt,name=func_name,json=funcName,proto3" json:"func_name,omitempty"`
	// code location of lambda function
	CodeLocation string `protobuf:"bytes,2,opt,name=code_location,json=codeLocation,proto3" json:"code_location,omitempty"`
	// domain of lambda function
	Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	// bucket name to use
	BucketName string `protobuf:"bytes,4,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// oauth request to send to various providers
	Oauth *OAuthRequest `protobuf:"bytes,5,opt,name=oauth,proto3" json:"oauth,omitempty"`
	// jwt secret passphrase
	JwtSecret string `protobuf:"bytes,6,opt,name=jwt_secret,json=jwtSecret,proto3" json:"jwt_secret,omitempty"`
	// google cloud project id
	ProjectId            string   `protobuf:"bytes,7,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ConfigResponse is a set of config parameters for lambda functions. Currently these are all lumped into one struct but this will get divided into sub structs later on.

func (*ConfigResponse) Descriptor

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

func (*ConfigResponse) GetBucketName

func (m *ConfigResponse) GetBucketName() string

func (*ConfigResponse) GetCodeLocation

func (m *ConfigResponse) GetCodeLocation() string

func (*ConfigResponse) GetDomain

func (m *ConfigResponse) GetDomain() string

func (*ConfigResponse) GetFuncName

func (m *ConfigResponse) GetFuncName() string

func (*ConfigResponse) GetJwtSecret

func (m *ConfigResponse) GetJwtSecret() string

func (*ConfigResponse) GetOauth

func (m *ConfigResponse) GetOauth() *OAuthRequest

func (*ConfigResponse) GetProjectId added in v0.1.6

func (m *ConfigResponse) GetProjectId() string

func (*ConfigResponse) ProtoMessage

func (*ConfigResponse) ProtoMessage()

func (*ConfigResponse) Reset

func (m *ConfigResponse) Reset()

func (*ConfigResponse) String

func (m *ConfigResponse) String() string

func (*ConfigResponse) XXX_DiscardUnknown

func (m *ConfigResponse) XXX_DiscardUnknown()

func (*ConfigResponse) XXX_Marshal

func (m *ConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigResponse) XXX_Merge

func (dst *ConfigResponse) XXX_Merge(src proto.Message)

func (*ConfigResponse) XXX_Size

func (m *ConfigResponse) XXX_Size() int

func (*ConfigResponse) XXX_Unmarshal

func (m *ConfigResponse) XXX_Unmarshal(b []byte) error

type Data

type Data struct {
	Tag                  string   `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Data is basically just a byte buffer.

func (*Data) Descriptor

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

func (*Data) GetData

func (m *Data) GetData() []byte

func (*Data) GetTag

func (m *Data) GetTag() string

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) Reset

func (m *Data) Reset()

func (*Data) String

func (m *Data) String() string

func (*Data) XXX_DiscardUnknown

func (m *Data) XXX_DiscardUnknown()

func (*Data) XXX_Marshal

func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Data) XXX_Merge

func (dst *Data) XXX_Merge(src proto.Message)

func (*Data) XXX_Size

func (m *Data) XXX_Size() int

func (*Data) XXX_Unmarshal

func (m *Data) XXX_Unmarshal(b []byte) error

type EmailRequest

type EmailRequest struct {
	ToEmail              string   `protobuf:"bytes,1,opt,name=to_email,json=toEmail,proto3" json:"to_email,omitempty"`
	ToName               string   `protobuf:"bytes,2,opt,name=to_name,json=toName,proto3" json:"to_name,omitempty"`
	FromEmail            string   `protobuf:"bytes,3,opt,name=from_email,json=fromEmail,proto3" json:"from_email,omitempty"`
	FromName             string   `protobuf:"bytes,4,opt,name=from_name,json=fromName,proto3" json:"from_name,omitempty"`
	Subject              string   `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"`
	Body                 []byte   `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

EmailRequest is the request to send email. This data is streamed from client to the server.

func (*EmailRequest) Descriptor

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

func (*EmailRequest) GetBody

func (m *EmailRequest) GetBody() []byte

func (*EmailRequest) GetFromEmail

func (m *EmailRequest) GetFromEmail() string

func (*EmailRequest) GetFromName

func (m *EmailRequest) GetFromName() string

func (*EmailRequest) GetSubject

func (m *EmailRequest) GetSubject() string

func (*EmailRequest) GetToEmail

func (m *EmailRequest) GetToEmail() string

func (*EmailRequest) GetToName

func (m *EmailRequest) GetToName() string

func (*EmailRequest) ProtoMessage

func (*EmailRequest) ProtoMessage()

func (*EmailRequest) Reset

func (m *EmailRequest) Reset()

func (*EmailRequest) String

func (m *EmailRequest) String() string

func (*EmailRequest) XXX_DiscardUnknown

func (m *EmailRequest) XXX_DiscardUnknown()

func (*EmailRequest) XXX_Marshal

func (m *EmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmailRequest) XXX_Merge

func (dst *EmailRequest) XXX_Merge(src proto.Message)

func (*EmailRequest) XXX_Size

func (m *EmailRequest) XXX_Size() int

func (*EmailRequest) XXX_Unmarshal

func (m *EmailRequest) XXX_Unmarshal(b []byte) error

type EmailResponse

type EmailResponse struct {
	StatusCode           int64                    `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
	Body                 string                   `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	Headers              map[string]*ListOfString `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

EmailResponse is the response from the server after email is sent.

func (*EmailResponse) Descriptor

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

func (*EmailResponse) GetBody

func (m *EmailResponse) GetBody() string

func (*EmailResponse) GetHeaders

func (m *EmailResponse) GetHeaders() map[string]*ListOfString

func (*EmailResponse) GetStatusCode

func (m *EmailResponse) GetStatusCode() int64

func (*EmailResponse) ProtoMessage

func (*EmailResponse) ProtoMessage()

func (*EmailResponse) Reset

func (m *EmailResponse) Reset()

func (*EmailResponse) String

func (m *EmailResponse) String() string

func (*EmailResponse) XXX_DiscardUnknown

func (m *EmailResponse) XXX_DiscardUnknown()

func (*EmailResponse) XXX_Marshal

func (m *EmailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmailResponse) XXX_Merge

func (dst *EmailResponse) XXX_Merge(src proto.Message)

func (*EmailResponse) XXX_Size

func (m *EmailResponse) XXX_Size() int

func (*EmailResponse) XXX_Unmarshal

func (m *EmailResponse) XXX_Unmarshal(b []byte) error

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Server sends acknowledgement

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (dst *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

type GalleryItem

type GalleryItem struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	FileName             string   `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	Title                string   `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Caption              string   `protobuf:"bytes,4,opt,name=caption,proto3" json:"caption,omitempty"`
	BucketName           string   `protobuf:"bytes,5,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GalleryItem is a individual items for gallery presentation

func (*GalleryItem) Descriptor

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

func (*GalleryItem) GetBucketName

func (m *GalleryItem) GetBucketName() string

func (*GalleryItem) GetCaption

func (m *GalleryItem) GetCaption() string

func (*GalleryItem) GetFileName

func (m *GalleryItem) GetFileName() string

func (*GalleryItem) GetId

func (m *GalleryItem) GetId() int64

func (*GalleryItem) GetTitle

func (m *GalleryItem) GetTitle() string

func (*GalleryItem) ProtoMessage

func (*GalleryItem) ProtoMessage()

func (*GalleryItem) Reset

func (m *GalleryItem) Reset()

func (*GalleryItem) String

func (m *GalleryItem) String() string

func (*GalleryItem) XXX_DiscardUnknown

func (m *GalleryItem) XXX_DiscardUnknown()

func (*GalleryItem) XXX_Marshal

func (m *GalleryItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GalleryItem) XXX_Merge

func (dst *GalleryItem) XXX_Merge(src proto.Message)

func (*GalleryItem) XXX_Size

func (m *GalleryItem) XXX_Size() int

func (*GalleryItem) XXX_Unmarshal

func (m *GalleryItem) XXX_Unmarshal(b []byte) error

type GalleryRequest

type GalleryRequest struct {
	GalleryItems         []*GalleryItem `protobuf:"bytes,1,rep,name=gallery_items,json=galleryItems,proto3" json:"gallery_items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

GalleryRequest is a request to gallery maker. It contains filenames in object store that are publicly available.

func (*GalleryRequest) Descriptor

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

func (*GalleryRequest) GetGalleryItems

func (m *GalleryRequest) GetGalleryItems() []*GalleryItem

func (*GalleryRequest) ProtoMessage

func (*GalleryRequest) ProtoMessage()

func (*GalleryRequest) Reset

func (m *GalleryRequest) Reset()

func (*GalleryRequest) String

func (m *GalleryRequest) String() string

func (*GalleryRequest) XXX_DiscardUnknown

func (m *GalleryRequest) XXX_DiscardUnknown()

func (*GalleryRequest) XXX_Marshal

func (m *GalleryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GalleryRequest) XXX_Merge

func (dst *GalleryRequest) XXX_Merge(src proto.Message)

func (*GalleryRequest) XXX_Size

func (m *GalleryRequest) XXX_Size() int

func (*GalleryRequest) XXX_Unmarshal

func (m *GalleryRequest) XXX_Unmarshal(b []byte) error

type GalleryResponse

type GalleryResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GalleryResponse is an empty response.

func (*GalleryResponse) Descriptor

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

func (*GalleryResponse) ProtoMessage

func (*GalleryResponse) ProtoMessage()

func (*GalleryResponse) Reset

func (m *GalleryResponse) Reset()

func (*GalleryResponse) String

func (m *GalleryResponse) String() string

func (*GalleryResponse) XXX_DiscardUnknown

func (m *GalleryResponse) XXX_DiscardUnknown()

func (*GalleryResponse) XXX_Marshal

func (m *GalleryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GalleryResponse) XXX_Merge

func (dst *GalleryResponse) XXX_Merge(src proto.Message)

func (*GalleryResponse) XXX_Size

func (m *GalleryResponse) XXX_Size() int

func (*GalleryResponse) XXX_Unmarshal

func (m *GalleryResponse) XXX_Unmarshal(b []byte) error

type GanRequest

type GanRequest struct {
	// Model name.
	// Model files (.pb) exist in a folder by this name in
	// designated object store.
	ModelName string `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"`
	// Model version is the version number of the model
	ModelVersion string `protobuf:"bytes,2,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"`
	// Number of images to generate
	Count                int64    `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GanRequest) Descriptor

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

func (*GanRequest) GetCount

func (m *GanRequest) GetCount() int64

func (*GanRequest) GetModelName

func (m *GanRequest) GetModelName() string

func (*GanRequest) GetModelVersion

func (m *GanRequest) GetModelVersion() string

func (*GanRequest) ProtoMessage

func (*GanRequest) ProtoMessage()

func (*GanRequest) Reset

func (m *GanRequest) Reset()

func (*GanRequest) String

func (m *GanRequest) String() string

func (*GanRequest) XXX_DiscardUnknown

func (m *GanRequest) XXX_DiscardUnknown()

func (*GanRequest) XXX_Marshal

func (m *GanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GanRequest) XXX_Merge

func (dst *GanRequest) XXX_Merge(src proto.Message)

func (*GanRequest) XXX_Size

func (m *GanRequest) XXX_Size() int

func (*GanRequest) XXX_Unmarshal

func (m *GanRequest) XXX_Unmarshal(b []byte) error

type GanResponse

type GanResponse struct {
	// List of images
	Images               []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

InferImageRequest takes a list of images (as bytes) and model and label file path URIs.

func (*GanResponse) Descriptor

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

func (*GanResponse) GetImages

func (m *GanResponse) GetImages() []*Image

func (*GanResponse) ProtoMessage

func (*GanResponse) ProtoMessage()

func (*GanResponse) Reset

func (m *GanResponse) Reset()

func (*GanResponse) String

func (m *GanResponse) String() string

func (*GanResponse) XXX_DiscardUnknown

func (m *GanResponse) XXX_DiscardUnknown()

func (*GanResponse) XXX_Marshal

func (m *GanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GanResponse) XXX_Merge

func (dst *GanResponse) XXX_Merge(src proto.Message)

func (*GanResponse) XXX_Size

func (m *GanResponse) XXX_Size() int

func (*GanResponse) XXX_Unmarshal

func (m *GanResponse) XXX_Unmarshal(b []byte) error

type GetUserInfoRequest added in v0.1.5

type GetUserInfoRequest struct {
	UserMeta             *UserMeta `protobuf:"bytes,1,opt,name=user_meta,json=userMeta,proto3" json:"user_meta,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*GetUserInfoRequest) Descriptor added in v0.1.5

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

func (*GetUserInfoRequest) GetUserMeta added in v0.1.5

func (m *GetUserInfoRequest) GetUserMeta() *UserMeta

func (*GetUserInfoRequest) ProtoMessage added in v0.1.5

func (*GetUserInfoRequest) ProtoMessage()

func (*GetUserInfoRequest) Reset added in v0.1.5

func (m *GetUserInfoRequest) Reset()

func (*GetUserInfoRequest) String added in v0.1.5

func (m *GetUserInfoRequest) String() string

func (*GetUserInfoRequest) XXX_DiscardUnknown added in v0.1.5

func (m *GetUserInfoRequest) XXX_DiscardUnknown()

func (*GetUserInfoRequest) XXX_Marshal added in v0.1.5

func (m *GetUserInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUserInfoRequest) XXX_Merge added in v0.1.5

func (dst *GetUserInfoRequest) XXX_Merge(src proto.Message)

func (*GetUserInfoRequest) XXX_Size added in v0.1.5

func (m *GetUserInfoRequest) XXX_Size() int

func (*GetUserInfoRequest) XXX_Unmarshal added in v0.1.5

func (m *GetUserInfoRequest) XXX_Unmarshal(b []byte) error

type GetUserInfoResponse added in v0.1.5

type GetUserInfoResponse struct {
	UserMeta *UserMeta `protobuf:"bytes,1,opt,name=user_meta,json=userMeta,proto3" json:"user_meta,omitempty"`
	// HealthCheckEndPoints is the list of http end points for which user would like to request
	// health checks
	HealthCheckEndPoints *HealthCheckEndPoints `protobuf:"bytes,2,opt,name=health_check_end_points,json=healthCheckEndPoints,proto3" json:"health_check_end_points,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

GetUserInfoResponse is the information to store per user account

func (*GetUserInfoResponse) Descriptor added in v0.1.5

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

func (*GetUserInfoResponse) GetHealthCheckEndPoints added in v0.1.5

func (m *GetUserInfoResponse) GetHealthCheckEndPoints() *HealthCheckEndPoints

func (*GetUserInfoResponse) GetUserMeta added in v0.1.5

func (m *GetUserInfoResponse) GetUserMeta() *UserMeta

func (*GetUserInfoResponse) ProtoMessage added in v0.1.5

func (*GetUserInfoResponse) ProtoMessage()

func (*GetUserInfoResponse) Reset added in v0.1.5

func (m *GetUserInfoResponse) Reset()

func (*GetUserInfoResponse) String added in v0.1.5

func (m *GetUserInfoResponse) String() string

func (*GetUserInfoResponse) XXX_DiscardUnknown added in v0.1.5

func (m *GetUserInfoResponse) XXX_DiscardUnknown()

func (*GetUserInfoResponse) XXX_Marshal added in v0.1.5

func (m *GetUserInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUserInfoResponse) XXX_Merge added in v0.1.5

func (dst *GetUserInfoResponse) XXX_Merge(src proto.Message)

func (*GetUserInfoResponse) XXX_Size added in v0.1.5

func (m *GetUserInfoResponse) XXX_Size() int

func (*GetUserInfoResponse) XXX_Unmarshal added in v0.1.5

func (m *GetUserInfoResponse) XXX_Unmarshal(b []byte) error

type GoogleOAuthRequest

type GoogleOAuthRequest struct {
	// client id for oauth2
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// client secret for oauth2
	ClientSecret         string   `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GoogleOAuthRequest is used to send oauth request to google oauth provider

func (*GoogleOAuthRequest) Descriptor

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

func (*GoogleOAuthRequest) GetClientId

func (m *GoogleOAuthRequest) GetClientId() string

func (*GoogleOAuthRequest) GetClientSecret

func (m *GoogleOAuthRequest) GetClientSecret() string

func (*GoogleOAuthRequest) ProtoMessage

func (*GoogleOAuthRequest) ProtoMessage()

func (*GoogleOAuthRequest) Reset

func (m *GoogleOAuthRequest) Reset()

func (*GoogleOAuthRequest) String

func (m *GoogleOAuthRequest) String() string

func (*GoogleOAuthRequest) XXX_DiscardUnknown

func (m *GoogleOAuthRequest) XXX_DiscardUnknown()

func (*GoogleOAuthRequest) XXX_Marshal

func (m *GoogleOAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoogleOAuthRequest) XXX_Merge

func (dst *GoogleOAuthRequest) XXX_Merge(src proto.Message)

func (*GoogleOAuthRequest) XXX_Size

func (m *GoogleOAuthRequest) XXX_Size() int

func (*GoogleOAuthRequest) XXX_Unmarshal

func (m *GoogleOAuthRequest) XXX_Unmarshal(b []byte) error

type GoogleOAuthResponse

type GoogleOAuthResponse struct {
	// id of the user
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// email of the user
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// verified email of the user
	VerifiedEmail string `protobuf:"bytes,3,opt,name=verified_email,json=verifiedEmail,proto3" json:"verified_email,omitempty"`
	// link of user public profile
	Link string `protobuf:"bytes,4,opt,name=link,proto3" json:"link,omitempty"`
	// link to user public picture
	Picture              string   `protobuf:"bytes,5,opt,name=picture,proto3" json:"picture,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GoogleOAuthResponse is used to deserialize the response from google oauth provider

func (*GoogleOAuthResponse) Descriptor

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

func (*GoogleOAuthResponse) GetEmail

func (m *GoogleOAuthResponse) GetEmail() string

func (*GoogleOAuthResponse) GetId

func (m *GoogleOAuthResponse) GetId() string
func (m *GoogleOAuthResponse) GetLink() string

func (*GoogleOAuthResponse) GetPicture

func (m *GoogleOAuthResponse) GetPicture() string

func (*GoogleOAuthResponse) GetVerifiedEmail

func (m *GoogleOAuthResponse) GetVerifiedEmail() string

func (*GoogleOAuthResponse) ProtoMessage

func (*GoogleOAuthResponse) ProtoMessage()

func (*GoogleOAuthResponse) Reset

func (m *GoogleOAuthResponse) Reset()

func (*GoogleOAuthResponse) String

func (m *GoogleOAuthResponse) String() string

func (*GoogleOAuthResponse) XXX_DiscardUnknown

func (m *GoogleOAuthResponse) XXX_DiscardUnknown()

func (*GoogleOAuthResponse) XXX_Marshal

func (m *GoogleOAuthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoogleOAuthResponse) XXX_Merge

func (dst *GoogleOAuthResponse) XXX_Merge(src proto.Message)

func (*GoogleOAuthResponse) XXX_Size

func (m *GoogleOAuthResponse) XXX_Size() int

func (*GoogleOAuthResponse) XXX_Unmarshal

func (m *GoogleOAuthResponse) XXX_Unmarshal(b []byte) error

type HealthCheckEndPoints added in v0.1.5

type HealthCheckEndPoints struct {
	Url                  []string `protobuf:"bytes,1,rep,name=url,proto3" json:"url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HealthCheckEndPoints) Descriptor added in v0.1.5

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

func (*HealthCheckEndPoints) GetUrl added in v0.1.5

func (m *HealthCheckEndPoints) GetUrl() []string

func (*HealthCheckEndPoints) ProtoMessage added in v0.1.5

func (*HealthCheckEndPoints) ProtoMessage()

func (*HealthCheckEndPoints) Reset added in v0.1.5

func (m *HealthCheckEndPoints) Reset()

func (*HealthCheckEndPoints) String added in v0.1.5

func (m *HealthCheckEndPoints) String() string

func (*HealthCheckEndPoints) XXX_DiscardUnknown added in v0.1.5

func (m *HealthCheckEndPoints) XXX_DiscardUnknown()

func (*HealthCheckEndPoints) XXX_Marshal added in v0.1.5

func (m *HealthCheckEndPoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthCheckEndPoints) XXX_Merge added in v0.1.5

func (dst *HealthCheckEndPoints) XXX_Merge(src proto.Message)

func (*HealthCheckEndPoints) XXX_Size added in v0.1.5

func (m *HealthCheckEndPoints) XXX_Size() int

func (*HealthCheckEndPoints) XXX_Unmarshal added in v0.1.5

func (m *HealthCheckEndPoints) XXX_Unmarshal(b []byte) error

type Image

type Image struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Image consists of a name and bytes

func (*Image) Descriptor

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

func (*Image) GetData

func (m *Image) GetData() []byte

func (*Image) GetName

func (m *Image) GetName() string

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) Reset

func (m *Image) Reset()

func (*Image) String

func (m *Image) String() string

func (*Image) XXX_DiscardUnknown

func (m *Image) XXX_DiscardUnknown()

func (*Image) XXX_Marshal

func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Image) XXX_Merge

func (dst *Image) XXX_Merge(src proto.Message)

func (*Image) XXX_Size

func (m *Image) XXX_Size() int

func (*Image) XXX_Unmarshal

func (m *Image) XXX_Unmarshal(b []byte) error

type InferImageRequest

type InferImageRequest struct {
	// List of images
	Images []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	// Model name.
	// Model files (.pb and .txt) exist in a folder by this name in
	// designated object store.
	ModelName string `protobuf:"bytes,2,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"`
	// Model version is the version number of the model
	ModelVersion         string   `protobuf:"bytes,3,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

InferImageRequest takes a list of images (as bytes) and model and label file path URIs.

func (*InferImageRequest) Descriptor

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

func (*InferImageRequest) GetImages

func (m *InferImageRequest) GetImages() []*Image

func (*InferImageRequest) GetModelName

func (m *InferImageRequest) GetModelName() string

func (*InferImageRequest) GetModelVersion

func (m *InferImageRequest) GetModelVersion() string

func (*InferImageRequest) ProtoMessage

func (*InferImageRequest) ProtoMessage()

func (*InferImageRequest) Reset

func (m *InferImageRequest) Reset()

func (*InferImageRequest) String

func (m *InferImageRequest) String() string

func (*InferImageRequest) XXX_DiscardUnknown

func (m *InferImageRequest) XXX_DiscardUnknown()

func (*InferImageRequest) XXX_Marshal

func (m *InferImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InferImageRequest) XXX_Merge

func (dst *InferImageRequest) XXX_Merge(src proto.Message)

func (*InferImageRequest) XXX_Size

func (m *InferImageRequest) XXX_Size() int

func (*InferImageRequest) XXX_Unmarshal

func (m *InferImageRequest) XXX_Unmarshal(b []byte) error

type InferImageResponse

type InferImageResponse struct {
	Outputs              []*InferOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

InferImageResponse is a list of output, one per input image.

func (*InferImageResponse) Descriptor

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

func (*InferImageResponse) GetOutputs

func (m *InferImageResponse) GetOutputs() []*InferOutput

func (*InferImageResponse) ProtoMessage

func (*InferImageResponse) ProtoMessage()

func (*InferImageResponse) Reset

func (m *InferImageResponse) Reset()

func (*InferImageResponse) String

func (m *InferImageResponse) String() string

func (*InferImageResponse) XXX_DiscardUnknown

func (m *InferImageResponse) XXX_DiscardUnknown()

func (*InferImageResponse) XXX_Marshal

func (m *InferImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InferImageResponse) XXX_Merge

func (dst *InferImageResponse) XXX_Merge(src proto.Message)

func (*InferImageResponse) XXX_Size

func (m *InferImageResponse) XXX_Size() int

func (*InferImageResponse) XXX_Unmarshal

func (m *InferImageResponse) XXX_Unmarshal(b []byte) error

type InferOutput

type InferOutput struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Label                string   `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Probability          int64    `protobuf:"varint,3,opt,name=probability,proto3" json:"probability,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

InferOutput consists of a name, inferred label and probability for that label.

func (*InferOutput) Descriptor

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

func (*InferOutput) GetLabel

func (m *InferOutput) GetLabel() string

func (*InferOutput) GetName

func (m *InferOutput) GetName() string

func (*InferOutput) GetProbability

func (m *InferOutput) GetProbability() int64

func (*InferOutput) ProtoMessage

func (*InferOutput) ProtoMessage()

func (*InferOutput) Reset

func (m *InferOutput) Reset()

func (*InferOutput) String

func (m *InferOutput) String() string

func (*InferOutput) XXX_DiscardUnknown

func (m *InferOutput) XXX_DiscardUnknown()

func (*InferOutput) XXX_Marshal

func (m *InferOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InferOutput) XXX_Merge

func (dst *InferOutput) XXX_Merge(src proto.Message)

func (*InferOutput) XXX_Size

func (m *InferOutput) XXX_Size() int

func (*InferOutput) XXX_Unmarshal

func (m *InferOutput) XXX_Unmarshal(b []byte) error

type LambdaClient

type LambdaClient interface {
	// Email service sends email
	Email(ctx context.Context, in *EmailRequest, opts ...grpc.CallOption) (*EmailResponse, error)
	// InferImage applies trained model on input image for inferring labels
	InferImage(ctx context.Context, opts ...grpc.CallOption) (Lambda_InferImageClient, error)
	// GAN generator
	Gan(ctx context.Context, in *GanRequest, opts ...grpc.CallOption) (Lambda_GanClient, error)
	// Gallery Display of images
	Gallery(ctx context.Context, in *GalleryRequest, opts ...grpc.CallOption) (*GalleryResponse, error)
	// Config fetches config parameters
	Config(ctx context.Context, in *ConfigRequest, opts ...grpc.CallOption) (*ConfigResponse, error)
	// GetUserInfo retrieves user info
	GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...grpc.CallOption) (*GetUserInfoResponse, error)
	// SetUserInfo sets user info
	SetUserInfo(ctx context.Context, in *SetUserInfoRequest, opts ...grpc.CallOption) (*SetUserInfoResponse, error)
}

LambdaClient is the client API for Lambda service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLambdaClient

func NewLambdaClient(cc *grpc.ClientConn) LambdaClient

type LambdaServer

type LambdaServer interface {
	// Email service sends email
	Email(context.Context, *EmailRequest) (*EmailResponse, error)
	// InferImage applies trained model on input image for inferring labels
	InferImage(Lambda_InferImageServer) error
	// GAN generator
	Gan(*GanRequest, Lambda_GanServer) error
	// Gallery Display of images
	Gallery(context.Context, *GalleryRequest) (*GalleryResponse, error)
	// Config fetches config parameters
	Config(context.Context, *ConfigRequest) (*ConfigResponse, error)
	// GetUserInfo retrieves user info
	GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error)
	// SetUserInfo sets user info
	SetUserInfo(context.Context, *SetUserInfoRequest) (*SetUserInfoResponse, error)
}

LambdaServer is the server API for Lambda service.

type Lambda_GanClient

type Lambda_GanClient interface {
	Recv() (*GanResponse, error)
	grpc.ClientStream
}

type Lambda_GanServer

type Lambda_GanServer interface {
	Send(*GanResponse) error
	grpc.ServerStream
}

type Lambda_InferImageClient

type Lambda_InferImageClient interface {
	Send(*InferImageRequest) error
	CloseAndRecv() (*InferImageResponse, error)
	grpc.ClientStream
}

type Lambda_InferImageServer

type Lambda_InferImageServer interface {
	SendAndClose(*InferImageResponse) error
	Recv() (*InferImageRequest, error)
	grpc.ServerStream
}

type ListOfString

type ListOfString struct {
	Value                []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ListOfString is a list of strings

func (*ListOfString) Descriptor

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

func (*ListOfString) GetValue

func (m *ListOfString) GetValue() []string

func (*ListOfString) ProtoMessage

func (*ListOfString) ProtoMessage()

func (*ListOfString) Reset

func (m *ListOfString) Reset()

func (*ListOfString) String

func (m *ListOfString) String() string

func (*ListOfString) XXX_DiscardUnknown

func (m *ListOfString) XXX_DiscardUnknown()

func (*ListOfString) XXX_Marshal

func (m *ListOfString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListOfString) XXX_Merge

func (dst *ListOfString) XXX_Merge(src proto.Message)

func (*ListOfString) XXX_Size

func (m *ListOfString) XXX_Size() int

func (*ListOfString) XXX_Unmarshal

func (m *ListOfString) XXX_Unmarshal(b []byte) error

type MonitorClient

type MonitorClient interface {
	Query(ctx context.Context, in *Empty, opts ...grpc.CallOption) (Monitor_QueryClient, error)
}

MonitorClient is the client API for Monitor service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMonitorClient

func NewMonitorClient(cc *grpc.ClientConn) MonitorClient

type MonitorServer

type MonitorServer interface {
	Query(*Empty, Monitor_QueryServer) error
}

MonitorServer is the server API for Monitor service.

type Monitor_QueryClient

type Monitor_QueryClient interface {
	Recv() (*Data, error)
	grpc.ClientStream
}

type Monitor_QueryServer

type Monitor_QueryServer interface {
	Send(*Data) error
	grpc.ServerStream
}

type OAuthRequest

type OAuthRequest struct {
	// Google as oauth provider
	Google               *GoogleOAuthRequest `protobuf:"bytes,1,opt,name=google,proto3" json:"google,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

OAuthRequest is a collection of all supported oauth providers

func (*OAuthRequest) Descriptor

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

func (*OAuthRequest) GetGoogle

func (m *OAuthRequest) GetGoogle() *GoogleOAuthRequest

func (*OAuthRequest) ProtoMessage

func (*OAuthRequest) ProtoMessage()

func (*OAuthRequest) Reset

func (m *OAuthRequest) Reset()

func (*OAuthRequest) String

func (m *OAuthRequest) String() string

func (*OAuthRequest) XXX_DiscardUnknown

func (m *OAuthRequest) XXX_DiscardUnknown()

func (*OAuthRequest) XXX_Marshal

func (m *OAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OAuthRequest) XXX_Merge

func (dst *OAuthRequest) XXX_Merge(src proto.Message)

func (*OAuthRequest) XXX_Size

func (m *OAuthRequest) XXX_Size() int

func (*OAuthRequest) XXX_Unmarshal

func (m *OAuthRequest) XXX_Unmarshal(b []byte) error

type SetUserInfoRequest added in v0.1.5

type SetUserInfoRequest struct {
	UserMeta *UserMeta `protobuf:"bytes,1,opt,name=user_meta,json=userMeta,proto3" json:"user_meta,omitempty"`
	// HealthCheckEndPoints is the list of http end points for which user would like to request
	// health checks
	HealthCheckEndPoints *HealthCheckEndPoints `protobuf:"bytes,2,opt,name=health_check_end_points,json=healthCheckEndPoints,proto3" json:"health_check_end_points,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

SetUserInfoRequest is the information to store per user account

func (*SetUserInfoRequest) Descriptor added in v0.1.5

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

func (*SetUserInfoRequest) GetHealthCheckEndPoints added in v0.1.5

func (m *SetUserInfoRequest) GetHealthCheckEndPoints() *HealthCheckEndPoints

func (*SetUserInfoRequest) GetUserMeta added in v0.1.5

func (m *SetUserInfoRequest) GetUserMeta() *UserMeta

func (*SetUserInfoRequest) ProtoMessage added in v0.1.5

func (*SetUserInfoRequest) ProtoMessage()

func (*SetUserInfoRequest) Reset added in v0.1.5

func (m *SetUserInfoRequest) Reset()

func (*SetUserInfoRequest) String added in v0.1.5

func (m *SetUserInfoRequest) String() string

func (*SetUserInfoRequest) XXX_DiscardUnknown added in v0.1.5

func (m *SetUserInfoRequest) XXX_DiscardUnknown()

func (*SetUserInfoRequest) XXX_Marshal added in v0.1.5

func (m *SetUserInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetUserInfoRequest) XXX_Merge added in v0.1.5

func (dst *SetUserInfoRequest) XXX_Merge(src proto.Message)

func (*SetUserInfoRequest) XXX_Size added in v0.1.5

func (m *SetUserInfoRequest) XXX_Size() int

func (*SetUserInfoRequest) XXX_Unmarshal added in v0.1.5

func (m *SetUserInfoRequest) XXX_Unmarshal(b []byte) error

type SetUserInfoResponse added in v0.1.5

type SetUserInfoResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SetUserInfoResponse is the response after setting user info.

func (*SetUserInfoResponse) Descriptor added in v0.1.5

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

func (*SetUserInfoResponse) ProtoMessage added in v0.1.5

func (*SetUserInfoResponse) ProtoMessage()

func (*SetUserInfoResponse) Reset added in v0.1.5

func (m *SetUserInfoResponse) Reset()

func (*SetUserInfoResponse) String added in v0.1.5

func (m *SetUserInfoResponse) String() string

func (*SetUserInfoResponse) XXX_DiscardUnknown added in v0.1.5

func (m *SetUserInfoResponse) XXX_DiscardUnknown()

func (*SetUserInfoResponse) XXX_Marshal added in v0.1.5

func (m *SetUserInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetUserInfoResponse) XXX_Merge added in v0.1.5

func (dst *SetUserInfoResponse) XXX_Merge(src proto.Message)

func (*SetUserInfoResponse) XXX_Size added in v0.1.5

func (m *SetUserInfoResponse) XXX_Size() int

func (*SetUserInfoResponse) XXX_Unmarshal added in v0.1.5

func (m *SetUserInfoResponse) XXX_Unmarshal(b []byte) error

type UserMeta added in v0.1.5

type UserMeta struct {
	// UserName is the user name.
	UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// UserId is the id for the user.
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// UserEmail is the email for the user.
	UserEmail            string   `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserMeta) Descriptor added in v0.1.5

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

func (*UserMeta) GetUserEmail added in v0.1.5

func (m *UserMeta) GetUserEmail() string

func (*UserMeta) GetUserId added in v0.1.5

func (m *UserMeta) GetUserId() int64

func (*UserMeta) GetUserName added in v0.1.5

func (m *UserMeta) GetUserName() string

func (*UserMeta) ProtoMessage added in v0.1.5

func (*UserMeta) ProtoMessage()

func (*UserMeta) Reset added in v0.1.5

func (m *UserMeta) Reset()

func (*UserMeta) String added in v0.1.5

func (m *UserMeta) String() string

func (*UserMeta) XXX_DiscardUnknown added in v0.1.5

func (m *UserMeta) XXX_DiscardUnknown()

func (*UserMeta) XXX_Marshal added in v0.1.5

func (m *UserMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserMeta) XXX_Merge added in v0.1.5

func (dst *UserMeta) XXX_Merge(src proto.Message)

func (*UserMeta) XXX_Size added in v0.1.5

func (m *UserMeta) XXX_Size() int

func (*UserMeta) XXX_Unmarshal added in v0.1.5

func (m *UserMeta) XXX_Unmarshal(b []byte) error

type Variable

type Variable struct {
	Data                 []float32 `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"`
	Size                 []int64   `protobuf:"varint,2,rep,packed,name=size,proto3" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Variable is basically a buffer and its size

func (*Variable) Descriptor

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

func (*Variable) GetData

func (m *Variable) GetData() []float32

func (*Variable) GetSize

func (m *Variable) GetSize() []int64

func (*Variable) ProtoMessage

func (*Variable) ProtoMessage()

func (*Variable) Reset

func (m *Variable) Reset()

func (*Variable) String

func (m *Variable) String() string

func (*Variable) XXX_DiscardUnknown

func (m *Variable) XXX_DiscardUnknown()

func (*Variable) XXX_Marshal

func (m *Variable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Variable) XXX_Merge

func (dst *Variable) XXX_Merge(src proto.Message)

func (*Variable) XXX_Size

func (m *Variable) XXX_Size() int

func (*Variable) XXX_Unmarshal

func (m *Variable) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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