career

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmploymentTypes_name = map[int32]string{
	0: "Any",
	1: "FullTime",
	2: "PartTime",
	3: "ProjectWork",
	4: "Volunteering",
	5: "Probation",
}
View Source
var EmploymentTypes_value = map[string]int32{
	"Any":          0,
	"FullTime":     1,
	"PartTime":     2,
	"ProjectWork":  3,
	"Volunteering": 4,
	"Probation":    5,
}

Functions

func NewCareerCategoryServiceEndpoints

func NewCareerCategoryServiceEndpoints() []*api.Endpoint

func NewCareerServiceEndpoints

func NewCareerServiceEndpoints() []*api.Endpoint

func RegisterCareerCategoryServiceHandler

func RegisterCareerCategoryServiceHandler(s server.Server, hdlr CareerCategoryServiceHandler, opts ...server.HandlerOption) error

func RegisterCareerServiceHandler

func RegisterCareerServiceHandler(s server.Server, hdlr CareerServiceHandler, opts ...server.HandlerOption) error

Types

type Career

type Career struct {
	Uuid        string          `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"`
	Name        string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"`
	Code        string          `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty" bson:"code"`
	Description string          `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" bson:"description"`
	Body        string          `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty" bson:"body"`
	IsActive    bool            `protobuf:"varint,6,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty" bson:"is_active"`
	SortOrder   int64           `protobuf:"varint,7,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty" bson:"sort_order"`
	Category    string          `protobuf:"bytes,8,opt,name=category,proto3" json:"category,omitempty" bson:"category"`
	City        string          `protobuf:"bytes,9,opt,name=city,proto3" json:"city,omitempty" bson:"city"`
	Object      string          `protobuf:"bytes,10,opt,name=object,proto3" json:"object,omitempty" bson:"object"`
	Employment  EmploymentTypes `` /* 127-byte string literal not displayed */
	Salary      string          `protobuf:"bytes,12,opt,name=salary,proto3" json:"salary,omitempty" bson:"salary"`
	PublishedAt string          `protobuf:"bytes,13,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty" bson:"published_at"`
	CreatedAt   string          `protobuf:"bytes,1001,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at"`
	UpdatedAt   string          `protobuf:"bytes,1002,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" bson:"updated_at"`
}

func (*Career) Descriptor

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

func (*Career) GetBody

func (m *Career) GetBody() string

func (*Career) GetCategory

func (m *Career) GetCategory() string

func (*Career) GetCity

func (m *Career) GetCity() string

func (*Career) GetCode

func (m *Career) GetCode() string

func (*Career) GetCreatedAt

func (m *Career) GetCreatedAt() string

func (*Career) GetDescription

func (m *Career) GetDescription() string

func (*Career) GetEmployment

func (m *Career) GetEmployment() EmploymentTypes

func (*Career) GetIsActive

func (m *Career) GetIsActive() bool

func (*Career) GetName

func (m *Career) GetName() string

func (*Career) GetObject

func (m *Career) GetObject() string

func (*Career) GetPublishedAt

func (m *Career) GetPublishedAt() string

func (*Career) GetSalary

func (m *Career) GetSalary() string

func (*Career) GetSortOrder

func (m *Career) GetSortOrder() int64

func (*Career) GetUpdatedAt

func (m *Career) GetUpdatedAt() string

func (*Career) GetUuid

func (m *Career) GetUuid() string

func (*Career) ProtoMessage

func (*Career) ProtoMessage()

func (*Career) Reset

func (m *Career) Reset()

func (*Career) String

func (m *Career) String() string

func (*Career) Validate

func (m *Career) Validate() error

Validate checks the field values on Career with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Career) XXX_DiscardUnknown

func (m *Career) XXX_DiscardUnknown()

func (*Career) XXX_Marshal

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

func (*Career) XXX_Merge

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

func (*Career) XXX_Size

func (m *Career) XXX_Size() int

func (*Career) XXX_Unmarshal

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

type CareerCategory

