userv1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_mkit_service_account_user_v1_user_service_proto protoreflect.FileDescriptor

Functions

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

Types

type CreateRequest

type CreateRequest struct {
	Username  *wrappers.StringValue `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	FirstName *wrappers.StringValue `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName  *wrappers.StringValue `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Email     *wrappers.StringValue `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // Not Working
	// contains filtered or unexported fields
}

func (*CreateRequest) Descriptor deprecated

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

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetEmail

func (x *CreateRequest) GetEmail() *wrappers.StringValue

func (*CreateRequest) GetFirstName

func (x *CreateRequest) GetFirstName() *wrappers.StringValue

func (*CreateRequest) GetLastName

func (x *CreateRequest) GetLastName() *wrappers.StringValue

func (*CreateRequest) GetUsername

func (x *CreateRequest) GetUsername() *wrappers.StringValue

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect

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

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

func (*CreateRequest) Validate

func (m *CreateRequest) Validate() error

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

type CreateRequestValidationError

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

CreateRequestValidationError is the validation error returned by CreateRequest.Validate if the designated constraints aren't met.

func (CreateRequestValidationError) Cause

Cause function returns cause value.

func (CreateRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateRequestValidationError) ErrorName

func (e CreateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (CreateRequestValidationError) Field

Field function returns field value.

func (CreateRequestValidationError) Key

Key function returns key value.

func (CreateRequestValidationError) Reason

Reason function returns reason value.

type CreateResponse

type CreateResponse struct {
	Result *v1.User `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResponse) Descriptor deprecated

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

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) GetResult

func (x *CreateResponse) GetResult() *v1.User

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect

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

func (*CreateResponse) Reset

func (x *CreateResponse) Reset()

func (*CreateResponse) String

func (x *CreateResponse) String() string

func (*CreateResponse) Validate

func (m *CreateResponse) Validate() error

Validate is disabled for CreateResponse. This method will always return nil.

type CreateResponseValidationError

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

CreateResponseValidationError is the validation error returned by CreateResponse.Validate if the designated constraints aren't met.

func (CreateResponseValidationError) Cause

Cause function returns cause value.

func (CreateResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateResponseValidationError) ErrorName

func (e CreateResponseValidationError) ErrorName() string

ErrorName returns error name.

func (CreateResponseValidationError) Field

Field function returns field value.

func (CreateResponseValidationError) Key

Key function returns key value.

func (CreateResponseValidationError) Reason

Reason function returns reason value.

type DeleteRequest

type DeleteRequest struct {
	Id        *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Not Working
	Username  *wrappers.StringValue `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	FirstName *wrappers.StringValue `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName  *wrappers.StringValue `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Email     *wrappers.StringValue `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // Not Working
	// contains filtered or unexported fields
}

func (*DeleteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetEmail

func (x *DeleteRequest) GetEmail() *wrappers.StringValue

func (*DeleteRequest) GetFirstName

func (x *DeleteRequest) GetFirstName() *wrappers.StringValue

func (*DeleteRequest) GetId

func (x *DeleteRequest) GetId() *wrappers.StringValue

func (*DeleteRequest) GetLastName

func (x *DeleteRequest) GetLastName() *wrappers.StringValue

func (*DeleteRequest) GetUsername

func (x *DeleteRequest) GetUsername() *wrappers.StringValue

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

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

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

func (*DeleteRequest) Validate

func (m *DeleteRequest) Validate() error

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

type DeleteRequestValidationError

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

DeleteRequestValidationError is the validation error returned by DeleteRequest.Validate if the designated constraints aren't met.

func (DeleteRequestValidationError) Cause

Cause function returns cause value.

func (DeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteRequestValidationError) ErrorName

func (e DeleteRequestValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRequestValidationError) Field

Field function returns field value.

func (DeleteRequestValidationError) Key

Key function returns key value.

func (DeleteRequestValidationError) Reason

Reason function returns reason value.

type DeleteResponse

type DeleteResponse struct {
	Result *v1.User `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResponse) Descriptor deprecated

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

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) GetResult

