e2e

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-xml-enums. DO NOT EDIT. source: e2e/e2e.proto

Index

Constants

This section is empty.

Variables

View Source
var (
	RootEnum_name = map[int32]string{
		0: "ABC",
		1: "DEF",
		2: "GAH",
	}
	RootEnum_value = map[string]int32{
		"ABC": 0,
		"DEF": 1,
		"GAH": 2,
	}
)

Enum value maps for RootEnum.

View Source
var (
	ScreamingSnakeWithPrefix_name = map[int32]string{
		0: "SCREAMING_SNAKE_WITH_PREFIX_ABC",
		1: "SCREAMING_SNAKE_WITH_PREFIX_DEF",
		2: "SCREAMING_SNAKE_WITH_PREFIX_GAH",
	}
	ScreamingSnakeWithPrefix_value = map[string]int32{
		"SCREAMING_SNAKE_WITH_PREFIX_ABC": 0,
		"SCREAMING_SNAKE_WITH_PREFIX_DEF": 1,
		"SCREAMING_SNAKE_WITH_PREFIX_GAH": 2,
	}
)

Enum value maps for ScreamingSnakeWithPrefix.

View Source
var (
	Nested_Enum_name = map[int32]string{
		0: "ABC",
		1: "DEF",
		2: "GAH",
	}
	Nested_Enum_value = map[string]int32{
		"ABC": 0,
		"DEF": 1,
		"GAH": 2,
	}
)

Enum value maps for Nested_Enum.

View Source
var (
	Deeply_Nested_Enum_name = map[int32]string{
		0: "ABC",
		1: "DEF",
		2: "GAH",
	}
	Deeply_Nested_Enum_value = map[string]int32{
		"ABC": 0,
		"DEF": 1,
		"GAH": 2,
	}
)

Enum value maps for Deeply_Nested_Enum.

View Source
var File_e2e_e2e_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Deeply

type Deeply struct {
	// contains filtered or unexported fields
}

func (*Deeply) Descriptor deprecated

func (*Deeply) Descriptor() ([]byte, []int)

Deprecated: Use Deeply.ProtoReflect.Descriptor instead.

func (*Deeply) ProtoMessage

func (*Deeply) ProtoMessage()

func (*Deeply) ProtoReflect

func (x *Deeply) ProtoReflect() protoreflect.Message

func (*Deeply) Reset

func (x *Deeply) Reset()

func (*Deeply) String

func (x *Deeply) String() string

type Deeply_Nested

type Deeply_Nested struct {
	// contains filtered or unexported fields
}

func (*Deeply_Nested) Descriptor deprecated

func (*Deeply_Nested) Descriptor() ([]byte, []int)

Deprecated: Use Deeply_Nested.ProtoReflect.Descriptor instead.

func (*Deeply_Nested) ProtoMessage

func (*Deeply_Nested) ProtoMessage()

func (*Deeply_Nested) ProtoReflect

func (x *Deeply_Nested) ProtoReflect() protoreflect.Message

func (*Deeply_Nested) Reset

func (x *Deeply_Nested) Reset()

func (*Deeply_Nested) String

func (x *Deeply_Nested) String() string

type Deeply_Nested_Enum

type Deeply_Nested_Enum int32
const (
	Deeply_Nested_ABC Deeply_Nested_Enum = 0
	Deeply_Nested_DEF Deeply_Nested_Enum = 1
	Deeply_Nested_GAH Deeply_Nested_Enum = 2
)

func (Deeply_Nested_Enum) Descriptor

func (Deeply_Nested_Enum) Enum

func (Deeply_Nested_Enum) EnumDescriptor deprecated

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

Deprecated: Use Deeply_Nested_Enum.Descriptor instead.

func (Deeply_Nested_Enum) MarshalXML

func (n Deeply_Nested_Enum) MarshalXML(e *xml.Encoder, start xml.StartElement) error

MarshalXML implements xml.Marshaler

func (Deeply_Nested_Enum) Number

func (Deeply_Nested_Enum) String

func (x Deeply_Nested_Enum) String() string

func (Deeply_Nested_Enum) Type

func (*Deeply_Nested_Enum) UnmarshalXML

func (e *Deeply_Nested_Enum) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

UnmarshalXML implements xml.Unmarshaler

func (*Deeply_Nested_Enum) UnmarshalXMLAttr

func (e *Deeply_Nested_Enum) UnmarshalXMLAttr(attr xml.Attr) error

UnmarshalXMLAttr implements xml.Unmarshaler

type MessageWithAttribute

type MessageWithAttribute struct {

	// @inject_tag: xml:"field,attr"
	Field RootEnum `protobuf:"varint,1,opt,name=field,proto3,enum=RootEnum" json:"field,omitempty" xml:"field,attr"`
	// contains filtered or unexported fields
}