type CareerCategory struct {
	Uuid        string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"`
	Code        string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty" bson:"code"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" bson:"description"`
	IsActive    bool   `protobuf:"varint,6,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty" bson:"is_active"`
	SortOrder   int64  `protobuf:"varint,7,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty" bson:"sort_order"`
	CreatedAt   string `protobuf:"bytes,1001,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at"`
	UpdatedAt   string `protobuf:"bytes,1002,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" bson:"updated_at"`
}

func (*CareerCategory) Descriptor

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

func (*CareerCategory) GetCode

func (m *CareerCategory) GetCode() string

func (*CareerCategory) GetCreatedAt

func (m *CareerCategory) GetCreatedAt() string

func (*CareerCategory) GetDescription

func (m *CareerCategory) GetDescription() string

func (*CareerCategory) GetIsActive

func (m *CareerCategory) GetIsActive() bool

func (*CareerCategory) GetName

func (m *CareerCategory) GetName() string

func (*CareerCategory) GetSortOrder

func (m *CareerCategory) GetSortOrder() int64

func (*CareerCategory) GetUpdatedAt

func (m *CareerCategory) GetUpdatedAt() string

func (*CareerCategory) GetUuid

func (m *CareerCategory) GetUuid() string

func (*CareerCategory) ProtoMessage

func (*CareerCategory) ProtoMessage()

func (*CareerCategory) Reset

func (m *CareerCategory) Reset()

func (*CareerCategory) String

func (m *CareerCategory) String() string

func (*CareerCategory) Validate

func (m *CareerCategory) Validate() error

Validate checks the field values on CareerCategory with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CareerCategory) XXX_DiscardUnknown

func (m *CareerCategory) XXX_DiscardUnknown()

func (*CareerCategory) XXX_Marshal

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

func (*CareerCategory) XXX_Merge

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

func (*CareerCategory) XXX_Size

func (m *CareerCategory) XXX_Size() int

func (*CareerCategory) XXX_Unmarshal

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

type CareerCategoryValidationError

type CareerCategoryValidationError struct {
	// contains filtered or unexported fields
}

CareerCategoryValidationError is the validation error returned by CareerCategory.Validate if the designated constraints aren't met.

func (CareerCategoryValidationError) Cause

Cause function returns cause value.

func (CareerCategoryValidationError) Error

Error satisfies the builtin error interface

func (CareerCategoryValidationError) ErrorName

func (e CareerCategoryValidationError) ErrorName() string

ErrorName returns error name.

func (CareerCategoryValidationError) Field

Field function returns field value.

func (CareerCategoryValidationError) Key

Key function returns key value.

func (CareerCategoryValidationError) Reason

Reason function returns reason value.

type CareerService

type CareerService interface {
	Create(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error)
	Update(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error)
	Delete(ctx context.Context, in *Request, opts ...client.CallOption) (*empty.Empty, error)
	Paginate(ctx context.Context, in *PaginateRequest, opts ...client.CallOption) (*PaginateResponse, error)
	Get(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error)
}

func NewCareerService

func NewCareerService(name string, c client.Client) CareerService

type CareerValidationError

type CareerValidationError struct {
	// contains filtered or unexported fields
}

CareerValidationError is the validation error returned by Career.Validate if the designated constraints aren't met.

func (CareerValidationError) Cause

func (e CareerValidationError) Cause() error

Cause function returns cause value.

func (CareerValidationError) Error

func (e CareerValidationError) Error() string

Error satisfies the builtin error interface

func (CareerValidationError) ErrorName

func (e CareerValidationError) ErrorName() string

ErrorName returns error name.

func (CareerValidationError) Field

func (e CareerValidationError) Field() string

Field function returns field value.

func (CareerValidationError) Key

func (e CareerValidationError) Key() bool

Key function returns key value.

func (CareerValidationError) Reason

func (e CareerValidationError) Reason() string

Reason function returns reason value.

type CategoryPaginateRequest

type CategoryPaginateRequest struct {
	Skip   int64           `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"`
	Limit  int64           `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Sort   string          `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort,omitempty"`
	Filter *CareerCategory `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
}

func (*CategoryPaginateRequest) Descriptor

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

func (*CategoryPaginateRequest) GetFilter

func (m *CategoryPaginateRequest) GetFilter() *CareerCategory

func (*CategoryPaginateRequest) GetLimit

func (m *CategoryPaginateRequest) GetLimit() int64

func (*CategoryPaginateRequest) GetSkip

func (m *CategoryPaginateRequest) GetSkip() int64

func (*CategoryPaginateRequest) GetSort

func (m *CategoryPaginateRequest) GetSort() string

func (*CategoryPaginateRequest) ProtoMessage

func (*CategoryPaginateRequest) ProtoMessage()

func (*CategoryPaginateRequest) Reset

func (m *CategoryPaginateRequest) Reset()

func (*CategoryPaginateRequest) String

func (m *CategoryPaginateRequest) String() string

func (*CategoryPaginateRequest) Validate

func (m *CategoryPaginateRequest) Validate() error

Validate checks the field values on CategoryPaginateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CategoryPaginateRequest) XXX_DiscardUnknown

func (m *CategoryPaginateRequest) XXX_DiscardUnknown()

func (*CategoryPaginateRequest) XXX_Marshal

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

func (*CategoryPaginateRequest) XXX_Merge

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

func (*CategoryPaginateRequest) XXX_Size

func (m *CategoryPaginateRequest) XXX_Size() int

func (*CategoryPaginateRequest) XXX_Unmarshal

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

type CategoryPaginateRequestValidationError

type CategoryPaginateRequestValidationError struct {
	// contains filtered or unexported fields
}

CategoryPaginateRequestValidationError is the validation error returned by CategoryPaginateRequest.Validate if the designated constraints aren't met.

func (CategoryPaginateRequestValidationError) Cause

Cause function returns cause value.

func (CategoryPaginateRequestValidationError) Error

Error satisfies the builtin error interface

func (CategoryPaginateRequestValidationError) ErrorName

ErrorName returns error name.

func (CategoryPaginateRequestValidationError) Field

Field function returns field value.

func (CategoryPaginateRequestValidationError) Key

Key function returns key value.

func (CategoryPaginateRequestValidationError) Reason

Reason function returns reason value.

type CategoryPaginateResponse

type CategoryPaginateResponse struct {
	Skip  int64             `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"`
	Limit int64             `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Total int64             `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*CareerCategory `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"`
}

