Documentation
¶
Index ¶
- Variables
- type Batch
- type Batches
- type Part
- func (*Part) Descriptor() ([]byte, []int)deprecated
- func (x *Part) GetContent() isPart_Content
- func (x *Part) GetError() string
- func (x *Part) GetMetadata() *structpb.Struct
- func (x *Part) GetRaw() []byte
- func (x *Part) GetStructured() *structpb.Value
- func (*Part) ProtoMessage()
- func (x *Part) ProtoReflect() protoreflect.Message
- func (x *Part) Reset()
- func (x *Part) String() string
- type Part_Raw
- type Part_Structured
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) ProtoMessage ¶
func (*Batch) ProtoMessage()
func (*Batch) ProtoReflect ¶
func (x *Batch) ProtoReflect() protoreflect.Message
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) GetBatches ¶ added in v1.15.0
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
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) GetContent ¶
func (x *Part) GetContent() isPart_Content
func (*Part) GetMetadata ¶
func (*Part) GetStructured ¶
func (*Part) ProtoMessage ¶
func (*Part) ProtoMessage()
func (*Part) ProtoReflect ¶
func (x *Part) ProtoReflect() protoreflect.Message
type Part_Structured ¶
Click to show internal directories.
Click to hide internal directories.