Documentation ¶
Index ¶
- Variables
- type UpdateMode
- func (UpdateMode) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateMode) Enum() *UpdateMode
- func (UpdateMode) EnumDescriptor() ([]byte, []int)deprecated
- func (t UpdateMode) Equal(target UpdateMode) bool
- func (t UpdateMode) IsIn(targets ...UpdateMode) bool
- func (t UpdateMode) MarshalJSON() ([]byte, error)
- func (x UpdateMode) Number() protoreflect.EnumNumber
- func (x UpdateMode) String() string
- func (UpdateMode) Type() protoreflect.EnumType
- func (t *UpdateMode) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UpdateMode_name = map[int32]string{ 0: "PUT", 1: "PATCH", } UpdateMode_value = map[string]int32{ "PUT": 0, "PATCH": 1, } )
Enum value maps for UpdateMode.
View Source
var File_request_request_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type UpdateMode ¶
type UpdateMode int32
const ( UpdateMode_PUT UpdateMode = 0 UpdateMode_PATCH UpdateMode = 1 )
func ParseUpdateModeFromString ¶
func ParseUpdateModeFromString(str string) (UpdateMode, error)
ParseUpdateModeFromString Parse UpdateMode from string
func (UpdateMode) Descriptor ¶
func (UpdateMode) Descriptor() protoreflect.EnumDescriptor
func (UpdateMode) Enum ¶
func (x UpdateMode) Enum() *UpdateMode
func (UpdateMode) EnumDescriptor
deprecated
func (UpdateMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateMode.Descriptor instead.
func (UpdateMode) Number ¶
func (x UpdateMode) Number() protoreflect.EnumNumber
func (UpdateMode) String ¶
func (x UpdateMode) String() string
func (UpdateMode) Type ¶
func (UpdateMode) Type() protoreflect.EnumType
func (*UpdateMode) UnmarshalJSON ¶
func (t *UpdateMode) UnmarshalJSON(b []byte) error
UnmarshalJSON todo
Click to show internal directories.
Click to hide internal directories.