pb

package
v0.0.0-...-40fc3ee Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGoalServiceServer

func RegisterGoalServiceServer(s *grpc.Server, srv GoalServiceServer)

Types

type DeleteGoalRequest

type DeleteGoalRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteGoalRequest) Descriptor

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

func (*DeleteGoalRequest) GetId

func (m *DeleteGoalRequest) GetId() string

func (*DeleteGoalRequest) ProtoMessage

func (*DeleteGoalRequest) ProtoMessage()

func (*DeleteGoalRequest) Reset

func (m *DeleteGoalRequest) Reset()

func (*DeleteGoalRequest) String

func (m *DeleteGoalRequest) String() string

func (*DeleteGoalRequest) XXX_DiscardUnknown

func (m *DeleteGoalRequest) XXX_DiscardUnknown()

func (*DeleteGoalRequest) XXX_Marshal

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

func (*DeleteGoalRequest) XXX_Merge

func (m *DeleteGoalRequest) XXX_Merge(src proto.Message)

func (*DeleteGoalRequest) XXX_Size

func (m *DeleteGoalRequest) XXX_Size() int

func (*DeleteGoalRequest) XXX_Unmarshal

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

type DeleteGoalResponse

type DeleteGoalResponse struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteGoalResponse) Descriptor

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

func (*DeleteGoalResponse) GetId

func (m *DeleteGoalResponse) GetId() string

func (*DeleteGoalResponse) ProtoMessage

func (*DeleteGoalResponse) ProtoMessage()

func (*DeleteGoalResponse) Reset

func (m *DeleteGoalResponse) Reset()

func (*DeleteGoalResponse) String

func (m *DeleteGoalResponse) String() string

func (*DeleteGoalResponse) XXX_DiscardUnknown

func (m *DeleteGoalResponse) XXX_DiscardUnknown()

func (*DeleteGoalResponse) XXX_Marshal

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

func (*DeleteGoalResponse) XXX_Merge

func (m *DeleteGoalResponse) XXX_Merge(src proto.Message)

func (*DeleteGoalResponse) XXX_Size

func (m *DeleteGoalResponse) XXX_Size() int

func (*DeleteGoalResponse) XXX_Unmarshal

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

type GetGoalRequest

type GetGoalRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserID               uint64   `protobuf:"varint,2,opt,name=userID,proto3" json:"userID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetGoalRequest) Descriptor

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

func (*GetGoalRequest) GetId

func (m *GetGoalRequest) GetId() string

func (*GetGoalRequest) GetUserID

func (m *GetGoalRequest) GetUserID() uint64

func (*GetGoalRequest) ProtoMessage

func (*GetGoalRequest) ProtoMessage()

func (*GetGoalRequest) Reset

func (m *GetGoalRequest) Reset()

func (*GetGoalRequest) String

func (m *GetGoalRequest) String() string

func (*GetGoalRequest) XXX_DiscardUnknown

func (m *GetGoalRequest) XXX_DiscardUnknown()

func (*GetGoalRequest) XXX_Marshal

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

func (*GetGoalRequest) XXX_Merge

func (m *GetGoalRequest) XXX_Merge(src proto.Message)

func (*GetGoalRequest) XXX_Size

func (m *GetGoalRequest) XXX_Size() int

func (*GetGoalRequest) XXX_Unmarshal

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

type GetGoalResponse

type GetGoalResponse struct {
	Goal                 *Goal    `protobuf:"bytes,1,opt,name=goal,proto3" json:"goal,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetGoalResponse) Descriptor

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

func (*GetGoalResponse) GetGoal

func (m *GetGoalResponse) GetGoal() *Goal

func (*GetGoalResponse) ProtoMessage

func (*GetGoalResponse) ProtoMessage()

func (*GetGoalResponse) Reset

func (m *GetGoalResponse) Reset()

func (*GetGoalResponse) String

func (m *GetGoalResponse) String() string

func (*GetGoalResponse) XXX_DiscardUnknown

func (m *GetGoalResponse) XXX_DiscardUnknown()

func (*GetGoalResponse) XXX_Marshal

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

