Documentation ¶
Index ¶
- Variables
- type AccessType
- func (AccessType) Descriptor() protoreflect.EnumDescriptor
- func (x AccessType) Enum() *AccessType
- func (AccessType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccessType) Number() protoreflect.EnumNumber
- func (x AccessType) String() string
- func (AccessType) Type() protoreflect.EnumType
- func (x *AccessType) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AccessType_name = map[int32]string{ 0: "ACCESS_TYPE_UNSPECIFIED", 1: "ACCESS_TYPE_READ", 2: "ACCESS_TYPE_WRITE", } AccessType_value = map[string]int32{ "ACCESS_TYPE_UNSPECIFIED": 0, "ACCESS_TYPE_READ": 1, "ACCESS_TYPE_WRITE": 2, } )
Enum value maps for AccessType.
View Source
var ( // access_type specifies the AccessType of the method. // // optional buf.alpha.api.v1alpha1.AccessType access_type = 70001; E_AccessType = &file_buf_alpha_api_v1alpha1_api_proto_extTypes[0] )
Extension fields to descriptorpb.MethodOptions.
View Source
var File_buf_alpha_api_v1alpha1_api_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessType ¶
type AccessType int32
AccessType is the access type.
const ( AccessType_ACCESS_TYPE_UNSPECIFIED AccessType = 0 AccessType_ACCESS_TYPE_READ AccessType = 1 AccessType_ACCESS_TYPE_WRITE AccessType = 2 )
func (AccessType) Descriptor ¶
func (AccessType) Descriptor() protoreflect.EnumDescriptor
func (AccessType) Enum ¶
func (x AccessType) Enum() *AccessType
func (AccessType) EnumDescriptor
deprecated
func (AccessType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccessType.Descriptor instead.
func (AccessType) Number ¶
func (x AccessType) Number() protoreflect.EnumNumber
func (AccessType) String ¶
func (x AccessType) String() string
func (AccessType) Type ¶
func (AccessType) Type() protoreflect.EnumType
func (*AccessType) UnmarshalJSON
deprecated
func (x *AccessType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
Click to show internal directories.
Click to hide internal directories.