empty

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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) Get

func (List) Get(n int) protoreflect.Value

func (List) IsValid

func (List) IsValid() bool

func (List) Len

func (List) Len() int

func (List) NewElement

func (List) NewElement() protoreflect.Value

func (List) Set

func (List) Set(int, protoreflect.Value)

func (List) Truncate

func (List) Truncate(int)

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 (Map) Has

func (m Map) Has(protoreflect.MapKey) bool

func (Map) IsValid

func (m Map) IsValid() bool

func (Map) Len

func (m Map) Len() int

func (Map) Mutable

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

type Message

type Message struct {
	// contains filtered or unexported fields
}

Message is an Message value of any [Type].

func NewMessage

func NewMessage(ty *tdp.Type) Message

NewMessage creates a new, empty message.

func (Message) Clear

Clear implements protoreflect.Message.

func (Message) Descriptor

func (e Message) Descriptor() protoreflect.MessageDescriptor

Descriptor implements protoreflect.Message.

func (Message) Get

Get implements protoreflect.Message.

func (Message) GetUnknown

func (e Message) GetUnknown() protoreflect.RawFields

GetUnknown implements protoreflect.Message.

func (Message) Has

Has implements protoreflect.Message.

func (Message) Interface

func (e Message) Interface() protoreflect.ProtoMessage

Interface implements protoreflect.Message.

func (Message) IsValid

func (e Message) IsValid() bool

IsValid implements protoreflect.Message.

func (Message) Mutable

Mutable implements protoreflect.Message.

Panics when called.

func (Message) New

func (e Message) New() protoreflect.Message

New implements protoreflect.Message.

func (Message) NewField

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

Range implements protoreflect.Message.

func (Message) Set

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

WhichOneof implements protoreflect.Message.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL