Documentation ¶
Index ¶
- Variables
- type Enum1
- type Message1
- func (*Message1) Descriptor() ([]byte, []int)deprecated
- func (x *Message1) GetFString1() string
- func (x *Message1) GetFString2() string
- func (x *Message1) GetFString3() string
- func (x *Message1) MarshalJSON() ([]byte, error)
- func (*Message1) ProtoMessage()
- func (x *Message1) ProtoReflect() protoreflect.Message
- func (x *Message1) Reset()
- func (x *Message1) String() string
- func (x *Message1) UnmarshalJSON(b []byte) error
- type Message1_Embed1
- func (*Message1_Embed1) Descriptor() ([]byte, []int)deprecated
- func (x *Message1_Embed1) GetFString1() string
- func (x *Message1_Embed1) GetFString2() string
- func (x *Message1_Embed1) GetFString3() string
- func (x *Message1_Embed1) MarshalJSON() ([]byte, error)
- func (*Message1_Embed1) ProtoMessage()
- func (x *Message1_Embed1) ProtoReflect() protoreflect.Message
- func (x *Message1_Embed1) Reset()
- func (x *Message1_Embed1) String() string
- func (x *Message1_Embed1) UnmarshalJSON(b []byte) error
- type Message1_Embed1_Embed2
- func (*Message1_Embed1_Embed2) Descriptor() ([]byte, []int)deprecated
- func (x *Message1_Embed1_Embed2) GetFString1() string
- func (x *Message1_Embed1_Embed2) GetFString2() string
- func (x *Message1_Embed1_Embed2) GetFString3() string
- func (x *Message1_Embed1_Embed2) MarshalJSON() ([]byte, error)
- func (*Message1_Embed1_Embed2) ProtoMessage()
- func (x *Message1_Embed1_Embed2) ProtoReflect() protoreflect.Message
- func (x *Message1_Embed1_Embed2) Reset()
- func (x *Message1_Embed1_Embed2) String() string
- func (x *Message1_Embed1_Embed2) UnmarshalJSON(b []byte) error
- type TypeMap1
- func (*TypeMap1) Descriptor() ([]byte, []int)deprecated
- func (x *TypeMap1) GetFDouble1() map[string]float64
- func (x *TypeMap1) GetFDouble2() map[string]float64
- func (x *TypeMap1) GetFFixed32A() map[uint32]uint32
- func (x *TypeMap1) GetFFixed32B() map[uint32]uint32
- func (x *TypeMap1) GetFFixed64A() map[uint64]uint64
- func (x *TypeMap1) GetFFixed64B() map[uint64]uint64
- func (x *TypeMap1) GetFFloat1() map[string]float32
- func (x *TypeMap1) GetFFloat2() map[string]float32
- func (x *TypeMap1) GetFInt32A() map[int32]int32
- func (x *TypeMap1) GetFInt32B() map[int32]int32
- func (x *TypeMap1) GetFInt64A() map[int64]int64
- func (x *TypeMap1) GetFInt64B() map[int64]int64
- func (x *TypeMap1) GetFSfixed32A() map[int32]int32
- func (x *TypeMap1) GetFSfixed32B() map[int32]int32
- func (x *TypeMap1) GetFSfixed64A() map[int64]int64
- func (x *TypeMap1) GetFSfixed64B() map[int64]int64
- func (x *TypeMap1) GetFSint32A() map[int32]int32
- func (x *TypeMap1) GetFSint32B() map[int32]int32
- func (x *TypeMap1) GetFSint64A() map[int64]int64
- func (x *TypeMap1) GetFSint64B() map[int64]int64
- func (x *TypeMap1) GetFUint32A() map[uint32]uint32
- func (x *TypeMap1) GetFUint32B() map[uint32]uint32
- func (x *TypeMap1) GetFUint64A() map[uint64]uint64
- func (x *TypeMap1) GetFUint64B() 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 TypeMap2
- func (*TypeMap2) Descriptor() ([]byte, []int)deprecated
- func (x *TypeMap2) GetFBool1() map[bool]bool
- func (x *TypeMap2) GetFBool2() map[bool]bool
- func (x *TypeMap2) GetFDouble1() map[string]float64
- func (x *TypeMap2) GetFDouble2() map[string]float64
- func (x *TypeMap2) GetFFixed32A() map[uint32]uint32
- func (x *TypeMap2) GetFFixed32B() map[uint32]uint32
- func (x *TypeMap2) GetFFixed64A() map[uint64]uint64
- func (x *TypeMap2) GetFFixed64B() map[uint64]uint64
- func (x *TypeMap2) GetFFloat1() map[string]float32
- func (x *TypeMap2) GetFFloat2() map[string]float32
- func (x *TypeMap2) GetFInt32A() map[int32]int32
- func (x *TypeMap2) GetFInt32B() map[int32]int32
- func (x *TypeMap2) GetFInt64A() map[int64]int64
- func (x *TypeMap2) GetFInt64B() map[int64]int64
- func (x *TypeMap2) GetFSfixed32A() map[int32]int32
- func (x *TypeMap2) GetFSfixed32B() map[int32]int32
- func (x *TypeMap2) GetFSfixed64A() map[int64]int64
- func (x *TypeMap2) GetFSfixed64B() map[int64]int64
- func (x *TypeMap2) GetFSint32A() map[int32]int32
- func (x *TypeMap2) GetFSint32B() map[int32]int32
- func (x *TypeMap2) GetFSint64A() map[int64]int64
- func (x *TypeMap2) GetFSint64B() map[int64]int64
- func (x *TypeMap2) GetFUint32A() map[uint32]uint32
- func (x *TypeMap2) GetFUint32B() map[uint32]uint32
- func (x *TypeMap2) GetFUint64A() map[uint64]uint64
- func (x *TypeMap2) GetFUint64B() map[uint64]uint64
- func (x *TypeMap2) MarshalJSON() ([]byte, error)
- func (*TypeMap2) ProtoMessage()
- func (x *TypeMap2) ProtoReflect() protoreflect.Message
- func (x *TypeMap2) Reset()
- func (x *TypeMap2) String() string
- func (x *TypeMap2) UnmarshalJSON(b []byte) error
- type TypeMap3
- func (*TypeMap3) Descriptor() ([]byte, []int)deprecated
- func (x *TypeMap3) GetFBytes1() map[string][]byte
- func (x *TypeMap3) GetFString1() map[string]string
- func (x *TypeMap3) MarshalJSON() ([]byte, error)
- func (*TypeMap3) ProtoMessage()
- func (x *TypeMap3) ProtoReflect() protoreflect.Message
- func (x *TypeMap3) Reset()
- func (x *TypeMap3) String() string
- func (x *TypeMap3) UnmarshalJSON(b []byte) error
- type TypeOneOf1
- func (*TypeOneOf1) Descriptor() ([]byte, []int)deprecated
- func (x *TypeOneOf1) GetFBool1() bool
- func (x *TypeOneOf1) GetFBool2() bool
- func (x *TypeOneOf1) GetFDouble1() float64
- func (x *TypeOneOf1) GetFDouble2() float64
- func (x *TypeOneOf1) GetFFixed32A() uint32
- func (x *TypeOneOf1) GetFFixed32B() uint32
- func (x *TypeOneOf1) GetFFixed64A() uint64
- func (x *TypeOneOf1) GetFFixed64B() uint64
- func (x *TypeOneOf1) GetFFloat1() float32
- func (x *TypeOneOf1) GetFFloat2() float32
- func (x *TypeOneOf1) GetFInt32A() int32
- func (x *TypeOneOf1) GetFInt32B() int32
- func (x *TypeOneOf1) GetFInt64A() int64
- func (x *TypeOneOf1) GetFInt64B() int64
- func (x *TypeOneOf1) GetFSfixed32A() int32
- func (x *TypeOneOf1) GetFSfixed32B() int32
- func (x *TypeOneOf1) GetFSfixed64A() int64
- func (x *TypeOneOf1) GetFSfixed64B() int64
- func (x *TypeOneOf1) GetFSint32A() int32
- func (x *TypeOneOf1) GetFSint32B() int32
- func (x *TypeOneOf1) GetFSint64A() int64
- func (x *TypeOneOf1) GetFSint64B() int64
- func (x *TypeOneOf1) GetFUint32A() uint32
- func (x *TypeOneOf1) GetFUint32B() uint32
- func (x *TypeOneOf1) GetFUint64A() uint64
- func (x *TypeOneOf1) GetFUint64B() uint64
- func (m *TypeOneOf1) GetOneBool() isTypeOneOf1_OneBool
- func (m *TypeOneOf1) GetOneDouble() isTypeOneOf1_OneDouble
- func (m *TypeOneOf1) GetOneFixed32() isTypeOneOf1_OneFixed32
- func (m *TypeOneOf1) GetOneFixed64() isTypeOneOf1_OneFixed64
- func (m *TypeOneOf1) GetOneFloat() isTypeOneOf1_OneFloat
- func (m *TypeOneOf1) GetOneInt32() isTypeOneOf1_OneInt32
- func (m *TypeOneOf1) GetOneInt64() isTypeOneOf1_OneInt64
- func (m *TypeOneOf1) GetOneSFixed32() isTypeOneOf1_OneSFixed32
- func (m *TypeOneOf1) GetOneSFixed64() isTypeOneOf1_OneSFixed64
- func (m *TypeOneOf1) GetOneSInt32() isTypeOneOf1_OneSInt32
- func (m *TypeOneOf1) GetOneSInt64() isTypeOneOf1_OneSInt64
- func (m *TypeOneOf1) GetOneUint32() isTypeOneOf1_OneUint32
- func (m *TypeOneOf1) GetOneUint64() isTypeOneOf1_OneUint64
- 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_FBool1
- type TypeOneOf1_FBool2
- type TypeOneOf1_FDouble1
- type TypeOneOf1_FDouble2
- type TypeOneOf1_FFixed32A
- type TypeOneOf1_FFixed32B
- type TypeOneOf1_FFixed64A
- type TypeOneOf1_FFixed64B
- type TypeOneOf1_FFloat1
- type TypeOneOf1_FFloat2
- type TypeOneOf1_FInt32A
- type TypeOneOf1_FInt32B
- type TypeOneOf1_FInt64A
- type TypeOneOf1_FInt64B
- type TypeOneOf1_FSfixed32A
- type TypeOneOf1_FSfixed32B
- type TypeOneOf1_FSfixed64A
- type TypeOneOf1_FSfixed64B
- type TypeOneOf1_FSint32A
- type TypeOneOf1_FSint32B
- type TypeOneOf1_FSint64A
- type TypeOneOf1_FSint64B
- type TypeOneOf1_FUint32A
- type TypeOneOf1_FUint32B
- type TypeOneOf1_FUint64A
- type TypeOneOf1_FUint64B
- type TypeOneOf2
- func (*TypeOneOf2) Descriptor() ([]byte, []int)deprecated
- func (x *TypeOneOf2) GetFBytes1() []byte
- func (x *TypeOneOf2) GetFBytes2() []byte
- func (x *TypeOneOf2) GetFString1() string
- func (x *TypeOneOf2) GetFString2() string
- func (m *TypeOneOf2) GetOneType1() isTypeOneOf2_OneType1
- func (m *TypeOneOf2) GetOneType2() isTypeOneOf2_OneType2
- func (x *TypeOneOf2) MarshalJSON() ([]byte, error)
- func (*TypeOneOf2) ProtoMessage()
- func (x *TypeOneOf2) ProtoReflect() protoreflect.Message
- func (x *TypeOneOf2) Reset()
- func (x *TypeOneOf2) String() string
- func (x *TypeOneOf2) UnmarshalJSON(b []byte) error
- type TypeOneOf2_FBytes1
- type TypeOneOf2_FBytes2
- type TypeOneOf2_FString1
- type TypeOneOf2_FString2
- type TypeOptional1
- func (*TypeOptional1) Descriptor() ([]byte, []int)deprecated
- func (x *TypeOptional1) GetFBool1() bool
- func (x *TypeOptional1) GetFBool2() bool
- func (x *TypeOptional1) GetFDouble1() float64
- func (x *TypeOptional1) GetFDouble2() float64
- func (x *TypeOptional1) GetFFixed32A() uint32
- func (x *TypeOptional1) GetFFixed32B() uint32
- func (x *TypeOptional1) GetFFixed64A() uint64
- func (x *TypeOptional1) GetFFixed64B() uint64
- func (x *TypeOptional1) GetFFloat1() float32
- func (x *TypeOptional1) GetFFloat2() float32
- func (x *TypeOptional1) GetFInt32A() int32
- func (x *TypeOptional1) GetFInt32B() int32
- func (x *TypeOptional1) GetFInt64A() int64
- func (x *TypeOptional1) GetFInt64B() int64
- func (x *TypeOptional1) GetFSfixed32A() int32
- func (x *TypeOptional1) GetFSfixed32B() int32
- func (x *TypeOptional1) GetFSfixed64A() int64
- func (x *TypeOptional1) GetFSfixed64B() int64
- func (x *TypeOptional1) GetFSint32A() int32
- func (x *TypeOptional1) GetFSint32B() int32
- func (x *TypeOptional1) GetFSint64A() int64
- func (x *TypeOptional1) GetFSint64B() int64
- func (x *TypeOptional1) GetFUint32A() uint32
- func (x *TypeOptional1) GetFUint32B() uint32
- func (x *TypeOptional1) GetFUint64A() uint64
- func (x *TypeOptional1) GetFUint64B() 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 TypeOptional2
- func (*TypeOptional2) Descriptor() ([]byte, []int)deprecated
- func (x *TypeOptional2) GetFBytes1() []byte
- func (x *TypeOptional2) GetFString1() string
- func (x *TypeOptional2) MarshalJSON() ([]byte, error)
- func (*TypeOptional2) ProtoMessage()
- func (x *TypeOptional2) ProtoReflect() protoreflect.Message
- func (x *TypeOptional2) Reset()
- func (x *TypeOptional2) String() string
- func (x *TypeOptional2) UnmarshalJSON(b []byte) error
- type TypePlain1
- func (*TypePlain1) Descriptor() ([]byte, []int)deprecated
- func (x *TypePlain1) GetFBool1() bool
- func (x *TypePlain1) GetFBool2() bool
- func (x *TypePlain1) GetFDouble1() float64
- func (x *TypePlain1) GetFDouble2() float64
- func (x *TypePlain1) GetFFixed32A() uint32
- func (x *TypePlain1) GetFFixed32B() uint32
- func (x *TypePlain1) GetFFixed64A() uint64
- func (x *TypePlain1) GetFFixed64B() uint64
- func (x *TypePlain1) GetFFloat1() float32
- func (x *TypePlain1) GetFFloat2() float32
- func (x *TypePlain1) GetFInt32A() int32
- func (x *TypePlain1) GetFInt32B() int32
- func (x *TypePlain1) GetFInt64A() int64
- func (x *TypePlain1) GetFInt64B() int64
- func (x *TypePlain1) GetFSfixed32A() int32
- func (x *TypePlain1) GetFSfixed32B() int32
- func (x *TypePlain1) GetFSfixed64A() int64
- func (x *TypePlain1) GetFSfixed64B() int64
- func (x *TypePlain1) GetFSint32A() int32
- func (x *TypePlain1) GetFSint32B() int32
- func (x *TypePlain1) GetFSint64A() int64
- func (x *TypePlain1) GetFSint64B() int64
- func (x *TypePlain1) GetFUint32A() uint32
- func (x *TypePlain1) GetFUint32B() uint32
- func (x *TypePlain1) GetFUint64A() uint64
- func (x *TypePlain1) GetFUint64B() 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 TypePlain2
- func (*TypePlain2) Descriptor() ([]byte, []int)deprecated
- func (x *TypePlain2) GetFBytes1() []byte
- func (x *TypePlain2) GetFString1() string
- func (x *TypePlain2) MarshalJSON() ([]byte, error)
- func (*TypePlain2) ProtoMessage()
- func (x *TypePlain2) ProtoReflect() protoreflect.Message
- func (x *TypePlain2) Reset()
- func (x *TypePlain2) String() string
- func (x *TypePlain2) UnmarshalJSON(b []byte) error
- type TypeRepeated1
- func (*TypeRepeated1) Descriptor() ([]byte, []int)deprecated
- func (x *TypeRepeated1) GetFBool1() []bool
- func (x *TypeRepeated1) GetFBool2() []bool
- func (x *TypeRepeated1) GetFDouble1() []float64
- func (x *TypeRepeated1) GetFDouble2() []float64
- func (x *TypeRepeated1) GetFFixed32A() []uint32
- func (x *TypeRepeated1) GetFFixed32B() []uint32
- func (x *TypeRepeated1) GetFFixed64A() []uint64
- func (x *TypeRepeated1) GetFFixed64B() []uint64
- func (x *TypeRepeated1) GetFFloat1() []float32
- func (x *TypeRepeated1) GetFFloat2() []float32
- func (x *TypeRepeated1) GetFInt32A() []int32
- func (x *TypeRepeated1) GetFInt32B() []int32
- func (x *TypeRepeated1) GetFInt64A() []int64
- func (x *TypeRepeated1) GetFInt64B() []int64
- func (x *TypeRepeated1) GetFSfixed32A() []int32
- func (x *TypeRepeated1) GetFSfixed32B() []int32
- func (x *TypeRepeated1) GetFSfixed64A() []int64
- func (x *TypeRepeated1) GetFSfixed64B() []int64
- func (x *TypeRepeated1) GetFSint32A() []int32
- func (x *TypeRepeated1) GetFSint32B() []int32
- func (x *TypeRepeated1) GetFSint64A() []int64
- func (x *TypeRepeated1) GetFSint64B() []int64
- func (x *TypeRepeated1) GetFUint32A() []uint32
- func (x *TypeRepeated1) GetFUint32B() []uint32
- func (x *TypeRepeated1) GetFUint64A() []uint64
- func (x *TypeRepeated1) GetFUint64B() []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
- type TypeRepeated2
- func (*TypeRepeated2) Descriptor() ([]byte, []int)deprecated
- func (x *TypeRepeated2) GetFBytes1() [][]byte
- func (x *TypeRepeated2) GetFString1() []string
- func (x *TypeRepeated2) MarshalJSON() ([]byte, error)
- func (*TypeRepeated2) ProtoMessage()
- func (x *TypeRepeated2) ProtoReflect() protoreflect.Message
- func (x *TypeRepeated2) Reset()
- func (x *TypeRepeated2) String() string
- func (x *TypeRepeated2) UnmarshalJSON(b []byte) error
- type WKTMap1
- func (*WKTMap1) Descriptor() ([]byte, []int)deprecated
- func (x *WKTMap1) GetFAnyNative1() map[string]*anypb.Any
- func (x *WKTMap1) GetFAnyProto1() map[string]*anypb.Any
- func (x *WKTMap1) GetFDurationHour1() map[string]*durationpb.Duration
- func (x *WKTMap1) GetFDurationHourString1() map[string]*durationpb.Duration
- func (x *WKTMap1) GetFDurationMicrosecond1() map[string]*durationpb.Duration
- func (x *WKTMap1) GetFDurationMicrosecondString1() map[string]*durationpb.Duration
- func (x *WKTMap1) GetFDurationMillisecond1() map[string]*durationpb.Duration
- func (x *WKTMap1) GetFDurationMillisecondString1() map[string]*durationpb.Duration
- func (x *WKTMap1) GetFDurationMinute1() map[string]*durationpb.Duration
- func (x *WKTMap1) GetFDurationMinuteString1() map[string]*durationpb.Duration
- func (x *WKTMap1) GetFDurationNanosecond1() map[string]*durationpb.Duration
- func (x *WKTMap1) GetFDurationNanosecondString1() map[string]*durationpb.Duration
- func (x *WKTMap1) GetFDurationNative1() map[string]*durationpb.Duration
- func (x *WKTMap1) GetFDurationSecond1() map[string]*durationpb.Duration
- func (x *WKTMap1) GetFDurationSecondString1() map[string]*durationpb.Duration
- func (x *WKTMap1) GetFDurationString1() map[string]*durationpb.Duration
- func (x *WKTMap1) GetFEnumNumber1() map[string]Enum1
- func (x *WKTMap1) GetFEnumNumberString1() map[string]Enum1
- func (x *WKTMap1) GetFEnumString1() map[string]Enum1
- func (x *WKTMap1) GetFTimestampNative1() map[string]*timestamppb.Timestamp
- func (x *WKTMap1) GetFTimestampTimeLayout1() map[string]*timestamppb.Timestamp
- func (x *WKTMap1) GetFTimestampUnixMicro1() map[string]*timestamppb.Timestamp
- func (x *WKTMap1) GetFTimestampUnixMicroString1() map[string]*timestamppb.Timestamp
- func (x *WKTMap1) GetFTimestampUnixMilli1() map[string]*timestamppb.Timestamp
- func (x *WKTMap1) GetFTimestampUnixMilliString1() map[string]*timestamppb.Timestamp
- func (x *WKTMap1) GetFTimestampUnixNano1() map[string]*timestamppb.Timestamp
- func (x *WKTMap1) GetFTimestampUnixNanoString1() map[string]*timestamppb.Timestamp
- func (x *WKTMap1) GetFTimestampUnixSec1() map[string]*timestamppb.Timestamp
- func (x *WKTMap1) GetFTimestampUnixSecString1() map[string]*timestamppb.Timestamp
- func (x *WKTMap1) MarshalJSON() ([]byte, error)
- func (*WKTMap1) ProtoMessage()
- func (x *WKTMap1) ProtoReflect() protoreflect.Message
- func (x *WKTMap1) Reset()
- func (x *WKTMap1) String() string
- func (x *WKTMap1) UnmarshalJSON(b []byte) error
- type WKTOneOf1
- func (*WKTOneOf1) Descriptor() ([]byte, []int)deprecated
- func (x *WKTOneOf1) GetFAnyNative1() *anypb.Any
- func (x *WKTOneOf1) GetFAnyProto1() *anypb.Any
- func (x *WKTOneOf1) GetFDurationHour1() *durationpb.Duration
- func (x *WKTOneOf1) GetFDurationHourString1() *durationpb.Duration
- func (x *WKTOneOf1) GetFDurationMicrosecond1() *durationpb.Duration
- func (x *WKTOneOf1) GetFDurationMicrosecondString1() *durationpb.Duration
- func (x *WKTOneOf1) GetFDurationMillisecond1() *durationpb.Duration
- func (x *WKTOneOf1) GetFDurationMillisecondString1() *durationpb.Duration
- func (x *WKTOneOf1) GetFDurationMinute1() *durationpb.Duration
- func (x *WKTOneOf1) GetFDurationMinuteString1() *durationpb.Duration
- func (x *WKTOneOf1) GetFDurationNanosecond1() *durationpb.Duration
- func (x *WKTOneOf1) GetFDurationNanosecondString1() *durationpb.Duration
- func (x *WKTOneOf1) GetFDurationNative1() *durationpb.Duration
- func (x *WKTOneOf1) GetFDurationSecond1() *durationpb.Duration
- func (x *WKTOneOf1) GetFDurationSecondString1() *durationpb.Duration
- func (x *WKTOneOf1) GetFDurationString1() *durationpb.Duration
- func (x *WKTOneOf1) GetFEnumNumber1() Enum1
- func (x *WKTOneOf1) GetFEnumNumberString1() Enum1
- func (x *WKTOneOf1) GetFEnumNumberString2() Enum1
- func (x *WKTOneOf1) GetFEnumString1() Enum1
- func (x *WKTOneOf1) GetFTimestampNative1() *timestamppb.Timestamp
- func (x *WKTOneOf1) GetFTimestampTimeLayout1() *timestamppb.Timestamp
- func (x *WKTOneOf1) GetFTimestampUnixMicro1() *timestamppb.Timestamp
- func (x *WKTOneOf1) GetFTimestampUnixMicroString1() *timestamppb.Timestamp
- func (x *WKTOneOf1) GetFTimestampUnixMilli1() *timestamppb.Timestamp
- func (x *WKTOneOf1) GetFTimestampUnixMilliString1() *timestamppb.Timestamp
- func (x *WKTOneOf1) GetFTimestampUnixNano1() *timestamppb.Timestamp
- func (x *WKTOneOf1) GetFTimestampUnixNanoString1() *timestamppb.Timestamp
- func (x *WKTOneOf1) GetFTimestampUnixSec1() *timestamppb.Timestamp
- func (x *WKTOneOf1) GetFTimestampUnixSecString1() *timestamppb.Timestamp
- func (m *WKTOneOf1) GetOneAny1() isWKTOneOf1_OneAny1
- func (m *WKTOneOf1) GetOneDuration1() isWKTOneOf1_OneDuration1
- func (m *WKTOneOf1) GetOneDuration2() isWKTOneOf1_OneDuration2
- func (m *WKTOneOf1) GetOneDuration3() isWKTOneOf1_OneDuration3
- func (m *WKTOneOf1) GetOneDuration4() isWKTOneOf1_OneDuration4
- func (m *WKTOneOf1) GetOneDuration5() isWKTOneOf1_OneDuration5
- func (m *WKTOneOf1) GetOneDuration6() isWKTOneOf1_OneDuration6
- func (m *WKTOneOf1) GetOneDuration7() isWKTOneOf1_OneDuration7
- func (m *WKTOneOf1) GetOneEnum1() isWKTOneOf1_OneEnum1
- func (m *WKTOneOf1) GetOneEnum2() isWKTOneOf1_OneEnum2
- func (m *WKTOneOf1) GetOneTimestamp1() isWKTOneOf1_OneTimestamp1
- func (m *WKTOneOf1) GetOneTimestamp2() isWKTOneOf1_OneTimestamp2
- func (m *WKTOneOf1) GetOneTimestamp3() isWKTOneOf1_OneTimestamp3
- func (m *WKTOneOf1) GetOneTimestamp4() isWKTOneOf1_OneTimestamp4
- func (m *WKTOneOf1) GetOneTimestamp5() isWKTOneOf1_OneTimestamp5
- func (x *WKTOneOf1) MarshalJSON() ([]byte, error)
- func (*WKTOneOf1) ProtoMessage()
- func (x *WKTOneOf1) ProtoReflect() protoreflect.Message
- func (x *WKTOneOf1) Reset()
- func (x *WKTOneOf1) String() string
- func (x *WKTOneOf1) UnmarshalJSON(b []byte) error
- type WKTOneOf1_FAnyNative1
- type WKTOneOf1_FAnyProto1
- type WKTOneOf1_FDurationHour1
- type WKTOneOf1_FDurationHourString1
- type WKTOneOf1_FDurationMicrosecond1
- type WKTOneOf1_FDurationMicrosecondString1
- type WKTOneOf1_FDurationMillisecond1
- type WKTOneOf1_FDurationMillisecondString1
- type WKTOneOf1_FDurationMinute1
- type WKTOneOf1_FDurationMinuteString1
- type WKTOneOf1_FDurationNanosecond1
- type WKTOneOf1_FDurationNanosecondString1
- type WKTOneOf1_FDurationNative1
- type WKTOneOf1_FDurationSecond1
- type WKTOneOf1_FDurationSecondString1
- type WKTOneOf1_FDurationString1
- type WKTOneOf1_FEnumNumber1
- type WKTOneOf1_FEnumNumberString1
- type WKTOneOf1_FEnumNumberString2
- type WKTOneOf1_FEnumString1
- type WKTOneOf1_FTimestampNative1
- type WKTOneOf1_FTimestampTimeLayout1
- type WKTOneOf1_FTimestampUnixMicro1
- type WKTOneOf1_FTimestampUnixMicroString1
- type WKTOneOf1_FTimestampUnixMilli1
- type WKTOneOf1_FTimestampUnixMilliString1
- type WKTOneOf1_FTimestampUnixNano1
- type WKTOneOf1_FTimestampUnixNanoString1
- type WKTOneOf1_FTimestampUnixSec1
- type WKTOneOf1_FTimestampUnixSecString1
- type WKTOptional1
- func (*WKTOptional1) Descriptor() ([]byte, []int)deprecated
- func (x *WKTOptional1) GetFAnyNative1() *anypb.Any
- func (x *WKTOptional1) GetFAnyProto1() *anypb.Any
- func (x *WKTOptional1) GetFDurationHour1() *durationpb.Duration
- func (x *WKTOptional1) GetFDurationHourString1() *durationpb.Duration
- func (x *WKTOptional1) GetFDurationMicrosecond1() *durationpb.Duration
- func (x *WKTOptional1) GetFDurationMicrosecondString1() *durationpb.Duration
- func (x *WKTOptional1) GetFDurationMillisecond1() *durationpb.Duration
- func (x *WKTOptional1) GetFDurationMillisecondString1() *durationpb.Duration
- func (x *WKTOptional1) GetFDurationMinute1() *durationpb.Duration
- func (x *WKTOptional1) GetFDurationMinuteString1() *durationpb.Duration
- func (x *WKTOptional1) GetFDurationNanosecond1() *durationpb.Duration
- func (x *WKTOptional1) GetFDurationNanosecondString1() *durationpb.Duration
- func (x *WKTOptional1) GetFDurationNative1() *durationpb.Duration
- func (x *WKTOptional1) GetFDurationSecond1() *durationpb.Duration
- func (x *WKTOptional1) GetFDurationSecondString1() *durationpb.Duration
- func (x *WKTOptional1) GetFDurationString1() *durationpb.Duration
- func (x *WKTOptional1) GetFEnumNumber1() Enum1
- func (x *WKTOptional1) GetFEnumNumberString1() Enum1
- func (x *WKTOptional1) GetFEnumString1() Enum1
- func (x *WKTOptional1) GetFTimestampNative1() *timestamppb.Timestamp
- func (x *WKTOptional1) GetFTimestampTimeLayout1() *timestamppb.Timestamp
- func (x *WKTOptional1) GetFTimestampUnixMicro1() *timestamppb.Timestamp
- func (x *WKTOptional1) GetFTimestampUnixMicroString1() *timestamppb.Timestamp
- func (x *WKTOptional1) GetFTimestampUnixMilli1() *timestamppb.Timestamp
- func (x *WKTOptional1) GetFTimestampUnixMilliString1() *timestamppb.Timestamp
- func (x *WKTOptional1) GetFTimestampUnixNano1() *timestamppb.Timestamp
- func (x *WKTOptional1) GetFTimestampUnixNanoString1() *timestamppb.Timestamp
- func (x *WKTOptional1) GetFTimestampUnixSec1() *timestamppb.Timestamp
- func (x *WKTOptional1) GetFTimestampUnixSecString1() *timestamppb.Timestamp
- func (x *WKTOptional1) MarshalJSON() ([]byte, error)
- func (*WKTOptional1) ProtoMessage()
- func (x *WKTOptional1) ProtoReflect() protoreflect.Message
- func (x *WKTOptional1) Reset()
- func (x *WKTOptional1) String() string
- func (x *WKTOptional1) UnmarshalJSON(b []byte) error
- type WKTPlain1
- func (*WKTPlain1) Descriptor() ([]byte, []int)deprecated
- func (x *WKTPlain1) GetFAnyNative1() *anypb.Any
- func (x *WKTPlain1) GetFAnyProto1() *anypb.Any
- func (x *WKTPlain1) GetFDurationHour1() *durationpb.Duration
- func (x *WKTPlain1) GetFDurationHourString1() *durationpb.Duration
- func (x *WKTPlain1) GetFDurationMicrosecond1() *durationpb.Duration
- func (x *WKTPlain1) GetFDurationMicrosecondString1() *durationpb.Duration
- func (x *WKTPlain1) GetFDurationMillisecond1() *durationpb.Duration
- func (x *WKTPlain1) GetFDurationMillisecondString1() *durationpb.Duration
- func (x *WKTPlain1) GetFDurationMinute1() *durationpb.Duration
- func (x *WKTPlain1) GetFDurationMinuteString1() *durationpb.Duration
- func (x *WKTPlain1) GetFDurationNanosecond1() *durationpb.Duration
- func (x *WKTPlain1) GetFDurationNanosecondString1() *durationpb.Duration
- func (x *WKTPlain1) GetFDurationNative1() *durationpb.Duration
- func (x *WKTPlain1) GetFDurationSecond1() *durationpb.Duration
- func (x *WKTPlain1) GetFDurationSecondString1() *durationpb.Duration
- func (x *WKTPlain1) GetFDurationString1() *durationpb.Duration
- func (x *WKTPlain1) GetFEnumNumber1() Enum1
- func (x *WKTPlain1) GetFEnumNumberString1() Enum1
- func (x *WKTPlain1) GetFEnumString1() Enum1
- func (x *WKTPlain1) GetFTimestampNative1() *timestamppb.Timestamp
- func (x *WKTPlain1) GetFTimestampTimeLayout1() *timestamppb.Timestamp
- func (x *WKTPlain1) GetFTimestampUnixMicro1() *timestamppb.Timestamp
- func (x *WKTPlain1) GetFTimestampUnixMicroString1() *timestamppb.Timestamp
- func (x *WKTPlain1) GetFTimestampUnixMilli1() *timestamppb.Timestamp
- func (x *WKTPlain1) GetFTimestampUnixMilliString1() *timestamppb.Timestamp
- func (x *WKTPlain1) GetFTimestampUnixNano1() *timestamppb.Timestamp
- func (x *WKTPlain1) GetFTimestampUnixNanoString1() *timestamppb.Timestamp
- func (x *WKTPlain1) GetFTimestampUnixSec1() *timestamppb.Timestamp
- func (x *WKTPlain1) GetFTimestampUnixSecString1() *timestamppb.Timestamp
- func (x *WKTPlain1) MarshalJSON() ([]byte, error)
- func (*WKTPlain1) ProtoMessage()
- func (x *WKTPlain1) ProtoReflect() protoreflect.Message
- func (x *WKTPlain1) Reset()
- func (x *WKTPlain1) String() string
- func (x *WKTPlain1) UnmarshalJSON(b []byte) error
- type WKTRepeated1
- func (*WKTRepeated1) Descriptor() ([]byte, []int)deprecated
- func (x *WKTRepeated1) GetFAnyNative1() []*anypb.Any
- func (x *WKTRepeated1) GetFAnyProto1() []*anypb.Any
- func (x *WKTRepeated1) GetFDurationHour1() []*durationpb.Duration
- func (x *WKTRepeated1) GetFDurationHourString1() []*durationpb.Duration
- func (x *WKTRepeated1) GetFDurationMicrosecond1() []*durationpb.Duration
- func (x *WKTRepeated1) GetFDurationMicrosecondString1() []*durationpb.Duration
- func (x *WKTRepeated1) GetFDurationMillisecond1() []*durationpb.Duration
- func (x *WKTRepeated1) GetFDurationMillisecondString1() []*durationpb.Duration
- func (x *WKTRepeated1) GetFDurationMinute1() []*durationpb.Duration
- func (x *WKTRepeated1) GetFDurationMinuteString1() []*durationpb.Duration
- func (x *WKTRepeated1) GetFDurationNanosecond1() []*durationpb.Duration
- func (x *WKTRepeated1) GetFDurationNanosecondString1() []*durationpb.Duration
- func (x *WKTRepeated1) GetFDurationNative1() []*durationpb.Duration
- func (x *WKTRepeated1) GetFDurationSecond1() []*durationpb.Duration
- func (x *WKTRepeated1) GetFDurationSecondString1() []*durationpb.Duration
- func (x *WKTRepeated1) GetFDurationString1() []*durationpb.Duration
- func (x *WKTRepeated1) GetFEnumNumber1() []Enum1
- func (x *WKTRepeated1) GetFEnumNumberString1() []Enum1
- func (x *WKTRepeated1) GetFEnumString1() []Enum1
- func (x *WKTRepeated1) GetFTimestampNative1() []*timestamppb.Timestamp
- func (x *WKTRepeated1) GetFTimestampTimeLayout1() []*timestamppb.Timestamp
- func (x *WKTRepeated1) GetFTimestampUnixMicro1() []*timestamppb.Timestamp
- func (x *WKTRepeated1) GetFTimestampUnixMicroString1() []*timestamppb.Timestamp
- func (x *WKTRepeated1) GetFTimestampUnixMilli1() []*timestamppb.Timestamp
- func (x *WKTRepeated1) GetFTimestampUnixMilliString1() []*timestamppb.Timestamp
- func (x *WKTRepeated1) GetFTimestampUnixNano1() []*timestamppb.Timestamp
- func (x *WKTRepeated1) GetFTimestampUnixNanoString1() []*timestamppb.Timestamp
- func (x *WKTRepeated1) GetFTimestampUnixSec1() []*timestamppb.Timestamp
- func (x *WKTRepeated1) GetFTimestampUnixSecString1() []*timestamppb.Timestamp
- func (x *WKTRepeated1) MarshalJSON() ([]byte, error)
- func (*WKTRepeated1) ProtoMessage()
- func (x *WKTRepeated1) ProtoReflect() protoreflect.Message
- func (x *WKTRepeated1) Reset()
- func (x *WKTRepeated1) String() string
- func (x *WKTRepeated1) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( Enum1_name = map[int32]string{ 0: "Zero", 2: "One", 3: "Two", 5: "Three", 6: "Four", 7: "Five", 9: "Six", 11: "Seven", 12: "Eight", 15: "Nine", 17: "Ten", } Enum1_value = map[string]int32{ "Zero": 0, "One": 2, "Two": 3, "Three": 5, "Four": 6, "Five": 7, "Six": 9, "Seven": 11, "Eight": 12, "Nine": 15, "Ten": 17, } )
Enum value maps for Enum1.
var File_tests_proto_cases_references_private_proto protoreflect.FileDescriptor
var File_tests_proto_cases_references_type_map_proto protoreflect.FileDescriptor
var File_tests_proto_cases_references_type_oneof_proto protoreflect.FileDescriptor
var File_tests_proto_cases_references_type_optional_proto protoreflect.FileDescriptor
var File_tests_proto_cases_references_type_plain_proto protoreflect.FileDescriptor
var File_tests_proto_cases_references_type_repeated_proto protoreflect.FileDescriptor
var File_tests_proto_cases_references_wkt_map_proto protoreflect.FileDescriptor
var File_tests_proto_cases_references_wkt_oneof_proto protoreflect.FileDescriptor
var File_tests_proto_cases_references_wkt_optional_proto protoreflect.FileDescriptor
var File_tests_proto_cases_references_wkt_plain_proto protoreflect.FileDescriptor
var File_tests_proto_cases_references_wkt_repeated_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Enum1 ¶
type Enum1 int32
func (Enum1) Descriptor ¶
func (Enum1) Descriptor() protoreflect.EnumDescriptor
func (Enum1) EnumDescriptor
deprecated
func (Enum1) Number ¶
func (x Enum1) Number() protoreflect.EnumNumber
func (Enum1) Type ¶
func (Enum1) Type() protoreflect.EnumType
type Message1 ¶
type Message1 struct { FString1 string `protobuf:"bytes,1,opt,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` FString2 string `protobuf:"bytes,2,opt,name=f_string2,json=fString2,proto3" json:"f_string2,omitempty"` FString3 string `protobuf:"bytes,3,opt,name=f_string3,json=fString3,proto3" json:"f_string3,omitempty"` // contains filtered or unexported fields }
MessageWKT1 used tests cases in this file.
func (*Message1) Descriptor
deprecated
func (*Message1) GetFString1 ¶
func (*Message1) GetFString2 ¶
func (*Message1) GetFString3 ¶
func (*Message1) MarshalJSON ¶
MarshalJSON implements interface json.Marshaler for proto message Message1 in file tests/proto/cases/references/private.proto
func (*Message1) ProtoMessage ¶
func (*Message1) ProtoMessage()
func (*Message1) ProtoReflect ¶
func (x *Message1) ProtoReflect() protoreflect.Message
func (*Message1) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler for proto message Message1 in file tests/proto/cases/references/private.proto
type Message1_Embed1 ¶
type Message1_Embed1 struct { FString1 string `protobuf:"bytes,1,opt,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` FString2 string `protobuf:"bytes,2,opt,name=f_string2,json=fString2,proto3" json:"f_string2,omitempty"` FString3 string `protobuf:"bytes,3,opt,name=f_string3,json=fString3,proto3" json:"f_string3,omitempty"` // contains filtered or unexported fields }
func (*Message1_Embed1) Descriptor
deprecated
func (*Message1_Embed1) Descriptor() ([]byte, []int)
Deprecated: Use Message1_Embed1.ProtoReflect.Descriptor instead.
func (*Message1_Embed1) GetFString1 ¶
func (x *Message1_Embed1) GetFString1() string
func (*Message1_Embed1) GetFString2 ¶
func (x *Message1_Embed1) GetFString2() string
func (*Message1_Embed1) GetFString3 ¶
func (x *Message1_Embed1) GetFString3() string
func (*Message1_Embed1) MarshalJSON ¶
func (x *Message1_Embed1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message Embed1 in file tests/proto/cases/references/private.proto
func (*Message1_Embed1) ProtoMessage ¶
func (*Message1_Embed1) ProtoMessage()
func (*Message1_Embed1) ProtoReflect ¶
func (x *Message1_Embed1) ProtoReflect() protoreflect.Message
func (*Message1_Embed1) Reset ¶
func (x *Message1_Embed1) Reset()
func (*Message1_Embed1) String ¶
func (x *Message1_Embed1) String() string
func (*Message1_Embed1) UnmarshalJSON ¶
func (x *Message1_Embed1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message Embed1 in file tests/proto/cases/references/private.proto
type Message1_Embed1_Embed2 ¶
type Message1_Embed1_Embed2 struct { FString1 string `protobuf:"bytes,1,opt,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` FString2 string `protobuf:"bytes,2,opt,name=f_string2,json=fString2,proto3" json:"f_string2,omitempty"` FString3 string `protobuf:"bytes,3,opt,name=f_string3,json=fString3,proto3" json:"f_string3,omitempty"` // contains filtered or unexported fields }
func (*Message1_Embed1_Embed2) Descriptor
deprecated
func (*Message1_Embed1_Embed2) Descriptor() ([]byte, []int)
Deprecated: Use Message1_Embed1_Embed2.ProtoReflect.Descriptor instead.
func (*Message1_Embed1_Embed2) GetFString1 ¶
func (x *Message1_Embed1_Embed2) GetFString1() string
func (*Message1_Embed1_Embed2) GetFString2 ¶
func (x *Message1_Embed1_Embed2) GetFString2() string
func (*Message1_Embed1_Embed2) GetFString3 ¶
func (x *Message1_Embed1_Embed2) GetFString3() string
func (*Message1_Embed1_Embed2) MarshalJSON ¶
func (x *Message1_Embed1_Embed2) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message Embed2 in file tests/proto/cases/references/private.proto
func (*Message1_Embed1_Embed2) ProtoMessage ¶
func (*Message1_Embed1_Embed2) ProtoMessage()
func (*Message1_Embed1_Embed2) ProtoReflect ¶
func (x *Message1_Embed1_Embed2) ProtoReflect() protoreflect.Message
func (*Message1_Embed1_Embed2) Reset ¶
func (x *Message1_Embed1_Embed2) Reset()
func (*Message1_Embed1_Embed2) String ¶
func (x *Message1_Embed1_Embed2) String() string
func (*Message1_Embed1_Embed2) UnmarshalJSON ¶
func (x *Message1_Embed1_Embed2) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message Embed2 in file tests/proto/cases/references/private.proto
type TypeMap1 ¶
type TypeMap1 struct { FInt32A map[int32]int32 `` /* 172-byte string literal not displayed */ FInt32B map[int32]int32 `` /* 172-byte string literal not displayed */ FInt64A map[int64]int64 `` /* 172-byte string literal not displayed */ FInt64B map[int64]int64 `` /* 172-byte string literal not displayed */ FUint32A map[uint32]uint32 `` /* 175-byte string literal not displayed */ FUint32B map[uint32]uint32 `` /* 175-byte string literal not displayed */ FUint64A map[uint64]uint64 `` /* 175-byte string literal not displayed */ FUint64B map[uint64]uint64 `` /* 175-byte string literal not displayed */ FSint32A map[int32]int32 `` /* 179-byte string literal not displayed */ FSint32B map[int32]int32 `` /* 180-byte string literal not displayed */ FSint64A map[int64]int64 `` /* 180-byte string literal not displayed */ FSint64B map[int64]int64 `` /* 180-byte string literal not displayed */ FSfixed32A map[int32]int32 `` /* 184-byte string literal not displayed */ FSfixed32B map[int32]int32 `` /* 184-byte string literal not displayed */ FSfixed64A map[int64]int64 `` /* 184-byte string literal not displayed */ FSfixed64B map[int64]int64 `` /* 184-byte string literal not displayed */ FFixed32A map[uint32]uint32 `` /* 181-byte string literal not displayed */ FFixed32B map[uint32]uint32 `` /* 181-byte string literal not displayed */ FFixed64A map[uint64]uint64 `` /* 181-byte string literal not displayed */ FFixed64B map[uint64]uint64 `` /* 181-byte string literal not displayed */ FFloat1 map[string]float32 `` /* 173-byte string literal not displayed */ FFloat2 map[string]float32 `` /* 173-byte string literal not displayed */ FDouble1 map[string]float64 `` /* 176-byte string literal not displayed */ FDouble2 map[string]float64 `` /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TypeMap1) Descriptor
deprecated
func (*TypeMap1) GetFDouble1 ¶
func (*TypeMap1) GetFDouble2 ¶
func (*TypeMap1) GetFFixed32A ¶
func (*TypeMap1) GetFFixed32B ¶
func (*TypeMap1) GetFFixed64A ¶
func (*TypeMap1) GetFFixed64B ¶
func (*TypeMap1) GetFFloat1 ¶
func (*TypeMap1) GetFFloat2 ¶
func (*TypeMap1) GetFInt32A ¶
func (*TypeMap1) GetFInt32B ¶
func (*TypeMap1) GetFInt64A ¶
func (*TypeMap1) GetFInt64B ¶
func (*TypeMap1) GetFSfixed32A ¶
func (*TypeMap1) GetFSfixed32B ¶
func (*TypeMap1) GetFSfixed64A ¶
func (*TypeMap1) GetFSfixed64B ¶
func (*TypeMap1) GetFSint32A ¶
func (*TypeMap1) GetFSint32B ¶
func (*TypeMap1) GetFSint64A ¶
func (*TypeMap1) GetFSint64B ¶
func (*TypeMap1) GetFUint32A ¶
func (*TypeMap1) GetFUint32B ¶
func (*TypeMap1) GetFUint64A ¶
func (*TypeMap1) GetFUint64B ¶
func (*TypeMap1) MarshalJSON ¶
MarshalJSON implements interface json.Marshaler for proto message TypeMap1 in file tests/proto/cases/references/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/references/type_map.proto
type TypeMap2 ¶
type TypeMap2 struct { FInt32A map[int32]int32 `` /* 172-byte string literal not displayed */ FInt32B map[int32]int32 `` /* 172-byte string literal not displayed */ FInt64A map[int64]int64 `` /* 172-byte string literal not displayed */ FInt64B map[int64]int64 `` /* 172-byte string literal not displayed */ FUint32A map[uint32]uint32 `` /* 175-byte string literal not displayed */ FUint32B map[uint32]uint32 `` /* 175-byte string literal not displayed */ FUint64A map[uint64]uint64 `` /* 175-byte string literal not displayed */ FUint64B map[uint64]uint64 `` /* 175-byte string literal not displayed */ FSint32A map[int32]int32 `` /* 179-byte string literal not displayed */ FSint32B map[int32]int32 `` /* 180-byte string literal not displayed */ FSint64A map[int64]int64 `` /* 180-byte string literal not displayed */ FSint64B map[int64]int64 `` /* 180-byte string literal not displayed */ FSfixed32A map[int32]int32 `` /* 184-byte string literal not displayed */ FSfixed32B map[int32]int32 `` /* 184-byte string literal not displayed */ FSfixed64A map[int64]int64 `` /* 184-byte string literal not displayed */ FSfixed64B map[int64]int64 `` /* 184-byte string literal not displayed */ FFixed32A map[uint32]uint32 `` /* 181-byte string literal not displayed */ FFixed32B map[uint32]uint32 `` /* 181-byte string literal not displayed */ FFixed64A map[uint64]uint64 `` /* 181-byte string literal not displayed */ FFixed64B map[uint64]uint64 `` /* 181-byte string literal not displayed */ FFloat1 map[string]float32 `` /* 173-byte string literal not displayed */ FFloat2 map[string]float32 `` /* 173-byte string literal not displayed */ FDouble1 map[string]float64 `` /* 176-byte string literal not displayed */ FDouble2 map[string]float64 `` /* 176-byte string literal not displayed */ FBool1 map[bool]bool `` /* 170-byte string literal not displayed */ FBool2 map[bool]bool `` /* 170-byte string literal not displayed */ // contains filtered or unexported fields }
Only test marshal/unmarshal
func (*TypeMap2) Descriptor
deprecated
func (*TypeMap2) GetFDouble1 ¶
func (*TypeMap2) GetFDouble2 ¶
func (*TypeMap2) GetFFixed32A ¶
func (*TypeMap2) GetFFixed32B ¶
func (*TypeMap2) GetFFixed64A ¶
func (*TypeMap2) GetFFixed64B ¶
func (*TypeMap2) GetFFloat1 ¶
func (*TypeMap2) GetFFloat2 ¶
func (*TypeMap2) GetFInt32A ¶
func (*TypeMap2) GetFInt32B ¶
func (*TypeMap2) GetFInt64A ¶
func (*TypeMap2) GetFInt64B ¶
func (*TypeMap2) GetFSfixed32A ¶
func (*TypeMap2) GetFSfixed32B ¶
func (*TypeMap2) GetFSfixed64A ¶
func (*TypeMap2) GetFSfixed64B ¶
func (*TypeMap2) GetFSint32A ¶
func (*TypeMap2) GetFSint32B ¶
func (*TypeMap2) GetFSint64A ¶
func (*TypeMap2) GetFSint64B ¶
func (*TypeMap2) GetFUint32A ¶
func (*TypeMap2) GetFUint32B ¶
func (*TypeMap2) GetFUint64A ¶
func (*TypeMap2) GetFUint64B ¶
func (*TypeMap2) MarshalJSON ¶
MarshalJSON implements interface json.Marshaler for proto message TypeMap2 in file tests/proto/cases/references/type_map.proto
func (*TypeMap2) ProtoMessage ¶
func (*TypeMap2) ProtoMessage()
func (*TypeMap2) ProtoReflect ¶
func (x *TypeMap2) ProtoReflect() protoreflect.Message
func (*TypeMap2) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler for proto message TypeMap2 in file tests/proto/cases/references/type_map.proto
type TypeMap3 ¶
type TypeMap3 struct { FString1 map[string]string `` /* 173-byte string literal not displayed */ FBytes1 map[string][]byte `` /* 170-byte string literal not displayed */ // contains filtered or unexported fields }
Only used to test type error.
func (*TypeMap3) Descriptor
deprecated
func (*TypeMap3) GetFBytes1 ¶
func (*TypeMap3) GetFString1 ¶
func (*TypeMap3) MarshalJSON ¶
MarshalJSON implements interface json.Marshaler for proto message TypeMap3 in file tests/proto/cases/references/type_map.proto
func (*TypeMap3) ProtoMessage ¶
func (*TypeMap3) ProtoMessage()
func (*TypeMap3) ProtoReflect ¶
func (x *TypeMap3) ProtoReflect() protoreflect.Message
func (*TypeMap3) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler for proto message TypeMap3 in file tests/proto/cases/references/type_map.proto
type TypeOneOf1 ¶
type TypeOneOf1 struct { // Types that are assignable to OneInt32: // *TypeOneOf1_FInt32A // *TypeOneOf1_FInt32B OneInt32 isTypeOneOf1_OneInt32 `protobuf_oneof:"OneInt32"` // Types that are assignable to OneInt64: // *TypeOneOf1_FInt64A // *TypeOneOf1_FInt64B OneInt64 isTypeOneOf1_OneInt64 `protobuf_oneof:"OneInt64"` // Types that are assignable to OneUint32: // *TypeOneOf1_FUint32A // *TypeOneOf1_FUint32B OneUint32 isTypeOneOf1_OneUint32 `protobuf_oneof:"OneUint32"` // Types that are assignable to OneUint64: // *TypeOneOf1_FUint64A // *TypeOneOf1_FUint64B OneUint64 isTypeOneOf1_OneUint64 `protobuf_oneof:"OneUint64"` // Types that are assignable to OneSInt32: // *TypeOneOf1_FSint32A // *TypeOneOf1_FSint32B OneSInt32 isTypeOneOf1_OneSInt32 `protobuf_oneof:"OneSInt32"` // Types that are assignable to OneSInt64: // *TypeOneOf1_FSint64A // *TypeOneOf1_FSint64B OneSInt64 isTypeOneOf1_OneSInt64 `protobuf_oneof:"OneSInt64"` // Types that are assignable to OneSFixed32: // *TypeOneOf1_FSfixed32A // *TypeOneOf1_FSfixed32B OneSFixed32 isTypeOneOf1_OneSFixed32 `protobuf_oneof:"OneSFixed32"` // Types that are assignable to OneSFixed64: // *TypeOneOf1_FSfixed64A // *TypeOneOf1_FSfixed64B OneSFixed64 isTypeOneOf1_OneSFixed64 `protobuf_oneof:"OneSFixed64"` // Types that are assignable to OneFixed32: // *TypeOneOf1_FFixed32A // *TypeOneOf1_FFixed32B OneFixed32 isTypeOneOf1_OneFixed32 `protobuf_oneof:"OneFixed32"` // Types that are assignable to OneFixed64: // *TypeOneOf1_FFixed64A // *TypeOneOf1_FFixed64B OneFixed64 isTypeOneOf1_OneFixed64 `protobuf_oneof:"OneFixed64"` // Types that are assignable to OneFloat: // *TypeOneOf1_FFloat1 // *TypeOneOf1_FFloat2 OneFloat isTypeOneOf1_OneFloat `protobuf_oneof:"OneFloat"` // Types that are assignable to OneDouble: // *TypeOneOf1_FDouble1 // *TypeOneOf1_FDouble2 OneDouble isTypeOneOf1_OneDouble `protobuf_oneof:"OneDouble"` // Types that are assignable to OneBool: // *TypeOneOf1_FBool1 // *TypeOneOf1_FBool2 OneBool isTypeOneOf1_OneBool `protobuf_oneof:"OneBool"` // contains filtered or unexported fields }
func (*TypeOneOf1) Descriptor
deprecated
func (*TypeOneOf1) Descriptor() ([]byte, []int)
Deprecated: Use TypeOneOf1.ProtoReflect.Descriptor instead.
func (*TypeOneOf1) GetFBool1 ¶
func (x *TypeOneOf1) GetFBool1() bool
func (*TypeOneOf1) GetFBool2 ¶
func (x *TypeOneOf1) GetFBool2() bool
func (*TypeOneOf1) GetFDouble1 ¶
func (x *TypeOneOf1) GetFDouble1() float64
func (*TypeOneOf1) GetFDouble2 ¶
func (x *TypeOneOf1) GetFDouble2() float64
func (*TypeOneOf1) GetFFixed32A ¶
func (x *TypeOneOf1) GetFFixed32A() uint32
func (*TypeOneOf1) GetFFixed32B ¶
func (x *TypeOneOf1) GetFFixed32B() uint32
func (*TypeOneOf1) GetFFixed64A ¶
func (x *TypeOneOf1) GetFFixed64A() uint64
func (*TypeOneOf1) GetFFixed64B ¶
func (x *TypeOneOf1) GetFFixed64B() uint64
func (*TypeOneOf1) GetFFloat1 ¶
func (x *TypeOneOf1) GetFFloat1() float32
func (*TypeOneOf1) GetFFloat2 ¶
func (x *TypeOneOf1) GetFFloat2() float32
func (*TypeOneOf1) GetFInt32A ¶
func (x *TypeOneOf1) GetFInt32A() int32
func (*TypeOneOf1) GetFInt32B ¶
func (x *TypeOneOf1) GetFInt32B() int32
func (*TypeOneOf1) GetFInt64A ¶
func (x *TypeOneOf1) GetFInt64A() int64
func (*TypeOneOf1) GetFInt64B ¶
func (x *TypeOneOf1) GetFInt64B() int64
func (*TypeOneOf1) GetFSfixed32A ¶
func (x *TypeOneOf1) GetFSfixed32A() int32
func (*TypeOneOf1) GetFSfixed32B ¶
func (x *TypeOneOf1) GetFSfixed32B() int32
func (*TypeOneOf1) GetFSfixed64A ¶
func (x *TypeOneOf1) GetFSfixed64A() int64
func (*TypeOneOf1) GetFSfixed64B ¶
func (x *TypeOneOf1) GetFSfixed64B() int64
func (*TypeOneOf1) GetFSint32A ¶
func (x *TypeOneOf1) GetFSint32A() int32
func (*TypeOneOf1) GetFSint32B ¶
func (x *TypeOneOf1) GetFSint32B() int32
func (*TypeOneOf1) GetFSint64A ¶
func (x *TypeOneOf1) GetFSint64A() int64
func (*TypeOneOf1) GetFSint64B ¶
func (x *TypeOneOf1) GetFSint64B() int64
func (*TypeOneOf1) GetFUint32A ¶
func (x *TypeOneOf1) GetFUint32A() uint32
func (*TypeOneOf1) GetFUint32B ¶
func (x *TypeOneOf1) GetFUint32B() uint32
func (*TypeOneOf1) GetFUint64A ¶
func (x *TypeOneOf1) GetFUint64A() uint64
func (*TypeOneOf1) GetFUint64B ¶
func (x *TypeOneOf1) GetFUint64B() uint64
func (*TypeOneOf1) GetOneBool ¶
func (m *TypeOneOf1) GetOneBool() isTypeOneOf1_OneBool
func (*TypeOneOf1) GetOneDouble ¶
func (m *TypeOneOf1) GetOneDouble() isTypeOneOf1_OneDouble
func (*TypeOneOf1) GetOneFixed32 ¶
func (m *TypeOneOf1) GetOneFixed32() isTypeOneOf1_OneFixed32
func (*TypeOneOf1) GetOneFixed64 ¶
func (m *TypeOneOf1) GetOneFixed64() isTypeOneOf1_OneFixed64
func (*TypeOneOf1) GetOneFloat ¶
func (m *TypeOneOf1) GetOneFloat() isTypeOneOf1_OneFloat
func (*TypeOneOf1) GetOneInt32 ¶
func (m *TypeOneOf1) GetOneInt32() isTypeOneOf1_OneInt32
func (*TypeOneOf1) GetOneInt64 ¶
func (m *TypeOneOf1) GetOneInt64() isTypeOneOf1_OneInt64
func (*TypeOneOf1) GetOneSFixed32 ¶
func (m *TypeOneOf1) GetOneSFixed32() isTypeOneOf1_OneSFixed32
func (*TypeOneOf1) GetOneSFixed64 ¶
func (m *TypeOneOf1) GetOneSFixed64() isTypeOneOf1_OneSFixed64
func (*TypeOneOf1) GetOneSInt32 ¶
func (m *TypeOneOf1) GetOneSInt32() isTypeOneOf1_OneSInt32
func (*TypeOneOf1) GetOneSInt64 ¶
func (m *TypeOneOf1) GetOneSInt64() isTypeOneOf1_OneSInt64
func (*TypeOneOf1) GetOneUint32 ¶
func (m *TypeOneOf1) GetOneUint32() isTypeOneOf1_OneUint32
func (*TypeOneOf1) GetOneUint64 ¶
func (m *TypeOneOf1) GetOneUint64() isTypeOneOf1_OneUint64
func (*TypeOneOf1) MarshalJSON ¶
func (x *TypeOneOf1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message TypeOneOf1 in file tests/proto/cases/references/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/references/type_oneof.proto
type TypeOneOf1_FBool1 ¶
type TypeOneOf1_FBool1 struct {
FBool1 bool `protobuf:"varint,25,opt,name=f_bool1,json=fBool1,proto3,oneof"`
}
type TypeOneOf1_FBool2 ¶
type TypeOneOf1_FBool2 struct {
FBool2 bool `protobuf:"varint,27,opt,name=f_bool2,json=fBool2,proto3,oneof"`
}
type TypeOneOf1_FDouble1 ¶
type TypeOneOf1_FDouble1 struct {
FDouble1 float64 `protobuf:"fixed64,23,opt,name=f_double1,json=fDouble1,proto3,oneof"`
}
type TypeOneOf1_FDouble2 ¶
type TypeOneOf1_FDouble2 struct {
FDouble2 float64 `protobuf:"fixed64,24,opt,name=f_double2,json=fDouble2,proto3,oneof"`
}
type TypeOneOf1_FFixed32A ¶
type TypeOneOf1_FFixed32A struct {
FFixed32A uint32 `protobuf:"fixed32,17,opt,name=f_fixed32a,json=fFixed32a,proto3,oneof"`
}
type TypeOneOf1_FFixed32B ¶
type TypeOneOf1_FFixed32B struct {
FFixed32B uint32 `protobuf:"fixed32,18,opt,name=f_fixed32b,json=fFixed32b,proto3,oneof"`
}
type TypeOneOf1_FFixed64A ¶
type TypeOneOf1_FFixed64A struct {
FFixed64A uint64 `protobuf:"fixed64,19,opt,name=f_fixed64a,json=fFixed64a,proto3,oneof"`
}
type TypeOneOf1_FFixed64B ¶
type TypeOneOf1_FFixed64B struct {
FFixed64B uint64 `protobuf:"fixed64,20,opt,name=f_fixed64b,json=fFixed64b,proto3,oneof"`
}
type TypeOneOf1_FFloat1 ¶
type TypeOneOf1_FFloat1 struct {
FFloat1 float32 `protobuf:"fixed32,21,opt,name=f_float1,json=fFloat1,proto3,oneof"`
}
type TypeOneOf1_FFloat2 ¶
type TypeOneOf1_FFloat2 struct {
FFloat2 float32 `protobuf:"fixed32,22,opt,name=f_float2,json=fFloat2,proto3,oneof"`
}
type TypeOneOf1_FInt32A ¶
type TypeOneOf1_FInt32A struct {
FInt32A int32 `protobuf:"varint,1,opt,name=f_int32a,json=fInt32a,proto3,oneof"`
}
type TypeOneOf1_FInt32B ¶
type TypeOneOf1_FInt32B struct {
FInt32B int32 `protobuf:"varint,2,opt,name=f_int32b,json=fInt32b,proto3,oneof"`
}
type TypeOneOf1_FInt64A ¶
type TypeOneOf1_FInt64A struct {
FInt64A int64 `protobuf:"varint,3,opt,name=f_int64a,json=fInt64a,proto3,oneof"`
}
type TypeOneOf1_FInt64B ¶
type TypeOneOf1_FInt64B struct {
FInt64B int64 `protobuf:"varint,4,opt,name=f_int64b,json=fInt64b,proto3,oneof"`
}
type TypeOneOf1_FSfixed32A ¶
type TypeOneOf1_FSfixed32A struct {
FSfixed32A int32 `protobuf:"fixed32,13,opt,name=f_sfixed32a,json=fSfixed32a,proto3,oneof"`
}
type TypeOneOf1_FSfixed32B ¶
type TypeOneOf1_FSfixed32B struct {
FSfixed32B int32 `protobuf:"fixed32,14,opt,name=f_sfixed32b,json=fSfixed32b,proto3,oneof"`
}
type TypeOneOf1_FSfixed64A ¶
type TypeOneOf1_FSfixed64A struct {
FSfixed64A int64 `protobuf:"fixed64,15,opt,name=f_sfixed64a,json=fSfixed64a,proto3,oneof"`
}
type TypeOneOf1_FSfixed64B ¶
type TypeOneOf1_FSfixed64B struct {
FSfixed64B int64 `protobuf:"fixed64,16,opt,name=f_sfixed64b,json=fSfixed64b,proto3,oneof"`
}
type TypeOneOf1_FSint32A ¶
type TypeOneOf1_FSint32A struct {
FSint32A int32 `protobuf:"zigzag32,9,opt,name=f_sint32a,json=fSint32a,proto3,oneof"`
}
type TypeOneOf1_FSint32B ¶
type TypeOneOf1_FSint32B struct {
FSint32B int32 `protobuf:"zigzag32,10,opt,name=f_sint32b,json=fSint32b,proto3,oneof"`
}
type TypeOneOf1_FSint64A ¶
type TypeOneOf1_FSint64A struct {
FSint64A int64 `protobuf:"zigzag64,11,opt,name=f_sint64a,json=fSint64a,proto3,oneof"`
}
type TypeOneOf1_FSint64B ¶
type TypeOneOf1_FSint64B struct {
FSint64B int64 `protobuf:"zigzag64,12,opt,name=f_sint64b,json=fSint64b,proto3,oneof"`
}
type TypeOneOf1_FUint32A ¶
type TypeOneOf1_FUint32A struct {
FUint32A uint32 `protobuf:"varint,5,opt,name=f_uint32a,json=fUint32a,proto3,oneof"`
}
type TypeOneOf1_FUint32B ¶
type TypeOneOf1_FUint32B struct {
FUint32B uint32 `protobuf:"varint,6,opt,name=f_uint32b,json=fUint32b,proto3,oneof"`
}
type TypeOneOf1_FUint64A ¶
type TypeOneOf1_FUint64A struct {
FUint64A uint64 `protobuf:"varint,7,opt,name=f_uint64a,json=fUint64a,proto3,oneof"`
}
type TypeOneOf1_FUint64B ¶
type TypeOneOf1_FUint64B struct {
FUint64B uint64 `protobuf:"varint,8,opt,name=f_uint64b,json=fUint64b,proto3,oneof"`
}
type TypeOneOf2 ¶
type TypeOneOf2 struct { // Types that are assignable to OneType1: // *TypeOneOf2_FString1 // *TypeOneOf2_FBytes1 OneType1 isTypeOneOf2_OneType1 `protobuf_oneof:"OneType1"` // Types that are assignable to OneType2: // *TypeOneOf2_FString2 // *TypeOneOf2_FBytes2 OneType2 isTypeOneOf2_OneType2 `protobuf_oneof:"OneType2"` // contains filtered or unexported fields }
Only used to test type error.
func (*TypeOneOf2) Descriptor
deprecated
func (*TypeOneOf2) Descriptor() ([]byte, []int)
Deprecated: Use TypeOneOf2.ProtoReflect.Descriptor instead.
func (*TypeOneOf2) GetFBytes1 ¶
func (x *TypeOneOf2) GetFBytes1() []byte
func (*TypeOneOf2) GetFBytes2 ¶
func (x *TypeOneOf2) GetFBytes2() []byte
func (*TypeOneOf2) GetFString1 ¶
func (x *TypeOneOf2) GetFString1() string
func (*TypeOneOf2) GetFString2 ¶
func (x *TypeOneOf2) GetFString2() string
func (*TypeOneOf2) GetOneType1 ¶
func (m *TypeOneOf2) GetOneType1() isTypeOneOf2_OneType1
func (*TypeOneOf2) GetOneType2 ¶
func (m *TypeOneOf2) GetOneType2() isTypeOneOf2_OneType2
func (*TypeOneOf2) MarshalJSON ¶
func (x *TypeOneOf2) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message TypeOneOf2 in file tests/proto/cases/references/type_oneof.proto
func (*TypeOneOf2) ProtoMessage ¶
func (*TypeOneOf2) ProtoMessage()
func (*TypeOneOf2) ProtoReflect ¶
func (x *TypeOneOf2) ProtoReflect() protoreflect.Message
func (*TypeOneOf2) Reset ¶
func (x *TypeOneOf2) Reset()
func (*TypeOneOf2) String ¶
func (x *TypeOneOf2) String() string
func (*TypeOneOf2) UnmarshalJSON ¶
func (x *TypeOneOf2) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message TypeOneOf2 in file tests/proto/cases/references/type_oneof.proto
type TypeOneOf2_FBytes1 ¶
type TypeOneOf2_FBytes1 struct {
FBytes1 []byte `protobuf:"bytes,2,opt,name=f_bytes1,json=fBytes1,proto3,oneof"`
}
type TypeOneOf2_FBytes2 ¶
type TypeOneOf2_FBytes2 struct {
FBytes2 []byte `protobuf:"bytes,4,opt,name=f_bytes2,json=fBytes2,proto3,oneof"`
}
type TypeOneOf2_FString1 ¶
type TypeOneOf2_FString1 struct {
FString1 string `protobuf:"bytes,1,opt,name=f_string1,json=fString1,proto3,oneof"`
}
type TypeOneOf2_FString2 ¶
type TypeOneOf2_FString2 struct {
FString2 string `protobuf:"bytes,3,opt,name=f_string2,json=fString2,proto3,oneof"`
}
type TypeOptional1 ¶
type TypeOptional1 struct { FInt32A *int32 `protobuf:"varint,1,opt,name=f_int32a,json=fInt32a,proto3,oneof" json:"f_int32a,omitempty"` FInt32B *int32 `protobuf:"varint,2,opt,name=f_int32b,json=fInt32b,proto3,oneof" json:"f_int32b,omitempty"` FInt64A *int64 `protobuf:"varint,3,opt,name=f_int64a,json=fInt64a,proto3,oneof" json:"f_int64a,omitempty"` FInt64B *int64 `protobuf:"varint,4,opt,name=f_int64b,json=fInt64b,proto3,oneof" json:"f_int64b,omitempty"` FUint32A *uint32 `protobuf:"varint,5,opt,name=f_uint32a,json=fUint32a,proto3,oneof" json:"f_uint32a,omitempty"` FUint32B *uint32 `protobuf:"varint,6,opt,name=f_uint32b,json=fUint32b,proto3,oneof" json:"f_uint32b,omitempty"` FUint64A *uint64 `protobuf:"varint,7,opt,name=f_uint64a,json=fUint64a,proto3,oneof" json:"f_uint64a,omitempty"` FUint64B *uint64 `protobuf:"varint,8,opt,name=f_uint64b,json=fUint64b,proto3,oneof" json:"f_uint64b,omitempty"` FSint32A *int32 `protobuf:"zigzag32,9,opt,name=f_sint32a,json=fSint32a,proto3,oneof" json:"f_sint32a,omitempty"` FSint32B *int32 `protobuf:"zigzag32,10,opt,name=f_sint32b,json=fSint32b,proto3,oneof" json:"f_sint32b,omitempty"` FSint64A *int64 `protobuf:"zigzag64,11,opt,name=f_sint64a,json=fSint64a,proto3,oneof" json:"f_sint64a,omitempty"` FSint64B *int64 `protobuf:"zigzag64,12,opt,name=f_sint64b,json=fSint64b,proto3,oneof" json:"f_sint64b,omitempty"` FSfixed32A *int32 `protobuf:"fixed32,13,opt,name=f_sfixed32a,json=fSfixed32a,proto3,oneof" json:"f_sfixed32a,omitempty"` FSfixed32B *int32 `protobuf:"fixed32,14,opt,name=f_sfixed32b,json=fSfixed32b,proto3,oneof" json:"f_sfixed32b,omitempty"` FSfixed64A *int64 `protobuf:"fixed64,15,opt,name=f_sfixed64a,json=fSfixed64a,proto3,oneof" json:"f_sfixed64a,omitempty"` FSfixed64B *int64 `protobuf:"fixed64,16,opt,name=f_sfixed64b,json=fSfixed64b,proto3,oneof" json:"f_sfixed64b,omitempty"` FFixed32A *uint32 `protobuf:"fixed32,17,opt,name=f_fixed32a,json=fFixed32a,proto3,oneof" json:"f_fixed32a,omitempty"` FFixed32B *uint32 `protobuf:"fixed32,18,opt,name=f_fixed32b,json=fFixed32b,proto3,oneof" json:"f_fixed32b,omitempty"` FFixed64A *uint64 `protobuf:"fixed64,19,opt,name=f_fixed64a,json=fFixed64a,proto3,oneof" json:"f_fixed64a,omitempty"` FFixed64B *uint64 `protobuf:"fixed64,20,opt,name=f_fixed64b,json=fFixed64b,proto3,oneof" json:"f_fixed64b,omitempty"` FFloat1 *float32 `protobuf:"fixed32,21,opt,name=f_float1,json=fFloat1,proto3,oneof" json:"f_float1,omitempty"` FFloat2 *float32 `protobuf:"fixed32,22,opt,name=f_float2,json=fFloat2,proto3,oneof" json:"f_float2,omitempty"` FDouble1 *float64 `protobuf:"fixed64,23,opt,name=f_double1,json=fDouble1,proto3,oneof" json:"f_double1,omitempty"` FDouble2 *float64 `protobuf:"fixed64,24,opt,name=f_double2,json=fDouble2,proto3,oneof" json:"f_double2,omitempty"` FBool1 *bool `protobuf:"varint,25,opt,name=f_bool1,json=fBool1,proto3,oneof" json:"f_bool1,omitempty"` FBool2 *bool `protobuf:"varint,27,opt,name=f_bool2,json=fBool2,proto3,oneof" json:"f_bool2,omitempty"` // contains filtered or unexported fields }
func (*TypeOptional1) Descriptor
deprecated
func (*TypeOptional1) Descriptor() ([]byte, []int)
Deprecated: Use TypeOptional1.ProtoReflect.Descriptor instead.
func (*TypeOptional1) GetFBool1 ¶
func (x *TypeOptional1) GetFBool1() bool
func (*TypeOptional1) GetFBool2 ¶
func (x *TypeOptional1) GetFBool2() bool
func (*TypeOptional1) GetFDouble1 ¶
func (x *TypeOptional1) GetFDouble1() float64
func (*TypeOptional1) GetFDouble2 ¶
func (x *TypeOptional1) GetFDouble2() float64
func (*TypeOptional1) GetFFixed32A ¶
func (x *TypeOptional1) GetFFixed32A() uint32
func (*TypeOptional1) GetFFixed32B ¶
func (x *TypeOptional1) GetFFixed32B() uint32
func (*TypeOptional1) GetFFixed64A ¶
func (x *TypeOptional1) GetFFixed64A() uint64
func (*TypeOptional1) GetFFixed64B ¶
func (x *TypeOptional1) GetFFixed64B() uint64
func (*TypeOptional1) GetFFloat1 ¶
func (x *TypeOptional1) GetFFloat1() float32
func (*TypeOptional1) GetFFloat2 ¶
func (x *TypeOptional1) GetFFloat2() float32
func (*TypeOptional1) GetFInt32A ¶
func (x *TypeOptional1) GetFInt32A() int32
func (*TypeOptional1) GetFInt32B ¶
func (x *TypeOptional1) GetFInt32B() int32
func (*TypeOptional1) GetFInt64A ¶
func (x *TypeOptional1) GetFInt64A() int64
func (*TypeOptional1) GetFInt64B ¶
func (x *TypeOptional1) GetFInt64B() int64
func (*TypeOptional1) GetFSfixed32A ¶
func (x *TypeOptional1) GetFSfixed32A() int32
func (*TypeOptional1) GetFSfixed32B ¶
func (x *TypeOptional1) GetFSfixed32B() int32
func (*TypeOptional1) GetFSfixed64A ¶
func (x *TypeOptional1) GetFSfixed64A() int64
func (*TypeOptional1) GetFSfixed64B ¶
func (x *TypeOptional1) GetFSfixed64B() int64
func (*TypeOptional1) GetFSint32A ¶
func (x *TypeOptional1) GetFSint32A() int32
func (*TypeOptional1) GetFSint32B ¶
func (x *TypeOptional1) GetFSint32B() int32
func (*TypeOptional1) GetFSint64A ¶
func (x *TypeOptional1) GetFSint64A() int64
func (*TypeOptional1) GetFSint64B ¶
func (x *TypeOptional1) GetFSint64B() int64
func (*TypeOptional1) GetFUint32A ¶
func (x *TypeOptional1) GetFUint32A() uint32
func (*TypeOptional1) GetFUint32B ¶
func (x *TypeOptional1) GetFUint32B() uint32
func (*TypeOptional1) GetFUint64A ¶
func (x *TypeOptional1) GetFUint64A() uint64
func (*TypeOptional1) GetFUint64B ¶
func (x *TypeOptional1) GetFUint64B() uint64
func (*TypeOptional1) MarshalJSON ¶
func (x *TypeOptional1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message TypeOptional1 in file tests/proto/cases/references/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/references/type_optional.proto
type TypeOptional2 ¶
type TypeOptional2 struct { FString1 *string `protobuf:"bytes,1,opt,name=f_string1,json=fString1,proto3,oneof" json:"f_string1,omitempty"` FBytes1 []byte `protobuf:"bytes,2,opt,name=f_bytes1,json=fBytes1,proto3,oneof" json:"f_bytes1,omitempty"` // contains filtered or unexported fields }
Only used to test type error.
func (*TypeOptional2) Descriptor
deprecated
func (*TypeOptional2) Descriptor() ([]byte, []int)
Deprecated: Use TypeOptional2.ProtoReflect.Descriptor instead.
func (*TypeOptional2) GetFBytes1 ¶
func (x *TypeOptional2) GetFBytes1() []byte
func (*TypeOptional2) GetFString1 ¶
func (x *TypeOptional2) GetFString1() string
func (*TypeOptional2) MarshalJSON ¶
func (x *TypeOptional2) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message TypeOptional2 in file tests/proto/cases/references/type_optional.proto
func (*TypeOptional2) ProtoMessage ¶
func (*TypeOptional2) ProtoMessage()
func (*TypeOptional2) ProtoReflect ¶
func (x *TypeOptional2) ProtoReflect() protoreflect.Message
func (*TypeOptional2) Reset ¶
func (x *TypeOptional2) Reset()
func (*TypeOptional2) String ¶
func (x *TypeOptional2) String() string
func (*TypeOptional2) UnmarshalJSON ¶
func (x *TypeOptional2) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message TypeOptional2 in file tests/proto/cases/references/type_optional.proto
type TypePlain1 ¶
type TypePlain1 struct { FInt32A int32 `protobuf:"varint,1,opt,name=f_int32a,json=fInt32a,proto3" json:"f_int32a,omitempty"` FInt32B int32 `protobuf:"varint,2,opt,name=f_int32b,json=fInt32b,proto3" json:"f_int32b,omitempty"` FInt64A int64 `protobuf:"varint,3,opt,name=f_int64a,json=fInt64a,proto3" json:"f_int64a,omitempty"` FInt64B int64 `protobuf:"varint,4,opt,name=f_int64b,json=fInt64b,proto3" json:"f_int64b,omitempty"` FUint32A uint32 `protobuf:"varint,5,opt,name=f_uint32a,json=fUint32a,proto3" json:"f_uint32a,omitempty"` FUint32B uint32 `protobuf:"varint,6,opt,name=f_uint32b,json=fUint32b,proto3" json:"f_uint32b,omitempty"` FUint64A uint64 `protobuf:"varint,7,opt,name=f_uint64a,json=fUint64a,proto3" json:"f_uint64a,omitempty"` FUint64B uint64 `protobuf:"varint,8,opt,name=f_uint64b,json=fUint64b,proto3" json:"f_uint64b,omitempty"` FSint32A int32 `protobuf:"zigzag32,9,opt,name=f_sint32a,json=fSint32a,proto3" json:"f_sint32a,omitempty"` FSint32B int32 `protobuf:"zigzag32,10,opt,name=f_sint32b,json=fSint32b,proto3" json:"f_sint32b,omitempty"` FSint64A int64 `protobuf:"zigzag64,11,opt,name=f_sint64a,json=fSint64a,proto3" json:"f_sint64a,omitempty"` FSint64B int64 `protobuf:"zigzag64,12,opt,name=f_sint64b,json=fSint64b,proto3" json:"f_sint64b,omitempty"` FSfixed32A int32 `protobuf:"fixed32,13,opt,name=f_sfixed32a,json=fSfixed32a,proto3" json:"f_sfixed32a,omitempty"` FSfixed32B int32 `protobuf:"fixed32,14,opt,name=f_sfixed32b,json=fSfixed32b,proto3" json:"f_sfixed32b,omitempty"` FSfixed64A int64 `protobuf:"fixed64,15,opt,name=f_sfixed64a,json=fSfixed64a,proto3" json:"f_sfixed64a,omitempty"` FSfixed64B int64 `protobuf:"fixed64,16,opt,name=f_sfixed64b,json=fSfixed64b,proto3" json:"f_sfixed64b,omitempty"` FFixed32A uint32 `protobuf:"fixed32,17,opt,name=f_fixed32a,json=fFixed32a,proto3" json:"f_fixed32a,omitempty"` FFixed32B uint32 `protobuf:"fixed32,18,opt,name=f_fixed32b,json=fFixed32b,proto3" json:"f_fixed32b,omitempty"` FFixed64A uint64 `protobuf:"fixed64,19,opt,name=f_fixed64a,json=fFixed64a,proto3" json:"f_fixed64a,omitempty"` FFixed64B uint64 `protobuf:"fixed64,20,opt,name=f_fixed64b,json=fFixed64b,proto3" json:"f_fixed64b,omitempty"` FFloat1 float32 `protobuf:"fixed32,21,opt,name=f_float1,json=fFloat1,proto3" json:"f_float1,omitempty"` FFloat2 float32 `protobuf:"fixed32,22,opt,name=f_float2,json=fFloat2,proto3" json:"f_float2,omitempty"` FDouble1 float64 `protobuf:"fixed64,23,opt,name=f_double1,json=fDouble1,proto3" json:"f_double1,omitempty"` FDouble2 float64 `protobuf:"fixed64,24,opt,name=f_double2,json=fDouble2,proto3" json:"f_double2,omitempty"` FBool1 bool `protobuf:"varint,25,opt,name=f_bool1,json=fBool1,proto3" json:"f_bool1,omitempty"` FBool2 bool `protobuf:"varint,27,opt,name=f_bool2,json=fBool2,proto3" json:"f_bool2,omitempty"` // contains filtered or unexported fields }
func (*TypePlain1) Descriptor
deprecated
func (*TypePlain1) Descriptor() ([]byte, []int)
Deprecated: Use TypePlain1.ProtoReflect.Descriptor instead.
func (*TypePlain1) GetFBool1 ¶
func (x *TypePlain1) GetFBool1() bool
func (*TypePlain1) GetFBool2 ¶
func (x *TypePlain1) GetFBool2() bool
func (*TypePlain1) GetFDouble1 ¶
func (x *TypePlain1) GetFDouble1() float64
func (*TypePlain1) GetFDouble2 ¶
func (x *TypePlain1) GetFDouble2() float64
func (*TypePlain1) GetFFixed32A ¶
func (x *TypePlain1) GetFFixed32A() uint32
func (*TypePlain1) GetFFixed32B ¶
func (x *TypePlain1) GetFFixed32B() uint32
func (*TypePlain1) GetFFixed64A ¶
func (x *TypePlain1) GetFFixed64A() uint64
func (*TypePlain1) GetFFixed64B ¶
func (x *TypePlain1) GetFFixed64B() uint64
func (*TypePlain1) GetFFloat1 ¶
func (x *TypePlain1) GetFFloat1() float32
func (*TypePlain1) GetFFloat2 ¶
func (x *TypePlain1) GetFFloat2() float32
func (*TypePlain1) GetFInt32A ¶
func (x *TypePlain1) GetFInt32A() int32
func (*TypePlain1) GetFInt32B ¶
func (x *TypePlain1) GetFInt32B() int32
func (*TypePlain1) GetFInt64A ¶
func (x *TypePlain1) GetFInt64A() int64
func (*TypePlain1) GetFInt64B ¶
func (x *TypePlain1) GetFInt64B() int64
func (*TypePlain1) GetFSfixed32A ¶
func (x *TypePlain1) GetFSfixed32A() int32
func (*TypePlain1) GetFSfixed32B ¶
func (x *TypePlain1) GetFSfixed32B() int32
func (*TypePlain1) GetFSfixed64A ¶
func (x *TypePlain1) GetFSfixed64A() int64
func (*TypePlain1) GetFSfixed64B ¶
func (x *TypePlain1) GetFSfixed64B() int64
func (*TypePlain1) GetFSint32A ¶
func (x *TypePlain1) GetFSint32A() int32
func (*TypePlain1) GetFSint32B ¶
func (x *TypePlain1) GetFSint32B() int32
func (*TypePlain1) GetFSint64A ¶
func (x *TypePlain1) GetFSint64A() int64
func (*TypePlain1) GetFSint64B ¶
func (x *TypePlain1) GetFSint64B() int64
func (*TypePlain1) GetFUint32A ¶
func (x *TypePlain1) GetFUint32A() uint32
func (*TypePlain1) GetFUint32B ¶
func (x *TypePlain1) GetFUint32B() uint32
func (*TypePlain1) GetFUint64A ¶
func (x *TypePlain1) GetFUint64A() uint64
func (*TypePlain1) GetFUint64B ¶
func (x *TypePlain1) GetFUint64B() uint64
func (*TypePlain1) MarshalJSON ¶
func (x *TypePlain1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message TypePlain1 in file tests/proto/cases/references/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/references/type_plain.proto
type TypePlain2 ¶
type TypePlain2 struct { FString1 string `protobuf:"bytes,1,opt,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` FBytes1 []byte `protobuf:"bytes,2,opt,name=f_bytes1,json=fBytes1,proto3" json:"f_bytes1,omitempty"` // contains filtered or unexported fields }
Only used to test type error.
func (*TypePlain2) Descriptor
deprecated
func (*TypePlain2) Descriptor() ([]byte, []int)
Deprecated: Use TypePlain2.ProtoReflect.Descriptor instead.
func (*TypePlain2) GetFBytes1 ¶
func (x *TypePlain2) GetFBytes1() []byte
func (*TypePlain2) GetFString1 ¶
func (x *TypePlain2) GetFString1() string
func (*TypePlain2) MarshalJSON ¶
func (x *TypePlain2) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message TypePlain2 in file tests/proto/cases/references/type_plain.proto
func (*TypePlain2) ProtoMessage ¶
func (*TypePlain2) ProtoMessage()
func (*TypePlain2) ProtoReflect ¶
func (x *TypePlain2) ProtoReflect() protoreflect.Message
func (*TypePlain2) Reset ¶
func (x *TypePlain2) Reset()
func (*TypePlain2) String ¶
func (x *TypePlain2) String() string
func (*TypePlain2) UnmarshalJSON ¶
func (x *TypePlain2) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message TypePlain2 in file tests/proto/cases/references/type_plain.proto
type TypeRepeated1 ¶
type TypeRepeated1 struct { FInt32A []int32 `protobuf:"varint,1,rep,packed,name=f_int32a,json=fInt32a,proto3" json:"f_int32a,omitempty"` FInt32B []int32 `protobuf:"varint,2,rep,packed,name=f_int32b,json=fInt32b,proto3" json:"f_int32b,omitempty"` FInt64A []int64 `protobuf:"varint,3,rep,packed,name=f_int64a,json=fInt64a,proto3" json:"f_int64a,omitempty"` FInt64B []int64 `protobuf:"varint,4,rep,packed,name=f_int64b,json=fInt64b,proto3" json:"f_int64b,omitempty"` FUint32A []uint32 `protobuf:"varint,5,rep,packed,name=f_uint32a,json=fUint32a,proto3" json:"f_uint32a,omitempty"` FUint32B []uint32 `protobuf:"varint,6,rep,packed,name=f_uint32b,json=fUint32b,proto3" json:"f_uint32b,omitempty"` FUint64A []uint64 `protobuf:"varint,7,rep,packed,name=f_uint64a,json=fUint64a,proto3" json:"f_uint64a,omitempty"` FUint64B []uint64 `protobuf:"varint,8,rep,packed,name=f_uint64b,json=fUint64b,proto3" json:"f_uint64b,omitempty"` FSint32A []int32 `protobuf:"zigzag32,9,rep,packed,name=f_sint32a,json=fSint32a,proto3" json:"f_sint32a,omitempty"` FSint32B []int32 `protobuf:"zigzag32,10,rep,packed,name=f_sint32b,json=fSint32b,proto3" json:"f_sint32b,omitempty"` FSint64A []int64 `protobuf:"zigzag64,11,rep,packed,name=f_sint64a,json=fSint64a,proto3" json:"f_sint64a,omitempty"` FSint64B []int64 `protobuf:"zigzag64,12,rep,packed,name=f_sint64b,json=fSint64b,proto3" json:"f_sint64b,omitempty"` FSfixed32A []int32 `protobuf:"fixed32,13,rep,packed,name=f_sfixed32a,json=fSfixed32a,proto3" json:"f_sfixed32a,omitempty"` FSfixed32B []int32 `protobuf:"fixed32,14,rep,packed,name=f_sfixed32b,json=fSfixed32b,proto3" json:"f_sfixed32b,omitempty"` FSfixed64A []int64 `protobuf:"fixed64,15,rep,packed,name=f_sfixed64a,json=fSfixed64a,proto3" json:"f_sfixed64a,omitempty"` FSfixed64B []int64 `protobuf:"fixed64,16,rep,packed,name=f_sfixed64b,json=fSfixed64b,proto3" json:"f_sfixed64b,omitempty"` FFixed32A []uint32 `protobuf:"fixed32,17,rep,packed,name=f_fixed32a,json=fFixed32a,proto3" json:"f_fixed32a,omitempty"` FFixed32B []uint32 `protobuf:"fixed32,18,rep,packed,name=f_fixed32b,json=fFixed32b,proto3" json:"f_fixed32b,omitempty"` FFixed64A []uint64 `protobuf:"fixed64,19,rep,packed,name=f_fixed64a,json=fFixed64a,proto3" json:"f_fixed64a,omitempty"` FFixed64B []uint64 `protobuf:"fixed64,20,rep,packed,name=f_fixed64b,json=fFixed64b,proto3" json:"f_fixed64b,omitempty"` FFloat1 []float32 `protobuf:"fixed32,21,rep,packed,name=f_float1,json=fFloat1,proto3" json:"f_float1,omitempty"` FFloat2 []float32 `protobuf:"fixed32,22,rep,packed,name=f_float2,json=fFloat2,proto3" json:"f_float2,omitempty"` FDouble1 []float64 `protobuf:"fixed64,23,rep,packed,name=f_double1,json=fDouble1,proto3" json:"f_double1,omitempty"` FDouble2 []float64 `protobuf:"fixed64,24,rep,packed,name=f_double2,json=fDouble2,proto3" json:"f_double2,omitempty"` FBool1 []bool `protobuf:"varint,25,rep,packed,name=f_bool1,json=fBool1,proto3" json:"f_bool1,omitempty"` FBool2 []bool `protobuf:"varint,27,rep,packed,name=f_bool2,json=fBool2,proto3" json:"f_bool2,omitempty"` // contains filtered or unexported fields }
func (*TypeRepeated1) Descriptor
deprecated
func (*TypeRepeated1) Descriptor() ([]byte, []int)
Deprecated: Use TypeRepeated1.ProtoReflect.Descriptor instead.
func (*TypeRepeated1) GetFBool1 ¶
func (x *TypeRepeated1) GetFBool1() []bool
func (*TypeRepeated1) GetFBool2 ¶
func (x *TypeRepeated1) GetFBool2() []bool
func (*TypeRepeated1) GetFDouble1 ¶
func (x *TypeRepeated1) GetFDouble1() []float64
func (*TypeRepeated1) GetFDouble2 ¶
func (x *TypeRepeated1) GetFDouble2() []float64
func (*TypeRepeated1) GetFFixed32A ¶
func (x *TypeRepeated1) GetFFixed32A() []uint32
func (*TypeRepeated1) GetFFixed32B ¶
func (x *TypeRepeated1) GetFFixed32B() []uint32
func (*TypeRepeated1) GetFFixed64A ¶
func (x *TypeRepeated1) GetFFixed64A() []uint64
func (*TypeRepeated1) GetFFixed64B ¶
func (x *TypeRepeated1) GetFFixed64B() []uint64
func (*TypeRepeated1) GetFFloat1 ¶
func (x *TypeRepeated1) GetFFloat1() []float32
func (*TypeRepeated1) GetFFloat2 ¶
func (x *TypeRepeated1) GetFFloat2() []float32
func (*TypeRepeated1) GetFInt32A ¶
func (x *TypeRepeated1) GetFInt32A() []int32
func (*TypeRepeated1) GetFInt32B ¶
func (x *TypeRepeated1) GetFInt32B() []int32
func (*TypeRepeated1) GetFInt64A ¶
func (x *TypeRepeated1) GetFInt64A() []int64
func (*TypeRepeated1) GetFInt64B ¶
func (x *TypeRepeated1) GetFInt64B() []int64
func (*TypeRepeated1) GetFSfixed32A ¶
func (x *TypeRepeated1) GetFSfixed32A() []int32
func (*TypeRepeated1) GetFSfixed32B ¶
func (x *TypeRepeated1) GetFSfixed32B() []int32
func (*TypeRepeated1) GetFSfixed64A ¶
func (x *TypeRepeated1) GetFSfixed64A() []int64
func (*TypeRepeated1) GetFSfixed64B ¶
func (x *TypeRepeated1) GetFSfixed64B() []int64
func (*TypeRepeated1) GetFSint32A ¶
func (x *TypeRepeated1) GetFSint32A() []int32
func (*TypeRepeated1) GetFSint32B ¶
func (x *TypeRepeated1) GetFSint32B() []int32
func (*TypeRepeated1) GetFSint64A ¶
func (x *TypeRepeated1) GetFSint64A() []int64
func (*TypeRepeated1) GetFSint64B ¶
func (x *TypeRepeated1) GetFSint64B() []int64
func (*TypeRepeated1) GetFUint32A ¶
func (x *TypeRepeated1) GetFUint32A() []uint32
func (*TypeRepeated1) GetFUint32B ¶
func (x *TypeRepeated1) GetFUint32B() []uint32
func (*TypeRepeated1) GetFUint64A ¶
func (x *TypeRepeated1) GetFUint64A() []uint64
func (*TypeRepeated1) GetFUint64B ¶
func (x *TypeRepeated1) GetFUint64B() []uint64
func (*TypeRepeated1) MarshalJSON ¶
func (x *TypeRepeated1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message TypeRepeated1 in file tests/proto/cases/references/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/references/type_repeated.proto
type TypeRepeated2 ¶
type TypeRepeated2 struct { FString1 []string `protobuf:"bytes,1,rep,name=f_string1,json=fString1,proto3" json:"f_string1,omitempty"` FBytes1 [][]byte `protobuf:"bytes,2,rep,name=f_bytes1,json=fBytes1,proto3" json:"f_bytes1,omitempty"` // contains filtered or unexported fields }
Only used to test type error.
func (*TypeRepeated2) Descriptor
deprecated
func (*TypeRepeated2) Descriptor() ([]byte, []int)
Deprecated: Use TypeRepeated2.ProtoReflect.Descriptor instead.
func (*TypeRepeated2) GetFBytes1 ¶
func (x *TypeRepeated2) GetFBytes1() [][]byte
func (*TypeRepeated2) GetFString1 ¶
func (x *TypeRepeated2) GetFString1() []string
func (*TypeRepeated2) MarshalJSON ¶
func (x *TypeRepeated2) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message TypeRepeated2 in file tests/proto/cases/references/type_repeated.proto
func (*TypeRepeated2) ProtoMessage ¶
func (*TypeRepeated2) ProtoMessage()
func (*TypeRepeated2) ProtoReflect ¶
func (x *TypeRepeated2) ProtoReflect() protoreflect.Message
func (*TypeRepeated2) Reset ¶
func (x *TypeRepeated2) Reset()
func (*TypeRepeated2) String ¶
func (x *TypeRepeated2) String() string
func (*TypeRepeated2) UnmarshalJSON ¶
func (x *TypeRepeated2) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message TypeRepeated2 in file tests/proto/cases/references/type_repeated.proto
type WKTMap1 ¶
type WKTMap1 struct { // Cases for Enum // FEnumNumber1 map[string]Enum1 `` /* 207-byte string literal not displayed */ FEnumNumberString1 map[string]Enum1 `` /* 227-byte string literal not displayed */ FEnumString1 map[string]Enum1 `` /* 207-byte string literal not displayed */ // Cases for google.protobuf.Any // FAnyNative1 map[string]*anypb.Any `` /* 184-byte string literal not displayed */ FAnyProto1 map[string]*anypb.Any `` /* 181-byte string literal not displayed */ // Cases for google.protobuf.Duration // FDurationNative1 map[string]*durationpb.Duration `` /* 200-byte string literal not displayed */ FDurationString1 map[string]*durationpb.Duration `` /* 200-byte string literal not displayed */ FDurationNanosecond1 map[string]*durationpb.Duration `` /* 212-byte string literal not displayed */ FDurationNanosecondString1 map[string]*durationpb.Duration `` /* 232-byte string literal not displayed */ FDurationMicrosecond1 map[string]*durationpb.Duration `` /* 215-byte string literal not displayed */ FDurationMicrosecondString1 map[string]*durationpb.Duration `` /* 235-byte string literal not displayed */ FDurationMillisecond1 map[string]*durationpb.Duration `` /* 215-byte string literal not displayed */ FDurationMillisecondString1 map[string]*durationpb.Duration `` /* 235-byte string literal not displayed */ FDurationSecond1 map[string]*durationpb.Duration `` /* 200-byte string literal not displayed */ FDurationSecondString1 map[string]*durationpb.Duration `` /* 220-byte string literal not displayed */ FDurationMinute1 map[string]*durationpb.Duration `` /* 200-byte string literal not displayed */ FDurationMinuteString1 map[string]*durationpb.Duration `` /* 220-byte string literal not displayed */ FDurationHour1 map[string]*durationpb.Duration `` /* 194-byte string literal not displayed */ FDurationHourString1 map[string]*durationpb.Duration `` /* 214-byte string literal not displayed */ // Cases for google.protobuf.Timestamp // FTimestampNative1 map[string]*timestamppb.Timestamp `` /* 203-byte string literal not displayed */ FTimestampTimeLayout1 map[string]*timestamppb.Timestamp `` /* 217-byte string literal not displayed */ FTimestampUnixNano1 map[string]*timestamppb.Timestamp `` /* 211-byte string literal not displayed */ FTimestampUnixNanoString1 map[string]*timestamppb.Timestamp `` /* 231-byte string literal not displayed */ FTimestampUnixMicro1 map[string]*timestamppb.Timestamp `` /* 214-byte string literal not displayed */ FTimestampUnixMicroString1 map[string]*timestamppb.Timestamp `` /* 234-byte string literal not displayed */ FTimestampUnixMilli1 map[string]*timestamppb.Timestamp `` /* 214-byte string literal not displayed */ FTimestampUnixMilliString1 map[string]*timestamppb.Timestamp `` /* 234-byte string literal not displayed */ FTimestampUnixSec1 map[string]*timestamppb.Timestamp `` /* 208-byte string literal not displayed */ FTimestampUnixSecString1 map[string]*timestamppb.Timestamp `` /* 228-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WKTMap1) Descriptor
deprecated
func (*WKTMap1) GetFDurationHour1 ¶
func (x *WKTMap1) GetFDurationHour1() map[string]*durationpb.Duration
func (*WKTMap1) GetFDurationHourString1 ¶
func (x *WKTMap1) GetFDurationHourString1() map[string]*durationpb.Duration
func (*WKTMap1) GetFDurationMicrosecond1 ¶
func (x *WKTMap1) GetFDurationMicrosecond1() map[string]*durationpb.Duration
func (*WKTMap1) GetFDurationMicrosecondString1 ¶
func (x *WKTMap1) GetFDurationMicrosecondString1() map[string]*durationpb.Duration
func (*WKTMap1) GetFDurationMillisecond1 ¶
func (x *WKTMap1) GetFDurationMillisecond1() map[string]*durationpb.Duration
func (*WKTMap1) GetFDurationMillisecondString1 ¶
func (x *WKTMap1) GetFDurationMillisecondString1() map[string]*durationpb.Duration
func (*WKTMap1) GetFDurationMinute1 ¶
func (x *WKTMap1) GetFDurationMinute1() map[string]*durationpb.Duration
func (*WKTMap1) GetFDurationMinuteString1 ¶
func (x *WKTMap1) GetFDurationMinuteString1() map[string]*durationpb.Duration
func (*WKTMap1) GetFDurationNanosecond1 ¶
func (x *WKTMap1) GetFDurationNanosecond1() map[string]*durationpb.Duration
func (*WKTMap1) GetFDurationNanosecondString1 ¶
func (x *WKTMap1) GetFDurationNanosecondString1() map[string]*durationpb.Duration
func (*WKTMap1) GetFDurationNative1 ¶
func (x *WKTMap1) GetFDurationNative1() map[string]*durationpb.Duration
func (*WKTMap1) GetFDurationSecond1 ¶
func (x *WKTMap1) GetFDurationSecond1() map[string]*durationpb.Duration
func (*WKTMap1) GetFDurationSecondString1 ¶
func (x *WKTMap1) GetFDurationSecondString1() map[string]*durationpb.Duration
func (*WKTMap1) GetFDurationString1 ¶
func (x *WKTMap1) GetFDurationString1() map[string]*durationpb.Duration
func (*WKTMap1) GetFEnumNumber1 ¶
func (*WKTMap1) GetFEnumNumberString1 ¶
func (*WKTMap1) GetFEnumString1 ¶
func (*WKTMap1) GetFTimestampNative1 ¶
func (x *WKTMap1) GetFTimestampNative1() map[string]*timestamppb.Timestamp
func (*WKTMap1) GetFTimestampTimeLayout1 ¶
func (x *WKTMap1) GetFTimestampTimeLayout1() map[string]*timestamppb.Timestamp
func (*WKTMap1) GetFTimestampUnixMicro1 ¶
func (x *WKTMap1) GetFTimestampUnixMicro1() map[string]*timestamppb.Timestamp
func (*WKTMap1) GetFTimestampUnixMicroString1 ¶
func (x *WKTMap1) GetFTimestampUnixMicroString1() map[string]*timestamppb.Timestamp
func (*WKTMap1) GetFTimestampUnixMilli1 ¶
func (x *WKTMap1) GetFTimestampUnixMilli1() map[string]*timestamppb.Timestamp
func (*WKTMap1) GetFTimestampUnixMilliString1 ¶
func (x *WKTMap1) GetFTimestampUnixMilliString1() map[string]*timestamppb.Timestamp
func (*WKTMap1) GetFTimestampUnixNano1 ¶
func (x *WKTMap1) GetFTimestampUnixNano1() map[string]*timestamppb.Timestamp
func (*WKTMap1) GetFTimestampUnixNanoString1 ¶
func (x *WKTMap1) GetFTimestampUnixNanoString1() map[string]*timestamppb.Timestamp
func (*WKTMap1) GetFTimestampUnixSec1 ¶
func (x *WKTMap1) GetFTimestampUnixSec1() map[string]*timestamppb.Timestamp
func (*WKTMap1) GetFTimestampUnixSecString1 ¶
func (x *WKTMap1) GetFTimestampUnixSecString1() map[string]*timestamppb.Timestamp
func (*WKTMap1) MarshalJSON ¶
MarshalJSON implements interface json.Marshaler for proto message WKTMap1 in file tests/proto/cases/references/wkt_map.proto
func (*WKTMap1) ProtoMessage ¶
func (*WKTMap1) ProtoMessage()
func (*WKTMap1) ProtoReflect ¶
func (x *WKTMap1) ProtoReflect() protoreflect.Message
func (*WKTMap1) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler for proto message WKTMap1 in file tests/proto/cases/references/wkt_map.proto
type WKTOneOf1 ¶
type WKTOneOf1 struct { // Cases for Enum // // // Types that are assignable to OneEnum1: // *WKTOneOf1_FEnumNumber1 // *WKTOneOf1_FEnumString1 OneEnum1 isWKTOneOf1_OneEnum1 `protobuf_oneof:"OneEnum1"` // Types that are assignable to OneEnum2: // *WKTOneOf1_FEnumNumberString1 // *WKTOneOf1_FEnumNumberString2 OneEnum2 isWKTOneOf1_OneEnum2 `protobuf_oneof:"OneEnum2"` // Cases for google.protobuf.Any // // // Types that are assignable to OneAny1: // *WKTOneOf1_FAnyNative1 // *WKTOneOf1_FAnyProto1 OneAny1 isWKTOneOf1_OneAny1 `protobuf_oneof:"OneAny1"` // Cases for google.protobuf.Duration // // // Types that are assignable to OneDuration1: // *WKTOneOf1_FDurationNative1 // *WKTOneOf1_FDurationString1 OneDuration1 isWKTOneOf1_OneDuration1 `protobuf_oneof:"OneDuration1"` // Types that are assignable to OneDuration2: // *WKTOneOf1_FDurationNanosecond1 // *WKTOneOf1_FDurationMicrosecond1 OneDuration2 isWKTOneOf1_OneDuration2 `protobuf_oneof:"OneDuration2"` // Types that are assignable to OneDuration3: // *WKTOneOf1_FDurationMillisecond1 // *WKTOneOf1_FDurationSecond1 OneDuration3 isWKTOneOf1_OneDuration3 `protobuf_oneof:"OneDuration3"` // Types that are assignable to OneDuration4: // *WKTOneOf1_FDurationMinute1 // *WKTOneOf1_FDurationHour1 OneDuration4 isWKTOneOf1_OneDuration4 `protobuf_oneof:"OneDuration4"` // Types that are assignable to OneDuration5: // *WKTOneOf1_FDurationNanosecondString1 // *WKTOneOf1_FDurationMicrosecondString1 OneDuration5 isWKTOneOf1_OneDuration5 `protobuf_oneof:"OneDuration5"` // Types that are assignable to OneDuration6: // *WKTOneOf1_FDurationMillisecondString1 // *WKTOneOf1_FDurationSecondString1 OneDuration6 isWKTOneOf1_OneDuration6 `protobuf_oneof:"OneDuration6"` // Types that are assignable to OneDuration7: // *WKTOneOf1_FDurationMinuteString1 // *WKTOneOf1_FDurationHourString1 OneDuration7 isWKTOneOf1_OneDuration7 `protobuf_oneof:"OneDuration7"` // Cases for google.protobuf.Timestamp // // // Types that are assignable to OneTimestamp1: // *WKTOneOf1_FTimestampNative1 // *WKTOneOf1_FTimestampTimeLayout1 OneTimestamp1 isWKTOneOf1_OneTimestamp1 `protobuf_oneof:"OneTimestamp1"` // Types that are assignable to OneTimestamp2: // *WKTOneOf1_FTimestampUnixNano1 // *WKTOneOf1_FTimestampUnixMicro1 OneTimestamp2 isWKTOneOf1_OneTimestamp2 `protobuf_oneof:"OneTimestamp2"` // Types that are assignable to OneTimestamp3: // *WKTOneOf1_FTimestampUnixMilli1 // *WKTOneOf1_FTimestampUnixSec1 OneTimestamp3 isWKTOneOf1_OneTimestamp3 `protobuf_oneof:"OneTimestamp3"` // Types that are assignable to OneTimestamp4: // *WKTOneOf1_FTimestampUnixNanoString1 // *WKTOneOf1_FTimestampUnixMicroString1 OneTimestamp4 isWKTOneOf1_OneTimestamp4 `protobuf_oneof:"OneTimestamp4"` // Types that are assignable to OneTimestamp5: // *WKTOneOf1_FTimestampUnixMilliString1 // *WKTOneOf1_FTimestampUnixSecString1 OneTimestamp5 isWKTOneOf1_OneTimestamp5 `protobuf_oneof:"OneTimestamp5"` // contains filtered or unexported fields }
func (*WKTOneOf1) Descriptor
deprecated
func (*WKTOneOf1) GetFAnyNative1 ¶
func (*WKTOneOf1) GetFAnyProto1 ¶
func (*WKTOneOf1) GetFDurationHour1 ¶
func (x *WKTOneOf1) GetFDurationHour1() *durationpb.Duration
func (*WKTOneOf1) GetFDurationHourString1 ¶
func (x *WKTOneOf1) GetFDurationHourString1() *durationpb.Duration
func (*WKTOneOf1) GetFDurationMicrosecond1 ¶
func (x *WKTOneOf1) GetFDurationMicrosecond1() *durationpb.Duration
func (*WKTOneOf1) GetFDurationMicrosecondString1 ¶
func (x *WKTOneOf1) GetFDurationMicrosecondString1() *durationpb.Duration
func (*WKTOneOf1) GetFDurationMillisecond1 ¶
func (x *WKTOneOf1) GetFDurationMillisecond1() *durationpb.Duration
func (*WKTOneOf1) GetFDurationMillisecondString1 ¶
func (x *WKTOneOf1) GetFDurationMillisecondString1() *durationpb.Duration
func (*WKTOneOf1) GetFDurationMinute1 ¶
func (x *WKTOneOf1) GetFDurationMinute1() *durationpb.Duration
func (*WKTOneOf1) GetFDurationMinuteString1 ¶
func (x *WKTOneOf1) GetFDurationMinuteString1() *durationpb.Duration
func (*WKTOneOf1) GetFDurationNanosecond1 ¶
func (x *WKTOneOf1) GetFDurationNanosecond1() *durationpb.Duration
func (*WKTOneOf1) GetFDurationNanosecondString1 ¶
func (x *WKTOneOf1) GetFDurationNanosecondString1() *durationpb.Duration
func (*WKTOneOf1) GetFDurationNative1 ¶
func (x *WKTOneOf1) GetFDurationNative1() *durationpb.Duration
func (*WKTOneOf1) GetFDurationSecond1 ¶
func (x *WKTOneOf1) GetFDurationSecond1() *durationpb.Duration
func (*WKTOneOf1) GetFDurationSecondString1 ¶
func (x *WKTOneOf1) GetFDurationSecondString1() *durationpb.Duration
func (*WKTOneOf1) GetFDurationString1 ¶
func (x *WKTOneOf1) GetFDurationString1() *durationpb.Duration
func (*WKTOneOf1) GetFEnumNumber1 ¶
func (*WKTOneOf1) GetFEnumNumberString1 ¶
func (*WKTOneOf1) GetFEnumNumberString2 ¶
func (*WKTOneOf1) GetFEnumString1 ¶
func (*WKTOneOf1) GetFTimestampNative1 ¶
func (x *WKTOneOf1) GetFTimestampNative1() *timestamppb.Timestamp
func (*WKTOneOf1) GetFTimestampTimeLayout1 ¶
func (x *WKTOneOf1) GetFTimestampTimeLayout1() *timestamppb.Timestamp
func (*WKTOneOf1) GetFTimestampUnixMicro1 ¶
func (x *WKTOneOf1) GetFTimestampUnixMicro1() *timestamppb.Timestamp
func (*WKTOneOf1) GetFTimestampUnixMicroString1 ¶
func (x *WKTOneOf1) GetFTimestampUnixMicroString1() *timestamppb.Timestamp
func (*WKTOneOf1) GetFTimestampUnixMilli1 ¶
func (x *WKTOneOf1) GetFTimestampUnixMilli1() *timestamppb.Timestamp
func (*WKTOneOf1) GetFTimestampUnixMilliString1 ¶
func (x *WKTOneOf1) GetFTimestampUnixMilliString1() *timestamppb.Timestamp
func (*WKTOneOf1) GetFTimestampUnixNano1 ¶
func (x *WKTOneOf1) GetFTimestampUnixNano1() *timestamppb.Timestamp
func (*WKTOneOf1) GetFTimestampUnixNanoString1 ¶
func (x *WKTOneOf1) GetFTimestampUnixNanoString1() *timestamppb.Timestamp
func (*WKTOneOf1) GetFTimestampUnixSec1 ¶
func (x *WKTOneOf1) GetFTimestampUnixSec1() *timestamppb.Timestamp
func (*WKTOneOf1) GetFTimestampUnixSecString1 ¶
func (x *WKTOneOf1) GetFTimestampUnixSecString1() *timestamppb.Timestamp
func (*WKTOneOf1) GetOneAny1 ¶
func (m *WKTOneOf1) GetOneAny1() isWKTOneOf1_OneAny1
func (*WKTOneOf1) GetOneDuration1 ¶
func (m *WKTOneOf1) GetOneDuration1() isWKTOneOf1_OneDuration1
func (*WKTOneOf1) GetOneDuration2 ¶
func (m *WKTOneOf1) GetOneDuration2() isWKTOneOf1_OneDuration2
func (*WKTOneOf1) GetOneDuration3 ¶
func (m *WKTOneOf1) GetOneDuration3() isWKTOneOf1_OneDuration3
func (*WKTOneOf1) GetOneDuration4 ¶
func (m *WKTOneOf1) GetOneDuration4() isWKTOneOf1_OneDuration4
func (*WKTOneOf1) GetOneDuration5 ¶
func (m *WKTOneOf1) GetOneDuration5() isWKTOneOf1_OneDuration5
func (*WKTOneOf1) GetOneDuration6 ¶
func (m *WKTOneOf1) GetOneDuration6() isWKTOneOf1_OneDuration6
func (*WKTOneOf1) GetOneDuration7 ¶
func (m *WKTOneOf1) GetOneDuration7() isWKTOneOf1_OneDuration7
func (*WKTOneOf1) GetOneEnum1 ¶
func (m *WKTOneOf1) GetOneEnum1() isWKTOneOf1_OneEnum1
func (*WKTOneOf1) GetOneEnum2 ¶
func (m *WKTOneOf1) GetOneEnum2() isWKTOneOf1_OneEnum2
func (*WKTOneOf1) GetOneTimestamp1 ¶
func (m *WKTOneOf1) GetOneTimestamp1() isWKTOneOf1_OneTimestamp1
func (*WKTOneOf1) GetOneTimestamp2 ¶
func (m *WKTOneOf1) GetOneTimestamp2() isWKTOneOf1_OneTimestamp2
func (*WKTOneOf1) GetOneTimestamp3 ¶
func (m *WKTOneOf1) GetOneTimestamp3() isWKTOneOf1_OneTimestamp3
func (*WKTOneOf1) GetOneTimestamp4 ¶
func (m *WKTOneOf1) GetOneTimestamp4() isWKTOneOf1_OneTimestamp4
func (*WKTOneOf1) GetOneTimestamp5 ¶
func (m *WKTOneOf1) GetOneTimestamp5() isWKTOneOf1_OneTimestamp5
func (*WKTOneOf1) MarshalJSON ¶
MarshalJSON implements interface json.Marshaler for proto message WKTOneOf1 in file tests/proto/cases/references/wkt_oneof.proto
func (*WKTOneOf1) ProtoMessage ¶
func (*WKTOneOf1) ProtoMessage()
func (*WKTOneOf1) ProtoReflect ¶
func (x *WKTOneOf1) ProtoReflect() protoreflect.Message
func (*WKTOneOf1) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler for proto message WKTOneOf1 in file tests/proto/cases/references/wkt_oneof.proto
type WKTOneOf1_FAnyNative1 ¶
type WKTOneOf1_FAnyProto1 ¶
type WKTOneOf1_FDurationHour1 ¶
type WKTOneOf1_FDurationHour1 struct {
FDurationHour1 *durationpb.Duration `protobuf:"bytes,18,opt,name=f_duration_hour1,json=fDurationHour1,proto3,oneof"`
}
type WKTOneOf1_FDurationHourString1 ¶
type WKTOneOf1_FDurationHourString1 struct {
FDurationHourString1 *durationpb.Duration `protobuf:"bytes,24,opt,name=f_duration_hour_string1,json=fDurationHourString1,proto3,oneof"`
}
type WKTOneOf1_FDurationMicrosecond1 ¶
type WKTOneOf1_FDurationMicrosecond1 struct {
FDurationMicrosecond1 *durationpb.Duration `protobuf:"bytes,14,opt,name=f_duration_microsecond1,json=fDurationMicrosecond1,proto3,oneof"`
}
type WKTOneOf1_FDurationMicrosecondString1 ¶
type WKTOneOf1_FDurationMicrosecondString1 struct {
FDurationMicrosecondString1 *durationpb.Duration `protobuf:"bytes,20,opt,name=f_duration_microsecond_string1,json=fDurationMicrosecondString1,proto3,oneof"`
}
type WKTOneOf1_FDurationMillisecond1 ¶
type WKTOneOf1_FDurationMillisecond1 struct {
FDurationMillisecond1 *durationpb.Duration `protobuf:"bytes,15,opt,name=f_duration_millisecond1,json=fDurationMillisecond1,proto3,oneof"`
}
type WKTOneOf1_FDurationMillisecondString1 ¶
type WKTOneOf1_FDurationMillisecondString1 struct {
FDurationMillisecondString1 *durationpb.Duration `protobuf:"bytes,21,opt,name=f_duration_millisecond_string1,json=fDurationMillisecondString1,proto3,oneof"`
}
type WKTOneOf1_FDurationMinute1 ¶
type WKTOneOf1_FDurationMinute1 struct {
FDurationMinute1 *durationpb.Duration `protobuf:"bytes,17,opt,name=f_duration_minute1,json=fDurationMinute1,proto3,oneof"`
}
type WKTOneOf1_FDurationMinuteString1 ¶
type WKTOneOf1_FDurationMinuteString1 struct {
FDurationMinuteString1 *durationpb.Duration `protobuf:"bytes,23,opt,name=f_duration_minute_string1,json=fDurationMinuteString1,proto3,oneof"`
}
type WKTOneOf1_FDurationNanosecond1 ¶
type WKTOneOf1_FDurationNanosecond1 struct {
FDurationNanosecond1 *durationpb.Duration `protobuf:"bytes,13,opt,name=f_duration_nanosecond1,json=fDurationNanosecond1,proto3,oneof"`
}
type WKTOneOf1_FDurationNanosecondString1 ¶
type WKTOneOf1_FDurationNanosecondString1 struct {
FDurationNanosecondString1 *durationpb.Duration `protobuf:"bytes,19,opt,name=f_duration_nanosecond_string1,json=fDurationNanosecondString1,proto3,oneof"`
}
type WKTOneOf1_FDurationNative1 ¶
type WKTOneOf1_FDurationNative1 struct {
FDurationNative1 *durationpb.Duration `protobuf:"bytes,11,opt,name=f_duration_native1,json=fDurationNative1,proto3,oneof"`
}
type WKTOneOf1_FDurationSecond1 ¶
type WKTOneOf1_FDurationSecond1 struct {
FDurationSecond1 *durationpb.Duration `protobuf:"bytes,16,opt,name=f_duration_second1,json=fDurationSecond1,proto3,oneof"`
}
type WKTOneOf1_FDurationSecondString1 ¶
type WKTOneOf1_FDurationSecondString1 struct {
FDurationSecondString1 *durationpb.Duration `protobuf:"bytes,22,opt,name=f_duration_second_string1,json=fDurationSecondString1,proto3,oneof"`
}
type WKTOneOf1_FDurationString1 ¶
type WKTOneOf1_FDurationString1 struct {
FDurationString1 *durationpb.Duration `protobuf:"bytes,12,opt,name=f_duration_string1,json=fDurationString1,proto3,oneof"`
}
type WKTOneOf1_FEnumNumber1 ¶
type WKTOneOf1_FEnumNumber1 struct {
FEnumNumber1 Enum1 `protobuf:"varint,1,opt,name=f_enum_number1,json=fEnumNumber1,proto3,enum=private.Enum1,oneof"`
}
type WKTOneOf1_FEnumNumberString1 ¶
type WKTOneOf1_FEnumNumberString1 struct {
FEnumNumberString1 Enum1 `protobuf:"varint,3,opt,name=f_enum_number_string1,json=fEnumNumberString1,proto3,enum=private.Enum1,oneof"`
}
type WKTOneOf1_FEnumNumberString2 ¶
type WKTOneOf1_FEnumNumberString2 struct {
FEnumNumberString2 Enum1 `protobuf:"varint,4,opt,name=f_enum_number_string2,json=fEnumNumberString2,proto3,enum=private.Enum1,oneof"`
}
type WKTOneOf1_FEnumString1 ¶
type WKTOneOf1_FEnumString1 struct {
FEnumString1 Enum1 `protobuf:"varint,2,opt,name=f_enum_string1,json=fEnumString1,proto3,enum=private.Enum1,oneof"`
}
type WKTOneOf1_FTimestampNative1 ¶
type WKTOneOf1_FTimestampNative1 struct {
FTimestampNative1 *timestamppb.Timestamp `protobuf:"bytes,31,opt,name=f_timestamp_native1,json=fTimestampNative1,proto3,oneof"`
}
type WKTOneOf1_FTimestampTimeLayout1 ¶
type WKTOneOf1_FTimestampTimeLayout1 struct {
FTimestampTimeLayout1 *timestamppb.Timestamp `protobuf:"bytes,32,opt,name=f_timestamp_time_layout1,json=fTimestampTimeLayout1,proto3,oneof"`
}
type WKTOneOf1_FTimestampUnixMicro1 ¶
type WKTOneOf1_FTimestampUnixMicro1 struct {
FTimestampUnixMicro1 *timestamppb.Timestamp `protobuf:"bytes,34,opt,name=f_timestamp_unix_micro1,json=fTimestampUnixMicro1,proto3,oneof"`
}
type WKTOneOf1_FTimestampUnixMicroString1 ¶
type WKTOneOf1_FTimestampUnixMicroString1 struct {
FTimestampUnixMicroString1 *timestamppb.Timestamp `protobuf:"bytes,38,opt,name=f_timestamp_unix_micro_string1,json=fTimestampUnixMicroString1,proto3,oneof"`
}
type WKTOneOf1_FTimestampUnixMilli1 ¶
type WKTOneOf1_FTimestampUnixMilli1 struct {
FTimestampUnixMilli1 *timestamppb.Timestamp `protobuf:"bytes,35,opt,name=f_timestamp_unix_milli1,json=fTimestampUnixMilli1,proto3,oneof"`
}
type WKTOneOf1_FTimestampUnixMilliString1 ¶
type WKTOneOf1_FTimestampUnixMilliString1 struct {
FTimestampUnixMilliString1 *timestamppb.Timestamp `protobuf:"bytes,39,opt,name=f_timestamp_unix_milli_string1,json=fTimestampUnixMilliString1,proto3,oneof"`
}
type WKTOneOf1_FTimestampUnixNano1 ¶
type WKTOneOf1_FTimestampUnixNano1 struct {
FTimestampUnixNano1 *timestamppb.Timestamp `protobuf:"bytes,33,opt,name=f_timestamp_unix_nano1,json=fTimestampUnixNano1,proto3,oneof"`
}
type WKTOneOf1_FTimestampUnixNanoString1 ¶
type WKTOneOf1_FTimestampUnixNanoString1 struct {
FTimestampUnixNanoString1 *timestamppb.Timestamp `protobuf:"bytes,37,opt,name=f_timestamp_unix_nano_string1,json=fTimestampUnixNanoString1,proto3,oneof"`
}
type WKTOneOf1_FTimestampUnixSec1 ¶
type WKTOneOf1_FTimestampUnixSec1 struct {
FTimestampUnixSec1 *timestamppb.Timestamp `protobuf:"bytes,36,opt,name=f_timestamp_unix_sec1,json=fTimestampUnixSec1,proto3,oneof"`
}
type WKTOneOf1_FTimestampUnixSecString1 ¶
type WKTOneOf1_FTimestampUnixSecString1 struct {
FTimestampUnixSecString1 *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=f_timestamp_unix_sec_string1,json=fTimestampUnixSecString1,proto3,oneof"`
}
type WKTOptional1 ¶
type WKTOptional1 struct { // Cases for Enum // FEnumNumber1 *Enum1 `protobuf:"varint,1,opt,name=f_enum_number1,json=fEnumNumber1,proto3,enum=private.Enum1,oneof" json:"f_enum_number1,omitempty"` FEnumNumberString1 *Enum1 `` /* 145-byte string literal not displayed */ FEnumString1 *Enum1 `protobuf:"varint,3,opt,name=f_enum_string1,json=fEnumString1,proto3,enum=private.Enum1,oneof" json:"f_enum_string1,omitempty"` // Cases for google.protobuf.Any // FAnyNative1 *anypb.Any `protobuf:"bytes,4,opt,name=f_any_native1,json=fAnyNative1,proto3,oneof" json:"f_any_native1,omitempty"` FAnyProto1 *anypb.Any `protobuf:"bytes,5,opt,name=f_any_proto1,json=fAnyProto1,proto3,oneof" json:"f_any_proto1,omitempty"` // Cases for google.protobuf.Duration // FDurationNative1 *durationpb.Duration `protobuf:"bytes,11,opt,name=f_duration_native1,json=fDurationNative1,proto3,oneof" json:"f_duration_native1,omitempty"` FDurationString1 *durationpb.Duration `protobuf:"bytes,12,opt,name=f_duration_string1,json=fDurationString1,proto3,oneof" json:"f_duration_string1,omitempty"` FDurationNanosecond1 *durationpb.Duration `` /* 130-byte string literal not displayed */ FDurationNanosecondString1 *durationpb.Duration `` /* 150-byte string literal not displayed */ FDurationMicrosecond1 *durationpb.Duration `` /* 133-byte string literal not displayed */ FDurationMicrosecondString1 *durationpb.Duration `` /* 153-byte string literal not displayed */ FDurationMillisecond1 *durationpb.Duration `` /* 133-byte string literal not displayed */ FDurationMillisecondString1 *durationpb.Duration `` /* 153-byte string literal not displayed */ FDurationSecond1 *durationpb.Duration `protobuf:"bytes,19,opt,name=f_duration_second1,json=fDurationSecond1,proto3,oneof" json:"f_duration_second1,omitempty"` FDurationSecondString1 *durationpb.Duration `` /* 138-byte string literal not displayed */ FDurationMinute1 *durationpb.Duration `protobuf:"bytes,21,opt,name=f_duration_minute1,json=fDurationMinute1,proto3,oneof" json:"f_duration_minute1,omitempty"` FDurationMinuteString1 *durationpb.Duration `` /* 138-byte string literal not displayed */ FDurationHour1 *durationpb.Duration `protobuf:"bytes,23,opt,name=f_duration_hour1,json=fDurationHour1,proto3,oneof" json:"f_duration_hour1,omitempty"` FDurationHourString1 *durationpb.Duration `` /* 132-byte string literal not displayed */ // Cases for google.protobuf.Timestamp // FTimestampNative1 *timestamppb.Timestamp `protobuf:"bytes,31,opt,name=f_timestamp_native1,json=fTimestampNative1,proto3,oneof" json:"f_timestamp_native1,omitempty"` FTimestampTimeLayout1 *timestamppb.Timestamp `` /* 135-byte string literal not displayed */ FTimestampUnixNano1 *timestamppb.Timestamp `` /* 129-byte string literal not displayed */ FTimestampUnixNanoString1 *timestamppb.Timestamp `` /* 149-byte string literal not displayed */ FTimestampUnixMicro1 *timestamppb.Timestamp `` /* 132-byte string literal not displayed */ FTimestampUnixMicroString1 *timestamppb.Timestamp `` /* 152-byte string literal not displayed */ FTimestampUnixMilli1 *timestamppb.Timestamp `` /* 132-byte string literal not displayed */ FTimestampUnixMilliString1 *timestamppb.Timestamp `` /* 152-byte string literal not displayed */ FTimestampUnixSec1 *timestamppb.Timestamp `` /* 126-byte string literal not displayed */ FTimestampUnixSecString1 *timestamppb.Timestamp `` /* 146-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WKTOptional1) Descriptor
deprecated
func (*WKTOptional1) Descriptor() ([]byte, []int)
Deprecated: Use WKTOptional1.ProtoReflect.Descriptor instead.
func (*WKTOptional1) GetFAnyNative1 ¶
func (x *WKTOptional1) GetFAnyNative1() *anypb.Any
func (*WKTOptional1) GetFAnyProto1 ¶
func (x *WKTOptional1) GetFAnyProto1() *anypb.Any
func (*WKTOptional1) GetFDurationHour1 ¶
func (x *WKTOptional1) GetFDurationHour1() *durationpb.Duration
func (*WKTOptional1) GetFDurationHourString1 ¶
func (x *WKTOptional1) GetFDurationHourString1() *durationpb.Duration
func (*WKTOptional1) GetFDurationMicrosecond1 ¶
func (x *WKTOptional1) GetFDurationMicrosecond1() *durationpb.Duration
func (*WKTOptional1) GetFDurationMicrosecondString1 ¶
func (x *WKTOptional1) GetFDurationMicrosecondString1() *durationpb.Duration
func (*WKTOptional1) GetFDurationMillisecond1 ¶
func (x *WKTOptional1) GetFDurationMillisecond1() *durationpb.Duration
func (*WKTOptional1) GetFDurationMillisecondString1 ¶
func (x *WKTOptional1) GetFDurationMillisecondString1() *durationpb.Duration
func (*WKTOptional1) GetFDurationMinute1 ¶
func (x *WKTOptional1) GetFDurationMinute1() *durationpb.Duration
func (*WKTOptional1) GetFDurationMinuteString1 ¶
func (x *WKTOptional1) GetFDurationMinuteString1() *durationpb.Duration
func (*WKTOptional1) GetFDurationNanosecond1 ¶
func (x *WKTOptional1) GetFDurationNanosecond1() *durationpb.Duration
func (*WKTOptional1) GetFDurationNanosecondString1 ¶
func (x *WKTOptional1) GetFDurationNanosecondString1() *durationpb.Duration
func (*WKTOptional1) GetFDurationNative1 ¶
func (x *WKTOptional1) GetFDurationNative1() *durationpb.Duration
func (*WKTOptional1) GetFDurationSecond1 ¶
func (x *WKTOptional1) GetFDurationSecond1() *durationpb.Duration
func (*WKTOptional1) GetFDurationSecondString1 ¶
func (x *WKTOptional1) GetFDurationSecondString1() *durationpb.Duration
func (*WKTOptional1) GetFDurationString1 ¶
func (x *WKTOptional1) GetFDurationString1() *durationpb.Duration
func (*WKTOptional1) GetFEnumNumber1 ¶
func (x *WKTOptional1) GetFEnumNumber1() Enum1
func (*WKTOptional1) GetFEnumNumberString1 ¶
func (x *WKTOptional1) GetFEnumNumberString1() Enum1
func (*WKTOptional1) GetFEnumString1 ¶
func (x *WKTOptional1) GetFEnumString1() Enum1
func (*WKTOptional1) GetFTimestampNative1 ¶
func (x *WKTOptional1) GetFTimestampNative1() *timestamppb.Timestamp
func (*WKTOptional1) GetFTimestampTimeLayout1 ¶
func (x *WKTOptional1) GetFTimestampTimeLayout1() *timestamppb.Timestamp
func (*WKTOptional1) GetFTimestampUnixMicro1 ¶
func (x *WKTOptional1) GetFTimestampUnixMicro1() *timestamppb.Timestamp
func (*WKTOptional1) GetFTimestampUnixMicroString1 ¶
func (x *WKTOptional1) GetFTimestampUnixMicroString1() *timestamppb.Timestamp
func (*WKTOptional1) GetFTimestampUnixMilli1 ¶
func (x *WKTOptional1) GetFTimestampUnixMilli1() *timestamppb.Timestamp
func (*WKTOptional1) GetFTimestampUnixMilliString1 ¶
func (x *WKTOptional1) GetFTimestampUnixMilliString1() *timestamppb.Timestamp
func (*WKTOptional1) GetFTimestampUnixNano1 ¶
func (x *WKTOptional1) GetFTimestampUnixNano1() *timestamppb.Timestamp
func (*WKTOptional1) GetFTimestampUnixNanoString1 ¶
func (x *WKTOptional1) GetFTimestampUnixNanoString1() *timestamppb.Timestamp
func (*WKTOptional1) GetFTimestampUnixSec1 ¶
func (x *WKTOptional1) GetFTimestampUnixSec1() *timestamppb.Timestamp
func (*WKTOptional1) GetFTimestampUnixSecString1 ¶
func (x *WKTOptional1) GetFTimestampUnixSecString1() *timestamppb.Timestamp
func (*WKTOptional1) MarshalJSON ¶
func (x *WKTOptional1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message WKTOptional1 in file tests/proto/cases/references/wkt_optional.proto
func (*WKTOptional1) ProtoMessage ¶
func (*WKTOptional1) ProtoMessage()
func (*WKTOptional1) ProtoReflect ¶
func (x *WKTOptional1) ProtoReflect() protoreflect.Message
func (*WKTOptional1) Reset ¶
func (x *WKTOptional1) Reset()
func (*WKTOptional1) String ¶
func (x *WKTOptional1) String() string
func (*WKTOptional1) UnmarshalJSON ¶
func (x *WKTOptional1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message WKTOptional1 in file tests/proto/cases/references/wkt_optional.proto
type WKTPlain1 ¶
type WKTPlain1 struct { // Cases for Enum // FEnumNumber1 Enum1 `protobuf:"varint,1,opt,name=f_enum_number1,json=fEnumNumber1,proto3,enum=private.Enum1" json:"f_enum_number1,omitempty"` FEnumNumberString1 Enum1 `` /* 139-byte string literal not displayed */ FEnumString1 Enum1 `protobuf:"varint,3,opt,name=f_enum_string1,json=fEnumString1,proto3,enum=private.Enum1" json:"f_enum_string1,omitempty"` // Cases for google.protobuf.Any // FAnyNative1 *anypb.Any `protobuf:"bytes,4,opt,name=f_any_native1,json=fAnyNative1,proto3" json:"f_any_native1,omitempty"` FAnyProto1 *anypb.Any `protobuf:"bytes,5,opt,name=f_any_proto1,json=fAnyProto1,proto3" json:"f_any_proto1,omitempty"` // Cases for google.protobuf.Duration // FDurationNative1 *durationpb.Duration `protobuf:"bytes,11,opt,name=f_duration_native1,json=fDurationNative1,proto3" json:"f_duration_native1,omitempty"` FDurationString1 *durationpb.Duration `protobuf:"bytes,12,opt,name=f_duration_string1,json=fDurationString1,proto3" json:"f_duration_string1,omitempty"` FDurationNanosecond1 *durationpb.Duration `protobuf:"bytes,13,opt,name=f_duration_nanosecond1,json=fDurationNanosecond1,proto3" json:"f_duration_nanosecond1,omitempty"` FDurationNanosecondString1 *durationpb.Duration `` /* 144-byte string literal not displayed */ FDurationMicrosecond1 *durationpb.Duration `` /* 127-byte string literal not displayed */ FDurationMicrosecondString1 *durationpb.Duration `` /* 147-byte string literal not displayed */ FDurationMillisecond1 *durationpb.Duration `` /* 127-byte string literal not displayed */ FDurationMillisecondString1 *durationpb.Duration `` /* 147-byte string literal not displayed */ FDurationSecond1 *durationpb.Duration `protobuf:"bytes,19,opt,name=f_duration_second1,json=fDurationSecond1,proto3" json:"f_duration_second1,omitempty"` FDurationSecondString1 *durationpb.Duration `` /* 132-byte string literal not displayed */ FDurationMinute1 *durationpb.Duration `protobuf:"bytes,21,opt,name=f_duration_minute1,json=fDurationMinute1,proto3" json:"f_duration_minute1,omitempty"` FDurationMinuteString1 *durationpb.Duration `` /* 132-byte string literal not displayed */ FDurationHour1 *durationpb.Duration `protobuf:"bytes,23,opt,name=f_duration_hour1,json=fDurationHour1,proto3" json:"f_duration_hour1,omitempty"` FDurationHourString1 *durationpb.Duration `` /* 126-byte string literal not displayed */ // Cases for google.protobuf.Timestamp // FTimestampNative1 *timestamppb.Timestamp `protobuf:"bytes,31,opt,name=f_timestamp_native1,json=fTimestampNative1,proto3" json:"f_timestamp_native1,omitempty"` FTimestampTimeLayout1 *timestamppb.Timestamp `` /* 129-byte string literal not displayed */ FTimestampUnixNano1 *timestamppb.Timestamp `protobuf:"bytes,33,opt,name=f_timestamp_unix_nano1,json=fTimestampUnixNano1,proto3" json:"f_timestamp_unix_nano1,omitempty"` FTimestampUnixNanoString1 *timestamppb.Timestamp `` /* 143-byte string literal not displayed */ FTimestampUnixMicro1 *timestamppb.Timestamp `` /* 126-byte string literal not displayed */ FTimestampUnixMicroString1 *timestamppb.Timestamp `` /* 146-byte string literal not displayed */ FTimestampUnixMilli1 *timestamppb.Timestamp `` /* 126-byte string literal not displayed */ FTimestampUnixMilliString1 *timestamppb.Timestamp `` /* 146-byte string literal not displayed */ FTimestampUnixSec1 *timestamppb.Timestamp `protobuf:"bytes,39,opt,name=f_timestamp_unix_sec1,json=fTimestampUnixSec1,proto3" json:"f_timestamp_unix_sec1,omitempty"` FTimestampUnixSecString1 *timestamppb.Timestamp `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WKTPlain1) Descriptor
deprecated
func (*WKTPlain1) GetFAnyNative1 ¶
func (*WKTPlain1) GetFAnyProto1 ¶
func (*WKTPlain1) GetFDurationHour1 ¶
func (x *WKTPlain1) GetFDurationHour1() *durationpb.Duration
func (*WKTPlain1) GetFDurationHourString1 ¶
func (x *WKTPlain1) GetFDurationHourString1() *durationpb.Duration
func (*WKTPlain1) GetFDurationMicrosecond1 ¶
func (x *WKTPlain1) GetFDurationMicrosecond1() *durationpb.Duration
func (*WKTPlain1) GetFDurationMicrosecondString1 ¶
func (x *WKTPlain1) GetFDurationMicrosecondString1() *durationpb.Duration
func (*WKTPlain1) GetFDurationMillisecond1 ¶
func (x *WKTPlain1) GetFDurationMillisecond1() *durationpb.Duration
func (*WKTPlain1) GetFDurationMillisecondString1 ¶
func (x *WKTPlain1) GetFDurationMillisecondString1() *durationpb.Duration
func (*WKTPlain1) GetFDurationMinute1 ¶
func (x *WKTPlain1) GetFDurationMinute1() *durationpb.Duration
func (*WKTPlain1) GetFDurationMinuteString1 ¶
func (x *WKTPlain1) GetFDurationMinuteString1() *durationpb.Duration
func (*WKTPlain1) GetFDurationNanosecond1 ¶
func (x *WKTPlain1) GetFDurationNanosecond1() *durationpb.Duration
func (*WKTPlain1) GetFDurationNanosecondString1 ¶
func (x *WKTPlain1) GetFDurationNanosecondString1() *durationpb.Duration
func (*WKTPlain1) GetFDurationNative1 ¶
func (x *WKTPlain1) GetFDurationNative1() *durationpb.Duration
func (*WKTPlain1) GetFDurationSecond1 ¶
func (x *WKTPlain1) GetFDurationSecond1() *durationpb.Duration
func (*WKTPlain1) GetFDurationSecondString1 ¶
func (x *WKTPlain1) GetFDurationSecondString1() *durationpb.Duration
func (*WKTPlain1) GetFDurationString1 ¶
func (x *WKTPlain1) GetFDurationString1() *durationpb.Duration
func (*WKTPlain1) GetFEnumNumber1 ¶
func (*WKTPlain1) GetFEnumNumberString1 ¶
func (*WKTPlain1) GetFEnumString1 ¶
func (*WKTPlain1) GetFTimestampNative1 ¶
func (x *WKTPlain1) GetFTimestampNative1() *timestamppb.Timestamp
func (*WKTPlain1) GetFTimestampTimeLayout1 ¶
func (x *WKTPlain1) GetFTimestampTimeLayout1() *timestamppb.Timestamp
func (*WKTPlain1) GetFTimestampUnixMicro1 ¶
func (x *WKTPlain1) GetFTimestampUnixMicro1() *timestamppb.Timestamp
func (*WKTPlain1) GetFTimestampUnixMicroString1 ¶
func (x *WKTPlain1) GetFTimestampUnixMicroString1() *timestamppb.Timestamp
func (*WKTPlain1) GetFTimestampUnixMilli1 ¶
func (x *WKTPlain1) GetFTimestampUnixMilli1() *timestamppb.Timestamp
func (*WKTPlain1) GetFTimestampUnixMilliString1 ¶
func (x *WKTPlain1) GetFTimestampUnixMilliString1() *timestamppb.Timestamp
func (*WKTPlain1) GetFTimestampUnixNano1 ¶
func (x *WKTPlain1) GetFTimestampUnixNano1() *timestamppb.Timestamp
func (*WKTPlain1) GetFTimestampUnixNanoString1 ¶
func (x *WKTPlain1) GetFTimestampUnixNanoString1() *timestamppb.Timestamp
func (*WKTPlain1) GetFTimestampUnixSec1 ¶
func (x *WKTPlain1) GetFTimestampUnixSec1() *timestamppb.Timestamp
func (*WKTPlain1) GetFTimestampUnixSecString1 ¶
func (x *WKTPlain1) GetFTimestampUnixSecString1() *timestamppb.Timestamp
func (*WKTPlain1) MarshalJSON ¶
MarshalJSON implements interface json.Marshaler for proto message WKTPlain1 in file tests/proto/cases/references/wkt_plain.proto
func (*WKTPlain1) ProtoMessage ¶
func (*WKTPlain1) ProtoMessage()
func (*WKTPlain1) ProtoReflect ¶
func (x *WKTPlain1) ProtoReflect() protoreflect.Message
func (*WKTPlain1) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler for proto message WKTPlain1 in file tests/proto/cases/references/wkt_plain.proto
type WKTRepeated1 ¶
type WKTRepeated1 struct { // Cases for Enum // FEnumNumber1 []Enum1 `` /* 126-byte string literal not displayed */ FEnumNumberString1 []Enum1 `` /* 146-byte string literal not displayed */ FEnumString1 []Enum1 `` /* 126-byte string literal not displayed */ // Cases for google.protobuf.Any // FAnyNative1 []*anypb.Any `protobuf:"bytes,4,rep,name=f_any_native1,json=fAnyNative1,proto3" json:"f_any_native1,omitempty"` FAnyProto1 []*anypb.Any `protobuf:"bytes,5,rep,name=f_any_proto1,json=fAnyProto1,proto3" json:"f_any_proto1,omitempty"` // Cases for google.protobuf.Duration // FDurationNative1 []*durationpb.Duration `protobuf:"bytes,11,rep,name=f_duration_native1,json=fDurationNative1,proto3" json:"f_duration_native1,omitempty"` FDurationString1 []*durationpb.Duration `protobuf:"bytes,12,rep,name=f_duration_string1,json=fDurationString1,proto3" json:"f_duration_string1,omitempty"` FDurationNanosecond1 []*durationpb.Duration `protobuf:"bytes,13,rep,name=f_duration_nanosecond1,json=fDurationNanosecond1,proto3" json:"f_duration_nanosecond1,omitempty"` FDurationNanosecondString1 []*durationpb.Duration `` /* 144-byte string literal not displayed */ FDurationMicrosecond1 []*durationpb.Duration `` /* 127-byte string literal not displayed */ FDurationMicrosecondString1 []*durationpb.Duration `` /* 147-byte string literal not displayed */ FDurationMillisecond1 []*durationpb.Duration `` /* 127-byte string literal not displayed */ FDurationMillisecondString1 []*durationpb.Duration `` /* 147-byte string literal not displayed */ FDurationSecond1 []*durationpb.Duration `protobuf:"bytes,19,rep,name=f_duration_second1,json=fDurationSecond1,proto3" json:"f_duration_second1,omitempty"` FDurationSecondString1 []*durationpb.Duration `` /* 132-byte string literal not displayed */ FDurationMinute1 []*durationpb.Duration `protobuf:"bytes,21,rep,name=f_duration_minute1,json=fDurationMinute1,proto3" json:"f_duration_minute1,omitempty"` FDurationMinuteString1 []*durationpb.Duration `` /* 132-byte string literal not displayed */ FDurationHour1 []*durationpb.Duration `protobuf:"bytes,23,rep,name=f_duration_hour1,json=fDurationHour1,proto3" json:"f_duration_hour1,omitempty"` FDurationHourString1 []*durationpb.Duration `` /* 126-byte string literal not displayed */ // Cases for google.protobuf.Timestamp // FTimestampNative1 []*timestamppb.Timestamp `protobuf:"bytes,31,rep,name=f_timestamp_native1,json=fTimestampNative1,proto3" json:"f_timestamp_native1,omitempty"` FTimestampTimeLayout1 []*timestamppb.Timestamp `` /* 129-byte string literal not displayed */ FTimestampUnixNano1 []*timestamppb.Timestamp `protobuf:"bytes,33,rep,name=f_timestamp_unix_nano1,json=fTimestampUnixNano1,proto3" json:"f_timestamp_unix_nano1,omitempty"` FTimestampUnixNanoString1 []*timestamppb.Timestamp `` /* 143-byte string literal not displayed */ FTimestampUnixMicro1 []*timestamppb.Timestamp `` /* 126-byte string literal not displayed */ FTimestampUnixMicroString1 []*timestamppb.Timestamp `` /* 146-byte string literal not displayed */ FTimestampUnixMilli1 []*timestamppb.Timestamp `` /* 126-byte string literal not displayed */ FTimestampUnixMilliString1 []*timestamppb.Timestamp `` /* 146-byte string literal not displayed */ FTimestampUnixSec1 []*timestamppb.Timestamp `protobuf:"bytes,39,rep,name=f_timestamp_unix_sec1,json=fTimestampUnixSec1,proto3" json:"f_timestamp_unix_sec1,omitempty"` FTimestampUnixSecString1 []*timestamppb.Timestamp `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WKTRepeated1) Descriptor
deprecated
func (*WKTRepeated1) Descriptor() ([]byte, []int)
Deprecated: Use WKTRepeated1.ProtoReflect.Descriptor instead.
func (*WKTRepeated1) GetFAnyNative1 ¶
func (x *WKTRepeated1) GetFAnyNative1() []*anypb.Any
func (*WKTRepeated1) GetFAnyProto1 ¶
func (x *WKTRepeated1) GetFAnyProto1() []*anypb.Any
func (*WKTRepeated1) GetFDurationHour1 ¶
func (x *WKTRepeated1) GetFDurationHour1() []*durationpb.Duration
func (*WKTRepeated1) GetFDurationHourString1 ¶
func (x *WKTRepeated1) GetFDurationHourString1() []*durationpb.Duration
func (*WKTRepeated1) GetFDurationMicrosecond1 ¶
func (x *WKTRepeated1) GetFDurationMicrosecond1() []*durationpb.Duration
func (*WKTRepeated1) GetFDurationMicrosecondString1 ¶
func (x *WKTRepeated1) GetFDurationMicrosecondString1() []*durationpb.Duration
func (*WKTRepeated1) GetFDurationMillisecond1 ¶
func (x *WKTRepeated1) GetFDurationMillisecond1() []*durationpb.Duration
func (*WKTRepeated1) GetFDurationMillisecondString1 ¶
func (x *WKTRepeated1) GetFDurationMillisecondString1() []*durationpb.Duration
func (*WKTRepeated1) GetFDurationMinute1 ¶
func (x *WKTRepeated1) GetFDurationMinute1() []*durationpb.Duration
func (*WKTRepeated1) GetFDurationMinuteString1 ¶
func (x *WKTRepeated1) GetFDurationMinuteString1() []*durationpb.Duration
func (*WKTRepeated1) GetFDurationNanosecond1 ¶
func (x *WKTRepeated1) GetFDurationNanosecond1() []*durationpb.Duration
func (*WKTRepeated1) GetFDurationNanosecondString1 ¶
func (x *WKTRepeated1) GetFDurationNanosecondString1() []*durationpb.Duration
func (*WKTRepeated1) GetFDurationNative1 ¶
func (x *WKTRepeated1) GetFDurationNative1() []*durationpb.Duration
func (*WKTRepeated1) GetFDurationSecond1 ¶
func (x *WKTRepeated1) GetFDurationSecond1() []*durationpb.Duration
func (*WKTRepeated1) GetFDurationSecondString1 ¶
func (x *WKTRepeated1) GetFDurationSecondString1() []*durationpb.Duration
func (*WKTRepeated1) GetFDurationString1 ¶
func (x *WKTRepeated1) GetFDurationString1() []*durationpb.Duration
func (*WKTRepeated1) GetFEnumNumber1 ¶
func (x *WKTRepeated1) GetFEnumNumber1() []Enum1
func (*WKTRepeated1) GetFEnumNumberString1 ¶
func (x *WKTRepeated1) GetFEnumNumberString1() []Enum1
func (*WKTRepeated1) GetFEnumString1 ¶
func (x *WKTRepeated1) GetFEnumString1() []Enum1
func (*WKTRepeated1) GetFTimestampNative1 ¶
func (x *WKTRepeated1) GetFTimestampNative1() []*timestamppb.Timestamp
func (*WKTRepeated1) GetFTimestampTimeLayout1 ¶
func (x *WKTRepeated1) GetFTimestampTimeLayout1() []*timestamppb.Timestamp
func (*WKTRepeated1) GetFTimestampUnixMicro1 ¶
func (x *WKTRepeated1) GetFTimestampUnixMicro1() []*timestamppb.Timestamp
func (*WKTRepeated1) GetFTimestampUnixMicroString1 ¶
func (x *WKTRepeated1) GetFTimestampUnixMicroString1() []*timestamppb.Timestamp
func (*WKTRepeated1) GetFTimestampUnixMilli1 ¶
func (x *WKTRepeated1) GetFTimestampUnixMilli1() []*timestamppb.Timestamp
func (*WKTRepeated1) GetFTimestampUnixMilliString1 ¶
func (x *WKTRepeated1) GetFTimestampUnixMilliString1() []*timestamppb.Timestamp
func (*WKTRepeated1) GetFTimestampUnixNano1 ¶
func (x *WKTRepeated1) GetFTimestampUnixNano1() []*timestamppb.Timestamp
func (*WKTRepeated1) GetFTimestampUnixNanoString1 ¶
func (x *WKTRepeated1) GetFTimestampUnixNanoString1() []*timestamppb.Timestamp
func (*WKTRepeated1) GetFTimestampUnixSec1 ¶
func (x *WKTRepeated1) GetFTimestampUnixSec1() []*timestamppb.Timestamp
func (*WKTRepeated1) GetFTimestampUnixSecString1 ¶
func (x *WKTRepeated1) GetFTimestampUnixSecString1() []*timestamppb.Timestamp
func (*WKTRepeated1) MarshalJSON ¶
func (x *WKTRepeated1) MarshalJSON() ([]byte, error)
MarshalJSON implements interface json.Marshaler for proto message WKTRepeated1 in file tests/proto/cases/references/wkt_repeated.proto
func (*WKTRepeated1) ProtoMessage ¶
func (*WKTRepeated1) ProtoMessage()
func (*WKTRepeated1) ProtoReflect ¶
func (x *WKTRepeated1) ProtoReflect() protoreflect.Message
func (*WKTRepeated1) Reset ¶
func (x *WKTRepeated1) Reset()
func (*WKTRepeated1) String ¶
func (x *WKTRepeated1) String() string
func (*WKTRepeated1) UnmarshalJSON ¶
func (x *WKTRepeated1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler for proto message WKTRepeated1 in file tests/proto/cases/references/wkt_repeated.proto
Source Files ¶
- private.json.pb.go
- private.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
- wkt_map.json.pb.go
- wkt_map.pb.go
- wkt_oneof.json.pb.go
- wkt_oneof.pb.go
- wkt_optional.json.pb.go
- wkt_optional.pb.go
- wkt_plain.json.pb.go
- wkt_plain.pb.go
- wkt_repeated.json.pb.go
- wkt_repeated.pb.go