pb

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Employees_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "go_bludgeon_employees.Employees",
	HandlerType: (*EmployeesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "employee_create",
			Handler:    _Employees_EmployeeCreate_Handler,
		},
		{
			MethodName: "employee_read",
			Handler:    _Employees_EmployeeRead_Handler,
		},
		{
			MethodName: "employees_read",
			Handler:    _Employees_EmployeesRead_Handler,
		},
		{
			MethodName: "employee_update",
			Handler:    _Employees_EmployeeUpdate_Handler,
		},
		{
			MethodName: "employee_delete",
			Handler:    _Employees_EmployeeDelete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "employees.proto",
}

Employees_ServiceDesc is the grpc.ServiceDesc for Employees service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_employees_proto protoreflect.FileDescriptor

Functions

func FromEmployeeSearch

func FromEmployeeSearch(e *EmployeeSearch) *data.EmployeeSearch

func RegisterEmployeesServer

func RegisterEmployeesServer(s grpc.ServiceRegistrar, srv EmployeesServer)

func ToEmployee

func ToEmployee(e *Employee) *data.Employee

func ToEmployeePartial

func ToEmployeePartial(e *EmployeePartial) *data.EmployeePartial

func ToEmployees

func ToEmployees(e []*Employee) []*data.Employee

Types

type Bytes