func (*MessageWithAttribute) Descriptor deprecated

func (*MessageWithAttribute) Descriptor() ([]byte, []int)

Deprecated: Use MessageWithAttribute.ProtoReflect.Descriptor instead.

func (*MessageWithAttribute) GetField

func (x *MessageWithAttribute) GetField() RootEnum

func (*MessageWithAttribute) ProtoMessage

func (*MessageWithAttribute) ProtoMessage()

func (*MessageWithAttribute) ProtoReflect

func (x *MessageWithAttribute) ProtoReflect() protoreflect.Message

func (*MessageWithAttribute) Reset

func (x *MessageWithAttribute) Reset()

func (*MessageWithAttribute) String

func (x *MessageWithAttribute) String() string

type MessageWithDeeplyNestedEnum

type MessageWithDeeplyNestedEnum struct {
	Field Deeply_Nested_Enum `protobuf:"varint,1,opt,name=field,proto3,enum=Deeply_Nested_Enum" json:"field,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageWithDeeplyNestedEnum) Descriptor deprecated

func (*MessageWithDeeplyNestedEnum) Descriptor() ([]byte, []int)

Deprecated: Use MessageWithDeeplyNestedEnum.ProtoReflect.Descriptor instead.

func (*MessageWithDeeplyNestedEnum) GetField

func (*MessageWithDeeplyNestedEnum) ProtoMessage

func (*MessageWithDeeplyNestedEnum) ProtoMessage()

func (*MessageWithDeeplyNestedEnum) ProtoReflect

func (*MessageWithDeeplyNestedEnum) Reset

func (x *MessageWithDeeplyNestedEnum) Reset()

func (*MessageWithDeeplyNestedEnum) String

func (x *MessageWithDeeplyNestedEnum) String() string

type MessageWithNestedEnum

type MessageWithNestedEnum struct {
	Field Nested_Enum `protobuf:"varint,1,opt,name=field,proto3,enum=Nested_Enum" json:"field,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageWithNestedEnum) Descriptor deprecated

func (*MessageWithNestedEnum) Descriptor() ([]byte, []int)

Deprecated: Use MessageWithNestedEnum.ProtoReflect.Descriptor instead.

func (*MessageWithNestedEnum) GetField

func (x *MessageWithNestedEnum) GetField() Nested_Enum

func (*MessageWithNestedEnum) ProtoMessage

func (*MessageWithNestedEnum) ProtoMessage()

func (*MessageWithNestedEnum) ProtoReflect

func (x *MessageWithNestedEnum) ProtoReflect() protoreflect.Message

func (*MessageWithNestedEnum) Reset

func (x *MessageWithNestedEnum) Reset()

func (*MessageWithNestedEnum) String

func (x *MessageWithNestedEnum) String() string

type MessageWithRootEnum

type MessageWithRootEnum struct {
	Field RootEnum `protobuf:"varint,1,opt,name=field,proto3,enum=RootEnum" json:"field,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageWithRootEnum) Descriptor deprecated

func (*MessageWithRootEnum) Descriptor() ([]byte, []int)

Deprecated: Use MessageWithRootEnum.ProtoReflect.Descriptor instead.

func (*MessageWithRootEnum) GetField

func (x *MessageWithRootEnum) GetField() RootEnum

func (*MessageWithRootEnum) ProtoMessage

func (*MessageWithRootEnum) ProtoMessage()

func (*MessageWithRootEnum) ProtoReflect

func (x *MessageWithRootEnum) ProtoReflect() protoreflect.Message

func (*MessageWithRootEnum) Reset

func (x *MessageWithRootEnum) Reset()

func (*MessageWithRootEnum) String

func (x *MessageWithRootEnum) String() string

type Nested

type Nested struct {
	// contains filtered or unexported fields
}

func (*Nested) Descriptor deprecated

func (*Nested) Descriptor() ([]byte, []int)

Deprecated: Use Nested.ProtoReflect.Descriptor instead.

func (*Nested) ProtoMessage

func (*Nested) ProtoMessage()

func (*Nested) ProtoReflect

func (x *Nested) ProtoReflect() protoreflect.Message

func (*Nested) Reset

func (x *Nested) Reset()

func (*Nested) String

func (x *Nested) String() string

type Nested_Enum

type Nested_Enum int32
const (
	Nested_ABC Nested_Enum = 0
	Nested_DEF Nested_Enum = 1
	Nested_GAH Nested_Enum = 2
)

func (Nested_Enum) Descriptor

func (Nested_Enum) Enum

func (x Nested_Enum) Enum() *Nested_Enum

func (Nested_Enum) EnumDescriptor deprecated

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

Deprecated: Use Nested_Enum.Descriptor instead.

func (Nested_Enum) MarshalXML

func (n Nested_Enum) MarshalXML(e *xml.Encoder, start xml.StartElement) error

MarshalXML implements xml.Marshaler

func (Nested_Enum) Number

func (x Nested_Enum) Number() protoreflect.EnumNumber

func (Nested_Enum) String

func (x Nested_Enum) String() string

func (Nested_Enum) Type

func (*Nested_Enum) UnmarshalXML

func (e *Nested_Enum) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

UnmarshalXML implements xml.Unmarshaler

func (*Nested_Enum) UnmarshalXMLAttr

func (e *Nested_Enum) UnmarshalXMLAttr(attr xml.Attr) error

UnmarshalXMLAttr implements xml.Unmarshaler

type RootEnum

type RootEnum int32
const (
	RootEnum_ABC RootEnum = 0
	RootEnum_DEF RootEnum = 1
	RootEnum_GAH RootEnum = 2
)

func (RootEnum) Descriptor

func (RootEnum) Descriptor() protoreflect.EnumDescriptor

func (RootEnum) Enum

func (x RootEnum) Enum() *RootEnum

func (RootEnum) EnumDescriptor deprecated

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

Deprecated: Use RootEnum.Descriptor instead.

func (RootEnum) MarshalXML

func (n RootEnum) MarshalXML(e *xml.Encoder, start xml.StartElement) error

MarshalXML implements xml.Marshaler

func (RootEnum) Number

func (x RootEnum) Number() protoreflect.EnumNumber

func (RootEnum) String

func (x RootEnum) String() string

func (RootEnum) Type

func (*RootEnum) UnmarshalXML

func (e *RootEnum) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

UnmarshalXML implements xml.Unmarshaler

func (*RootEnum) UnmarshalXMLAttr

func (e *RootEnum) UnmarshalXMLAttr(attr xml.Attr) error

UnmarshalXMLAttr implements xml.Unmarshaler

type ScreamingSnakeWithPrefix

type ScreamingSnakeWithPrefix int32
const (
	ScreamingSnakeWithPrefix_SCREAMING_SNAKE_WITH_PREFIX_ABC ScreamingSnakeWithPrefix = 0
	ScreamingSnakeWithPrefix_SCREAMING_SNAKE_WITH_PREFIX_DEF ScreamingSnakeWithPrefix = 1
	ScreamingSnakeWithPrefix_SCREAMING_SNAKE_WITH_PREFIX_GAH ScreamingSnakeWithPrefix = 2
)

func (ScreamingSnakeWithPrefix) Descriptor

func (ScreamingSnakeWithPrefix) Enum

func (ScreamingSnakeWithPrefix) EnumDescriptor deprecated

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

Deprecated: Use ScreamingSnakeWithPrefix.Descriptor instead.

func (ScreamingSnakeWithPrefix) MarshalXML

func (n ScreamingSnakeWithPrefix) MarshalXML(e *xml.Encoder, start xml.StartElement) error

MarshalXML implements xml.Marshaler

func (ScreamingSnakeWithPrefix) Number

func (ScreamingSnakeWithPrefix) String

func (x ScreamingSnakeWithPrefix) String() string

func (ScreamingSnakeWithPrefix) Type

func (*ScreamingSnakeWithPrefix) UnmarshalXML

func (e *ScreamingSnakeWithPrefix) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

UnmarshalXML implements xml.Unmarshaler

func (*ScreamingSnakeWithPrefix) UnmarshalXMLAttr

func (e *ScreamingSnakeWithPrefix) UnmarshalXMLAttr(attr xml.Attr) error

UnmarshalXMLAttr implements xml.Unmarshaler

type ScreamingSnakeWithPrefxEnum

type ScreamingSnakeWithPrefxEnum struct {
	Field ScreamingSnakeWithPrefix `protobuf:"varint,1,opt,name=field,proto3,enum=ScreamingSnakeWithPrefix" json:"field,omitempty"`
	// contains filtered or unexported fields
}

func (*ScreamingSnakeWithPrefxEnum) Descriptor deprecated

func (*ScreamingSnakeWithPrefxEnum) Descriptor() ([]byte, []int)

Deprecated: Use ScreamingSnakeWithPrefxEnum.ProtoReflect.Descriptor instead.

func (*ScreamingSnakeWithPrefxEnum) GetField

func (*ScreamingSnakeWithPrefxEnum) ProtoMessage

func (*ScreamingSnakeWithPrefxEnum) ProtoMessage()

func (*ScreamingSnakeWithPrefxEnum) ProtoReflect

func (*ScreamingSnakeWithPrefxEnum) Reset

func (x *ScreamingSnakeWithPrefxEnum) Reset()

func (*ScreamingSnakeWithPrefxEnum) String

func (x *ScreamingSnakeWithPrefxEnum) String() string

Jump to

Keyboard shortcuts

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