simple

package
v0.14.1-0...-398fc70 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-stringer. DO NOT EDIT. source: tests/simple/simple.proto

Index

Constants

This section is empty.

Variables

View Source
var (
	Example_name = map[int32]string{
		0:  "exampleBar1",
		2:  "exampleBar2",
		3:  "exampleBar3",
		4:  "exampleBar4",
		5:  "exampleBar5",
		6:  "exampleBar6",
		7:  "exampleBar7",
		8:  "exampleBar8",
		9:  "exampleBar9",
		10: "exampleBar10",
	}
	Example_value = map[string]int32{
		"exampleBar1":  0,
		"exampleBar2":  2,
		"exampleBar3":  3,
		"exampleBar4":  4,
		"exampleBar5":  5,
		"exampleBar6":  6,
		"exampleBar7":  7,
		"exampleBar8":  8,
		"exampleBar9":  9,
		"exampleBar10": 10,
	}
)

Enum value maps for Example.

View Source
var File_tests_simple_simple_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Example

type Example int32
const (
	Example_exampleBar1  Example = 0
	Example_exampleBar2  Example = 2
	Example_exampleBar3  Example = 3
	Example_exampleBar4  Example = 4
	Example_exampleBar5  Example = 5
	Example_exampleBar6  Example = 6
	Example_exampleBar7  Example = 7
	Example_exampleBar8  Example = 8
	Example_exampleBar9  Example = 9
	Example_exampleBar10 Example = 10
)

func StringToExample

func StringToExample(s string) (Example, bool)

func (Example) Descriptor

func (Example) Descriptor() protoreflect.EnumDescriptor

func (Example) Enum

func (x Example) Enum() *Example

func (Example) EnumDescriptor deprecated

func (Example) EnumDescriptor() ([]byte, []int)

Deprecated: Use Example.Descriptor instead.

func (Example) Number

func (x Example) Number() protoreflect.EnumNumber

func (Example) String

func (x Example) String() string

func (Example) StringVal

func (i Example) StringVal() string

func (Example) Type

func (Example) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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