func (x *DeleteResponse) GetResult() *v1.User

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

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

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

func (*DeleteResponse) Validate

func (m *DeleteResponse) Validate() error

Validate is disabled for DeleteResponse. This method will always return nil.

type DeleteResponseValidationError

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

DeleteResponseValidationError is the validation error returned by DeleteResponse.Validate if the designated constraints aren't met.

func (DeleteResponseValidationError) Cause

Cause function returns cause value.

func (DeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteResponseValidationError) ErrorName

func (e DeleteResponseValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteResponseValidationError) Field

Field function returns field value.

func (DeleteResponseValidationError) Key

Key function returns key value.

func (DeleteResponseValidationError) Reason

Reason function returns reason value.

type ExistRequest

type ExistRequest struct {
	Id        *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Not Working
	Username  *wrappers.StringValue `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	FirstName *wrappers.StringValue `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName  *wrappers.StringValue `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Email     *wrappers.StringValue `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // Not Working
	// contains filtered or unexported fields
}

FIXME: https://github.com/envoyproxy/protoc-gen-validate/issues/223 with Workaround in .override.go

func (*ExistRequest) Descriptor deprecated

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

Deprecated: Use ExistRequest.ProtoReflect.Descriptor instead.

func (*ExistRequest) GetEmail

func (x *ExistRequest) GetEmail() *wrappers.StringValue

func (*ExistRequest) GetFirstName

func (x *ExistRequest) GetFirstName() *wrappers.StringValue

func (*ExistRequest) GetId

func (x *ExistRequest) GetId() *wrappers.StringValue

func (*ExistRequest) GetLastName

func (x *ExistRequest) GetLastName() *wrappers.StringValue

func (*ExistRequest) GetUsername

func (x *ExistRequest) GetUsername() *wrappers.StringValue

func (*ExistRequest) ProtoMessage

func (*ExistRequest) ProtoMessage()

func (*ExistRequest) ProtoReflect

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

func (*ExistRequest) Reset

func (x *ExistRequest) Reset()

func (*ExistRequest) String

func (x *ExistRequest) String() string

func (*ExistRequest) Validate

func (m *ExistRequest) Validate() error

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

type ExistRequestValidationError

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

ExistRequestValidationError is the validation error returned by ExistRequest.Validate if the designated constraints aren't met.

func (ExistRequestValidationError) Cause

Cause function returns cause value.

func (ExistRequestValidationError) Error

Error satisfies the builtin error interface

func (ExistRequestValidationError) ErrorName

func (e ExistRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ExistRequestValidationError) Field

Field function returns field value.

func (ExistRequestValidationError) Key

Key function returns key value.

func (ExistRequestValidationError) Reason

Reason function returns reason value.

type ExistResponse

type ExistResponse struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*ExistResponse) Descriptor deprecated

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

Deprecated: Use ExistResponse.ProtoReflect.Descriptor instead.

func (*ExistResponse) GetResult

func (x *ExistResponse) GetResult() bool

func (*ExistResponse) ProtoMessage

func (*ExistResponse) ProtoMessage()

func (*ExistResponse) ProtoReflect

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

func (*ExistResponse) Reset

func (x *ExistResponse) Reset()

func (*ExistResponse) String

func (x *ExistResponse) String() string

func (*ExistResponse) Validate

func (m *ExistResponse) Validate() error

Validate is disabled for ExistResponse. This method will always return nil.

type ExistResponseValidationError

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

ExistResponseValidationError is the validation error returned by ExistResponse.Validate if the designated constraints aren't met.

func (ExistResponseValidationError) Cause

Cause function returns cause value.

func (ExistResponseValidationError) Error

Error satisfies the builtin error interface

func (ExistResponseValidationError) ErrorName

func (e ExistResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ExistResponseValidationError) Field

Field function returns field value.

func (ExistResponseValidationError) Key

Key function returns key value.

func (ExistResponseValidationError) Reason

Reason function returns reason value.

type GetRequest

