Documentation
¶
Index ¶
- Variables
- type DisallowUnknownMessage1
- func (*DisallowUnknownMessage1) Descriptor() ([]byte, []int)deprecated
- func (x *DisallowUnknownMessage1) GetFString1() string
- func (x *DisallowUnknownMessage1) GetFString2() string
- func (x *DisallowUnknownMessage1) GetFString3() string
- func (x *DisallowUnknownMessage1) MarshalJSON() ([]byte, error)
- func (*DisallowUnknownMessage1) ProtoMessage()
- func (x *DisallowUnknownMessage1) ProtoReflect() protoreflect.Message
- func (x *DisallowUnknownMessage1) Reset()
- func (x *DisallowUnknownMessage1) String() string
- func (x *DisallowUnknownMessage1) UnmarshalJSON(b []byte) error
- type DisallowUnknownMessage2
- func (*DisallowUnknownMessage2) Descriptor() ([]byte, []int)deprecated
- func (x *DisallowUnknownMessage2) GetFString1() string
- func (x *DisallowUnknownMessage2) GetFString2() string
- func (x *DisallowUnknownMessage2) GetFString3() string
- func (x *DisallowUnknownMessage2) MarshalJSON() ([]byte, error)
- func (*DisallowUnknownMessage2) ProtoMessage()
- func (x *DisallowUnknownMessage2) ProtoReflect() protoreflect.Message
- func (x *DisallowUnknownMessage2) Reset()
- func (x *DisallowUnknownMessage2) String() string
- func (x *DisallowUnknownMessage2) UnmarshalJSON(b []byte) error
- type IgnoreMap1
- func (*IgnoreMap1) Descriptor() ([]byte, []int)deprecated
- func (x *IgnoreMap1) GetFAny1() map[string]*anypb.Any
- func (x *IgnoreMap1) GetFBool1() map[bool]bool
- func (x *IgnoreMap1) GetFBytes1() map[string][]byte
- func (x *IgnoreMap1) GetFDouble() map[string]float64
- func (x *IgnoreMap1) GetFDuration1() map[string]*durationpb.Duration
- func (x *IgnoreMap1) GetFEnum1() map[string]pbexternal.EnumNum1
- func (x *IgnoreMap1) GetFFixed32() map[uint32]uint32
- func (x *IgnoreMap1) GetFFixed64() map[uint64]uint64
- func (x *IgnoreMap1) GetFFloat() map[string]float32
- func (x *IgnoreMap1) GetFInt32() map[int32]int32
- func (x *IgnoreMap1) GetFInt64() map[int64]int64
- func (x *IgnoreMap1) GetFMessage1() map[string]*pbexternal.Message1
- func (x *IgnoreMap1) GetFSfixed32() map[int32]int32
- func (x *IgnoreMap1) GetFSfixed64() map[int64]int64
- func (x *IgnoreMap1) GetFSint32() map[int32]int32
- func (x *IgnoreMap1) GetFSint64() map[int64]int64
- func (x *IgnoreMap1) GetFString1() map[string]string
- func (x *IgnoreMap1) GetFTimestamp1() map[string]*timestamppb.Timestamp
- func (x *IgnoreMap1) GetFUint32() map[uint32]uint32
- func (x *IgnoreMap1) GetFUint64() map[uint64]uint64
- func (x *IgnoreMap1) MarshalJSON() ([]byte, error)
- func (*IgnoreMap1) ProtoMessage()
- func (x *IgnoreMap1) ProtoReflect() protoreflect.Message
- func (x *IgnoreMap1) Reset()
- func (x *IgnoreMap1) String() string
- func (x *IgnoreMap1) UnmarshalJSON(b []byte) error
- type IgnoreMessage1
- func (*IgnoreMessage1) Descriptor() ([]byte, []int)deprecated
- func (x *IgnoreMessage1) GetFString1() string
- func (x *IgnoreMessage1) GetFString2() string
- func (x *IgnoreMessage1) GetFString3() string
- func (*IgnoreMessage1) ProtoMessage()
- func (x *IgnoreMessage1) ProtoReflect() protoreflect.Message
- func (x *IgnoreMessage1) Reset()
- func (x *IgnoreMessage1) String() string
- type IgnoreOneOf1
- func (*IgnoreOneOf1) Descriptor() ([]byte, []int)deprecated
- func (x *IgnoreOneOf1) GetFAny1() *anypb.Any
- func (x *IgnoreOneOf1) GetFBool1() bool
- func (x *IgnoreOneOf1) GetFBytes1() []byte
- func (x *IgnoreOneOf1) GetFDouble() float64
- func (x *IgnoreOneOf1) GetFDuration1() *durationpb.Duration
- func (x *IgnoreOneOf1) GetFEnum1() pbexternal.EnumNum1
- func (x *IgnoreOneOf1) GetFFixed32() uint32
- func (x *IgnoreOneOf1) GetFFixed64() uint64
- func (x *IgnoreOneOf1) GetFFloat() float32
- func (x *IgnoreOneOf1) GetFInt32() int32
- func (x *IgnoreOneOf1) GetFInt64() int64
- func (x *IgnoreOneOf1) GetFMessage1() *pbexternal.Message1
- func (x *IgnoreOneOf1) GetFSfixed32() int32
- func (x *IgnoreOneOf1) GetFSfixed64() int64
- func (x *IgnoreOneOf1) GetFSint32() int32
- func (x *IgnoreOneOf1) GetFSint64() int64
- func (x *IgnoreOneOf1) GetFString1() string
- func (x *IgnoreOneOf1) GetFTimestamp1() *timestamppb.Timestamp
- func (x *IgnoreOneOf1) GetFUint32() uint32
- func (x *IgnoreOneOf1) GetFUint64() uint64
- func (m *IgnoreOneOf1) GetOneType1() isIgnoreOneOf1_OneType1
- func (m *IgnoreOneOf1) GetOneType10() isIgnoreOneOf1_OneType10
- func (m *IgnoreOneOf1) GetOneType11() isIgnoreOneOf1_OneType11
- func (m *IgnoreOneOf1) GetOneType12() isIgnoreOneOf1_OneType12
- func (m *IgnoreOneOf1) GetOneType13() isIgnoreOneOf1_OneType13
- func (m *IgnoreOneOf1) GetOneType14() isIgnoreOneOf1_OneType14
- func (m *IgnoreOneOf1) GetOneType15() isIgnoreOneOf1_OneType15
- func (m *IgnoreOneOf1) GetOneType16() isIgnoreOneOf1_OneType16
- func (m *IgnoreOneOf1) GetOneType17() isIgnoreOneOf1_OneType17
- func (m *IgnoreOneOf1) GetOneType18() isIgnoreOneOf1_OneType18
- func (m *IgnoreOneOf1) GetOneType19() isIgnoreOneOf1_OneType19
- func (m *IgnoreOneOf1) GetOneType2() isIgnoreOneOf1_OneType2
- func (m *IgnoreOneOf1) GetOneType20() isIgnoreOneOf1_OneType20
- func (m *IgnoreOneOf1) GetOneType3() isIgnoreOneOf1_OneType3
- func (m *IgnoreOneOf1) GetOneType4() isIgnoreOneOf1_OneType4
- func (m *IgnoreOneOf1) GetOneType5() isIgnoreOneOf1_OneType5
- func (m *IgnoreOneOf1) GetOneType6() isIgnoreOneOf1_OneType6
- func (m *IgnoreOneOf1) GetOneType7() isIgnoreOneOf1_OneType7
- func (m *IgnoreOneOf1) GetOneType8() isIgnoreOneOf1_OneType8
- func (m *IgnoreOneOf1) GetOneType9() isIgnoreOneOf1_OneType9
- func (x *IgnoreOneOf1) MarshalJSON() ([]byte, error)
- func (*IgnoreOneOf1) ProtoMessage()
- func (x *IgnoreOneOf1) ProtoReflect() protoreflect.Message
- func (x *IgnoreOneOf1) Reset()
- func (x *IgnoreOneOf1) String() string
- func (x *IgnoreOneOf1) UnmarshalJSON(b []byte) error
- type IgnoreOneOf1_FAny1
- type IgnoreOneOf1_FBool1
- type IgnoreOneOf1_FBytes1
- type IgnoreOneOf1_FDouble
- type IgnoreOneOf1_FDuration1
- type IgnoreOneOf1_FEnum1
- type IgnoreOneOf1_FFixed32
- type IgnoreOneOf1_FFixed64
- type IgnoreOneOf1_FFloat
- type IgnoreOneOf1_FInt32
- type IgnoreOneOf1_FInt64
- type IgnoreOneOf1_FMessage1
- type IgnoreOneOf1_FSfixed32
- type IgnoreOneOf1_FSfixed64
- type IgnoreOneOf1_FSint32
- type IgnoreOneOf1_FSint64
- type IgnoreOneOf1_FString1
- type IgnoreOneOf1_FTimestamp1
- type IgnoreOneOf1_FUint32
- type IgnoreOneOf1_FUint64
- type IgnoreOneOf2
- func (*IgnoreOneOf2) Descriptor() ([]byte, []int)deprecated
- func (x *IgnoreOneOf2) GetFAny1() *anypb.Any
- func (x *IgnoreOneOf2) GetFBool1() bool
- func (x *IgnoreOneOf2) GetFBytes1() []byte
- func (x *IgnoreOneOf2) GetFDouble() float64
- func (x *IgnoreOneOf2) GetFDuration1() *durationpb.Duration
- func (x *IgnoreOneOf2) GetFEnum1() pbexternal.EnumNum1
- func (x *IgnoreOneOf2) GetFFixed32() uint32
- func (x *IgnoreOneOf2) GetFFixed64() uint64
- func (x *IgnoreOneOf2) GetFFloat() float32
- func (x *IgnoreOneOf2) GetFInt32() int32
- func (x *IgnoreOneOf2) GetFInt64() int64
- func (x *IgnoreOneOf2) GetFMessage1() *pbexternal.Message1
- func (x *IgnoreOneOf2) GetFSfixed32() int32
- func (x *IgnoreOneOf2) GetFSfixed64() int64
- func (x *IgnoreOneOf2) GetFSint32() int32
- func (x *IgnoreOneOf2) GetFSint64() int64
- func (x *IgnoreOneOf2) GetFString1() string
- func (x *IgnoreOneOf2) GetFTimestamp1() *timestamppb.Timestamp
- func (x *IgnoreOneOf2) GetFUint32() uint32
- func (x *IgnoreOneOf2) GetFUint64() uint64
- func (m *IgnoreOneOf2) GetOneType1() isIgnoreOneOf2_OneType1
- func (m *IgnoreOneOf2) GetOneType10() isIgnoreOneOf2_OneType10
- func (m *IgnoreOneOf2) GetOneType11() isIgnoreOneOf2_OneType11
- func (m *IgnoreOneOf2) GetOneType12() isIgnoreOneOf2_OneType12
- func (m *IgnoreOneOf2) GetOneType13() isIgnoreOneOf2_OneType13
- func (m *IgnoreOneOf2) GetOneType14() isIgnoreOneOf2_OneType14
- func (m *IgnoreOneOf2) GetOneType15() isIgnoreOneOf2_OneType15
- func (m *IgnoreOneOf2) GetOneType16() isIgnoreOneOf2_OneType16
- func (m *IgnoreOneOf2) GetOneType17() isIgnoreOneOf2_OneType17
- func (m *IgnoreOneOf2) GetOneType18() isIgnoreOneOf2_OneType18
- func (m *IgnoreOneOf2) GetOneType19() isIgnoreOneOf2_OneType19
- func (m *IgnoreOneOf2) GetOneType2() isIgnoreOneOf2_OneType2
- func (m *IgnoreOneOf2) GetOneType20() isIgnoreOneOf2_OneType20
- func (m *IgnoreOneOf2) GetOneType3() isIgnoreOneOf2_OneType3
- func (m *IgnoreOneOf2) GetOneType4() isIgnoreOneOf2_OneType4
- func (m *IgnoreOneOf2) GetOneType5() isIgnoreOneOf2_OneType5
- func (m *IgnoreOneOf2) GetOneType6() isIgnoreOneOf2_OneType6
- func (m *IgnoreOneOf2) GetOneType7() isIgnoreOneOf2_OneType7
- func (m *IgnoreOneOf2) GetOneType8() isIgnoreOneOf2_OneType8
- func (m *IgnoreOneOf2) GetOneType9() isIgnoreOneOf2_OneType9
- func (x *IgnoreOneOf2) MarshalJSON() ([]byte, error)
- func (*IgnoreOneOf2) ProtoMessage()
- func (x *IgnoreOneOf2) ProtoReflect() protoreflect.Message
- func (x *IgnoreOneOf2) Reset()
- func (x *IgnoreOneOf2) String() string
- func (x *IgnoreOneOf2) UnmarshalJSON(b []byte) error
- type IgnoreOneOf2_FAny1
- type IgnoreOneOf2_FBool1
- type IgnoreOneOf2_FBytes1
- type IgnoreOneOf2_FDouble
- type IgnoreOneOf2_FDuration1
- type IgnoreOneOf2_FEnum1
- type IgnoreOneOf2_FFixed32
- type IgnoreOneOf2_FFixed64
- type IgnoreOneOf2_FFloat
- type IgnoreOneOf2_FInt32
- type IgnoreOneOf2_FInt64
- type IgnoreOneOf2_FMessage1
- type IgnoreOneOf2_FSfixed32
- type IgnoreOneOf2_FSfixed64
- type IgnoreOneOf2_FSint32
- type IgnoreOneOf2_FSint64
- type IgnoreOneOf2_FString1
- type IgnoreOneOf2_FTimestamp1
- type IgnoreOneOf2_FUint32
- type IgnoreOneOf2_FUint64
- type IgnoreOptional1
- func (*IgnoreOptional1) Descriptor() ([]byte, []int)deprecated
- func (x *IgnoreOptional1) GetFAny1() *anypb.Any
- func (x *IgnoreOptional1) GetFBool1() bool
- func (x *IgnoreOptional1) GetFBytes1() []byte
- func (x *IgnoreOptional1) GetFDouble() float64
- func (x *IgnoreOptional1) GetFDuration1() *durationpb.Duration
- func (x *IgnoreOptional1) GetFEnum1() pbexternal.EnumNum1
- func (x *IgnoreOptional1) GetFFixed32() uint32
- func (x *IgnoreOptional1) GetFFixed64() uint64
- func (x *IgnoreOptional1) GetFFloat() float32
- func (x *IgnoreOptional1) GetFInt32() int32
- func (x *IgnoreOptional1) GetFInt64() int64
- func (x *IgnoreOptional1) GetFMessage1() *pbexternal.Message1
- func (x *IgnoreOptional1) GetFSfixed32() int32
- func (x *IgnoreOptional1) GetFSfixed64() int64
- func (x *IgnoreOptional1) GetFSint32() int32
- func (x *IgnoreOptional1) GetFSint64() int64
- func (x *IgnoreOptional1) GetFString1() string
- func (x *IgnoreOptional1) GetFTimestamp1() *timestamppb.Timestamp
- func (x *IgnoreOptional1) GetFUint32() uint32
- func (x *IgnoreOptional1) GetFUint64() uint64
- func (x *IgnoreOptional1) MarshalJSON() ([]byte, error)
- func (*IgnoreOptional1) ProtoMessage()
- func (x *IgnoreOptional1) ProtoReflect() protoreflect.Message
- func (x *IgnoreOptional1) Reset()
- func (x *IgnoreOptional1) String() string
- func (x *IgnoreOptional1) UnmarshalJSON(b []byte) error
- type IgnorePlain1
- func (*IgnorePlain1) Descriptor() ([]byte, []int)deprecated
- func (x *IgnorePlain1) GetFAny1() *anypb.Any
- func (x *IgnorePlain1) GetFBool1() bool
- func (x *IgnorePlain1) GetFBytes1() []byte
- func (x *IgnorePlain1) GetFDouble() float64
- func (x *IgnorePlain1) GetFDuration1() *durationpb.Duration
- func (x *IgnorePlain1) GetFEnum1() pbexternal.EnumNum1
- func (x *IgnorePlain1) GetFFixed32() uint32
- func (x *IgnorePlain1) GetFFixed64() uint64
- func (x *IgnorePlain1) GetFFloat() float32
- func (x *IgnorePlain1) GetFInt32() int32
- func (x *IgnorePlain1) GetFInt64() int64
- func (x *IgnorePlain1) GetFMessage1() *pbexternal.Message1
- func (x *IgnorePlain1) GetFSfixed32() int32
- func (x *IgnorePlain1) GetFSfixed64() int64
- func (x *IgnorePlain1) GetFSint32() int32
- func (x *IgnorePlain1) GetFSint64() int64
- func (x *IgnorePlain1) GetFString1() string
- func (x *IgnorePlain1) GetFTimestamp1() *timestamppb.Timestamp
- func (x *IgnorePlain1) GetFUint32() uint32
- func (x *IgnorePlain1) GetFUint64() uint64
- func (x *IgnorePlain1) MarshalJSON() ([]byte, error)
- func (*IgnorePlain1) ProtoMessage()
- func (x *IgnorePlain1) ProtoReflect() protoreflect.Message
- func (x *IgnorePlain1) Reset()
- func (x *IgnorePlain1) String() string
- func (x *IgnorePlain1) UnmarshalJSON(b []byte) error
- type IgnoreRepeated1
- func (*IgnoreRepeated1) Descriptor() ([]byte, []int)deprecated
- func (x *IgnoreRepeated1) GetFAny1() []*anypb.Any
- func (x *IgnoreRepeated1) GetFBool1() []bool
- func (x *IgnoreRepeated1) GetFBytes1() [][]byte
- func (x *IgnoreRepeated1) GetFDouble() []float64
- func (x *IgnoreRepeated1) GetFDuration1() []*durationpb.Duration
- func (x *IgnoreRepeated1) GetFEnum1() []pbexternal.EnumNum1
- func (x *IgnoreRepeated1) GetFFixed32() []uint32
- func (x *IgnoreRepeated1) GetFFixed64() []uint64
- func (x *IgnoreRepeated1) GetFFloat() []float32
- func (x *IgnoreRepeated1) GetFInt32() []int32
- func (x *IgnoreRepeated1) GetFInt64() []int64
- func (x *IgnoreRepeated1) GetFMessage1() []*pbexternal.Message1
- func (x *IgnoreRepeated1) GetFSfixed32() []int32
- func (x *IgnoreRepeated1) GetFSfixed64() []int64
- func (x *IgnoreRepeated1) GetFSint32() []int32
- func (x *IgnoreRepeated1) GetFSint64() []int64
- func (x *IgnoreRepeated1) GetFString1() []string
- func (x *IgnoreRepeated1) GetFTimestamp1() []*timestamppb.Timestamp
- func (x *IgnoreRepeated1) GetFUint32() []uint32
- func (x *IgnoreRepeated1) GetFUint64() []uint64
- func (x *IgnoreRepeated1) MarshalJSON() ([]byte, error)
- func (*IgnoreRepeated1) ProtoMessage()
- func (x *IgnoreRepeated1) ProtoReflect() protoreflect.Message
- func (x *IgnoreRepeated1) Reset()
- func (x *IgnoreRepeated1) String() string
- func (x *IgnoreRepeated1) UnmarshalJSON(b []byte) error
- type InlineOneOf1
- func (*InlineOneOf1) Descriptor() ([]byte, []int)deprecated
- func (x *InlineOneOf1) GetFAny1() *anypb.Any
- func (x *InlineOneOf1) GetFBool1() bool
- func (x *InlineOneOf1) GetFBytes1() []byte
- func (x *InlineOneOf1) GetFDouble() float64
- func (x *InlineOneOf1) GetFDuration1() *durationpb.Duration
- func (x *InlineOneOf1) GetFEnum1() pbexternal.EnumNum1
- func (x *InlineOneOf1) GetFFixed32() uint32
- func (x *InlineOneOf1) GetFFixed64() uint64
- func (x *InlineOneOf1) GetFFloat() float32
- func (x *InlineOneOf1) GetFInt32() int32
- func (x *InlineOneOf1) GetFInt64() int64
- func (x *InlineOneOf1) GetFMessage1() *pbexternal.Message1
- func (x *InlineOneOf1) GetFSfixed32() int32
- func (x *InlineOneOf1) GetFSfixed64() int64
- func (x *InlineOneOf1) GetFSint32() int32
- func (x *InlineOneOf1) GetFSint64() int64
- func (x *InlineOneOf1) GetFString1() string
- func (x *InlineOneOf1) GetFTimestamp1() *timestamppb.Timestamp
- func (x *InlineOneOf1) GetFUint32() uint32
- func (x *InlineOneOf1) GetFUint64() uint64
- func (m *InlineOneOf1) GetOneType1() isInlineOneOf1_OneType1
- func (m *InlineOneOf1) GetOneType10() isInlineOneOf1_OneType10
- func (m *InlineOneOf1) GetOneType11() isInlineOneOf1_OneType11
- func (m *InlineOneOf1) GetOneType12() isInlineOneOf1_OneType12
- func (m *InlineOneOf1) GetOneType13() isInlineOneOf1_OneType13
- func (m *InlineOneOf1) GetOneType14() isInlineOneOf1_OneType14
- func (m *InlineOneOf1) GetOneType15() isInlineOneOf1_OneType15
- func (m *InlineOneOf1) GetOneType16() isInlineOneOf1_OneType16
- func (m *InlineOneOf1) GetOneType17() isInlineOneOf1_OneType17
- func (m *InlineOneOf1) GetOneType18() isInlineOneOf1_OneType18
- func (m *InlineOneOf1) GetOneType19() isInlineOneOf1_OneType19
- func (m *InlineOneOf1) GetOneType2() isInlineOneOf1_OneType2
- func (m *InlineOneOf1) GetOneType20() isInlineOneOf1_OneType20
- func (m *InlineOneOf1) GetOneType3() isInlineOneOf1_OneType3
- func (m *InlineOneOf1) GetOneType4() isInlineOneOf1_OneType4
- func (m *InlineOneOf1) GetOneType5() isInlineOneOf1_OneType5
- func (m *InlineOneOf1) GetOneType6() isInlineOneOf1_OneType6
- func (m *InlineOneOf1) GetOneType7() isInlineOneOf1_OneType7
- func (m *InlineOneOf1) GetOneType8() isInlineOneOf1_OneType8
- func (m *InlineOneOf1) GetOneType9() isInlineOneOf1_OneType9
- func (x *InlineOneOf1) MarshalJSON() ([]byte, error)
- func (*InlineOneOf1) ProtoMessage()
- func (x *InlineOneOf1) ProtoReflect() protoreflect.Message
- func (x *InlineOneOf1) Reset()
- func (x *InlineOneOf1) String() string
- func (x *InlineOneOf1) UnmarshalJSON(b []byte) error
- type InlineOneOf1_FAny1
- type InlineOneOf1_FBool1
- type InlineOneOf1_FBytes1
- type InlineOneOf1_FDouble
- type InlineOneOf1_FDuration1
- type InlineOneOf1_FEnum1
- type InlineOneOf1_FFixed32
- type InlineOneOf1_FFixed64
- type InlineOneOf1_FFloat
- type InlineOneOf1_FInt32
- type InlineOneOf1_FInt64
- type InlineOneOf1_FMessage1
- type InlineOneOf1_FSfixed32
- type InlineOneOf1_FSfixed64
- type InlineOneOf1_FSint32
- type InlineOneOf1_FSint64
- type InlineOneOf1_FString1
- type InlineOneOf1_FTimestamp1
- type InlineOneOf1_FUint32
- type InlineOneOf1_FUint64
- type InlineOneOf2
- func (*InlineOneOf2) Descriptor() ([]byte, []int)deprecated
- func (x *InlineOneOf2) GetFMessage1() *InlineOneOf2Message1
- func (x *InlineOneOf2) GetFString1() string
- func (m *InlineOneOf2) GetOneType01() isInlineOneOf2_OneType01
- func (x *InlineOneOf2) MarshalJSON() ([]byte, error)
- func (*InlineOneOf2) ProtoMessage()
- func (x *InlineOneOf2) ProtoReflect() protoreflect.Message
- func (x *InlineOneOf2) Reset()
- func (x *InlineOneOf2) String() string
- func (x *InlineOneOf2) UnmarshalJSON(b []byte) error
- type InlineOneOf2Message1
- func (*InlineOneOf2Message1) Descriptor() ([]byte, []int)deprecated
- func (x *InlineOneOf2Message1) GetFMessage1() *InlineOneOf2Message2
- func (x *InlineOneOf2Message1) GetFString1() string
- func (m *InlineOneOf2Message1) GetOneType01() isInlineOneOf2Message1_OneType01
- func (x *InlineOneOf2Message1) MarshalJSON() ([]byte, error)
- func (*InlineOneOf2Message1) ProtoMessage()
- func (x *InlineOneOf2Message1) ProtoReflect() protoreflect.Message
- func (x *InlineOneOf2Message1) Reset()
- func (x *InlineOneOf2Message1) String() string
- func (x *InlineOneOf2Message1) UnmarshalJSON(b []byte) error
- type InlineOneOf2Message1_FMessage1
- type InlineOneOf2Message2
- func (*InlineOneOf2Message2) Descriptor() ([]byte, []int)deprecated
- func (x *InlineOneOf2Message2) GetFMessage1() *InlineOneOf2Message3
- func (x *InlineOneOf2Message2) GetFString1() string
- func (m *InlineOneOf2Message2) GetOneType01() isInlineOneOf2Message2_OneType01
- func (x *InlineOneOf2Message2) MarshalJSON() ([]byte, error)
- func (*InlineOneOf2Message2) ProtoMessage()
- func (x *InlineOneOf2Message2) ProtoReflect() protoreflect.Message
- func (x *InlineOneOf2Message2) Reset()
- func (x *InlineOneOf2Message2) String() string
- func (x *InlineOneOf2Message2) UnmarshalJSON(b []byte) error
- type InlineOneOf2Message2_FMessage1
- type InlineOneOf2Message3
- func (*InlineOneOf2Message3) Descriptor() ([]byte, []int)deprecated
- func (x *InlineOneOf2Message3) GetFDouble() float64
- func (x *InlineOneOf2Message3) GetFString1() string
- func (m *InlineOneOf2Message3) GetOneType01() isInlineOneOf2Message3_OneType01
- func (x *InlineOneOf2Message3) MarshalJSON() ([]byte, error)
- func (*InlineOneOf2Message3) ProtoMessage()
- func (x *InlineOneOf2Message3) ProtoReflect() protoreflect.Message
- func (x *InlineOneOf2Message3) Reset()
- func (x *InlineOneOf2Message3) String() string
- func (x *InlineOneOf2Message3) UnmarshalJSON(b []byte) error
- type InlineOneOf2Message3_FDouble
- type InlineOneOf2_FMessage1
- type TypeMap1
- func (*TypeMap1) Descriptor() ([]byte, []int)deprecated
- func (x *TypeMap1) GetFAny1() map[string]*anypb.Any
- func (x *TypeMap1) GetFBool1() map[bool]bool
- func (x *TypeMap1) GetFBytes1() map[string][]byte
- func (x *TypeMap1) GetFDouble() map[string]float64
- func (x *TypeMap1) GetFDuration1() map[string]*durationpb.Duration
- func (x *TypeMap1) GetFEnum1() map[string]pbexternal.EnumNum1
- func (x *TypeMap1) GetFFixed32() map[uint32]uint32
- func (x *TypeMap1) GetFFixed64() map[uint64]uint64
- func (x *TypeMap1) GetFFloat() map[string]float32
- func (x *TypeMap1) GetFInt32() map[int32]int32
- func (x *TypeMap1) GetFInt64() map[int64]int64
- func (x *TypeMap1) GetFMessage1() map[string]*pbexternal.Message1
- func (x *TypeMap1) GetFSfixed32() map[int32]int32
- func (x *TypeMap1) GetFSfixed64() map[int64]int64
- func (x *TypeMap1) GetFSint32() map[int32]int32
- func (x *TypeMap1) GetFSint64() map[int64]int64
- func (x *TypeMap1) GetFString1() map[string]string
- func (x *TypeMap1) GetFTimestamp1() map[string]*timestamppb.Timestamp
- func (x *TypeMap1) GetFUint32() map[uint32]uint32
- func (x *TypeMap1) GetFUint64() map[uint64]uint64
- func (x *TypeMap1) MarshalJSON() ([]byte, error)
- func (*TypeMap1) ProtoMessage()
- func (x *TypeMap1) ProtoReflect() protoreflect.Message
- func (x *TypeMap1) Reset()
- func (x *TypeMap1) String() string
- func (x *TypeMap1) UnmarshalJSON(b []byte) error
- type TypeOneOf1
- func (*TypeOneOf1) Descriptor() ([]byte, []int)deprecated
- func (x *TypeOneOf1) GetFAny1() *anypb.Any
- func (x *TypeOneOf1) GetFBool1() bool
- func (x *TypeOneOf1) GetFBytes1() []byte
- func (x *TypeOneOf1) GetFDouble() float64
- func (x *TypeOneOf1) GetFDuration1() *durationpb.Duration
- func (x *TypeOneOf1) GetFEnum1() pbexternal.EnumNum1
- func (x *TypeOneOf1) GetFFixed32() uint32
- func (x *TypeOneOf1) GetFFixed64() uint64
- func (x *TypeOneOf1) GetFFloat() float32
- func (x *TypeOneOf1) GetFInt32() int32
- func (x *TypeOneOf1) GetFInt64() int64
- func (x *TypeOneOf1) GetFMessage1() *pbexternal.Message1
- func (x *TypeOneOf1) GetFSfixed32() int32
- func (x *TypeOneOf1) GetFSfixed64() int64
- func (x *TypeOneOf1) GetFSint32() int32
- func (x *TypeOneOf1) GetFSint64() int64
- func (x *TypeOneOf1) GetFString1() string
- func (x *TypeOneOf1) GetFTimestamp1() *timestamppb.Timestamp
- func (x *TypeOneOf1) GetFUint32() uint32
- func (x *TypeOneOf1) GetFUint64() uint64
- func (m *TypeOneOf1) GetOneType1() isTypeOneOf1_OneType1
- func (m *TypeOneOf1) GetOneType10() isTypeOneOf1_OneType10
- func (m *TypeOneOf1) GetOneType11() isTypeOneOf1_OneType11
- func (m *TypeOneOf1) GetOneType12() isTypeOneOf1_OneType12
- func (m *TypeOneOf1) GetOneType13() isTypeOneOf1_OneType13
- func (m *TypeOneOf1) GetOneType14() isTypeOneOf1_OneType14
- func (m *TypeOneOf1) GetOneType15() isTypeOneOf1_OneType15
- func (m *TypeOneOf1) GetOneType16() isTypeOneOf1_OneType16
- func (m *TypeOneOf1) GetOneType17() isTypeOneOf1_OneType17
- func (m *TypeOneOf1) GetOneType18() isTypeOneOf1_OneType18
- func (m *TypeOneOf1) GetOneType19() isTypeOneOf1_OneType19
- func (m *TypeOneOf1) GetOneType2() isTypeOneOf1_OneType2
- func (m *TypeOneOf1) GetOneType20() isTypeOneOf1_OneType20
- func (m *TypeOneOf1) GetOneType3() isTypeOneOf1_OneType3
- func (m *TypeOneOf1) GetOneType4() isTypeOneOf1_OneType4
- func (m *TypeOneOf1) GetOneType5() isTypeOneOf1_OneType5
- func (m *TypeOneOf1) GetOneType6() isTypeOneOf1_OneType6
- func (m *TypeOneOf1) GetOneType7() isTypeOneOf1_OneType7
- func (m *TypeOneOf1) GetOneType8() isTypeOneOf1_OneType8
- func (m *TypeOneOf1) GetOneType9() isTypeOneOf1_OneType9
- func (x *TypeOneOf1) MarshalJSON() ([]byte, error)
- func (*TypeOneOf1) ProtoMessage()
- func (x *TypeOneOf1) ProtoReflect() protoreflect.Message
- func (x *TypeOneOf1) Reset()
- func (x *TypeOneOf1) String() string
- func (x *TypeOneOf1) UnmarshalJSON(b []byte) error
- type TypeOneOf1_FAny1
- type TypeOneOf1_FBool1
- type TypeOneOf1_FBytes1
- type TypeOneOf1_FDouble
- type TypeOneOf1_FDuration1
- type TypeOneOf1_FEnum1
- type TypeOneOf1_FFixed32
- type TypeOneOf1_FFixed64
- type TypeOneOf1_FFloat
- type TypeOneOf1_FInt32
- type TypeOneOf1_FInt64
- type TypeOneOf1_FMessage1
- type TypeOneOf1_FSfixed32
- type TypeOneOf1_FSfixed64
- type TypeOneOf1_FSint32
- type TypeOneOf1_FSint64
- type TypeOneOf1_FString1
- type TypeOneOf1_FTimestamp1
- type TypeOneOf1_FUint32
- type TypeOneOf1_FUint64
- type TypeOptional1
- func (*TypeOptional1) Descriptor() ([]byte, []int)deprecated
- func (x *TypeOptional1) GetFAny1() *anypb.Any
- func (x *TypeOptional1) GetFBool1() bool
- func (x *TypeOptional1) GetFBytes1() []byte
- func (x *TypeOptional1) GetFDouble() float64
- func (x *TypeOptional1) GetFDuration1() *durationpb.Duration
- func (x *TypeOptional1) GetFEnum1() pbexternal.EnumNum1
- func (x *TypeOptional1) GetFFixed32() uint32
- func (x *TypeOptional1) GetFFixed64() uint64
- func (x *TypeOptional1) GetFFloat() float32
- func (x *TypeOptional1) GetFInt32() int32
- func (x *TypeOptional1) GetFInt64() int64
- func (x *TypeOptional1) GetFMessage1() *pbexternal.Message1
- func (x *TypeOptional1) GetFSfixed32() int32
- func (x *TypeOptional1) GetFSfixed64() int64
- func (x *TypeOptional1) GetFSint32() int32
- func (x *TypeOptional1) GetFSint64() int64
- func (x *TypeOptional1) GetFString1() string
- func (x *TypeOptional1) GetFTimestamp1() *timestamppb.Timestamp
- func (x *TypeOptional1) GetFUint32() uint32
- func (x *TypeOptional1) GetFUint64() uint64
- func (x *TypeOptional1) MarshalJSON() ([]byte, error)
- func (*TypeOptional1) ProtoMessage()
- func (x *TypeOptional1) ProtoReflect() protoreflect.Message
- func (x *TypeOptional1) Reset()
- func (x *TypeOptional1) String() string
- func (x *TypeOptional1) UnmarshalJSON(b []byte) error
- type TypePlain1
- func (*TypePlain1) Descriptor() ([]byte, []int)deprecated
- func (x *TypePlain1) GetFAny1() *anypb.Any
- func (x *TypePlain1) GetFBool1() bool
- func (x *TypePlain1) GetFBytes1() []byte
- func (x *TypePlain1) GetFDouble() float64
- func (x *TypePlain1) GetFDuration1() *durationpb.Duration
- func (x *TypePlain1) GetFEnum1() pbexternal.EnumNum1
- func (x *TypePlain1) GetFFixed32() uint32
- func (x *TypePlain1) GetFFixed64() uint64
- func (x *TypePlain1) GetFFloat() float32
- func (x *TypePlain1) GetFInt32() int32
- func (x *TypePlain1) GetFInt64() int64
- func (x *TypePlain1) GetFMessage1() *pbexternal.Message1
- func (x *TypePlain1) GetFSfixed32() int32
- func (x *TypePlain1) GetFSfixed64() int64
- func (x *TypePlain1) GetFSint32() int32
- func (x *TypePlain1) GetFSint64() int64
- func (x *TypePlain1) GetFString1() string
- func (x *TypePlain1) GetFTimestamp1() *timestamppb.Timestamp
- func (x *TypePlain1) GetFUint32() uint32
- func (x *TypePlain1) GetFUint64() uint64
- func (x *TypePlain1) MarshalJSON() ([]byte, error)
- func (*TypePlain1) ProtoMessage()
- func (x *TypePlain1) ProtoReflect() protoreflect.Message
- func (x *TypePlain1) Reset()
- func (x *TypePlain1) String() string
- func (x *TypePlain1) UnmarshalJSON(b []byte) error
- type TypeRepeated1
- func (*TypeRepeated1) Descriptor() ([]byte, []int)deprecated
- func (x *TypeRepeated1) GetFAny1() []*anypb.Any
- func (x *TypeRepeated1) GetFBool1() []bool
- func (x *TypeRepeated1) GetFBytes1() [][]byte
- func (x *TypeRepeated1) GetFDouble() []float64
- func (x *TypeRepeated1) GetFDuration1() []*durationpb.Duration
- func (x *TypeRepeated1) GetFEnum1() []pbexternal.EnumNum1
- func (x *TypeRepeated1) GetFFixed32() []uint32
- func (x *TypeRepeated1) GetFFixed64() []uint64
- func (x *TypeRepeated1) GetFFloat() []float32
- func (x *TypeRepeated1) GetFInt32() []int32
- func (x *TypeRepeated1) GetFInt64() []int64
- func (x *TypeRepeated1) GetFMessage1() []*pbexternal.Message1
- func (x *TypeRepeated1) GetFSfixed32() []int32
- func (x *TypeRepeated1) GetFSfixed64() []int64
- func (x *TypeRepeated1) GetFSint32() []int32
- func (x *TypeRepeated1) GetFSint64() []int64
- func (x *TypeRepeated1) GetFString1() []string
- func (x *TypeRepeated1) GetFTimestamp1() []*timestamppb.Timestamp
- func (x *TypeRepeated1) GetFUint32() []uint32
- func (x *TypeRepeated1) GetFUint64() []uint64
- func (x *TypeRepeated1) MarshalJSON() ([]byte, error)
- func (*TypeRepeated1) ProtoMessage()
- func (x *TypeRepeated1) ProtoReflect() protoreflect.Message
- func (x *TypeRepeated1) Reset()
- func (x *TypeRepeated1) String() string
- func (x *TypeRepeated1) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var File_tests_proto_cases_options_ignore_map1_proto protoreflect.FileDescriptor
var File_tests_proto_cases_options_ignore_oneof1_proto protoreflect.FileDescriptor
var File_tests_proto_cases_options_ignore_optional1_proto protoreflect.FileDescriptor
var File_tests_proto_cases_options_ignore_plain1_proto protoreflect.FileDescriptor
var File_tests_proto_cases_options_ignore_repeated1_proto protoreflect.FileDescriptor
var File_tests_proto_cases_options_inline_oneof1_proto protoreflect.FileDescriptor
var File_tests_proto_cases_options_inline_oneof2_proto protoreflect.FileDescriptor
var File_tests_proto_cases_options_option_message1_proto protoreflect.FileDescriptor
var File_tests_proto_cases_options_type_map_proto protoreflect.FileDescriptor
var File_tests_proto_cases_options_type_oneof_proto protoreflect.FileDescriptor
var File_tests_proto_cases_options_type_optional_proto protoreflect.FileDescriptor
var File_tests_proto_cases_options_type_plain_proto protoreflect.FileDescriptor
var File_tests_proto_cases_options_type_repeated_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DisallowUnknownMessage1 ¶
type DisallowUnknownMessage1 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 (*DisallowUnknownMessage1) Descriptor
deprecated
func (*DisallowUnknownMessage1) Descriptor() ([]byte, []int)
Deprecated: Use DisallowUnknownMessage1.ProtoReflect.Descriptor instead.
func (*DisallowUnknownMessage1) GetFString1 ¶
func (x *DisallowUnknownMessage1) GetFString1() string
func (*DisallowUnknownMessage1) GetFString2 ¶
func (x *DisallowUnknownMessage1) GetFString2() string
func (*DisallowUnknownMessage1) GetFString3 ¶
func (x *DisallowUnknownMessage1) GetFString3() string
func (*DisallowUnknownMessage1) MarshalJSON ¶
func (x *DisallowUnknownMessage1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message DisallowUnknownMessage1 in file tests/proto/cases/options/option_message1.proto
func (*DisallowUnknownMessage1) ProtoMessage ¶
func (*DisallowUnknownMessage1) ProtoMessage()
func (*DisallowUnknownMessage1) ProtoReflect ¶
func (x *DisallowUnknownMessage1) ProtoReflect() protoreflect.Message
func (*DisallowUnknownMessage1) Reset ¶
func (x *DisallowUnknownMessage1) Reset()
func (*DisallowUnknownMessage1) String ¶
func (x *DisallowUnknownMessage1) String() string
func (*DisallowUnknownMessage1) UnmarshalJSON ¶
func (x *DisallowUnknownMessage1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message DisallowUnknownMessage1 in file tests/proto/cases/options/option_message1.proto
type DisallowUnknownMessage2 ¶
type DisallowUnknownMessage2 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 (*DisallowUnknownMessage2) Descriptor
deprecated
func (*DisallowUnknownMessage2) Descriptor() ([]byte, []int)
Deprecated: Use DisallowUnknownMessage2.ProtoReflect.Descriptor instead.
func (*DisallowUnknownMessage2) GetFString1 ¶
func (x *DisallowUnknownMessage2) GetFString1() string
func (*DisallowUnknownMessage2) GetFString2 ¶
func (x *DisallowUnknownMessage2) GetFString2() string
func (*DisallowUnknownMessage2) GetFString3 ¶
func (x *DisallowUnknownMessage2) GetFString3() string
func (*DisallowUnknownMessage2) MarshalJSON ¶
func (x *DisallowUnknownMessage2) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message DisallowUnknownMessage2 in file tests/proto/cases/options/option_message1.proto
func (*DisallowUnknownMessage2) ProtoMessage ¶
func (*DisallowUnknownMessage2) ProtoMessage()
func (*DisallowUnknownMessage2) ProtoReflect ¶
func (x *DisallowUnknownMessage2) ProtoReflect() protoreflect.Message
func (*DisallowUnknownMessage2) Reset ¶
func (x *DisallowUnknownMessage2) Reset()
func (*DisallowUnknownMessage2) String ¶
func (x *DisallowUnknownMessage2) String() string
func (*DisallowUnknownMessage2) UnmarshalJSON ¶
func (x *DisallowUnknownMessage2) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message DisallowUnknownMessage2 in file tests/proto/cases/options/option_message1.proto
type IgnoreMap1 ¶
type IgnoreMap1 struct { FInt32 map[int32]int32 `` /* 169-byte string literal not displayed */ FInt64 map[int64]int64 `` /* 169-byte string literal not displayed */ FUint32 map[uint32]uint32 `` /* 172-byte string literal not displayed */ FUint64 map[uint64]uint64 `` /* 172-byte string literal not displayed */ FSint32 map[int32]int32 `` /* 176-byte string literal not displayed */ FSint64 map[int64]int64 `` /* 176-byte string literal not displayed */ FSfixed32 map[int32]int32 `` /* 180-byte string literal not displayed */ FSfixed64 map[int64]int64 `` /* 180-byte string literal not displayed */ FFixed32 map[uint32]uint32 `` /* 177-byte string literal not displayed */ FFixed64 map[uint64]uint64 `` /* 178-byte string literal not displayed */ FFloat map[string]float32 `` /* 170-byte string literal not displayed */ FDouble map[string]float64 `` /* 173-byte string literal not displayed */ FBool1 map[bool]bool `` /* 170-byte string literal not displayed */ FString1 map[string]string `` /* 174-byte string literal not displayed */ FBytes1 map[string][]byte `` /* 171-byte string literal not displayed */ FEnum1 map[string]pbexternal.EnumNum1 `` /* 192-byte string literal not displayed */ FMessage1 map[string]*pbexternal.Message1 `` /* 177-byte string literal not displayed */ FAny1 map[string]*anypb.Any `` /* 165-byte string literal not displayed */ FDuration1 map[string]*durationpb.Duration `` /* 180-byte string literal not displayed */ FTimestamp1 map[string]*timestamppb.Timestamp `` /* 183-byte string literal not displayed */ // contains filtered or unexported fields }
For test cases ignore field.
func (*IgnoreMap1) Descriptor
deprecated
func (*IgnoreMap1) Descriptor() ([]byte, []int)
Deprecated: Use IgnoreMap1.ProtoReflect.Descriptor instead.
func (*IgnoreMap1) GetFBool1 ¶
func (x *IgnoreMap1) GetFBool1() map[bool]bool
func (*IgnoreMap1) GetFBytes1 ¶
func (x *IgnoreMap1) GetFBytes1() map[string][]byte
func (*IgnoreMap1) GetFDouble ¶
func (x *IgnoreMap1) GetFDouble() map[string]float64
func (*IgnoreMap1) GetFDuration1 ¶
func (x *IgnoreMap1) GetFDuration1() map[string]*durationpb.Duration
func (*IgnoreMap1) GetFEnum1 ¶
func (x *IgnoreMap1) GetFEnum1() map[string]pbexternal.EnumNum1
func (*IgnoreMap1) GetFFixed32 ¶
func (x *IgnoreMap1) GetFFixed32() map[uint32]uint32
func (*IgnoreMap1) GetFFixed64 ¶
func (x *IgnoreMap1) GetFFixed64() map[uint64]uint64
func (*IgnoreMap1) GetFFloat ¶
func (x *IgnoreMap1) GetFFloat() map[string]float32
func (*IgnoreMap1) GetFInt32 ¶
func (x *IgnoreMap1) GetFInt32() map[int32]int32
func (*IgnoreMap1) GetFInt64 ¶
func (x *IgnoreMap1) GetFInt64() map[int64]int64
func (*IgnoreMap1) GetFMessage1 ¶
func (x *IgnoreMap1) GetFMessage1() map[string]*pbexternal.Message1
func (*IgnoreMap1) GetFSfixed32 ¶
func (x *IgnoreMap1) GetFSfixed32() map[int32]int32
func (*IgnoreMap1) GetFSfixed64 ¶
func (x *IgnoreMap1) GetFSfixed64() map[int64]int64
func (*IgnoreMap1) GetFSint32 ¶
func (x *IgnoreMap1) GetFSint32() map[int32]int32
func (*IgnoreMap1) GetFSint64 ¶
func (x *IgnoreMap1) GetFSint64() map[int64]int64
func (*IgnoreMap1) GetFString1 ¶
func (x *IgnoreMap1) GetFString1() map[string]string
func (*IgnoreMap1) GetFTimestamp1 ¶
func (x *IgnoreMap1) GetFTimestamp1() map[string]*timestamppb.Timestamp
func (*IgnoreMap1) GetFUint32 ¶
func (x *IgnoreMap1) GetFUint32() map[uint32]uint32
func (*IgnoreMap1) GetFUint64 ¶
func (x *IgnoreMap1) GetFUint64() map[uint64]uint64
func (*IgnoreMap1) MarshalJSON ¶
func (x *IgnoreMap1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message IgnoreMap1 in file tests/proto/cases/options/ignore_map1.proto
func (*IgnoreMap1) ProtoMessage ¶
func (*IgnoreMap1) ProtoMessage()
func (*IgnoreMap1) ProtoReflect ¶
func (x *IgnoreMap1) ProtoReflect() protoreflect.Message
func (*IgnoreMap1) Reset ¶
func (x *IgnoreMap1) Reset()
func (*IgnoreMap1) String ¶
func (x *IgnoreMap1) String() string
func (*IgnoreMap1) UnmarshalJSON ¶
func (x *IgnoreMap1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message IgnoreMap1 in file tests/proto/cases/options/ignore_map1.proto
type IgnoreMessage1 ¶
type IgnoreMessage1 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 (*IgnoreMessage1) Descriptor
deprecated
func (*IgnoreMessage1) Descriptor() ([]byte, []int)
Deprecated: Use IgnoreMessage1.ProtoReflect.Descriptor instead.
func (*IgnoreMessage1) GetFString1 ¶
func (x *IgnoreMessage1) GetFString1() string
func (*IgnoreMessage1) GetFString2 ¶
func (x *IgnoreMessage1) GetFString2() string
func (*IgnoreMessage1) GetFString3 ¶
func (x *IgnoreMessage1) GetFString3() string
func (*IgnoreMessage1) ProtoMessage ¶
func (*IgnoreMessage1) ProtoMessage()
func (*IgnoreMessage1) ProtoReflect ¶
func (x *IgnoreMessage1) ProtoReflect() protoreflect.Message
func (*IgnoreMessage1) Reset ¶
func (x *IgnoreMessage1) Reset()
func (*IgnoreMessage1) String ¶
func (x *IgnoreMessage1) String() string
type IgnoreOneOf1 ¶
type IgnoreOneOf1 struct { // Types that are assignable to OneType1: // *IgnoreOneOf1_FInt32 OneType1 isIgnoreOneOf1_OneType1 `protobuf_oneof:"OneType1"` // Types that are assignable to OneType2: // *IgnoreOneOf1_FInt64 OneType2 isIgnoreOneOf1_OneType2 `protobuf_oneof:"OneType2"` // Types that are assignable to OneType3: // *IgnoreOneOf1_FUint32 OneType3 isIgnoreOneOf1_OneType3 `protobuf_oneof:"OneType3"` // Types that are assignable to OneType4: // *IgnoreOneOf1_FUint64 OneType4 isIgnoreOneOf1_OneType4 `protobuf_oneof:"OneType4"` // Types that are assignable to OneType5: // *IgnoreOneOf1_FSint32 OneType5 isIgnoreOneOf1_OneType5 `protobuf_oneof:"OneType5"` // Types that are assignable to OneType6: // *IgnoreOneOf1_FSint64 OneType6 isIgnoreOneOf1_OneType6 `protobuf_oneof:"OneType6"` // Types that are assignable to OneType7: // *IgnoreOneOf1_FSfixed32 OneType7 isIgnoreOneOf1_OneType7 `protobuf_oneof:"OneType7"` // Types that are assignable to OneType8: // *IgnoreOneOf1_FSfixed64 OneType8 isIgnoreOneOf1_OneType8 `protobuf_oneof:"OneType8"` // Types that are assignable to OneType9: // *IgnoreOneOf1_FFixed32 OneType9 isIgnoreOneOf1_OneType9 `protobuf_oneof:"OneType9"` // Types that are assignable to OneType10: // *IgnoreOneOf1_FFixed64 OneType10 isIgnoreOneOf1_OneType10 `protobuf_oneof:"OneType10"` // Types that are assignable to OneType11: // *IgnoreOneOf1_FFloat OneType11 isIgnoreOneOf1_OneType11 `protobuf_oneof:"OneType11"` // Types that are assignable to OneType12: // *IgnoreOneOf1_FDouble OneType12 isIgnoreOneOf1_OneType12 `protobuf_oneof:"OneType12"` // Types that are assignable to OneType13: // *IgnoreOneOf1_FBool1 OneType13 isIgnoreOneOf1_OneType13 `protobuf_oneof:"OneType13"` // Types that are assignable to OneType14: // *IgnoreOneOf1_FString1 OneType14 isIgnoreOneOf1_OneType14 `protobuf_oneof:"OneType14"` // Types that are assignable to OneType15: // *IgnoreOneOf1_FBytes1 OneType15 isIgnoreOneOf1_OneType15 `protobuf_oneof:"OneType15"` // Types that are assignable to OneType16: // *IgnoreOneOf1_FEnum1 OneType16 isIgnoreOneOf1_OneType16 `protobuf_oneof:"OneType16"` // Types that are assignable to OneType17: // *IgnoreOneOf1_FMessage1 OneType17 isIgnoreOneOf1_OneType17 `protobuf_oneof:"OneType17"` // Types that are assignable to OneType18: // *IgnoreOneOf1_FAny1 OneType18 isIgnoreOneOf1_OneType18 `protobuf_oneof:"OneType18"` // Types that are assignable to OneType19: // *IgnoreOneOf1_FDuration1 OneType19 isIgnoreOneOf1_OneType19 `protobuf_oneof:"OneType19"` // Types that are assignable to OneType20: // *IgnoreOneOf1_FTimestamp1 OneType20 isIgnoreOneOf1_OneType20 `protobuf_oneof:"OneType20"` // contains filtered or unexported fields }
For test cases ignore field.
func (*IgnoreOneOf1) Descriptor
deprecated
func (*IgnoreOneOf1) Descriptor() ([]byte, []int)
Deprecated: Use IgnoreOneOf1.ProtoReflect.Descriptor instead.
func (*IgnoreOneOf1) GetFAny1 ¶
func (x *IgnoreOneOf1) GetFAny1() *anypb.Any
func (*IgnoreOneOf1) GetFBool1 ¶
func (x *IgnoreOneOf1) GetFBool1() bool
func (*IgnoreOneOf1) GetFBytes1 ¶
func (x *IgnoreOneOf1) GetFBytes1() []byte
func (*IgnoreOneOf1) GetFDouble ¶
func (x *IgnoreOneOf1) GetFDouble() float64
func (*IgnoreOneOf1) GetFDuration1 ¶
func (x *IgnoreOneOf1) GetFDuration1() *durationpb.Duration
func (*IgnoreOneOf1) GetFEnum1 ¶
func (x *IgnoreOneOf1) GetFEnum1() pbexternal.EnumNum1
func (*IgnoreOneOf1) GetFFixed32 ¶
func (x *IgnoreOneOf1) GetFFixed32() uint32
func (*IgnoreOneOf1) GetFFixed64 ¶
func (x *IgnoreOneOf1) GetFFixed64() uint64
func (*IgnoreOneOf1) GetFFloat ¶
func (x *IgnoreOneOf1) GetFFloat() float32
func (*IgnoreOneOf1) GetFInt32 ¶
func (x *IgnoreOneOf1) GetFInt32() int32
func (*IgnoreOneOf1) GetFInt64 ¶
func (x *IgnoreOneOf1) GetFInt64() int64
func (*IgnoreOneOf1) GetFMessage1 ¶
func (x *IgnoreOneOf1) GetFMessage1() *pbexternal.Message1
func (*IgnoreOneOf1) GetFSfixed32 ¶
func (x *IgnoreOneOf1) GetFSfixed32() int32
func (*IgnoreOneOf1) GetFSfixed64 ¶
func (x *IgnoreOneOf1) GetFSfixed64() int64
func (*IgnoreOneOf1) GetFSint32 ¶
func (x *IgnoreOneOf1) GetFSint32() int32
func (*IgnoreOneOf1) GetFSint64 ¶
func (x *IgnoreOneOf1) GetFSint64() int64
func (*IgnoreOneOf1) GetFString1 ¶
func (x *IgnoreOneOf1) GetFString1() string
func (*IgnoreOneOf1) GetFTimestamp1 ¶
func (x *IgnoreOneOf1) GetFTimestamp1() *timestamppb.Timestamp
func (*IgnoreOneOf1) GetFUint32 ¶
func (x *IgnoreOneOf1) GetFUint32() uint32
func (*IgnoreOneOf1) GetFUint64 ¶
func (x *IgnoreOneOf1) GetFUint64() uint64
func (*IgnoreOneOf1) GetOneType1 ¶
func (m *IgnoreOneOf1) GetOneType1() isIgnoreOneOf1_OneType1
func (*IgnoreOneOf1) GetOneType10 ¶
func (m *IgnoreOneOf1) GetOneType10() isIgnoreOneOf1_OneType10
func (*IgnoreOneOf1) GetOneType11 ¶
func (m *IgnoreOneOf1) GetOneType11() isIgnoreOneOf1_OneType11
func (*IgnoreOneOf1) GetOneType12 ¶
func (m *IgnoreOneOf1) GetOneType12() isIgnoreOneOf1_OneType12
func (*IgnoreOneOf1) GetOneType13 ¶
func (m *IgnoreOneOf1) GetOneType13() isIgnoreOneOf1_OneType13
func (*IgnoreOneOf1) GetOneType14 ¶
func (m *IgnoreOneOf1) GetOneType14() isIgnoreOneOf1_OneType14
func (*IgnoreOneOf1) GetOneType15 ¶
func (m *IgnoreOneOf1) GetOneType15() isIgnoreOneOf1_OneType15
func (*IgnoreOneOf1) GetOneType16 ¶
func (m *IgnoreOneOf1) GetOneType16() isIgnoreOneOf1_OneType16
func (*IgnoreOneOf1) GetOneType17 ¶
func (m *IgnoreOneOf1) GetOneType17() isIgnoreOneOf1_OneType17
func (*IgnoreOneOf1) GetOneType18 ¶
func (m *IgnoreOneOf1) GetOneType18() isIgnoreOneOf1_OneType18
func (*IgnoreOneOf1) GetOneType19 ¶
func (m *IgnoreOneOf1) GetOneType19() isIgnoreOneOf1_OneType19
func (*IgnoreOneOf1) GetOneType2 ¶
func (m *IgnoreOneOf1) GetOneType2() isIgnoreOneOf1_OneType2
func (*IgnoreOneOf1) GetOneType20 ¶
func (m *IgnoreOneOf1) GetOneType20() isIgnoreOneOf1_OneType20
func (*IgnoreOneOf1) GetOneType3 ¶
func (m *IgnoreOneOf1) GetOneType3() isIgnoreOneOf1_OneType3
func (*IgnoreOneOf1) GetOneType4 ¶
func (m *IgnoreOneOf1) GetOneType4() isIgnoreOneOf1_OneType4
func (*IgnoreOneOf1) GetOneType5 ¶
func (m *IgnoreOneOf1) GetOneType5() isIgnoreOneOf1_OneType5
func (*IgnoreOneOf1) GetOneType6 ¶
func (m *IgnoreOneOf1) GetOneType6() isIgnoreOneOf1_OneType6
func (*IgnoreOneOf1) GetOneType7 ¶
func (m *IgnoreOneOf1) GetOneType7() isIgnoreOneOf1_OneType7
func (*IgnoreOneOf1) GetOneType8 ¶
func (m *IgnoreOneOf1) GetOneType8() isIgnoreOneOf1_OneType8
func (*IgnoreOneOf1) GetOneType9 ¶
func (m *IgnoreOneOf1) GetOneType9() isIgnoreOneOf1_OneType9
func (*IgnoreOneOf1) MarshalJSON ¶
func (x *IgnoreOneOf1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message IgnoreOneOf1 in file tests/proto/cases/options/ignore_oneof1.proto
func (*IgnoreOneOf1) ProtoMessage ¶
func (*IgnoreOneOf1) ProtoMessage()
func (*IgnoreOneOf1) ProtoReflect ¶
func (x *IgnoreOneOf1) ProtoReflect() protoreflect.Message
func (*IgnoreOneOf1) Reset ¶
func (x *IgnoreOneOf1) Reset()
func (*IgnoreOneOf1) String ¶
func (x *IgnoreOneOf1) String() string
func (*IgnoreOneOf1) UnmarshalJSON ¶
func (x *IgnoreOneOf1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message IgnoreOneOf1 in file tests/proto/cases/options/ignore_oneof1.proto
type IgnoreOneOf1_FAny1 ¶
type IgnoreOneOf1_FBool1 ¶
type IgnoreOneOf1_FBool1 struct {
FBool1 bool `protobuf:"varint,21,opt,name=f_bool1,json=fBool1,proto3,oneof"`
}
type IgnoreOneOf1_FBytes1 ¶
type IgnoreOneOf1_FBytes1 struct {
FBytes1 []byte `protobuf:"bytes,23,opt,name=f_bytes1,json=fBytes1,proto3,oneof"`
}
type IgnoreOneOf1_FDouble ¶
type IgnoreOneOf1_FDouble struct {
FDouble float64 `protobuf:"fixed64,12,opt,name=f_double,json=fDouble,proto3,oneof"`
}
type IgnoreOneOf1_FDuration1 ¶
type IgnoreOneOf1_FDuration1 struct {
FDuration1 *durationpb.Duration `protobuf:"bytes,42,opt,name=f_duration1,json=fDuration1,proto3,oneof"`
}
type IgnoreOneOf1_FEnum1 ¶
type IgnoreOneOf1_FEnum1 struct {
FEnum1 pbexternal.EnumNum1 `protobuf:"varint,31,opt,name=f_enum1,json=fEnum1,proto3,enum=external.EnumNum1,oneof"`
}
type IgnoreOneOf1_FFixed32 ¶
type IgnoreOneOf1_FFixed32 struct {
FFixed32 uint32 `protobuf:"fixed32,9,opt,name=f_fixed32,json=fFixed32,proto3,oneof"`
}
type IgnoreOneOf1_FFixed64 ¶
type IgnoreOneOf1_FFixed64 struct {
FFixed64 uint64 `protobuf:"fixed64,10,opt,name=f_fixed64,json=fFixed64,proto3,oneof"`
}
type IgnoreOneOf1_FFloat ¶
type IgnoreOneOf1_FFloat struct {
FFloat float32 `protobuf:"fixed32,11,opt,name=f_float,json=fFloat,proto3,oneof"`
}
type IgnoreOneOf1_FInt32 ¶
type IgnoreOneOf1_FInt32 struct {
FInt32 int32 `protobuf:"varint,1,opt,name=f_int32,json=fInt32,proto3,oneof"`
}
type IgnoreOneOf1_FInt64 ¶
type IgnoreOneOf1_FInt64 struct {
FInt64 int64 `protobuf:"varint,2,opt,name=f_int64,json=fInt64,proto3,oneof"`
}
type IgnoreOneOf1_FMessage1 ¶
type IgnoreOneOf1_FMessage1 struct {
FMessage1 *pbexternal.Message1 `protobuf:"bytes,32,opt,name=f_message1,json=fMessage1,proto3,oneof"`
}
type IgnoreOneOf1_FSfixed32 ¶
type IgnoreOneOf1_FSfixed32 struct {
FSfixed32 int32 `protobuf:"fixed32,7,opt,name=f_sfixed32,json=fSfixed32,proto3,oneof"`
}
type IgnoreOneOf1_FSfixed64 ¶
type IgnoreOneOf1_FSfixed64 struct {
FSfixed64 int64 `protobuf:"fixed64,8,opt,name=f_sfixed64,json=fSfixed64,proto3,oneof"`
}
type IgnoreOneOf1_FSint32 ¶
type IgnoreOneOf1_FSint32 struct {
FSint32 int32 `protobuf:"zigzag32,5,opt,name=f_sint32,json=fSint32,proto3,oneof"`
}
type IgnoreOneOf1_FSint64 ¶
type IgnoreOneOf1_FSint64 struct {
FSint64 int64 `protobuf:"zigzag64,6,opt,name=f_sint64,json=fSint64,proto3,oneof"`
}
type IgnoreOneOf1_FString1 ¶
type IgnoreOneOf1_FString1 struct {
FString1 string `protobuf:"bytes,22,opt,name=f_string1,json=fString1,proto3,oneof"`
}
type IgnoreOneOf1_FTimestamp1 ¶
type IgnoreOneOf1_FTimestamp1 struct {
FTimestamp1 *timestamppb.Timestamp `protobuf:"bytes,43,opt,name=f_timestamp1,json=fTimestamp1,proto3,oneof"`
}
type IgnoreOneOf1_FUint32 ¶
type IgnoreOneOf1_FUint32 struct {
FUint32 uint32 `protobuf:"varint,3,opt,name=f_uint32,json=fUint32,proto3,oneof"`
}
type IgnoreOneOf1_FUint64 ¶
type IgnoreOneOf1_FUint64 struct {
FUint64 uint64 `protobuf:"varint,4,opt,name=f_uint64,json=fUint64,proto3,oneof"`
}
type IgnoreOneOf2 ¶
type IgnoreOneOf2 struct { // Types that are assignable to OneType1: // *IgnoreOneOf2_FInt32 OneType1 isIgnoreOneOf2_OneType1 `protobuf_oneof:"OneType1"` // Types that are assignable to OneType2: // *IgnoreOneOf2_FInt64 OneType2 isIgnoreOneOf2_OneType2 `protobuf_oneof:"OneType2"` // Types that are assignable to OneType3: // *IgnoreOneOf2_FUint32 OneType3 isIgnoreOneOf2_OneType3 `protobuf_oneof:"OneType3"` // Types that are assignable to OneType4: // *IgnoreOneOf2_FUint64 OneType4 isIgnoreOneOf2_OneType4 `protobuf_oneof:"OneType4"` // Types that are assignable to OneType5: // *IgnoreOneOf2_FSint32 OneType5 isIgnoreOneOf2_OneType5 `protobuf_oneof:"OneType5"` // Types that are assignable to OneType6: // *IgnoreOneOf2_FSint64 OneType6 isIgnoreOneOf2_OneType6 `protobuf_oneof:"OneType6"` // Types that are assignable to OneType7: // *IgnoreOneOf2_FSfixed32 OneType7 isIgnoreOneOf2_OneType7 `protobuf_oneof:"OneType7"` // Types that are assignable to OneType8: // *IgnoreOneOf2_FSfixed64 OneType8 isIgnoreOneOf2_OneType8 `protobuf_oneof:"OneType8"` // Types that are assignable to OneType9: // *IgnoreOneOf2_FFixed32 OneType9 isIgnoreOneOf2_OneType9 `protobuf_oneof:"OneType9"` // Types that are assignable to OneType10: // *IgnoreOneOf2_FFixed64 OneType10 isIgnoreOneOf2_OneType10 `protobuf_oneof:"OneType10"` // Types that are assignable to OneType11: // *IgnoreOneOf2_FFloat OneType11 isIgnoreOneOf2_OneType11 `protobuf_oneof:"OneType11"` // Types that are assignable to OneType12: // *IgnoreOneOf2_FDouble OneType12 isIgnoreOneOf2_OneType12 `protobuf_oneof:"OneType12"` // Types that are assignable to OneType13: // *IgnoreOneOf2_FBool1 OneType13 isIgnoreOneOf2_OneType13 `protobuf_oneof:"OneType13"` // Types that are assignable to OneType14: // *IgnoreOneOf2_FString1 OneType14 isIgnoreOneOf2_OneType14 `protobuf_oneof:"OneType14"` // Types that are assignable to OneType15: // *IgnoreOneOf2_FBytes1 OneType15 isIgnoreOneOf2_OneType15 `protobuf_oneof:"OneType15"` // Types that are assignable to OneType16: // *IgnoreOneOf2_FEnum1 OneType16 isIgnoreOneOf2_OneType16 `protobuf_oneof:"OneType16"` // Types that are assignable to OneType17: // *IgnoreOneOf2_FMessage1 OneType17 isIgnoreOneOf2_OneType17 `protobuf_oneof:"OneType17"` // Types that are assignable to OneType18: // *IgnoreOneOf2_FAny1 OneType18 isIgnoreOneOf2_OneType18 `protobuf_oneof:"OneType18"` // Types that are assignable to OneType19: // *IgnoreOneOf2_FDuration1 OneType19 isIgnoreOneOf2_OneType19 `protobuf_oneof:"OneType19"` // Types that are assignable to OneType20: // *IgnoreOneOf2_FTimestamp1 OneType20 isIgnoreOneOf2_OneType20 `protobuf_oneof:"OneType20"` // contains filtered or unexported fields }
For test cases ignore field.
func (*IgnoreOneOf2) Descriptor
deprecated
func (*IgnoreOneOf2) Descriptor() ([]byte, []int)
Deprecated: Use IgnoreOneOf2.ProtoReflect.Descriptor instead.
func (*IgnoreOneOf2) GetFAny1 ¶
func (x *IgnoreOneOf2) GetFAny1() *anypb.Any
func (*IgnoreOneOf2) GetFBool1 ¶
func (x *IgnoreOneOf2) GetFBool1() bool
func (*IgnoreOneOf2) GetFBytes1 ¶
func (x *IgnoreOneOf2) GetFBytes1() []byte
func (*IgnoreOneOf2) GetFDouble ¶
func (x *IgnoreOneOf2) GetFDouble() float64
func (*IgnoreOneOf2) GetFDuration1 ¶
func (x *IgnoreOneOf2) GetFDuration1() *durationpb.Duration
func (*IgnoreOneOf2) GetFEnum1 ¶
func (x *IgnoreOneOf2) GetFEnum1() pbexternal.EnumNum1
func (*IgnoreOneOf2) GetFFixed32 ¶
func (x *IgnoreOneOf2) GetFFixed32() uint32
func (*IgnoreOneOf2) GetFFixed64 ¶
func (x *IgnoreOneOf2) GetFFixed64() uint64
func (*IgnoreOneOf2) GetFFloat ¶
func (x *IgnoreOneOf2) GetFFloat() float32
func (*IgnoreOneOf2) GetFInt32 ¶
func (x *IgnoreOneOf2) GetFInt32() int32
func (*IgnoreOneOf2) GetFInt64 ¶
func (x *IgnoreOneOf2) GetFInt64() int64
func (*IgnoreOneOf2) GetFMessage1 ¶
func (x *IgnoreOneOf2) GetFMessage1() *pbexternal.Message1
func (*IgnoreOneOf2) GetFSfixed32 ¶
func (x *IgnoreOneOf2) GetFSfixed32() int32
func (*IgnoreOneOf2) GetFSfixed64 ¶
func (x *IgnoreOneOf2) GetFSfixed64() int64
func (*IgnoreOneOf2) GetFSint32 ¶
func (x *IgnoreOneOf2) GetFSint32() int32
func (*IgnoreOneOf2) GetFSint64 ¶
func (x *IgnoreOneOf2) GetFSint64() int64
func (*IgnoreOneOf2) GetFString1 ¶
func (x *IgnoreOneOf2) GetFString1() string
func (*IgnoreOneOf2) GetFTimestamp1 ¶
func (x *IgnoreOneOf2) GetFTimestamp1() *timestamppb.Timestamp
func (*IgnoreOneOf2) GetFUint32 ¶
func (x *IgnoreOneOf2) GetFUint32() uint32
func (*IgnoreOneOf2) GetFUint64 ¶
func (x *IgnoreOneOf2) GetFUint64() uint64
func (*IgnoreOneOf2) GetOneType1 ¶
func (m *IgnoreOneOf2) GetOneType1() isIgnoreOneOf2_OneType1
func (*IgnoreOneOf2) GetOneType10 ¶
func (m *IgnoreOneOf2) GetOneType10() isIgnoreOneOf2_OneType10
func (*IgnoreOneOf2) GetOneType11 ¶
func (m *IgnoreOneOf2) GetOneType11() isIgnoreOneOf2_OneType11
func (*IgnoreOneOf2) GetOneType12 ¶
func (m *IgnoreOneOf2) GetOneType12() isIgnoreOneOf2_OneType12
func (*IgnoreOneOf2) GetOneType13 ¶
func (m *IgnoreOneOf2) GetOneType13() isIgnoreOneOf2_OneType13
func (*IgnoreOneOf2) GetOneType14 ¶
func (m *IgnoreOneOf2) GetOneType14() isIgnoreOneOf2_OneType14
func (*IgnoreOneOf2) GetOneType15 ¶
func (m *IgnoreOneOf2) GetOneType15() isIgnoreOneOf2_OneType15
func (*IgnoreOneOf2) GetOneType16 ¶
func (m *IgnoreOneOf2) GetOneType16() isIgnoreOneOf2_OneType16
func (*IgnoreOneOf2) GetOneType17 ¶
func (m *IgnoreOneOf2) GetOneType17() isIgnoreOneOf2_OneType17
func (*IgnoreOneOf2) GetOneType18 ¶
func (m *IgnoreOneOf2) GetOneType18() isIgnoreOneOf2_OneType18
func (*IgnoreOneOf2) GetOneType19 ¶
func (m *IgnoreOneOf2) GetOneType19() isIgnoreOneOf2_OneType19
func (*IgnoreOneOf2) GetOneType2 ¶
func (m *IgnoreOneOf2) GetOneType2() isIgnoreOneOf2_OneType2
func (*IgnoreOneOf2) GetOneType20 ¶
func (m *IgnoreOneOf2) GetOneType20() isIgnoreOneOf2_OneType20
func (*IgnoreOneOf2) GetOneType3 ¶
func (m *IgnoreOneOf2) GetOneType3() isIgnoreOneOf2_OneType3
func (*IgnoreOneOf2) GetOneType4 ¶
func (m *IgnoreOneOf2) GetOneType4() isIgnoreOneOf2_OneType4
func (*IgnoreOneOf2) GetOneType5 ¶
func (m *IgnoreOneOf2) GetOneType5() isIgnoreOneOf2_OneType5
func (*IgnoreOneOf2) GetOneType6 ¶
func (m *IgnoreOneOf2) GetOneType6() isIgnoreOneOf2_OneType6
func (*IgnoreOneOf2) GetOneType7 ¶
func (m *IgnoreOneOf2) GetOneType7() isIgnoreOneOf2_OneType7
func (*IgnoreOneOf2) GetOneType8 ¶
func (m *IgnoreOneOf2) GetOneType8() isIgnoreOneOf2_OneType8
func (*IgnoreOneOf2) GetOneType9 ¶
func (m *IgnoreOneOf2) GetOneType9() isIgnoreOneOf2_OneType9
func (*IgnoreOneOf2) MarshalJSON ¶
func (x *IgnoreOneOf2) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message IgnoreOneOf2 in file tests/proto/cases/options/ignore_oneof1.proto
func (*IgnoreOneOf2) ProtoMessage ¶
func (*IgnoreOneOf2) ProtoMessage()
func (*IgnoreOneOf2) ProtoReflect ¶
func (x *IgnoreOneOf2) ProtoReflect() protoreflect.Message
func (*IgnoreOneOf2) Reset ¶
func (x *IgnoreOneOf2) Reset()
func (*IgnoreOneOf2) String ¶
func (x *IgnoreOneOf2) String() string
func (*IgnoreOneOf2) UnmarshalJSON ¶
func (x *IgnoreOneOf2) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message IgnoreOneOf2 in file tests/proto/cases/options/ignore_oneof1.proto
type IgnoreOneOf2_FAny1 ¶
type IgnoreOneOf2_FBool1 ¶
type IgnoreOneOf2_FBool1 struct {
FBool1 bool `protobuf:"varint,21,opt,name=f_bool1,json=fBool1,proto3,oneof"`
}
type IgnoreOneOf2_FBytes1 ¶
type IgnoreOneOf2_FBytes1 struct {
FBytes1 []byte `protobuf:"bytes,23,opt,name=f_bytes1,json=fBytes1,proto3,oneof"`
}
type IgnoreOneOf2_FDouble ¶
type IgnoreOneOf2_FDouble struct {
FDouble float64 `protobuf:"fixed64,12,opt,name=f_double,json=fDouble,proto3,oneof"`
}
type IgnoreOneOf2_FDuration1 ¶
type IgnoreOneOf2_FDuration1 struct {
FDuration1 *durationpb.Duration `protobuf:"bytes,42,opt,name=f_duration1,json=fDuration1,proto3,oneof"`
}
type IgnoreOneOf2_FEnum1 ¶
type IgnoreOneOf2_FEnum1 struct {
FEnum1 pbexternal.EnumNum1 `protobuf:"varint,31,opt,name=f_enum1,json=fEnum1,proto3,enum=external.EnumNum1,oneof"`
}
type IgnoreOneOf2_FFixed32 ¶
type IgnoreOneOf2_FFixed32 struct {
FFixed32 uint32 `protobuf:"fixed32,9,opt,name=f_fixed32,json=fFixed32,proto3,oneof"`
}
type IgnoreOneOf2_FFixed64 ¶
type IgnoreOneOf2_FFixed64 struct {
FFixed64 uint64 `protobuf:"fixed64,10,opt,name=f_fixed64,json=fFixed64,proto3,oneof"`
}
type IgnoreOneOf2_FFloat ¶
type IgnoreOneOf2_FFloat struct {
FFloat float32 `protobuf:"fixed32,11,opt,name=f_float,json=fFloat,proto3,oneof"`
}
type IgnoreOneOf2_FInt32 ¶
type IgnoreOneOf2_FInt32 struct {
FInt32 int32 `protobuf:"varint,1,opt,name=f_int32,json=fInt32,proto3,oneof"`
}
type IgnoreOneOf2_FInt64 ¶
type IgnoreOneOf2_FInt64 struct {
FInt64 int64 `protobuf:"varint,2,opt,name=f_int64,json=fInt64,proto3,oneof"`
}
type IgnoreOneOf2_FMessage1 ¶
type IgnoreOneOf2_FMessage1 struct {
FMessage1 *pbexternal.Message1 `protobuf:"bytes,32,opt,name=f_message1,json=fMessage1,proto3,oneof"`
}
type IgnoreOneOf2_FSfixed32 ¶
type IgnoreOneOf2_FSfixed32 struct {
FSfixed32 int32 `protobuf:"fixed32,7,opt,name=f_sfixed32,json=fSfixed32,proto3,oneof"`
}
type IgnoreOneOf2_FSfixed64 ¶
type IgnoreOneOf2_FSfixed64 struct {
FSfixed64 int64 `protobuf:"fixed64,8,opt,name=f_sfixed64,json=fSfixed64,proto3,oneof"`
}
type IgnoreOneOf2_FSint32 ¶
type IgnoreOneOf2_FSint32 struct {
FSint32 int32 `protobuf:"zigzag32,5,opt,name=f_sint32,json=fSint32,proto3,oneof"`
}
type IgnoreOneOf2_FSint64 ¶
type IgnoreOneOf2_FSint64 struct {
FSint64 int64 `protobuf:"zigzag64,6,opt,name=f_sint64,json=fSint64,proto3,oneof"`
}
type IgnoreOneOf2_FString1 ¶
type IgnoreOneOf2_FString1 struct {
FString1 string `protobuf:"bytes,22,opt,name=f_string1,json=fString1,proto3,oneof"`
}
type IgnoreOneOf2_FTimestamp1 ¶
type IgnoreOneOf2_FTimestamp1 struct {
FTimestamp1 *timestamppb.Timestamp `protobuf:"bytes,43,opt,name=f_timestamp1,json=fTimestamp1,proto3,oneof"`
}
type IgnoreOneOf2_FUint32 ¶
type IgnoreOneOf2_FUint32 struct {
FUint32 uint32 `protobuf:"varint,3,opt,name=f_uint32,json=fUint32,proto3,oneof"`
}
type IgnoreOneOf2_FUint64 ¶
type IgnoreOneOf2_FUint64 struct {
FUint64 uint64 `protobuf:"varint,4,opt,name=f_uint64,json=fUint64,proto3,oneof"`
}
type IgnoreOptional1 ¶
type IgnoreOptional1 struct { FInt32 *int32 `protobuf:"varint,1,opt,name=f_int32,json=fInt32,proto3,oneof" json:"f_int32,omitempty"` FInt64 *int64 `protobuf:"varint,2,opt,name=f_int64,json=fInt64,proto3,oneof" json:"f_int64,omitempty"` FUint32 *uint32 `protobuf:"varint,3,opt,name=f_uint32,json=fUint32,proto3,oneof" json:"f_uint32,omitempty"` FUint64 *uint64 `protobuf:"varint,4,opt,name=f_uint64,json=fUint64,proto3,oneof" json:"f_uint64,omitempty"` FSint32 *int32 `protobuf:"zigzag32,5,opt,name=f_sint32,json=fSint32,proto3,oneof" json:"f_sint32,omitempty"` FSint64 *int64 `protobuf:"zigzag64,6,opt,name=f_sint64,json=fSint64,proto3,oneof" json:"f_sint64,omitempty"` FSfixed32 *int32 `protobuf:"fixed32,7,opt,name=f_sfixed32,json=fSfixed32,proto3,oneof" json:"f_sfixed32,omitempty"` FSfixed64 *int64 `protobuf:"fixed64,8,opt,name=f_sfixed64,json=fSfixed64,proto3,oneof" json:"f_sfixed64,omitempty"` FFixed32 *uint32 `protobuf:"fixed32,9,opt,name=f_fixed32,json=fFixed32,proto3,oneof" json:"f_fixed32,omitempty"` FFixed64 *uint64 `protobuf:"fixed64,10,opt,name=f_fixed64,json=fFixed64,proto3,oneof" json:"f_fixed64,omitempty"` FFloat *float32 `protobuf:"fixed32,11,opt,name=f_float,json=fFloat,proto3,oneof" json:"f_float,omitempty"` FDouble *float64 `protobuf:"fixed64,12,opt,name=f_double,json=fDouble,proto3,oneof" json:"f_double,omitempty"` FBool1 *bool `protobuf:"varint,21,opt,name=f_bool1,json=fBool1,proto3,oneof" json:"f_bool1,omitempty"` FString1 *string `protobuf:"bytes,22,opt,name=f_string1,json=fString1,proto3,oneof" json:"f_string1,omitempty"` FBytes1 []byte `protobuf:"bytes,23,opt,name=f_bytes1,json=fBytes1,proto3,oneof" json:"f_bytes1,omitempty"` FEnum1 *pbexternal.EnumNum1 `protobuf:"varint,31,opt,name=f_enum1,json=fEnum1,proto3,enum=external.EnumNum1,oneof" json:"f_enum1,omitempty"` FMessage1 *pbexternal.Message1 `protobuf:"bytes,32,opt,name=f_message1,json=fMessage1,proto3,oneof" json:"f_message1,omitempty"` FAny1 *anypb.Any `protobuf:"bytes,41,opt,name=f_any1,json=fAny1,proto3,oneof" json:"f_any1,omitempty"` FDuration1 *durationpb.Duration `protobuf:"bytes,42,opt,name=f_duration1,json=fDuration1,proto3,oneof" json:"f_duration1,omitempty"` FTimestamp1 *timestamppb.Timestamp `protobuf:"bytes,43,opt,name=f_timestamp1,json=fTimestamp1,proto3,oneof" json:"f_timestamp1,omitempty"` // contains filtered or unexported fields }
For test cases ignore field.
func (*IgnoreOptional1) Descriptor
deprecated
func (*IgnoreOptional1) Descriptor() ([]byte, []int)
Deprecated: Use IgnoreOptional1.ProtoReflect.Descriptor instead.
func (*IgnoreOptional1) GetFAny1 ¶
func (x *IgnoreOptional1) GetFAny1() *anypb.Any
func (*IgnoreOptional1) GetFBool1 ¶
func (x *IgnoreOptional1) GetFBool1() bool
func (*IgnoreOptional1) GetFBytes1 ¶
func (x *IgnoreOptional1) GetFBytes1() []byte
func (*IgnoreOptional1) GetFDouble ¶
func (x *IgnoreOptional1) GetFDouble() float64
func (*IgnoreOptional1) GetFDuration1 ¶
func (x *IgnoreOptional1) GetFDuration1() *durationpb.Duration
func (*IgnoreOptional1) GetFEnum1 ¶
func (x *IgnoreOptional1) GetFEnum1() pbexternal.EnumNum1
func (*IgnoreOptional1) GetFFixed32 ¶
func (x *IgnoreOptional1) GetFFixed32() uint32
func (*IgnoreOptional1) GetFFixed64 ¶
func (x *IgnoreOptional1) GetFFixed64() uint64
func (*IgnoreOptional1) GetFFloat ¶
func (x *IgnoreOptional1) GetFFloat() float32
func (*IgnoreOptional1) GetFInt32 ¶
func (x *IgnoreOptional1) GetFInt32() int32
func (*IgnoreOptional1) GetFInt64 ¶
func (x *IgnoreOptional1) GetFInt64() int64
func (*IgnoreOptional1) GetFMessage1 ¶
func (x *IgnoreOptional1) GetFMessage1() *pbexternal.Message1
func (*IgnoreOptional1) GetFSfixed32 ¶
func (x *IgnoreOptional1) GetFSfixed32() int32
func (*IgnoreOptional1) GetFSfixed64 ¶
func (x *IgnoreOptional1) GetFSfixed64() int64
func (*IgnoreOptional1) GetFSint32 ¶
func (x *IgnoreOptional1) GetFSint32() int32
func (*IgnoreOptional1) GetFSint64 ¶
func (x *IgnoreOptional1) GetFSint64() int64
func (*IgnoreOptional1) GetFString1 ¶
func (x *IgnoreOptional1) GetFString1() string
func (*IgnoreOptional1) GetFTimestamp1 ¶
func (x *IgnoreOptional1) GetFTimestamp1() *timestamppb.Timestamp
func (*IgnoreOptional1) GetFUint32 ¶
func (x *IgnoreOptional1) GetFUint32() uint32
func (*IgnoreOptional1) GetFUint64 ¶
func (x *IgnoreOptional1) GetFUint64() uint64
func (*IgnoreOptional1) MarshalJSON ¶
func (x *IgnoreOptional1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message IgnoreOptional1 in file tests/proto/cases/options/ignore_optional1.proto
func (*IgnoreOptional1) ProtoMessage ¶
func (*IgnoreOptional1) ProtoMessage()
func (*IgnoreOptional1) ProtoReflect ¶
func (x *IgnoreOptional1) ProtoReflect() protoreflect.Message
func (*IgnoreOptional1) Reset ¶
func (x *IgnoreOptional1) Reset()
func (*IgnoreOptional1) String ¶
func (x *IgnoreOptional1) String() string
func (*IgnoreOptional1) UnmarshalJSON ¶
func (x *IgnoreOptional1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message IgnoreOptional1 in file tests/proto/cases/options/ignore_optional1.proto
type IgnorePlain1 ¶
type IgnorePlain1 struct { FInt32 int32 `protobuf:"varint,1,opt,name=f_int32,json=fInt32,proto3" json:"f_int32,omitempty"` FInt64 int64 `protobuf:"varint,2,opt,name=f_int64,json=fInt64,proto3" json:"f_int64,omitempty"` FUint32 uint32 `protobuf:"varint,3,opt,name=f_uint32,json=fUint32,proto3" json:"f_uint32,omitempty"` FUint64 uint64 `protobuf:"varint,4,opt,name=f_uint64,json=fUint64,proto3" json:"f_uint64,omitempty"` FSint32 int32 `protobuf:"zigzag32,5,opt,name=f_sint32,json=fSint32,proto3" json:"f_sint32,omitempty"` FSint64 int64 `protobuf:"zigzag64,6,opt,name=f_sint64,json=fSint64,proto3" json:"f_sint64,omitempty"` FSfixed32 int32 `protobuf:"fixed32,7,opt,name=f_sfixed32,json=fSfixed32,proto3" json:"f_sfixed32,omitempty"` FSfixed64 int64 `protobuf:"fixed64,8,opt,name=f_sfixed64,json=fSfixed64,proto3" json:"f_sfixed64,omitempty"` FFixed32 uint32 `protobuf:"fixed32,9,opt,name=f_fixed32,json=fFixed32,proto3" json:"f_fixed32,omitempty"` FFixed64 uint64 `protobuf:"fixed64,10,opt,name=f_fixed64,json=fFixed64,proto3" json:"f_fixed64,omitempty"` FFloat float32 `protobuf:"fixed32,11,opt,name=f_float,json=fFloat,proto3" json:"f_float,omitempty"` FDouble float64 `protobuf:"fixed64,12,opt,name=f_double,json=fDouble,proto3" json:"f_double,omitempty"` FBool1 bool `protobuf:"varint,21,opt,name=f_bool1,json=fBool1,proto3" json:"f_bool1,omitempty"` FString1 string `protobuf:"bytes,22,opt,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` FBytes1 []byte `protobuf:"bytes,23,opt,name=f_bytes1,json=fBytes1,proto3" json:"f_bytes1,omitempty"` FEnum1 pbexternal.EnumNum1 `protobuf:"varint,31,opt,name=f_enum1,json=fEnum1,proto3,enum=external.EnumNum1" json:"f_enum1,omitempty"` FMessage1 *pbexternal.Message1 `protobuf:"bytes,32,opt,name=f_message1,json=fMessage1,proto3" json:"f_message1,omitempty"` FAny1 *anypb.Any `protobuf:"bytes,41,opt,name=f_any1,json=fAny1,proto3" json:"f_any1,omitempty"` FDuration1 *durationpb.Duration `protobuf:"bytes,42,opt,name=f_duration1,json=fDuration1,proto3" json:"f_duration1,omitempty"` FTimestamp1 *timestamppb.Timestamp `protobuf:"bytes,43,opt,name=f_timestamp1,json=fTimestamp1,proto3" json:"f_timestamp1,omitempty"` // contains filtered or unexported fields }
For test cases ignore field.
func (*IgnorePlain1) Descriptor
deprecated
func (*IgnorePlain1) Descriptor() ([]byte, []int)
Deprecated: Use IgnorePlain1.ProtoReflect.Descriptor instead.
func (*IgnorePlain1) GetFAny1 ¶
func (x *IgnorePlain1) GetFAny1() *anypb.Any
func (*IgnorePlain1) GetFBool1 ¶
func (x *IgnorePlain1) GetFBool1() bool
func (*IgnorePlain1) GetFBytes1 ¶
func (x *IgnorePlain1) GetFBytes1() []byte
func (*IgnorePlain1) GetFDouble ¶
func (x *IgnorePlain1) GetFDouble() float64
func (*IgnorePlain1) GetFDuration1 ¶
func (x *IgnorePlain1) GetFDuration1() *durationpb.Duration
func (*IgnorePlain1) GetFEnum1 ¶
func (x *IgnorePlain1) GetFEnum1() pbexternal.EnumNum1
func (*IgnorePlain1) GetFFixed32 ¶
func (x *IgnorePlain1) GetFFixed32() uint32
func (*IgnorePlain1) GetFFixed64 ¶
func (x *IgnorePlain1) GetFFixed64() uint64
func (*IgnorePlain1) GetFFloat ¶
func (x *IgnorePlain1) GetFFloat() float32
func (*IgnorePlain1) GetFInt32 ¶
func (x *IgnorePlain1) GetFInt32() int32
func (*IgnorePlain1) GetFInt64 ¶
func (x *IgnorePlain1) GetFInt64() int64
func (*IgnorePlain1) GetFMessage1 ¶
func (x *IgnorePlain1) GetFMessage1() *pbexternal.Message1
func (*IgnorePlain1) GetFSfixed32 ¶
func (x *IgnorePlain1) GetFSfixed32() int32
func (*IgnorePlain1) GetFSfixed64 ¶
func (x *IgnorePlain1) GetFSfixed64() int64
func (*IgnorePlain1) GetFSint32 ¶
func (x *IgnorePlain1) GetFSint32() int32
func (*IgnorePlain1) GetFSint64 ¶
func (x *IgnorePlain1) GetFSint64() int64
func (*IgnorePlain1) GetFString1 ¶
func (x *IgnorePlain1) GetFString1() string
func (*IgnorePlain1) GetFTimestamp1 ¶
func (x *IgnorePlain1) GetFTimestamp1() *timestamppb.Timestamp
func (*IgnorePlain1) GetFUint32 ¶
func (x *IgnorePlain1) GetFUint32() uint32
func (*IgnorePlain1) GetFUint64 ¶
func (x *IgnorePlain1) GetFUint64() uint64
func (*IgnorePlain1) MarshalJSON ¶
func (x *IgnorePlain1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message IgnorePlain1 in file tests/proto/cases/options/ignore_plain1.proto
func (*IgnorePlain1) ProtoMessage ¶
func (*IgnorePlain1) ProtoMessage()
func (*IgnorePlain1) ProtoReflect ¶
func (x *IgnorePlain1) ProtoReflect() protoreflect.Message
func (*IgnorePlain1) Reset ¶
func (x *IgnorePlain1) Reset()
func (*IgnorePlain1) String ¶
func (x *IgnorePlain1) String() string
func (*IgnorePlain1) UnmarshalJSON ¶
func (x *IgnorePlain1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message IgnorePlain1 in file tests/proto/cases/options/ignore_plain1.proto
type IgnoreRepeated1 ¶
type IgnoreRepeated1 struct { FInt32 []int32 `protobuf:"varint,1,rep,packed,name=f_int32,json=fInt32,proto3" json:"f_int32,omitempty"` FInt64 []int64 `protobuf:"varint,2,rep,packed,name=f_int64,json=fInt64,proto3" json:"f_int64,omitempty"` FUint32 []uint32 `protobuf:"varint,3,rep,packed,name=f_uint32,json=fUint32,proto3" json:"f_uint32,omitempty"` FUint64 []uint64 `protobuf:"varint,4,rep,packed,name=f_uint64,json=fUint64,proto3" json:"f_uint64,omitempty"` FSint32 []int32 `protobuf:"zigzag32,5,rep,packed,name=f_sint32,json=fSint32,proto3" json:"f_sint32,omitempty"` FSint64 []int64 `protobuf:"zigzag64,6,rep,packed,name=f_sint64,json=fSint64,proto3" json:"f_sint64,omitempty"` FSfixed32 []int32 `protobuf:"fixed32,7,rep,packed,name=f_sfixed32,json=fSfixed32,proto3" json:"f_sfixed32,omitempty"` FSfixed64 []int64 `protobuf:"fixed64,8,rep,packed,name=f_sfixed64,json=fSfixed64,proto3" json:"f_sfixed64,omitempty"` FFixed32 []uint32 `protobuf:"fixed32,9,rep,packed,name=f_fixed32,json=fFixed32,proto3" json:"f_fixed32,omitempty"` FFixed64 []uint64 `protobuf:"fixed64,10,rep,packed,name=f_fixed64,json=fFixed64,proto3" json:"f_fixed64,omitempty"` FFloat []float32 `protobuf:"fixed32,11,rep,packed,name=f_float,json=fFloat,proto3" json:"f_float,omitempty"` FDouble []float64 `protobuf:"fixed64,12,rep,packed,name=f_double,json=fDouble,proto3" json:"f_double,omitempty"` FBool1 []bool `protobuf:"varint,21,rep,packed,name=f_bool1,json=fBool1,proto3" json:"f_bool1,omitempty"` FString1 []string `protobuf:"bytes,22,rep,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` FBytes1 [][]byte `protobuf:"bytes,23,rep,name=f_bytes1,json=fBytes1,proto3" json:"f_bytes1,omitempty"` FEnum1 []pbexternal.EnumNum1 `protobuf:"varint,31,rep,packed,name=f_enum1,json=fEnum1,proto3,enum=external.EnumNum1" json:"f_enum1,omitempty"` FMessage1 []*pbexternal.Message1 `protobuf:"bytes,32,rep,name=f_message1,json=fMessage1,proto3" json:"f_message1,omitempty"` FAny1 []*anypb.Any `protobuf:"bytes,41,rep,name=f_any1,json=fAny1,proto3" json:"f_any1,omitempty"` FDuration1 []*durationpb.Duration `protobuf:"bytes,42,rep,name=f_duration1,json=fDuration1,proto3" json:"f_duration1,omitempty"` FTimestamp1 []*timestamppb.Timestamp `protobuf:"bytes,43,rep,name=f_timestamp1,json=fTimestamp1,proto3" json:"f_timestamp1,omitempty"` // contains filtered or unexported fields }
For test cases ignore field.
func (*IgnoreRepeated1) Descriptor
deprecated
func (*IgnoreRepeated1) Descriptor() ([]byte, []int)
Deprecated: Use IgnoreRepeated1.ProtoReflect.Descriptor instead.
func (*IgnoreRepeated1) GetFAny1 ¶
func (x *IgnoreRepeated1) GetFAny1() []*anypb.Any
func (*IgnoreRepeated1) GetFBool1 ¶
func (x *IgnoreRepeated1) GetFBool1() []bool
func (*IgnoreRepeated1) GetFBytes1 ¶
func (x *IgnoreRepeated1) GetFBytes1() [][]byte
func (*IgnoreRepeated1) GetFDouble ¶
func (x *IgnoreRepeated1) GetFDouble() []float64
func (*IgnoreRepeated1) GetFDuration1 ¶
func (x *IgnoreRepeated1) GetFDuration1() []*durationpb.Duration
func (*IgnoreRepeated1) GetFEnum1 ¶
func (x *IgnoreRepeated1) GetFEnum1() []pbexternal.EnumNum1
func (*IgnoreRepeated1) GetFFixed32 ¶
func (x *IgnoreRepeated1) GetFFixed32() []uint32
func (*IgnoreRepeated1) GetFFixed64 ¶
func (x *IgnoreRepeated1) GetFFixed64() []uint64
func (*IgnoreRepeated1) GetFFloat ¶
func (x *IgnoreRepeated1) GetFFloat() []float32
func (*IgnoreRepeated1) GetFInt32 ¶
func (x *IgnoreRepeated1) GetFInt32() []int32
func (*IgnoreRepeated1) GetFInt64 ¶
func (x *IgnoreRepeated1) GetFInt64() []int64
func (*IgnoreRepeated1) GetFMessage1 ¶
func (x *IgnoreRepeated1) GetFMessage1() []*pbexternal.Message1
func (*IgnoreRepeated1) GetFSfixed32 ¶
func (x *IgnoreRepeated1) GetFSfixed32() []int32
func (*IgnoreRepeated1) GetFSfixed64 ¶
func (x *IgnoreRepeated1) GetFSfixed64() []int64
func (*IgnoreRepeated1) GetFSint32 ¶
func (x *IgnoreRepeated1) GetFSint32() []int32
func (*IgnoreRepeated1) GetFSint64 ¶
func (x *IgnoreRepeated1) GetFSint64() []int64
func (*IgnoreRepeated1) GetFString1 ¶
func (x *IgnoreRepeated1) GetFString1() []string
func (*IgnoreRepeated1) GetFTimestamp1 ¶
func (x *IgnoreRepeated1) GetFTimestamp1() []*timestamppb.Timestamp
func (*IgnoreRepeated1) GetFUint32 ¶
func (x *IgnoreRepeated1) GetFUint32() []uint32
func (*IgnoreRepeated1) GetFUint64 ¶
func (x *IgnoreRepeated1) GetFUint64() []uint64
func (*IgnoreRepeated1) MarshalJSON ¶
func (x *IgnoreRepeated1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message IgnoreRepeated1 in file tests/proto/cases/options/ignore_repeated1.proto
func (*IgnoreRepeated1) ProtoMessage ¶
func (*IgnoreRepeated1) ProtoMessage()
func (*IgnoreRepeated1) ProtoReflect ¶
func (x *IgnoreRepeated1) ProtoReflect() protoreflect.Message
func (*IgnoreRepeated1) Reset ¶
func (x *IgnoreRepeated1) Reset()
func (*IgnoreRepeated1) String ¶
func (x *IgnoreRepeated1) String() string
func (*IgnoreRepeated1) UnmarshalJSON ¶
func (x *IgnoreRepeated1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message IgnoreRepeated1 in file tests/proto/cases/options/ignore_repeated1.proto
type InlineOneOf1 ¶
type InlineOneOf1 struct { // Types that are assignable to OneType1: // *InlineOneOf1_FInt32 OneType1 isInlineOneOf1_OneType1 `protobuf_oneof:"OneType1"` // Types that are assignable to OneType2: // *InlineOneOf1_FInt64 OneType2 isInlineOneOf1_OneType2 `protobuf_oneof:"OneType2"` // Types that are assignable to OneType3: // *InlineOneOf1_FUint32 OneType3 isInlineOneOf1_OneType3 `protobuf_oneof:"OneType3"` // Types that are assignable to OneType4: // *InlineOneOf1_FUint64 OneType4 isInlineOneOf1_OneType4 `protobuf_oneof:"OneType4"` // Types that are assignable to OneType5: // *InlineOneOf1_FSint32 OneType5 isInlineOneOf1_OneType5 `protobuf_oneof:"OneType5"` // Types that are assignable to OneType6: // *InlineOneOf1_FSint64 OneType6 isInlineOneOf1_OneType6 `protobuf_oneof:"OneType6"` // Types that are assignable to OneType7: // *InlineOneOf1_FSfixed32 OneType7 isInlineOneOf1_OneType7 `protobuf_oneof:"OneType7"` // Types that are assignable to OneType8: // *InlineOneOf1_FSfixed64 OneType8 isInlineOneOf1_OneType8 `protobuf_oneof:"OneType8"` // Types that are assignable to OneType9: // *InlineOneOf1_FFixed32 OneType9 isInlineOneOf1_OneType9 `protobuf_oneof:"OneType9"` // Types that are assignable to OneType10: // *InlineOneOf1_FFixed64 OneType10 isInlineOneOf1_OneType10 `protobuf_oneof:"OneType10"` // Types that are assignable to OneType11: // *InlineOneOf1_FFloat OneType11 isInlineOneOf1_OneType11 `protobuf_oneof:"OneType11"` // Types that are assignable to OneType12: // *InlineOneOf1_FDouble OneType12 isInlineOneOf1_OneType12 `protobuf_oneof:"OneType12"` // Types that are assignable to OneType13: // *InlineOneOf1_FBool1 OneType13 isInlineOneOf1_OneType13 `protobuf_oneof:"OneType13"` // Types that are assignable to OneType14: // *InlineOneOf1_FString1 OneType14 isInlineOneOf1_OneType14 `protobuf_oneof:"OneType14"` // Types that are assignable to OneType15: // *InlineOneOf1_FBytes1 OneType15 isInlineOneOf1_OneType15 `protobuf_oneof:"OneType15"` // Types that are assignable to OneType16: // *InlineOneOf1_FEnum1 OneType16 isInlineOneOf1_OneType16 `protobuf_oneof:"OneType16"` // Types that are assignable to OneType17: // *InlineOneOf1_FMessage1 OneType17 isInlineOneOf1_OneType17 `protobuf_oneof:"OneType17"` // Types that are assignable to OneType18: // *InlineOneOf1_FAny1 OneType18 isInlineOneOf1_OneType18 `protobuf_oneof:"OneType18"` // Types that are assignable to OneType19: // *InlineOneOf1_FDuration1 OneType19 isInlineOneOf1_OneType19 `protobuf_oneof:"OneType19"` // Types that are assignable to OneType20: // *InlineOneOf1_FTimestamp1 OneType20 isInlineOneOf1_OneType20 `protobuf_oneof:"OneType20"` // contains filtered or unexported fields }
For test cases inline oneof.
func (*InlineOneOf1) Descriptor
deprecated
func (*InlineOneOf1) Descriptor() ([]byte, []int)
Deprecated: Use InlineOneOf1.ProtoReflect.Descriptor instead.
func (*InlineOneOf1) GetFAny1 ¶
func (x *InlineOneOf1) GetFAny1() *anypb.Any
func (*InlineOneOf1) GetFBool1 ¶
func (x *InlineOneOf1) GetFBool1() bool
func (*InlineOneOf1) GetFBytes1 ¶
func (x *InlineOneOf1) GetFBytes1() []byte
func (*InlineOneOf1) GetFDouble ¶
func (x *InlineOneOf1) GetFDouble() float64
func (*InlineOneOf1) GetFDuration1 ¶
func (x *InlineOneOf1) GetFDuration1() *durationpb.Duration
func (*InlineOneOf1) GetFEnum1 ¶
func (x *InlineOneOf1) GetFEnum1() pbexternal.EnumNum1
func (*InlineOneOf1) GetFFixed32 ¶
func (x *InlineOneOf1) GetFFixed32() uint32
func (*InlineOneOf1) GetFFixed64 ¶
func (x *InlineOneOf1) GetFFixed64() uint64
func (*InlineOneOf1) GetFFloat ¶
func (x *InlineOneOf1) GetFFloat() float32
func (*InlineOneOf1) GetFInt32 ¶
func (x *InlineOneOf1) GetFInt32() int32
func (*InlineOneOf1) GetFInt64 ¶
func (x *InlineOneOf1) GetFInt64() int64
func (*InlineOneOf1) GetFMessage1 ¶
func (x *InlineOneOf1) GetFMessage1() *pbexternal.Message1
func (*InlineOneOf1) GetFSfixed32 ¶
func (x *InlineOneOf1) GetFSfixed32() int32
func (*InlineOneOf1) GetFSfixed64 ¶
func (x *InlineOneOf1) GetFSfixed64() int64
func (*InlineOneOf1) GetFSint32 ¶
func (x *InlineOneOf1) GetFSint32() int32
func (*InlineOneOf1) GetFSint64 ¶
func (x *InlineOneOf1) GetFSint64() int64
func (*InlineOneOf1) GetFString1 ¶
func (x *InlineOneOf1) GetFString1() string
func (*InlineOneOf1) GetFTimestamp1 ¶
func (x *InlineOneOf1) GetFTimestamp1() *timestamppb.Timestamp
func (*InlineOneOf1) GetFUint32 ¶
func (x *InlineOneOf1) GetFUint32() uint32
func (*InlineOneOf1) GetFUint64 ¶
func (x *InlineOneOf1) GetFUint64() uint64
func (*InlineOneOf1) GetOneType1 ¶
func (m *InlineOneOf1) GetOneType1() isInlineOneOf1_OneType1
func (*InlineOneOf1) GetOneType10 ¶
func (m *InlineOneOf1) GetOneType10() isInlineOneOf1_OneType10
func (*InlineOneOf1) GetOneType11 ¶
func (m *InlineOneOf1) GetOneType11() isInlineOneOf1_OneType11
func (*InlineOneOf1) GetOneType12 ¶
func (m *InlineOneOf1) GetOneType12() isInlineOneOf1_OneType12
func (*InlineOneOf1) GetOneType13 ¶
func (m *InlineOneOf1) GetOneType13() isInlineOneOf1_OneType13
func (*InlineOneOf1) GetOneType14 ¶
func (m *InlineOneOf1) GetOneType14() isInlineOneOf1_OneType14
func (*InlineOneOf1) GetOneType15 ¶
func (m *InlineOneOf1) GetOneType15() isInlineOneOf1_OneType15
func (*InlineOneOf1) GetOneType16 ¶
func (m *InlineOneOf1) GetOneType16() isInlineOneOf1_OneType16
func (*InlineOneOf1) GetOneType17 ¶
func (m *InlineOneOf1) GetOneType17() isInlineOneOf1_OneType17
func (*InlineOneOf1) GetOneType18 ¶
func (m *InlineOneOf1) GetOneType18() isInlineOneOf1_OneType18
func (*InlineOneOf1) GetOneType19 ¶
func (m *InlineOneOf1) GetOneType19() isInlineOneOf1_OneType19
func (*InlineOneOf1) GetOneType2 ¶
func (m *InlineOneOf1) GetOneType2() isInlineOneOf1_OneType2
func (*InlineOneOf1) GetOneType20 ¶
func (m *InlineOneOf1) GetOneType20() isInlineOneOf1_OneType20
func (*InlineOneOf1) GetOneType3 ¶
func (m *InlineOneOf1) GetOneType3() isInlineOneOf1_OneType3
func (*InlineOneOf1) GetOneType4 ¶
func (m *InlineOneOf1) GetOneType4() isInlineOneOf1_OneType4
func (*InlineOneOf1) GetOneType5 ¶
func (m *InlineOneOf1) GetOneType5() isInlineOneOf1_OneType5
func (*InlineOneOf1) GetOneType6 ¶
func (m *InlineOneOf1) GetOneType6() isInlineOneOf1_OneType6
func (*InlineOneOf1) GetOneType7 ¶
func (m *InlineOneOf1) GetOneType7() isInlineOneOf1_OneType7
func (*InlineOneOf1) GetOneType8 ¶
func (m *InlineOneOf1) GetOneType8() isInlineOneOf1_OneType8
func (*InlineOneOf1) GetOneType9 ¶
func (m *InlineOneOf1) GetOneType9() isInlineOneOf1_OneType9
func (*InlineOneOf1) MarshalJSON ¶
func (x *InlineOneOf1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message InlineOneOf1 in file tests/proto/cases/options/inline_oneof1.proto
func (*InlineOneOf1) ProtoMessage ¶
func (*InlineOneOf1) ProtoMessage()
func (*InlineOneOf1) ProtoReflect ¶
func (x *InlineOneOf1) ProtoReflect() protoreflect.Message
func (*InlineOneOf1) Reset ¶
func (x *InlineOneOf1) Reset()
func (*InlineOneOf1) String ¶
func (x *InlineOneOf1) String() string
func (*InlineOneOf1) UnmarshalJSON ¶
func (x *InlineOneOf1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message InlineOneOf1 in file tests/proto/cases/options/inline_oneof1.proto
type InlineOneOf1_FAny1 ¶
type InlineOneOf1_FBool1 ¶
type InlineOneOf1_FBool1 struct {
FBool1 bool `protobuf:"varint,21,opt,name=f_bool1,json=fBool1,proto3,oneof"`
}
type InlineOneOf1_FBytes1 ¶
type InlineOneOf1_FBytes1 struct {
FBytes1 []byte `protobuf:"bytes,23,opt,name=f_bytes1,json=fBytes1,proto3,oneof"`
}
type InlineOneOf1_FDouble ¶
type InlineOneOf1_FDouble struct {
FDouble float64 `protobuf:"fixed64,12,opt,name=f_double,json=fDouble,proto3,oneof"`
}
type InlineOneOf1_FDuration1 ¶
type InlineOneOf1_FDuration1 struct {
FDuration1 *durationpb.Duration `protobuf:"bytes,42,opt,name=f_duration1,json=fDuration1,proto3,oneof"`
}
type InlineOneOf1_FEnum1 ¶
type InlineOneOf1_FEnum1 struct {
FEnum1 pbexternal.EnumNum1 `protobuf:"varint,31,opt,name=f_enum1,json=fEnum1,proto3,enum=external.EnumNum1,oneof"`
}
type InlineOneOf1_FFixed32 ¶
type InlineOneOf1_FFixed32 struct {
FFixed32 uint32 `protobuf:"fixed32,9,opt,name=f_fixed32,json=fFixed32,proto3,oneof"`
}
type InlineOneOf1_FFixed64 ¶
type InlineOneOf1_FFixed64 struct {
FFixed64 uint64 `protobuf:"fixed64,10,opt,name=f_fixed64,json=fFixed64,proto3,oneof"`
}
type InlineOneOf1_FFloat ¶
type InlineOneOf1_FFloat struct {
FFloat float32 `protobuf:"fixed32,11,opt,name=f_float,json=fFloat,proto3,oneof"`
}
type InlineOneOf1_FInt32 ¶
type InlineOneOf1_FInt32 struct {
FInt32 int32 `protobuf:"varint,1,opt,name=f_int32,json=fInt32,proto3,oneof"`
}
type InlineOneOf1_FInt64 ¶
type InlineOneOf1_FInt64 struct {
FInt64 int64 `protobuf:"varint,2,opt,name=f_int64,json=fInt64,proto3,oneof"`
}
type InlineOneOf1_FMessage1 ¶
type InlineOneOf1_FMessage1 struct {
FMessage1 *pbexternal.Message1 `protobuf:"bytes,32,opt,name=f_message1,json=fMessage1,proto3,oneof"`
}
type InlineOneOf1_FSfixed32 ¶
type InlineOneOf1_FSfixed32 struct {
FSfixed32 int32 `protobuf:"fixed32,7,opt,name=f_sfixed32,json=fSfixed32,proto3,oneof"`
}
type InlineOneOf1_FSfixed64 ¶
type InlineOneOf1_FSfixed64 struct {
FSfixed64 int64 `protobuf:"fixed64,8,opt,name=f_sfixed64,json=fSfixed64,proto3,oneof"`
}
type InlineOneOf1_FSint32 ¶
type InlineOneOf1_FSint32 struct {
FSint32 int32 `protobuf:"zigzag32,5,opt,name=f_sint32,json=fSint32,proto3,oneof"`
}
type InlineOneOf1_FSint64 ¶
type InlineOneOf1_FSint64 struct {
FSint64 int64 `protobuf:"zigzag64,6,opt,name=f_sint64,json=fSint64,proto3,oneof"`
}
type InlineOneOf1_FString1 ¶
type InlineOneOf1_FString1 struct {
FString1 string `protobuf:"bytes,22,opt,name=f_string1,json=fString1,proto3,oneof"`
}
type InlineOneOf1_FTimestamp1 ¶
type InlineOneOf1_FTimestamp1 struct {
FTimestamp1 *timestamppb.Timestamp `protobuf:"bytes,43,opt,name=f_timestamp1,json=fTimestamp1,proto3,oneof"`
}
type InlineOneOf1_FUint32 ¶
type InlineOneOf1_FUint32 struct {
FUint32 uint32 `protobuf:"varint,3,opt,name=f_uint32,json=fUint32,proto3,oneof"`
}
type InlineOneOf1_FUint64 ¶
type InlineOneOf1_FUint64 struct {
FUint64 uint64 `protobuf:"varint,4,opt,name=f_uint64,json=fUint64,proto3,oneof"`
}
type InlineOneOf2 ¶
type InlineOneOf2 struct { FString1 string `protobuf:"bytes,11,opt,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` // Types that are assignable to OneType01: // *InlineOneOf2_FMessage1 OneType01 isInlineOneOf2_OneType01 `protobuf_oneof:"OneType01"` // contains filtered or unexported fields }
Test cases for oneof multiplayer nesting
func (*InlineOneOf2) Descriptor
deprecated
func (*InlineOneOf2) Descriptor() ([]byte, []int)
Deprecated: Use InlineOneOf2.ProtoReflect.Descriptor instead.
func (*InlineOneOf2) GetFMessage1 ¶
func (x *InlineOneOf2) GetFMessage1() *InlineOneOf2Message1
func (*InlineOneOf2) GetFString1 ¶
func (x *InlineOneOf2) GetFString1() string
func (*InlineOneOf2) GetOneType01 ¶
func (m *InlineOneOf2) GetOneType01() isInlineOneOf2_OneType01
func (*InlineOneOf2) MarshalJSON ¶
func (x *InlineOneOf2) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message InlineOneOf2 in file tests/proto/cases/options/inline_oneof2.proto
func (*InlineOneOf2) ProtoMessage ¶
func (*InlineOneOf2) ProtoMessage()
func (*InlineOneOf2) ProtoReflect ¶
func (x *InlineOneOf2) ProtoReflect() protoreflect.Message
func (*InlineOneOf2) Reset ¶
func (x *InlineOneOf2) Reset()
func (*InlineOneOf2) String ¶
func (x *InlineOneOf2) String() string
func (*InlineOneOf2) UnmarshalJSON ¶
func (x *InlineOneOf2) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message InlineOneOf2 in file tests/proto/cases/options/inline_oneof2.proto
type InlineOneOf2Message1 ¶
type InlineOneOf2Message1 struct { FString1 string `protobuf:"bytes,11,opt,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` // Types that are assignable to OneType01: // *InlineOneOf2Message1_FMessage1 OneType01 isInlineOneOf2Message1_OneType01 `protobuf_oneof:"OneType01"` // contains filtered or unexported fields }
func (*InlineOneOf2Message1) Descriptor
deprecated
func (*InlineOneOf2Message1) Descriptor() ([]byte, []int)
Deprecated: Use InlineOneOf2Message1.ProtoReflect.Descriptor instead.
func (*InlineOneOf2Message1) GetFMessage1 ¶
func (x *InlineOneOf2Message1) GetFMessage1() *InlineOneOf2Message2
func (*InlineOneOf2Message1) GetFString1 ¶
func (x *InlineOneOf2Message1) GetFString1() string
func (*InlineOneOf2Message1) GetOneType01 ¶
func (m *InlineOneOf2Message1) GetOneType01() isInlineOneOf2Message1_OneType01
func (*InlineOneOf2Message1) MarshalJSON ¶
func (x *InlineOneOf2Message1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message InlineOneOf2Message1 in file tests/proto/cases/options/inline_oneof2.proto
func (*InlineOneOf2Message1) ProtoMessage ¶
func (*InlineOneOf2Message1) ProtoMessage()
func (*InlineOneOf2Message1) ProtoReflect ¶
func (x *InlineOneOf2Message1) ProtoReflect() protoreflect.Message
func (*InlineOneOf2Message1) Reset ¶
func (x *InlineOneOf2Message1) Reset()
func (*InlineOneOf2Message1) String ¶
func (x *InlineOneOf2Message1) String() string
func (*InlineOneOf2Message1) UnmarshalJSON ¶
func (x *InlineOneOf2Message1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message InlineOneOf2Message1 in file tests/proto/cases/options/inline_oneof2.proto
type InlineOneOf2Message1_FMessage1 ¶
type InlineOneOf2Message1_FMessage1 struct {
FMessage1 *InlineOneOf2Message2 `protobuf:"bytes,21,opt,name=f_message1,json=fMessage1,proto3,oneof"`
}
type InlineOneOf2Message2 ¶
type InlineOneOf2Message2 struct { FString1 string `protobuf:"bytes,11,opt,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` // Types that are assignable to OneType01: // *InlineOneOf2Message2_FMessage1 OneType01 isInlineOneOf2Message2_OneType01 `protobuf_oneof:"OneType01"` // contains filtered or unexported fields }
func (*InlineOneOf2Message2) Descriptor
deprecated
func (*InlineOneOf2Message2) Descriptor() ([]byte, []int)
Deprecated: Use InlineOneOf2Message2.ProtoReflect.Descriptor instead.
func (*InlineOneOf2Message2) GetFMessage1 ¶
func (x *InlineOneOf2Message2) GetFMessage1() *InlineOneOf2Message3
func (*InlineOneOf2Message2) GetFString1 ¶
func (x *InlineOneOf2Message2) GetFString1() string
func (*InlineOneOf2Message2) GetOneType01 ¶
func (m *InlineOneOf2Message2) GetOneType01() isInlineOneOf2Message2_OneType01
func (*InlineOneOf2Message2) MarshalJSON ¶
func (x *InlineOneOf2Message2) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message InlineOneOf2Message2 in file tests/proto/cases/options/inline_oneof2.proto
func (*InlineOneOf2Message2) ProtoMessage ¶
func (*InlineOneOf2Message2) ProtoMessage()
func (*InlineOneOf2Message2) ProtoReflect ¶
func (x *InlineOneOf2Message2) ProtoReflect() protoreflect.Message
func (*InlineOneOf2Message2) Reset ¶
func (x *InlineOneOf2Message2) Reset()
func (*InlineOneOf2Message2) String ¶
func (x *InlineOneOf2Message2) String() string
func (*InlineOneOf2Message2) UnmarshalJSON ¶
func (x *InlineOneOf2Message2) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message InlineOneOf2Message2 in file tests/proto/cases/options/inline_oneof2.proto
type InlineOneOf2Message2_FMessage1 ¶
type InlineOneOf2Message2_FMessage1 struct {
FMessage1 *InlineOneOf2Message3 `protobuf:"bytes,21,opt,name=f_message1,json=fMessage1,proto3,oneof"`
}
type InlineOneOf2Message3 ¶
type InlineOneOf2Message3 struct { FString1 string `protobuf:"bytes,11,opt,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` // Types that are assignable to OneType01: // *InlineOneOf2Message3_FDouble OneType01 isInlineOneOf2Message3_OneType01 `protobuf_oneof:"OneType01"` // contains filtered or unexported fields }
func (*InlineOneOf2Message3) Descriptor
deprecated
func (*InlineOneOf2Message3) Descriptor() ([]byte, []int)
Deprecated: Use InlineOneOf2Message3.ProtoReflect.Descriptor instead.
func (*InlineOneOf2Message3) GetFDouble ¶
func (x *InlineOneOf2Message3) GetFDouble() float64
func (*InlineOneOf2Message3) GetFString1 ¶
func (x *InlineOneOf2Message3) GetFString1() string
func (*InlineOneOf2Message3) GetOneType01 ¶
func (m *InlineOneOf2Message3) GetOneType01() isInlineOneOf2Message3_OneType01
func (*InlineOneOf2Message3) MarshalJSON ¶
func (x *InlineOneOf2Message3) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message InlineOneOf2Message3 in file tests/proto/cases/options/inline_oneof2.proto
func (*InlineOneOf2Message3) ProtoMessage ¶
func (*InlineOneOf2Message3) ProtoMessage()
func (*InlineOneOf2Message3) ProtoReflect ¶
func (x *InlineOneOf2Message3) ProtoReflect() protoreflect.Message
func (*InlineOneOf2Message3) Reset ¶
func (x *InlineOneOf2Message3) Reset()
func (*InlineOneOf2Message3) String ¶
func (x *InlineOneOf2Message3) String() string
func (*InlineOneOf2Message3) UnmarshalJSON ¶
func (x *InlineOneOf2Message3) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message InlineOneOf2Message3 in file tests/proto/cases/options/inline_oneof2.proto
type InlineOneOf2Message3_FDouble ¶
type InlineOneOf2Message3_FDouble struct {
FDouble float64 `protobuf:"fixed64,21,opt,name=f_double,json=fDouble,proto3,oneof"`
}
type InlineOneOf2_FMessage1 ¶
type InlineOneOf2_FMessage1 struct {
FMessage1 *InlineOneOf2Message1 `protobuf:"bytes,21,opt,name=f_message1,json=fMessage1,proto3,oneof"`
}
type TypeMap1 ¶
type TypeMap1 struct { FInt32 map[int32]int32 `` /* 169-byte string literal not displayed */ FInt64 map[int64]int64 `` /* 169-byte string literal not displayed */ FUint32 map[uint32]uint32 `` /* 172-byte string literal not displayed */ FUint64 map[uint64]uint64 `` /* 172-byte string literal not displayed */ FSint32 map[int32]int32 `` /* 176-byte string literal not displayed */ FSint64 map[int64]int64 `` /* 176-byte string literal not displayed */ FSfixed32 map[int32]int32 `` /* 180-byte string literal not displayed */ FSfixed64 map[int64]int64 `` /* 180-byte string literal not displayed */ FFixed32 map[uint32]uint32 `` /* 177-byte string literal not displayed */ FFixed64 map[uint64]uint64 `` /* 178-byte string literal not displayed */ FFloat map[string]float32 `` /* 170-byte string literal not displayed */ FDouble map[string]float64 `` /* 173-byte string literal not displayed */ FBool1 map[bool]bool `` /* 170-byte string literal not displayed */ FString1 map[string]string `` /* 174-byte string literal not displayed */ FBytes1 map[string][]byte `` /* 171-byte string literal not displayed */ FEnum1 map[string]pbexternal.EnumNum1 `` /* 192-byte string literal not displayed */ FMessage1 map[string]*pbexternal.Message1 `` /* 177-byte string literal not displayed */ FAny1 map[string]*anypb.Any `` /* 165-byte string literal not displayed */ FDuration1 map[string]*durationpb.Duration `` /* 180-byte string literal not displayed */ FTimestamp1 map[string]*timestamppb.Timestamp `` /* 183-byte string literal not displayed */ // contains filtered or unexported fields }
For test cases: 1. custom json key. 2. omitempty
func (*TypeMap1) Descriptor
deprecated
func (*TypeMap1) GetFBytes1 ¶
func (*TypeMap1) GetFDouble ¶
func (*TypeMap1) GetFDuration1 ¶
func (x *TypeMap1) GetFDuration1() map[string]*durationpb.Duration
func (*TypeMap1) GetFFixed32 ¶
func (*TypeMap1) GetFFixed64 ¶
func (*TypeMap1) GetFMessage1 ¶
func (x *TypeMap1) GetFMessage1() map[string]*pbexternal.Message1
func (*TypeMap1) GetFSfixed32 ¶
func (*TypeMap1) GetFSfixed64 ¶
func (*TypeMap1) GetFSint32 ¶
func (*TypeMap1) GetFSint64 ¶
func (*TypeMap1) GetFString1 ¶
func (*TypeMap1) GetFTimestamp1 ¶
func (x *TypeMap1) GetFTimestamp1() map[string]*timestamppb.Timestamp
func (*TypeMap1) GetFUint32 ¶
func (*TypeMap1) GetFUint64 ¶
func (*TypeMap1) MarshalJSON ¶
MarshalJSON implements interface json.Marshaler for proto message TypeMap1 in file tests/proto/cases/options/type_map.proto
func (*TypeMap1) ProtoMessage ¶
func (*TypeMap1) ProtoMessage()
func (*TypeMap1) ProtoReflect ¶
func (x *TypeMap1) ProtoReflect() protoreflect.Message
func (*TypeMap1) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler for proto message TypeMap1 in file tests/proto/cases/options/type_map.proto
type TypeOneOf1 ¶
type TypeOneOf1 struct { // Types that are assignable to OneType1: // *TypeOneOf1_FInt32 OneType1 isTypeOneOf1_OneType1 `protobuf_oneof:"OneType1"` // Types that are assignable to OneType2: // *TypeOneOf1_FInt64 OneType2 isTypeOneOf1_OneType2 `protobuf_oneof:"OneType2"` // Types that are assignable to OneType3: // *TypeOneOf1_FUint32 OneType3 isTypeOneOf1_OneType3 `protobuf_oneof:"OneType3"` // Types that are assignable to OneType4: // *TypeOneOf1_FUint64 OneType4 isTypeOneOf1_OneType4 `protobuf_oneof:"OneType4"` // Types that are assignable to OneType5: // *TypeOneOf1_FSint32 OneType5 isTypeOneOf1_OneType5 `protobuf_oneof:"OneType5"` // Types that are assignable to OneType6: // *TypeOneOf1_FSint64 OneType6 isTypeOneOf1_OneType6 `protobuf_oneof:"OneType6"` // Types that are assignable to OneType7: // *TypeOneOf1_FSfixed32 OneType7 isTypeOneOf1_OneType7 `protobuf_oneof:"OneType7"` // Types that are assignable to OneType8: // *TypeOneOf1_FSfixed64 OneType8 isTypeOneOf1_OneType8 `protobuf_oneof:"OneType8"` // Types that are assignable to OneType9: // *TypeOneOf1_FFixed32 OneType9 isTypeOneOf1_OneType9 `protobuf_oneof:"OneType9"` // Types that are assignable to OneType10: // *TypeOneOf1_FFixed64 OneType10 isTypeOneOf1_OneType10 `protobuf_oneof:"OneType10"` // Types that are assignable to OneType11: // *TypeOneOf1_FFloat OneType11 isTypeOneOf1_OneType11 `protobuf_oneof:"OneType11"` // Types that are assignable to OneType12: // *TypeOneOf1_FDouble OneType12 isTypeOneOf1_OneType12 `protobuf_oneof:"OneType12"` // Types that are assignable to OneType13: // *TypeOneOf1_FBool1 OneType13 isTypeOneOf1_OneType13 `protobuf_oneof:"OneType13"` // Types that are assignable to OneType14: // *TypeOneOf1_FString1 OneType14 isTypeOneOf1_OneType14 `protobuf_oneof:"OneType14"` // Types that are assignable to OneType15: // *TypeOneOf1_FBytes1 OneType15 isTypeOneOf1_OneType15 `protobuf_oneof:"OneType15"` // Types that are assignable to OneType16: // *TypeOneOf1_FEnum1 OneType16 isTypeOneOf1_OneType16 `protobuf_oneof:"OneType16"` // Types that are assignable to OneType17: // *TypeOneOf1_FMessage1 OneType17 isTypeOneOf1_OneType17 `protobuf_oneof:"OneType17"` // Types that are assignable to OneType18: // *TypeOneOf1_FAny1 OneType18 isTypeOneOf1_OneType18 `protobuf_oneof:"OneType18"` // Types that are assignable to OneType19: // *TypeOneOf1_FDuration1 OneType19 isTypeOneOf1_OneType19 `protobuf_oneof:"OneType19"` // Types that are assignable to OneType20: // *TypeOneOf1_FTimestamp1 OneType20 isTypeOneOf1_OneType20 `protobuf_oneof:"OneType20"` // contains filtered or unexported fields }
For test cases: 1. custom json key. 2. omitempty
func (*TypeOneOf1) Descriptor
deprecated
func (*TypeOneOf1) Descriptor() ([]byte, []int)
Deprecated: Use TypeOneOf1.ProtoReflect.Descriptor instead.
func (*TypeOneOf1) GetFAny1 ¶
func (x *TypeOneOf1) GetFAny1() *anypb.Any
func (*TypeOneOf1) GetFBool1 ¶
func (x *TypeOneOf1) GetFBool1() bool
func (*TypeOneOf1) GetFBytes1 ¶
func (x *TypeOneOf1) GetFBytes1() []byte
func (*TypeOneOf1) GetFDouble ¶
func (x *TypeOneOf1) GetFDouble() float64
func (*TypeOneOf1) GetFDuration1 ¶
func (x *TypeOneOf1) GetFDuration1() *durationpb.Duration
func (*TypeOneOf1) GetFEnum1 ¶
func (x *TypeOneOf1) GetFEnum1() pbexternal.EnumNum1
func (*TypeOneOf1) GetFFixed32 ¶
func (x *TypeOneOf1) GetFFixed32() uint32
func (*TypeOneOf1) GetFFixed64 ¶
func (x *TypeOneOf1) GetFFixed64() uint64
func (*TypeOneOf1) GetFFloat ¶
func (x *TypeOneOf1) GetFFloat() float32
func (*TypeOneOf1) GetFInt32 ¶
func (x *TypeOneOf1) GetFInt32() int32
func (*TypeOneOf1) GetFInt64 ¶
func (x *TypeOneOf1) GetFInt64() int64
func (*TypeOneOf1) GetFMessage1 ¶
func (x *TypeOneOf1) GetFMessage1() *pbexternal.Message1
func (*TypeOneOf1) GetFSfixed32 ¶
func (x *TypeOneOf1) GetFSfixed32() int32
func (*TypeOneOf1) GetFSfixed64 ¶
func (x *TypeOneOf1) GetFSfixed64() int64
func (*TypeOneOf1) GetFSint32 ¶
func (x *TypeOneOf1) GetFSint32() int32
func (*TypeOneOf1) GetFSint64 ¶
func (x *TypeOneOf1) GetFSint64() int64
func (*TypeOneOf1) GetFString1 ¶
func (x *TypeOneOf1) GetFString1() string
func (*TypeOneOf1) GetFTimestamp1 ¶
func (x *TypeOneOf1) GetFTimestamp1() *timestamppb.Timestamp
func (*TypeOneOf1) GetFUint32 ¶
func (x *TypeOneOf1) GetFUint32() uint32
func (*TypeOneOf1) GetFUint64 ¶
func (x *TypeOneOf1) GetFUint64() uint64
func (*TypeOneOf1) GetOneType1 ¶
func (m *TypeOneOf1) GetOneType1() isTypeOneOf1_OneType1
func (*TypeOneOf1) GetOneType10 ¶
func (m *TypeOneOf1) GetOneType10() isTypeOneOf1_OneType10
func (*TypeOneOf1) GetOneType11 ¶
func (m *TypeOneOf1) GetOneType11() isTypeOneOf1_OneType11
func (*TypeOneOf1) GetOneType12 ¶
func (m *TypeOneOf1) GetOneType12() isTypeOneOf1_OneType12
func (*TypeOneOf1) GetOneType13 ¶
func (m *TypeOneOf1) GetOneType13() isTypeOneOf1_OneType13
func (*TypeOneOf1) GetOneType14 ¶
func (m *TypeOneOf1) GetOneType14() isTypeOneOf1_OneType14
func (*TypeOneOf1) GetOneType15 ¶
func (m *TypeOneOf1) GetOneType15() isTypeOneOf1_OneType15
func (*TypeOneOf1) GetOneType16 ¶
func (m *TypeOneOf1) GetOneType16() isTypeOneOf1_OneType16
func (*TypeOneOf1) GetOneType17 ¶
func (m *TypeOneOf1) GetOneType17() isTypeOneOf1_OneType17
func (*TypeOneOf1) GetOneType18 ¶
func (m *TypeOneOf1) GetOneType18() isTypeOneOf1_OneType18
func (*TypeOneOf1) GetOneType19 ¶
func (m *TypeOneOf1) GetOneType19() isTypeOneOf1_OneType19
func (*TypeOneOf1) GetOneType2 ¶
func (m *TypeOneOf1) GetOneType2() isTypeOneOf1_OneType2
func (*TypeOneOf1) GetOneType20 ¶
func (m *TypeOneOf1) GetOneType20() isTypeOneOf1_OneType20
func (*TypeOneOf1) GetOneType3 ¶
func (m *TypeOneOf1) GetOneType3() isTypeOneOf1_OneType3
func (*TypeOneOf1) GetOneType4 ¶
func (m *TypeOneOf1) GetOneType4() isTypeOneOf1_OneType4
func (*TypeOneOf1) GetOneType5 ¶
func (m *TypeOneOf1) GetOneType5() isTypeOneOf1_OneType5
func (*TypeOneOf1) GetOneType6 ¶
func (m *TypeOneOf1) GetOneType6() isTypeOneOf1_OneType6
func (*TypeOneOf1) GetOneType7 ¶
func (m *TypeOneOf1) GetOneType7() isTypeOneOf1_OneType7
func (*TypeOneOf1) GetOneType8 ¶
func (m *TypeOneOf1) GetOneType8() isTypeOneOf1_OneType8
func (*TypeOneOf1) GetOneType9 ¶
func (m *TypeOneOf1) GetOneType9() isTypeOneOf1_OneType9
func (*TypeOneOf1) MarshalJSON ¶
func (x *TypeOneOf1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message TypeOneOf1 in file tests/proto/cases/options/type_oneof.proto
func (*TypeOneOf1) ProtoMessage ¶
func (*TypeOneOf1) ProtoMessage()
func (*TypeOneOf1) ProtoReflect ¶
func (x *TypeOneOf1) ProtoReflect() protoreflect.Message
func (*TypeOneOf1) Reset ¶
func (x *TypeOneOf1) Reset()
func (*TypeOneOf1) String ¶
func (x *TypeOneOf1) String() string
func (*TypeOneOf1) UnmarshalJSON ¶
func (x *TypeOneOf1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message TypeOneOf1 in file tests/proto/cases/options/type_oneof.proto
type TypeOneOf1_FAny1 ¶
type TypeOneOf1_FBool1 ¶
type TypeOneOf1_FBool1 struct {
FBool1 bool `protobuf:"varint,21,opt,name=f_bool1,json=fBool1,proto3,oneof"`
}
type TypeOneOf1_FBytes1 ¶
type TypeOneOf1_FBytes1 struct {
FBytes1 []byte `protobuf:"bytes,23,opt,name=f_bytes1,json=fBytes1,proto3,oneof"`
}
type TypeOneOf1_FDouble ¶
type TypeOneOf1_FDouble struct {
FDouble float64 `protobuf:"fixed64,12,opt,name=f_double,json=fDouble,proto3,oneof"`
}
type TypeOneOf1_FDuration1 ¶
type TypeOneOf1_FDuration1 struct {
FDuration1 *durationpb.Duration `protobuf:"bytes,42,opt,name=f_duration1,json=fDuration1,proto3,oneof"`
}
type TypeOneOf1_FEnum1 ¶
type TypeOneOf1_FEnum1 struct {
FEnum1 pbexternal.EnumNum1 `protobuf:"varint,31,opt,name=f_enum1,json=fEnum1,proto3,enum=external.EnumNum1,oneof"`
}
type TypeOneOf1_FFixed32 ¶
type TypeOneOf1_FFixed32 struct {
FFixed32 uint32 `protobuf:"fixed32,9,opt,name=f_fixed32,json=fFixed32,proto3,oneof"`
}
type TypeOneOf1_FFixed64 ¶
type TypeOneOf1_FFixed64 struct {
FFixed64 uint64 `protobuf:"fixed64,10,opt,name=f_fixed64,json=fFixed64,proto3,oneof"`
}
type TypeOneOf1_FFloat ¶
type TypeOneOf1_FFloat struct {
FFloat float32 `protobuf:"fixed32,11,opt,name=f_float,json=fFloat,proto3,oneof"`
}
type TypeOneOf1_FInt32 ¶
type TypeOneOf1_FInt32 struct {
FInt32 int32 `protobuf:"varint,1,opt,name=f_int32,json=fInt32,proto3,oneof"`
}
type TypeOneOf1_FInt64 ¶
type TypeOneOf1_FInt64 struct {
FInt64 int64 `protobuf:"varint,2,opt,name=f_int64,json=fInt64,proto3,oneof"`
}
type TypeOneOf1_FMessage1 ¶
type TypeOneOf1_FMessage1 struct {
FMessage1 *pbexternal.Message1 `protobuf:"bytes,32,opt,name=f_message1,json=fMessage1,proto3,oneof"`
}
type TypeOneOf1_FSfixed32 ¶
type TypeOneOf1_FSfixed32 struct {
FSfixed32 int32 `protobuf:"fixed32,7,opt,name=f_sfixed32,json=fSfixed32,proto3,oneof"`
}
type TypeOneOf1_FSfixed64 ¶
type TypeOneOf1_FSfixed64 struct {
FSfixed64 int64 `protobuf:"fixed64,8,opt,name=f_sfixed64,json=fSfixed64,proto3,oneof"`
}
type TypeOneOf1_FSint32 ¶
type TypeOneOf1_FSint32 struct {
FSint32 int32 `protobuf:"zigzag32,5,opt,name=f_sint32,json=fSint32,proto3,oneof"`
}
type TypeOneOf1_FSint64 ¶
type TypeOneOf1_FSint64 struct {
FSint64 int64 `protobuf:"zigzag64,6,opt,name=f_sint64,json=fSint64,proto3,oneof"`
}
type TypeOneOf1_FString1 ¶
type TypeOneOf1_FString1 struct {
FString1 string `protobuf:"bytes,22,opt,name=f_string1,json=fString1,proto3,oneof"`
}
type TypeOneOf1_FTimestamp1 ¶
type TypeOneOf1_FTimestamp1 struct {
FTimestamp1 *timestamppb.Timestamp `protobuf:"bytes,43,opt,name=f_timestamp1,json=fTimestamp1,proto3,oneof"`
}
type TypeOneOf1_FUint32 ¶
type TypeOneOf1_FUint32 struct {
FUint32 uint32 `protobuf:"varint,3,opt,name=f_uint32,json=fUint32,proto3,oneof"`
}
type TypeOneOf1_FUint64 ¶
type TypeOneOf1_FUint64 struct {
FUint64 uint64 `protobuf:"varint,4,opt,name=f_uint64,json=fUint64,proto3,oneof"`
}
type TypeOptional1 ¶
type TypeOptional1 struct { FInt32 *int32 `protobuf:"varint,1,opt,name=f_int32,json=fInt32,proto3,oneof" json:"f_int32,omitempty"` FInt64 *int64 `protobuf:"varint,2,opt,name=f_int64,json=fInt64,proto3,oneof" json:"f_int64,omitempty"` FUint32 *uint32 `protobuf:"varint,3,opt,name=f_uint32,json=fUint32,proto3,oneof" json:"f_uint32,omitempty"` FUint64 *uint64 `protobuf:"varint,4,opt,name=f_uint64,json=fUint64,proto3,oneof" json:"f_uint64,omitempty"` FSint32 *int32 `protobuf:"zigzag32,5,opt,name=f_sint32,json=fSint32,proto3,oneof" json:"f_sint32,omitempty"` FSint64 *int64 `protobuf:"zigzag64,6,opt,name=f_sint64,json=fSint64,proto3,oneof" json:"f_sint64,omitempty"` FSfixed32 *int32 `protobuf:"fixed32,7,opt,name=f_sfixed32,json=fSfixed32,proto3,oneof" json:"f_sfixed32,omitempty"` FSfixed64 *int64 `protobuf:"fixed64,8,opt,name=f_sfixed64,json=fSfixed64,proto3,oneof" json:"f_sfixed64,omitempty"` FFixed32 *uint32 `protobuf:"fixed32,9,opt,name=f_fixed32,json=fFixed32,proto3,oneof" json:"f_fixed32,omitempty"` FFixed64 *uint64 `protobuf:"fixed64,10,opt,name=f_fixed64,json=fFixed64,proto3,oneof" json:"f_fixed64,omitempty"` FFloat *float32 `protobuf:"fixed32,11,opt,name=f_float,json=fFloat,proto3,oneof" json:"f_float,omitempty"` FDouble *float64 `protobuf:"fixed64,12,opt,name=f_double,json=fDouble,proto3,oneof" json:"f_double,omitempty"` FBool1 *bool `protobuf:"varint,21,opt,name=f_bool1,json=fBool1,proto3,oneof" json:"f_bool1,omitempty"` FString1 *string `protobuf:"bytes,22,opt,name=f_string1,json=fString1,proto3,oneof" json:"f_string1,omitempty"` FBytes1 []byte `protobuf:"bytes,23,opt,name=f_bytes1,json=fBytes1,proto3,oneof" json:"f_bytes1,omitempty"` FEnum1 *pbexternal.EnumNum1 `protobuf:"varint,31,opt,name=f_enum1,json=fEnum1,proto3,enum=external.EnumNum1,oneof" json:"f_enum1,omitempty"` FMessage1 *pbexternal.Message1 `protobuf:"bytes,32,opt,name=f_message1,json=fMessage1,proto3,oneof" json:"f_message1,omitempty"` FAny1 *anypb.Any `protobuf:"bytes,41,opt,name=f_any1,json=fAny1,proto3,oneof" json:"f_any1,omitempty"` FDuration1 *durationpb.Duration `protobuf:"bytes,42,opt,name=f_duration1,json=fDuration1,proto3,oneof" json:"f_duration1,omitempty"` FTimestamp1 *timestamppb.Timestamp `protobuf:"bytes,43,opt,name=f_timestamp1,json=fTimestamp1,proto3,oneof" json:"f_timestamp1,omitempty"` // contains filtered or unexported fields }
For test cases: 1. custom json key. 2. omitempty
func (*TypeOptional1) Descriptor
deprecated
func (*TypeOptional1) Descriptor() ([]byte, []int)
Deprecated: Use TypeOptional1.ProtoReflect.Descriptor instead.
func (*TypeOptional1) GetFAny1 ¶
func (x *TypeOptional1) GetFAny1() *anypb.Any
func (*TypeOptional1) GetFBool1 ¶
func (x *TypeOptional1) GetFBool1() bool
func (*TypeOptional1) GetFBytes1 ¶
func (x *TypeOptional1) GetFBytes1() []byte
func (*TypeOptional1) GetFDouble ¶
func (x *TypeOptional1) GetFDouble() float64
func (*TypeOptional1) GetFDuration1 ¶
func (x *TypeOptional1) GetFDuration1() *durationpb.Duration
func (*TypeOptional1) GetFEnum1 ¶
func (x *TypeOptional1) GetFEnum1() pbexternal.EnumNum1
func (*TypeOptional1) GetFFixed32 ¶
func (x *TypeOptional1) GetFFixed32() uint32
func (*TypeOptional1) GetFFixed64 ¶
func (x *TypeOptional1) GetFFixed64() uint64
func (*TypeOptional1) GetFFloat ¶
func (x *TypeOptional1) GetFFloat() float32
func (*TypeOptional1) GetFInt32 ¶
func (x *TypeOptional1) GetFInt32() int32
func (*TypeOptional1) GetFInt64 ¶
func (x *TypeOptional1) GetFInt64() int64
func (*TypeOptional1) GetFMessage1 ¶
func (x *TypeOptional1) GetFMessage1() *pbexternal.Message1
func (*TypeOptional1) GetFSfixed32 ¶
func (x *TypeOptional1) GetFSfixed32() int32
func (*TypeOptional1) GetFSfixed64 ¶
func (x *TypeOptional1) GetFSfixed64() int64
func (*TypeOptional1) GetFSint32 ¶
func (x *TypeOptional1) GetFSint32() int32
func (*TypeOptional1) GetFSint64 ¶
func (x *TypeOptional1) GetFSint64() int64
func (*TypeOptional1) GetFString1 ¶
func (x *TypeOptional1) GetFString1() string
func (*TypeOptional1) GetFTimestamp1 ¶
func (x *TypeOptional1) GetFTimestamp1() *timestamppb.Timestamp
func (*TypeOptional1) GetFUint32 ¶
func (x *TypeOptional1) GetFUint32() uint32
func (*TypeOptional1) GetFUint64 ¶
func (x *TypeOptional1) GetFUint64() uint64
func (*TypeOptional1) MarshalJSON ¶
func (x *TypeOptional1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message TypeOptional1 in file tests/proto/cases/options/type_optional.proto
func (*TypeOptional1) ProtoMessage ¶
func (*TypeOptional1) ProtoMessage()
func (*TypeOptional1) ProtoReflect ¶
func (x *TypeOptional1) ProtoReflect() protoreflect.Message
func (*TypeOptional1) Reset ¶
func (x *TypeOptional1) Reset()
func (*TypeOptional1) String ¶
func (x *TypeOptional1) String() string
func (*TypeOptional1) UnmarshalJSON ¶
func (x *TypeOptional1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message TypeOptional1 in file tests/proto/cases/options/type_optional.proto
type TypePlain1 ¶
type TypePlain1 struct { FInt32 int32 `protobuf:"varint,1,opt,name=f_int32,json=fInt32,proto3" json:"f_int32,omitempty"` FInt64 int64 `protobuf:"varint,2,opt,name=f_int64,json=fInt64,proto3" json:"f_int64,omitempty"` FUint32 uint32 `protobuf:"varint,3,opt,name=f_uint32,json=fUint32,proto3" json:"f_uint32,omitempty"` FUint64 uint64 `protobuf:"varint,4,opt,name=f_uint64,json=fUint64,proto3" json:"f_uint64,omitempty"` FSint32 int32 `protobuf:"zigzag32,5,opt,name=f_sint32,json=fSint32,proto3" json:"f_sint32,omitempty"` FSint64 int64 `protobuf:"zigzag64,6,opt,name=f_sint64,json=fSint64,proto3" json:"f_sint64,omitempty"` FSfixed32 int32 `protobuf:"fixed32,7,opt,name=f_sfixed32,json=fSfixed32,proto3" json:"f_sfixed32,omitempty"` FSfixed64 int64 `protobuf:"fixed64,8,opt,name=f_sfixed64,json=fSfixed64,proto3" json:"f_sfixed64,omitempty"` FFixed32 uint32 `protobuf:"fixed32,9,opt,name=f_fixed32,json=fFixed32,proto3" json:"f_fixed32,omitempty"` FFixed64 uint64 `protobuf:"fixed64,10,opt,name=f_fixed64,json=fFixed64,proto3" json:"f_fixed64,omitempty"` FFloat float32 `protobuf:"fixed32,11,opt,name=f_float,json=fFloat,proto3" json:"f_float,omitempty"` FDouble float64 `protobuf:"fixed64,12,opt,name=f_double,json=fDouble,proto3" json:"f_double,omitempty"` FBool1 bool `protobuf:"varint,21,opt,name=f_bool1,json=fBool1,proto3" json:"f_bool1,omitempty"` FString1 string `protobuf:"bytes,22,opt,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` FBytes1 []byte `protobuf:"bytes,23,opt,name=f_bytes1,json=fBytes1,proto3" json:"f_bytes1,omitempty"` FEnum1 pbexternal.EnumNum1 `protobuf:"varint,31,opt,name=f_enum1,json=fEnum1,proto3,enum=external.EnumNum1" json:"f_enum1,omitempty"` FMessage1 *pbexternal.Message1 `protobuf:"bytes,32,opt,name=f_message1,json=fMessage1,proto3" json:"f_message1,omitempty"` FAny1 *anypb.Any `protobuf:"bytes,41,opt,name=f_any1,json=fAny1,proto3" json:"f_any1,omitempty"` FDuration1 *durationpb.Duration `protobuf:"bytes,42,opt,name=f_duration1,json=fDuration1,proto3" json:"f_duration1,omitempty"` FTimestamp1 *timestamppb.Timestamp `protobuf:"bytes,43,opt,name=f_timestamp1,json=fTimestamp1,proto3" json:"f_timestamp1,omitempty"` // contains filtered or unexported fields }
For test cases: 1. custom json key. 2. omitempty
func (*TypePlain1) Descriptor
deprecated
func (*TypePlain1) Descriptor() ([]byte, []int)
Deprecated: Use TypePlain1.ProtoReflect.Descriptor instead.
func (*TypePlain1) GetFAny1 ¶
func (x *TypePlain1) GetFAny1() *anypb.Any
func (*TypePlain1) GetFBool1 ¶
func (x *TypePlain1) GetFBool1() bool
func (*TypePlain1) GetFBytes1 ¶
func (x *TypePlain1) GetFBytes1() []byte
func (*TypePlain1) GetFDouble ¶
func (x *TypePlain1) GetFDouble() float64
func (*TypePlain1) GetFDuration1 ¶
func (x *TypePlain1) GetFDuration1() *durationpb.Duration
func (*TypePlain1) GetFEnum1 ¶
func (x *TypePlain1) GetFEnum1() pbexternal.EnumNum1
func (*TypePlain1) GetFFixed32 ¶
func (x *TypePlain1) GetFFixed32() uint32
func (*TypePlain1) GetFFixed64 ¶
func (x *TypePlain1) GetFFixed64() uint64
func (*TypePlain1) GetFFloat ¶
func (x *TypePlain1) GetFFloat() float32
func (*TypePlain1) GetFInt32 ¶
func (x *TypePlain1) GetFInt32() int32
func (*TypePlain1) GetFInt64 ¶
func (x *TypePlain1) GetFInt64() int64
func (*TypePlain1) GetFMessage1 ¶
func (x *TypePlain1) GetFMessage1() *pbexternal.Message1
func (*TypePlain1) GetFSfixed32 ¶
func (x *TypePlain1) GetFSfixed32() int32
func (*TypePlain1) GetFSfixed64 ¶
func (x *TypePlain1) GetFSfixed64() int64
func (*TypePlain1) GetFSint32 ¶
func (x *TypePlain1) GetFSint32() int32
func (*TypePlain1) GetFSint64 ¶
func (x *TypePlain1) GetFSint64() int64
func (*TypePlain1) GetFString1 ¶
func (x *TypePlain1) GetFString1() string
func (*TypePlain1) GetFTimestamp1 ¶
func (x *TypePlain1) GetFTimestamp1() *timestamppb.Timestamp
func (*TypePlain1) GetFUint32 ¶
func (x *TypePlain1) GetFUint32() uint32
func (*TypePlain1) GetFUint64 ¶
func (x *TypePlain1) GetFUint64() uint64
func (*TypePlain1) MarshalJSON ¶
func (x *TypePlain1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message TypePlain1 in file tests/proto/cases/options/type_plain.proto
func (*TypePlain1) ProtoMessage ¶
func (*TypePlain1) ProtoMessage()
func (*TypePlain1) ProtoReflect ¶
func (x *TypePlain1) ProtoReflect() protoreflect.Message
func (*TypePlain1) Reset ¶
func (x *TypePlain1) Reset()
func (*TypePlain1) String ¶
func (x *TypePlain1) String() string
func (*TypePlain1) UnmarshalJSON ¶
func (x *TypePlain1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message TypePlain1 in file tests/proto/cases/options/type_plain.proto
type TypeRepeated1 ¶
type TypeRepeated1 struct { FInt32 []int32 `protobuf:"varint,1,rep,packed,name=f_int32,json=fInt32,proto3" json:"f_int32,omitempty"` FInt64 []int64 `protobuf:"varint,2,rep,packed,name=f_int64,json=fInt64,proto3" json:"f_int64,omitempty"` FUint32 []uint32 `protobuf:"varint,3,rep,packed,name=f_uint32,json=fUint32,proto3" json:"f_uint32,omitempty"` FUint64 []uint64 `protobuf:"varint,4,rep,packed,name=f_uint64,json=fUint64,proto3" json:"f_uint64,omitempty"` FSint32 []int32 `protobuf:"zigzag32,5,rep,packed,name=f_sint32,json=fSint32,proto3" json:"f_sint32,omitempty"` FSint64 []int64 `protobuf:"zigzag64,6,rep,packed,name=f_sint64,json=fSint64,proto3" json:"f_sint64,omitempty"` FSfixed32 []int32 `protobuf:"fixed32,7,rep,packed,name=f_sfixed32,json=fSfixed32,proto3" json:"f_sfixed32,omitempty"` FSfixed64 []int64 `protobuf:"fixed64,8,rep,packed,name=f_sfixed64,json=fSfixed64,proto3" json:"f_sfixed64,omitempty"` FFixed32 []uint32 `protobuf:"fixed32,9,rep,packed,name=f_fixed32,json=fFixed32,proto3" json:"f_fixed32,omitempty"` FFixed64 []uint64 `protobuf:"fixed64,10,rep,packed,name=f_fixed64,json=fFixed64,proto3" json:"f_fixed64,omitempty"` FFloat []float32 `protobuf:"fixed32,11,rep,packed,name=f_float,json=fFloat,proto3" json:"f_float,omitempty"` FDouble []float64 `protobuf:"fixed64,12,rep,packed,name=f_double,json=fDouble,proto3" json:"f_double,omitempty"` FBool1 []bool `protobuf:"varint,21,rep,packed,name=f_bool1,json=fBool1,proto3" json:"f_bool1,omitempty"` FString1 []string `protobuf:"bytes,22,rep,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` FBytes1 [][]byte `protobuf:"bytes,23,rep,name=f_bytes1,json=fBytes1,proto3" json:"f_bytes1,omitempty"` FEnum1 []pbexternal.EnumNum1 `protobuf:"varint,31,rep,packed,name=f_enum1,json=fEnum1,proto3,enum=external.EnumNum1" json:"f_enum1,omitempty"` FMessage1 []*pbexternal.Message1 `protobuf:"bytes,32,rep,name=f_message1,json=fMessage1,proto3" json:"f_message1,omitempty"` FAny1 []*anypb.Any `protobuf:"bytes,41,rep,name=f_any1,json=fAny1,proto3" json:"f_any1,omitempty"` FDuration1 []*durationpb.Duration `protobuf:"bytes,42,rep,name=f_duration1,json=fDuration1,proto3" json:"f_duration1,omitempty"` FTimestamp1 []*timestamppb.Timestamp `protobuf:"bytes,43,rep,name=f_timestamp1,json=fTimestamp1,proto3" json:"f_timestamp1,omitempty"` // contains filtered or unexported fields }
For test cases: 1. custom json key. 2. omitempty
func (*TypeRepeated1) Descriptor
deprecated
func (*TypeRepeated1) Descriptor() ([]byte, []int)
Deprecated: Use TypeRepeated1.ProtoReflect.Descriptor instead.
func (*TypeRepeated1) GetFAny1 ¶
func (x *TypeRepeated1) GetFAny1() []*anypb.Any
func (*TypeRepeated1) GetFBool1 ¶
func (x *TypeRepeated1) GetFBool1() []bool
func (*TypeRepeated1) GetFBytes1 ¶
func (x *TypeRepeated1) GetFBytes1() [][]byte
func (*TypeRepeated1) GetFDouble ¶
func (x *TypeRepeated1) GetFDouble() []float64
func (*TypeRepeated1) GetFDuration1 ¶
func (x *TypeRepeated1) GetFDuration1() []*durationpb.Duration
func (*TypeRepeated1) GetFEnum1 ¶
func (x *TypeRepeated1) GetFEnum1() []pbexternal.EnumNum1
func (*TypeRepeated1) GetFFixed32 ¶
func (x *TypeRepeated1) GetFFixed32() []uint32
func (*TypeRepeated1) GetFFixed64 ¶
func (x *TypeRepeated1) GetFFixed64() []uint64
func (*TypeRepeated1) GetFFloat ¶
func (x *TypeRepeated1) GetFFloat() []float32
func (*TypeRepeated1) GetFInt32 ¶
func (x *TypeRepeated1) GetFInt32() []int32
func (*TypeRepeated1) GetFInt64 ¶
func (x *TypeRepeated1) GetFInt64() []int64
func (*TypeRepeated1) GetFMessage1 ¶
func (x *TypeRepeated1) GetFMessage1() []*pbexternal.Message1
func (*TypeRepeated1) GetFSfixed32 ¶
func (x *TypeRepeated1) GetFSfixed32() []int32
func (*TypeRepeated1) GetFSfixed64 ¶
func (x *TypeRepeated1) GetFSfixed64() []int64
func (*TypeRepeated1) GetFSint32 ¶
func (x *TypeRepeated1) GetFSint32() []int32
func (*TypeRepeated1) GetFSint64 ¶
func (x *TypeRepeated1) GetFSint64() []int64
func (*TypeRepeated1) GetFString1 ¶
func (x *TypeRepeated1) GetFString1() []string
func (*TypeRepeated1) GetFTimestamp1 ¶
func (x *TypeRepeated1) GetFTimestamp1() []*timestamppb.Timestamp
func (*TypeRepeated1) GetFUint32 ¶
func (x *TypeRepeated1) GetFUint32() []uint32
func (*TypeRepeated1) GetFUint64 ¶
func (x *TypeRepeated1) GetFUint64() []uint64
func (*TypeRepeated1) MarshalJSON ¶
func (x *TypeRepeated1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message TypeRepeated1 in file tests/proto/cases/options/type_repeated.proto
func (*TypeRepeated1) ProtoMessage ¶
func (*TypeRepeated1) ProtoMessage()
func (*TypeRepeated1) ProtoReflect ¶
func (x *TypeRepeated1) ProtoReflect() protoreflect.Message
func (*TypeRepeated1) Reset ¶
func (x *TypeRepeated1) Reset()
func (*TypeRepeated1) String ¶
func (x *TypeRepeated1) String() string
func (*TypeRepeated1) UnmarshalJSON ¶
func (x *TypeRepeated1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message TypeRepeated1 in file tests/proto/cases/options/type_repeated.proto
Source Files
¶
- ignore_map1.json.pb.go
- ignore_map1.pb.go
- ignore_oneof1.json.pb.go
- ignore_oneof1.pb.go
- ignore_optional1.json.pb.go
- ignore_optional1.pb.go
- ignore_plain1.json.pb.go
- ignore_plain1.pb.go
- ignore_repeated1.json.pb.go
- ignore_repeated1.pb.go
- inline_oneof1.json.pb.go
- inline_oneof1.pb.go
- inline_oneof2.json.pb.go
- inline_oneof2.pb.go
- option_message1.json.pb.go
- option_message1.pb.go
- type_map.json.pb.go
- type_map.pb.go
- type_oneof.json.pb.go
- type_oneof.pb.go
- type_optional.json.pb.go
- type_optional.pb.go
- type_plain.json.pb.go
- type_plain.pb.go
- type_repeated.json.pb.go
- type_repeated.pb.go