messagepb

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Batch

type Batch struct {
	Parts []*Part `protobuf:"bytes,1,rep,name=parts,proto3" json:"parts,omitempty"`
	// contains filtered or unexported fields
}

func (*Batch) Descriptor deprecated

func (*Batch) Descriptor() ([]byte, []int)

Deprecated: Use Batch.ProtoReflect.Descriptor instead.

func (*Batch) GetParts

func (x *Batch) GetParts() []*Part

func (*Batch) ProtoMessage

func (*Batch) ProtoMessage()

func (*Batch) ProtoReflect

func (x *Batch) ProtoReflect() protoreflect.Message

func (*Batch) Reset

func (x *Batch) Reset()

func (*Batch) String

func (x *Batch) String() string

type Batches added in v1.15.0

type Batches struct {
	Batches []*Batch `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"`
	// contains filtered or unexported fields
}

func (*Batches) Descriptor deprecated added in v1.15.0

func (*Batches) Descriptor() ([]byte, []int)

Deprecated: Use Batches.ProtoReflect.Descriptor instead.

func (*Batches) GetBatches added in v1.15.0

func (x *Batches) GetBatches() []*Batch

func (*Batches) ProtoMessage added in v1.15.0

func (*Batches) ProtoMessage()

func (*Batches) ProtoReflect added in v1.15.0

func (x *Batches) ProtoReflect() protoreflect.Message

func (*Batches) Reset added in v1.15.0

func (x *Batches) Reset()

func (*Batches) String added in v1.15.0

func (x *Batches) String() string

type Part

type Part struct {

	// Types that are valid to be assigned to Content:
	//
	//	*Part_Raw
	//	*Part_Structured
	Content  isPart_Content   `protobuf_oneof:"content"`
	Error    string           `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	Metadata *structpb.Struct `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Part) Descriptor deprecated

func (*Part) Descriptor() ([]byte, []int)

Deprecated: Use Part.ProtoReflect.Descriptor instead.

func (*Part) GetContent

func (x *Part) GetContent() isPart_Content

func (*Part) GetError

func (x *Part) GetError() string

func (*Part) GetMetadata

func (x *Part) GetMetadata() *structpb.Struct

func (*Part) GetRaw

func (x *Part) GetRaw() []byte

func (*Part) GetStructured

func (x *Part) GetStructured() *structpb.Value

func (*Part) ProtoMessage

func (*Part) ProtoMessage()

func (*Part) ProtoReflect

func (x *Part) ProtoReflect() protoreflect.Message

func (*Part) Reset

func (x *Part) Reset()

func (*Part) String

func (x *Part) String() string

type Part_Raw

type Part_Raw struct {
	Raw []byte `protobuf:"bytes,1,opt,name=raw,proto3,oneof"`
}

type Part_Structured

type Part_Structured struct {
	Structured *structpb.Value `protobuf:"bytes,2,opt,name=structured,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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