cffi

package
v0.220.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BamlObjectType_name = map[int32]string{
		0:  "OBJECT_UNSPECIFIED",
		1:  "OBJECT_COLLECTOR",
		2:  "OBJECT_FUNCTION_LOG",
		3:  "OBJECT_USAGE",
		4:  "OBJECT_TIMING",
		5:  "OBJECT_STREAM_TIMING",
		6:  "OBJECT_LLM_CALL",
		7:  "OBJECT_LLM_STREAM_CALL",
		8:  "OBJECT_HTTP_REQUEST",
		9:  "OBJECT_HTTP_RESPONSE",
		10: "OBJECT_HTTP_BODY",
		11: "OBJECT_SSE_RESPONSE",
		12: "OBJECT_MEDIA_IMAGE",
		13: "OBJECT_MEDIA_AUDIO",
		14: "OBJECT_MEDIA_PDF",
		15: "OBJECT_MEDIA_VIDEO",
		16: "OBJECT_TYPE_BUILDER",
		17: "OBJECT_TYPE",
		18: "OBJECT_ENUM_BUILDER",
		19: "OBJECT_ENUM_VALUE_BUILDER",
		20: "OBJECT_CLASS_BUILDER",
		21: "OBJECT_CLASS_PROPERTY_BUILDER",
	}
	BamlObjectType_value = map[string]int32{
		"OBJECT_UNSPECIFIED":            0,
		"OBJECT_COLLECTOR":              1,
		"OBJECT_FUNCTION_LOG":           2,
		"OBJECT_USAGE":                  3,
		"OBJECT_TIMING":                 4,
		"OBJECT_STREAM_TIMING":          5,
		"OBJECT_LLM_CALL":               6,
		"OBJECT_LLM_STREAM_CALL":        7,
		"OBJECT_HTTP_REQUEST":           8,
		"OBJECT_HTTP_RESPONSE":          9,
		"OBJECT_HTTP_BODY":              10,
		"OBJECT_SSE_RESPONSE":           11,
		"OBJECT_MEDIA_IMAGE":            12,
		"OBJECT_MEDIA_AUDIO":            13,
		"OBJECT_MEDIA_PDF":              14,
		"OBJECT_MEDIA_VIDEO":            15,
		"OBJECT_TYPE_BUILDER":           16,
		"OBJECT_TYPE":                   17,
		"OBJECT_ENUM_BUILDER":           18,
		"OBJECT_ENUM_VALUE_BUILDER":     19,
		"OBJECT_CLASS_BUILDER":          20,
		"OBJECT_CLASS_PROPERTY_BUILDER": 21,
	}
)

Enum value maps for BamlObjectType.

View Source
var (
	CFFITypeNamespace_name = map[int32]string{
		0: "INTERNAL",
		1: "TYPES",
		2: "STREAM_TYPES",
		3: "STREAM_STATE_TYPES",
		4: "CHECKED_TYPES",
	}
	CFFITypeNamespace_value = map[string]int32{
		"INTERNAL":           0,
		"TYPES":              1,
		"STREAM_TYPES":       2,
		"STREAM_STATE_TYPES": 3,
		"CHECKED_TYPES":      4,
	}
)

Enum value maps for CFFITypeNamespace.

View Source
var (
	MediaTypeEnum_name = map[int32]string{
		0: "IMAGE",
		1: "AUDIO",
		2: "PDF",
		3: "VIDEO",
	}
	MediaTypeEnum_value = map[string]int32{
		"IMAGE": 0,
		"AUDIO": 1,
		"PDF":   2,
		"VIDEO": 3,
	}
)

Enum value maps for MediaTypeEnum.

View Source
var (
	CFFIStreamState_name = map[int32]string{
		0: "PENDING",
		1: "STARTED",
		2: "DONE",
	}
	CFFIStreamState_value = map[string]int32{
		"PENDING": 0,
		"STARTED": 1,
		"DONE":    2,
	}
)

Enum value maps for CFFIStreamState.

View Source
var File_baml_cffi_v1_baml_inbound_proto protoreflect.FileDescriptor
View Source
var File_baml_cffi_v1_baml_object_methods_proto protoreflect.FileDescriptor
View Source
var File_baml_cffi_v1_baml_object_proto protoreflect.FileDescriptor
View Source
var File_baml_cffi_v1_baml_outbound_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BamlObjectConstructorInvocation added in v0.215.0

type BamlObjectConstructorInvocation struct {
	Type   BamlObjectType  `protobuf:"varint,1,opt,name=type,proto3,enum=baml.cffi.v1.BamlObjectType" json:"type,omitempty"`
	Kwargs []*HostMapEntry `protobuf:"bytes,2,rep,name=kwargs,proto3" json:"kwargs,omitempty"`
	// contains filtered or unexported fields
}

func (*BamlObjectConstructorInvocation) Descriptor deprecated added in v0.215.0

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

Deprecated: Use BamlObjectConstructorInvocation.ProtoReflect.Descriptor instead.

func (*BamlObjectConstructorInvocation) GetKwargs added in v0.215.0

func (*BamlObjectConstructorInvocation) GetType added in v0.215.0

func (*BamlObjectConstructorInvocation) ProtoMessage added in v0.215.0

func (*BamlObjectConstructorInvocation) ProtoMessage()

func (*BamlObjectConstructorInvocation) ProtoReflect added in v0.215.0

func (*BamlObjectConstructorInvocation) Reset added in v0.215.0

func (*BamlObjectConstructorInvocation) String added in v0.215.0

type BamlObjectHandle added in v0.215.0

type BamlObjectHandle struct {

	// Types that are assignable to Object:
	//
	//	*BamlObjectHandle_Collector
	//	*BamlObjectHandle_FunctionLog
	//	*BamlObjectHandle_Usage
	//	*BamlObjectHandle_Timing
	//	*BamlObjectHandle_StreamTiming
	//	*BamlObjectHandle_LlmCall
	//	*BamlObjectHandle_LlmStreamCall
	//	*BamlObjectHandle_HttpRequest
	//	*BamlObjectHandle_HttpResponse
	//	*BamlObjectHandle_HttpBody
	//	*BamlObjectHandle_SseResponse
	//	*BamlObjectHandle_MediaImage
	//	*BamlObjectHandle_MediaAudio
	//	*BamlObjectHandle_MediaPdf
	//	*BamlObjectHandle_MediaVideo
	//	*BamlObjectHandle_TypeBuilder
	//	*BamlObjectHandle_Type
	//	*BamlObjectHandle_EnumBuilder
	//	*BamlObjectHandle_EnumValueBuilder
	//	*BamlObjectHandle_ClassBuilder
	//	*BamlObjectHandle_ClassPropertyBuilder
	Object isBamlObjectHandle_Object `protobuf_oneof:"object"`
	// contains filtered or unexported fields
}

Raw object with type information

func (*BamlObjectHandle) Descriptor deprecated added in v0.215.0

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

Deprecated: Use BamlObjectHandle.ProtoReflect.Descriptor instead.

func (*BamlObjectHandle) GetClassBuilder added in v0.215.0

func (x *BamlObjectHandle) GetClassBuilder() *BamlPointerType

func (*BamlObjectHandle) GetClassPropertyBuilder added in v0.215.0

func (x *BamlObjectHandle) GetClassPropertyBuilder() *BamlPointerType

func (*BamlObjectHandle) GetCollector added in v0.215.0

func (x *BamlObjectHandle) GetCollector() *BamlPointerType

func (*BamlObjectHandle) GetEnumBuilder added in v0.215.0

func (x *BamlObjectHandle) GetEnumBuilder() *BamlPointerType

func (*BamlObjectHandle) GetEnumValueBuilder added in v0.215.0

func (x *BamlObjectHandle) GetEnumValueBuilder() *BamlPointerType

func (*BamlObjectHandle) GetFunctionLog added in v0.215.0

func (x *BamlObjectHandle) GetFunctionLog() *BamlPointerType

func (*BamlObjectHandle) GetHttpBody added in v0.215.0

func (x *BamlObjectHandle) GetHttpBody() *BamlPointerType

func (*BamlObjectHandle) GetHttpRequest added in v0.215.0

func (x *BamlObjectHandle) GetHttpRequest() *BamlPointerType

func (*BamlObjectHandle) GetHttpResponse added in v0.215.0

func (x *BamlObjectHandle) GetHttpResponse() *BamlPointerType

func (*BamlObjectHandle) GetLlmCall added in v0.215.0

func (x *BamlObjectHandle) GetLlmCall() *BamlPointerType

func (*BamlObjectHandle) GetLlmStreamCall added in v0.215.0

func (x *BamlObjectHandle) GetLlmStreamCall() *BamlPointerType

func (*BamlObjectHandle) GetMediaAudio added in v0.215.0

func (x *BamlObjectHandle) GetMediaAudio() *BamlPointerType

func (*BamlObjectHandle) GetMediaImage added in v0.215.0

func (x *BamlObjectHandle) GetMediaImage() *BamlPointerType

func (*BamlObjectHandle) GetMediaPdf added in v0.215.0

func (x *BamlObjectHandle) GetMediaPdf() *BamlPointerType

func (*BamlObjectHandle) GetMediaVideo added in v0.215.0

func (x *BamlObjectHandle) GetMediaVideo() *BamlPointerType

func (*BamlObjectHandle) GetObject added in v0.215.0

func (m *BamlObjectHandle) GetObject() isBamlObjectHandle_Object

func (*BamlObjectHandle) GetSseResponse added in v0.215.0

func (x *BamlObjectHandle) GetSseResponse() *BamlPointerType

func (*BamlObjectHandle) GetStreamTiming added in v0.215.0

func (x *BamlObjectHandle) GetStreamTiming() *BamlPointerType

func (*BamlObjectHandle) GetTiming added in v0.215.0

func (x *BamlObjectHandle) GetTiming() *BamlPointerType

func (*BamlObjectHandle) GetType added in v0.215.0

func (x *BamlObjectHandle) GetType() *BamlPointerType

func (*BamlObjectHandle) GetTypeBuilder added in v0.215.0

func (x *BamlObjectHandle) GetTypeBuilder() *BamlPointerType

func (*BamlObjectHandle) GetUsage added in v0.215.0

func (x *BamlObjectHandle) GetUsage() *BamlPointerType

func (*BamlObjectHandle) ProtoMessage added in v0.215.0

func (*BamlObjectHandle) ProtoMessage()

func (*BamlObjectHandle) ProtoReflect added in v0.215.0

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

func (*BamlObjectHandle) Reset added in v0.215.0

func (x *BamlObjectHandle) Reset()

func (*BamlObjectHandle) String added in v0.215.0

func (x *BamlObjectHandle) String() string

type BamlObjectHandle_ClassBuilder added in v0.215.0

type BamlObjectHandle_ClassBuilder struct {
	ClassBuilder *BamlPointerType `protobuf:"bytes,20,opt,name=class_builder,json=classBuilder,proto3,oneof"`
}

type BamlObjectHandle_ClassPropertyBuilder added in v0.215.0

