Documentation ¶
Index ¶
- Variables
- type Config
- type Enum1
- type ListMessage1
- func (*ListMessage1) Descriptor() ([]byte, []int)deprecated
- func (x *ListMessage1) GetArrayBool() []bool
- func (x *ListMessage1) GetArrayBytes1() [][]byte
- func (x *ListMessage1) GetArrayBytes2() [][]byte
- func (x *ListMessage1) GetArrayConfig1() []*Config
- func (x *ListMessage1) GetArrayConfig2() []*Config
- func (x *ListMessage1) GetArrayDouble() []float64
- func (x *ListMessage1) GetArrayEnum1() []Enum1
- func (x *ListMessage1) GetArrayEnum2() []Enum1
- func (x *ListMessage1) GetArrayFixed32() []uint32
- func (x *ListMessage1) GetArrayFixed64() []uint64
- func (x *ListMessage1) GetArrayFloat() []float32
- func (x *ListMessage1) GetArrayInt32() []int32
- func (x *ListMessage1) GetArrayInt64() []int64
- func (x *ListMessage1) GetArraySfixed32() []int32
- func (x *ListMessage1) GetArraySfixed64() []int64
- func (x *ListMessage1) GetArraySint32() []int32
- func (x *ListMessage1) GetArraySint64() []int64
- func (x *ListMessage1) GetArrayString1() []string
- func (x *ListMessage1) GetArrayString2() []string
- func (x *ListMessage1) GetArrayString3() []string
- func (x *ListMessage1) GetArrayUint32() []uint32
- func (x *ListMessage1) GetArrayUint64() []uint64
- func (*ListMessage1) ProtoMessage()
- func (x *ListMessage1) ProtoReflect() protoreflect.Message
- func (x *ListMessage1) Reset()
- func (this *ListMessage1) SetDefaults()
- func (x *ListMessage1) String() string
- type LiteralMessage1
- func (*LiteralMessage1) Descriptor() ([]byte, []int)deprecated
- func (x *LiteralMessage1) GetTBool() bool
- func (x *LiteralMessage1) GetTBytes1() []byte
- func (x *LiteralMessage1) GetTBytes2() []byte
- func (x *LiteralMessage1) GetTConfig1() *Config
- func (x *LiteralMessage1) GetTConfig2() *Config
- func (x *LiteralMessage1) GetTDouble() float64
- func (x *LiteralMessage1) GetTEnum1() Enum1
- func (x *LiteralMessage1) GetTEnum2() Enum1
- func (x *LiteralMessage1) GetTFixed32() uint32
- func (x *LiteralMessage1) GetTFixed64() uint64
- func (x *LiteralMessage1) GetTFloat() float32
- func (x *LiteralMessage1) GetTInt32() int32
- func (x *LiteralMessage1) GetTInt64() int64
- func (x *LiteralMessage1) GetTSfixed32() int32
- func (x *LiteralMessage1) GetTSfixed64() int64
- func (x *LiteralMessage1) GetTSint32() int32
- func (x *LiteralMessage1) GetTSint64() int64
- func (x *LiteralMessage1) GetTString1() string
- func (x *LiteralMessage1) GetTString10() string
- func (x *LiteralMessage1) GetTString2() string
- func (x *LiteralMessage1) GetTString3() string
- func (x *LiteralMessage1) GetTString4() string
- func (x *LiteralMessage1) GetTString5() string
- func (x *LiteralMessage1) GetTString6() string
- func (x *LiteralMessage1) GetTString7() string
- func (x *LiteralMessage1) GetTString8() string
- func (x *LiteralMessage1) GetTString9() string
- func (x *LiteralMessage1) GetTUint32() uint32
- func (x *LiteralMessage1) GetTUint64() uint64
- func (*LiteralMessage1) ProtoMessage()
- func (x *LiteralMessage1) ProtoReflect() protoreflect.Message
- func (x *LiteralMessage1) Reset()
- func (this *LiteralMessage1) SetDefaults()
- func (x *LiteralMessage1) String() string
- type MapMessage1
- func (*MapMessage1) Descriptor() ([]byte, []int)deprecated
- func (x *MapMessage1) GetMapFixed32Int32() map[uint32]int32
- func (x *MapMessage1) GetMapFixed64Int32() map[uint64]int32
- func (x *MapMessage1) GetMapInt32Bool() map[int32]bool
- func (x *MapMessage1) GetMapInt32Bytes() map[int32][]byte
- func (x *MapMessage1) GetMapInt32Config() map[int32]*Config
- func (x *MapMessage1) GetMapInt32Double() map[int32]float64
- func (x *MapMessage1) GetMapInt32Enum1() map[int32]Enum1
- func (x *MapMessage1) GetMapInt32Enum2() map[int32]Enum1
- func (x *MapMessage1) GetMapInt32Fixed32() map[int32]uint32
- func (x *MapMessage1) GetMapInt32Fixed64() map[int32]uint64
- func (x *MapMessage1) GetMapInt32Float() map[int32]float32
- func (x *MapMessage1) GetMapInt32Int32() map[int32]int32
- func (x *MapMessage1) GetMapInt32Int64() map[int32]int64
- func (x *MapMessage1) GetMapInt32Sfixed32() map[int32]int32
- func (x *MapMessage1) GetMapInt32Sfixed64() map[int32]int64
- func (x *MapMessage1) GetMapInt32Sint32() map[int32]int32
- func (x *MapMessage1) GetMapInt32Sint64() map[int32]int64
- func (x *MapMessage1) GetMapInt32String() map[int32]string
- func (x *MapMessage1) GetMapInt32Uint32() map[int32]uint32
- func (x *MapMessage1) GetMapInt32Uint64() map[int32]uint64
- func (x *MapMessage1) GetMapInt64Int32() map[int64]int32
- func (x *MapMessage1) GetMapSfixed32Int32() map[int32]int32
- func (x *MapMessage1) GetMapSfixed64Int32() map[int64]int32
- func (x *MapMessage1) GetMapSint32Int32() map[int32]int32
- func (x *MapMessage1) GetMapSint64Int32() map[int64]int32
- func (x *MapMessage1) GetMapStringInt32() map[string]int32
- func (x *MapMessage1) GetMapStringString1() map[string]string
- func (x *MapMessage1) GetMapStringString2() map[string]string
- func (x *MapMessage1) GetMapStringString3() map[string]string
- func (x *MapMessage1) GetMapStringString4() map[string]string
- func (x *MapMessage1) GetMapUint32Int32() map[uint32]int32
- func (x *MapMessage1) GetMapUint64Int32() map[uint64]int32
- func (*MapMessage1) ProtoMessage()
- func (x *MapMessage1) ProtoReflect() protoreflect.Message
- func (x *MapMessage1) Reset()
- func (this *MapMessage1) SetDefaults()
- func (x *MapMessage1) String() string
- type OneofMessag1
- func (*OneofMessag1) Descriptor() ([]byte, []int)deprecated
- func (x *OneofMessag1) GetOneof1Bool() bool
- func (x *OneofMessag1) GetOneof1Bytes1() []byte
- func (x *OneofMessag1) GetOneof1Bytes2() []byte
- func (x *OneofMessag1) GetOneof1Bytes3() []byte
- func (x *OneofMessag1) GetOneof1Config1() *Config
- func (x *OneofMessag1) GetOneof1Config2() *Config
- func (x *OneofMessag1) GetOneof1Double() float64
- func (x *OneofMessag1) GetOneof1Enum1() Enum1
- func (x *OneofMessag1) GetOneof1Enum2() Enum1
- func (x *OneofMessag1) GetOneof1Fixed32() uint32
- func (x *OneofMessag1) GetOneof1Fixed64() uint64
- func (x *OneofMessag1) GetOneof1Float() float32
- func (x *OneofMessag1) GetOneof1Int32() int32
- func (x *OneofMessag1) GetOneof1Int64() int64
- func (x *OneofMessag1) GetOneof1Sfixed32() int32
- func (x *OneofMessag1) GetOneof1Sfixed64() int64
- func (x *OneofMessag1) GetOneof1Sint32() int32
- func (x *OneofMessag1) GetOneof1Sint64() int64
- func (x *OneofMessag1) GetOneof1String1() string
- func (x *OneofMessag1) GetOneof1String2() string
- func (x *OneofMessag1) GetOneof1String3() string
- func (x *OneofMessag1) GetOneof1String4() string
- func (x *OneofMessag1) GetOneof1String5() string
- func (x *OneofMessag1) GetOneof1String6() string
- func (x *OneofMessag1) GetOneof1String7() string
- func (x *OneofMessag1) GetOneof1String8() string
- func (x *OneofMessag1) GetOneof1String9() string
- func (x *OneofMessag1) GetOneof1Uint32() uint32
- func (x *OneofMessag1) GetOneof1Uint64() uint64
- func (x *OneofMessag1) GetOneof2Bool() bool
- func (x *OneofMessag1) GetOneof2Bytes1() []byte
- func (x *OneofMessag1) GetOneof2Bytes2() []byte
- func (x *OneofMessag1) GetOneof2Bytes3() []byte
- func (x *OneofMessag1) GetOneof2Config1() *Config
- func (x *OneofMessag1) GetOneof2Config2() *Config
- func (x *OneofMessag1) GetOneof2Double() float64
- func (x *OneofMessag1) GetOneof2Enum1() Enum1
- func (x *OneofMessag1) GetOneof2Enum2() Enum1
- func (x *OneofMessag1) GetOneof2Fixed32() uint32
- func (x *OneofMessag1) GetOneof2Fixed64() uint64
- func (x *OneofMessag1) GetOneof2Float() float32
- func (x *OneofMessag1) GetOneof2Int32() int32
- func (x *OneofMessag1) GetOneof2Int64() int64
- func (x *OneofMessag1) GetOneof2Sfixed32() int32
- func (x *OneofMessag1) GetOneof2Sfixed64() int64
- func (x *OneofMessag1) GetOneof2Sint32() int32
- func (x *OneofMessag1) GetOneof2Sint64() int64
- func (x *OneofMessag1) GetOneof2String1() string
- func (x *OneofMessag1) GetOneof2String2() string
- func (x *OneofMessag1) GetOneof2String3() string
- func (x *OneofMessag1) GetOneof2String4() string
- func (x *OneofMessag1) GetOneof2String5() string
- func (x *OneofMessag1) GetOneof2String6() string
- func (x *OneofMessag1) GetOneof2String7() string
- func (x *OneofMessag1) GetOneof2String8() string
- func (x *OneofMessag1) GetOneof2String9() string
- func (x *OneofMessag1) GetOneof2Uint32() uint32
- func (x *OneofMessag1) GetOneof2Uint64() uint64
- func (m *OneofMessag1) GetOneofTyp1() isOneofMessag1_OneofTyp1
- func (m *OneofMessag1) GetOneofTyp2() isOneofMessag1_OneofTyp2
- func (*OneofMessag1) ProtoMessage()
- func (x *OneofMessag1) ProtoReflect() protoreflect.Message
- func (x *OneofMessag1) Reset()
- func (this *OneofMessag1) SetDefaults()
- func (x *OneofMessag1) String() string
- type OneofMessag1_Oneof1Bool
- type OneofMessag1_Oneof1Bytes1
- type OneofMessag1_Oneof1Bytes2
- type OneofMessag1_Oneof1Bytes3
- type OneofMessag1_Oneof1Config1
- type OneofMessag1_Oneof1Config2
- type OneofMessag1_Oneof1Double
- type OneofMessag1_Oneof1Enum1
- type OneofMessag1_Oneof1Enum2
- type OneofMessag1_Oneof1Fixed32
- type OneofMessag1_Oneof1Fixed64
- type OneofMessag1_Oneof1Float
- type OneofMessag1_Oneof1Int32
- type OneofMessag1_Oneof1Int64
- type OneofMessag1_Oneof1Sfixed32
- type OneofMessag1_Oneof1Sfixed64
- type OneofMessag1_Oneof1Sint32
- type OneofMessag1_Oneof1Sint64
- type OneofMessag1_Oneof1String1
- type OneofMessag1_Oneof1String2
- type OneofMessag1_Oneof1String3
- type OneofMessag1_Oneof1String4
- type OneofMessag1_Oneof1String5
- type OneofMessag1_Oneof1String6
- type OneofMessag1_Oneof1String7
- type OneofMessag1_Oneof1String8
- type OneofMessag1_Oneof1String9
- type OneofMessag1_Oneof1Uint32
- type OneofMessag1_Oneof1Uint64
- type OneofMessag1_Oneof2Bool
- type OneofMessag1_Oneof2Bytes1
- type OneofMessag1_Oneof2Bytes2
- type OneofMessag1_Oneof2Bytes3
- type OneofMessag1_Oneof2Config1
- type OneofMessag1_Oneof2Config2
- type OneofMessag1_Oneof2Double
- type OneofMessag1_Oneof2Enum1
- type OneofMessag1_Oneof2Enum2
- type OneofMessag1_Oneof2Fixed32
- type OneofMessag1_Oneof2Fixed64
- type OneofMessag1_Oneof2Float
- type OneofMessag1_Oneof2Int32
- type OneofMessag1_Oneof2Int64
- type OneofMessag1_Oneof2Sfixed32
- type OneofMessag1_Oneof2Sfixed64
- type OneofMessag1_Oneof2Sint32
- type OneofMessag1_Oneof2Sint64
- type OneofMessag1_Oneof2String1
- type OneofMessag1_Oneof2String2
- type OneofMessag1_Oneof2String3
- type OneofMessag1_Oneof2String4
- type OneofMessag1_Oneof2String5
- type OneofMessag1_Oneof2String6
- type OneofMessag1_Oneof2String7
- type OneofMessag1_Oneof2String8
- type OneofMessag1_Oneof2String9
- type OneofMessag1_Oneof2Uint32
- type OneofMessag1_Oneof2Uint64
- type OptionalMessage1
- func (*OptionalMessage1) Descriptor() ([]byte, []int)deprecated
- func (x *OptionalMessage1) GetTBool() bool
- func (x *OptionalMessage1) GetTBytes1() []byte
- func (x *OptionalMessage1) GetTBytes2() []byte
- func (x *OptionalMessage1) GetTConfig1() *Config
- func (x *OptionalMessage1) GetTConfig2() *Config
- func (x *OptionalMessage1) GetTDouble() float64
- func (x *OptionalMessage1) GetTEnum1() Enum1
- func (x *OptionalMessage1) GetTEnum2() Enum1
- func (x *OptionalMessage1) GetTFixed32() uint32
- func (x *OptionalMessage1) GetTFixed64() uint64
- func (x *OptionalMessage1) GetTFloat() float32
- func (x *OptionalMessage1) GetTInt32() int32
- func (x *OptionalMessage1) GetTInt64() int64
- func (x *OptionalMessage1) GetTSfixed32() int32
- func (x *OptionalMessage1) GetTSfixed64() int64
- func (x *OptionalMessage1) GetTSint32() int32
- func (x *OptionalMessage1) GetTSint64() int64
- func (x *OptionalMessage1) GetTString1() string
- func (x *OptionalMessage1) GetTString10() string
- func (x *OptionalMessage1) GetTString2() string
- func (x *OptionalMessage1) GetTString3() string
- func (x *OptionalMessage1) GetTString4() string
- func (x *OptionalMessage1) GetTString5() string
- func (x *OptionalMessage1) GetTString6() string
- func (x *OptionalMessage1) GetTString7() string
- func (x *OptionalMessage1) GetTString8() string
- func (x *OptionalMessage1) GetTString9() string
- func (x *OptionalMessage1) GetTUint32() uint32
- func (x *OptionalMessage1) GetTUint64() uint64
- func (*OptionalMessage1) ProtoMessage()
- func (x *OptionalMessage1) ProtoReflect() protoreflect.Message
- func (x *OptionalMessage1) Reset()
- func (this *OptionalMessage1) SetDefaults()
- func (x *OptionalMessage1) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Enum1_name = map[int32]string{ 0: "January", 1: "February", 2: "March", 3: "April", 4: "May", 8: "June", } Enum1_value = map[string]int32{ "January": 0, "February": 1, "March": 2, "April": 3, "May": 4, "June": 8, } )
Enum value maps for Enum1.
var File_tests_godefaultstest_godefaults_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
func (*Config) SetDefaults ¶
func (this *Config) SetDefaults()
Set default value for message godefaultstest.Config
type Enum1 ¶
type Enum1 int32
func (Enum1) Descriptor ¶
func (Enum1) Descriptor() protoreflect.EnumDescriptor
func (Enum1) EnumDescriptor
deprecated
func (Enum1) Number ¶
func (x Enum1) Number() protoreflect.EnumNumber
func (Enum1) Type ¶
func (Enum1) Type() protoreflect.EnumType
type ListMessage1 ¶
type ListMessage1 struct { ArrayString1 []string `protobuf:"bytes,1,rep,name=array_string1,json=arrayString1,proto3" json:"array_string1,omitempty"` ArrayString2 []string `protobuf:"bytes,2,rep,name=array_string2,json=arrayString2,proto3" json:"array_string2,omitempty"` ArrayString3 []string `protobuf:"bytes,3,rep,name=array_string3,json=arrayString3,proto3" json:"array_string3,omitempty"` ArrayDouble []float64 `protobuf:"fixed64,101,rep,packed,name=array_double,json=arrayDouble,proto3" json:"array_double,omitempty"` ArrayFloat []float32 `protobuf:"fixed32,102,rep,packed,name=array_float,json=arrayFloat,proto3" json:"array_float,omitempty"` ArrayInt32 []int32 `protobuf:"varint,103,rep,packed,name=array_int32,json=arrayInt32,proto3" json:"array_int32,omitempty"` ArrayInt64 []int64 `protobuf:"varint,104,rep,packed,name=array_int64,json=arrayInt64,proto3" json:"array_int64,omitempty"` ArrayUint32 []uint32 `protobuf:"varint,105,rep,packed,name=array_uint32,json=arrayUint32,proto3" json:"array_uint32,omitempty"` ArrayUint64 []uint64 `protobuf:"varint,106,rep,packed,name=array_uint64,json=arrayUint64,proto3" json:"array_uint64,omitempty"` ArraySint32 []int32 `protobuf:"zigzag32,107,rep,packed,name=array_sint32,json=arraySint32,proto3" json:"array_sint32,omitempty"` ArraySint64 []int64 `protobuf:"zigzag64,108,rep,packed,name=array_sint64,json=arraySint64,proto3" json:"array_sint64,omitempty"` ArraySfixed32 []int32 `protobuf:"fixed32,109,rep,packed,name=array_sfixed32,json=arraySfixed32,proto3" json:"array_sfixed32,omitempty"` ArraySfixed64 []int64 `protobuf:"fixed64,110,rep,packed,name=array_sfixed64,json=arraySfixed64,proto3" json:"array_sfixed64,omitempty"` ArrayFixed32 []uint32 `protobuf:"fixed32,111,rep,packed,name=array_fixed32,json=arrayFixed32,proto3" json:"array_fixed32,omitempty"` ArrayFixed64 []uint64 `protobuf:"fixed64,112,rep,packed,name=array_fixed64,json=arrayFixed64,proto3" json:"array_fixed64,omitempty"` ArrayBool []bool `protobuf:"varint,113,rep,packed,name=array_bool,json=arrayBool,proto3" json:"array_bool,omitempty"` ArrayBytes1 [][]byte `protobuf:"bytes,114,rep,name=array_bytes1,json=arrayBytes1,proto3" json:"array_bytes1,omitempty"` ArrayBytes2 [][]byte `protobuf:"bytes,115,rep,name=array_bytes2,json=arrayBytes2,proto3" json:"array_bytes2,omitempty"` ArrayEnum1 []Enum1 `` /* 127-byte string literal not displayed */ ArrayEnum2 []Enum1 `` /* 127-byte string literal not displayed */ ArrayConfig1 []*Config `protobuf:"bytes,118,rep,name=array_config1,json=arrayConfig1,proto3" json:"array_config1,omitempty"` ArrayConfig2 []*Config `protobuf:"bytes,119,rep,name=array_config2,json=arrayConfig2,proto3" json:"array_config2,omitempty"` // contains filtered or unexported fields }
func (*ListMessage1) Descriptor
deprecated
func (*ListMessage1) Descriptor() ([]byte, []int)
Deprecated: Use ListMessage1.ProtoReflect.Descriptor instead.
func (*ListMessage1) GetArrayBool ¶
func (x *ListMessage1) GetArrayBool() []bool
func (*ListMessage1) GetArrayBytes1 ¶
func (x *ListMessage1) GetArrayBytes1() [][]byte
func (*ListMessage1) GetArrayBytes2 ¶
func (x *ListMessage1) GetArrayBytes2() [][]byte
func (*ListMessage1) GetArrayConfig1 ¶
func (x *ListMessage1) GetArrayConfig1() []*Config
func (*ListMessage1) GetArrayConfig2 ¶
func (x *ListMessage1) GetArrayConfig2() []*Config
func (*ListMessage1) GetArrayDouble ¶
func (x *ListMessage1) GetArrayDouble() []float64
func (*ListMessage1) GetArrayEnum1 ¶
func (x *ListMessage1) GetArrayEnum1() []Enum1
func (*ListMessage1) GetArrayEnum2 ¶
func (x *ListMessage1) GetArrayEnum2() []Enum1
func (*ListMessage1) GetArrayFixed32 ¶
func (x *ListMessage1) GetArrayFixed32() []uint32
func (*ListMessage1) GetArrayFixed64 ¶
func (x *ListMessage1) GetArrayFixed64() []uint64
func (*ListMessage1) GetArrayFloat ¶
func (x *ListMessage1) GetArrayFloat() []float32
func (*ListMessage1) GetArrayInt32 ¶
func (x *ListMessage1) GetArrayInt32() []int32
func (*ListMessage1) GetArrayInt64 ¶
func (x *ListMessage1) GetArrayInt64() []int64
func (*ListMessage1) GetArraySfixed32 ¶
func (x *ListMessage1) GetArraySfixed32() []int32
func (*ListMessage1) GetArraySfixed64 ¶
func (x *ListMessage1) GetArraySfixed64() []int64
func (*ListMessage1) GetArraySint32 ¶
func (x *ListMessage1) GetArraySint32() []int32
func (*ListMessage1) GetArraySint64 ¶
func (x *ListMessage1) GetArraySint64() []int64
func (*ListMessage1) GetArrayString1 ¶
func (x *ListMessage1) GetArrayString1() []string
func (*ListMessage1) GetArrayString2 ¶
func (x *ListMessage1) GetArrayString2() []string
func (*ListMessage1) GetArrayString3 ¶
func (x *ListMessage1) GetArrayString3() []string
func (*ListMessage1) GetArrayUint32 ¶
func (x *ListMessage1) GetArrayUint32() []uint32
func (*ListMessage1) GetArrayUint64 ¶
func (x *ListMessage1) GetArrayUint64() []uint64
func (*ListMessage1) ProtoMessage ¶
func (*ListMessage1) ProtoMessage()
func (*ListMessage1) ProtoReflect ¶
func (x *ListMessage1) ProtoReflect() protoreflect.Message
func (*ListMessage1) Reset ¶
func (x *ListMessage1) Reset()
func (*ListMessage1) SetDefaults ¶
func (this *ListMessage1) SetDefaults()
Set default value for message godefaultstest.ListMessage1
func (*ListMessage1) String ¶
func (x *ListMessage1) String() string
type LiteralMessage1 ¶
type LiteralMessage1 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"` TString3 string `protobuf:"bytes,3,opt,name=t_string3,json=tString3,proto3" json:"t_string3,omitempty"` TString4 string `protobuf:"bytes,4,opt,name=t_string4,json=tString4,proto3" json:"t_string4,omitempty"` TString5 string `protobuf:"bytes,5,opt,name=t_string5,json=tString5,proto3" json:"t_string5,omitempty"` TString6 string `protobuf:"bytes,6,opt,name=t_string6,json=tString6,proto3" json:"t_string6,omitempty"` TString7 string `protobuf:"bytes,7,opt,name=t_string7,json=tString7,proto3" json:"t_string7,omitempty"` TString8 string `protobuf:"bytes,8,opt,name=t_string8,json=tString8,proto3" json:"t_string8,omitempty"` TString9 string `protobuf:"bytes,9,opt,name=t_string9,json=tString9,proto3" json:"t_string9,omitempty"` TString10 string `protobuf:"bytes,10,opt,name=t_string10,json=tString10,proto3" json:"t_string10,omitempty"` TInt32 int32 `protobuf:"varint,101,opt,name=t_int32,json=tInt32,proto3" json:"t_int32,omitempty"` TInt64 int64 `protobuf:"varint,102,opt,name=t_int64,json=tInt64,proto3" json:"t_int64,omitempty"` TUint32 uint32 `protobuf:"varint,103,opt,name=t_uint32,json=tUint32,proto3" json:"t_uint32,omitempty"` TUint64 uint64 `protobuf:"varint,104,opt,name=t_uint64,json=tUint64,proto3" json:"t_uint64,omitempty"` TSint32 int32 `protobuf:"zigzag32,105,opt,name=t_sint32,json=tSint32,proto3" json:"t_sint32,omitempty"` TSint64 int64 `protobuf:"zigzag64,106,opt,name=t_sint64,json=tSint64,proto3" json:"t_sint64,omitempty"` TSfixed32 int32 `protobuf:"fixed32,107,opt,name=t_sfixed32,json=tSfixed32,proto3" json:"t_sfixed32,omitempty"` TSfixed64 int64 `protobuf:"fixed64,108,opt,name=t_sfixed64,json=tSfixed64,proto3" json:"t_sfixed64,omitempty"` TFixed32 uint32 `protobuf:"fixed32,109,opt,name=t_fixed32,json=tFixed32,proto3" json:"t_fixed32,omitempty"` TFixed64 uint64 `protobuf:"fixed64,110,opt,name=t_fixed64,json=tFixed64,proto3" json:"t_fixed64,omitempty"` TFloat float32 `protobuf:"fixed32,111,opt,name=t_float,json=tFloat,proto3" json:"t_float,omitempty"` TDouble float64 `protobuf:"fixed64,112,opt,name=t_double,json=tDouble,proto3" json:"t_double,omitempty"` TBool bool `protobuf:"varint,113,opt,name=t_bool,json=tBool,proto3" json:"t_bool,omitempty"` TBytes1 []byte `protobuf:"bytes,114,opt,name=t_bytes1,json=tBytes1,proto3" json:"t_bytes1,omitempty"` TBytes2 []byte `protobuf:"bytes,115,opt,name=t_bytes2,json=tBytes2,proto3" json:"t_bytes2,omitempty"` TEnum1 Enum1 `protobuf:"varint,116,opt,name=t_enum1,json=tEnum1,proto3,enum=godefaultstest.Enum1" json:"t_enum1,omitempty"` TEnum2 Enum1 `protobuf:"varint,117,opt,name=t_enum2,json=tEnum2,proto3,enum=godefaultstest.Enum1" json:"t_enum2,omitempty"` TConfig1 *Config `protobuf:"bytes,118,opt,name=t_config1,json=tConfig1,proto3" json:"t_config1,omitempty"` TConfig2 *Config `protobuf:"bytes,119,opt,name=t_config2,json=tConfig2,proto3" json:"t_config2,omitempty"` // contains filtered or unexported fields }
func (*LiteralMessage1) Descriptor
deprecated
func (*LiteralMessage1) Descriptor() ([]byte, []int)
Deprecated: Use LiteralMessage1.ProtoReflect.Descriptor instead.
func (*LiteralMessage1) GetTBool ¶
func (x *LiteralMessage1) GetTBool() bool
func (*LiteralMessage1) GetTBytes1 ¶
func (x *LiteralMessage1) GetTBytes1() []byte
func (*LiteralMessage1) GetTBytes2 ¶
func (x *LiteralMessage1) GetTBytes2() []byte
func (*LiteralMessage1) GetTConfig1 ¶
func (x *LiteralMessage1) GetTConfig1() *Config
func (*LiteralMessage1) GetTConfig2 ¶
func (x *LiteralMessage1) GetTConfig2() *Config
func (*LiteralMessage1) GetTDouble ¶
func (x *LiteralMessage1) GetTDouble() float64
func (*LiteralMessage1) GetTEnum1 ¶
func (x *LiteralMessage1) GetTEnum1() Enum1
func (*LiteralMessage1) GetTEnum2 ¶
func (x *LiteralMessage1) GetTEnum2() Enum1
func (*LiteralMessage1) GetTFixed32 ¶
func (x *LiteralMessage1) GetTFixed32() uint32
func (*LiteralMessage1) GetTFixed64 ¶
func (x *LiteralMessage1) GetTFixed64() uint64
func (*LiteralMessage1) GetTFloat ¶
func (x *LiteralMessage1) GetTFloat() float32
func (*LiteralMessage1) GetTInt32 ¶
func (x *LiteralMessage1) GetTInt32() int32
func (*LiteralMessage1) GetTInt64 ¶
func (x *LiteralMessage1) GetTInt64() int64
func (*LiteralMessage1) GetTSfixed32 ¶
func (x *LiteralMessage1) GetTSfixed32() int32
func (*LiteralMessage1) GetTSfixed64 ¶
func (x *LiteralMessage1) GetTSfixed64() int64
func (*LiteralMessage1) GetTSint32 ¶
func (x *LiteralMessage1) GetTSint32() int32
func (*LiteralMessage1) GetTSint64 ¶
func (x *LiteralMessage1) GetTSint64() int64
func (*LiteralMessage1) GetTString1 ¶
func (x *LiteralMessage1) GetTString1() string
func (*LiteralMessage1) GetTString10 ¶
func (x *LiteralMessage1) GetTString10() string
func (*LiteralMessage1) GetTString2 ¶
func (x *LiteralMessage1) GetTString2() string
func (*LiteralMessage1) GetTString3 ¶
func (x *LiteralMessage1) GetTString3() string
func (*LiteralMessage1) GetTString4 ¶
func (x *LiteralMessage1) GetTString4() string
func (*LiteralMessage1) GetTString5 ¶
func (x *LiteralMessage1) GetTString5() string
func (*LiteralMessage1) GetTString6 ¶
func (x *LiteralMessage1) GetTString6() string
func (*LiteralMessage1) GetTString7 ¶
func (x *LiteralMessage1) GetTString7() string
func (*LiteralMessage1) GetTString8 ¶
func (x *LiteralMessage1) GetTString8() string
func (*LiteralMessage1) GetTString9 ¶
func (x *LiteralMessage1) GetTString9() string
func (*LiteralMessage1) GetTUint32 ¶
func (x *LiteralMessage1) GetTUint32() uint32
func (*LiteralMessage1) GetTUint64 ¶
func (x *LiteralMessage1) GetTUint64() uint64
func (*LiteralMessage1) ProtoMessage ¶
func (*LiteralMessage1) ProtoMessage()
func (*LiteralMessage1) ProtoReflect ¶
func (x *LiteralMessage1) ProtoReflect() protoreflect.Message
func (*LiteralMessage1) Reset ¶
func (x *LiteralMessage1) Reset()
func (*LiteralMessage1) SetDefaults ¶
func (this *LiteralMessage1) SetDefaults()
Set default value for message godefaultstest.LiteralMessage1
func (*LiteralMessage1) String ¶
func (x *LiteralMessage1) String() string
type MapMessage1 ¶
type MapMessage1 struct { MapStringString1 map[string]string `` /* 199-byte string literal not displayed */ MapStringString2 map[string]string `` /* 199-byte string literal not displayed */ MapStringString3 map[string]string `` /* 199-byte string literal not displayed */ MapStringString4 map[string]string `` /* 199-byte string literal not displayed */ MapInt32Double map[int32]float64 `` /* 198-byte string literal not displayed */ MapInt32Float map[int32]float32 `` /* 195-byte string literal not displayed */ MapInt32Int32 map[int32]int32 `` /* 194-byte string literal not displayed */ MapInt32Int64 map[int32]int64 `` /* 194-byte string literal not displayed */ MapInt32Uint32 map[int32]uint32 `` /* 197-byte string literal not displayed */ MapInt32Uint64 map[int32]uint64 `` /* 197-byte string literal not displayed */ MapInt32Sint32 map[int32]int32 `` /* 199-byte string literal not displayed */ MapInt32Sint64 map[int32]int64 `` /* 199-byte string literal not displayed */ MapInt32Sfixed32 map[int32]int32 `` /* 204-byte string literal not displayed */ MapInt32Sfixed64 map[int32]int64 `` /* 204-byte string literal not displayed */ MapInt32Fixed32 map[int32]uint32 `` /* 201-byte string literal not displayed */ MapInt32Fixed64 map[int32]uint64 `` /* 201-byte string literal not displayed */ MapInt32Bool map[int32]bool `` /* 191-byte string literal not displayed */ MapInt32String map[int32]string `` /* 196-byte string literal not displayed */ MapInt32Bytes map[int32][]byte `` /* 193-byte string literal not displayed */ MapInt32Enum1 map[int32]Enum1 `` /* 220-byte string literal not displayed */ MapInt32Enum2 map[int32]Enum1 `` /* 220-byte string literal not displayed */ MapInt32Config map[int32]*Config `` /* 196-byte string literal not displayed */ MapInt64Int32 map[int64]int32 `` /* 194-byte string literal not displayed */ MapUint32Int32 map[uint32]int32 `` /* 197-byte string literal not displayed */ MapUint64Int32 map[uint64]int32 `` /* 197-byte string literal not displayed */ MapSint32Int32 map[int32]int32 `` /* 199-byte string literal not displayed */ MapSint64Int32 map[int64]int32 `` /* 199-byte string literal not displayed */ MapFixed32Int32 map[uint32]int32 `` /* 201-byte string literal not displayed */ MapFixed64Int32 map[uint64]int32 `` /* 201-byte string literal not displayed */ MapSfixed32Int32 map[int32]int32 `` /* 204-byte string literal not displayed */ MapSfixed64Int32 map[int64]int32 `` /* 204-byte string literal not displayed */ MapStringInt32 map[string]int32 `` /* 196-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MapMessage1) Descriptor
deprecated
func (*MapMessage1) Descriptor() ([]byte, []int)
Deprecated: Use MapMessage1.ProtoReflect.Descriptor instead.
func (*MapMessage1) GetMapFixed32Int32 ¶
func (x *MapMessage1) GetMapFixed32Int32() map[uint32]int32
func (*MapMessage1) GetMapFixed64Int32 ¶
func (x *MapMessage1) GetMapFixed64Int32() map[uint64]int32
func (*MapMessage1) GetMapInt32Bool ¶
func (x *MapMessage1) GetMapInt32Bool() map[int32]bool
func (*MapMessage1) GetMapInt32Bytes ¶
func (x *MapMessage1) GetMapInt32Bytes() map[int32][]byte
func (*MapMessage1) GetMapInt32Config ¶
func (x *MapMessage1) GetMapInt32Config() map[int32]*Config
func (*MapMessage1) GetMapInt32Double ¶
func (x *MapMessage1) GetMapInt32Double() map[int32]float64
func (*MapMessage1) GetMapInt32Enum1 ¶
func (x *MapMessage1) GetMapInt32Enum1() map[int32]Enum1
func (*MapMessage1) GetMapInt32Enum2 ¶
func (x *MapMessage1) GetMapInt32Enum2() map[int32]Enum1
func (*MapMessage1) GetMapInt32Fixed32 ¶
func (x *MapMessage1) GetMapInt32Fixed32() map[int32]uint32
func (*MapMessage1) GetMapInt32Fixed64 ¶
func (x *MapMessage1) GetMapInt32Fixed64() map[int32]uint64
func (*MapMessage1) GetMapInt32Float ¶
func (x *MapMessage1) GetMapInt32Float() map[int32]float32
func (*MapMessage1) GetMapInt32Int32 ¶
func (x *MapMessage1) GetMapInt32Int32() map[int32]int32
func (*MapMessage1) GetMapInt32Int64 ¶
func (x *MapMessage1) GetMapInt32Int64() map[int32]int64
func (*MapMessage1) GetMapInt32Sfixed32 ¶
func (x *MapMessage1) GetMapInt32Sfixed32() map[int32]int32
func (*MapMessage1) GetMapInt32Sfixed64 ¶
func (x *MapMessage1) GetMapInt32Sfixed64() map[int32]int64
func (*MapMessage1) GetMapInt32Sint32 ¶
func (x *MapMessage1) GetMapInt32Sint32() map[int32]int32
func (*MapMessage1) GetMapInt32Sint64 ¶
func (x *MapMessage1) GetMapInt32Sint64() map[int32]int64
func (*MapMessage1) GetMapInt32String ¶
func (x *MapMessage1) GetMapInt32String() map[int32]string
func (*MapMessage1) GetMapInt32Uint32 ¶
func (x *MapMessage1) GetMapInt32Uint32() map[int32]uint32
func (*MapMessage1) GetMapInt32Uint64 ¶
func (x *MapMessage1) GetMapInt32Uint64() map[int32]uint64
func (*MapMessage1) GetMapInt64Int32 ¶
func (x *MapMessage1) GetMapInt64Int32() map[int64]int32
func (*MapMessage1) GetMapSfixed32Int32 ¶
func (x *MapMessage1) GetMapSfixed32Int32() map[int32]int32
func (*MapMessage1) GetMapSfixed64Int32 ¶
func (x *MapMessage1) GetMapSfixed64Int32() map[int64]int32
func (*MapMessage1) GetMapSint32Int32 ¶
func (x *MapMessage1) GetMapSint32Int32() map[int32]int32
func (*MapMessage1) GetMapSint64Int32 ¶
func (x *MapMessage1) GetMapSint64Int32() map[int64]int32
func (*MapMessage1) GetMapStringInt32 ¶
func (x *MapMessage1) GetMapStringInt32() map[string]int32
func (*MapMessage1) GetMapStringString1 ¶
func (x *MapMessage1) GetMapStringString1() map[string]string
func (*MapMessage1) GetMapStringString2 ¶
func (x *MapMessage1) GetMapStringString2() map[string]string
func (*MapMessage1) GetMapStringString3 ¶
func (x *MapMessage1) GetMapStringString3() map[string]string
func (*MapMessage1) GetMapStringString4 ¶
func (x *MapMessage1) GetMapStringString4() map[string]string
func (*MapMessage1) GetMapUint32Int32 ¶
func (x *MapMessage1) GetMapUint32Int32() map[uint32]int32
func (*MapMessage1) GetMapUint64Int32 ¶
func (x *MapMessage1) GetMapUint64Int32() map[uint64]int32
func (*MapMessage1) ProtoMessage ¶
func (*MapMessage1) ProtoMessage()
func (*MapMessage1) ProtoReflect ¶
func (x *MapMessage1) ProtoReflect() protoreflect.Message
func (*MapMessage1) Reset ¶
func (x *MapMessage1) Reset()
func (*MapMessage1) SetDefaults ¶
func (this *MapMessage1) SetDefaults()
Set default value for message godefaultstest.MapMessage1
func (*MapMessage1) String ¶
func (x *MapMessage1) String() string
type OneofMessag1 ¶
type OneofMessag1 struct { // Types that are assignable to OneofTyp1: // *OneofMessag1_Oneof1String1 // *OneofMessag1_Oneof1String2 // *OneofMessag1_Oneof1String3 // *OneofMessag1_Oneof1String4 // *OneofMessag1_Oneof1String5 // *OneofMessag1_Oneof1String6 // *OneofMessag1_Oneof1String7 // *OneofMessag1_Oneof1String8 // *OneofMessag1_Oneof1String9 // *OneofMessag1_Oneof1Double // *OneofMessag1_Oneof1Float // *OneofMessag1_Oneof1Int32 // *OneofMessag1_Oneof1Int64 // *OneofMessag1_Oneof1Uint32 // *OneofMessag1_Oneof1Uint64 // *OneofMessag1_Oneof1Sint32 // *OneofMessag1_Oneof1Sint64 // *OneofMessag1_Oneof1Fixed32 // *OneofMessag1_Oneof1Fixed64 // *OneofMessag1_Oneof1Sfixed32 // *OneofMessag1_Oneof1Sfixed64 // *OneofMessag1_Oneof1Bool // *OneofMessag1_Oneof1Bytes1 // *OneofMessag1_Oneof1Bytes2 // *OneofMessag1_Oneof1Bytes3 // *OneofMessag1_Oneof1Enum1 // *OneofMessag1_Oneof1Enum2 // *OneofMessag1_Oneof1Config1 // *OneofMessag1_Oneof1Config2 OneofTyp1 isOneofMessag1_OneofTyp1 `protobuf_oneof:"oneof_typ1"` // Types that are assignable to OneofTyp2: // *OneofMessag1_Oneof2String1 // *OneofMessag1_Oneof2String2 // *OneofMessag1_Oneof2String3 // *OneofMessag1_Oneof2String4 // *OneofMessag1_Oneof2String5 // *OneofMessag1_Oneof2String6 // *OneofMessag1_Oneof2String7 // *OneofMessag1_Oneof2String8 // *OneofMessag1_Oneof2String9 // *OneofMessag1_Oneof2Double // *OneofMessag1_Oneof2Float // *OneofMessag1_Oneof2Int32 // *OneofMessag1_Oneof2Int64 // *OneofMessag1_Oneof2Uint32 // *OneofMessag1_Oneof2Uint64 // *OneofMessag1_Oneof2Sint32 // *OneofMessag1_Oneof2Sint64 // *OneofMessag1_Oneof2Fixed32 // *OneofMessag1_Oneof2Fixed64 // *OneofMessag1_Oneof2Sfixed32 // *OneofMessag1_Oneof2Sfixed64 // *OneofMessag1_Oneof2Bool // *OneofMessag1_Oneof2Bytes1 // *OneofMessag1_Oneof2Bytes2 // *OneofMessag1_Oneof2Bytes3 // *OneofMessag1_Oneof2Enum1 // *OneofMessag1_Oneof2Enum2 // *OneofMessag1_Oneof2Config1 // *OneofMessag1_Oneof2Config2 OneofTyp2 isOneofMessag1_OneofTyp2 `protobuf_oneof:"oneof_typ2"` // contains filtered or unexported fields }
func (*OneofMessag1) Descriptor
deprecated
func (*OneofMessag1) Descriptor() ([]byte, []int)
Deprecated: Use OneofMessag1.ProtoReflect.Descriptor instead.
func (*OneofMessag1) GetOneof1Bool ¶
func (x *OneofMessag1) GetOneof1Bool() bool
func (*OneofMessag1) GetOneof1Bytes1 ¶
func (x *OneofMessag1) GetOneof1Bytes1() []byte
func (*OneofMessag1) GetOneof1Bytes2 ¶
func (x *OneofMessag1) GetOneof1Bytes2() []byte
func (*OneofMessag1) GetOneof1Bytes3 ¶
func (x *OneofMessag1) GetOneof1Bytes3() []byte
func (*OneofMessag1) GetOneof1Config1 ¶
func (x *OneofMessag1) GetOneof1Config1() *Config
func (*OneofMessag1) GetOneof1Config2 ¶
func (x *OneofMessag1) GetOneof1Config2() *Config
func (*OneofMessag1) GetOneof1Double ¶
func (x *OneofMessag1) GetOneof1Double() float64
func (*OneofMessag1) GetOneof1Enum1 ¶
func (x *OneofMessag1) GetOneof1Enum1() Enum1
func (*OneofMessag1) GetOneof1Enum2 ¶
func (x *OneofMessag1) GetOneof1Enum2() Enum1
func (*OneofMessag1) GetOneof1Fixed32 ¶
func (x *OneofMessag1) GetOneof1Fixed32() uint32
func (*OneofMessag1) GetOneof1Fixed64 ¶
func (x *OneofMessag1) GetOneof1Fixed64() uint64
func (*OneofMessag1) GetOneof1Float ¶
func (x *OneofMessag1) GetOneof1Float() float32
func (*OneofMessag1) GetOneof1Int32 ¶
func (x *OneofMessag1) GetOneof1Int32() int32
func (*OneofMessag1) GetOneof1Int64 ¶
func (x *OneofMessag1) GetOneof1Int64() int64
func (*OneofMessag1) GetOneof1Sfixed32 ¶
func (x *OneofMessag1) GetOneof1Sfixed32() int32
func (*OneofMessag1) GetOneof1Sfixed64 ¶
func (x *OneofMessag1) GetOneof1Sfixed64() int64
func (*OneofMessag1) GetOneof1Sint32 ¶
func (x *OneofMessag1) GetOneof1Sint32() int32
func (*OneofMessag1) GetOneof1Sint64 ¶
func (x *OneofMessag1) GetOneof1Sint64() int64
func (*OneofMessag1) GetOneof1String1 ¶
func (x *OneofMessag1) GetOneof1String1() string
func (*OneofMessag1) GetOneof1String2 ¶
func (x *OneofMessag1) GetOneof1String2() string
func (*OneofMessag1) GetOneof1String3 ¶
func (x *OneofMessag1) GetOneof1String3() string
func (*OneofMessag1) GetOneof1String4 ¶
func (x *OneofMessag1) GetOneof1String4() string
func (*OneofMessag1) GetOneof1String5 ¶
func (x *OneofMessag1) GetOneof1String5() string
func (*OneofMessag1) GetOneof1String6 ¶
func (x *OneofMessag1) GetOneof1String6() string
func (*OneofMessag1) GetOneof1String7 ¶
func (x *OneofMessag1) GetOneof1String7() string
func (*OneofMessag1) GetOneof1String8 ¶
func (x *OneofMessag1) GetOneof1String8() string
func (*OneofMessag1) GetOneof1String9 ¶
func (x *OneofMessag1) GetOneof1String9() string
func (*OneofMessag1) GetOneof1Uint32 ¶
func (x *OneofMessag1) GetOneof1Uint32() uint32
func (*OneofMessag1) GetOneof1Uint64 ¶
func (x *OneofMessag1) GetOneof1Uint64() uint64
func (*OneofMessag1) GetOneof2Bool ¶
func (x *OneofMessag1) GetOneof2Bool() bool
func (*OneofMessag1) GetOneof2Bytes1 ¶
func (x *OneofMessag1) GetOneof2Bytes1() []byte
func (*OneofMessag1) GetOneof2Bytes2 ¶
func (x *OneofMessag1) GetOneof2Bytes2() []byte
func (*OneofMessag1) GetOneof2Bytes3 ¶
func (x *OneofMessag1) GetOneof2Bytes3() []byte
func (*OneofMessag1) GetOneof2Config1 ¶
func (x *OneofMessag1) GetOneof2Config1() *Config
func (*OneofMessag1) GetOneof2Config2 ¶
func (x *OneofMessag1) GetOneof2Config2() *Config
func (*OneofMessag1) GetOneof2Double ¶
func (x *OneofMessag1) GetOneof2Double() float64
func (*OneofMessag1) GetOneof2Enum1 ¶
func (x *OneofMessag1) GetOneof2Enum1() Enum1
func (*OneofMessag1) GetOneof2Enum2 ¶
func (x *OneofMessag1) GetOneof2Enum2() Enum1
func (*OneofMessag1) GetOneof2Fixed32 ¶
func (x *OneofMessag1) GetOneof2Fixed32() uint32
func (*OneofMessag1) GetOneof2Fixed64 ¶
func (x *OneofMessag1) GetOneof2Fixed64() uint64
func (*OneofMessag1) GetOneof2Float ¶
func (x *OneofMessag1) GetOneof2Float() float32
func (*OneofMessag1) GetOneof2Int32 ¶
func (x *OneofMessag1) GetOneof2Int32() int32
func (*OneofMessag1) GetOneof2Int64 ¶
func (x *OneofMessag1) GetOneof2Int64() int64
func (*OneofMessag1) GetOneof2Sfixed32 ¶
func (x *OneofMessag1) GetOneof2Sfixed32() int32
func (*OneofMessag1) GetOneof2Sfixed64 ¶
func (x *OneofMessag1) GetOneof2Sfixed64() int64
func (*OneofMessag1) GetOneof2Sint32 ¶
func (x *OneofMessag1) GetOneof2Sint32() int32
func (*OneofMessag1) GetOneof2Sint64 ¶
func (x *OneofMessag1) GetOneof2Sint64() int64
func (*OneofMessag1) GetOneof2String1 ¶
func (x *OneofMessag1) GetOneof2String1() string
func (*OneofMessag1) GetOneof2String2 ¶
func (x *OneofMessag1) GetOneof2String2() string
func (*OneofMessag1) GetOneof2String3 ¶
func (x *OneofMessag1) GetOneof2String3() string
func (*OneofMessag1) GetOneof2String4 ¶
func (x *OneofMessag1) GetOneof2String4() string
func (*OneofMessag1) GetOneof2String5 ¶
func (x *OneofMessag1) GetOneof2String5() string
func (*OneofMessag1) GetOneof2String6 ¶
func (x *OneofMessag1) GetOneof2String6() string
func (*OneofMessag1) GetOneof2String7 ¶
func (x *OneofMessag1) GetOneof2String7() string
func (*OneofMessag1) GetOneof2String8 ¶
func (x *OneofMessag1) GetOneof2String8() string
func (*OneofMessag1) GetOneof2String9 ¶
func (x *OneofMessag1) GetOneof2String9() string
func (*OneofMessag1) GetOneof2Uint32 ¶
func (x *OneofMessag1) GetOneof2Uint32() uint32
func (*OneofMessag1) GetOneof2Uint64 ¶
func (x *OneofMessag1) GetOneof2Uint64() uint64
func (*OneofMessag1) GetOneofTyp1 ¶
func (m *OneofMessag1) GetOneofTyp1() isOneofMessag1_OneofTyp1
func (*OneofMessag1) GetOneofTyp2 ¶
func (m *OneofMessag1) GetOneofTyp2() isOneofMessag1_OneofTyp2
func (*OneofMessag1) ProtoMessage ¶
func (*OneofMessag1) ProtoMessage()
func (*OneofMessag1) ProtoReflect ¶
func (x *OneofMessag1) ProtoReflect() protoreflect.Message
func (*OneofMessag1) Reset ¶
func (x *OneofMessag1) Reset()
func (*OneofMessag1) SetDefaults ¶
func (this *OneofMessag1) SetDefaults()
Set default value for message godefaultstest.OneofMessag1
func (*OneofMessag1) String ¶
func (x *OneofMessag1) String() string
type OneofMessag1_Oneof1Bool ¶
type OneofMessag1_Oneof1Bool struct {
Oneof1Bool bool `protobuf:"varint,43,opt,name=oneof1_bool,json=oneof1Bool,proto3,oneof"`
}
type OneofMessag1_Oneof1Bytes1 ¶
type OneofMessag1_Oneof1Bytes1 struct {
Oneof1Bytes1 []byte `protobuf:"bytes,44,opt,name=oneof1_bytes1,json=oneof1Bytes1,proto3,oneof"`
}
type OneofMessag1_Oneof1Bytes2 ¶
type OneofMessag1_Oneof1Bytes2 struct {
Oneof1Bytes2 []byte `protobuf:"bytes,45,opt,name=oneof1_bytes2,json=oneof1Bytes2,proto3,oneof"`
}
type OneofMessag1_Oneof1Bytes3 ¶
type OneofMessag1_Oneof1Bytes3 struct {
Oneof1Bytes3 []byte `protobuf:"bytes,46,opt,name=oneof1_bytes3,json=oneof1Bytes3,proto3,oneof"`
}
type OneofMessag1_Oneof1Config1 ¶
type OneofMessag1_Oneof1Config1 struct {
Oneof1Config1 *Config `protobuf:"bytes,49,opt,name=oneof1_config1,json=oneof1Config1,proto3,oneof"`
}
type OneofMessag1_Oneof1Config2 ¶
type OneofMessag1_Oneof1Config2 struct {
Oneof1Config2 *Config `protobuf:"bytes,50,opt,name=oneof1_config2,json=oneof1Config2,proto3,oneof"`
}
type OneofMessag1_Oneof1Double ¶
type OneofMessag1_Oneof1Double struct {
Oneof1Double float64 `protobuf:"fixed64,31,opt,name=oneof1_double,json=oneof1Double,proto3,oneof"`
}
type OneofMessag1_Oneof1Enum1 ¶
type OneofMessag1_Oneof1Enum1 struct {
Oneof1Enum1 Enum1 `protobuf:"varint,47,opt,name=oneof1_enum1,json=oneof1Enum1,proto3,enum=godefaultstest.Enum1,oneof"`
}
type OneofMessag1_Oneof1Enum2 ¶
type OneofMessag1_Oneof1Enum2 struct {
Oneof1Enum2 Enum1 `protobuf:"varint,48,opt,name=oneof1_enum2,json=oneof1Enum2,proto3,enum=godefaultstest.Enum1,oneof"`
}
type OneofMessag1_Oneof1Fixed32 ¶
type OneofMessag1_Oneof1Fixed32 struct {
Oneof1Fixed32 uint32 `protobuf:"fixed32,39,opt,name=oneof1_fixed32,json=oneof1Fixed32,proto3,oneof"`
}
type OneofMessag1_Oneof1Fixed64 ¶
type OneofMessag1_Oneof1Fixed64 struct {
Oneof1Fixed64 uint64 `protobuf:"fixed64,40,opt,name=oneof1_fixed64,json=oneof1Fixed64,proto3,oneof"`
}
type OneofMessag1_Oneof1Float ¶
type OneofMessag1_Oneof1Float struct {
Oneof1Float float32 `protobuf:"fixed32,32,opt,name=oneof1_float,json=oneof1Float,proto3,oneof"`
}
type OneofMessag1_Oneof1Int32 ¶
type OneofMessag1_Oneof1Int32 struct {
Oneof1Int32 int32 `protobuf:"varint,33,opt,name=oneof1_int32,json=oneof1Int32,proto3,oneof"`
}
type OneofMessag1_Oneof1Int64 ¶
type OneofMessag1_Oneof1Int64 struct {
Oneof1Int64 int64 `protobuf:"varint,34,opt,name=oneof1_int64,json=oneof1Int64,proto3,oneof"`
}
type OneofMessag1_Oneof1Sfixed32 ¶
type OneofMessag1_Oneof1Sfixed32 struct {
Oneof1Sfixed32 int32 `protobuf:"fixed32,41,opt,name=oneof1_sfixed32,json=oneof1Sfixed32,proto3,oneof"`
}
type OneofMessag1_Oneof1Sfixed64 ¶
type OneofMessag1_Oneof1Sfixed64 struct {
Oneof1Sfixed64 int64 `protobuf:"fixed64,42,opt,name=oneof1_sfixed64,json=oneof1Sfixed64,proto3,oneof"`
}
type OneofMessag1_Oneof1Sint32 ¶
type OneofMessag1_Oneof1Sint32 struct {
Oneof1Sint32 int32 `protobuf:"zigzag32,37,opt,name=oneof1_sint32,json=oneof1Sint32,proto3,oneof"`
}
type OneofMessag1_Oneof1Sint64 ¶
type OneofMessag1_Oneof1Sint64 struct {
Oneof1Sint64 int64 `protobuf:"zigzag64,38,opt,name=oneof1_sint64,json=oneof1Sint64,proto3,oneof"`
}
type OneofMessag1_Oneof1String1 ¶
type OneofMessag1_Oneof1String1 struct {
Oneof1String1 string `protobuf:"bytes,1,opt,name=oneof1_string1,json=oneof1String1,proto3,oneof"`
}
type OneofMessag1_Oneof1String2 ¶
type OneofMessag1_Oneof1String2 struct {
Oneof1String2 string `protobuf:"bytes,2,opt,name=oneof1_string2,json=oneof1String2,proto3,oneof"`
}
type OneofMessag1_Oneof1String3 ¶
type OneofMessag1_Oneof1String3 struct {
Oneof1String3 string `protobuf:"bytes,3,opt,name=oneof1_string3,json=oneof1String3,proto3,oneof"`
}
type OneofMessag1_Oneof1String4 ¶
type OneofMessag1_Oneof1String4 struct {
Oneof1String4 string `protobuf:"bytes,4,opt,name=oneof1_string4,json=oneof1String4,proto3,oneof"`
}
type OneofMessag1_Oneof1String5 ¶
type OneofMessag1_Oneof1String5 struct {
Oneof1String5 string `protobuf:"bytes,5,opt,name=oneof1_string5,json=oneof1String5,proto3,oneof"`
}
type OneofMessag1_Oneof1String6 ¶
type OneofMessag1_Oneof1String6 struct {
Oneof1String6 string `protobuf:"bytes,6,opt,name=oneof1_string6,json=oneof1String6,proto3,oneof"`
}
type OneofMessag1_Oneof1String7 ¶
type OneofMessag1_Oneof1String7 struct {
Oneof1String7 string `protobuf:"bytes,7,opt,name=oneof1_string7,json=oneof1String7,proto3,oneof"`
}
type OneofMessag1_Oneof1String8 ¶
type OneofMessag1_Oneof1String8 struct {
Oneof1String8 string `protobuf:"bytes,8,opt,name=oneof1_string8,json=oneof1String8,proto3,oneof"`
}
type OneofMessag1_Oneof1String9 ¶
type OneofMessag1_Oneof1String9 struct {
Oneof1String9 string `protobuf:"bytes,9,opt,name=oneof1_string9,json=oneof1String9,proto3,oneof"`
}
type OneofMessag1_Oneof1Uint32 ¶
type OneofMessag1_Oneof1Uint32 struct {
Oneof1Uint32 uint32 `protobuf:"varint,35,opt,name=oneof1_uint32,json=oneof1Uint32,proto3,oneof"`
}
type OneofMessag1_Oneof1Uint64 ¶
type OneofMessag1_Oneof1Uint64 struct {
Oneof1Uint64 uint64 `protobuf:"varint,36,opt,name=oneof1_uint64,json=oneof1Uint64,proto3,oneof"`
}
type OneofMessag1_Oneof2Bool ¶
type OneofMessag1_Oneof2Bool struct {
Oneof2Bool bool `protobuf:"varint,143,opt,name=oneof2_bool,json=oneof2Bool,proto3,oneof"`
}
type OneofMessag1_Oneof2Bytes1 ¶
type OneofMessag1_Oneof2Bytes1 struct {
Oneof2Bytes1 []byte `protobuf:"bytes,144,opt,name=oneof2_bytes1,json=oneof2Bytes1,proto3,oneof"`
}
type OneofMessag1_Oneof2Bytes2 ¶
type OneofMessag1_Oneof2Bytes2 struct {
Oneof2Bytes2 []byte `protobuf:"bytes,145,opt,name=oneof2_bytes2,json=oneof2Bytes2,proto3,oneof"`
}
type OneofMessag1_Oneof2Bytes3 ¶
type OneofMessag1_Oneof2Bytes3 struct {
Oneof2Bytes3 []byte `protobuf:"bytes,146,opt,name=oneof2_bytes3,json=oneof2Bytes3,proto3,oneof"`
}
type OneofMessag1_Oneof2Config1 ¶
type OneofMessag1_Oneof2Config1 struct {
Oneof2Config1 *Config `protobuf:"bytes,149,opt,name=oneof2_config1,json=oneof2Config1,proto3,oneof"`
}
type OneofMessag1_Oneof2Config2 ¶
type OneofMessag1_Oneof2Config2 struct {
Oneof2Config2 *Config `protobuf:"bytes,150,opt,name=oneof2_config2,json=oneof2Config2,proto3,oneof"`
}
type OneofMessag1_Oneof2Double ¶
type OneofMessag1_Oneof2Double struct {
Oneof2Double float64 `protobuf:"fixed64,131,opt,name=oneof2_double,json=oneof2Double,proto3,oneof"`
}
type OneofMessag1_Oneof2Enum1 ¶
type OneofMessag1_Oneof2Enum1 struct {
Oneof2Enum1 Enum1 `protobuf:"varint,147,opt,name=oneof2_enum1,json=oneof2Enum1,proto3,enum=godefaultstest.Enum1,oneof"`
}
type OneofMessag1_Oneof2Enum2 ¶
type OneofMessag1_Oneof2Enum2 struct {
Oneof2Enum2 Enum1 `protobuf:"varint,148,opt,name=oneof2_enum2,json=oneof2Enum2,proto3,enum=godefaultstest.Enum1,oneof"`
}
type OneofMessag1_Oneof2Fixed32 ¶
type OneofMessag1_Oneof2Fixed32 struct {
Oneof2Fixed32 uint32 `protobuf:"fixed32,139,opt,name=oneof2_fixed32,json=oneof2Fixed32,proto3,oneof"`
}
type OneofMessag1_Oneof2Fixed64 ¶
type OneofMessag1_Oneof2Fixed64 struct {
Oneof2Fixed64 uint64 `protobuf:"fixed64,140,opt,name=oneof2_fixed64,json=oneof2Fixed64,proto3,oneof"`
}
type OneofMessag1_Oneof2Float ¶
type OneofMessag1_Oneof2Float struct {
Oneof2Float float32 `protobuf:"fixed32,132,opt,name=oneof2_float,json=oneof2Float,proto3,oneof"`
}
type OneofMessag1_Oneof2Int32 ¶
type OneofMessag1_Oneof2Int32 struct {
Oneof2Int32 int32 `protobuf:"varint,133,opt,name=oneof2_int32,json=oneof2Int32,proto3,oneof"`
}
type OneofMessag1_Oneof2Int64 ¶
type OneofMessag1_Oneof2Int64 struct {
Oneof2Int64 int64 `protobuf:"varint,134,opt,name=oneof2_int64,json=oneof2Int64,proto3,oneof"`
}
type OneofMessag1_Oneof2Sfixed32 ¶
type OneofMessag1_Oneof2Sfixed32 struct {
Oneof2Sfixed32 int32 `protobuf:"fixed32,141,opt,name=oneof2_sfixed32,json=oneof2Sfixed32,proto3,oneof"`
}
type OneofMessag1_Oneof2Sfixed64 ¶
type OneofMessag1_Oneof2Sfixed64 struct {
Oneof2Sfixed64 int64 `protobuf:"fixed64,142,opt,name=oneof2_sfixed64,json=oneof2Sfixed64,proto3,oneof"`
}
type OneofMessag1_Oneof2Sint32 ¶
type OneofMessag1_Oneof2Sint32 struct {
Oneof2Sint32 int32 `protobuf:"zigzag32,137,opt,name=oneof2_sint32,json=oneof2Sint32,proto3,oneof"`
}
type OneofMessag1_Oneof2Sint64 ¶
type OneofMessag1_Oneof2Sint64 struct {
Oneof2Sint64 int64 `protobuf:"zigzag64,138,opt,name=oneof2_sint64,json=oneof2Sint64,proto3,oneof"`
}
type OneofMessag1_Oneof2String1 ¶
type OneofMessag1_Oneof2String1 struct {
Oneof2String1 string `protobuf:"bytes,101,opt,name=oneof2_string1,json=oneof2String1,proto3,oneof"`
}
type OneofMessag1_Oneof2String2 ¶
type OneofMessag1_Oneof2String2 struct {
Oneof2String2 string `protobuf:"bytes,102,opt,name=oneof2_string2,json=oneof2String2,proto3,oneof"`
}
type OneofMessag1_Oneof2String3 ¶
type OneofMessag1_Oneof2String3 struct {
Oneof2String3 string `protobuf:"bytes,103,opt,name=oneof2_string3,json=oneof2String3,proto3,oneof"`
}
type OneofMessag1_Oneof2String4 ¶
type OneofMessag1_Oneof2String4 struct {
Oneof2String4 string `protobuf:"bytes,104,opt,name=oneof2_string4,json=oneof2String4,proto3,oneof"`
}
type OneofMessag1_Oneof2String5 ¶
type OneofMessag1_Oneof2String5 struct {
Oneof2String5 string `protobuf:"bytes,105,opt,name=oneof2_string5,json=oneof2String5,proto3,oneof"`
}
type OneofMessag1_Oneof2String6 ¶
type OneofMessag1_Oneof2String6 struct {
Oneof2String6 string `protobuf:"bytes,106,opt,name=oneof2_string6,json=oneof2String6,proto3,oneof"`
}
type OneofMessag1_Oneof2String7 ¶
type OneofMessag1_Oneof2String7 struct {
Oneof2String7 string `protobuf:"bytes,107,opt,name=oneof2_string7,json=oneof2String7,proto3,oneof"`
}
type OneofMessag1_Oneof2String8 ¶
type OneofMessag1_Oneof2String8 struct {
Oneof2String8 string `protobuf:"bytes,108,opt,name=oneof2_string8,json=oneof2String8,proto3,oneof"`
}
type OneofMessag1_Oneof2String9 ¶
type OneofMessag1_Oneof2String9 struct {
Oneof2String9 string `protobuf:"bytes,109,opt,name=oneof2_string9,json=oneof2String9,proto3,oneof"`
}
type OneofMessag1_Oneof2Uint32 ¶
type OneofMessag1_Oneof2Uint32 struct {
Oneof2Uint32 uint32 `protobuf:"varint,135,opt,name=oneof2_uint32,json=oneof2Uint32,proto3,oneof"`
}
type OneofMessag1_Oneof2Uint64 ¶
type OneofMessag1_Oneof2Uint64 struct {
Oneof2Uint64 uint64 `protobuf:"varint,136,opt,name=oneof2_uint64,json=oneof2Uint64,proto3,oneof"`
}
type OptionalMessage1 ¶
type OptionalMessage1 struct { TString1 *string `protobuf:"bytes,1,opt,name=t_string1,json=tString1,proto3,oneof" json:"t_string1,omitempty"` TString2 *string `protobuf:"bytes,2,opt,name=t_string2,json=tString2,proto3,oneof" json:"t_string2,omitempty"` TString3 *string `protobuf:"bytes,3,opt,name=t_string3,json=tString3,proto3,oneof" json:"t_string3,omitempty"` TString4 *string `protobuf:"bytes,4,opt,name=t_string4,json=tString4,proto3,oneof" json:"t_string4,omitempty"` TString5 *string `protobuf:"bytes,5,opt,name=t_string5,json=tString5,proto3,oneof" json:"t_string5,omitempty"` TString6 *string `protobuf:"bytes,6,opt,name=t_string6,json=tString6,proto3,oneof" json:"t_string6,omitempty"` TString7 *string `protobuf:"bytes,7,opt,name=t_string7,json=tString7,proto3,oneof" json:"t_string7,omitempty"` TString8 *string `protobuf:"bytes,8,opt,name=t_string8,json=tString8,proto3,oneof" json:"t_string8,omitempty"` TString9 *string `protobuf:"bytes,9,opt,name=t_string9,json=tString9,proto3,oneof" json:"t_string9,omitempty"` TString10 *string `protobuf:"bytes,10,opt,name=t_string10,json=tString10,proto3,oneof" json:"t_string10,omitempty"` TInt32 *int32 `protobuf:"varint,101,opt,name=t_int32,json=tInt32,proto3,oneof" json:"t_int32,omitempty"` TInt64 *int64 `protobuf:"varint,102,opt,name=t_int64,json=tInt64,proto3,oneof" json:"t_int64,omitempty"` TUint32 *uint32 `protobuf:"varint,103,opt,name=t_uint32,json=tUint32,proto3,oneof" json:"t_uint32,omitempty"` TUint64 *uint64 `protobuf:"varint,104,opt,name=t_uint64,json=tUint64,proto3,oneof" json:"t_uint64,omitempty"` TSint32 *int32 `protobuf:"zigzag32,105,opt,name=t_sint32,json=tSint32,proto3,oneof" json:"t_sint32,omitempty"` TSint64 *int64 `protobuf:"zigzag64,106,opt,name=t_sint64,json=tSint64,proto3,oneof" json:"t_sint64,omitempty"` TSfixed32 *int32 `protobuf:"fixed32,107,opt,name=t_sfixed32,json=tSfixed32,proto3,oneof" json:"t_sfixed32,omitempty"` TSfixed64 *int64 `protobuf:"fixed64,108,opt,name=t_sfixed64,json=tSfixed64,proto3,oneof" json:"t_sfixed64,omitempty"` TFixed32 *uint32 `protobuf:"fixed32,109,opt,name=t_fixed32,json=tFixed32,proto3,oneof" json:"t_fixed32,omitempty"` TFixed64 *uint64 `protobuf:"fixed64,110,opt,name=t_fixed64,json=tFixed64,proto3,oneof" json:"t_fixed64,omitempty"` TFloat *float32 `protobuf:"fixed32,111,opt,name=t_float,json=tFloat,proto3,oneof" json:"t_float,omitempty"` TDouble *float64 `protobuf:"fixed64,112,opt,name=t_double,json=tDouble,proto3,oneof" json:"t_double,omitempty"` TBool *bool `protobuf:"varint,113,opt,name=t_bool,json=tBool,proto3,oneof" json:"t_bool,omitempty"` TBytes1 []byte `protobuf:"bytes,114,opt,name=t_bytes1,json=tBytes1,proto3,oneof" json:"t_bytes1,omitempty"` TBytes2 []byte `protobuf:"bytes,115,opt,name=t_bytes2,json=tBytes2,proto3,oneof" json:"t_bytes2,omitempty"` TEnum1 *Enum1 `protobuf:"varint,116,opt,name=t_enum1,json=tEnum1,proto3,enum=godefaultstest.Enum1,oneof" json:"t_enum1,omitempty"` TEnum2 *Enum1 `protobuf:"varint,117,opt,name=t_enum2,json=tEnum2,proto3,enum=godefaultstest.Enum1,oneof" json:"t_enum2,omitempty"` TConfig1 *Config `protobuf:"bytes,118,opt,name=t_config1,json=tConfig1,proto3,oneof" json:"t_config1,omitempty"` TConfig2 *Config `protobuf:"bytes,119,opt,name=t_config2,json=tConfig2,proto3,oneof" json:"t_config2,omitempty"` // contains filtered or unexported fields }
func (*OptionalMessage1) Descriptor
deprecated
func (*OptionalMessage1) Descriptor() ([]byte, []int)
Deprecated: Use OptionalMessage1.ProtoReflect.Descriptor instead.
func (*OptionalMessage1) GetTBool ¶
func (x *OptionalMessage1) GetTBool() bool
func (*OptionalMessage1) GetTBytes1 ¶
func (x *OptionalMessage1) GetTBytes1() []byte
func (*OptionalMessage1) GetTBytes2 ¶
func (x *OptionalMessage1) GetTBytes2() []byte
func (*OptionalMessage1) GetTConfig1 ¶
func (x *OptionalMessage1) GetTConfig1() *Config
func (*OptionalMessage1) GetTConfig2 ¶
func (x *OptionalMessage1) GetTConfig2() *Config
func (*OptionalMessage1) GetTDouble ¶
func (x *OptionalMessage1) GetTDouble() float64
func (*OptionalMessage1) GetTEnum1 ¶
func (x *OptionalMessage1) GetTEnum1() Enum1
func (*OptionalMessage1) GetTEnum2 ¶
func (x *OptionalMessage1) GetTEnum2() Enum1
func (*OptionalMessage1) GetTFixed32 ¶
func (x *OptionalMessage1) GetTFixed32() uint32
func (*OptionalMessage1) GetTFixed64 ¶
func (x *OptionalMessage1) GetTFixed64() uint64
func (*OptionalMessage1) GetTFloat ¶
func (x *OptionalMessage1) GetTFloat() float32
func (*OptionalMessage1) GetTInt32 ¶
func (x *OptionalMessage1) GetTInt32() int32
func (*OptionalMessage1) GetTInt64 ¶
func (x *OptionalMessage1) GetTInt64() int64
func (*OptionalMessage1) GetTSfixed32 ¶
func (x *OptionalMessage1) GetTSfixed32() int32
func (*OptionalMessage1) GetTSfixed64 ¶
func (x *OptionalMessage1) GetTSfixed64() int64
func (*OptionalMessage1) GetTSint32 ¶
func (x *OptionalMessage1) GetTSint32() int32
func (*OptionalMessage1) GetTSint64 ¶
func (x *OptionalMessage1) GetTSint64() int64
func (*OptionalMessage1) GetTString1 ¶
func (x *OptionalMessage1) GetTString1() string
func (*OptionalMessage1) GetTString10 ¶
func (x *OptionalMessage1) GetTString10() string
func (*OptionalMessage1) GetTString2 ¶
func (x *OptionalMessage1) GetTString2() string
func (*OptionalMessage1) GetTString3 ¶
func (x *OptionalMessage1) GetTString3() string
func (*OptionalMessage1) GetTString4 ¶
func (x *OptionalMessage1) GetTString4() string
func (*OptionalMessage1) GetTString5 ¶
func (x *OptionalMessage1) GetTString5() string
func (*OptionalMessage1) GetTString6 ¶
func (x *OptionalMessage1) GetTString6() string
func (*OptionalMessage1) GetTString7 ¶
func (x *OptionalMessage1) GetTString7() string
func (*OptionalMessage1) GetTString8 ¶
func (x *OptionalMessage1) GetTString8() string
func (*OptionalMessage1) GetTString9 ¶
func (x *OptionalMessage1) GetTString9() string
func (*OptionalMessage1) GetTUint32 ¶
func (x *OptionalMessage1) GetTUint32() uint32
func (*OptionalMessage1) GetTUint64 ¶
func (x *OptionalMessage1) GetTUint64() uint64
func (*OptionalMessage1) ProtoMessage ¶
func (*OptionalMessage1) ProtoMessage()
func (*OptionalMessage1) ProtoReflect ¶
func (x *OptionalMessage1) ProtoReflect() protoreflect.Message
func (*OptionalMessage1) Reset ¶
func (x *OptionalMessage1) Reset()
func (*OptionalMessage1) SetDefaults ¶
func (this *OptionalMessage1) SetDefaults()
Set default value for message godefaultstest.OptionalMessage1
func (*OptionalMessage1) String ¶
func (x *OptionalMessage1) String() string