Documentation
¶
Index ¶
- type List
- type Map
- func (m Map) Clear(protoreflect.MapKey)
- func (m Map) Get(protoreflect.MapKey) protoreflect.Value
- func (m Map) Has(protoreflect.MapKey) bool
- func (m Map) IsValid() bool
- func (m Map) Len() int
- func (m Map) Mutable(protoreflect.MapKey) protoreflect.Value
- func (m Map) NewValue() protoreflect.Value
- func (m Map) Range(f func(protoreflect.MapKey, protoreflect.Value) bool)
- func (m Map) Set(protoreflect.MapKey, protoreflect.Value)
- type Message
- func (e Message) Clear(protoreflect.FieldDescriptor)
- func (e Message) Descriptor() protoreflect.MessageDescriptor
- func (e Message) Get(fd protoreflect.FieldDescriptor) protoreflect.Value
- func (e Message) GetUnknown() protoreflect.RawFields
- func (e Message) Has(fd protoreflect.FieldDescriptor) bool
- func (e Message) Interface() protoreflect.ProtoMessage
- func (e Message) IsValid() bool
- func (e Message) Mutable(protoreflect.FieldDescriptor) protoreflect.Value
- func (e Message) New() protoreflect.Message
- func (e Message) NewField(protoreflect.FieldDescriptor) protoreflect.Value
- func (e Message) ProtoMethods() *protoiface.Methods
- func (e Message) ProtoReflect() protoreflect.Message
- func (e Message) Range(yield func(protoreflect.FieldDescriptor, protoreflect.Value) bool)
- func (e Message) Set(protoreflect.FieldDescriptor, protoreflect.Value)
- func (e Message) SetUnknown(raw protoreflect.RawFields)
- func (e Message) Type() protoreflect.MessageType
- func (e Message) WhichOneof(protoreflect.OneofDescriptor) protoreflect.FieldDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List struct{}
List is an empty, untyped, immutable protoreflect.List.
func (List) Append ¶
func (List) Append(protoreflect.Value)
func (List) AppendMutable ¶
func (List) AppendMutable() protoreflect.Value
func (List) NewElement ¶
func (List) NewElement() protoreflect.Value
type Map ¶
type Map struct{}
Map is an empty, untyped, immutable protoreflect.Map.
func (Map) Clear ¶
func (m Map) Clear(protoreflect.MapKey)
func (Map) Get ¶
func (m Map) Get(protoreflect.MapKey) protoreflect.Value
func (Map) Mutable ¶
func (m Map) Mutable(protoreflect.MapKey) protoreflect.Value
func (Map) NewValue ¶
func (m Map) NewValue() protoreflect.Value
func (Map) Range ¶
func (m Map) Range(f func(protoreflect.MapKey, protoreflect.Value) bool)
func (Map) Set ¶
func (m Map) Set(protoreflect.MapKey, protoreflect.Value)
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
Message is an Message value of any [Type].
func (Message) Clear ¶
func (e Message) Clear(protoreflect.FieldDescriptor)
Clear implements protoreflect.Message.
func (Message) Descriptor ¶
func (e Message) Descriptor() protoreflect.MessageDescriptor
Descriptor implements protoreflect.Message.
func (Message) Get ¶
func (e Message) Get(fd protoreflect.FieldDescriptor) protoreflect.Value
Get implements protoreflect.Message.
func (Message) GetUnknown ¶
func (e Message) GetUnknown() protoreflect.RawFields
GetUnknown implements protoreflect.Message.
func (Message) Has ¶
func (e Message) Has(fd protoreflect.FieldDescriptor) bool
Has implements protoreflect.Message.
func (Message) Interface ¶
func (e Message) Interface() protoreflect.ProtoMessage
Interface implements protoreflect.Message.
func (Message) Mutable ¶
func (e Message) Mutable(protoreflect.FieldDescriptor) protoreflect.Value
Mutable implements protoreflect.Message.
Panics when called.
func (Message) New ¶
func (e Message) New() protoreflect.Message
New implements protoreflect.Message.
func (Message) NewField ¶
func (e Message) NewField(protoreflect.FieldDescriptor) protoreflect.Value
NewField implements protoreflect.Message.
Panics when called.
func (Message) ProtoMethods ¶
func (e Message) ProtoMethods() *protoiface.Methods
ProtoMethods implements protoreflect.Message.
func (Message) ProtoReflect ¶
func (e Message) ProtoReflect() protoreflect.Message
ProtoReflect implements proto.Message.
func (Message) Range ¶
func (e Message) Range(yield func(protoreflect.FieldDescriptor, protoreflect.Value) bool)
Range implements protoreflect.Message.
func (Message) Set ¶
func (e Message) Set(protoreflect.FieldDescriptor, protoreflect.Value)
Set implements protoreflect.Message.
Panics when called.
func (Message) SetUnknown ¶
func (e Message) SetUnknown(raw protoreflect.RawFields)
SetUnknown implements protoreflect.Message.
Panics when called.
func (Message) Type ¶
func (e Message) Type() protoreflect.MessageType
Type implements {protoreflect.Message}.
func (Message) WhichOneof ¶
func (e Message) WhichOneof(protoreflect.OneofDescriptor) protoreflect.FieldDescriptor
WhichOneof implements protoreflect.Message.