type BamlObjectHandle_ClassPropertyBuilder struct {
	ClassPropertyBuilder *BamlPointerType `protobuf:"bytes,21,opt,name=class_property_builder,json=classPropertyBuilder,proto3,oneof"`
}

type BamlObjectHandle_Collector added in v0.215.0

type BamlObjectHandle_Collector struct {
	Collector *BamlPointerType `protobuf:"bytes,1,opt,name=collector,proto3,oneof"`
}

type BamlObjectHandle_EnumBuilder added in v0.215.0

type BamlObjectHandle_EnumBuilder struct {
	EnumBuilder *BamlPointerType `protobuf:"bytes,18,opt,name=enum_builder,json=enumBuilder,proto3,oneof"`
}

type BamlObjectHandle_EnumValueBuilder added in v0.215.0

type BamlObjectHandle_EnumValueBuilder struct {
	EnumValueBuilder *BamlPointerType `protobuf:"bytes,19,opt,name=enum_value_builder,json=enumValueBuilder,proto3,oneof"`
}

type BamlObjectHandle_FunctionLog added in v0.215.0

type BamlObjectHandle_FunctionLog struct {
	FunctionLog *BamlPointerType `protobuf:"bytes,2,opt,name=function_log,json=functionLog,proto3,oneof"`
}

type BamlObjectHandle_HttpBody added in v0.215.0

type BamlObjectHandle_HttpBody struct {
	HttpBody *BamlPointerType `protobuf:"bytes,10,opt,name=http_body,json=httpBody,proto3,oneof"`
}

type BamlObjectHandle_HttpRequest added in v0.215.0

type BamlObjectHandle_HttpRequest struct {
	HttpRequest *BamlPointerType `protobuf:"bytes,8,opt,name=http_request,json=httpRequest,proto3,oneof"`
}

type BamlObjectHandle_HttpResponse added in v0.215.0

type BamlObjectHandle_HttpResponse struct {
	HttpResponse *BamlPointerType `protobuf:"bytes,9,opt,name=http_response,json=httpResponse,proto3,oneof"`
}

type BamlObjectHandle_LlmCall added in v0.215.0

type BamlObjectHandle_LlmCall struct {
	LlmCall *BamlPointerType `protobuf:"bytes,6,opt,name=llm_call,json=llmCall,proto3,oneof"`
}

type BamlObjectHandle_LlmStreamCall added in v0.215.0

type BamlObjectHandle_LlmStreamCall struct {
	LlmStreamCall *BamlPointerType `protobuf:"bytes,7,opt,name=llm_stream_call,json=llmStreamCall,proto3,oneof"`
}

type BamlObjectHandle_MediaAudio added in v0.215.0

type BamlObjectHandle_MediaAudio struct {
	MediaAudio *BamlPointerType `protobuf:"bytes,13,opt,name=media_audio,json=mediaAudio,proto3,oneof"`
}

type BamlObjectHandle_MediaImage added in v0.215.0

type BamlObjectHandle_MediaImage struct {
	MediaImage *BamlPointerType `protobuf:"bytes,12,opt,name=media_image,json=mediaImage,proto3,oneof"`
}

type BamlObjectHandle_MediaPdf added in v0.215.0

type BamlObjectHandle_MediaPdf struct {
	MediaPdf *BamlPointerType `protobuf:"bytes,14,opt,name=media_pdf,json=mediaPdf,proto3,oneof"`
}

type BamlObjectHandle_MediaVideo added in v0.215.0

type BamlObjectHandle_MediaVideo struct {
	MediaVideo *BamlPointerType `protobuf:"bytes,15,opt,name=media_video,json=mediaVideo,proto3,oneof"`
}

type BamlObjectHandle_SseResponse added in v0.215.0

type BamlObjectHandle_SseResponse struct {
	SseResponse *BamlPointerType `protobuf:"bytes,11,opt,name=sse_response,json=sseResponse,proto3,oneof"`
}

type BamlObjectHandle_StreamTiming added in v0.215.0

type BamlObjectHandle_StreamTiming struct {
	StreamTiming *BamlPointerType `protobuf:"bytes,5,opt,name=stream_timing,json=streamTiming,proto3,oneof"`
}

type BamlObjectHandle_Timing added in v0.215.0

type BamlObjectHandle_Timing struct {
	Timing *BamlPointerType `protobuf:"bytes,4,opt,name=timing,proto3,oneof"`
}

type BamlObjectHandle_Type added in v0.215.0

type BamlObjectHandle_Type struct {
	Type *BamlPointerType `protobuf:"bytes,17,opt,name=type,proto3,oneof"`
}

type BamlObjectHandle_TypeBuilder added in v0.215.0

type BamlObjectHandle_TypeBuilder struct {
	TypeBuilder *BamlPointerType `protobuf:"bytes,16,opt,name=type_builder,json=typeBuilder,proto3,oneof"`
}

type BamlObjectHandle_Usage added in v0.215.0

type BamlObjectHandle_Usage struct {
	Usage *BamlPointerType `protobuf:"bytes,3,opt,name=usage,proto3,oneof"`
}

type BamlObjectMethodInvocation added in v0.215.0

type BamlObjectMethodInvocation struct {
	Object     *BamlObjectHandle `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	MethodName string            `protobuf:"bytes,2,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
	Kwargs     []*HostMapEntry   `protobuf:"bytes,3,rep,name=kwargs,proto3" json:"kwargs,omitempty"`
	// contains filtered or unexported fields
}

func (*BamlObjectMethodInvocation) Descriptor deprecated added in v0.215.0

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

Deprecated: Use BamlObjectMethodInvocation.ProtoReflect.Descriptor instead.

func (*BamlObjectMethodInvocation) GetKwargs added in v0.215.0

func (x *BamlObjectMethodInvocation) GetKwargs() []*HostMapEntry

func (*BamlObjectMethodInvocation) GetMethodName added in v0.215.0

func (x *BamlObjectMethodInvocation) GetMethodName() string

func (*BamlObjectMethodInvocation) GetObject added in v0.215.0

func (*BamlObjectMethodInvocation) ProtoMessage added in v0.215.0

func (*BamlObjectMethodInvocation) ProtoMessage()

func (*BamlObjectMethodInvocation) ProtoReflect added in v0.215.0

func (*BamlObjectMethodInvocation) Reset added in v0.215.0

func (x *BamlObjectMethodInvocation) Reset()

func (*BamlObjectMethodInvocation) String added in v0.215.0

func (x *BamlObjectMethodInvocation) String() string

type BamlObjectType added in v0.215.0

type BamlObjectType int32

Enum for all possible object types

const (
	BamlObjectType_OBJECT_UNSPECIFIED            BamlObjectType = 0
	BamlObjectType_OBJECT_COLLECTOR              BamlObjectType = 1
	BamlObjectType_OBJECT_FUNCTION_LOG           BamlObjectType = 2
	BamlObjectType_OBJECT_USAGE                  BamlObjectType = 3
	BamlObjectType_OBJECT_TIMING                 BamlObjectType = 4
	BamlObjectType_OBJECT_STREAM_TIMING          BamlObjectType = 5
	BamlObjectType_OBJECT_LLM_CALL               BamlObjectType = 6
	BamlObjectType_OBJECT_LLM_STREAM_CALL        BamlObjectType = 7
	BamlObjectType_OBJECT_HTTP_REQUEST           BamlObjectType = 8
	BamlObjectType_OBJECT_HTTP_RESPONSE          BamlObjectType = 9
	BamlObjectType_OBJECT_HTTP_BODY              BamlObjectType = 10
	BamlObjectType_OBJECT_SSE_RESPONSE           BamlObjectType = 11
	BamlObjectType_OBJECT_MEDIA_IMAGE            BamlObjectType = 12
	BamlObjectType_OBJECT_MEDIA_AUDIO            BamlObjectType = 13
	BamlObjectType_OBJECT_MEDIA_PDF              BamlObjectType = 14
	BamlObjectType_OBJECT_MEDIA_VIDEO            BamlObjectType = 15
	BamlObjectType_OBJECT_TYPE_BUILDER           BamlObjectType = 16
	BamlObjectType_OBJECT_TYPE                   BamlObjectType = 17
	BamlObjectType_OBJECT_ENUM_BUILDER           BamlObjectType = 18
	BamlObjectType_OBJECT_ENUM_VALUE_BUILDER     BamlObjectType = 19
	BamlObjectType_OBJECT_CLASS_BUILDER          BamlObjectType = 20
	BamlObjectType_OBJECT_CLASS_PROPERTY_BUILDER BamlObjectType = 21
)

func (BamlObjectType) Descriptor added in v0.215.0

func (BamlObjectType) Enum added in v0.215.0

func (x BamlObjectType) Enum() *BamlObjectType

func (BamlObjectType) EnumDescriptor deprecated added in v0.215.0

func (BamlObjectType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BamlObjectType.Descriptor instead.

func (BamlObjectType) Number added in v0.215.0

func (BamlObjectType) String added in v0.215.0

func (x BamlObjectType) String() string

func (BamlObjectType) Type added in v0.215.0

type BamlPointerType added in v0.215.0

type BamlPointerType struct {
	Pointer int64 `protobuf:"varint,1,opt,name=pointer,proto3" json:"pointer,omitempty"`
	// contains filtered or unexported fields
}

Raw pointer type

func (*BamlPointerType) Descriptor deprecated added in v0.215.0

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

Deprecated: Use BamlPointerType.ProtoReflect.Descriptor instead.

func (*BamlPointerType) GetPointer added in v0.215.0

func (x *BamlPointerType) GetPointer() int64

func (*BamlPointerType) ProtoMessage added in v0.215.0

func (*BamlPointerType) ProtoMessage()

func (*BamlPointerType) ProtoReflect added in v0.215.0

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

func (*BamlPointerType) Reset added in v0.215.0

func (x *BamlPointerType) Reset()

func (*BamlPointerType) String added in v0.215.0

func (x *BamlPointerType) String() string

type CFFICheckType

type CFFICheckType struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFICheckType) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFICheckType.ProtoReflect.Descriptor instead.

func (*CFFICheckType) GetName added in v0.200.0

func (x *CFFICheckType) GetName() string

func (*CFFICheckType) ProtoMessage added in v0.200.0

func (*CFFICheckType) ProtoMessage()

func (*CFFICheckType) ProtoReflect added in v0.200.0

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

func (*CFFICheckType) Reset added in v0.200.0

func (x *CFFICheckType) Reset()

func (*CFFICheckType) String added in v0.200.0

func (x *CFFICheckType) String() string

type CFFICheckValue

type CFFICheckValue struct {
	Name       string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Expression string           `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"`
	Status     string           `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Value      *CFFIValueHolder `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFICheckValue) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFICheckValue.ProtoReflect.Descriptor instead.

func (*CFFICheckValue) GetExpression added in v0.200.0

func (x *CFFICheckValue) GetExpression() string

func (*CFFICheckValue) GetName added in v0.200.0

func (x *CFFICheckValue) GetName() string

func (*CFFICheckValue) GetStatus added in v0.200.0

func (x *CFFICheckValue) GetStatus() string

func (*CFFICheckValue) GetValue added in v0.200.0

