Documentation ¶
Index ¶
- Variables
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetTodo() string
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- func (m *CreateRequest) Validate() error
- func (m *CreateRequest) ValidateAll() error
- type CreateRequestMultiError
- type CreateRequestValidationError
- func (e CreateRequestValidationError) Cause() error
- func (e CreateRequestValidationError) Error() string
- func (e CreateRequestValidationError) ErrorName() string
- func (e CreateRequestValidationError) Field() string
- func (e CreateRequestValidationError) Key() bool
- func (e CreateRequestValidationError) Reason() string
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *CreateResponse) GetTodo() string
- func (x *CreateResponse) GetTodoId() string
- func (x *CreateResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (x *CreateResponse) GetUserId() string
- func (*CreateResponse) ProtoMessage()
- func (x *CreateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResponse) Reset()
- func (x *CreateResponse) String() string
- func (m *CreateResponse) Validate() error
- func (m *CreateResponse) ValidateAll() error
- type CreateResponseMultiError
- type CreateResponseValidationError
- func (e CreateResponseValidationError) Cause() error
- func (e CreateResponseValidationError) Error() string
- func (e CreateResponseValidationError) ErrorName() string
- func (e CreateResponseValidationError) Field() string
- func (e CreateResponseValidationError) Key() bool
- func (e CreateResponseValidationError) Reason() string
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetTodoId() string
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- func (m *DeleteRequest) Validate() error
- func (m *DeleteRequest) ValidateAll() error
- type DeleteRequestMultiError
- type DeleteRequestValidationError
- func (e DeleteRequestValidationError) Cause() error
- func (e DeleteRequestValidationError) Error() string
- func (e DeleteRequestValidationError) ErrorName() string
- func (e DeleteRequestValidationError) Field() string
- func (e DeleteRequestValidationError) Key() bool
- func (e DeleteRequestValidationError) Reason() string
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteResponse) ProtoMessage()
- func (x *DeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResponse) Reset()
- func (x *DeleteResponse) String() string
- func (m *DeleteResponse) Validate() error
- func (m *DeleteResponse) ValidateAll() error
- type DeleteResponseMultiError
- type DeleteResponseValidationError
- func (e DeleteResponseValidationError) Cause() error
- func (e DeleteResponseValidationError) Error() string
- func (e DeleteResponseValidationError) ErrorName() string
- func (e DeleteResponseValidationError) Field() string
- func (e DeleteResponseValidationError) Key() bool
- func (e DeleteResponseValidationError) Reason() string
- type ReadAllRequest
- func (*ReadAllRequest) Descriptor() ([]byte, []int)deprecated
- func (*ReadAllRequest) ProtoMessage()
- func (x *ReadAllRequest) ProtoReflect() protoreflect.Message
- func (x *ReadAllRequest) Reset()
- func (x *ReadAllRequest) String() string
- func (m *ReadAllRequest) Validate() error
- func (m *ReadAllRequest) ValidateAll() error
- type ReadAllRequestMultiError
- type ReadAllRequestValidationError
- func (e ReadAllRequestValidationError) Cause() error
- func (e ReadAllRequestValidationError) Error() string
- func (e ReadAllRequestValidationError) ErrorName() string
- func (e ReadAllRequestValidationError) Field() string
- func (e ReadAllRequestValidationError) Key() bool
- func (e ReadAllRequestValidationError) Reason() string
- type ReadAllResponse
- func (*ReadAllResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAllResponse) GetLastIndex() int64
- func (x *ReadAllResponse) GetTodos() []*ReadResponse
- func (*ReadAllResponse) ProtoMessage()
- func (x *ReadAllResponse) ProtoReflect() protoreflect.Message
- func (x *ReadAllResponse) Reset()
- func (x *ReadAllResponse) String() string
- func (m *ReadAllResponse) Validate() error
- func (m *ReadAllResponse) ValidateAll() error
- type ReadAllResponseMultiError
- type ReadAllResponseValidationError
- func (e ReadAllResponseValidationError) Cause() error
- func (e ReadAllResponseValidationError) Error() string
- func (e ReadAllResponseValidationError) ErrorName() string
- func (e ReadAllResponseValidationError) Field() string
- func (e ReadAllResponseValidationError) Key() bool
- func (e ReadAllResponseValidationError) Reason() string
- type ReadRequest
- func (*ReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadRequest) GetTodoId() string
- func (*ReadRequest) ProtoMessage()
- func (x *ReadRequest) ProtoReflect() protoreflect.Message
- func (x *ReadRequest) Reset()
- func (x *ReadRequest) String() string
- func (m *ReadRequest) Validate() error
- func (m *ReadRequest) ValidateAll() error
- type ReadRequestMultiError
- type ReadRequestValidationError
- func (e ReadRequestValidationError) Cause() error
- func (e ReadRequestValidationError) Error() string
- func (e ReadRequestValidationError) ErrorName() string
- func (e ReadRequestValidationError) Field() string
- func (e ReadRequestValidationError) Key() bool
- func (e ReadRequestValidationError) Reason() string
- type ReadResponse
- func (*ReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *ReadResponse) GetTodo() string
- func (x *ReadResponse) GetTodoId() string
- func (x *ReadResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (x *ReadResponse) GetUserId() string
- func (*ReadResponse) ProtoMessage()
- func (x *ReadResponse) ProtoReflect() protoreflect.Message
- func (x *ReadResponse) Reset()
- func (x *ReadResponse) String() string
- func (m *ReadResponse) Validate() error
- func (m *ReadResponse) ValidateAll() error
- type ReadResponseMultiError
- type ReadResponseValidationError
- func (e ReadResponseValidationError) Cause() error
- func (e ReadResponseValidationError) Error() string
- func (e ReadResponseValidationError) ErrorName() string
- func (e ReadResponseValidationError) Field() string
- func (e ReadResponseValidationError) Key() bool
- func (e ReadResponseValidationError) Reason() string
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetTodo() string
- func (x *UpdateRequest) GetTodoId() string
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- func (m *UpdateRequest) Validate() error
- func (m *UpdateRequest) ValidateAll() error
- type UpdateRequestMultiError
- type UpdateRequestValidationError
- func (e UpdateRequestValidationError) Cause() error
- func (e UpdateRequestValidationError) Error() string
- func (e UpdateRequestValidationError) ErrorName() string
- func (e UpdateRequestValidationError) Field() string
- func (e UpdateRequestValidationError) Key() bool
- func (e UpdateRequestValidationError) Reason() string
- type UpdateResponse
- func (*UpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *UpdateResponse) GetTodo() string
- func (x *UpdateResponse) GetTodoId() string
- func (x *UpdateResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (x *UpdateResponse) GetUserId() string
- func (*UpdateResponse) ProtoMessage()
- func (x *UpdateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResponse) Reset()
- func (x *UpdateResponse) String() string
- func (m *UpdateResponse) Validate() error
- func (m *UpdateResponse) ValidateAll() error
- type UpdateResponseMultiError
- type UpdateResponseValidationError
- func (e UpdateResponseValidationError) Cause() error
- func (e UpdateResponseValidationError) Error() string
- func (e UpdateResponseValidationError) ErrorName() string
- func (e UpdateResponseValidationError) Field() string
- func (e UpdateResponseValidationError) Key() bool
- func (e UpdateResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_todoapp_v1_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateRequest ¶
type CreateRequest struct { Todo string `protobuf:"bytes,2,opt,name=todo,proto3" json:"todo,omitempty"` // contains filtered or unexported fields }
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetTodo ¶
func (x *CreateRequest) GetTodo() string
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, the first error encountered is returned, or nil if there are no violations.
func (*CreateRequest) ValidateAll ¶
func (m *CreateRequest) ValidateAll() error
ValidateAll checks the field values on CreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateRequestMultiError, or nil if none found.
type CreateRequestMultiError ¶
type CreateRequestMultiError []error
CreateRequestMultiError is an error wrapping multiple validation errors returned by CreateRequest.ValidateAll() if the designated constraints aren't met.
func (CreateRequestMultiError) AllErrors ¶
func (m CreateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRequestMultiError) Error ¶
func (m CreateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e CreateRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateRequestValidationError) Error ¶
func (e CreateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRequestValidationError) ErrorName ¶
func (e CreateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRequestValidationError) Field ¶
func (e CreateRequestValidationError) Field() string
Field function returns field value.
func (CreateRequestValidationError) Key ¶
func (e CreateRequestValidationError) Key() bool
Key function returns key value.
func (CreateRequestValidationError) Reason ¶
func (e CreateRequestValidationError) Reason() string
Reason function returns reason value.
type CreateResponse ¶
type CreateResponse struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TodoId string `protobuf:"bytes,2,opt,name=todo_id,json=todoId,proto3" json:"todo_id,omitempty"` Todo string `protobuf:"bytes,3,opt,name=todo,proto3" json:"todo,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetCreatedAt ¶
func (x *CreateResponse) GetCreatedAt() *timestamppb.Timestamp
func (*CreateResponse) GetTodo ¶
func (x *CreateResponse) GetTodo() string
func (*CreateResponse) GetTodoId ¶
func (x *CreateResponse) GetTodoId() string
func (*CreateResponse) GetUpdatedAt ¶
func (x *CreateResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*CreateResponse) GetUserId ¶
func (x *CreateResponse) GetUserId() string
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 checks the field values on CreateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateResponse) ValidateAll ¶
func (m *CreateResponse) ValidateAll() error
ValidateAll checks the field values on CreateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateResponseMultiError, or nil if none found.
type CreateResponseMultiError ¶
type CreateResponseMultiError []error
CreateResponseMultiError is an error wrapping multiple validation errors returned by CreateResponse.ValidateAll() if the designated constraints aren't met.
func (CreateResponseMultiError) AllErrors ¶
func (m CreateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateResponseMultiError) Error ¶
func (m CreateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e CreateResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateResponseValidationError) Error ¶
func (e CreateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateResponseValidationError) ErrorName ¶
func (e CreateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateResponseValidationError) Field ¶
func (e CreateResponseValidationError) Field() string
Field function returns field value.
func (CreateResponseValidationError) Key ¶
func (e CreateResponseValidationError) Key() bool
Key function returns key value.
func (CreateResponseValidationError) Reason ¶
func (e CreateResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteRequest ¶
type DeleteRequest struct { TodoId string `protobuf:"bytes,2,opt,name=todo_id,json=todoId,proto3" json:"todo_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetTodoId ¶
func (x *DeleteRequest) GetTodoId() string
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, the first error encountered is returned, or nil if there are no violations.
func (*DeleteRequest) ValidateAll ¶
func (m *DeleteRequest) ValidateAll() error
ValidateAll checks the field values on DeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteRequestMultiError, or nil if none found.
type DeleteRequestMultiError ¶
type DeleteRequestMultiError []error
DeleteRequestMultiError is an error wrapping multiple validation errors returned by DeleteRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteRequestMultiError) AllErrors ¶
func (m DeleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRequestMultiError) Error ¶
func (m DeleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e DeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteRequestValidationError) Error ¶
func (e DeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRequestValidationError) ErrorName ¶
func (e DeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRequestValidationError) Field ¶
func (e DeleteRequestValidationError) Field() string
Field function returns field value.
func (DeleteRequestValidationError) Key ¶
func (e DeleteRequestValidationError) Key() bool
Key function returns key value.
func (DeleteRequestValidationError) Reason ¶
func (e DeleteRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
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 checks the field values on DeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteResponse) ValidateAll ¶
func (m *DeleteResponse) ValidateAll() error
ValidateAll checks the field values on DeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteResponseMultiError, or nil if none found.
type DeleteResponseMultiError ¶
type DeleteResponseMultiError []error
DeleteResponseMultiError is an error wrapping multiple validation errors returned by DeleteResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteResponseMultiError) AllErrors ¶
func (m DeleteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteResponseMultiError) Error ¶
func (m DeleteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e DeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteResponseValidationError) Error ¶
func (e DeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteResponseValidationError) ErrorName ¶
func (e DeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteResponseValidationError) Field ¶
func (e DeleteResponseValidationError) Field() string
Field function returns field value.
func (DeleteResponseValidationError) Key ¶
func (e DeleteResponseValidationError) Key() bool
Key function returns key value.
func (DeleteResponseValidationError) Reason ¶
func (e DeleteResponseValidationError) Reason() string
Reason function returns reason value.
type ReadAllRequest ¶
type ReadAllRequest struct {
// contains filtered or unexported fields
}
func (*ReadAllRequest) Descriptor
deprecated
func (*ReadAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadAllRequest.ProtoReflect.Descriptor instead.
func (*ReadAllRequest) ProtoMessage ¶
func (*ReadAllRequest) ProtoMessage()
func (*ReadAllRequest) ProtoReflect ¶
func (x *ReadAllRequest) ProtoReflect() protoreflect.Message
func (*ReadAllRequest) Reset ¶
func (x *ReadAllRequest) Reset()
func (*ReadAllRequest) String ¶
func (x *ReadAllRequest) String() string
func (*ReadAllRequest) Validate ¶
func (m *ReadAllRequest) Validate() error
Validate checks the field values on ReadAllRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReadAllRequest) ValidateAll ¶
func (m *ReadAllRequest) ValidateAll() error
ValidateAll checks the field values on ReadAllRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReadAllRequestMultiError, or nil if none found.
type ReadAllRequestMultiError ¶
type ReadAllRequestMultiError []error
ReadAllRequestMultiError is an error wrapping multiple validation errors returned by ReadAllRequest.ValidateAll() if the designated constraints aren't met.
func (ReadAllRequestMultiError) AllErrors ¶
func (m ReadAllRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadAllRequestMultiError) Error ¶
func (m ReadAllRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReadAllRequestValidationError ¶
type ReadAllRequestValidationError struct {
// contains filtered or unexported fields
}
ReadAllRequestValidationError is the validation error returned by ReadAllRequest.Validate if the designated constraints aren't met.
func (ReadAllRequestValidationError) Cause ¶
func (e ReadAllRequestValidationError) Cause() error
Cause function returns cause value.
func (ReadAllRequestValidationError) Error ¶
func (e ReadAllRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadAllRequestValidationError) ErrorName ¶
func (e ReadAllRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReadAllRequestValidationError) Field ¶
func (e ReadAllRequestValidationError) Field() string
Field function returns field value.
func (ReadAllRequestValidationError) Key ¶
func (e ReadAllRequestValidationError) Key() bool
Key function returns key value.
func (ReadAllRequestValidationError) Reason ¶
func (e ReadAllRequestValidationError) Reason() string
Reason function returns reason value.
type ReadAllResponse ¶
type ReadAllResponse struct { Todos []*ReadResponse `protobuf:"bytes,1,rep,name=todos,proto3" json:"todos,omitempty"` LastIndex int64 `protobuf:"varint,2,opt,name=last_index,json=lastIndex,proto3" json:"last_index,omitempty"` // contains filtered or unexported fields }
func (*ReadAllResponse) Descriptor
deprecated
func (*ReadAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadAllResponse.ProtoReflect.Descriptor instead.
func (*ReadAllResponse) GetLastIndex ¶
func (x *ReadAllResponse) GetLastIndex() int64
func (*ReadAllResponse) GetTodos ¶
func (x *ReadAllResponse) GetTodos() []*ReadResponse
func (*ReadAllResponse) ProtoMessage ¶
func (*ReadAllResponse) ProtoMessage()
func (*ReadAllResponse) ProtoReflect ¶
func (x *ReadAllResponse) ProtoReflect() protoreflect.Message
func (*ReadAllResponse) Reset ¶
func (x *ReadAllResponse) Reset()
func (*ReadAllResponse) String ¶
func (x *ReadAllResponse) String() string
func (*ReadAllResponse) Validate ¶
func (m *ReadAllResponse) Validate() error
Validate checks the field values on ReadAllResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReadAllResponse) ValidateAll ¶
func (m *ReadAllResponse) ValidateAll() error
ValidateAll checks the field values on ReadAllResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReadAllResponseMultiError, or nil if none found.
type ReadAllResponseMultiError ¶
type ReadAllResponseMultiError []error
ReadAllResponseMultiError is an error wrapping multiple validation errors returned by ReadAllResponse.ValidateAll() if the designated constraints aren't met.
func (ReadAllResponseMultiError) AllErrors ¶
func (m ReadAllResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadAllResponseMultiError) Error ¶
func (m ReadAllResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReadAllResponseValidationError ¶
type ReadAllResponseValidationError struct {
// contains filtered or unexported fields
}
ReadAllResponseValidationError is the validation error returned by ReadAllResponse.Validate if the designated constraints aren't met.
func (ReadAllResponseValidationError) Cause ¶
func (e ReadAllResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadAllResponseValidationError) Error ¶
func (e ReadAllResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadAllResponseValidationError) ErrorName ¶
func (e ReadAllResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadAllResponseValidationError) Field ¶
func (e ReadAllResponseValidationError) Field() string
Field function returns field value.
func (ReadAllResponseValidationError) Key ¶
func (e ReadAllResponseValidationError) Key() bool
Key function returns key value.
func (ReadAllResponseValidationError) Reason ¶
func (e ReadAllResponseValidationError) Reason() string
Reason function returns reason value.
type ReadRequest ¶
type ReadRequest struct { TodoId string `protobuf:"bytes,2,opt,name=todo_id,json=todoId,proto3" json:"todo_id,omitempty"` // contains filtered or unexported fields }
func (*ReadRequest) Descriptor
deprecated
func (*ReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead.
func (*ReadRequest) GetTodoId ¶
func (x *ReadRequest) GetTodoId() string
func (*ReadRequest) ProtoMessage ¶
func (*ReadRequest) ProtoMessage()
func (*ReadRequest) ProtoReflect ¶
func (x *ReadRequest) ProtoReflect() protoreflect.Message
func (*ReadRequest) Reset ¶
func (x *ReadRequest) Reset()
func (*ReadRequest) String ¶
func (x *ReadRequest) String() string
func (*ReadRequest) Validate ¶
func (m *ReadRequest) Validate() error
Validate checks the field values on ReadRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReadRequest) ValidateAll ¶
func (m *ReadRequest) ValidateAll() error
ValidateAll checks the field values on ReadRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReadRequestMultiError, or nil if none found.
type ReadRequestMultiError ¶
type ReadRequestMultiError []error
ReadRequestMultiError is an error wrapping multiple validation errors returned by ReadRequest.ValidateAll() if the designated constraints aren't met.
func (ReadRequestMultiError) AllErrors ¶
func (m ReadRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadRequestMultiError) Error ¶
func (m ReadRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReadRequestValidationError ¶
type ReadRequestValidationError struct {
// contains filtered or unexported fields
}
ReadRequestValidationError is the validation error returned by ReadRequest.Validate if the designated constraints aren't met.
func (ReadRequestValidationError) Cause ¶
func (e ReadRequestValidationError) Cause() error
Cause function returns cause value.
func (ReadRequestValidationError) Error ¶
func (e ReadRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadRequestValidationError) ErrorName ¶
func (e ReadRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReadRequestValidationError) Field ¶
func (e ReadRequestValidationError) Field() string
Field function returns field value.
func (ReadRequestValidationError) Key ¶
func (e ReadRequestValidationError) Key() bool
Key function returns key value.
func (ReadRequestValidationError) Reason ¶
func (e ReadRequestValidationError) Reason() string
Reason function returns reason value.
type ReadResponse ¶
type ReadResponse struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TodoId string `protobuf:"bytes,2,opt,name=todo_id,json=todoId,proto3" json:"todo_id,omitempty"` Todo string `protobuf:"bytes,3,opt,name=todo,proto3" json:"todo,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*ReadResponse) Descriptor
deprecated
func (*ReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead.
func (*ReadResponse) GetCreatedAt ¶
func (x *ReadResponse) GetCreatedAt() *timestamppb.Timestamp
func (*ReadResponse) GetTodo ¶
func (x *ReadResponse) GetTodo() string
func (*ReadResponse) GetTodoId ¶
func (x *ReadResponse) GetTodoId() string
func (*ReadResponse) GetUpdatedAt ¶
func (x *ReadResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*ReadResponse) GetUserId ¶
func (x *ReadResponse) GetUserId() string
func (*ReadResponse) ProtoMessage ¶
func (*ReadResponse) ProtoMessage()
func (*ReadResponse) ProtoReflect ¶
func (x *ReadResponse) ProtoReflect() protoreflect.Message
func (*ReadResponse) Reset ¶
func (x *ReadResponse) Reset()
func (*ReadResponse) String ¶
func (x *ReadResponse) String() string
func (*ReadResponse) Validate ¶
func (m *ReadResponse) Validate() error
Validate checks the field values on ReadResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReadResponse) ValidateAll ¶
func (m *ReadResponse) ValidateAll() error
ValidateAll checks the field values on ReadResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReadResponseMultiError, or nil if none found.
type ReadResponseMultiError ¶
type ReadResponseMultiError []error
ReadResponseMultiError is an error wrapping multiple validation errors returned by ReadResponse.ValidateAll() if the designated constraints aren't met.
func (ReadResponseMultiError) AllErrors ¶
func (m ReadResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadResponseMultiError) Error ¶
func (m ReadResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReadResponseValidationError ¶
type ReadResponseValidationError struct {
// contains filtered or unexported fields
}
ReadResponseValidationError is the validation error returned by ReadResponse.Validate if the designated constraints aren't met.
func (ReadResponseValidationError) Cause ¶
func (e ReadResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadResponseValidationError) Error ¶
func (e ReadResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadResponseValidationError) ErrorName ¶
func (e ReadResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadResponseValidationError) Field ¶
func (e ReadResponseValidationError) Field() string
Field function returns field value.
func (ReadResponseValidationError) Key ¶
func (e ReadResponseValidationError) Key() bool
Key function returns key value.
func (ReadResponseValidationError) Reason ¶
func (e ReadResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateRequest ¶
type UpdateRequest struct { TodoId string `protobuf:"bytes,2,opt,name=todo_id,json=todoId,proto3" json:"todo_id,omitempty"` Todo string `protobuf:"bytes,3,opt,name=todo,proto3" json:"todo,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetTodo ¶
func (x *UpdateRequest) GetTodo() string
func (*UpdateRequest) GetTodoId ¶
func (x *UpdateRequest) GetTodoId() string
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, the first error encountered is returned, or nil if there are no violations.
func (*UpdateRequest) ValidateAll ¶
func (m *UpdateRequest) ValidateAll() error
ValidateAll checks the field values on UpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRequestMultiError, or nil if none found.
type UpdateRequestMultiError ¶
type UpdateRequestMultiError []error
UpdateRequestMultiError is an error wrapping multiple validation errors returned by UpdateRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateRequestMultiError) AllErrors ¶
func (m UpdateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRequestMultiError) Error ¶
func (m UpdateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e UpdateRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateRequestValidationError) Error ¶
func (e UpdateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRequestValidationError) ErrorName ¶
func (e UpdateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRequestValidationError) Field ¶
func (e UpdateRequestValidationError) Field() string
Field function returns field value.
func (UpdateRequestValidationError) Key ¶
func (e UpdateRequestValidationError) Key() bool
Key function returns key value.
func (UpdateRequestValidationError) Reason ¶
func (e UpdateRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateResponse ¶
type UpdateResponse struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TodoId string `protobuf:"bytes,2,opt,name=todo_id,json=todoId,proto3" json:"todo_id,omitempty"` Todo string `protobuf:"bytes,3,opt,name=todo,proto3" json:"todo,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetCreatedAt ¶
func (x *UpdateResponse) GetCreatedAt() *timestamppb.Timestamp
func (*UpdateResponse) GetTodo ¶
func (x *UpdateResponse) GetTodo() string
func (*UpdateResponse) GetTodoId ¶
func (x *UpdateResponse) GetTodoId() string
func (*UpdateResponse) GetUpdatedAt ¶
func (x *UpdateResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*UpdateResponse) GetUserId ¶
func (x *UpdateResponse) GetUserId() string
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 checks the field values on UpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateResponse) ValidateAll ¶
func (m *UpdateResponse) ValidateAll() error
ValidateAll checks the field values on UpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateResponseMultiError, or nil if none found.
type UpdateResponseMultiError ¶
type UpdateResponseMultiError []error
UpdateResponseMultiError is an error wrapping multiple validation errors returned by UpdateResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateResponseMultiError) AllErrors ¶
func (m UpdateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateResponseMultiError) Error ¶
func (m UpdateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e UpdateResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateResponseValidationError) Error ¶
func (e UpdateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateResponseValidationError) ErrorName ¶
func (e UpdateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateResponseValidationError) Field ¶
func (e UpdateResponseValidationError) Field() string
Field function returns field value.
func (UpdateResponseValidationError) Key ¶
func (e UpdateResponseValidationError) Key() bool
Key function returns key value.
func (UpdateResponseValidationError) Reason ¶
func (e UpdateResponseValidationError) Reason() string
Reason function returns reason value.