type GetRequest struct {
	Id        *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Not Working
	Username  *wrappers.StringValue `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	FirstName *wrappers.StringValue `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName  *wrappers.StringValue `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Email     *wrappers.StringValue `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // Not Working
	// contains filtered or unexported fields
}

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetEmail

func (x *GetRequest) GetEmail() *wrappers.StringValue

func (*GetRequest) GetFirstName

func (x *GetRequest) GetFirstName() *wrappers.StringValue

func (*GetRequest) GetId

func (x *GetRequest) GetId() *wrappers.StringValue

func (*GetRequest) GetLastName

func (x *GetRequest) GetLastName() *wrappers.StringValue

func (*GetRequest) GetUsername

func (x *GetRequest) GetUsername() *wrappers.StringValue

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

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

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

func (*GetRequest) Validate

func (m *GetRequest) Validate() error

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

type GetRequestValidationError

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

GetRequestValidationError is the validation error returned by GetRequest.Validate if the designated constraints aren't met.

func (GetRequestValidationError) Cause

func (e GetRequestValidationError) Cause() error

Cause function returns cause value.

func (GetRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRequestValidationError) ErrorName

func (e GetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRequestValidationError) Field

Field function returns field value.

func (GetRequestValidationError) Key

Key function returns key value.

func (GetRequestValidationError) Reason

func (e GetRequestValidationError) Reason() string

Reason function returns reason value.

type GetResponse