func (x *CFFICheckValue) GetValue() *CFFIValueHolder

func (*CFFICheckValue) ProtoMessage added in v0.200.0

func (*CFFICheckValue) ProtoMessage()

func (*CFFICheckValue) ProtoReflect added in v0.200.0

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

func (*CFFICheckValue) Reset added in v0.200.0

func (x *CFFICheckValue) Reset()

func (*CFFICheckValue) String added in v0.200.0

func (x *CFFICheckValue) String() string

type CFFIFieldTypeAny added in v0.202.0

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

func (*CFFIFieldTypeAny) Descriptor deprecated added in v0.202.0

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

Deprecated: Use CFFIFieldTypeAny.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeAny) ProtoMessage added in v0.202.0

func (*CFFIFieldTypeAny) ProtoMessage()

func (*CFFIFieldTypeAny) ProtoReflect added in v0.202.0

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

func (*CFFIFieldTypeAny) Reset added in v0.202.0

func (x *CFFIFieldTypeAny) Reset()

func (*CFFIFieldTypeAny) String added in v0.202.0

func (x *CFFIFieldTypeAny) String() string

type CFFIFieldTypeBool

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

func (*CFFIFieldTypeBool) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeBool.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeBool) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeBool) ProtoMessage()

func (*CFFIFieldTypeBool) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeBool) Reset added in v0.200.0

func (x *CFFIFieldTypeBool) Reset()

func (*CFFIFieldTypeBool) String added in v0.200.0

func (x *CFFIFieldTypeBool) String() string

type CFFIFieldTypeChecked

type CFFIFieldTypeChecked struct {
	Value  *CFFIFieldTypeHolder `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Checks []*CFFICheckType     `protobuf:"bytes,2,rep,name=checks,proto3" json:"checks,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFIFieldTypeChecked) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeChecked.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeChecked) GetChecks added in v0.200.0

func (x *CFFIFieldTypeChecked) GetChecks() []*CFFICheckType

func (*CFFIFieldTypeChecked) GetValue added in v0.200.0

func (*CFFIFieldTypeChecked) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeChecked) ProtoMessage()

func (*CFFIFieldTypeChecked) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeChecked) Reset added in v0.200.0

func (x *CFFIFieldTypeChecked) Reset()

func (*CFFIFieldTypeChecked) String added in v0.200.0

func (x *CFFIFieldTypeChecked) String() string

type CFFIFieldTypeClass

type CFFIFieldTypeClass struct {
	Name *CFFITypeName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFIFieldTypeClass) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeClass.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeClass) GetName added in v0.200.0

func (x *CFFIFieldTypeClass) GetName() *CFFITypeName

func (*CFFIFieldTypeClass) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeClass) ProtoMessage()

func (*CFFIFieldTypeClass) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeClass) Reset added in v0.200.0

func (x *CFFIFieldTypeClass) Reset()

func (*CFFIFieldTypeClass) String added in v0.200.0

func (x *CFFIFieldTypeClass) String() string

type CFFIFieldTypeEnum

type CFFIFieldTypeEnum struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFIFieldTypeEnum) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeEnum.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeEnum) GetName added in v0.200.0

func (x *CFFIFieldTypeEnum) GetName() string

func (*CFFIFieldTypeEnum) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeEnum) ProtoMessage()

func (*CFFIFieldTypeEnum) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeEnum) Reset added in v0.200.0

func (x *CFFIFieldTypeEnum) Reset()

func (*CFFIFieldTypeEnum) String added in v0.200.0

func (x *CFFIFieldTypeEnum) String() string

type CFFIFieldTypeFloat

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

func (*CFFIFieldTypeFloat) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeFloat.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeFloat) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeFloat) ProtoMessage()

func (*CFFIFieldTypeFloat) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeFloat) Reset added in v0.200.0

func (x *CFFIFieldTypeFloat) Reset()

func (*CFFIFieldTypeFloat) String added in v0.200.0

func (x *CFFIFieldTypeFloat) String() string

type CFFIFieldTypeHolder

type CFFIFieldTypeHolder struct {

	// Types that are assignable to Type:
	//
	//	*CFFIFieldTypeHolder_StringType
	//	*CFFIFieldTypeHolder_IntType
	//	*CFFIFieldTypeHolder_FloatType
	//	*CFFIFieldTypeHolder_BoolType
	//	*CFFIFieldTypeHolder_NullType
	//	*CFFIFieldTypeHolder_LiteralType
	//	*CFFIFieldTypeHolder_MediaType
	//	*CFFIFieldTypeHolder_EnumType
	//	*CFFIFieldTypeHolder_ClassType
	//	*CFFIFieldTypeHolder_TypeAliasType
	//	*CFFIFieldTypeHolder_ListType
	//	*CFFIFieldTypeHolder_MapType
	//	*CFFIFieldTypeHolder_UnionVariantType
	//	*CFFIFieldTypeHolder_OptionalType
	//	*CFFIFieldTypeHolder_CheckedType
	//	*CFFIFieldTypeHolder_StreamStateType
	//	*CFFIFieldTypeHolder_AnyType
	Type isCFFIFieldTypeHolder_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

The wrapper message for CFFIFieldType.

func (*CFFIFieldTypeHolder) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeHolder.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeHolder) GetAnyType added in v0.202.0

func (x *CFFIFieldTypeHolder) GetAnyType() *CFFIFieldTypeAny

func (*CFFIFieldTypeHolder) GetBoolType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetBoolType() *CFFIFieldTypeBool

func (*CFFIFieldTypeHolder) GetCheckedType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetCheckedType() *CFFIFieldTypeChecked

func (*CFFIFieldTypeHolder) GetClassType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetClassType() *CFFIFieldTypeClass

func (*CFFIFieldTypeHolder) GetEnumType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetEnumType() *CFFIFieldTypeEnum

func (*CFFIFieldTypeHolder) GetFloatType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetFloatType() *CFFIFieldTypeFloat

func (*CFFIFieldTypeHolder) GetIntType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetIntType() *CFFIFieldTypeInt

func (*CFFIFieldTypeHolder) GetListType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetListType() *CFFIFieldTypeList

func (*CFFIFieldTypeHolder) GetLiteralType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetLiteralType() *CFFIFieldTypeLiteral

func (*CFFIFieldTypeHolder) GetMapType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetMapType() *CFFIFieldTypeMap

func (*CFFIFieldTypeHolder) GetMediaType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetMediaType() *CFFIFieldTypeMedia

func (*CFFIFieldTypeHolder) GetNullType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetNullType() *CFFIFieldTypeNull

func (*CFFIFieldTypeHolder) GetOptionalType added in v0.201.0

func (x *CFFIFieldTypeHolder) GetOptionalType() *CFFIFieldTypeOptional

func (*CFFIFieldTypeHolder) GetStreamStateType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetStreamStateType() *CFFIFieldTypeStreamState

func (*CFFIFieldTypeHolder) GetStringType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetStringType() *CFFIFieldTypeString

func (*CFFIFieldTypeHolder) GetType added in v0.200.0

func (m *CFFIFieldTypeHolder) GetType() isCFFIFieldTypeHolder_Type

func (*CFFIFieldTypeHolder) GetTypeAliasType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetTypeAliasType() *CFFIFieldTypeTypeAlias

func (*CFFIFieldTypeHolder) GetUnionVariantType added in v0.200.0

func (x *CFFIFieldTypeHolder) GetUnionVariantType() *CFFIFieldTypeUnionVariant

func (*CFFIFieldTypeHolder) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeHolder) ProtoMessage()

func (*CFFIFieldTypeHolder) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeHolder) Reset added in v0.200.0

func (x *CFFIFieldTypeHolder) Reset()

func (*CFFIFieldTypeHolder) String added in v0.200.0

func (x *CFFIFieldTypeHolder) String() string

type CFFIFieldTypeHolder_AnyType added in v0.202.0

type CFFIFieldTypeHolder_AnyType struct {
	AnyType *CFFIFieldTypeAny `protobuf:"bytes,18,opt,name=any_type,json=anyType,proto3,oneof"`
}

type CFFIFieldTypeHolder_BoolType added in v0.200.0

type CFFIFieldTypeHolder_BoolType struct {
	BoolType *CFFIFieldTypeBool `protobuf:"bytes,4,opt,name=bool_type,json=boolType,proto3,oneof"`
}

type CFFIFieldTypeHolder_CheckedType added in v0.200.0

type CFFIFieldTypeHolder_CheckedType struct {
	CheckedType *CFFIFieldTypeChecked `protobuf:"bytes,16,opt,name=checked_type,json=checkedType,proto3,oneof"`
}

type CFFIFieldTypeHolder_ClassType added in v0.200.0

type CFFIFieldTypeHolder_ClassType struct {
	ClassType *CFFIFieldTypeClass `protobuf:"bytes,9,opt,name=class_type,json=classType,proto3,oneof"`
}

type CFFIFieldTypeHolder_EnumType added in v0.200.0

type CFFIFieldTypeHolder_EnumType struct {
	EnumType *CFFIFieldTypeEnum `protobuf:"bytes,8,opt,name=enum_type,json=enumType,proto3,oneof"`
}

type CFFIFieldTypeHolder_FloatType added in v0.200.0

type CFFIFieldTypeHolder_FloatType struct {
	FloatType *CFFIFieldTypeFloat `protobuf:"bytes,3,opt,name=float_type,json=floatType,proto3,oneof"`
}

type CFFIFieldTypeHolder_IntType added in v0.200.0

type CFFIFieldTypeHolder_IntType struct {
	IntType *CFFIFieldTypeInt `protobuf:"bytes,2,opt,name=int_type,json=intType,proto3,oneof"`
}

type CFFIFieldTypeHolder_ListType added in v0.200.0

type CFFIFieldTypeHolder_ListType struct {
	ListType *CFFIFieldTypeList `protobuf:"bytes,11,opt,name=list_type,json=listType,proto3,oneof"`
}

type CFFIFieldTypeHolder_LiteralType added in v0.200.0

type CFFIFieldTypeHolder_LiteralType struct {
	LiteralType *CFFIFieldTypeLiteral `protobuf:"bytes,6,opt,name=literal_type,json=literalType,proto3,oneof"`
}

type CFFIFieldTypeHolder_MapType added in v0.200.0

type CFFIFieldTypeHolder_MapType struct {
	MapType *CFFIFieldTypeMap `protobuf:"bytes,12,opt,name=map_type,json=mapType,proto3,oneof"`
}

type CFFIFieldTypeHolder_MediaType added in v0.200.0

type CFFIFieldTypeHolder_MediaType struct {
	MediaType *CFFIFieldTypeMedia `protobuf:"bytes,7,opt,name=media_type,json=mediaType,proto3,oneof"`
}

type CFFIFieldTypeHolder_NullType added in v0.200.0

type CFFIFieldTypeHolder_NullType struct {
	NullType *CFFIFieldTypeNull `protobuf:"bytes,5,opt,name=null_type,json=nullType,proto3,oneof"`
}

type CFFIFieldTypeHolder_OptionalType added in v0.201.0

