pbexternal

package
v0.0.0-...-c763749 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Month1_name = map[int32]string{
		0:  "Month1Unset",
		1:  "January",
		3:  "February",
		6:  "March",
		9:  "April",
		12: "May",
		15: "June",
	}
	Month1_value = map[string]int32{
		"Month1Unset": 0,
		"January":     1,
		"February":    3,
		"March":       6,
		"April":       9,
		"May":         12,
		"June":        15,
	}
)

Enum value maps for Month1.

View Source
var (
	Month2_name = map[int32]string{
		0:  "Month2Unset",
		1:  "July",
		3:  "August",
		6:  "September",
		9:  "October",
		12: "November",
		15: "December",
	}
	Month2_value = map[string]int32{
		"Month2Unset": 0,
		"July":        1,
		"August":      3,
		"September":   6,
		"October":     9,
		"November":    12,
		"December":    15,
	}
)

Enum value maps for Month2.

View Source
var (
	EnumWeek1_Week_name = map[int32]string{
		0:  "WeekUnset",
		1:  "Monday",
		3:  "Tuesday",
		6:  "Wednesday",
		9:  "Thursday",
		12: "Friday",
		15: "Saturday",
		18: "Sunday",
	}
	EnumWeek1_Week_value = map[string]int32{
		"WeekUnset": 0,
		"Monday":    1,
		"Tuesday":   3,
		"Wednesday": 6,
		"Thursday":  9,
		"Friday":    12,
		"Saturday":  15,
		"Sunday":    18,
	}
)

Enum value maps for EnumWeek1_Week.

View Source
var (
	EnumWeek2_Embed1_Week_name = map[int32]string{
		0:  "WeekUnset",
		1:  "Monday",
		3:  "Tuesday",
		6:  "Wednesday",
		9:  "Thursday",
		12: "Friday",
		15: "Saturday",
		18: "Sunday",
	}
	EnumWeek2_Embed1_Week_value = map[string]int32{
		"WeekUnset": 0,
		"Monday":    1,
		"Tuesday":   3,
		"Wednesday": 6,
		"Thursday":  9,
		"Friday":    12,
		"Saturday":  15,
		"Sunday":    18,
	}
)

Enum value maps for EnumWeek2_Embed1_Week.

View Source
var File_tests_proto_module_external_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EnumWeek1

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

func (*EnumWeek1) Descriptor deprecated

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

Deprecated: Use EnumWeek1.ProtoReflect.Descriptor instead.

func (*EnumWeek1) ProtoMessage

func (*EnumWeek1) ProtoMessage()

func (*EnumWeek1) ProtoReflect

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

func (*EnumWeek1) Reset

func (x *EnumWeek1) Reset()

func (*EnumWeek1) SetDefault

func (x *EnumWeek1) SetDefault()

Set default value for message EnumWeek1 that in file tests/proto/module/external.proto

func (*EnumWeek1) String

func (x *EnumWeek1) String() string

type EnumWeek1_Week

type EnumWeek1_Week int32
const (
	EnumWeek1_WeekUnset EnumWeek1_Week = 0
	EnumWeek1_Monday    EnumWeek1_Week = 1
	EnumWeek1_Tuesday   EnumWeek1_Week = 3
	EnumWeek1_Wednesday EnumWeek1_Week = 6
	EnumWeek1_Thursday  EnumWeek1_Week = 9
	EnumWeek1_Friday    EnumWeek1_Week = 12
	EnumWeek1_Saturday  EnumWeek1_Week = 15
	EnumWeek1_Sunday    EnumWeek1_Week = 18
)

func (EnumWeek1_Week) Descriptor

func (EnumWeek1_Week) Enum

func (x EnumWeek1_Week) Enum() *EnumWeek1_Week

func (EnumWeek1_Week) EnumDescriptor deprecated

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

Deprecated: Use EnumWeek1_Week.Descriptor instead.

func (EnumWeek1_Week) Number

func (EnumWeek1_Week) String

func (x EnumWeek1_Week) String() string

func (EnumWeek1_Week) Type

type EnumWeek2

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

func (*EnumWeek2) Descriptor deprecated

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

Deprecated: Use EnumWeek2.ProtoReflect.Descriptor instead.

func (*EnumWeek2) ProtoMessage

func (*EnumWeek2) ProtoMessage()

func (*EnumWeek2) ProtoReflect

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

func (*EnumWeek2) Reset

func (x *EnumWeek2) Reset()

func (*EnumWeek2) SetDefault

func (x *EnumWeek2) SetDefault()

Set default value for message EnumWeek2 that in file tests/proto/module/external.proto