func (*CategoryPaginateResponse) Descriptor

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

func (*CategoryPaginateResponse) GetData

func (m *CategoryPaginateResponse) GetData() []*CareerCategory

func (*CategoryPaginateResponse) GetLimit

func (m *CategoryPaginateResponse) GetLimit() int64

func (*CategoryPaginateResponse) GetSkip

func (m *CategoryPaginateResponse) GetSkip() int64

func (*CategoryPaginateResponse) GetTotal

func (m *CategoryPaginateResponse) GetTotal() int64

func (*CategoryPaginateResponse) ProtoMessage

func (*CategoryPaginateResponse) ProtoMessage()

func (*CategoryPaginateResponse) Reset

func (m *CategoryPaginateResponse) Reset()

func (*CategoryPaginateResponse) String

func (m *CategoryPaginateResponse) String() string

func (*CategoryPaginateResponse) Validate

func (m *CategoryPaginateResponse) Validate() error

Validate checks the field values on CategoryPaginateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CategoryPaginateResponse) XXX_DiscardUnknown

func (m *CategoryPaginateResponse) XXX_DiscardUnknown()

func (*CategoryPaginateResponse) XXX_Marshal

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

func (*CategoryPaginateResponse) XXX_Merge

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

func (*CategoryPaginateResponse) XXX_Size

func (m *CategoryPaginateResponse) XXX_Size() int

func (*CategoryPaginateResponse) XXX_Unmarshal

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

type CategoryPaginateResponseValidationError

type CategoryPaginateResponseValidationError struct {
	// contains filtered or unexported fields
}

CategoryPaginateResponseValidationError is the validation error returned by CategoryPaginateResponse.Validate if the designated constraints aren't met.

func (CategoryPaginateResponseValidationError) Cause

Cause function returns cause value.

func (CategoryPaginateResponseValidationError) Error

Error satisfies the builtin error interface

func (CategoryPaginateResponseValidationError) ErrorName

ErrorName returns error name.

func (CategoryPaginateResponseValidationError) Field

Field function returns field value.

func (CategoryPaginateResponseValidationError) Key

Key function returns key value.

func (CategoryPaginateResponseValidationError) Reason

Reason function returns reason value.

type CategoryRequest

type CategoryRequest struct {
	Data *CareerCategory `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*CategoryRequest) Descriptor

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

func (*CategoryRequest) GetData

func (m *CategoryRequest) GetData() *CareerCategory

func (*CategoryRequest) ProtoMessage

func (*CategoryRequest) ProtoMessage()

func (*CategoryRequest) Reset

func (m *CategoryRequest) Reset()

func (*CategoryRequest) String

func (m *CategoryRequest) String() string

func (*CategoryRequest) Validate

func (m *CategoryRequest) Validate() error

Validate checks the field values on CategoryRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CategoryRequest) XXX_DiscardUnknown

func (m *CategoryRequest) XXX_DiscardUnknown()

func (*CategoryRequest) XXX_Marshal

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

func (*CategoryRequest) XXX_Merge

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

func (*CategoryRequest) XXX_Size

func (m *CategoryRequest) XXX_Size() int

func (*CategoryRequest) XXX_Unmarshal

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

type CategoryRequestValidationError

type CategoryRequestValidationError struct {
	// contains filtered or unexported fields
}

CategoryRequestValidationError is the validation error returned by CategoryRequest.Validate if the designated constraints aren't met.

func (CategoryRequestValidationError) Cause

Cause function returns cause value.

func (CategoryRequestValidationError) Error

Error satisfies the builtin error interface

func (CategoryRequestValidationError) ErrorName

func (e CategoryRequestValidationError) ErrorName() string

ErrorName returns error name.

func (CategoryRequestValidationError) Field

Field function returns field value.

func (CategoryRequestValidationError) Key

Key function returns key value.

func (CategoryRequestValidationError) Reason

Reason function returns reason value.

type CategoryResponse

type CategoryResponse struct {
	Data *CareerCategory `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*CategoryResponse) Descriptor

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