type CFFIFieldTypeHolder_OptionalType struct {
	OptionalType *CFFIFieldTypeOptional `protobuf:"bytes,15,opt,name=optional_type,json=optionalType,proto3,oneof"`
}

type CFFIFieldTypeHolder_StreamStateType added in v0.200.0

type CFFIFieldTypeHolder_StreamStateType struct {
	StreamStateType *CFFIFieldTypeStreamState `protobuf:"bytes,17,opt,name=stream_state_type,json=streamStateType,proto3,oneof"`
}

type CFFIFieldTypeHolder_StringType added in v0.200.0

type CFFIFieldTypeHolder_StringType struct {
	StringType *CFFIFieldTypeString `protobuf:"bytes,1,opt,name=string_type,json=stringType,proto3,oneof"`
}

type CFFIFieldTypeHolder_TypeAliasType added in v0.200.0

type CFFIFieldTypeHolder_TypeAliasType struct {
	TypeAliasType *CFFIFieldTypeTypeAlias `protobuf:"bytes,10,opt,name=type_alias_type,json=typeAliasType,proto3,oneof"`
}

type CFFIFieldTypeHolder_UnionVariantType added in v0.200.0

type CFFIFieldTypeHolder_UnionVariantType struct {
	UnionVariantType *CFFIFieldTypeUnionVariant `protobuf:"bytes,14,opt,name=union_variant_type,json=unionVariantType,proto3,oneof"`
}

type CFFIFieldTypeInt

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

func (*CFFIFieldTypeInt) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeInt.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeInt) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeInt) ProtoMessage()

func (*CFFIFieldTypeInt) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeInt) Reset added in v0.200.0

func (x *CFFIFieldTypeInt) Reset()

func (*CFFIFieldTypeInt) String added in v0.200.0

func (x *CFFIFieldTypeInt) String() string

type CFFIFieldTypeList

type CFFIFieldTypeList struct {
	ItemType *CFFIFieldTypeHolder `protobuf:"bytes,1,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFIFieldTypeList) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeList.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeList) GetItemType added in v0.215.0

func (x *CFFIFieldTypeList) GetItemType() *CFFIFieldTypeHolder

func (*CFFIFieldTypeList) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeList) ProtoMessage()

func (*CFFIFieldTypeList) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeList) Reset added in v0.200.0

func (x *CFFIFieldTypeList) Reset()

func (*CFFIFieldTypeList) String added in v0.200.0

func (x *CFFIFieldTypeList) String() string

type CFFIFieldTypeLiteral

type CFFIFieldTypeLiteral struct {

	// Types that are assignable to Literal:
	//
	//	*CFFIFieldTypeLiteral_StringLiteral
	//	*CFFIFieldTypeLiteral_IntLiteral
	//	*CFFIFieldTypeLiteral_BoolLiteral
	Literal isCFFIFieldTypeLiteral_Literal `protobuf_oneof:"literal"`
	// contains filtered or unexported fields
}

func (*CFFIFieldTypeLiteral) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeLiteral.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeLiteral) GetBoolLiteral added in v0.200.0

func (x *CFFIFieldTypeLiteral) GetBoolLiteral() *CFFILiteralBool

func (*CFFIFieldTypeLiteral) GetIntLiteral added in v0.200.0

func (x *CFFIFieldTypeLiteral) GetIntLiteral() *CFFILiteralInt

func (*CFFIFieldTypeLiteral) GetLiteral added in v0.200.0

func (m *CFFIFieldTypeLiteral) GetLiteral() isCFFIFieldTypeLiteral_Literal

func (*CFFIFieldTypeLiteral) GetStringLiteral added in v0.200.0

func (x *CFFIFieldTypeLiteral) GetStringLiteral() *CFFILiteralString

func (*CFFIFieldTypeLiteral) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeLiteral) ProtoMessage()

func (*CFFIFieldTypeLiteral) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeLiteral) Reset added in v0.200.0

func (x *CFFIFieldTypeLiteral) Reset()

func (*CFFIFieldTypeLiteral) String added in v0.200.0

func (x *CFFIFieldTypeLiteral) String() string

type CFFIFieldTypeLiteral_BoolLiteral added in v0.200.0

type CFFIFieldTypeLiteral_BoolLiteral struct {
	BoolLiteral *CFFILiteralBool `protobuf:"bytes,3,opt,name=bool_literal,json=boolLiteral,proto3,oneof"`
}

type CFFIFieldTypeLiteral_IntLiteral added in v0.200.0

type CFFIFieldTypeLiteral_IntLiteral struct {
	IntLiteral *CFFILiteralInt `protobuf:"bytes,2,opt,name=int_literal,json=intLiteral,proto3,oneof"`
}

type CFFIFieldTypeLiteral_StringLiteral added in v0.200.0

type CFFIFieldTypeLiteral_StringLiteral struct {
	StringLiteral *CFFILiteralString `protobuf:"bytes,1,opt,name=string_literal,json=stringLiteral,proto3,oneof"`
}

type CFFIFieldTypeMap

type CFFIFieldTypeMap struct {
	KeyType   *CFFIFieldTypeHolder `protobuf:"bytes,1,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty"`
	ValueType *CFFIFieldTypeHolder `protobuf:"bytes,2,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFIFieldTypeMap) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeMap.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeMap) GetKeyType added in v0.215.0

func (x *CFFIFieldTypeMap) GetKeyType() *CFFIFieldTypeHolder

func (*CFFIFieldTypeMap) GetValueType added in v0.215.0

func (x *CFFIFieldTypeMap) GetValueType() *CFFIFieldTypeHolder

func (*CFFIFieldTypeMap) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeMap) ProtoMessage()

func (*CFFIFieldTypeMap) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeMap) Reset added in v0.200.0

func (x *CFFIFieldTypeMap) Reset()

func (*CFFIFieldTypeMap) String added in v0.200.0

func (x *CFFIFieldTypeMap) String() string

type CFFIFieldTypeMedia

type CFFIFieldTypeMedia struct {
	Media MediaTypeEnum `protobuf:"varint,1,opt,name=media,proto3,enum=baml.cffi.v1.MediaTypeEnum" json:"media,omitempty"`
	// contains filtered or unexported fields
}

For Media, reuse the CFFIMediaType message.

func (*CFFIFieldTypeMedia) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeMedia.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeMedia) GetMedia added in v0.200.0

func (x *CFFIFieldTypeMedia) GetMedia() MediaTypeEnum

func (*CFFIFieldTypeMedia) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeMedia) ProtoMessage()

func (*CFFIFieldTypeMedia) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeMedia) Reset added in v0.200.0

func (x *CFFIFieldTypeMedia) Reset()

func (*CFFIFieldTypeMedia) String added in v0.200.0

func (x *CFFIFieldTypeMedia) String() string

type CFFIFieldTypeNull

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

func (*CFFIFieldTypeNull) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeNull.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeNull) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeNull) ProtoMessage()

func (*CFFIFieldTypeNull) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeNull) Reset added in v0.200.0

func (x *CFFIFieldTypeNull) Reset()

func (*CFFIFieldTypeNull) String added in v0.200.0

func (x *CFFIFieldTypeNull) String() string

type CFFIFieldTypeOptional added in v0.201.0

type CFFIFieldTypeOptional struct {
	Value *CFFIFieldTypeHolder `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFIFieldTypeOptional) Descriptor deprecated added in v0.201.0

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

Deprecated: Use CFFIFieldTypeOptional.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeOptional) GetValue added in v0.201.0

func (*CFFIFieldTypeOptional) ProtoMessage added in v0.201.0

func (*CFFIFieldTypeOptional) ProtoMessage()

func (*CFFIFieldTypeOptional) ProtoReflect added in v0.201.0

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

func (*CFFIFieldTypeOptional) Reset added in v0.201.0

func (x *CFFIFieldTypeOptional) Reset()

func (*CFFIFieldTypeOptional) String added in v0.201.0

func (x *CFFIFieldTypeOptional) String() string

type CFFIFieldTypeStreamState

type CFFIFieldTypeStreamState struct {
	Value *CFFIFieldTypeHolder `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFIFieldTypeStreamState) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeStreamState.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeStreamState) GetValue added in v0.200.0

func (*CFFIFieldTypeStreamState) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeStreamState) ProtoMessage()

func (*CFFIFieldTypeStreamState) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeStreamState) Reset added in v0.200.0

func (x *CFFIFieldTypeStreamState) Reset()

func (*CFFIFieldTypeStreamState) String added in v0.200.0

func (x *CFFIFieldTypeStreamState) String() string

type CFFIFieldTypeString

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

Simple marker messages for primitive types.

func (*CFFIFieldTypeString) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeString.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeString) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeString) ProtoMessage()

func (*CFFIFieldTypeString) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeString) Reset added in v0.200.0

func (x *CFFIFieldTypeString) Reset()

func (*CFFIFieldTypeString) String added in v0.200.0

func (x *CFFIFieldTypeString) String() string

type CFFIFieldTypeTypeAlias

type CFFIFieldTypeTypeAlias struct {
	Name *CFFITypeName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFIFieldTypeTypeAlias) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeTypeAlias.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeTypeAlias) GetName added in v0.200.0

func (x *CFFIFieldTypeTypeAlias) GetName() *CFFITypeName

func (*CFFIFieldTypeTypeAlias) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeTypeAlias) ProtoMessage()

func (*CFFIFieldTypeTypeAlias) ProtoReflect added in v0.200.0

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

func (*CFFIFieldTypeTypeAlias) Reset added in v0.200.0

func (x *CFFIFieldTypeTypeAlias) Reset()

func (*CFFIFieldTypeTypeAlias) String added in v0.200.0

func (x *CFFIFieldTypeTypeAlias) String() string

type CFFIFieldTypeUnionVariant

type CFFIFieldTypeUnionVariant struct {
	Name *CFFITypeName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFIFieldTypeUnionVariant) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIFieldTypeUnionVariant.ProtoReflect.Descriptor instead.

func (*CFFIFieldTypeUnionVariant) GetName added in v0.201.0

func (*CFFIFieldTypeUnionVariant) ProtoMessage added in v0.200.0

func (*CFFIFieldTypeUnionVariant) ProtoMessage()

func (*CFFIFieldTypeUnionVariant) ProtoReflect added in v0.200.0

func (*CFFIFieldTypeUnionVariant) Reset added in v0.200.0

func (x *CFFIFieldTypeUnionVariant) Reset()

func (*CFFIFieldTypeUnionVariant) String added in v0.200.0

func (x *CFFIFieldTypeUnionVariant) String() string

type CFFILiteralBool

type CFFILiteralBool struct {
	Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFILiteralBool) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFILiteralBool.ProtoReflect.Descriptor instead.

func (*CFFILiteralBool) GetValue added in v0.200.0

func (x *CFFILiteralBool) GetValue() bool

func (*CFFILiteralBool) ProtoMessage added in v0.200.0

func (*CFFILiteralBool) ProtoMessage()

func (*CFFILiteralBool) ProtoReflect added in v0.200.0

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

func (*CFFILiteralBool) Reset added in v0.200.0

func (x *CFFILiteralBool) Reset()

func (*CFFILiteralBool) String added in v0.200.0