func (*GetGoalResponse) XXX_Merge

func (m *GetGoalResponse) XXX_Merge(src proto.Message)

func (*GetGoalResponse) XXX_Size

func (m *GetGoalResponse) XXX_Size() int

func (*GetGoalResponse) XXX_Unmarshal

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

type GetMultipleGoalsRequest

type GetMultipleGoalsRequest struct {
	Skip                 uint64   `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"`
	Take                 uint64   `protobuf:"varint,2,opt,name=take,proto3" json:"take,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetMultipleGoalsRequest) Descriptor

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

func (*GetMultipleGoalsRequest) GetSkip

func (m *GetMultipleGoalsRequest) GetSkip() uint64

func (*GetMultipleGoalsRequest) GetTake

func (m *GetMultipleGoalsRequest) GetTake() uint64

func (*GetMultipleGoalsRequest) ProtoMessage

func (*GetMultipleGoalsRequest) ProtoMessage()

func (*GetMultipleGoalsRequest) Reset

func (m *GetMultipleGoalsRequest) Reset()

func (*GetMultipleGoalsRequest) String

func (m *GetMultipleGoalsRequest) String() string

func (*GetMultipleGoalsRequest) XXX_DiscardUnknown

func (m *GetMultipleGoalsRequest) XXX_DiscardUnknown()

func (*GetMultipleGoalsRequest) XXX_Marshal

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

func (*GetMultipleGoalsRequest) XXX_Merge

func (m *GetMultipleGoalsRequest) XXX_Merge(src proto.Message)

func (*GetMultipleGoalsRequest) XXX_Size

func (m *GetMultipleGoalsRequest) XXX_Size() int

func (*GetMultipleGoalsRequest) XXX_Unmarshal

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

type GetMultipleGoalsResponse

type GetMultipleGoalsResponse struct {
	Goals                []*Goal  `protobuf:"bytes,1,rep,name=goals,proto3" json:"goals,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetMultipleGoalsResponse) Descriptor

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

func (*GetMultipleGoalsResponse) GetGoals

func (m *GetMultipleGoalsResponse) GetGoals() []*Goal

func (*GetMultipleGoalsResponse) ProtoMessage

func (*GetMultipleGoalsResponse) ProtoMessage()

func (*GetMultipleGoalsResponse) Reset

func (m *GetMultipleGoalsResponse) Reset()

func (*GetMultipleGoalsResponse) String

func (m *GetMultipleGoalsResponse) String() string

func (*GetMultipleGoalsResponse) XXX_DiscardUnknown

func (m *GetMultipleGoalsResponse) XXX_DiscardUnknown()

func (*GetMultipleGoalsResponse) XXX_Marshal

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

func (*GetMultipleGoalsResponse) XXX_Merge

func (m *GetMultipleGoalsResponse) XXX_Merge(src proto.Message)

func (*GetMultipleGoalsResponse) XXX_Size

func (m *GetMultipleGoalsResponse) XXX_Size() int

func (*GetMultipleGoalsResponse) XXX_Unmarshal

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

type Goal

type Goal struct {
	Id                   string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Creator              string               `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	Participants         []string             `protobuf:"bytes,3,rep,name=participants,proto3" json:"participants,omitempty"`
	Likes                []string             `protobuf:"bytes,4,rep,name=likes,proto3" json:"likes,omitempty"`
	Watchers             []string             `protobuf:"bytes,5,rep,name=watchers,proto3" json:"watchers,omitempty"`
	Aim                  string               `protobuf:"bytes,6,opt,name=aim,proto3" json:"aim,omitempty"`
	Reason               string               `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"`
	Details              string               `protobuf:"bytes,8,opt,name=details,proto3" json:"details,omitempty"`
	Inspiration          string               `protobuf:"bytes,9,opt,name=inspiration,proto3" json:"inspiration,omitempty"`
	Type                 string               `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"`
	Tags                 []string             `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"`
	SimilarGoals         []string             `protobuf:"bytes,12,rep,name=similarGoals,proto3" json:"similarGoals,omitempty"`
	IsAchieved           bool                 `protobuf:"varint,13,opt,name=isAchieved,proto3" json:"isAchieved,omitempty"`
	IsPrivate            bool                 `protobuf:"varint,14,opt,name=isPrivate,proto3" json:"isPrivate,omitempty"`
	Date                 *timestamp.Timestamp `protobuf:"bytes,15,opt,name=date,proto3" json:"date,omitempty"`
	GoalJourney          *Journey             `protobuf:"bytes,16,opt,name=goalJourney,proto3" json:"goalJourney,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Goal) Descriptor

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

func (*Goal) GetAim

func (m *Goal) GetAim() string

func (*Goal) GetCreator

func (m *Goal) GetCreator() string

func (*Goal) GetDate

func (m *Goal) GetDate() *timestamp.Timestamp

func (*Goal) GetDetails

func (m *Goal) GetDetails() string

func (*Goal) GetGoalJourney

func (m *Goal) GetGoalJourney() *Journey

func (*Goal) GetId

func (m *Goal) GetId() string

func (*Goal) GetInspiration

func (m *Goal) GetInspiration() string

func (*Goal) GetIsAchieved

func (m *Goal) GetIsAchieved() bool

func (*Goal) GetIsPrivate

func (m *Goal) GetIsPrivate() bool

func (*Goal) GetLikes

func (m *Goal) GetLikes() []string

func (*Goal) GetParticipants

func (m *Goal) GetParticipants() []string

func (*Goal) GetReason

func (m *Goal) GetReason() string

func (*Goal) GetSimilarGoals

func (m *Goal) GetSimilarGoals() []string

func (*Goal) GetTags

func (m *Goal) GetTags() []string

func (*Goal) GetType

func (m *Goal) GetType() string

func (*Goal) GetWatchers

func (m *Goal) GetWatchers() []string

func (*Goal) ProtoMessage

func (*Goal) ProtoMessage()

func (*Goal) Reset

func (m *Goal) Reset()

func (*Goal) String

func (m *Goal) String() string

func (*Goal) XXX_DiscardUnknown

func (m *Goal) XXX_DiscardUnknown()

func (*Goal) XXX_Marshal

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

func (*Goal) XXX_Merge

func (m *Goal) XXX_Merge(src proto.Message)

func (*Goal) XXX_Size

func (m *Goal) XXX_Size() int

func (*Goal) XXX_Unmarshal

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

type GoalServiceClient

type GoalServiceClient interface {
	PostGoal(ctx context.Context, in *PostGoalRequest, opts ...grpc.CallOption) (*PostGoalResponse, error)
	GetGoal(ctx context.Context, in *GetGoalRequest, opts ...grpc.CallOption) (*GetGoalResponse, error)
	GetMultipleGoals(ctx context.Context, in *GetMultipleGoalsRequest, opts ...grpc.CallOption) (*GetMultipleGoalsResponse, error)
	PutGoal(ctx context.Context, in *PutGoalRequest, opts ...grpc.CallOption) (*PutGoalResponse, error)
	DeleteGoal(ctx context.Context, in *DeleteGoalRequest, opts ...grpc.CallOption) (*DeleteGoalResponse, error)
}

GoalServiceClient is the client API for GoalService service.

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

func NewGoalServiceClient

func NewGoalServiceClient(cc *grpc.ClientConn) GoalServiceClient

type GoalServiceServer

GoalServiceServer is the server API for GoalService service.

type Journey

type Journey struct {
	IsComplete           bool                 `protobuf:"varint,1,opt,name=isComplete,proto3" json:"isComplete,omitempty"`
	IsInProgress         bool                 `protobuf:"varint,2,opt,name=IsInProgress,proto3" json:"IsInProgress,omitempty"`
	IsStarted            bool                 `protobuf:"varint,3,opt,name=IsStarted,proto3" json:"IsStarted,omitempty"`
	Details              string               `protobuf:"bytes,4,opt,name=Details,proto3" json:"Details,omitempty"`
	Typ                  string               `protobuf:"bytes,5,opt,name=typ,proto3" json:"typ,omitempty"`
	Steps                []string             `protobuf:"bytes,6,rep,name=steps,proto3" json:"steps,omitempty"`
	Progress             int32                `protobuf:"varint,7,opt,name=progress,proto3" json:"progress,omitempty"`
	StartDate            *timestamp.Timestamp `protobuf:"bytes,8,opt,name=startDate,proto3" json:"startDate,omitempty"`
	DueDate              *timestamp.Timestamp `protobuf:"bytes,9,opt,name=dueDate,proto3" json:"dueDate,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Journey) Descriptor

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

func (*Journey) GetDetails

func (m *Journey) GetDetails() string

func (*Journey) GetDueDate

func (m *Journey) GetDueDate() *timestamp.Timestamp

func (*Journey) GetIsComplete

func (m *Journey) GetIsComplete() bool

func (*Journey) GetIsInProgress

func (m *Journey) GetIsInProgress() bool

func (*Journey) GetIsStarted

func (m *Journey) GetIsStarted() bool

func (*Journey) GetProgress

func (m *Journey) GetProgress() int32

func (*Journey) GetStartDate

func (m *Journey) GetStartDate() *timestamp.Timestamp

func (*Journey) GetSteps

func (m *Journey) GetSteps() []string

func (*Journey) GetTyp

func (m *Journey) GetTyp() string

func (*Journey) ProtoMessage

func (*Journey) ProtoMessage()

func (*Journey) Reset

func (m *Journey) Reset()

func (*Journey) String

func (m *Journey) String() string

func (*Journey) XXX_DiscardUnknown

func (m *Journey) XXX_DiscardUnknown()

func (*Journey) XXX_Marshal

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

func (*Journey) XXX_Merge

func (m *Journey) XXX_Merge(src proto.Message)

func (*Journey) XXX_Size

func (m *Journey) XXX_Size() int

func (*Journey) XXX_Unmarshal

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

type PostGoalRequest

type PostGoalRequest struct {
	Creator              string               `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Participants         []string             `protobuf:"bytes,2,rep,name=participants,proto3" json:"participants,omitempty"`
	Likes                []string             `protobuf:"bytes,3,rep,name=likes,proto3" json:"likes,omitempty"`
	Watchers             []string             `protobuf:"bytes,4,rep,name=watchers,proto3" json:"watchers,omitempty"`
	Aim                  string               `protobuf:"bytes,5,opt,name=aim,proto3" json:"aim,omitempty"`
	Reason               string               `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
	Details              string               `protobuf:"bytes,7,opt,name=details,proto3" json:"details,omitempty"`
	Type                 string               `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"`
	Inspiration          string               `protobuf:"bytes,9,opt,name=inspiration,proto3" json:"inspiration,omitempty"`
	Tags                 []string             `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"`
	SimilarGoals         []string             `protobuf:"bytes,11,rep,name=similarGoals,proto3" json:"similarGoals,omitempty"`
	IsAchieved           bool                 `protobuf:"varint,12,opt,name=isAchieved,proto3" json:"isAchieved,omitempty"`
	IsPrivate            bool                 `protobuf:"varint,13,opt,name=isPrivate,proto3" json:"isPrivate,omitempty"`
	Journey              *Journey             `protobuf:"bytes,14,opt,name=journey,proto3" json:"journey,omitempty"`
	Time                 *timestamp.Timestamp `protobuf:"bytes,15,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*PostGoalRequest) Descriptor

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

func (*PostGoalRequest) GetAim

func (m *PostGoalRequest) GetAim() string

func (*PostGoalRequest) GetCreator

func (m *PostGoalRequest) GetCreator() string

func (*PostGoalRequest) GetDetails

func (m *PostGoalRequest) GetDetails() string

func (*PostGoalRequest) GetInspiration

func (m *PostGoalRequest) GetInspiration() string

func (*PostGoalRequest) GetIsAchieved

func (m *PostGoalRequest) GetIsAchieved() bool

func (*PostGoalRequest) GetIsPrivate

func (m *PostGoalRequest) GetIsPrivate() bool

func (*PostGoalRequest) GetJourney

func (m *PostGoalRequest) GetJourney() *Journey

func (*PostGoalRequest) GetLikes

func (m *PostGoalRequest) GetLikes() []string

func (*PostGoalRequest) GetParticipants

func (m *PostGoalRequest) GetParticipants() []string

func (*PostGoalRequest) GetReason

func (m *PostGoalRequest) GetReason() string

func (*PostGoalRequest) GetSimilarGoals

func (m *PostGoalRequest) GetSimilarGoals() []string

func (*PostGoalRequest) GetTags

func (m *PostGoalRequest) GetTags() []string

func (*PostGoalRequest) GetTime

func (m *PostGoalRequest) GetTime() *timestamp.Timestamp

func (*PostGoalRequest) GetType

func (m *PostGoalRequest) GetType() string

func (*PostGoalRequest) GetWatchers

func (m *PostGoalRequest) GetWatchers() []string

func (*PostGoalRequest) ProtoMessage

func (*PostGoalRequest) ProtoMessage()

func (*PostGoalRequest) Reset

func (m *PostGoalRequest) Reset()

func (*PostGoalRequest) String

func (m *PostGoalRequest) String() string

func (*PostGoalRequest) XXX_DiscardUnknown

func (m *PostGoalRequest) XXX_DiscardUnknown()

func (*PostGoalRequest) XXX_Marshal

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

func (*PostGoalRequest) XXX_Merge

func (m *PostGoalRequest) XXX_Merge(src proto.Message)

func (*PostGoalRequest) XXX_Size

func (m *PostGoalRequest) XXX_Size() int

func (*PostGoalRequest) XXX_Unmarshal

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

type PostGoalResponse

type PostGoalResponse struct {
	Goal                 string   `protobuf:"bytes,1,opt,name=goal,proto3" json:"goal,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PostGoalResponse) Descriptor

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

func (*PostGoalResponse) GetGoal

func (m *PostGoalResponse) GetGoal() string

func (*PostGoalResponse) ProtoMessage

func (*PostGoalResponse) ProtoMessage()

func (*PostGoalResponse) Reset

func (m *PostGoalResponse) Reset()

func (*PostGoalResponse) String

func (m *PostGoalResponse) String() string

func (*PostGoalResponse) XXX_DiscardUnknown

func (m *PostGoalResponse) XXX_DiscardUnknown()

func (*PostGoalResponse) XXX_Marshal

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

func (*PostGoalResponse) XXX_Merge

func (m *PostGoalResponse) XXX_Merge(src proto.Message)

func (*PostGoalResponse) XXX_Size

func (m *PostGoalResponse) XXX_Size() int

func (*PostGoalResponse) XXX_Unmarshal

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

type PutGoalRequest

type PutGoalRequest struct {
	Id                   string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Creator              string               `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	Participants         []string             `protobuf:"bytes,3,rep,name=participants,proto3" json:"participants,omitempty"`
	Likes                []string             `protobuf:"bytes,4,rep,name=likes,proto3" json:"likes,omitempty"`
	Watchers             []string             `protobuf:"bytes,5,rep,name=watchers,proto3" json:"watchers,omitempty"`
	Aim                  string               `protobuf:"bytes,6,opt,name=aim,proto3" json:"aim,omitempty"`
	Reason               string               `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"`
	Details              string               `protobuf:"bytes,8,opt,name=details,proto3" json:"details,omitempty"`
	Type                 string               `protobuf:"bytes,9,opt,name=type,proto3" json:"type,omitempty"`
	Inspiration          string               `protobuf:"bytes,10,opt,name=inspiration,proto3" json:"inspiration,omitempty"`
	Tags                 []string             `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"`
	SimilarGoals         []string             `protobuf:"bytes,12,rep,name=similarGoals,proto3" json:"similarGoals,omitempty"`
	IsAchieved           bool                 `protobuf:"varint,13,opt,name=isAchieved,proto3" json:"isAchieved,omitempty"`
	IsPrivate            bool                 `protobuf:"varint,14,opt,name=isPrivate,proto3" json:"isPrivate,omitempty"`
	Journey              *Journey             `protobuf:"bytes,15,opt,name=journey,proto3" json:"journey,omitempty"`
	Time                 *timestamp.Timestamp `protobuf:"bytes,16,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*PutGoalRequest) Descriptor

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

func (*PutGoalRequest) GetAim

func (m *PutGoalRequest) GetAim() string

func (*PutGoalRequest) GetCreator

func (m *PutGoalRequest) GetCreator() string

func (*PutGoalRequest) GetDetails

func (m *PutGoalRequest) GetDetails() string

func (*PutGoalRequest) GetId

func (m *PutGoalRequest) GetId() string

func (*PutGoalRequest) GetInspiration

func (m *PutGoalRequest) GetInspiration() string

func (*PutGoalRequest) GetIsAchieved

func (m *PutGoalRequest) GetIsAchieved() bool

func (*PutGoalRequest) GetIsPrivate

func (m *PutGoalRequest) GetIsPrivate() bool

func (*PutGoalRequest) GetJourney

func (m *PutGoalRequest) GetJourney() *Journey

func (*PutGoalRequest) GetLikes

func (m *PutGoalRequest) GetLikes() []string

func (*PutGoalRequest) GetParticipants

func (m *PutGoalRequest) GetParticipants() []string

func (*PutGoalRequest) GetReason

func (m *PutGoalRequest) GetReason() string

func (*PutGoalRequest) GetSimilarGoals

func (m *PutGoalRequest) GetSimilarGoals() []string

func (*PutGoalRequest) GetTags

func (m *PutGoalRequest) GetTags() []string

func (*PutGoalRequest) GetTime

func (m *PutGoalRequest) GetTime() *timestamp.Timestamp

func (*PutGoalRequest) GetType

func (m *PutGoalRequest) GetType() string

func (*PutGoalRequest) GetWatchers

func (m *PutGoalRequest) GetWatchers() []string

func (*PutGoalRequest) ProtoMessage

func (*PutGoalRequest) ProtoMessage()

func (*PutGoalRequest) Reset

func (m *PutGoalRequest) Reset()

func (*PutGoalRequest) String

func (m *PutGoalRequest) String() string

func (*PutGoalRequest) XXX_DiscardUnknown

func (m *PutGoalRequest) XXX_DiscardUnknown()

func (*PutGoalRequest) XXX_Marshal

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

func (*PutGoalRequest) XXX_Merge

func (m *PutGoalRequest) XXX_Merge(src proto.Message)

func (*PutGoalRequest) XXX_Size

func (m *PutGoalRequest) XXX_Size() int

func (*PutGoalRequest) XXX_Unmarshal

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

type PutGoalResponse

type PutGoalResponse struct {
	Goal                 string   `protobuf:"bytes,1,opt,name=goal,proto3" json:"goal,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PutGoalResponse) Descriptor

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

func (*PutGoalResponse) GetGoal

func (m *PutGoalResponse) GetGoal() string

func (*PutGoalResponse) ProtoMessage

func (*PutGoalResponse) ProtoMessage()

func (*PutGoalResponse) Reset

func (m *PutGoalResponse) Reset()

func (*PutGoalResponse) String

func (m *PutGoalResponse) String() string

func (*PutGoalResponse) XXX_DiscardUnknown

func (m *PutGoalResponse) XXX_DiscardUnknown()

func (*PutGoalResponse) XXX_Marshal

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

func (*PutGoalResponse) XXX_Merge

func (m *PutGoalResponse) XXX_Merge(src proto.Message)

func (*PutGoalResponse) XXX_Size

func (m *PutGoalResponse) XXX_Size() int

func (*PutGoalResponse) XXX_Unmarshal

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

type UnimplementedGoalServiceServer

type UnimplementedGoalServiceServer struct {
}

UnimplementedGoalServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedGoalServiceServer) DeleteGoal

func (*UnimplementedGoalServiceServer) GetGoal

func (*UnimplementedGoalServiceServer) GetMultipleGoals

func (*UnimplementedGoalServiceServer) PostGoal

func (*UnimplementedGoalServiceServer) PutGoal

Jump to

Keyboard shortcuts

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