Documentation
¶
Index ¶
- Variables
- type ArrayMap
- type Base
- func (*Base) Descriptor() ([]byte, []int)deprecated
- func (x *Base) GetA() string
- func (x *Base) GetB() int32
- func (x *Base) GetC() string
- func (x *Base) GetUntaggedField() string
- func (*Base) ProtoMessage()
- func (x *Base) ProtoReflect() protoreflect.Message
- func (x *Base) Reset()
- func (x *Base) String() string
- type BenchmarkTest
- func (*BenchmarkTest) Descriptor() ([]byte, []int)deprecated
- func (x *BenchmarkTest) GetA() string
- func (x *BenchmarkTest) GetB() float32
- func (x *BenchmarkTest) GetC() int32
- func (x *BenchmarkTest) GetD() bool
- func (*BenchmarkTest) ProtoMessage()
- func (x *BenchmarkTest) ProtoReflect() protoreflect.Message
- func (x *BenchmarkTest) Reset()
- func (x *BenchmarkTest) String() string
- type Nested
- type NestedRecursive
- func (*NestedRecursive) Descriptor() ([]byte, []int)deprecated
- func (x *NestedRecursive) GetA() string
- func (x *NestedRecursive) GetB() int32
- func (x *NestedRecursive) GetNested() *NestedRecursive
- func (*NestedRecursive) ProtoMessage()
- func (x *NestedRecursive) ProtoReflect() protoreflect.Message
- func (x *NestedRecursive) Reset()
- func (x *NestedRecursive) String() string
- type NestedRecursiveVariantA
- func (*NestedRecursiveVariantA) Descriptor() ([]byte, []int)deprecated
- func (x *NestedRecursiveVariantA) GetA() *NestedRecursiveVariantA
- func (x *NestedRecursiveVariantA) GetB() *NestedRecursiveVariantB
- func (x *NestedRecursiveVariantA) GetC() string
- func (*NestedRecursiveVariantA) ProtoMessage()
- func (x *NestedRecursiveVariantA) ProtoReflect() protoreflect.Message
- func (x *NestedRecursiveVariantA) Reset()
- func (x *NestedRecursiveVariantA) String() string
- type NestedRecursiveVariantB
- func (*NestedRecursiveVariantB) Descriptor() ([]byte, []int)deprecated
- func (x *NestedRecursiveVariantB) GetA() *NestedRecursiveVariantA
- func (x *NestedRecursiveVariantB) GetB() *NestedRecursiveVariantB
- func (x *NestedRecursiveVariantB) GetC() string
- func (*NestedRecursiveVariantB) ProtoMessage()
- func (x *NestedRecursiveVariantB) ProtoReflect() protoreflect.Message
- func (x *NestedRecursiveVariantB) Reset()
- func (x *NestedRecursiveVariantB) String() string
- type OptionalFields
- func (*OptionalFields) Descriptor() ([]byte, []int)deprecated
- func (x *OptionalFields) GetA() string
- func (x *OptionalFields) GetB() int32
- func (*OptionalFields) ProtoMessage()
- func (x *OptionalFields) ProtoReflect() protoreflect.Message
- func (x *OptionalFields) Reset()
- func (x *OptionalFields) String() string
- type RecursiveMessage
- func (*RecursiveMessage) Descriptor() ([]byte, []int)deprecated
- func (x *RecursiveMessage) GetA() string
- func (x *RecursiveMessage) GetB() int32
- func (x *RecursiveMessage) GetNested() *RecursiveMessage
- func (*RecursiveMessage) ProtoMessage()
- func (x *RecursiveMessage) ProtoReflect() protoreflect.Message
- func (x *RecursiveMessage) Reset()
- func (x *RecursiveMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ArrayMap ¶
type ArrayMap struct {
Array []int32 `protobuf:"zigzag32,1,rep,packed,name=array,proto3" json:"array,omitempty"`
Map map[int32]string `` /* 150-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ArrayMap) Descriptor
deprecated
func (*ArrayMap) ProtoMessage ¶
func (*ArrayMap) ProtoMessage()
func (*ArrayMap) ProtoReflect ¶
func (x *ArrayMap) ProtoReflect() protoreflect.Message
type Base ¶
type Base struct {
A string `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
B int32 `protobuf:"zigzag32,2,opt,name=b,proto3" json:"b,omitempty"`
C *string `protobuf:"bytes,3,opt,name=c,proto3,oneof" json:"c,omitempty"`
UntaggedField string `protobuf:"bytes,4,opt,name=UntaggedField,proto3" json:"UntaggedField,omitempty"`
// contains filtered or unexported fields
}
func (*Base) Descriptor
deprecated
func (*Base) GetUntaggedField ¶
func (*Base) ProtoMessage ¶
func (*Base) ProtoMessage()
func (*Base) ProtoReflect ¶
func (x *Base) ProtoReflect() protoreflect.Message
type BenchmarkTest ¶
type BenchmarkTest struct {
A string `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
B float32 `protobuf:"fixed32,2,opt,name=b,proto3" json:"b,omitempty"`
C int32 `protobuf:"zigzag32,3,opt,name=c,proto3" json:"c,omitempty"`
D *bool `protobuf:"varint,4,opt,name=d,proto3,oneof" json:"d,omitempty"`
// contains filtered or unexported fields
}
func (*BenchmarkTest) Descriptor
deprecated
func (*BenchmarkTest) Descriptor() ([]byte, []int)
Deprecated: Use BenchmarkTest.ProtoReflect.Descriptor instead.
func (*BenchmarkTest) GetA ¶
func (x *BenchmarkTest) GetA() string
func (*BenchmarkTest) GetB ¶
func (x *BenchmarkTest) GetB() float32
func (*BenchmarkTest) GetC ¶
func (x *BenchmarkTest) GetC() int32
func (*BenchmarkTest) GetD ¶
func (x *BenchmarkTest) GetD() bool
func (*BenchmarkTest) ProtoMessage ¶
func (*BenchmarkTest) ProtoMessage()
func (*BenchmarkTest) ProtoReflect ¶
func (x *BenchmarkTest) ProtoReflect() protoreflect.Message
func (*BenchmarkTest) Reset ¶
func (x *BenchmarkTest) Reset()
func (*BenchmarkTest) String ¶
func (x *BenchmarkTest) String() string
type Nested ¶
type Nested struct {
A string `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
Base *Base `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"`
// contains filtered or unexported fields
}
func (*Nested) Descriptor
deprecated
func (*Nested) ProtoMessage ¶
func (*Nested) ProtoMessage()
func (*Nested) ProtoReflect ¶
func (x *Nested) ProtoReflect() protoreflect.Message
type NestedRecursive ¶
type NestedRecursive struct {
A string `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
B int32 `protobuf:"zigzag32,2,opt,name=b,proto3" json:"b,omitempty"`
Nested *NestedRecursive `protobuf:"bytes,3,opt,name=nested,proto3" json:"nested,omitempty"`
// contains filtered or unexported fields
}
func (*NestedRecursive) Descriptor
deprecated
func (*NestedRecursive) Descriptor() ([]byte, []int)
Deprecated: Use NestedRecursive.ProtoReflect.Descriptor instead.
func (*NestedRecursive) GetA ¶
func (x *NestedRecursive) GetA() string
func (*NestedRecursive) GetB ¶
func (x *NestedRecursive) GetB() int32
func (*NestedRecursive) GetNested ¶
func (x *NestedRecursive) GetNested() *NestedRecursive
func (*NestedRecursive) ProtoMessage ¶
func (*NestedRecursive) ProtoMessage()
func (*NestedRecursive) ProtoReflect ¶
func (x *NestedRecursive) ProtoReflect() protoreflect.Message
func (*NestedRecursive) Reset ¶
func (x *NestedRecursive) Reset()
func (*NestedRecursive) String ¶
func (x *NestedRecursive) String() string
type NestedRecursiveVariantA ¶
type NestedRecursiveVariantA struct {
C string `protobuf:"bytes,1,opt,name=c,proto3" json:"c,omitempty"`
A *NestedRecursiveVariantA `protobuf:"bytes,2,opt,name=a,proto3" json:"a,omitempty"`
B *NestedRecursiveVariantB `protobuf:"bytes,3,opt,name=b,proto3" json:"b,omitempty"`
// contains filtered or unexported fields
}
func (*NestedRecursiveVariantA) Descriptor
deprecated
func (*NestedRecursiveVariantA) Descriptor() ([]byte, []int)
Deprecated: Use NestedRecursiveVariantA.ProtoReflect.Descriptor instead.
func (*NestedRecursiveVariantA) GetA ¶
func (x *NestedRecursiveVariantA) GetA() *NestedRecursiveVariantA
func (*NestedRecursiveVariantA) GetB ¶
func (x *NestedRecursiveVariantA) GetB() *NestedRecursiveVariantB
func (*NestedRecursiveVariantA) GetC ¶
func (x *NestedRecursiveVariantA) GetC() string
func (*NestedRecursiveVariantA) ProtoMessage ¶
func (*NestedRecursiveVariantA) ProtoMessage()
func (*NestedRecursiveVariantA) ProtoReflect ¶
func (x *NestedRecursiveVariantA) ProtoReflect() protoreflect.Message
func (*NestedRecursiveVariantA) Reset ¶
func (x *NestedRecursiveVariantA) Reset()
func (*NestedRecursiveVariantA) String ¶
func (x *NestedRecursiveVariantA) String() string
type NestedRecursiveVariantB ¶
type NestedRecursiveVariantB struct {
C string `protobuf:"bytes,1,opt,name=c,proto3" json:"c,omitempty"`
B *NestedRecursiveVariantB `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"`
A *NestedRecursiveVariantA `protobuf:"bytes,3,opt,name=a,proto3" json:"a,omitempty"`
// contains filtered or unexported fields
}
func (*NestedRecursiveVariantB) Descriptor
deprecated
func (*NestedRecursiveVariantB) Descriptor() ([]byte, []int)
Deprecated: Use NestedRecursiveVariantB.ProtoReflect.Descriptor instead.
func (*NestedRecursiveVariantB) GetA ¶
func (x *NestedRecursiveVariantB) GetA() *NestedRecursiveVariantA
func (*NestedRecursiveVariantB) GetB ¶
func (x *NestedRecursiveVariantB) GetB() *NestedRecursiveVariantB
func (*NestedRecursiveVariantB) GetC ¶
func (x *NestedRecursiveVariantB) GetC() string
func (*NestedRecursiveVariantB) ProtoMessage ¶
func (*NestedRecursiveVariantB) ProtoMessage()
func (*NestedRecursiveVariantB) ProtoReflect ¶
func (x *NestedRecursiveVariantB) ProtoReflect() protoreflect.Message
func (*NestedRecursiveVariantB) Reset ¶
func (x *NestedRecursiveVariantB) Reset()
func (*NestedRecursiveVariantB) String ¶
func (x *NestedRecursiveVariantB) String() string
type OptionalFields ¶
type OptionalFields struct {
A *string `protobuf:"bytes,1,opt,name=a,proto3,oneof" json:"a,omitempty"`
B *int32 `protobuf:"zigzag32,2,opt,name=b,proto3,oneof" json:"b,omitempty"`
// contains filtered or unexported fields
}
func (*OptionalFields) Descriptor
deprecated
func (*OptionalFields) Descriptor() ([]byte, []int)
Deprecated: Use OptionalFields.ProtoReflect.Descriptor instead.
func (*OptionalFields) GetA ¶
func (x *OptionalFields) GetA() string
func (*OptionalFields) GetB ¶
func (x *OptionalFields) GetB() int32
func (*OptionalFields) ProtoMessage ¶
func (*OptionalFields) ProtoMessage()
func (*OptionalFields) ProtoReflect ¶
func (x *OptionalFields) ProtoReflect() protoreflect.Message
func (*OptionalFields) Reset ¶
func (x *OptionalFields) Reset()
func (*OptionalFields) String ¶
func (x *OptionalFields) String() string
type RecursiveMessage ¶
type RecursiveMessage struct {
A string `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
B int32 `protobuf:"zigzag32,2,opt,name=b,proto3" json:"b,omitempty"`
Nested *RecursiveMessage `protobuf:"bytes,3,opt,name=nested,proto3" json:"nested,omitempty"`
// contains filtered or unexported fields
}
func (*RecursiveMessage) Descriptor
deprecated
func (*RecursiveMessage) Descriptor() ([]byte, []int)
Deprecated: Use RecursiveMessage.ProtoReflect.Descriptor instead.
func (*RecursiveMessage) GetA ¶
func (x *RecursiveMessage) GetA() string
func (*RecursiveMessage) GetB ¶
func (x *RecursiveMessage) GetB() int32
func (*RecursiveMessage) GetNested ¶
func (x *RecursiveMessage) GetNested() *RecursiveMessage
func (*RecursiveMessage) ProtoMessage ¶
func (*RecursiveMessage) ProtoMessage()
func (*RecursiveMessage) ProtoReflect ¶
func (x *RecursiveMessage) ProtoReflect() protoreflect.Message
func (*RecursiveMessage) Reset ¶
func (x *RecursiveMessage) Reset()
func (*RecursiveMessage) String ¶
func (x *RecursiveMessage) String() string
Click to show internal directories.
Click to hide internal directories.