Documentation ¶
Index ¶
- Variables
- type Embed
- type Embed_EnumNum1
- func (Embed_EnumNum1) Descriptor() protoreflect.EnumDescriptor
- func (x Embed_EnumNum1) Enum() *Embed_EnumNum1
- func (Embed_EnumNum1) EnumDescriptor() ([]byte, []int)deprecated
- func (x Embed_EnumNum1) Number() protoreflect.EnumNumber
- func (x Embed_EnumNum1) String() string
- func (Embed_EnumNum1) Type() protoreflect.EnumType
- type Embed_Message
- func (*Embed_Message) Descriptor() ([]byte, []int)deprecated
- func (x *Embed_Message) MarshalJSON() ([]byte, error)
- func (*Embed_Message) ProtoMessage()
- func (x *Embed_Message) ProtoReflect() protoreflect.Message
- func (x *Embed_Message) Reset()
- func (x *Embed_Message) String() string
- func (x *Embed_Message) UnmarshalJSON(b []byte) error
- type Embed_Message_EnumNum1
- func (Embed_Message_EnumNum1) Descriptor() protoreflect.EnumDescriptor
- func (x Embed_Message_EnumNum1) Enum() *Embed_Message_EnumNum1
- func (Embed_Message_EnumNum1) EnumDescriptor() ([]byte, []int)deprecated
- func (x Embed_Message_EnumNum1) Number() protoreflect.EnumNumber
- func (x Embed_Message_EnumNum1) String() string
- func (Embed_Message_EnumNum1) Type() protoreflect.EnumType
- type EnumNum1
- type Message1
- func (*Message1) Descriptor() ([]byte, []int)deprecated
- func (x *Message1) GetFString1() string
- func (x *Message1) GetFString2() string
- func (x *Message1) GetFString3() string
- func (x *Message1) MarshalJSON() ([]byte, error)
- func (*Message1) ProtoMessage()
- func (x *Message1) ProtoReflect() protoreflect.Message
- func (x *Message1) Reset()
- func (x *Message1) String() string
- func (x *Message1) UnmarshalJSON(b []byte) error
- type Message1_Embed1
- func (*Message1_Embed1) Descriptor() ([]byte, []int)deprecated
- func (x *Message1_Embed1) GetFString1() string
- func (x *Message1_Embed1) GetFString2() string
- func (x *Message1_Embed1) GetFString3() string
- func (x *Message1_Embed1) MarshalJSON() ([]byte, error)
- func (*Message1_Embed1) ProtoMessage()
- func (x *Message1_Embed1) ProtoReflect() protoreflect.Message
- func (x *Message1_Embed1) Reset()
- func (x *Message1_Embed1) String() string
- func (x *Message1_Embed1) UnmarshalJSON(b []byte) error
- type Message1_Embed1_Embed2
- func (*Message1_Embed1_Embed2) Descriptor() ([]byte, []int)deprecated
- func (x *Message1_Embed1_Embed2) GetFString1() string
- func (x *Message1_Embed1_Embed2) GetFString2() string
- func (x *Message1_Embed1_Embed2) GetFString3() string
- func (x *Message1_Embed1_Embed2) MarshalJSON() ([]byte, error)
- func (*Message1_Embed1_Embed2) ProtoMessage()
- func (x *Message1_Embed1_Embed2) ProtoReflect() protoreflect.Message
- func (x *Message1_Embed1_Embed2) Reset()
- func (x *Message1_Embed1_Embed2) String() string
- func (x *Message1_Embed1_Embed2) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( EnumNum1_name = map[int32]string{ 0: "Zero", 2: "One", 3: "Two", 5: "Three", 6: "Four", 7: "Five", 9: "Six", 11: "Seven", 12: "Eight", 15: "Nine", 17: "Ten", } EnumNum1_value = map[string]int32{ "Zero": 0, "One": 2, "Two": 3, "Three": 5, "Four": 6, "Five": 7, "Six": 9, "Seven": 11, "Eight": 12, "Nine": 15, "Ten": 17, } )
Enum value maps for EnumNum1.
var ( Embed_EnumNum1_name = map[int32]string{ 0: "Zero", 2: "One", 3: "Two", 5: "Three", 6: "Four", 7: "Five", 9: "Six", 11: "Seven", 12: "Eight", 15: "Nine", 17: "Ten", } Embed_EnumNum1_value = map[string]int32{ "Zero": 0, "One": 2, "Two": 3, "Three": 5, "Four": 6, "Five": 7, "Six": 9, "Seven": 11, "Eight": 12, "Nine": 15, "Ten": 17, } )
Enum value maps for Embed_EnumNum1.
var ( Embed_Message_EnumNum1_name = map[int32]string{ 0: "Zero", 2: "One", 3: "Two", 5: "Three", 6: "Four", 7: "Five", 9: "Six", 11: "Seven", 12: "Eight", 15: "Nine", 17: "Ten", } Embed_Message_EnumNum1_value = map[string]int32{ "Zero": 0, "One": 2, "Two": 3, "Three": 5, "Four": 6, "Five": 7, "Six": 9, "Seven": 11, "Eight": 12, "Nine": 15, "Ten": 17, } )
Enum value maps for Embed_Message_EnumNum1.
var File_tests_proto_module_external_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Embed ¶
type Embed struct {
// contains filtered or unexported fields
}
func (*Embed) Descriptor
deprecated
func (*Embed) MarshalJSON ¶
MarshalJSON implements interface json.Marshaler for proto message Embed in file tests/proto/module/external.proto
func (*Embed) ProtoMessage ¶
func (*Embed) ProtoMessage()
func (*Embed) ProtoReflect ¶
func (x *Embed) ProtoReflect() protoreflect.Message
func (*Embed) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler for proto message Embed in file tests/proto/module/external.proto
type Embed_EnumNum1 ¶
type Embed_EnumNum1 int32
const ( Embed_Zero Embed_EnumNum1 = 0 Embed_One Embed_EnumNum1 = 2 Embed_Two Embed_EnumNum1 = 3 Embed_Three Embed_EnumNum1 = 5 Embed_Four Embed_EnumNum1 = 6 Embed_Five Embed_EnumNum1 = 7 Embed_Six Embed_EnumNum1 = 9 Embed_Seven Embed_EnumNum1 = 11 Embed_Eight Embed_EnumNum1 = 12 Embed_Nine Embed_EnumNum1 = 15 Embed_Ten Embed_EnumNum1 = 17 )
func (Embed_EnumNum1) Descriptor ¶
func (Embed_EnumNum1) Descriptor() protoreflect.EnumDescriptor
func (Embed_EnumNum1) Enum ¶
func (x Embed_EnumNum1) Enum() *Embed_EnumNum1
func (Embed_EnumNum1) EnumDescriptor
deprecated
func (Embed_EnumNum1) EnumDescriptor() ([]byte, []int)
Deprecated: Use Embed_EnumNum1.Descriptor instead.
func (Embed_EnumNum1) Number ¶
func (x Embed_EnumNum1) Number() protoreflect.EnumNumber
func (Embed_EnumNum1) String ¶
func (x Embed_EnumNum1) String() string
func (Embed_EnumNum1) Type ¶
func (Embed_EnumNum1) Type() protoreflect.EnumType
type Embed_Message ¶
type Embed_Message struct {
// contains filtered or unexported fields
}
func (*Embed_Message) Descriptor
deprecated
func (*Embed_Message) Descriptor() ([]byte, []int)
Deprecated: Use Embed_Message.ProtoReflect.Descriptor instead.
func (*Embed_Message) MarshalJSON ¶
func (x *Embed_Message) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message Message in file tests/proto/module/external.proto
func (*Embed_Message) ProtoMessage ¶
func (*Embed_Message) ProtoMessage()
func (*Embed_Message) ProtoReflect ¶
func (x *Embed_Message) ProtoReflect() protoreflect.Message
func (*Embed_Message) Reset ¶
func (x *Embed_Message) Reset()
func (*Embed_Message) String ¶
func (x *Embed_Message) String() string
func (*Embed_Message) UnmarshalJSON ¶
func (x *Embed_Message) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message Message in file tests/proto/module/external.proto
type Embed_Message_EnumNum1 ¶
type Embed_Message_EnumNum1 int32
const ( Embed_Message_Zero Embed_Message_EnumNum1 = 0 Embed_Message_One Embed_Message_EnumNum1 = 2 Embed_Message_Two Embed_Message_EnumNum1 = 3 Embed_Message_Three Embed_Message_EnumNum1 = 5 Embed_Message_Four Embed_Message_EnumNum1 = 6 Embed_Message_Five Embed_Message_EnumNum1 = 7 Embed_Message_Six Embed_Message_EnumNum1 = 9 Embed_Message_Seven Embed_Message_EnumNum1 = 11 Embed_Message_Eight Embed_Message_EnumNum1 = 12 Embed_Message_Nine Embed_Message_EnumNum1 = 15 Embed_Message_Ten Embed_Message_EnumNum1 = 17 )
func (Embed_Message_EnumNum1) Descriptor ¶
func (Embed_Message_EnumNum1) Descriptor() protoreflect.EnumDescriptor
func (Embed_Message_EnumNum1) Enum ¶
func (x Embed_Message_EnumNum1) Enum() *Embed_Message_EnumNum1
func (Embed_Message_EnumNum1) EnumDescriptor
deprecated
func (Embed_Message_EnumNum1) EnumDescriptor() ([]byte, []int)
Deprecated: Use Embed_Message_EnumNum1.Descriptor instead.
func (Embed_Message_EnumNum1) Number ¶
func (x Embed_Message_EnumNum1) Number() protoreflect.EnumNumber
func (Embed_Message_EnumNum1) String ¶
func (x Embed_Message_EnumNum1) String() string
func (Embed_Message_EnumNum1) Type ¶
func (Embed_Message_EnumNum1) Type() protoreflect.EnumType
type EnumNum1 ¶
type EnumNum1 int32
const ( EnumNum1_Zero EnumNum1 = 0 EnumNum1_One EnumNum1 = 2 EnumNum1_Two EnumNum1 = 3 EnumNum1_Three EnumNum1 = 5 EnumNum1_Four EnumNum1 = 6 EnumNum1_Five EnumNum1 = 7 EnumNum1_Six EnumNum1 = 9 EnumNum1_Seven EnumNum1 = 11 EnumNum1_Eight EnumNum1 = 12 EnumNum1_Nine EnumNum1 = 15 EnumNum1_Ten EnumNum1 = 17 )
func (EnumNum1) Descriptor ¶
func (EnumNum1) Descriptor() protoreflect.EnumDescriptor
func (EnumNum1) EnumDescriptor
deprecated
func (EnumNum1) Number ¶
func (x EnumNum1) Number() protoreflect.EnumNumber
func (EnumNum1) Type ¶
func (EnumNum1) Type() protoreflect.EnumType
type Message1 ¶
type Message1 struct { FString1 string `protobuf:"bytes,1,opt,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` FString2 string `protobuf:"bytes,2,opt,name=f_string2,json=fString2,proto3" json:"f_string2,omitempty"` FString3 string `protobuf:"bytes,3,opt,name=f_string3,json=fString3,proto3" json:"f_string3,omitempty"` // contains filtered or unexported fields }
func (*Message1) Descriptor
deprecated
func (*Message1) GetFString1 ¶
func (*Message1) GetFString2 ¶
func (*Message1) GetFString3 ¶
func (*Message1) MarshalJSON ¶
MarshalJSON implements interface json.Marshaler for proto message Message1 in file tests/proto/module/external.proto
func (*Message1) ProtoMessage ¶
func (*Message1) ProtoMessage()
func (*Message1) ProtoReflect ¶
func (x *Message1) ProtoReflect() protoreflect.Message
func (*Message1) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler for proto message Message1 in file tests/proto/module/external.proto
type Message1_Embed1 ¶
type Message1_Embed1 struct { FString1 string `protobuf:"bytes,1,opt,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` FString2 string `protobuf:"bytes,2,opt,name=f_string2,json=fString2,proto3" json:"f_string2,omitempty"` FString3 string `protobuf:"bytes,3,opt,name=f_string3,json=fString3,proto3" json:"f_string3,omitempty"` // contains filtered or unexported fields }
func (*Message1_Embed1) Descriptor
deprecated
func (*Message1_Embed1) Descriptor() ([]byte, []int)
Deprecated: Use Message1_Embed1.ProtoReflect.Descriptor instead.
func (*Message1_Embed1) GetFString1 ¶
func (x *Message1_Embed1) GetFString1() string
func (*Message1_Embed1) GetFString2 ¶
func (x *Message1_Embed1) GetFString2() string
func (*Message1_Embed1) GetFString3 ¶
func (x *Message1_Embed1) GetFString3() string
func (*Message1_Embed1) MarshalJSON ¶
func (x *Message1_Embed1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message Embed1 in file tests/proto/module/external.proto
func (*Message1_Embed1) ProtoMessage ¶
func (*Message1_Embed1) ProtoMessage()
func (*Message1_Embed1) ProtoReflect ¶
func (x *Message1_Embed1) ProtoReflect() protoreflect.Message
func (*Message1_Embed1) Reset ¶
func (x *Message1_Embed1) Reset()
func (*Message1_Embed1) String ¶
func (x *Message1_Embed1) String() string
func (*Message1_Embed1) UnmarshalJSON ¶
func (x *Message1_Embed1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message Embed1 in file tests/proto/module/external.proto
type Message1_Embed1_Embed2 ¶
type Message1_Embed1_Embed2 struct { FString1 string `protobuf:"bytes,1,opt,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` FString2 string `protobuf:"bytes,2,opt,name=f_string2,json=fString2,proto3" json:"f_string2,omitempty"` FString3 string `protobuf:"bytes,3,opt,name=f_string3,json=fString3,proto3" json:"f_string3,omitempty"` // contains filtered or unexported fields }
func (*Message1_Embed1_Embed2) Descriptor
deprecated
func (*Message1_Embed1_Embed2) Descriptor() ([]byte, []int)
Deprecated: Use Message1_Embed1_Embed2.ProtoReflect.Descriptor instead.
func (*Message1_Embed1_Embed2) GetFString1 ¶
func (x *Message1_Embed1_Embed2) GetFString1() string
func (*Message1_Embed1_Embed2) GetFString2 ¶
func (x *Message1_Embed1_Embed2) GetFString2() string
func (*Message1_Embed1_Embed2) GetFString3 ¶
func (x *Message1_Embed1_Embed2) GetFString3() string
func (*Message1_Embed1_Embed2) MarshalJSON ¶
func (x *Message1_Embed1_Embed2) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message Embed2 in file tests/proto/module/external.proto
func (*Message1_Embed1_Embed2) ProtoMessage ¶
func (*Message1_Embed1_Embed2) ProtoMessage()
func (*Message1_Embed1_Embed2) ProtoReflect ¶
func (x *Message1_Embed1_Embed2) ProtoReflect() protoreflect.Message
func (*Message1_Embed1_Embed2) Reset ¶
func (x *Message1_Embed1_Embed2) Reset()
func (*Message1_Embed1_Embed2) String ¶
func (x *Message1_Embed1_Embed2) String() string
func (*Message1_Embed1_Embed2) UnmarshalJSON ¶
func (x *Message1_Embed1_Embed2) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message Embed2 in file tests/proto/module/external.proto