func (x *CFFILiteralBool) String() string

type CFFILiteralInt

type CFFILiteralInt struct {
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFILiteralInt) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFILiteralInt.ProtoReflect.Descriptor instead.

func (*CFFILiteralInt) GetValue added in v0.200.0

func (x *CFFILiteralInt) GetValue() int64

func (*CFFILiteralInt) ProtoMessage added in v0.200.0

func (*CFFILiteralInt) ProtoMessage()

func (*CFFILiteralInt) ProtoReflect added in v0.200.0

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

func (*CFFILiteralInt) Reset added in v0.200.0

func (x *CFFILiteralInt) Reset()

func (*CFFILiteralInt) String added in v0.200.0

func (x *CFFILiteralInt) String() string

type CFFILiteralString

type CFFILiteralString struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Literal: wraps a literal oneof.

func (*CFFILiteralString) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFILiteralString.ProtoReflect.Descriptor instead.

func (*CFFILiteralString) GetValue added in v0.200.0

func (x *CFFILiteralString) GetValue() string

func (*CFFILiteralString) ProtoMessage added in v0.200.0

func (*CFFILiteralString) ProtoMessage()

func (*CFFILiteralString) ProtoReflect added in v0.200.0

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

func (*CFFILiteralString) Reset added in v0.200.0

func (x *CFFILiteralString) Reset()

func (*CFFILiteralString) String added in v0.200.0

func (x *CFFILiteralString) String() string

type CFFIMapEntry

