double

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/double/simple.proto

Index

Constants

This section is empty.

Variables

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

Enum value maps for Example.

View Source
var (
	Example2_name = map[int32]string{
		0: "example2Bar0",
		2: "example2Bar2",
		3: "example2BarEmpty",
		4: "example2Bar4",
		5: "example2Bar5",
		6: "example2Bar6",
		7: "example2Bar7",
		8: "example2Bar8",
		9: "example2Bar9",
	}
	Example2_value = map[string]int32{
		"example2Bar0":     0,
		"example2Bar2":     2,
		"example2BarEmpty": 3,
		"example2Bar4":     4,
		"example2Bar5":     5,
		"example2Bar6":     6,
		"example2Bar7":     7,
		"example2Bar8":     8,
		"example2Bar9":     9,
	}
)

Enum value maps for Example2.

View Source
var (
	Example3_name = map[int32]string{
		0: "example3Bar0",
		1: "example3Bar1",
		2: "example3Bar2",
		4: "example3Bar4",
		5: "example3Bar5",
		6: "example3Bar6",
		7: "example3Bar7",
		8: "example3Bar8",
		9: "example3Bar9",
	}
	Example3_value = map[string]int32{
		"example3Bar0": 0,
		"example3Bar1": 1,
		"example3Bar2": 2,
		"example3Bar4": 4,
		"example3Bar5": 5,
		"example3Bar6": 6,
		"example3Bar7": 7,
		"example3Bar8": 8,
		"example3Bar9": 9,
	}
)

Enum value maps for Example3.

View Source
var File_tests_double_simple_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Example

type Example int32
const (
	Example_exampleBar0     Example = 0
	Example_exampleBar2     Example = 2
	Example_exampleBarEmpty 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
)

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

type Example2

type Example2 int32
const (
	Example2_example2Bar0     Example2 = 0
	Example2_example2Bar2     Example2 = 2
	Example2_example2BarEmpty Example2 = 3
	Example2_example2Bar4     Example2 = 4
	Example2_example2Bar5     Example2 = 5
	Example2_example2Bar6     Example2 = 6
	Example2_example2Bar7     Example2 = 7
	Example2_example2Bar8     Example2 = 8
	Example2_example2Bar9     Example2 = 9
)

func (Example2) Descriptor

func (Example2) Descriptor() protoreflect.EnumDescriptor

func (Example2) Enum

func (x Example2) Enum() *Example2

func (Example2) EnumDescriptor deprecated

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

Deprecated: Use Example2.Descriptor instead.

func (Example2) Number

func (x Example2) Number() protoreflect.EnumNumber

func (Example2) String

func (x Example2) String() string

func (Example2) Type

type Example3

type Example3 int32
const (
	Example3_example3Bar0 Example3 = 0
	Example3_example3Bar1 Example3 = 1
	Example3_example3Bar2 Example3 = 2
	Example3_example3Bar4 Example3 = 4
	Example3_example3Bar5 Example3 = 5
	Example3_example3Bar6 Example3 = 6
	Example3_example3Bar7 Example3 = 7
	Example3_example3Bar8 Example3 = 8
	Example3_example3Bar9 Example3 = 9
)

func StringToExample3

func StringToExample3(s string) (Example3, bool)

func (Example3) Descriptor

func (Example3) Descriptor() protoreflect.EnumDescriptor

func (Example3) Enum

func (x Example3) Enum() *Example3

func (Example3) EnumDescriptor deprecated

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

Deprecated: Use Example3.Descriptor instead.

func (Example3) Number

func (x Example3) Number() protoreflect.EnumNumber

func (Example3) String

func (x Example3) String() string

func (Example3) StringVal

func (i Example3) StringVal() string

func (Example3) Type

Jump to

Keyboard shortcuts

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