type GetResponse struct {
	Result *v1.User `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // basic.Error error =2;
	// contains filtered or unexported fields
}

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetResult

func (x *GetResponse) GetResult() *v1.User

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

func (*GetResponse) Validate

func (m *GetResponse) Validate() error

Validate is disabled for GetResponse. This method will always return nil.

type GetResponseValidationError

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

GetResponseValidationError is the validation error returned by GetResponse.Validate if the designated constraints aren't met.

func (GetResponseValidationError) Cause

Cause function returns cause value.

func (GetResponseValidationError) Error

Error satisfies the builtin error interface

func (GetResponseValidationError) ErrorName

func (e GetResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetResponseValidationError) Field

Field function returns field value.

func (GetResponseValidationError) Key

Key function returns key value.

func (GetResponseValidationError) Reason

Reason function returns reason value.

type ListRequest

type ListRequest struct {
	Limit     *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Page      *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	Sort      *wrappers.StringValue `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort,omitempty"`
	Username  *wrappers.StringValue `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	FirstName *wrappers.StringValue `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName  *wrappers.StringValue `protobuf:"bytes,6,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Email     *wrappers.StringValue `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` // Not Working
	// contains filtered or unexported fields
}

func (*ListRequest) Descriptor deprecated

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

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetEmail

func (x *ListRequest) GetEmail() *wrappers.StringValue

func (*ListRequest) GetFirstName

func (x *ListRequest) GetFirstName() *wrappers.StringValue

func (*ListRequest) GetLastName

func (x *ListRequest) GetLastName() *wrappers.StringValue

func (*ListRequest) GetLimit

func (x *ListRequest) GetLimit() *wrappers.UInt32Value

func (*ListRequest) GetPage

func (x *ListRequest) GetPage() *wrappers.UInt32Value

func (*ListRequest) GetSort

func (x *ListRequest) GetSort() *wrappers.StringValue

func (*ListRequest) GetUsername

func (x *ListRequest) GetUsername() *wrappers.StringValue

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

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

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

func (*ListRequest) Validate

func (m *ListRequest) Validate() error

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

type ListRequestValidationError

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

ListRequestValidationError is the validation error returned by ListRequest.Validate if the designated constraints aren't met.

func (ListRequestValidationError) Cause

Cause function returns cause value.

func (ListRequestValidationError) Error

Error satisfies the builtin error interface

func (ListRequestValidationError) ErrorName

func (e ListRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListRequestValidationError) Field

Field function returns field value.

func (ListRequestValidationError) Key

Key function returns key value.

func (ListRequestValidationError) Reason

Reason function returns reason value.

type ListResponse

type ListResponse struct {
	Results []*v1.User `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	Total   uint32     `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResponse) Descriptor deprecated

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

Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.

func (*ListResponse) GetResults

func (x *ListResponse) GetResults() []*v1.User

func (*ListResponse) GetTotal

func (x *ListResponse) GetTotal() uint32

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) ProtoReflect

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

func (*ListResponse) Reset

func (x *ListResponse) Reset()

func (*ListResponse) String

func (x *ListResponse) String() string

func (*ListResponse) Validate

func (m *ListResponse) Validate() error

Validate is disabled for ListResponse. This method will always return nil.

type ListResponseValidationError

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

ListResponseValidationError is the validation error returned by ListResponse.Validate if the designated constraints aren't met.

func (ListResponseValidationError) Cause

Cause function returns cause value.

func (ListResponseValidationError) Error

Error satisfies the builtin error interface

func (ListResponseValidationError) ErrorName

func (e ListResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ListResponseValidationError) Field

Field function returns field value.

func (ListResponseValidationError) Key

Key function returns key value.

func (ListResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) Create

func (UnimplementedUserServiceServer) Delete

func (UnimplementedUserServiceServer) Exist

func (UnimplementedUserServiceServer) Get

func (UnimplementedUserServiceServer) List

func (UnimplementedUserServiceServer) Update

type UnsafeUserServiceServer

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

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

type UpdateRequest

type UpdateRequest struct {
	Id        *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Not Working
	Username  *wrappers.StringValue `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	FirstName *wrappers.StringValue `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName  *wrappers.StringValue `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Email     *wrappers.StringValue `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // Not Working
	// contains filtered or unexported fields
}

func (*UpdateRequest) Descriptor deprecated

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

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetEmail

func (x *UpdateRequest) GetEmail() *wrappers.StringValue

func (*UpdateRequest) GetFirstName

func (x *UpdateRequest) GetFirstName() *wrappers.StringValue

func (*UpdateRequest) GetId

func (x *UpdateRequest) GetId() *wrappers.StringValue

func (*UpdateRequest) GetLastName

func (x *UpdateRequest) GetLastName() *wrappers.StringValue

func (*UpdateRequest) GetUsername

func (x *UpdateRequest) GetUsername() *wrappers.StringValue

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect

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

func (*UpdateRequest) Reset

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String

func (x *UpdateRequest) String() string

func (*UpdateRequest) Validate

func (m *UpdateRequest) Validate() error

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

type UpdateRequestValidationError

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

UpdateRequestValidationError is the validation error returned by UpdateRequest.Validate if the designated constraints aren't met.

func (UpdateRequestValidationError) Cause

Cause function returns cause value.

func (UpdateRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateRequestValidationError) ErrorName

func (e UpdateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateRequestValidationError) Field

Field function returns field value.

func (UpdateRequestValidationError) Key

Key function returns key value.

func (UpdateRequestValidationError) Reason

Reason function returns reason value.

type UpdateResponse

type UpdateResponse struct {
	Result *v1.User `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResponse) Descriptor deprecated

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

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) GetResult

func (x *UpdateResponse) GetResult() *v1.User

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect

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

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

func (*UpdateResponse) Validate

func (m *UpdateResponse) Validate() error

Validate is disabled for UpdateResponse. This method will always return nil.

type UpdateResponseValidationError

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

UpdateResponseValidationError is the validation error returned by UpdateResponse.Validate if the designated constraints aren't met.

func (UpdateResponseValidationError) Cause

Cause function returns cause value.

func (UpdateResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateResponseValidationError) ErrorName

func (e UpdateResponseValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateResponseValidationError) Field

Field function returns field value.

func (UpdateResponseValidationError) Key

Key function returns key value.

func (UpdateResponseValidationError) Reason

Reason function returns reason value.

type UserServiceClient

type UserServiceClient interface {
	Exist(ctx context.Context, in *ExistRequest, opts ...grpc.CallOption) (*ExistResponse, error)
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
	Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
}

UserServiceClient is the client API for UserService 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.

type UserServiceServer

UserServiceServer is the server API for UserService service. All implementations should embed UnimplementedUserServiceServer for forward compatibility

Jump to

Keyboard shortcuts

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