func (*EnumWeek2) String

func (x *EnumWeek2) String() string

type EnumWeek2_Embed1

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

func (*EnumWeek2_Embed1) Descriptor deprecated

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

Deprecated: Use EnumWeek2_Embed1.ProtoReflect.Descriptor instead.

func (*EnumWeek2_Embed1) ProtoMessage

func (*EnumWeek2_Embed1) ProtoMessage()

func (*EnumWeek2_Embed1) ProtoReflect

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

func (*EnumWeek2_Embed1) Reset

func (x *EnumWeek2_Embed1) Reset()

func (*EnumWeek2_Embed1) SetDefault

func (x *EnumWeek2_Embed1) SetDefault()

Set default value for message Embed1 that in file tests/proto/module/external.proto

func (*EnumWeek2_Embed1) String

func (x *EnumWeek2_Embed1) String() string

type EnumWeek2_Embed1_Week

type EnumWeek2_Embed1_Week int32
const (
	EnumWeek2_Embed1_WeekUnset EnumWeek2_Embed1_Week = 0
	EnumWeek2_Embed1_Monday    EnumWeek2_Embed1_Week = 1
	EnumWeek2_Embed1_Tuesday   EnumWeek2_Embed1_Week = 3
	EnumWeek2_Embed1_Wednesday EnumWeek2_Embed1_Week = 6
	EnumWeek2_Embed1_Thursday  EnumWeek2_Embed1_Week = 9
	EnumWeek2_Embed1_Friday    EnumWeek2_Embed1_Week = 12
	EnumWeek2_Embed1_Saturday  EnumWeek2_Embed1_Week = 15
	EnumWeek2_Embed1_Sunday    EnumWeek2_Embed1_Week = 18
)

func (EnumWeek2_Embed1_Week) Descriptor

func (EnumWeek2_Embed1_Week) Enum

func (EnumWeek2_Embed1_Week) EnumDescriptor deprecated

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

Deprecated: Use EnumWeek2_Embed1_Week.Descriptor instead.

func (EnumWeek2_Embed1_Week) Number

func (EnumWeek2_Embed1_Week) String

func (x EnumWeek2_Embed1_Week) String() string

func (EnumWeek2_Embed1_Week) Type

type External1