type Bytes struct {

	// bytes describes the payload
	Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

Bytes makes it easier to provide

func (*Bytes) Descriptor deprecated

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

Deprecated: Use Bytes.ProtoReflect.Descriptor instead.

func (*Bytes) GetBytes

func (x *Bytes) GetBytes() []byte

func (*Bytes) ProtoMessage

func (*Bytes) ProtoMessage()

func (*Bytes) ProtoReflect

func (x *Bytes) ProtoReflect() protoreflect.Message

func (*Bytes) Reset

func (x *Bytes) Reset()

func (*Bytes) String

func (x *Bytes) String() string

type Employee

type Employee struct {

	// id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// first_name
	FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	// last_name
	LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	// email_address
	EmailAddress string `protobuf:"bytes,4,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
	// last_udpated
	LastUdpated int64 `protobuf:"varint,5,opt,name=last_udpated,json=lastUdpated,proto3" json:"last_udpated,omitempty"`
	// last_updated_by
	LastUpdatedBy string `protobuf:"bytes,6,opt,name=last_updated_by,json=lastUpdatedBy,proto3" json:"last_updated_by,omitempty"`
	// version
	Version int32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Employee

func FromEmployee

func FromEmployee(e *data.Employee) *Employee

func FromEmployees

func FromEmployees(e []*data.Employee) []*Employee

func (*Employee) Descriptor deprecated

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

Deprecated: Use Employee.ProtoReflect.Descriptor instead.

func (*Employee) GetEmailAddress

func (x *Employee) GetEmailAddress() string

func (*Employee) GetFirstName

func (x *Employee) GetFirstName() string

func (*Employee) GetId

func (x *Employee) GetId() string

func (*Employee) GetLastName

func (x *Employee) GetLastName() string

func (*Employee) GetLastUdpated

func (x *Employee) GetLastUdpated() int64

func (*Employee) GetLastUpdatedBy

func (x *Employee) GetLastUpdatedBy() string

func (*Employee) GetVersion

func (x *Employee) GetVersion() int32

func (*Employee) ProtoMessage

func (*Employee) ProtoMessage()

func (*Employee) ProtoReflect

func (x *Employee) ProtoReflect() protoreflect.Message

func (*Employee) Reset

func (x *Employee) Reset()

func (*Employee) String

func (x *Employee) String() string

type EmployeeCreateRequest

type EmployeeCreateRequest struct {

	// employee_partial
	EmployeePartial *EmployeePartial `protobuf:"bytes,1,opt,name=employee_partial,json=employeePartial,proto3" json:"employee_partial,omitempty"`
	// contains filtered or unexported fields
}

EmployeeCreateRequest

func (*EmployeeCreateRequest) Descriptor deprecated

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

Deprecated: Use EmployeeCreateRequest.ProtoReflect.Descriptor instead.

func (*EmployeeCreateRequest) GetEmployeePartial

func (x *EmployeeCreateRequest) GetEmployeePartial() *EmployeePartial

func (*EmployeeCreateRequest) ProtoMessage

func (*EmployeeCreateRequest) ProtoMessage()

func (*EmployeeCreateRequest) ProtoReflect

func (x *EmployeeCreateRequest) ProtoReflect() protoreflect.Message

func (*EmployeeCreateRequest) Reset

func (x *EmployeeCreateRequest) Reset()

func (*EmployeeCreateRequest) String

func (x *EmployeeCreateRequest) String() string

type EmployeeCreateResponse

type EmployeeCreateResponse struct {

	// employee
	Employee *Employee `protobuf:"bytes,1,opt,name=employee,proto3" json:"employee,omitempty"`
	// contains filtered or unexported fields
}

EmployeeCreateResponse

func (*EmployeeCreateResponse) Descriptor deprecated

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

Deprecated: Use EmployeeCreateResponse.ProtoReflect.Descriptor instead.

func (*EmployeeCreateResponse) GetEmployee

func (x *EmployeeCreateResponse) GetEmployee() *Employee

func (*EmployeeCreateResponse) ProtoMessage

func (*EmployeeCreateResponse) ProtoMessage()

func (*EmployeeCreateResponse) ProtoReflect

func (x *EmployeeCreateResponse) ProtoReflect() protoreflect.Message

func (*EmployeeCreateResponse) Reset

func (x *EmployeeCreateResponse) Reset()

func (*EmployeeCreateResponse) String

func (x *EmployeeCreateResponse) String() string

type EmployeeDeleteRequest

type EmployeeDeleteRequest struct {

	// id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

EmployeeDeleteRequest

func (*EmployeeDeleteRequest) Descriptor deprecated

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

Deprecated: Use EmployeeDeleteRequest.ProtoReflect.Descriptor instead.

func (*EmployeeDeleteRequest) GetId

func (x *EmployeeDeleteRequest) GetId() string

func (*EmployeeDeleteRequest) ProtoMessage

func (*EmployeeDeleteRequest) ProtoMessage()

func (*EmployeeDeleteRequest) ProtoReflect

func (x *EmployeeDeleteRequest) ProtoReflect() protoreflect.Message

func (*EmployeeDeleteRequest) Reset

func (x *EmployeeDeleteRequest) Reset()

func (*EmployeeDeleteRequest) String

func (x *EmployeeDeleteRequest) String() string

type EmployeeDeleteResponse

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

EmployeeDeleteResponse

func (*EmployeeDeleteResponse) Descriptor deprecated

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

Deprecated: Use EmployeeDeleteResponse.ProtoReflect.Descriptor instead.

func (*EmployeeDeleteResponse) ProtoMessage

func (*EmployeeDeleteResponse) ProtoMessage()

func (*EmployeeDeleteResponse) ProtoReflect

func (x *EmployeeDeleteResponse) ProtoReflect() protoreflect.Message

func (*EmployeeDeleteResponse) Reset

func (x *EmployeeDeleteResponse) Reset()

func (*EmployeeDeleteResponse) String

func (x *EmployeeDeleteResponse) String() string

type EmployeePartial

type EmployeePartial struct {

	// first_name_oneof
	//
	// Types that are assignable to FirstNameOneof:
	//
	//	*EmployeePartial_FirstName
	FirstNameOneof isEmployeePartial_FirstNameOneof `protobuf_oneof:"first_name_oneof"`
	// last_name_oneof
	//
	// Types that are assignable to LastNameOneof:
	//
	//	*EmployeePartial_LastName
	LastNameOneof isEmployeePartial_LastNameOneof `protobuf_oneof:"last_name_oneof"`
	// email_addressoneof
	//
	// Types that are assignable to EmailAddressOneof:
	//
	//	*EmployeePartial_EmailAddress
	EmailAddressOneof isEmployeePartial_EmailAddressOneof `protobuf_oneof:"email_address_oneof"`
	// contains filtered or unexported fields
}

EmployeePartial

func FromEmployeePartial

func FromEmployeePartial(e *data.EmployeePartial) *EmployeePartial

func (*EmployeePartial) Descriptor deprecated

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

Deprecated: Use EmployeePartial.ProtoReflect.Descriptor instead.

func (*EmployeePartial) GetEmailAddress

func (x *EmployeePartial) GetEmailAddress() string

func (*EmployeePartial) GetEmailAddressOneof

func (m *EmployeePartial) GetEmailAddressOneof() isEmployeePartial_EmailAddressOneof

func (*EmployeePartial) GetFirstName

func (x *EmployeePartial) GetFirstName() string

func (*EmployeePartial) GetFirstNameOneof

func (m *EmployeePartial) GetFirstNameOneof() isEmployeePartial_FirstNameOneof

func (*EmployeePartial) GetLastName

func (x *EmployeePartial) GetLastName() string

func (*EmployeePartial) GetLastNameOneof

func (m *EmployeePartial) GetLastNameOneof() isEmployeePartial_LastNameOneof

func (*EmployeePartial) ProtoMessage

func (*EmployeePartial) ProtoMessage()

func (*EmployeePartial) ProtoReflect

func (x *EmployeePartial) ProtoReflect() protoreflect.Message

func (*EmployeePartial) Reset

func (x *EmployeePartial) Reset()

func (*EmployeePartial) String

func (x *EmployeePartial) String() string

type EmployeePartial_EmailAddress

type EmployeePartial_EmailAddress struct {
	// email_address
	EmailAddress string `protobuf:"bytes,3,opt,name=email_address,json=emailAddress,proto3,oneof"`
}

type EmployeePartial_FirstName

type EmployeePartial_FirstName struct {
	// first_name
	FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3,oneof"`
}

type EmployeePartial_LastName

type EmployeePartial_LastName struct {
	// last_name
	LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3,oneof"`
}

type EmployeeReadRequest

type EmployeeReadRequest struct {

	// id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

EmployeeReadRequest

func (*EmployeeReadRequest) Descriptor deprecated

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

Deprecated: Use EmployeeReadRequest.ProtoReflect.Descriptor instead.

func (*EmployeeReadRequest) GetId

func (x *EmployeeReadRequest) GetId() string

func (*EmployeeReadRequest) ProtoMessage

func (*EmployeeReadRequest) ProtoMessage()

func (*EmployeeReadRequest) ProtoReflect

func (x *EmployeeReadRequest) ProtoReflect() protoreflect.Message

func (*EmployeeReadRequest) Reset

func (x *EmployeeReadRequest) Reset()

func (*EmployeeReadRequest) String

func (x *EmployeeReadRequest) String() string

type EmployeeReadResponse

type EmployeeReadResponse struct {

	// employee
	Employee *Employee `protobuf:"bytes,1,opt,name=employee,proto3" json:"employee,omitempty"`
	// contains filtered or unexported fields
}

EmployeeReadResponse

func (*EmployeeReadResponse) Descriptor deprecated

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

Deprecated: Use EmployeeReadResponse.ProtoReflect.Descriptor instead.

func (*EmployeeReadResponse) GetEmployee

func (x *EmployeeReadResponse) GetEmployee() *Employee

func (*EmployeeReadResponse) ProtoMessage

func (*EmployeeReadResponse) ProtoMessage()

func (*EmployeeReadResponse) ProtoReflect

func (x *EmployeeReadResponse) ProtoReflect() protoreflect.Message

func (*EmployeeReadResponse) Reset

func (x *EmployeeReadResponse) Reset()

func (*EmployeeReadResponse) String

func (x *EmployeeReadResponse) String() string

type EmployeeSearch

type EmployeeSearch struct {

	// ids
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// first_names
	FirstNames []string `protobuf:"bytes,2,rep,name=first_names,json=firstNames,proto3" json:"first_names,omitempty"`
	// first_name_oneof
	//
	// Types that are assignable to FirstNameOneof:
	//
	//	*EmployeeSearch_FirstName
	FirstNameOneof isEmployeeSearch_FirstNameOneof `protobuf_oneof:"first_name_oneof"`
	// last_names
	LastNames []string `protobuf:"bytes,4,rep,name=last_names,json=lastNames,proto3" json:"last_names,omitempty"`
	// last_name_oneof
	//
	// Types that are assignable to LastNameOneof:
	//
	//	*EmployeeSearch_LastName
	LastNameOneof isEmployeeSearch_LastNameOneof `protobuf_oneof:"last_name_oneof"`
	// email_addressoneof
	//
	// Types that are assignable to EmailAddressOneof:
	//
	//	*EmployeeSearch_EmailAddress
	EmailAddressOneof isEmployeeSearch_EmailAddressOneof `protobuf_oneof:"email_address_oneof"`
	// email_addresses
	EmailAddresses []string `protobuf:"bytes,7,rep,name=email_addresses,json=emailAddresses,proto3" json:"email_addresses,omitempty"`
	// contains filtered or unexported fields
}

EmployeeSearch

func ToEmployeeSearch

func ToEmployeeSearch(e *data.EmployeeSearch) *EmployeeSearch

func (*EmployeeSearch) Descriptor deprecated

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

Deprecated: Use EmployeeSearch.ProtoReflect.Descriptor instead.

func (*EmployeeSearch) GetEmailAddress

func (x *EmployeeSearch) GetEmailAddress() string

func (*EmployeeSearch) GetEmailAddressOneof

func (m *EmployeeSearch) GetEmailAddressOneof() isEmployeeSearch_EmailAddressOneof

func (*EmployeeSearch) GetEmailAddresses

func (x *EmployeeSearch) GetEmailAddresses() []string

func (*EmployeeSearch) GetFirstName

func (x *EmployeeSearch) GetFirstName() string

func (*EmployeeSearch) GetFirstNameOneof

func (m *EmployeeSearch) GetFirstNameOneof() isEmployeeSearch_FirstNameOneof

func (*EmployeeSearch) GetFirstNames

func (x *EmployeeSearch) GetFirstNames() []string

func (*EmployeeSearch) GetIds

func (x *EmployeeSearch) GetIds() []string

func (*EmployeeSearch) GetLastName

func (x *EmployeeSearch) GetLastName() string

func (*EmployeeSearch) GetLastNameOneof

func (m *EmployeeSearch) GetLastNameOneof() isEmployeeSearch_LastNameOneof

func (*EmployeeSearch) GetLastNames

func (x *EmployeeSearch) GetLastNames() []string

func (*EmployeeSearch) ProtoMessage

func (*EmployeeSearch) ProtoMessage()

func (*EmployeeSearch) ProtoReflect

func (x *EmployeeSearch) ProtoReflect() protoreflect.Message

func (*EmployeeSearch) Reset

func (x *EmployeeSearch) Reset()

func (*EmployeeSearch) String

func (x *EmployeeSearch) String() string

type EmployeeSearch_EmailAddress

type EmployeeSearch_EmailAddress struct {
	// email_address
	EmailAddress string `protobuf:"bytes,6,opt,name=email_address,json=emailAddress,proto3,oneof"`
}

type EmployeeSearch_FirstName

type EmployeeSearch_FirstName struct {
	// first_name
	FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3,oneof"`
}

type EmployeeSearch_LastName

type EmployeeSearch_LastName struct {
	// last_name
	LastName string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3,oneof"`
}

type EmployeeUpdateRequest

type EmployeeUpdateRequest struct {

	// id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// employee_partial
	EmployeePartial *EmployeePartial `protobuf:"bytes,2,opt,name=employee_partial,json=employeePartial,proto3" json:"employee_partial,omitempty"`
	// contains filtered or unexported fields
}

EmployeeUpdateRequest

func (*EmployeeUpdateRequest) Descriptor deprecated

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

Deprecated: Use EmployeeUpdateRequest.ProtoReflect.Descriptor instead.

func (*EmployeeUpdateRequest) GetEmployeePartial

func (x *EmployeeUpdateRequest) GetEmployeePartial() *EmployeePartial

func (*EmployeeUpdateRequest) GetId

func (x *EmployeeUpdateRequest) GetId() string

func (*EmployeeUpdateRequest) ProtoMessage

func (*EmployeeUpdateRequest) ProtoMessage()

func (*EmployeeUpdateRequest) ProtoReflect

func (x *EmployeeUpdateRequest) ProtoReflect() protoreflect.Message

func (*EmployeeUpdateRequest) Reset

func (x *EmployeeUpdateRequest) Reset()

func (*EmployeeUpdateRequest) String

func (x *EmployeeUpdateRequest) String() string

type EmployeeUpdateResponse

type EmployeeUpdateResponse struct {

	// employee
	Employee *Employee `protobuf:"bytes,1,opt,name=employee,proto3" json:"employee,omitempty"`
	// contains filtered or unexported fields
}

EmployeeUpdateResponse

func (*EmployeeUpdateResponse) Descriptor deprecated

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

Deprecated: Use EmployeeUpdateResponse.ProtoReflect.Descriptor instead.

func (*EmployeeUpdateResponse) GetEmployee

func (x *EmployeeUpdateResponse) GetEmployee() *Employee

func (*EmployeeUpdateResponse) ProtoMessage

func (*EmployeeUpdateResponse) ProtoMessage()

func (*EmployeeUpdateResponse) ProtoReflect

func (x *EmployeeUpdateResponse) ProtoReflect() protoreflect.Message

func (*EmployeeUpdateResponse) Reset

func (x *EmployeeUpdateResponse) Reset()

func (*EmployeeUpdateResponse) String

func (x *EmployeeUpdateResponse) String() string

type EmployeesClient

type EmployeesClient interface {
	// employee_create
	EmployeeCreate(ctx context.Context, in *EmployeeCreateRequest, opts ...grpc.CallOption) (*EmployeeCreateResponse, error)
	// employee_read
	EmployeeRead(ctx context.Context, in *EmployeeReadRequest, opts ...grpc.CallOption) (*EmployeeReadResponse, error)
	// employees_read
	EmployeesRead(ctx context.Context, in *EmployeesReadRequest, opts ...grpc.CallOption) (*EmployeesReadResponse, error)
	// employee_update
	EmployeeUpdate(ctx context.Context, in *EmployeeUpdateRequest, opts ...grpc.CallOption) (*EmployeeUpdateResponse, error)
	// employee_delete
	EmployeeDelete(ctx context.Context, in *EmployeeDeleteRequest, opts ...grpc.CallOption) (*EmployeeDeleteResponse, error)
}

EmployeesClient is the client API for Employees service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewEmployeesClient

func NewEmployeesClient(cc grpc.ClientConnInterface) EmployeesClient

type EmployeesReadRequest

type EmployeesReadRequest struct {

	// employee_search
	EmployeeSearch *EmployeeSearch `protobuf:"bytes,1,opt,name=employee_search,json=employeeSearch,proto3" json:"employee_search,omitempty"`
	// contains filtered or unexported fields
}

EmployeesReadRequest

func (*EmployeesReadRequest) Descriptor deprecated

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

Deprecated: Use EmployeesReadRequest.ProtoReflect.Descriptor instead.

func (*EmployeesReadRequest) GetEmployeeSearch

func (x *EmployeesReadRequest) GetEmployeeSearch() *EmployeeSearch

func (*EmployeesReadRequest) ProtoMessage

func (*EmployeesReadRequest) ProtoMessage()

func (*EmployeesReadRequest) ProtoReflect

func (x *EmployeesReadRequest) ProtoReflect() protoreflect.Message

func (*EmployeesReadRequest) Reset

func (x *EmployeesReadRequest) Reset()

func (*EmployeesReadRequest) String

func (x *EmployeesReadRequest) String() string

type EmployeesReadResponse

type EmployeesReadResponse struct {

	// employees
	Employees []*Employee `protobuf:"bytes,1,rep,name=employees,proto3" json:"employees,omitempty"`
	// contains filtered or unexported fields
}

EmployeesReadResponse

func (*EmployeesReadResponse) Descriptor deprecated

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

Deprecated: Use EmployeesReadResponse.ProtoReflect.Descriptor instead.

func (*EmployeesReadResponse) GetEmployees

func (x *EmployeesReadResponse) GetEmployees() []*Employee

func (*EmployeesReadResponse) ProtoMessage

func (*EmployeesReadResponse) ProtoMessage()

func (*EmployeesReadResponse) ProtoReflect

func (x *EmployeesReadResponse) ProtoReflect() protoreflect.Message

func (*EmployeesReadResponse) Reset

func (x *EmployeesReadResponse) Reset()

func (*EmployeesReadResponse) String

func (x *EmployeesReadResponse) String() string

type EmployeesServer

type EmployeesServer interface {
	// employee_create
	EmployeeCreate(context.Context, *EmployeeCreateRequest) (*EmployeeCreateResponse, error)
	// employee_read
	EmployeeRead(context.Context, *EmployeeReadRequest) (*EmployeeReadResponse, error)
	// employees_read
	EmployeesRead(context.Context, *EmployeesReadRequest) (*EmployeesReadResponse, error)
	// employee_update
	EmployeeUpdate(context.Context, *EmployeeUpdateRequest) (*EmployeeUpdateResponse, error)
	// employee_delete
	EmployeeDelete(context.Context, *EmployeeDeleteRequest) (*EmployeeDeleteResponse, error)
	// contains filtered or unexported methods
}

EmployeesServer is the server API for Employees service. All implementations must embed UnimplementedEmployeesServer for forward compatibility

type Error

type Error struct {

	// error
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

Error

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetError

func (x *Error) GetError() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

func (x *Error) ProtoReflect() protoreflect.Message

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type UnimplementedEmployeesServer

type UnimplementedEmployeesServer struct {
}

UnimplementedEmployeesServer must be embedded to have forward compatible implementations.

func (UnimplementedEmployeesServer) EmployeeCreate

func (UnimplementedEmployeesServer) EmployeeDelete

func (UnimplementedEmployeesServer) EmployeeRead

func (UnimplementedEmployeesServer) EmployeeUpdate

func (UnimplementedEmployeesServer) EmployeesRead

type UnsafeEmployeesServer

type UnsafeEmployeesServer interface {
	// contains filtered or unexported methods
}

UnsafeEmployeesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EmployeesServer will result in compilation errors.

type Wrapper

type Wrapper struct {

	// type is a string identifying the type of payload
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// payload describes the payload as protobuf.any
	Payload *anypb.Any `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Wrapper describes a basic data type for conversion of any other data type

func (*Wrapper) Descriptor deprecated

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

Deprecated: Use Wrapper.ProtoReflect.Descriptor instead.

func (*Wrapper) GetPayload

func (x *Wrapper) GetPayload() *anypb.Any

func (*Wrapper) GetType

func (x *Wrapper) GetType() string

func (*Wrapper) ProtoMessage

func (*Wrapper) ProtoMessage()

func (*Wrapper) ProtoReflect

func (x *Wrapper) ProtoReflect() protoreflect.Message

func (*Wrapper) Reset

func (x *Wrapper) Reset()

func (*Wrapper) String

func (x *Wrapper) String() string

Jump to

Keyboard shortcuts

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