Documentation ¶
Overview ¶
Code generated by protoc-gen-go-xml-enums. DO NOT EDIT. source: e2e/e2e.proto
Index ¶
- Variables
- type Deeply
- type Deeply_Nested
- type Deeply_Nested_Enum
- func (Deeply_Nested_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x Deeply_Nested_Enum) Enum() *Deeply_Nested_Enum
- func (Deeply_Nested_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (n Deeply_Nested_Enum) MarshalXML(e *xml.Encoder, start xml.StartElement) error
- func (x Deeply_Nested_Enum) Number() protoreflect.EnumNumber
- func (x Deeply_Nested_Enum) String() string
- func (Deeply_Nested_Enum) Type() protoreflect.EnumType
- func (e *Deeply_Nested_Enum) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
- func (e *Deeply_Nested_Enum) UnmarshalXMLAttr(attr xml.Attr) error
- type MessageWithAttribute
- func (*MessageWithAttribute) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithAttribute) GetField() RootEnum
- func (*MessageWithAttribute) ProtoMessage()
- func (x *MessageWithAttribute) ProtoReflect() protoreflect.Message
- func (x *MessageWithAttribute) Reset()
- func (x *MessageWithAttribute) String() string
- type MessageWithDeeplyNestedEnum
- func (*MessageWithDeeplyNestedEnum) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithDeeplyNestedEnum) GetField() Deeply_Nested_Enum
- func (*MessageWithDeeplyNestedEnum) ProtoMessage()
- func (x *MessageWithDeeplyNestedEnum) ProtoReflect() protoreflect.Message
- func (x *MessageWithDeeplyNestedEnum) Reset()
- func (x *MessageWithDeeplyNestedEnum) String() string
- type MessageWithNestedEnum
- func (*MessageWithNestedEnum) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithNestedEnum) GetField() Nested_Enum
- func (*MessageWithNestedEnum) ProtoMessage()
- func (x *MessageWithNestedEnum) ProtoReflect() protoreflect.Message
- func (x *MessageWithNestedEnum) Reset()
- func (x *MessageWithNestedEnum) String() string
- type MessageWithRootEnum
- func (*MessageWithRootEnum) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithRootEnum) GetField() RootEnum
- func (*MessageWithRootEnum) ProtoMessage()
- func (x *MessageWithRootEnum) ProtoReflect() protoreflect.Message
- func (x *MessageWithRootEnum) Reset()
- func (x *MessageWithRootEnum) String() string
- type Nested
- type Nested_Enum
- func (Nested_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x Nested_Enum) Enum() *Nested_Enum
- func (Nested_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (n Nested_Enum) MarshalXML(e *xml.Encoder, start xml.StartElement) error
- func (x Nested_Enum) Number() protoreflect.EnumNumber
- func (x Nested_Enum) String() string
- func (Nested_Enum) Type() protoreflect.EnumType
- func (e *Nested_Enum) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
- func (e *Nested_Enum) UnmarshalXMLAttr(attr xml.Attr) error
- type RootEnum
- func (RootEnum) Descriptor() protoreflect.EnumDescriptor
- func (x RootEnum) Enum() *RootEnum
- func (RootEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (n RootEnum) MarshalXML(e *xml.Encoder, start xml.StartElement) error
- func (x RootEnum) Number() protoreflect.EnumNumber
- func (x RootEnum) String() string
- func (RootEnum) Type() protoreflect.EnumType
- func (e *RootEnum) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
- func (e *RootEnum) UnmarshalXMLAttr(attr xml.Attr) error
- type ScreamingSnakeWithPrefix
- func (ScreamingSnakeWithPrefix) Descriptor() protoreflect.EnumDescriptor
- func (x ScreamingSnakeWithPrefix) Enum() *ScreamingSnakeWithPrefix
- func (ScreamingSnakeWithPrefix) EnumDescriptor() ([]byte, []int)deprecated
- func (n ScreamingSnakeWithPrefix) MarshalXML(e *xml.Encoder, start xml.StartElement) error
- func (x ScreamingSnakeWithPrefix) Number() protoreflect.EnumNumber
- func (x ScreamingSnakeWithPrefix) String() string
- func (ScreamingSnakeWithPrefix) Type() protoreflect.EnumType
- func (e *ScreamingSnakeWithPrefix) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
- func (e *ScreamingSnakeWithPrefix) UnmarshalXMLAttr(attr xml.Attr) error
- type ScreamingSnakeWithPrefxEnum
- func (*ScreamingSnakeWithPrefxEnum) Descriptor() ([]byte, []int)deprecated
- func (x *ScreamingSnakeWithPrefxEnum) GetField() ScreamingSnakeWithPrefix
- func (*ScreamingSnakeWithPrefxEnum) ProtoMessage()
- func (x *ScreamingSnakeWithPrefxEnum) ProtoReflect() protoreflect.Message
- func (x *ScreamingSnakeWithPrefxEnum) Reset()
- func (x *ScreamingSnakeWithPrefxEnum) String() string
Constants ¶
This section is empty.
Variables ¶
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.
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.
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.
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.
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) ProtoMessage ¶
func (*Deeply) ProtoMessage()
func (*Deeply) ProtoReflect ¶
func (x *Deeply) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (Deeply_Nested_Enum) Enum ¶
func (x Deeply_Nested_Enum) Enum() *Deeply_Nested_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 (x Deeply_Nested_Enum) Number() protoreflect.EnumNumber
func (Deeply_Nested_Enum) String ¶
func (x Deeply_Nested_Enum) String() string
func (Deeply_Nested_Enum) Type ¶
func (Deeply_Nested_Enum) Type() protoreflect.EnumType
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 (x *MessageWithDeeplyNestedEnum) GetField() Deeply_Nested_Enum
func (*MessageWithDeeplyNestedEnum) ProtoMessage ¶
func (*MessageWithDeeplyNestedEnum) ProtoMessage()
func (*MessageWithDeeplyNestedEnum) ProtoReflect ¶
func (x *MessageWithDeeplyNestedEnum) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Nested) ProtoMessage()
func (*Nested) ProtoReflect ¶
func (x *Nested) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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) Type() protoreflect.EnumType
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
func (RootEnum) Descriptor ¶
func (RootEnum) Descriptor() protoreflect.EnumDescriptor
func (RootEnum) EnumDescriptor
deprecated
func (RootEnum) MarshalXML ¶
MarshalXML implements xml.Marshaler
func (RootEnum) Number ¶
func (x RootEnum) Number() protoreflect.EnumNumber
func (RootEnum) Type ¶
func (RootEnum) Type() protoreflect.EnumType
func (*RootEnum) UnmarshalXML ¶
UnmarshalXML 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) Descriptor() protoreflect.EnumDescriptor
func (ScreamingSnakeWithPrefix) Enum ¶
func (x ScreamingSnakeWithPrefix) Enum() *ScreamingSnakeWithPrefix
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 (x ScreamingSnakeWithPrefix) Number() protoreflect.EnumNumber
func (ScreamingSnakeWithPrefix) String ¶
func (x ScreamingSnakeWithPrefix) String() string
func (ScreamingSnakeWithPrefix) Type ¶
func (ScreamingSnakeWithPrefix) Type() protoreflect.EnumType
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 (x *ScreamingSnakeWithPrefxEnum) GetField() ScreamingSnakeWithPrefix
func (*ScreamingSnakeWithPrefxEnum) ProtoMessage ¶
func (*ScreamingSnakeWithPrefxEnum) ProtoMessage()
func (*ScreamingSnakeWithPrefxEnum) ProtoReflect ¶
func (x *ScreamingSnakeWithPrefxEnum) ProtoReflect() protoreflect.Message
func (*ScreamingSnakeWithPrefxEnum) Reset ¶
func (x *ScreamingSnakeWithPrefxEnum) Reset()
func (*ScreamingSnakeWithPrefxEnum) String ¶
func (x *ScreamingSnakeWithPrefxEnum) String() string