func (*CategoryResponse) GetData

func (m *CategoryResponse) GetData() *CareerCategory

func (*CategoryResponse) ProtoMessage

func (*CategoryResponse) ProtoMessage()

func (*CategoryResponse) Reset

func (m *CategoryResponse) Reset()

func (*CategoryResponse) String

func (m *CategoryResponse) String() string

func (*CategoryResponse) Validate

func (m *CategoryResponse) Validate() error

Validate checks the field values on CategoryResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CategoryResponse) XXX_DiscardUnknown

func (m *CategoryResponse) XXX_DiscardUnknown()

func (*CategoryResponse) XXX_Marshal

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

func (*CategoryResponse) XXX_Merge

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

func (*CategoryResponse) XXX_Size

func (m *CategoryResponse) XXX_Size() int

func (*CategoryResponse) XXX_Unmarshal

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

type CategoryResponseValidationError

type CategoryResponseValidationError struct {
	// contains filtered or unexported fields
}

CategoryResponseValidationError is the validation error returned by CategoryResponse.Validate if the designated constraints aren't met.

func (CategoryResponseValidationError) Cause

Cause function returns cause value.

func (CategoryResponseValidationError) Error

Error satisfies the builtin error interface

func (CategoryResponseValidationError) ErrorName

ErrorName returns error name.

func (CategoryResponseValidationError) Field

Field function returns field value.

func (CategoryResponseValidationError) Key

Key function returns key value.

func (CategoryResponseValidationError) Reason

Reason function returns reason value.

type EmploymentTypes

type EmploymentTypes int32
const (
	EmploymentTypes_Any          EmploymentTypes = 0
	EmploymentTypes_FullTime     EmploymentTypes = 1
	EmploymentTypes_PartTime     EmploymentTypes = 2
	EmploymentTypes_ProjectWork  EmploymentTypes = 3
	EmploymentTypes_Volunteering EmploymentTypes = 4
	EmploymentTypes_Probation    EmploymentTypes = 5
)

func (EmploymentTypes) EnumDescriptor

func (EmploymentTypes) EnumDescriptor() ([]byte, []int)

func (EmploymentTypes) String

func (x EmploymentTypes) String() string

type PaginateRequest

type PaginateRequest struct {
	Skip   int64   `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"`
	Limit  int64   `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Sort   string  `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort,omitempty"`
	Filter *Career `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
}

func (*PaginateRequest) Descriptor

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

func (*PaginateRequest) GetFilter

func (m *PaginateRequest) GetFilter() *Career

func (*PaginateRequest) GetLimit

func (m *PaginateRequest) GetLimit() int64

func (*PaginateRequest) GetSkip

func (m *PaginateRequest) GetSkip() int64

func (*PaginateRequest) GetSort

func (m *PaginateRequest) GetSort() string

func (*PaginateRequest) ProtoMessage

func (*PaginateRequest) ProtoMessage()

func (*PaginateRequest) Reset

func (m *PaginateRequest) Reset()

func (*PaginateRequest) String

func (m *PaginateRequest) String() string

func (*PaginateRequest) Validate

func (m *PaginateRequest) Validate() error

Validate checks the field values on PaginateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PaginateRequest) XXX_DiscardUnknown

func (m *PaginateRequest) XXX_DiscardUnknown()

func (*PaginateRequest) XXX_Marshal

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

func (*PaginateRequest) XXX_Merge

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

func (*PaginateRequest) XXX_Size

func (m *PaginateRequest) XXX_Size() int

func (*PaginateRequest) XXX_Unmarshal

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

type PaginateRequestValidationError

type PaginateRequestValidationError struct {
	// contains filtered or unexported fields
}

PaginateRequestValidationError is the validation error returned by PaginateRequest.Validate if the designated constraints aren't met.

func (PaginateRequestValidationError) Cause

Cause function returns cause value.

func (PaginateRequestValidationError) Error

Error satisfies the builtin error interface

func (PaginateRequestValidationError) ErrorName

func (e PaginateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PaginateRequestValidationError) Field

Field function returns field value.

func (PaginateRequestValidationError) Key

Key function returns key value.

func (PaginateRequestValidationError) Reason

Reason function returns reason value.

type PaginateResponse

type PaginateResponse struct {
	Skip  int64     `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"`
	Limit int64     `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Total int64     `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*Career `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"`
}