type CFFIMapEntry struct {
	Key   string           `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value *CFFIValueHolder `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

A helper message to represent map entries (used also in Class).

func (*CFFIMapEntry) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIMapEntry.ProtoReflect.Descriptor instead.

func (*CFFIMapEntry) GetKey added in v0.200.0

func (x *CFFIMapEntry) GetKey() string

func (*CFFIMapEntry) GetValue added in v0.200.0

func (x *CFFIMapEntry) GetValue() *CFFIValueHolder

func (*CFFIMapEntry) ProtoMessage added in v0.200.0

func (*CFFIMapEntry) ProtoMessage()

func (*CFFIMapEntry) ProtoReflect added in v0.200.0

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

func (*CFFIMapEntry) Reset added in v0.200.0

func (x *CFFIMapEntry) Reset()

func (*CFFIMapEntry) String added in v0.200.0

func (x *CFFIMapEntry) String() string

type CFFIStreamState

type CFFIStreamState int32
const (
	CFFIStreamState_PENDING CFFIStreamState = 0
	CFFIStreamState_STARTED CFFIStreamState = 1
	CFFIStreamState_DONE    CFFIStreamState = 2
)

func (CFFIStreamState) Descriptor added in v0.200.0

func (CFFIStreamState) Enum added in v0.200.0

func (x CFFIStreamState) Enum() *CFFIStreamState

func (CFFIStreamState) EnumDescriptor deprecated added in v0.200.0

func (CFFIStreamState) EnumDescriptor() ([]byte, []int)

Deprecated: Use CFFIStreamState.Descriptor instead.

func (CFFIStreamState) Number added in v0.200.0

func (CFFIStreamState) String

func (x CFFIStreamState) String() string

func (CFFIStreamState) Type added in v0.200.0

type CFFITypeName added in v0.200.0

type CFFITypeName struct {
	Namespace CFFITypeNamespace `protobuf:"varint,1,opt,name=namespace,proto3,enum=baml.cffi.v1.CFFITypeNamespace" json:"namespace,omitempty"`
	// the name of the type
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

wrapper for the name of a type

func (*CFFITypeName) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFITypeName.ProtoReflect.Descriptor instead.

func (*CFFITypeName) GetName added in v0.200.0

func (x *CFFITypeName) GetName() string

func (*CFFITypeName) GetNamespace added in v0.200.0

func (x *CFFITypeName) GetNamespace() CFFITypeNamespace

func (*CFFITypeName) ProtoMessage added in v0.200.0

func (*CFFITypeName) ProtoMessage()

func (*CFFITypeName) ProtoReflect added in v0.200.0

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

func (*CFFITypeName) Reset added in v0.200.0

func (x *CFFITypeName) Reset()

func (*CFFITypeName) String added in v0.200.0

func (x *CFFITypeName) String() string

type CFFITypeNamespace added in v0.200.0

type CFFITypeNamespace int32
const (
	CFFITypeNamespace_INTERNAL           CFFITypeNamespace = 0
	CFFITypeNamespace_TYPES              CFFITypeNamespace = 1
	CFFITypeNamespace_STREAM_TYPES       CFFITypeNamespace = 2
	CFFITypeNamespace_STREAM_STATE_TYPES CFFITypeNamespace = 3
	CFFITypeNamespace_CHECKED_TYPES      CFFITypeNamespace = 4
)

func (CFFITypeNamespace) Descriptor added in v0.200.0

func (CFFITypeNamespace) Enum added in v0.200.0

func (CFFITypeNamespace) EnumDescriptor deprecated added in v0.200.0

func (CFFITypeNamespace) EnumDescriptor() ([]byte, []int)

Deprecated: Use CFFITypeNamespace.Descriptor instead.

func (CFFITypeNamespace) Number added in v0.200.0

func (CFFITypeNamespace) String added in v0.200.0

func (x CFFITypeNamespace) String() string

func (CFFITypeNamespace) Type added in v0.200.0

type CFFIValueChecked

type CFFIValueChecked struct {
	Name   *CFFITypeName     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value  *CFFIValueHolder  `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Checks []*CFFICheckValue `protobuf:"bytes,3,rep,name=checks,proto3" json:"checks,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFIValueChecked) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIValueChecked.ProtoReflect.Descriptor instead.

func (*CFFIValueChecked) GetChecks added in v0.200.0

func (x *CFFIValueChecked) GetChecks() []*CFFICheckValue

func (*CFFIValueChecked) GetName added in v0.215.0

func (x *CFFIValueChecked) GetName() *CFFITypeName

func (*CFFIValueChecked) GetValue added in v0.200.0

func (x *CFFIValueChecked) GetValue() *CFFIValueHolder

func (*CFFIValueChecked) ProtoMessage added in v0.200.0

func (*CFFIValueChecked) ProtoMessage()

func (*CFFIValueChecked) ProtoReflect added in v0.200.0

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

func (*CFFIValueChecked) Reset added in v0.200.0

func (x *CFFIValueChecked) Reset()

func (*CFFIValueChecked) String added in v0.200.0

func (x *CFFIValueChecked) String() string

type CFFIValueClass

type CFFIValueClass struct {
	Name   *CFFITypeName   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Fields []*CFFIMapEntry `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFIValueClass) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIValueClass.ProtoReflect.Descriptor instead.

func (*CFFIValueClass) GetFields added in v0.200.0

func (x *CFFIValueClass) GetFields() []*CFFIMapEntry

func (*CFFIValueClass) GetName added in v0.200.0

func (x *CFFIValueClass) GetName() *CFFITypeName

func (*CFFIValueClass) ProtoMessage added in v0.200.0

func (*CFFIValueClass) ProtoMessage()

func (*CFFIValueClass) ProtoReflect added in v0.200.0

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

func (*CFFIValueClass) Reset added in v0.200.0

func (x *CFFIValueClass) Reset()

func (*CFFIValueClass) String added in v0.200.0

func (x *CFFIValueClass) String() string

type CFFIValueEnum

type CFFIValueEnum struct {
	Name      *CFFITypeName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value     string        `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	IsDynamic bool          `protobuf:"varint,3,opt,name=is_dynamic,json=isDynamic,proto3" json:"is_dynamic,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFIValueEnum) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIValueEnum.ProtoReflect.Descriptor instead.

func (*CFFIValueEnum) GetIsDynamic added in v0.200.0

func (x *CFFIValueEnum) GetIsDynamic() bool

func (*CFFIValueEnum) GetName added in v0.200.0

func (x *CFFIValueEnum) GetName() *CFFITypeName

func (*CFFIValueEnum) GetValue added in v0.200.0

func (x *CFFIValueEnum) GetValue() string

func (*CFFIValueEnum) ProtoMessage added in v0.200.0

func (*CFFIValueEnum) ProtoMessage()

func (*CFFIValueEnum) ProtoReflect added in v0.200.0

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

func (*CFFIValueEnum) Reset added in v0.200.0

func (x *CFFIValueEnum) Reset()

func (*CFFIValueEnum) String added in v0.200.0

func (x *CFFIValueEnum) String() string

type CFFIValueHolder

type CFFIValueHolder struct {

	// we must include this because we might be a "string"
	// but in a container type like (string | int) and some languages
	// require we decode this.
	//
	// Required for BAML -> CFFI
	// But not for CFFI -> BAML (BAML always does type validation again at
	// boundaries)
	//
	// Types that are assignable to Value:
	//
	//	*CFFIValueHolder_NullValue
	//	*CFFIValueHolder_StringValue
	//	*CFFIValueHolder_IntValue
	//	*CFFIValueHolder_FloatValue
	//	*CFFIValueHolder_BoolValue
	//	*CFFIValueHolder_ClassValue
	//	*CFFIValueHolder_EnumValue
	//	*CFFIValueHolder_LiteralValue
	//	*CFFIValueHolder_ObjectValue
	//	*CFFIValueHolder_ListValue
	//	*CFFIValueHolder_MapValue
	//	*CFFIValueHolder_UnionVariantValue
	//	*CFFIValueHolder_CheckedValue
	//	*CFFIValueHolder_StreamingStateValue
	Value isCFFIValueHolder_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

The wrapper message for CFFIValue.

func (*CFFIValueHolder) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIValueHolder.ProtoReflect.Descriptor instead.

func (*CFFIValueHolder) GetBoolValue added in v0.200.0

func (x *CFFIValueHolder) GetBoolValue() bool

func (*CFFIValueHolder) GetCheckedValue added in v0.200.0

func (x *CFFIValueHolder) GetCheckedValue() *CFFIValueChecked

func (*CFFIValueHolder) GetClassValue added in v0.200.0

func (x *CFFIValueHolder) GetClassValue() *CFFIValueClass

func (*CFFIValueHolder) GetEnumValue added in v0.200.0

func (x *CFFIValueHolder) GetEnumValue() *CFFIValueEnum

func (*CFFIValueHolder) GetFloatValue added in v0.200.0

func (x *CFFIValueHolder) GetFloatValue() float64

func (*CFFIValueHolder) GetIntValue added in v0.200.0

func (x *CFFIValueHolder) GetIntValue() int64

func (*CFFIValueHolder) GetListValue added in v0.200.0

func (x *CFFIValueHolder) GetListValue() *CFFIValueList

func (*CFFIValueHolder) GetLiteralValue added in v0.215.0

func (x *CFFIValueHolder) GetLiteralValue() *CFFIFieldTypeLiteral

func (*CFFIValueHolder) GetMapValue added in v0.200.0

func (x *CFFIValueHolder) GetMapValue() *CFFIValueMap

func (*CFFIValueHolder) GetNullValue added in v0.200.0

func (x *CFFIValueHolder) GetNullValue() *CFFIValueNull

func (*CFFIValueHolder) GetObjectValue added in v0.204.0

func (x *CFFIValueHolder) GetObjectValue() *CFFIValueRawObject

func (*CFFIValueHolder) GetStreamingStateValue added in v0.200.0

func (x *CFFIValueHolder) GetStreamingStateValue() *CFFIValueStreamingState

func (*CFFIValueHolder) GetStringValue added in v0.200.0

func (x *CFFIValueHolder) GetStringValue() string

func (*CFFIValueHolder) GetUnionVariantValue added in v0.200.0

func (x *CFFIValueHolder) GetUnionVariantValue() *CFFIValueUnionVariant

func (*CFFIValueHolder) GetValue added in v0.200.0

func (m *CFFIValueHolder) GetValue() isCFFIValueHolder_Value

func (*CFFIValueHolder) ProtoMessage added in v0.200.0

func (*CFFIValueHolder) ProtoMessage()

func (*CFFIValueHolder) ProtoReflect added in v0.200.0

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

func (*CFFIValueHolder) Reset added in v0.200.0

func (x *CFFIValueHolder) Reset()

func (*CFFIValueHolder) String added in v0.200.0

func (x *CFFIValueHolder) String() string

type CFFIValueHolder_BoolValue added in v0.200.0

type CFFIValueHolder_BoolValue struct {
	BoolValue bool `protobuf:"varint,6,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type CFFIValueHolder_CheckedValue added in v0.200.0

type CFFIValueHolder_CheckedValue struct {
	CheckedValue *CFFIValueChecked `protobuf:"bytes,14,opt,name=checked_value,json=checkedValue,proto3,oneof"`
}

type CFFIValueHolder_ClassValue added in v0.200.0

type CFFIValueHolder_ClassValue struct {
	ClassValue *CFFIValueClass `protobuf:"bytes,7,opt,name=class_value,json=classValue,proto3,oneof"`
}

type CFFIValueHolder_EnumValue added in v0.200.0

type CFFIValueHolder_EnumValue struct {
	EnumValue *CFFIValueEnum `protobuf:"bytes,8,opt,name=enum_value,json=enumValue,proto3,oneof"`
}

type CFFIValueHolder_FloatValue added in v0.200.0

type CFFIValueHolder_FloatValue struct {
	FloatValue float64 `protobuf:"fixed64,5,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type CFFIValueHolder_IntValue added in v0.200.0

type CFFIValueHolder_IntValue struct {
	IntValue int64 `protobuf:"varint,4,opt,name=int_value,json=intValue,proto3,oneof"`
}

type CFFIValueHolder_ListValue added in v0.200.0

type CFFIValueHolder_ListValue struct {
	// Container types
	ListValue *CFFIValueList `protobuf:"bytes,11,opt,name=list_value,json=listValue,proto3,oneof"`
}

type CFFIValueHolder_LiteralValue added in v0.215.0

type CFFIValueHolder_LiteralValue struct {
	LiteralValue *CFFIFieldTypeLiteral `protobuf:"bytes,9,opt,name=literal_value,json=literalValue,proto3,oneof"`
}

type CFFIValueHolder_MapValue added in v0.200.0

type CFFIValueHolder_MapValue struct {
	MapValue *CFFIValueMap `protobuf:"bytes,12,opt,name=map_value,json=mapValue,proto3,oneof"`
}

type CFFIValueHolder_NullValue added in v0.200.0

type CFFIValueHolder_NullValue struct {
	NullValue *CFFIValueNull `protobuf:"bytes,2,opt,name=null_value,json=nullValue,proto3,oneof"`
}

type CFFIValueHolder_ObjectValue added in v0.204.0

type CFFIValueHolder_ObjectValue struct {
	ObjectValue *CFFIValueRawObject `protobuf:"bytes,10,opt,name=object_value,json=objectValue,proto3,oneof"`
}

type CFFIValueHolder_StreamingStateValue added in v0.200.0

type CFFIValueHolder_StreamingStateValue struct {
	StreamingStateValue *CFFIValueStreamingState `protobuf:"bytes,15,opt,name=streaming_state_value,json=streamingStateValue,proto3,oneof"`
}

type CFFIValueHolder_StringValue added in v0.200.0

type CFFIValueHolder_StringValue struct {
	StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type CFFIValueHolder_UnionVariantValue added in v0.200.0

type CFFIValueHolder_UnionVariantValue struct {
	UnionVariantValue *CFFIValueUnionVariant `protobuf:"bytes,13,opt,name=union_variant_value,json=unionVariantValue,proto3,oneof"`
}

type CFFIValueList

type CFFIValueList struct {
	ItemType *CFFIFieldTypeHolder `protobuf:"bytes,1,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"`
	Items    []*CFFIValueHolder   `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Each variant as a message.

func (*CFFIValueList) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIValueList.ProtoReflect.Descriptor instead.

func (*CFFIValueList) GetItemType added in v0.215.0

func (x *CFFIValueList) GetItemType() *CFFIFieldTypeHolder

func (*CFFIValueList) GetItems added in v0.215.0

func (x *CFFIValueList) GetItems() []*CFFIValueHolder

func (*CFFIValueList) ProtoMessage added in v0.200.0

func (*CFFIValueList) ProtoMessage()

func (*CFFIValueList) ProtoReflect added in v0.200.0

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

func (*CFFIValueList) Reset added in v0.200.0

func (x *CFFIValueList) Reset()

func (*CFFIValueList) String added in v0.200.0

func (x *CFFIValueList) String() string

type CFFIValueMap

type CFFIValueMap struct {
	KeyType   *CFFIFieldTypeHolder `protobuf:"bytes,1,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty"`
	ValueType *CFFIFieldTypeHolder `protobuf:"bytes,2,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"`
	Entries   []*CFFIMapEntry      `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*CFFIValueMap) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIValueMap.ProtoReflect.Descriptor instead.

func (*CFFIValueMap) GetEntries added in v0.200.0

func (x *CFFIValueMap) GetEntries() []*CFFIMapEntry

func (*CFFIValueMap) GetKeyType added in v0.200.0

func (x *CFFIValueMap) GetKeyType() *CFFIFieldTypeHolder

func (*CFFIValueMap) GetValueType added in v0.200.0

func (x *CFFIValueMap) GetValueType() *CFFIFieldTypeHolder

func (*CFFIValueMap) ProtoMessage added in v0.200.0

func (*CFFIValueMap) ProtoMessage()

func (*CFFIValueMap) ProtoReflect added in v0.200.0

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

func (*CFFIValueMap) Reset added in v0.200.0

func (x *CFFIValueMap) Reset()

func (*CFFIValueMap) String added in v0.200.0

func (x *CFFIValueMap) String() string

type CFFIValueNull added in v0.200.0

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

func (*CFFIValueNull) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIValueNull.ProtoReflect.Descriptor instead.

func (*CFFIValueNull) ProtoMessage added in v0.200.0

func (*CFFIValueNull) ProtoMessage()

func (*CFFIValueNull) ProtoReflect added in v0.200.0

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

func (*CFFIValueNull) Reset added in v0.200.0

func (x *CFFIValueNull) Reset()

func (*CFFIValueNull) String added in v0.200.0

func (x *CFFIValueNull) String() string

type CFFIValueRawObject added in v0.204.0

type CFFIValueRawObject struct {

	// Types that are assignable to Object:
	//
	//	*CFFIValueRawObject_Media
	//	*CFFIValueRawObject_Type
	Object isCFFIValueRawObject_Object `protobuf_oneof:"object"`
	// contains filtered or unexported fields
}

func (*CFFIValueRawObject) Descriptor deprecated added in v0.204.0

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

Deprecated: Use CFFIValueRawObject.ProtoReflect.Descriptor instead.

func (*CFFIValueRawObject) GetMedia added in v0.204.0

func (x *CFFIValueRawObject) GetMedia() *BamlObjectHandle

func (*CFFIValueRawObject) GetObject added in v0.204.0

func (m *CFFIValueRawObject) GetObject() isCFFIValueRawObject_Object

func (*CFFIValueRawObject) GetType added in v0.204.0

func (x *CFFIValueRawObject) GetType() *BamlObjectHandle

func (*CFFIValueRawObject) ProtoMessage added in v0.204.0

func (*CFFIValueRawObject) ProtoMessage()

func (*CFFIValueRawObject) ProtoReflect added in v0.204.0

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

func (*CFFIValueRawObject) Reset added in v0.204.0

func (x *CFFIValueRawObject) Reset()

func (*CFFIValueRawObject) String added in v0.204.0

func (x *CFFIValueRawObject) String() string

type CFFIValueRawObject_Media added in v0.204.0

type CFFIValueRawObject_Media struct {
	Media *BamlObjectHandle `protobuf:"bytes,1,opt,name=media,proto3,oneof"`
}

type CFFIValueRawObject_Type added in v0.204.0

type CFFIValueRawObject_Type struct {
	Type *BamlObjectHandle `protobuf:"bytes,2,opt,name=type,proto3,oneof"`
}

type CFFIValueStreamingState

type CFFIValueStreamingState struct {
	Value *CFFIValueHolder `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	State CFFIStreamState  `protobuf:"varint,2,opt,name=state,proto3,enum=baml.cffi.v1.CFFIStreamState" json:"state,omitempty"`
	Name  *CFFITypeName    `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The wrapper message for CFFIValue.

func (*CFFIValueStreamingState) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIValueStreamingState.ProtoReflect.Descriptor instead.

func (*CFFIValueStreamingState) GetName added in v0.215.0

func (x *CFFIValueStreamingState) GetName() *CFFITypeName

func (*CFFIValueStreamingState) GetState added in v0.200.0

func (*CFFIValueStreamingState) GetValue added in v0.200.0

func (*CFFIValueStreamingState) ProtoMessage added in v0.200.0

func (*CFFIValueStreamingState) ProtoMessage()

func (*CFFIValueStreamingState) ProtoReflect added in v0.200.0

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

func (*CFFIValueStreamingState) Reset added in v0.200.0

func (x *CFFIValueStreamingState) Reset()

func (*CFFIValueStreamingState) String added in v0.200.0

func (x *CFFIValueStreamingState) String() string

type CFFIValueUnionVariant

type CFFIValueUnionVariant struct {
	Name            *CFFITypeName        `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	IsOptional      bool                 `protobuf:"varint,2,opt,name=is_optional,json=isOptional,proto3" json:"is_optional,omitempty"`
	IsSinglePattern bool                 `protobuf:"varint,3,opt,name=is_single_pattern,json=isSinglePattern,proto3" json:"is_single_pattern,omitempty"`
	SelfType        *CFFIFieldTypeHolder `protobuf:"bytes,4,opt,name=self_type,json=selfType,proto3" json:"self_type,omitempty"`
	ValueOptionName string               `protobuf:"bytes,5,opt,name=value_option_name,json=valueOptionName,proto3" json:"value_option_name,omitempty"`
	Value           *CFFIValueHolder     `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

For the Rust variant `Union(Vec<CFFIFieldType>, Box<CFFIValue>)`

func (*CFFIValueUnionVariant) Descriptor deprecated added in v0.200.0

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

Deprecated: Use CFFIValueUnionVariant.ProtoReflect.Descriptor instead.

func (*CFFIValueUnionVariant) GetIsOptional added in v0.215.0

func (x *CFFIValueUnionVariant) GetIsOptional() bool

func (*CFFIValueUnionVariant) GetIsSinglePattern added in v0.215.0

func (x *CFFIValueUnionVariant) GetIsSinglePattern() bool

func (*CFFIValueUnionVariant) GetName added in v0.200.0

func (x *CFFIValueUnionVariant) GetName() *CFFITypeName

func (*CFFIValueUnionVariant) GetSelfType added in v0.215.0

func (x *CFFIValueUnionVariant) GetSelfType() *CFFIFieldTypeHolder

func (*CFFIValueUnionVariant) GetValue added in v0.200.0

func (x *CFFIValueUnionVariant) GetValue() *CFFIValueHolder

func (*CFFIValueUnionVariant) GetValueOptionName added in v0.215.0

func (x *CFFIValueUnionVariant) GetValueOptionName() string

func (*CFFIValueUnionVariant) ProtoMessage added in v0.200.0

func (*CFFIValueUnionVariant) ProtoMessage()

func (*CFFIValueUnionVariant) ProtoReflect added in v0.200.0

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

func (*CFFIValueUnionVariant) Reset added in v0.200.0

func (x *CFFIValueUnionVariant) Reset()

func (*CFFIValueUnionVariant) String added in v0.200.0

func (x *CFFIValueUnionVariant) String() string

type HostClassValue added in v0.215.0

type HostClassValue struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// fields with implict/default values can be omitted
	// this includes null values
	Fields []*HostMapEntry `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*HostClassValue) Descriptor deprecated added in v0.215.0

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

Deprecated: Use HostClassValue.ProtoReflect.Descriptor instead.

func (*HostClassValue) GetFields added in v0.215.0

func (x *HostClassValue) GetFields() []*HostMapEntry

func (*HostClassValue) GetName added in v0.215.0

func (x *HostClassValue) GetName() string

func (*HostClassValue) ProtoMessage added in v0.215.0

func (*HostClassValue) ProtoMessage()

func (*HostClassValue) ProtoReflect added in v0.215.0

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

func (*HostClassValue) Reset added in v0.215.0

func (x *HostClassValue) Reset()

func (*HostClassValue) String added in v0.215.0

func (x *HostClassValue) String() string

type HostClientProperty added in v0.215.0

type HostClientProperty struct {
	Name        string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Provider    string          `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	RetryPolicy *string         `protobuf:"bytes,3,opt,name=retry_policy,json=retryPolicy,proto3,oneof" json:"retry_policy,omitempty"`
	Options     []*HostMapEntry `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*HostClientProperty) Descriptor deprecated added in v0.215.0

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

Deprecated: Use HostClientProperty.ProtoReflect.Descriptor instead.

func (*HostClientProperty) GetName added in v0.215.0

func (x *HostClientProperty) GetName() string

func (*HostClientProperty) GetOptions added in v0.215.0

func (x *HostClientProperty) GetOptions() []*HostMapEntry

func (*HostClientProperty) GetProvider added in v0.215.0

func (x *HostClientProperty) GetProvider() string

func (*HostClientProperty) GetRetryPolicy added in v0.215.0

func (x *HostClientProperty) GetRetryPolicy() string

func (*HostClientProperty) ProtoMessage added in v0.215.0

func (*HostClientProperty) ProtoMessage()

func (*HostClientProperty) ProtoReflect added in v0.215.0

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

func (*HostClientProperty) Reset added in v0.215.0

func (x *HostClientProperty) Reset()

func (*HostClientProperty) String added in v0.215.0

func (x *HostClientProperty) String() string

type HostClientRegistry added in v0.215.0

type HostClientRegistry struct {
	Primary *string               `protobuf:"bytes,1,opt,name=primary,proto3,oneof" json:"primary,omitempty"`
	Clients []*HostClientProperty `protobuf:"bytes,2,rep,name=clients,proto3" json:"clients,omitempty"`
	// contains filtered or unexported fields
}

func (*HostClientRegistry) Descriptor deprecated added in v0.215.0

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

Deprecated: Use HostClientRegistry.ProtoReflect.Descriptor instead.

func (*HostClientRegistry) GetClients added in v0.215.0

func (x *HostClientRegistry) GetClients() []*HostClientProperty

func (*HostClientRegistry) GetPrimary added in v0.215.0

func (x *HostClientRegistry) GetPrimary() string

func (*HostClientRegistry) ProtoMessage added in v0.215.0

func (*HostClientRegistry) ProtoMessage()

func (*HostClientRegistry) ProtoReflect added in v0.215.0

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

func (*HostClientRegistry) Reset added in v0.215.0

func (x *HostClientRegistry) Reset()

func (*HostClientRegistry) String added in v0.215.0

func (x *HostClientRegistry) String() string

type HostEnumValue added in v0.215.0

type HostEnumValue struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*HostEnumValue) Descriptor deprecated added in v0.215.0

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

Deprecated: Use HostEnumValue.ProtoReflect.Descriptor instead.

func (*HostEnumValue) GetName added in v0.215.0

func (x *HostEnumValue) GetName() string

func (*HostEnumValue) GetValue added in v0.215.0

func (x *HostEnumValue) GetValue() string

func (*HostEnumValue) ProtoMessage added in v0.215.0

func (*HostEnumValue) ProtoMessage()

func (*HostEnumValue) ProtoReflect added in v0.215.0

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

func (*HostEnumValue) Reset added in v0.215.0

func (x *HostEnumValue) Reset()

func (*HostEnumValue) String added in v0.215.0

func (x *HostEnumValue) String() string

type HostEnvVar added in v0.215.0

type HostEnvVar struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*HostEnvVar) Descriptor deprecated added in v0.215.0

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

Deprecated: Use HostEnvVar.ProtoReflect.Descriptor instead.

func (*HostEnvVar) GetKey added in v0.215.0

func (x *HostEnvVar) GetKey() string

func (*HostEnvVar) GetValue added in v0.215.0

func (x *HostEnvVar) GetValue() string

func (*HostEnvVar) ProtoMessage added in v0.215.0

func (*HostEnvVar) ProtoMessage()

func (*HostEnvVar) ProtoReflect added in v0.215.0

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

func (*HostEnvVar) Reset added in v0.215.0

func (x *HostEnvVar) Reset()

func (*HostEnvVar) String added in v0.215.0

func (x *HostEnvVar) String() string

type HostFunctionArguments added in v0.215.0

type HostFunctionArguments struct {

	// named function arguments
	Kwargs         []*HostMapEntry     `protobuf:"bytes,1,rep,name=kwargs,proto3" json:"kwargs,omitempty"`
	ClientRegistry *HostClientRegistry `protobuf:"bytes,2,opt,name=client_registry,json=clientRegistry,proto3" json:"client_registry,omitempty"`
	Env            []*HostEnvVar       `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"`
	// collectors only
	Collectors []*BamlObjectHandle `protobuf:"bytes,4,rep,name=collectors,proto3" json:"collectors,omitempty"`
	// type builder only
	TypeBuilder *BamlObjectHandle `protobuf:"bytes,5,opt,name=type_builder,json=typeBuilder,proto3" json:"type_builder,omitempty"`
	// tags
	Tags []*HostMapEntry `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*HostFunctionArguments) Descriptor deprecated added in v0.215.0

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

Deprecated: Use HostFunctionArguments.ProtoReflect.Descriptor instead.

func (*HostFunctionArguments) GetClientRegistry added in v0.215.0

func (x *HostFunctionArguments) GetClientRegistry() *HostClientRegistry

func (*HostFunctionArguments) GetCollectors added in v0.215.0

func (x *HostFunctionArguments) GetCollectors() []*BamlObjectHandle

func (*HostFunctionArguments) GetEnv added in v0.215.0

func (x *HostFunctionArguments) GetEnv() []*HostEnvVar

func (*HostFunctionArguments) GetKwargs added in v0.215.0

func (x *HostFunctionArguments) GetKwargs() []*HostMapEntry

func (*HostFunctionArguments) GetTags added in v0.215.0

func (x *HostFunctionArguments) GetTags() []*HostMapEntry

func (*HostFunctionArguments) GetTypeBuilder added in v0.215.0

func (x *HostFunctionArguments) GetTypeBuilder() *BamlObjectHandle

func (*HostFunctionArguments) ProtoMessage added in v0.215.0

func (*HostFunctionArguments) ProtoMessage()

func (*HostFunctionArguments) ProtoReflect added in v0.215.0

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

func (*HostFunctionArguments) Reset added in v0.215.0

func (x *HostFunctionArguments) Reset()

func (*HostFunctionArguments) String added in v0.215.0

func (x *HostFunctionArguments) String() string

type HostListValue added in v0.215.0

type HostListValue struct {
	Values []*HostValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*HostListValue) Descriptor deprecated added in v0.215.0

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

Deprecated: Use HostListValue.ProtoReflect.Descriptor instead.

func (*HostListValue) GetValues added in v0.215.0

func (x *HostListValue) GetValues() []*HostValue

func (*HostListValue) ProtoMessage added in v0.215.0

func (*HostListValue) ProtoMessage()

func (*HostListValue) ProtoReflect added in v0.215.0

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

func (*HostListValue) Reset added in v0.215.0

func (x *HostListValue) Reset()

func (*HostListValue) String added in v0.215.0

func (x *HostListValue) String() string

type HostMapEntry added in v0.215.0

type HostMapEntry struct {

	// Types that are assignable to Key:
	//
	//	*HostMapEntry_StringKey
	//	*HostMapEntry_IntKey
	//	*HostMapEntry_BoolKey
	//	*HostMapEntry_EnumKey
	Key   isHostMapEntry_Key `protobuf_oneof:"key"`
	Value *HostValue         `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*HostMapEntry) Descriptor deprecated added in v0.215.0

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

Deprecated: Use HostMapEntry.ProtoReflect.Descriptor instead.

func (*HostMapEntry) GetBoolKey added in v0.215.0

func (x *HostMapEntry) GetBoolKey() bool

func (*HostMapEntry) GetEnumKey added in v0.215.0

func (x *HostMapEntry) GetEnumKey() *HostEnumValue

func (*HostMapEntry) GetIntKey added in v0.215.0

func (x *HostMapEntry) GetIntKey() int64

func (*HostMapEntry) GetKey added in v0.215.0

func (m *HostMapEntry) GetKey() isHostMapEntry_Key

func (*HostMapEntry) GetStringKey added in v0.215.0

func (x *HostMapEntry) GetStringKey() string

func (*HostMapEntry) GetValue added in v0.215.0

func (x *HostMapEntry) GetValue() *HostValue

func (*HostMapEntry) ProtoMessage added in v0.215.0

func (*HostMapEntry) ProtoMessage()

func (*HostMapEntry) ProtoReflect added in v0.215.0

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

func (*HostMapEntry) Reset added in v0.215.0

func (x *HostMapEntry) Reset()

func (*HostMapEntry) String added in v0.215.0

func (x *HostMapEntry) String() string

type HostMapEntry_BoolKey added in v0.215.0

type HostMapEntry_BoolKey struct {
	BoolKey bool `protobuf:"varint,3,opt,name=bool_key,json=boolKey,proto3,oneof"`
}

type HostMapEntry_EnumKey added in v0.215.0

type HostMapEntry_EnumKey struct {
	EnumKey *HostEnumValue `protobuf:"bytes,5,opt,name=enum_key,json=enumKey,proto3,oneof"`
}

type HostMapEntry_IntKey added in v0.215.0

type HostMapEntry_IntKey struct {
	IntKey int64 `protobuf:"varint,2,opt,name=int_key,json=intKey,proto3,oneof"`
}

type HostMapEntry_StringKey added in v0.215.0

type HostMapEntry_StringKey struct {
	StringKey string `protobuf:"bytes,1,opt,name=string_key,json=stringKey,proto3,oneof"`
}

type HostMapValue added in v0.215.0

type HostMapValue struct {
	Entries []*HostMapEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*HostMapValue) Descriptor deprecated added in v0.215.0

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

Deprecated: Use HostMapValue.ProtoReflect.Descriptor instead.

func (*HostMapValue) GetEntries added in v0.215.0

func (x *HostMapValue) GetEntries() []*HostMapEntry

func (*HostMapValue) ProtoMessage added in v0.215.0

func (*HostMapValue) ProtoMessage()

func (*HostMapValue) ProtoReflect added in v0.215.0

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

func (*HostMapValue) Reset added in v0.215.0

func (x *HostMapValue) Reset()

func (*HostMapValue) String added in v0.215.0

func (x *HostMapValue) String() string

type HostValue added in v0.215.0

type HostValue struct {

	// Types that are assignable to Value:
	//
	//	*HostValue_StringValue
	//	*HostValue_IntValue
	//	*HostValue_FloatValue
	//	*HostValue_BoolValue
	//	*HostValue_ListValue
	//	*HostValue_MapValue
	//	*HostValue_ClassValue
	//	*HostValue_EnumValue
	//	*HostValue_Handle
	Value isHostValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

Core value type

Things we have chosen to not track: - the type of the value - if the value is optional - if the value is a union variant

Reasoning: not every language has these concepts (e.g. python has no way to represent a union variant)

Later we can add optional containers with type information for the languages that do support them as that will improve speed of decoding.

func (*HostValue) Descriptor deprecated added in v0.215.0

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

Deprecated: Use HostValue.ProtoReflect.Descriptor instead.

func (*HostValue) GetBoolValue added in v0.215.0

func (x *HostValue) GetBoolValue() bool

func (*HostValue) GetClassValue added in v0.215.0

func (x *HostValue) GetClassValue() *HostClassValue

func (*HostValue) GetEnumValue added in v0.215.0

func (x *HostValue) GetEnumValue() *HostEnumValue

func (*HostValue) GetFloatValue added in v0.215.0

func (x *HostValue) GetFloatValue() float64

func (*HostValue) GetHandle added in v0.215.0

func (x *HostValue) GetHandle() *BamlObjectHandle

func (*HostValue) GetIntValue added in v0.215.0

func (x *HostValue) GetIntValue() int64

func (*HostValue) GetListValue added in v0.215.0

func (x *HostValue) GetListValue() *HostListValue

func (*HostValue) GetMapValue added in v0.215.0

func (x *HostValue) GetMapValue() *HostMapValue

func (*HostValue) GetStringValue added in v0.215.0

func (x *HostValue) GetStringValue() string

func (*HostValue) GetValue added in v0.215.0

func (m *HostValue) GetValue() isHostValue_Value

func (*HostValue) ProtoMessage added in v0.215.0

func (*HostValue) ProtoMessage()

func (*HostValue) ProtoReflect added in v0.215.0

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

func (*HostValue) Reset added in v0.215.0

func (x *HostValue) Reset()

func (*HostValue) String added in v0.215.0

func (x *HostValue) String() string

type HostValue_BoolValue added in v0.215.0

type HostValue_BoolValue struct {
	BoolValue bool `protobuf:"varint,5,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type HostValue_ClassValue added in v0.215.0

type HostValue_ClassValue struct {
	ClassValue *HostClassValue `protobuf:"bytes,8,opt,name=class_value,json=classValue,proto3,oneof"`
}

type HostValue_EnumValue added in v0.215.0

type HostValue_EnumValue struct {
	EnumValue *HostEnumValue `protobuf:"bytes,9,opt,name=enum_value,json=enumValue,proto3,oneof"`
}

type HostValue_FloatValue added in v0.215.0

type HostValue_FloatValue struct {
	FloatValue float64 `protobuf:"fixed64,4,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type HostValue_Handle added in v0.215.0

type HostValue_Handle struct {
	Handle *BamlObjectHandle `protobuf:"bytes,10,opt,name=handle,proto3,oneof"`
}

type HostValue_IntValue added in v0.215.0

type HostValue_IntValue struct {
	IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"`
}

type HostValue_ListValue added in v0.215.0

type HostValue_ListValue struct {
	ListValue *HostListValue `protobuf:"bytes,6,opt,name=list_value,json=listValue,proto3,oneof"`
}

type HostValue_MapValue added in v0.215.0

type HostValue_MapValue struct {
	MapValue *HostMapValue `protobuf:"bytes,7,opt,name=map_value,json=mapValue,proto3,oneof"`
}

type HostValue_StringValue added in v0.215.0

type HostValue_StringValue struct {
	StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type InvocationResponse added in v0.215.0

type InvocationResponse struct {

	// Types that are assignable to Response:
	//
	//	*InvocationResponse_Success
	//	*InvocationResponse_Error
	Response isInvocationResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

from either: BamlObjectConstructorInvocation BamlObjectMethodInvocation

func (*InvocationResponse) Descriptor deprecated added in v0.215.0

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

Deprecated: Use InvocationResponse.ProtoReflect.Descriptor instead.

func (*InvocationResponse) GetError added in v0.215.0

func (x *InvocationResponse) GetError() string

func (*InvocationResponse) GetResponse added in v0.215.0

func (m *InvocationResponse) GetResponse() isInvocationResponse_Response

func (*InvocationResponse) GetSuccess added in v0.215.0

func (*InvocationResponse) ProtoMessage added in v0.215.0

func (*InvocationResponse) ProtoMessage()

func (*InvocationResponse) ProtoReflect added in v0.215.0

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

func (*InvocationResponse) Reset added in v0.215.0

func (x *InvocationResponse) Reset()

func (*InvocationResponse) String added in v0.215.0

func (x *InvocationResponse) String() string

type InvocationResponseSuccess added in v0.215.0

type InvocationResponseSuccess struct {

	// Types that are assignable to Result:
	//
	//	*InvocationResponseSuccess_Object
	//	*InvocationResponseSuccess_Objects
	//	*InvocationResponseSuccess_Value
	Result isInvocationResponseSuccess_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

only one of these will be set proto doesn't allow oneofs with repeated fields

func (*InvocationResponseSuccess) Descriptor deprecated added in v0.215.0

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

Deprecated: Use InvocationResponseSuccess.ProtoReflect.Descriptor instead.

func (*InvocationResponseSuccess) GetObject added in v0.215.0

func (*InvocationResponseSuccess) GetObjects added in v0.215.0

func (*InvocationResponseSuccess) GetResult added in v0.215.0

func (m *InvocationResponseSuccess) GetResult() isInvocationResponseSuccess_Result

func (*InvocationResponseSuccess) GetValue added in v0.215.0

func (*InvocationResponseSuccess) ProtoMessage added in v0.215.0

func (*InvocationResponseSuccess) ProtoMessage()

func (*InvocationResponseSuccess) ProtoReflect added in v0.215.0

func (*InvocationResponseSuccess) Reset added in v0.215.0

func (x *InvocationResponseSuccess) Reset()

func (*InvocationResponseSuccess) String added in v0.215.0

func (x *InvocationResponseSuccess) String() string

type InvocationResponseSuccess_Object added in v0.215.0

type InvocationResponseSuccess_Object struct {
	Object *BamlObjectHandle `protobuf:"bytes,1,opt,name=object,proto3,oneof"`
}

type InvocationResponseSuccess_Objects added in v0.215.0

type InvocationResponseSuccess_Objects struct {
	Objects *RepeatedBamlObjectHandle `protobuf:"bytes,2,opt,name=objects,proto3,oneof"`
}

type InvocationResponseSuccess_Value added in v0.215.0

type InvocationResponseSuccess_Value struct {
	Value *CFFIValueHolder `protobuf:"bytes,3,opt,name=value,proto3,oneof"`
}

type InvocationResponse_Error added in v0.215.0

type InvocationResponse_Error struct {
	Error string `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

type InvocationResponse_Success added in v0.215.0

type InvocationResponse_Success struct {
	Success *InvocationResponseSuccess `protobuf:"bytes,1,opt,name=success,proto3,oneof"`
}

type MediaTypeEnum

type MediaTypeEnum int32

We need to handle CFFIMediaType. Since one variant is "Other(String)", we represent it as a message with an enum tag and an optional string.

const (
	MediaTypeEnum_IMAGE MediaTypeEnum = 0
	MediaTypeEnum_AUDIO MediaTypeEnum = 1
	MediaTypeEnum_PDF   MediaTypeEnum = 2
	MediaTypeEnum_VIDEO MediaTypeEnum = 3
)

func (MediaTypeEnum) Descriptor added in v0.200.0

func (MediaTypeEnum) Enum added in v0.200.0

func (x MediaTypeEnum) Enum() *MediaTypeEnum

func (MediaTypeEnum) EnumDescriptor deprecated added in v0.200.0

func (MediaTypeEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use MediaTypeEnum.Descriptor instead.

func (MediaTypeEnum) Number added in v0.200.0

func (MediaTypeEnum) String

func (x MediaTypeEnum) String() string

func (MediaTypeEnum) Type added in v0.200.0

type RepeatedBamlObjectHandle added in v0.215.0

type RepeatedBamlObjectHandle struct {
	Objects []*BamlObjectHandle `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// contains filtered or unexported fields
}

func (*RepeatedBamlObjectHandle) Descriptor deprecated added in v0.215.0

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

Deprecated: Use RepeatedBamlObjectHandle.ProtoReflect.Descriptor instead.

func (*RepeatedBamlObjectHandle) GetObjects added in v0.215.0

func (x *RepeatedBamlObjectHandle) GetObjects() []*BamlObjectHandle

func (*RepeatedBamlObjectHandle) ProtoMessage added in v0.215.0

func (*RepeatedBamlObjectHandle) ProtoMessage()

func (*RepeatedBamlObjectHandle) ProtoReflect added in v0.215.0

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

func (*RepeatedBamlObjectHandle) Reset added in v0.215.0

func (x *RepeatedBamlObjectHandle) Reset()

func (*RepeatedBamlObjectHandle) String added in v0.215.0

func (x *RepeatedBamlObjectHandle) String() string

Jump to

Keyboard shortcuts

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