cql_types_go_proto

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SystemType_Type_name = map[int32]string{
		0:  "TYPE_UNSPECIFIED",
		1:  "TYPE_ANY",
		2:  "TYPE_STRING",
		3:  "TYPE_BOOLEAN",
		4:  "TYPE_INTEGER",
		5:  "TYPE_LONG",
		6:  "TYPE_DECIMAL",
		7:  "TYPE_QUANTITY",
		8:  "TYPE_RATIO",
		9:  "TYPE_DATE",
		10: "TYPE_DATE_TIME",
		11: "TYPE_TIME",
		12: "TYPE_VALUE_SET",
		13: "TYPE_CODE_SYSTEM",
		14: "TYPE_VOCABULARY",
		15: "TYPE_CODE",
		16: "TYPE_CONCEPT",
	}
	SystemType_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_ANY":         1,
		"TYPE_STRING":      2,
		"TYPE_BOOLEAN":     3,
		"TYPE_INTEGER":     4,
		"TYPE_LONG":        5,
		"TYPE_DECIMAL":     6,
		"TYPE_QUANTITY":    7,
		"TYPE_RATIO":       8,
		"TYPE_DATE":        9,
		"TYPE_DATE_TIME":   10,
		"TYPE_TIME":        11,
		"TYPE_VALUE_SET":   12,
		"TYPE_CODE_SYSTEM": 13,
		"TYPE_VOCABULARY":  14,
		"TYPE_CODE":        15,
		"TYPE_CONCEPT":     16,
	}
)

Enum value maps for SystemType_Type.

View Source
var File_protos_cql_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CQLType

type CQLType struct {

	// Types that are assignable to Type:
	//
	//	*CQLType_SystemType
	//	*CQLType_NamedType
	//	*CQLType_IntervalType
	//	*CQLType_ListType
	//	*CQLType_ChoiceType
	//	*CQLType_TupleType
	Type isCQLType_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*CQLType) Descriptor deprecated

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

Deprecated: Use CQLType.ProtoReflect.Descriptor instead.

func (*CQLType) GetChoiceType

func (x *CQLType) GetChoiceType() *ChoiceType

func (*CQLType) GetIntervalType

func (x *CQLType) GetIntervalType() *IntervalType

func (*CQLType) GetListType

func (x *CQLType) GetListType() *ListType

func (*CQLType) GetNamedType

func (x *CQLType) GetNamedType() *NamedType

func (*CQLType) GetSystemType

func (x *CQLType) GetSystemType() *SystemType

func (*CQLType) GetTupleType

func (x *CQLType) GetTupleType() *TupleType

func (*CQLType) GetType

func (m *CQLType) GetType() isCQLType_Type

func (*CQLType) ProtoMessage

func (*CQLType) ProtoMessage()

func (*CQLType) ProtoReflect

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

func (*CQLType) Reset

func (x *CQLType) Reset()

func (*CQLType) String

func (x *CQLType) String() string

type CQLType_ChoiceType

type CQLType_ChoiceType struct {
	ChoiceType *ChoiceType `protobuf:"bytes,5,opt,name=choice_type,json=choiceType,proto3,oneof"`
}

type CQLType_IntervalType

type CQLType_IntervalType struct {
	IntervalType *IntervalType `protobuf:"bytes,3,opt,name=interval_type,json=intervalType,proto3,oneof"`
}

type CQLType_ListType

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

type CQLType_NamedType

type CQLType_NamedType struct {
	NamedType *NamedType `protobuf:"bytes,2,opt,name=named_type,json=namedType,proto3,oneof"`
}

type CQLType_SystemType

type CQLType_SystemType struct {
	SystemType *SystemType `protobuf:"bytes,1,opt,name=system_type,json=systemType,proto3,oneof"`
}

type CQLType_TupleType

type CQLType_TupleType struct {
	TupleType *TupleType `protobuf:"bytes,6,opt,name=tuple_type,json=tupleType,proto3,oneof"`
}

type ChoiceType

type ChoiceType struct {
	ChoiceTypes []*CQLType `protobuf:"bytes,1,rep,name=choice_types,json=choiceTypes,proto3" json:"choice_types,omitempty"`
	// contains filtered or unexported fields
}

func (*ChoiceType) Descriptor deprecated

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

Deprecated: Use ChoiceType.ProtoReflect.Descriptor instead.

func (*ChoiceType) GetChoiceTypes

func (x *ChoiceType) GetChoiceTypes() []*CQLType

func (*ChoiceType) ProtoMessage

func (*ChoiceType) ProtoMessage()

func (*ChoiceType) ProtoReflect

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

func (*ChoiceType) Reset

func (x *ChoiceType) Reset()

func (*ChoiceType) String

func (x *ChoiceType) String() string

type IntervalType