func (*PaginateResponse) Descriptor

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

func (*PaginateResponse) GetData

func (m *PaginateResponse) GetData() []*Career

func (*PaginateResponse) GetLimit

func (m *PaginateResponse) GetLimit() int64

func (*PaginateResponse) GetSkip

func (m *PaginateResponse) GetSkip() int64

func (*PaginateResponse) GetTotal

func (m *PaginateResponse) GetTotal() int64

func (*PaginateResponse) ProtoMessage

func (*PaginateResponse) ProtoMessage()

func (*PaginateResponse) Reset

func (m *PaginateResponse) Reset()

func (*PaginateResponse) String

func (m *PaginateResponse) String() string

func (*PaginateResponse) Validate

func (m *PaginateResponse) Validate() error

Validate checks the field values on PaginateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PaginateResponse) XXX_DiscardUnknown

func (m *PaginateResponse) XXX_DiscardUnknown()

func (*PaginateResponse) XXX_Marshal

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

func (*PaginateResponse) XXX_Merge

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

func (*PaginateResponse) XXX_Size

func (m *PaginateResponse) XXX_Size() int

func (*PaginateResponse) XXX_Unmarshal

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

type PaginateResponseValidationError

type PaginateResponseValidationError struct {
	// contains filtered or unexported fields
}

PaginateResponseValidationError is the validation error returned by PaginateResponse.Validate if the designated constraints aren't met.

func (PaginateResponseValidationError) Cause

Cause function returns cause value.

func (PaginateResponseValidationError) Error

Error satisfies the builtin error interface

func (PaginateResponseValidationError) ErrorName

ErrorName returns error name.

func (PaginateResponseValidationError) Field

Field function returns field value.

func (PaginateResponseValidationError) Key

Key function returns key value.

func (PaginateResponseValidationError) Reason

Reason function returns reason value.

type Request

type Request struct {
	Data *Career `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*Request) Descriptor

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

func (*Request) GetData

func (m *Request) GetData() *Career

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

func (*Request) Validate

func (m *Request) Validate() error

Validate checks the field values on Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

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

func (*Request) XXX_Merge

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

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

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

type RequestValidationError

type RequestValidationError struct {
	// contains filtered or unexported fields
}

RequestValidationError is the validation error returned by Request.Validate if the designated constraints aren't met.

func (RequestValidationError) Cause

func (e RequestValidationError) Cause() error

Cause function returns cause value.

func (RequestValidationError) Error

func (e RequestValidationError) Error() string

Error satisfies the builtin error interface

func (RequestValidationError) ErrorName

func (e RequestValidationError) ErrorName() string

ErrorName returns error name.

func (RequestValidationError) Field

func (e RequestValidationError) Field() string

Field function returns field value.

func (RequestValidationError) Key

func (e RequestValidationError) Key() bool

Key function returns key value.

func (RequestValidationError) Reason

func (e RequestValidationError) Reason() string

Reason function returns reason value.

type Response

type Response struct {
	Data *Career `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*Response) Descriptor

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

func (*Response) GetData

func (m *Response) GetData() *Career

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

func (*Response) Validate

func (m *Response) Validate() error

Validate checks the field values on Response with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

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

func (*Response) XXX_Merge

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

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

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

type ResponseValidationError

type ResponseValidationError struct {
	// contains filtered or unexported fields
}

ResponseValidationError is the validation error returned by Response.Validate if the designated constraints aren't met.

func (ResponseValidationError) Cause

func (e ResponseValidationError) Cause() error

Cause function returns cause value.

func (ResponseValidationError) Error

func (e ResponseValidationError) Error() string

Error satisfies the builtin error interface

func (ResponseValidationError) ErrorName

func (e ResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ResponseValidationError) Field

func (e ResponseValidationError) Field() string

Field function returns field value.

func (ResponseValidationError) Key

func (e ResponseValidationError) Key() bool

Key function returns key value.

func (ResponseValidationError) Reason

func (e ResponseValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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