apiv1alpha1

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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) UnmarshalJSON deprecated

func (x *AccessType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

Jump to

Keyboard shortcuts

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