type IntervalType struct {
	PointType *CQLType `protobuf:"bytes,1,opt,name=point_type,json=pointType,proto3,oneof" json:"point_type,omitempty"`
	// contains filtered or unexported fields
}

func (*IntervalType) Descriptor deprecated

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

Deprecated: Use IntervalType.ProtoReflect.Descriptor instead.

func (*IntervalType) GetPointType

func (x *IntervalType) GetPointType() *CQLType

func (*IntervalType) ProtoMessage

func (*IntervalType) ProtoMessage()

func (*IntervalType) ProtoReflect

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

func (*IntervalType) Reset

func (x *IntervalType) Reset()

func (*IntervalType) String

func (x *IntervalType) String() string

type ListType

type ListType struct {
	ElementType *CQLType `protobuf:"bytes,1,opt,name=element_type,json=elementType,proto3,oneof" json:"element_type,omitempty"`
	// contains filtered or unexported fields
}

func (*ListType) Descriptor deprecated

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

Deprecated: Use ListType.ProtoReflect.Descriptor instead.

func (*ListType) GetElementType

func (x *ListType) GetElementType() *CQLType

func (*ListType) ProtoMessage

func (*ListType) ProtoMessage()

func (*ListType) ProtoReflect

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

func (*ListType) Reset

func (x *ListType) Reset()

func (*ListType) String

func (x *ListType) String() string

type NamedType

type NamedType struct {

	// The fully qualified name of the type such as FHIR.EnrollmentResponseStatus
	// or System.Integer.
	TypeName *string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3,oneof" json:"type_name,omitempty"`
	// contains filtered or unexported fields
}

func (*NamedType) Descriptor deprecated

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

Deprecated: Use NamedType.ProtoReflect.Descriptor instead.

func (*NamedType) GetTypeName

func (x *NamedType) GetTypeName() string

func (*NamedType) ProtoMessage

func (*NamedType) ProtoMessage()

func (*NamedType) ProtoReflect

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

func (*NamedType) Reset

func (x *NamedType) Reset()

func (*NamedType) String

func (x *NamedType) String() string

type SystemType

type SystemType struct {
	Type *SystemType_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cql.proto.SystemType_Type,oneof" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*SystemType) Descriptor deprecated

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

Deprecated: Use SystemType.ProtoReflect.Descriptor instead.

func (*SystemType) GetType

func (x *SystemType) GetType() SystemType_Type

func (*SystemType) ProtoMessage

func (*SystemType) ProtoMessage()

func (*SystemType) ProtoReflect

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

func (*SystemType) Reset

func (x *SystemType) Reset()

func (*SystemType) String

func (x *SystemType) String() string

type SystemType_Type

type SystemType_Type int32
const (
	SystemType_TYPE_UNSPECIFIED SystemType_Type = 0
	SystemType_TYPE_ANY         SystemType_Type = 1
	SystemType_TYPE_STRING      SystemType_Type = 2
	SystemType_TYPE_BOOLEAN     SystemType_Type = 3
	SystemType_TYPE_INTEGER     SystemType_Type = 4
	SystemType_TYPE_LONG        SystemType_Type = 5
	SystemType_TYPE_DECIMAL     SystemType_Type = 6
	SystemType_TYPE_QUANTITY    SystemType_Type = 7
	SystemType_TYPE_RATIO       SystemType_Type = 8
	SystemType_TYPE_DATE        SystemType_Type = 9
	SystemType_TYPE_DATE_TIME   SystemType_Type = 10
	SystemType_TYPE_TIME        SystemType_Type = 11
	SystemType_TYPE_VALUE_SET   SystemType_Type = 12
	SystemType_TYPE_CODE_SYSTEM SystemType_Type = 13
	SystemType_TYPE_VOCABULARY  SystemType_Type = 14
	SystemType_TYPE_CODE        SystemType_Type = 15
	SystemType_TYPE_CONCEPT     SystemType_Type = 16
)

func (SystemType_Type) Descriptor

func (SystemType_Type) Enum

func (x SystemType_Type) Enum() *SystemType_Type

func (SystemType_Type) EnumDescriptor deprecated

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

Deprecated: Use SystemType_Type.Descriptor instead.

func (SystemType_Type) Number

func (SystemType_Type) String

func (x SystemType_Type) String() string

func (SystemType_Type) Type

type TupleType

type TupleType struct {

	// Maps the element name to the type of the element.
	ElementTypes map[string]*CQLType `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TupleType) Descriptor deprecated

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

Deprecated: Use TupleType.ProtoReflect.Descriptor instead.

func (*TupleType) GetElementTypes

func (x *TupleType) GetElementTypes() map[string]*CQLType

func (*TupleType) ProtoMessage

func (*TupleType) ProtoMessage()

func (*TupleType) ProtoReflect

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

func (*TupleType) Reset

func (x *TupleType) Reset()

func (*TupleType) String

func (x *TupleType) String() string

Jump to

Keyboard shortcuts

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