type External1 struct {
	TFloat     float32                `protobuf:"fixed32,19,opt,name=t_float,json=tFloat,proto3" json:"t_float,omitempty"`
	TDouble    float64                `protobuf:"fixed64,20,opt,name=t_double,json=tDouble,proto3" json:"t_double,omitempty"`
	TInt32     int32                  `protobuf:"varint,1,opt,name=t_int32,json=tInt32,proto3" json:"t_int32,omitempty"`
	TSint32    int32                  `protobuf:"zigzag32,2,opt,name=t_sint32,json=tSint32,proto3" json:"t_sint32,omitempty"`
	TSfixed32  int32                  `protobuf:"fixed32,3,opt,name=t_sfixed32,json=tSfixed32,proto3" json:"t_sfixed32,omitempty"`
	TInt64     int64                  `protobuf:"varint,4,opt,name=t_int64,json=tInt64,proto3" json:"t_int64,omitempty"`
	TSint64    int64                  `protobuf:"zigzag64,5,opt,name=t_sint64,json=tSint64,proto3" json:"t_sint64,omitempty"`
	TSfixed64  int64                  `protobuf:"fixed64,6,opt,name=t_sfixed64,json=tSfixed64,proto3" json:"t_sfixed64,omitempty"`
	TUint32    uint32                 `protobuf:"varint,7,opt,name=t_uint32,json=tUint32,proto3" json:"t_uint32,omitempty"`
	TUint64    uint64                 `protobuf:"varint,8,opt,name=t_uint64,json=tUint64,proto3" json:"t_uint64,omitempty"`
	TFixed32   uint32                 `protobuf:"fixed32,9,opt,name=t_fixed32,json=tFixed32,proto3" json:"t_fixed32,omitempty"`
	TFixed64   uint64                 `protobuf:"fixed64,10,opt,name=t_fixed64,json=tFixed64,proto3" json:"t_fixed64,omitempty"`
	TBool      bool                   `protobuf:"varint,11,opt,name=t_bool,json=tBool,proto3" json:"t_bool,omitempty"`
	TString    string                 `protobuf:"bytes,12,opt,name=t_string,json=tString,proto3" json:"t_string,omitempty"`
	TBytes     []byte                 `protobuf:"bytes,13,opt,name=t_bytes,json=tBytes,proto3" json:"t_bytes,omitempty"`
	TEnum1     Month1                 `protobuf:"varint,14,opt,name=t_enum1,json=tEnum1,proto3,enum=external.Month1" json:"t_enum1,omitempty"`
	TEnum2     Month2                 `protobuf:"varint,15,opt,name=t_enum2,json=tEnum2,proto3,enum=external.Month2" json:"t_enum2,omitempty"`
	TAny       *anypb.Any             `protobuf:"bytes,16,opt,name=t_any,json=tAny,proto3" json:"t_any,omitempty"`
	TTimestamp *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=t_timestamp,json=tTimestamp,proto3" json:"t_timestamp,omitempty"`
	TDuration  *durationpb.Duration   `protobuf:"bytes,18,opt,name=t_duration,json=tDuration,proto3" json:"t_duration,omitempty"`
	PFloat     *float32               `protobuf:"fixed32,119,opt,name=p_float,json=pFloat,proto3,oneof" json:"p_float,omitempty"`
	PDouble    *float64               `protobuf:"fixed64,120,opt,name=p_double,json=pDouble,proto3,oneof" json:"p_double,omitempty"`
	PInt32     *int32                 `protobuf:"varint,101,opt,name=p_int32,json=pInt32,proto3,oneof" json:"p_int32,omitempty"`
	PSint32    *int32                 `protobuf:"zigzag32,102,opt,name=p_sint32,json=pSint32,proto3,oneof" json:"p_sint32,omitempty"`
	PSfixed32  *int32                 `protobuf:"fixed32,103,opt,name=p_sfixed32,json=pSfixed32,proto3,oneof" json:"p_sfixed32,omitempty"`
	PInt64     *int64                 `protobuf:"varint,104,opt,name=p_int64,json=pInt64,proto3,oneof" json:"p_int64,omitempty"`
	PSint64    *int64                 `protobuf:"zigzag64,105,opt,name=p_sint64,json=pSint64,proto3,oneof" json:"p_sint64,omitempty"`
	PSfixed64  *int64                 `protobuf:"fixed64,106,opt,name=p_sfixed64,json=pSfixed64,proto3,oneof" json:"p_sfixed64,omitempty"`
	PUint32    *uint32                `protobuf:"varint,107,opt,name=p_uint32,json=pUint32,proto3,oneof" json:"p_uint32,omitempty"`
	PUint64    *uint64                `protobuf:"varint,108,opt,name=p_uint64,json=pUint64,proto3,oneof" json:"p_uint64,omitempty"`
	PFixed32   *uint32                `protobuf:"fixed32,109,opt,name=p_fixed32,json=pFixed32,proto3,oneof" json:"p_fixed32,omitempty"`
	PFixed64   *uint64                `protobuf:"fixed64,110,opt,name=p_fixed64,json=pFixed64,proto3,oneof" json:"p_fixed64,omitempty"`
	PBool      *bool                  `protobuf:"varint,111,opt,name=p_bool,json=pBool,proto3,oneof" json:"p_bool,omitempty"`
	PString    *string                `protobuf:"bytes,112,opt,name=p_string,json=pString,proto3,oneof" json:"p_string,omitempty"`
	PBytes     []byte                 `protobuf:"bytes,113,opt,name=p_bytes,json=pBytes,proto3,oneof" json:"p_bytes,omitempty"`
	PEnum1     *Month1                `protobuf:"varint,114,opt,name=p_enum1,json=pEnum1,proto3,enum=external.Month1,oneof" json:"p_enum1,omitempty"`
	PEnum2     *Month2                `protobuf:"varint,115,opt,name=p_enum2,json=pEnum2,proto3,enum=external.Month2,oneof" json:"p_enum2,omitempty"`
	PAny       *anypb.Any             `protobuf:"bytes,116,opt,name=p_any,json=pAny,proto3,oneof" json:"p_any,omitempty"`
	PTimestamp *timestamppb.Timestamp `protobuf:"bytes,117,opt,name=p_timestamp,json=pTimestamp,proto3,oneof" json:"p_timestamp,omitempty"`
	PDuration  *durationpb.Duration   `protobuf:"bytes,118,opt,name=p_duration,json=pDuration,proto3,oneof" json:"p_duration,omitempty"`
	// Types that are assignable to OneOfType1:
	//	*External1_OFloat
	//	*External1_ODouble
	//	*External1_OInt32
	//	*External1_OSint32
	//	*External1_OSfixed32
	//	*External1_OInt64
	//	*External1_OSint64
	//	*External1_OSfixed64
	//	*External1_OUint32
	//	*External1_OUint64
	//	*External1_OFixed32
	//	*External1_OFixed64
	//	*External1_OBool
	//	*External1_OString
	//	*External1_OBytes
	//	*External1_OEnum1
	//	*External1_OEnum2
	//	*External1_OAny
	//	*External1_OTimestamp
	//	*External1_ODuration
	OneOfType1 isExternal1_OneOfType1            `protobuf_oneof:"OneOfType1"`
	RFloat     []float32                         `protobuf:"fixed32,319,rep,packed,name=r_float,json=rFloat,proto3" json:"r_float,omitempty"`
	RDouble    []float64                         `protobuf:"fixed64,320,rep,packed,name=r_double,json=rDouble,proto3" json:"r_double,omitempty"`
	RInt32     []int32                           `protobuf:"varint,301,rep,packed,name=r_int32,json=rInt32,proto3" json:"r_int32,omitempty"`
	RSint32    []int32                           `protobuf:"zigzag32,302,rep,packed,name=r_sint32,json=rSint32,proto3" json:"r_sint32,omitempty"`
	RSfixed32  []int32                           `protobuf:"fixed32,303,rep,packed,name=r_sfixed32,json=rSfixed32,proto3" json:"r_sfixed32,omitempty"`
	RInt64     []int64                           `protobuf:"varint,304,rep,packed,name=r_int64,json=rInt64,proto3" json:"r_int64,omitempty"`
	RSint64    []int64                           `protobuf:"zigzag64,305,rep,packed,name=r_sint64,json=rSint64,proto3" json:"r_sint64,omitempty"`
	RSfixed64  []int64                           `protobuf:"fixed64,306,rep,packed,name=r_sfixed64,json=rSfixed64,proto3" json:"r_sfixed64,omitempty"`
	RUint32    []uint32                          `protobuf:"varint,307,rep,packed,name=r_uint32,json=rUint32,proto3" json:"r_uint32,omitempty"`
	RUint64    []uint64                          `protobuf:"varint,308,rep,packed,name=r_uint64,json=rUint64,proto3" json:"r_uint64,omitempty"`
	RFixed32   []uint32                          `protobuf:"fixed32,309,rep,packed,name=r_fixed32,json=rFixed32,proto3" json:"r_fixed32,omitempty"`
	RFixed64   []uint64                          `protobuf:"fixed64,310,rep,packed,name=r_fixed64,json=rFixed64,proto3" json:"r_fixed64,omitempty"`
	RBool      []bool                            `protobuf:"varint,311,rep,packed,name=r_bool,json=rBool,proto3" json:"r_bool,omitempty"`
	RString    []string                          `protobuf:"bytes,312,rep,name=r_string,json=rString,proto3" json:"r_string,omitempty"`
	RBytes     [][]byte                          `protobuf:"bytes,313,rep,name=r_bytes,json=rBytes,proto3" json:"r_bytes,omitempty"`
	REnum1     []Month1                          `protobuf:"varint,314,rep,packed,name=r_enum1,json=rEnum1,proto3,enum=external.Month1" json:"r_enum1,omitempty"`
	REnum2     []Month2                          `protobuf:"varint,315,rep,packed,name=r_enum2,json=rEnum2,proto3,enum=external.Month2" json:"r_enum2,omitempty"`
	RAny       []*anypb.Any                      `protobuf:"bytes,316,rep,name=r_any,json=rAny,proto3" json:"r_any,omitempty"`
	RTimestamp []*timestamppb.Timestamp          `protobuf:"bytes,317,rep,name=r_timestamp,json=rTimestamp,proto3" json:"r_timestamp,omitempty"`
	RDuration  []*durationpb.Duration            `protobuf:"bytes,318,rep,name=r_duration,json=rDuration,proto3" json:"r_duration,omitempty"`
	MFloat     map[string]float32                `` /* 171-byte string literal not displayed */
	MDouble    map[string]float64                `` /* 174-byte string literal not displayed */
	MInt32     map[string]int32                  `` /* 170-byte string literal not displayed */
	MSint32    map[string]int32                  `` /* 175-byte string literal not displayed */
	MSfixed32  map[string]int32                  `` /* 180-byte string literal not displayed */
	MInt64     map[string]int64                  `` /* 170-byte string literal not displayed */
	MSint64    map[string]int64                  `` /* 175-byte string literal not displayed */
	MSfixed64  map[string]int64                  `` /* 180-byte string literal not displayed */
	MUint32    map[string]uint32                 `` /* 173-byte string literal not displayed */
	MUint64    map[string]uint64                 `` /* 173-byte string literal not displayed */
	MFixed32   map[string]uint32                 `` /* 177-byte string literal not displayed */
	MFixed64   map[string]uint64                 `` /* 177-byte string literal not displayed */
	MBool      map[string]bool                   `` /* 167-byte string literal not displayed */
	MString    map[string]string                 `` /* 172-byte string literal not displayed */
	MBytes     map[string][]byte                 `` /* 169-byte string literal not displayed */
	MEnum1     map[string]Month1                 `` /* 191-byte string literal not displayed */
	MEnum2     map[string]Month2                 `` /* 191-byte string literal not displayed */
	MAny       map[string]*anypb.Any             `` /* 163-byte string literal not displayed */
	MTimestamp map[string]*timestamppb.Timestamp `` /* 181-byte string literal not displayed */
	MDuration  map[string]*durationpb.Duration   `` /* 178-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*External1) Descriptor deprecated

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

Deprecated: Use External1.ProtoReflect.Descriptor instead.

func (*External1) GetMAny

func (x *External1) GetMAny() map[string]*anypb.Any

func (*External1) GetMBool

func (x *External1) GetMBool() map[string]bool

func (*External1) GetMBytes

func (x *External1) GetMBytes() map[string][]byte

func (*External1) GetMDouble

func (x *External1) GetMDouble() map[string]float64

func (*External1) GetMDuration

func (x *External1) GetMDuration() map[string]*durationpb.Duration

func (*External1) GetMEnum1

func (x *External1) GetMEnum1() map[string]Month1

func (*External1) GetMEnum2

func (x *External1) GetMEnum2() map[string]Month2

func (*External1) GetMFixed32

func (x *External1) GetMFixed32() map[string]uint32

func (*External1) GetMFixed64

func (x *External1) GetMFixed64() map[string]uint64

func (*External1) GetMFloat

func (x *External1) GetMFloat() map[string]float32

func (*External1) GetMInt32

func (x *External1) GetMInt32() map[string]int32

func (*External1) GetMInt64

func (x *External1) GetMInt64() map[string]int64

func (*External1) GetMSfixed32

func (x *External1) GetMSfixed32() map[string]int32

func (*External1) GetMSfixed64

func (x *External1) GetMSfixed64() map[string]int64

func (*External1) GetMSint32

func (x *External1) GetMSint32() map[string]int32

func (*External1) GetMSint64

func (x *External1) GetMSint64() map[string]int64

func (*External1) GetMString

func (x *External1) GetMString() map[string]string

func (*External1) GetMTimestamp

func (x *External1) GetMTimestamp() map[string]*timestamppb.Timestamp

func (*External1) GetMUint32

func (x *External1) GetMUint32() map[string]uint32

func (*External1) GetMUint64

func (x *External1) GetMUint64() map[string]uint64

func (*External1) GetOAny

func (x *External1) GetOAny() *anypb.Any

func (*External1) GetOBool

func (x *External1) GetOBool() bool

func (*External1) GetOBytes

func (x *External1) GetOBytes() []byte

func (*External1) GetODouble

func (x *External1) GetODouble() float64

func (*External1) GetODuration

func (x *External1) GetODuration() *durationpb.Duration

func (*External1) GetOEnum1

func (x *External1) GetOEnum1() Month1

func (*External1) GetOEnum2

func (x *External1) GetOEnum2() Month2

func (*External1) GetOFixed32

func (x *External1) GetOFixed32() uint32

func (*External1) GetOFixed64

func (x *External1) GetOFixed64() uint64

func (*External1) GetOFloat

func (x *External1) GetOFloat() float32

func (*External1) GetOInt32

func (x *External1) GetOInt32() int32

func (*External1) GetOInt64

func (x *External1) GetOInt64() int64

func (*External1) GetOSfixed32

func (x *External1) GetOSfixed32() int32

func (*External1) GetOSfixed64

func (x *External1) GetOSfixed64() int64

func (*External1) GetOSint32

func (x *External1) GetOSint32() int32

func (*External1) GetOSint64

func (x *External1) GetOSint64() int64

func (*External1) GetOString

func (x *External1) GetOString() string

func (*External1) GetOTimestamp

func (x *External1) GetOTimestamp() *timestamppb.Timestamp

func (*External1) GetOUint32

func (x *External1) GetOUint32() uint32

func (*External1) GetOUint64

func (x *External1) GetOUint64() uint64

func (*External1) GetOneOfType1

func (m *External1) GetOneOfType1() isExternal1_OneOfType1

func (*External1) GetPAny

func (x *External1) GetPAny() *anypb.Any

func (*External1) GetPBool

func (x *External1) GetPBool() bool

func (*External1) GetPBytes

func (x *External1) GetPBytes() []byte

func (*External1) GetPDouble

func (x *External1) GetPDouble() float64

func (*External1) GetPDuration

func (x *External1) GetPDuration() *durationpb.Duration

func (*External1) GetPEnum1

func (x *External1) GetPEnum1() Month1

func (*External1) GetPEnum2

func (x *External1) GetPEnum2() Month2

func (*External1) GetPFixed32

func (x *External1) GetPFixed32() uint32

func (*External1) GetPFixed64

func (x *External1) GetPFixed64() uint64

func (*External1) GetPFloat

func (x *External1) GetPFloat() float32

func (*External1) GetPInt32

func (x *External1) GetPInt32() int32

func (*External1) GetPInt64

func (x *External1) GetPInt64() int64

func (*External1) GetPSfixed32

func (x *External1) GetPSfixed32() int32

func (*External1) GetPSfixed64

func (x *External1) GetPSfixed64() int64

func (*External1) GetPSint32

func (x *External1) GetPSint32() int32

func (*External1) GetPSint64

func (x *External1) GetPSint64() int64

func (*External1) GetPString

func (x *External1) GetPString() string

func (*External1) GetPTimestamp

func (x *External1) GetPTimestamp() *timestamppb.Timestamp

func (*External1) GetPUint32

func (x *External1) GetPUint32() uint32

func (*External1) GetPUint64

func (x *External1) GetPUint64() uint64

func (*External1) GetRAny

func (x *External1) GetRAny() []*anypb.Any

func (*External1) GetRBool

func (x *External1) GetRBool() []bool

func (*External1) GetRBytes

func (x *External1) GetRBytes() [][]byte

func (*External1) GetRDouble

func (x *External1) GetRDouble() []float64

func (*External1) GetRDuration

func (x *External1) GetRDuration() []*durationpb.Duration

func (*External1) GetREnum1

func (x *External1) GetREnum1() []Month1

func (*External1) GetREnum2

func (x *External1) GetREnum2() []Month2

func (*External1) GetRFixed32

func (x *External1) GetRFixed32() []uint32

func (*External1) GetRFixed64

func (x *External1) GetRFixed64() []uint64

func (*External1) GetRFloat

func (x *External1) GetRFloat() []float32

func (*External1) GetRInt32

func (x *External1) GetRInt32() []int32

func (*External1) GetRInt64

func (x *External1) GetRInt64() []int64

func (*External1) GetRSfixed32

func (x *External1) GetRSfixed32() []int32

func (*External1) GetRSfixed64

func (x *External1) GetRSfixed64() []int64

func (*External1) GetRSint32

func (x *External1) GetRSint32() []int32

func (*External1) GetRSint64

func (x *External1) GetRSint64() []int64

func (*External1) GetRString

func (x *External1) GetRString() []string

func (*External1) GetRTimestamp

func (x *External1) GetRTimestamp() []*timestamppb.Timestamp

func (*External1) GetRUint32

func (x *External1) GetRUint32() []uint32

func (*External1) GetRUint64

func (x *External1) GetRUint64() []uint64

func (*External1) GetTAny

func (x *External1) GetTAny() *anypb.Any

func (*External1) GetTBool

func (x *External1) GetTBool() bool

func (*External1) GetTBytes

func (x *External1) GetTBytes() []byte

func (*External1) GetTDouble

func (x *External1) GetTDouble() float64

func (*External1) GetTDuration

func (x *External1) GetTDuration() *durationpb.Duration

func (*External1) GetTEnum1

func (x *External1) GetTEnum1() Month1

func (*External1) GetTEnum2

func (x *External1) GetTEnum2() Month2

func (*External1) GetTFixed32

func (x *External1) GetTFixed32() uint32

func (*External1) GetTFixed64

func (x *External1) GetTFixed64() uint64

func (*External1) GetTFloat

func (x *External1) GetTFloat() float32

func (*External1) GetTInt32

func (x *External1) GetTInt32() int32

func (*External1) GetTInt64

func (x *External1) GetTInt64() int64

func (*External1) GetTSfixed32

func (x *External1) GetTSfixed32() int32

func (*External1) GetTSfixed64

func (x *External1) GetTSfixed64() int64

func (*External1) GetTSint32

func (x *External1) GetTSint32() int32

func (*External1) GetTSint64

func (x *External1) GetTSint64() int64

func (*External1) GetTString

func (x *External1) GetTString() string

func (*External1) GetTTimestamp

func (x *External1) GetTTimestamp() *timestamppb.Timestamp

func (*External1) GetTUint32

func (x *External1) GetTUint32() uint32

func (*External1) GetTUint64

func (x *External1) GetTUint64() uint64

func (*External1) ProtoMessage

func (*External1) ProtoMessage()

func (*External1) ProtoReflect

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

func (*External1) Reset

func (x *External1) Reset()

func (*External1) SetDefault

func (x *External1) SetDefault()

Set default value for message External1 that in file tests/proto/module/external.proto

func (*External1) String

func (x *External1) String() string

type External1_OAny

type External1_OAny struct {
	OAny *anypb.Any `protobuf:"bytes,216,opt,name=o_any,json=oAny,proto3,oneof"`
}

type External1_OBool

type External1_OBool struct {
	OBool bool `protobuf:"varint,211,opt,name=o_bool,json=oBool,proto3,oneof"`
}

type External1_OBytes

type External1_OBytes struct {
	OBytes []byte `protobuf:"bytes,213,opt,name=o_bytes,json=oBytes,proto3,oneof"`
}

type External1_ODouble

type External1_ODouble struct {
	ODouble float64 `protobuf:"fixed64,220,opt,name=o_double,json=oDouble,proto3,oneof"`
}

type External1_ODuration

type External1_ODuration struct {
	ODuration *durationpb.Duration `protobuf:"bytes,218,opt,name=o_duration,json=oDuration,proto3,oneof"`
}

type External1_OEnum1

type External1_OEnum1 struct {
	OEnum1 Month1 `protobuf:"varint,214,opt,name=o_enum1,json=oEnum1,proto3,enum=external.Month1,oneof"`
}

type External1_OEnum2

type External1_OEnum2 struct {
	OEnum2 Month2 `protobuf:"varint,215,opt,name=o_enum2,json=oEnum2,proto3,enum=external.Month2,oneof"`
}

type External1_OFixed32

type External1_OFixed32 struct {
	OFixed32 uint32 `protobuf:"fixed32,209,opt,name=o_fixed32,json=oFixed32,proto3,oneof"`
}

type External1_OFixed64

type External1_OFixed64 struct {
	OFixed64 uint64 `protobuf:"fixed64,210,opt,name=o_fixed64,json=oFixed64,proto3,oneof"`
}

type External1_OFloat

type External1_OFloat struct {
	OFloat float32 `protobuf:"fixed32,219,opt,name=o_float,json=oFloat,proto3,oneof"`
}

type External1_OInt32

type External1_OInt32 struct {
	OInt32 int32 `protobuf:"varint,201,opt,name=o_int32,json=oInt32,proto3,oneof"`
}

type External1_OInt64

type External1_OInt64 struct {
	OInt64 int64 `protobuf:"varint,204,opt,name=o_int64,json=oInt64,proto3,oneof"`
}

type External1_OSfixed32

type External1_OSfixed32 struct {
	OSfixed32 int32 `protobuf:"fixed32,203,opt,name=o_sfixed32,json=oSfixed32,proto3,oneof"`
}

type External1_OSfixed64

type External1_OSfixed64 struct {
	OSfixed64 int64 `protobuf:"fixed64,206,opt,name=o_sfixed64,json=oSfixed64,proto3,oneof"`
}

type External1_OSint32

type External1_OSint32 struct {
	OSint32 int32 `protobuf:"zigzag32,202,opt,name=o_sint32,json=oSint32,proto3,oneof"`
}

type External1_OSint64

type External1_OSint64 struct {
	OSint64 int64 `protobuf:"zigzag64,205,opt,name=o_sint64,json=oSint64,proto3,oneof"`
}

type External1_OString

type External1_OString struct {
	OString string `protobuf:"bytes,212,opt,name=o_string,json=oString,proto3,oneof"`
}

type External1_OTimestamp

type External1_OTimestamp struct {
	OTimestamp *timestamppb.Timestamp `protobuf:"bytes,217,opt,name=o_timestamp,json=oTimestamp,proto3,oneof"`
}

type External1_OUint32

type External1_OUint32 struct {
	OUint32 uint32 `protobuf:"varint,207,opt,name=o_uint32,json=oUint32,proto3,oneof"`
}

type External1_OUint64

type External1_OUint64 struct {
	OUint64 uint64 `protobuf:"varint,208,opt,name=o_uint64,json=oUint64,proto3,oneof"`
}

type External2

type External2 struct {
	P1 *External1                   `protobuf:"bytes,1,opt,name=p1,proto3" json:"p1,omitempty"`
	P2 *External2_Embed1            `protobuf:"bytes,2,opt,name=p2,proto3" json:"p2,omitempty"`
	R1 []*External1                 `protobuf:"bytes,11,rep,name=r1,proto3" json:"r1,omitempty"`
	R2 []*External2_Embed1          `protobuf:"bytes,12,rep,name=r2,proto3" json:"r2,omitempty"`
	M1 map[string]*External1        `` /* 146-byte string literal not displayed */
	M2 map[string]*External2_Embed1 `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*External2) Descriptor deprecated

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

Deprecated: Use External2.ProtoReflect.Descriptor instead.

func (*External2) GetM1

func (x *External2) GetM1() map[string]*External1

func (*External2) GetM2

func (x *External2) GetM2() map[string]*External2_Embed1

func (*External2) GetP1

func (x *External2) GetP1() *External1

func (*External2) GetP2

func (x *External2) GetP2() *External2_Embed1

func (*External2) GetR1

func (x *External2) GetR1() []*External1

func (*External2) GetR2

func (x *External2) GetR2() []*External2_Embed1

func (*External2) ProtoMessage

func (*External2) ProtoMessage()

func (*External2) ProtoReflect

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

func (*External2) Reset

func (x *External2) Reset()

func (*External2) SetDefault

func (x *External2) SetDefault()

Set default value for message External2 that in file tests/proto/module/external.proto

func (*External2) String

func (x *External2) String() string

type External2_Embed1

type External2_Embed1 struct {
	TString1 string `protobuf:"bytes,1,opt,name=t_string1,json=tString1,proto3" json:"t_string1,omitempty"`
	TString2 string `protobuf:"bytes,2,opt,name=t_string2,json=tString2,proto3" json:"t_string2,omitempty"`
	// contains filtered or unexported fields
}

func (*External2_Embed1) Descriptor deprecated

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

Deprecated: Use External2_Embed1.ProtoReflect.Descriptor instead.

func (*External2_Embed1) GetTString1

func (x *External2_Embed1) GetTString1() string

func (*External2_Embed1) GetTString2

func (x *External2_Embed1) GetTString2() string

func (*External2_Embed1) ProtoMessage

func (*External2_Embed1) ProtoMessage()

func (*External2_Embed1) ProtoReflect

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

func (*External2_Embed1) Reset

func (x *External2_Embed1) Reset()

func (*External2_Embed1) SetDefault

func (x *External2_Embed1) SetDefault()

Set default value for message Embed1 that in file tests/proto/module/external.proto

func (*External2_Embed1) String

func (x *External2_Embed1) String() string

type External3

type External3 struct {
	TString string `protobuf:"bytes,1,opt,name=t_string,json=tString,proto3" json:"t_string,omitempty"`
	// contains filtered or unexported fields
}

func (*External3) Descriptor deprecated

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

Deprecated: Use External3.ProtoReflect.Descriptor instead.

func (*External3) GetTString

func (x *External3) GetTString() string

func (*External3) ProtoMessage

func (*External3) ProtoMessage()

func (*External3) ProtoReflect

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

func (*External3) Reset

func (x *External3) Reset()

func (*External3) SetDefault

func (x *External3) SetDefault()

Set default value for message External3 that in file tests/proto/module/external.proto

func (*External3) String

func (x *External3) String() string

type Month1

type Month1 int32
const (
	Month1_Month1Unset Month1 = 0
	Month1_January     Month1 = 1
	Month1_February    Month1 = 3
	Month1_March       Month1 = 6
	Month1_April       Month1 = 9
	Month1_May         Month1 = 12
	Month1_June        Month1 = 15
)

func (Month1) Descriptor

func (Month1) Descriptor() protoreflect.EnumDescriptor

func (Month1) Enum

func (x Month1) Enum() *Month1

func (Month1) EnumDescriptor deprecated

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

Deprecated: Use Month1.Descriptor instead.

func (Month1) Number

func (x Month1) Number() protoreflect.EnumNumber

func (Month1) String

func (x Month1) String() string

func (Month1) Type

func (Month1) Type() protoreflect.EnumType

type Month2

type Month2 int32
const (
	Month2_Month2Unset Month2 = 0
	Month2_July        Month2 = 1
	Month2_August      Month2 = 3
	Month2_September   Month2 = 6
	Month2_October     Month2 = 9
	Month2_November    Month2 = 12
	Month2_December    Month2 = 15
)

func (Month2) Descriptor

func (Month2) Descriptor() protoreflect.EnumDescriptor

func (Month2) Enum

func (x Month2) Enum() *Month2

func (Month2) EnumDescriptor deprecated

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

Deprecated: Use Month2.Descriptor instead.

func (Month2) Number

func (x Month2) Number() protoreflect.EnumNumber

func (Month2) String

func (x Month2) String() string

func (Month2) Type

func (Month2) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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