Ydb

package
v2.9.4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FeatureFlag_Status_name = map[int32]string{
	0: "STATUS_UNSPECIFIED",
	1: "ENABLED",
	2: "DISABLED",
}
View Source
var FeatureFlag_Status_value = map[string]int32{
	"STATUS_UNSPECIFIED": 0,
	"ENABLED":            1,
	"DISABLED":           2,
}
View Source
var StatusIds_StatusCode_name = map[int32]string{
	0:      "STATUS_CODE_UNSPECIFIED",
	400000: "SUCCESS",
	400010: "BAD_REQUEST",
	400020: "UNAUTHORIZED",
	400030: "INTERNAL_ERROR",
	400040: "ABORTED",
	400050: "UNAVAILABLE",
	400060: "OVERLOADED",
	400070: "SCHEME_ERROR",
	400080: "GENERIC_ERROR",
	400090: "TIMEOUT",
	400100: "BAD_SESSION",
	400120: "PRECONDITION_FAILED",
	400130: "ALREADY_EXISTS",
	400140: "NOT_FOUND",
	400150: "SESSION_EXPIRED",
	400160: "CANCELLED",
	400170: "UNDETERMINED",
	400180: "UNSUPPORTED",
	400190: "SESSION_BUSY",
}
View Source
var StatusIds_StatusCode_value = map[string]int32{
	"STATUS_CODE_UNSPECIFIED": 0,
	"SUCCESS":                 400000,
	"BAD_REQUEST":             400010,
	"UNAUTHORIZED":            400020,
	"INTERNAL_ERROR":          400030,
	"ABORTED":                 400040,
	"UNAVAILABLE":             400050,
	"OVERLOADED":              400060,
	"SCHEME_ERROR":            400070,
	"GENERIC_ERROR":           400080,
	"TIMEOUT":                 400090,
	"BAD_SESSION":             400100,
	"PRECONDITION_FAILED":     400120,
	"ALREADY_EXISTS":          400130,
	"NOT_FOUND":               400140,
	"SESSION_EXPIRED":         400150,
	"CANCELLED":               400160,
	"UNDETERMINED":            400170,
	"UNSUPPORTED":             400180,
	"SESSION_BUSY":            400190,
}
View Source
var Type_PrimitiveTypeId_name = map[int32]string{
	0:    "PRIMITIVE_TYPE_ID_UNSPECIFIED",
	6:    "BOOL",
	7:    "INT8",
	5:    "UINT8",
	8:    "INT16",
	9:    "UINT16",
	1:    "INT32",
	2:    "UINT32",
	3:    "INT64",
	4:    "UINT64",
	33:   "FLOAT",
	32:   "DOUBLE",
	48:   "DATE",
	49:   "DATETIME",
	50:   "TIMESTAMP",
	51:   "INTERVAL",
	52:   "TZ_DATE",
	53:   "TZ_DATETIME",
	54:   "TZ_TIMESTAMP",
	4097: "STRING",
	4608: "UTF8",
	4609: "YSON",
	4610: "JSON",
	4611: "UUID",
	4612: "JSON_DOCUMENT",
	4866: "DYNUMBER",
}
View Source
var Type_PrimitiveTypeId_value = map[string]int32{
	"PRIMITIVE_TYPE_ID_UNSPECIFIED": 0,
	"BOOL":                          6,
	"INT8":                          7,
	"UINT8":                         5,
	"INT16":                         8,
	"UINT16":                        9,
	"INT32":                         1,
	"UINT32":                        2,
	"INT64":                         3,
	"UINT64":                        4,
	"FLOAT":                         33,
	"DOUBLE":                        32,
	"DATE":                          48,
	"DATETIME":                      49,
	"TIMESTAMP":                     50,
	"INTERVAL":                      51,
	"TZ_DATE":                       52,
	"TZ_DATETIME":                   53,
	"TZ_TIMESTAMP":                  54,
	"STRING":                        4097,
	"UTF8":                          4608,
	"YSON":                          4609,
	"JSON":                          4610,
	"UUID":                          4611,
	"JSON_DOCUMENT":                 4612,
	"DYNUMBER":                      4866,
}

Functions

This section is empty.

Types

type Column

type Column struct {
	// Name of column
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Type of column
	Type                 *Type    `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Column) Descriptor

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

func (*Column) GetName

func (m *Column) GetName() string

func (*Column) GetType

func (m *Column) GetType() *Type

func (*Column) ProtoMessage

func (*Column) ProtoMessage()

func (*Column) Reset

func (m *Column) Reset()

func (*Column) String

func (m *Column) String() string

func (*Column) XXX_DiscardUnknown

func (m *Column) XXX_DiscardUnknown()

func (*Column) XXX_Marshal

func (m *Column) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Column) XXX_Merge

func (m *Column) XXX_Merge(src proto.Message)

func (*Column) XXX_Size

func (m *Column) XXX_Size() int

func (*Column) XXX_Unmarshal

func (m *Column) XXX_Unmarshal(b []byte) error

type CostInfo

type CostInfo struct {
	// Total amount of request units (RU), consumed by the operation.
	ConsumedUnits        float64  `protobuf:"fixed64,1,opt,name=consumed_units,json=consumedUnits,proto3" json:"consumed_units,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CostInfo) Descriptor

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

func (*CostInfo) GetConsumedUnits

func (m *CostInfo) GetConsumedUnits() float64

func (*CostInfo) ProtoMessage

func (*CostInfo) ProtoMessage()

func (*CostInfo) Reset

func (m *CostInfo) Reset()

func (*CostInfo) String

func (m *CostInfo) String() string

func (*CostInfo) XXX_DiscardUnknown

func (m *CostInfo) XXX_DiscardUnknown()

func (*CostInfo) XXX_Marshal

func (m *CostInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CostInfo) XXX_Merge

func (m *CostInfo) XXX_Merge(src proto.Message)

func (*CostInfo) XXX_Size

func (m *CostInfo) XXX_Size() int

func (*CostInfo) XXX_Unmarshal

func (m *CostInfo) XXX_Unmarshal(b []byte) error

type DecimalType

type DecimalType struct {
	Precision            uint32   `protobuf:"varint,1,opt,name=precision,proto3" json:"precision,omitempty"`
	Scale                uint32   `protobuf:"varint,2,opt,name=scale,proto3" json:"scale,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DecimalType) Descriptor

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

func (*DecimalType) GetPrecision

func (m *DecimalType) GetPrecision() uint32

func (*DecimalType) GetScale

func (m *DecimalType) GetScale() uint32

func (*DecimalType) ProtoMessage

func (*DecimalType) ProtoMessage()

func (*DecimalType) Reset

func (m *DecimalType) Reset()

func (*DecimalType) String

func (m *DecimalType) String() string

func (*DecimalType) XXX_DiscardUnknown

func (m *DecimalType) XXX_DiscardUnknown()

func (*DecimalType) XXX_Marshal

func (m *DecimalType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DecimalType) XXX_Merge

func (m *DecimalType) XXX_Merge(src proto.Message)

func (*DecimalType) XXX_Size

func (m *DecimalType) XXX_Size() int

func (*DecimalType) XXX_Unmarshal

func (m *DecimalType) XXX_Unmarshal(b []byte) error

type DictType

type DictType struct {
	Key                  *Type    `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Payload              *Type    `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DictType) Descriptor

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

func (*DictType) GetKey

func (m *DictType) GetKey() *Type

func (*DictType) GetPayload

func (m *DictType) GetPayload() *Type

func (*DictType) ProtoMessage

func (*DictType) ProtoMessage()

func (*DictType) Reset

func (m *DictType) Reset()

func (*DictType) String

func (m *DictType) String() string

func (*DictType) XXX_DiscardUnknown

func (m *DictType) XXX_DiscardUnknown()

func (*DictType) XXX_Marshal

func (m *DictType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DictType) XXX_Merge

func (m *DictType) XXX_Merge(src proto.Message)

func (*DictType) XXX_Size

func (m *DictType) XXX_Size() int

func (*DictType) XXX_Unmarshal

func (m *DictType) XXX_Unmarshal(b []byte) error

type FeatureFlag

type FeatureFlag struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FeatureFlag) Descriptor

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

func (*FeatureFlag) ProtoMessage

func (*FeatureFlag) ProtoMessage()

func (*FeatureFlag) Reset

func (m *FeatureFlag) Reset()

func (*FeatureFlag) String

func (m *FeatureFlag) String() string

func (*FeatureFlag) XXX_DiscardUnknown

func (m *FeatureFlag) XXX_DiscardUnknown()

func (*FeatureFlag) XXX_Marshal

func (m *FeatureFlag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeatureFlag) XXX_Merge

func (m *FeatureFlag) XXX_Merge(src proto.Message)

func (*FeatureFlag) XXX_Size

func (m *FeatureFlag) XXX_Size() int

func (*FeatureFlag) XXX_Unmarshal

func (m *FeatureFlag) XXX_Unmarshal(b []byte) error

type FeatureFlag_Status

type FeatureFlag_Status int32
const (
	FeatureFlag_STATUS_UNSPECIFIED FeatureFlag_Status = 0
	FeatureFlag_ENABLED            FeatureFlag_Status = 1
	FeatureFlag_DISABLED           FeatureFlag_Status = 2
)

func (FeatureFlag_Status) EnumDescriptor

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

func (FeatureFlag_Status) String

func (x FeatureFlag_Status) String() string

type ListType

type ListType struct {
	Item                 *Type    `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListType) Descriptor

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

func (*ListType) GetItem

func (m *ListType) GetItem() *Type

func (*ListType) ProtoMessage

func (*ListType) ProtoMessage()

func (*ListType) Reset

func (m *ListType) Reset()

func (*ListType) String

func (m *ListType) String() string

func (*ListType) XXX_DiscardUnknown

func (m *ListType) XXX_DiscardUnknown()

func (*ListType) XXX_Marshal

func (m *ListType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListType) XXX_Merge

func (m *ListType) XXX_Merge(src proto.Message)

func (*ListType) XXX_Size

func (m *ListType) XXX_Size() int

func (*ListType) XXX_Unmarshal

func (m *ListType) XXX_Unmarshal(b []byte) error

type OptionalType

type OptionalType struct {
	Item                 *Type    `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OptionalType) Descriptor

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

func (*OptionalType) GetItem

func (m *OptionalType) GetItem() *Type

func (*OptionalType) ProtoMessage

func (*OptionalType) ProtoMessage()

func (*OptionalType) Reset

func (m *OptionalType) Reset()

func (*OptionalType) String

func (m *OptionalType) String() string

func (*OptionalType) XXX_DiscardUnknown

func (m *OptionalType) XXX_DiscardUnknown()

func (*OptionalType) XXX_Marshal

func (m *OptionalType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OptionalType) XXX_Merge

func (m *OptionalType) XXX_Merge(src proto.Message)

func (*OptionalType) XXX_Size

func (m *OptionalType) XXX_Size() int

func (*OptionalType) XXX_Unmarshal

func (m *OptionalType) XXX_Unmarshal(b []byte) error

type ResultSet

type ResultSet struct {
	// Metadata of columns
	Columns []*Column `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
	// Rows of table
	Rows []*Value `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
	// Flag indicates the result was truncated
	Truncated            bool     `protobuf:"varint,3,opt,name=truncated,proto3" json:"truncated,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents table-like structure with ordered set of rows and columns

func (*ResultSet) Descriptor

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

func (*ResultSet) GetColumns

func (m *ResultSet) GetColumns() []*Column

func (*ResultSet) GetRows

func (m *ResultSet) GetRows() []*Value

func (*ResultSet) GetTruncated

func (m *ResultSet) GetTruncated() bool

func (*ResultSet) ProtoMessage

func (*ResultSet) ProtoMessage()

func (*ResultSet) Reset

func (m *ResultSet) Reset()

func (*ResultSet) String

func (m *ResultSet) String() string

func (*ResultSet) XXX_DiscardUnknown

func (m *ResultSet) XXX_DiscardUnknown()

func (*ResultSet) XXX_Marshal

func (m *ResultSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResultSet) XXX_Merge

func (m *ResultSet) XXX_Merge(src proto.Message)

func (*ResultSet) XXX_Size

func (m *ResultSet) XXX_Size() int

func (*ResultSet) XXX_Unmarshal

func (m *ResultSet) XXX_Unmarshal(b []byte) error

type StatusIds

type StatusIds struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StatusIds) Descriptor

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

func (*StatusIds) ProtoMessage

func (*StatusIds) ProtoMessage()

func (*StatusIds) Reset

func (m *StatusIds) Reset()

func (*StatusIds) String

func (m *StatusIds) String() string

func (*StatusIds) XXX_DiscardUnknown

func (m *StatusIds) XXX_DiscardUnknown()

func (*StatusIds) XXX_Marshal

func (m *StatusIds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatusIds) XXX_Merge

func (m *StatusIds) XXX_Merge(src proto.Message)

func (*StatusIds) XXX_Size

func (m *StatusIds) XXX_Size() int

func (*StatusIds) XXX_Unmarshal

func (m *StatusIds) XXX_Unmarshal(b []byte) error

type StatusIds_StatusCode

type StatusIds_StatusCode int32

reserved range [400000, 400999]

const (
	StatusIds_STATUS_CODE_UNSPECIFIED StatusIds_StatusCode = 0
	StatusIds_SUCCESS                 StatusIds_StatusCode = 400000
	StatusIds_BAD_REQUEST             StatusIds_StatusCode = 400010
	StatusIds_UNAUTHORIZED            StatusIds_StatusCode = 400020
	StatusIds_INTERNAL_ERROR          StatusIds_StatusCode = 400030
	StatusIds_ABORTED                 StatusIds_StatusCode = 400040
	StatusIds_UNAVAILABLE             StatusIds_StatusCode = 400050
	StatusIds_OVERLOADED              StatusIds_StatusCode = 400060
	StatusIds_SCHEME_ERROR            StatusIds_StatusCode = 400070
	StatusIds_GENERIC_ERROR           StatusIds_StatusCode = 400080
	StatusIds_TIMEOUT                 StatusIds_StatusCode = 400090
	StatusIds_BAD_SESSION             StatusIds_StatusCode = 400100
	StatusIds_PRECONDITION_FAILED     StatusIds_StatusCode = 400120
	StatusIds_ALREADY_EXISTS          StatusIds_StatusCode = 400130
	StatusIds_NOT_FOUND               StatusIds_StatusCode = 400140
	StatusIds_SESSION_EXPIRED         StatusIds_StatusCode = 400150
	StatusIds_CANCELLED               StatusIds_StatusCode = 400160
	StatusIds_UNDETERMINED            StatusIds_StatusCode = 400170
	StatusIds_UNSUPPORTED             StatusIds_StatusCode = 400180
	StatusIds_SESSION_BUSY            StatusIds_StatusCode = 400190
)

func (StatusIds_StatusCode) EnumDescriptor

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

func (StatusIds_StatusCode) String

func (x StatusIds_StatusCode) String() string

type StructMember

type StructMember struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type                 *Type    `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StructMember) Descriptor

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

func (*StructMember) GetName

func (m *StructMember) GetName() string

func (*StructMember) GetType

func (m *StructMember) GetType() *Type

func (*StructMember) ProtoMessage

func (*StructMember) ProtoMessage()

func (*StructMember) Reset

func (m *StructMember) Reset()

func (*StructMember) String

func (m *StructMember) String() string

func (*StructMember) XXX_DiscardUnknown

func (m *StructMember) XXX_DiscardUnknown()

func (*StructMember) XXX_Marshal

func (m *StructMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StructMember) XXX_Merge

func (m *StructMember) XXX_Merge(src proto.Message)

func (*StructMember) XXX_Size

func (m *StructMember) XXX_Size() int

func (*StructMember) XXX_Unmarshal

func (m *StructMember) XXX_Unmarshal(b []byte) error

type StructType

type StructType struct {
	Members              []*StructMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*StructType) Descriptor

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

func (*StructType) GetMembers

func (m *StructType) GetMembers() []*StructMember

func (*StructType) ProtoMessage

func (*StructType) ProtoMessage()

func (*StructType) Reset

func (m *StructType) Reset()

func (*StructType) String

func (m *StructType) String() string

func (*StructType) XXX_DiscardUnknown

func (m *StructType) XXX_DiscardUnknown()

func (*StructType) XXX_Marshal

func (m *StructType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StructType) XXX_Merge

func (m *StructType) XXX_Merge(src proto.Message)

func (*StructType) XXX_Size

func (m *StructType) XXX_Size() int

func (*StructType) XXX_Unmarshal

func (m *StructType) XXX_Unmarshal(b []byte) error

type TaggedType added in v2.5.2

type TaggedType struct {
	Tag                  string   `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Type                 *Type    `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TaggedType) Descriptor added in v2.5.2

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

func (*TaggedType) GetTag added in v2.5.2

func (m *TaggedType) GetTag() string

func (*TaggedType) GetType added in v2.5.2

func (m *TaggedType) GetType() *Type

func (*TaggedType) ProtoMessage added in v2.5.2

func (*TaggedType) ProtoMessage()

func (*TaggedType) Reset added in v2.5.2

func (m *TaggedType) Reset()

func (*TaggedType) String added in v2.5.2

func (m *TaggedType) String() string

func (*TaggedType) XXX_DiscardUnknown added in v2.5.2

func (m *TaggedType) XXX_DiscardUnknown()

func (*TaggedType) XXX_Marshal added in v2.5.2

func (m *TaggedType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TaggedType) XXX_Merge added in v2.5.2

func (m *TaggedType) XXX_Merge(src proto.Message)

func (*TaggedType) XXX_Size added in v2.5.2

func (m *TaggedType) XXX_Size() int

func (*TaggedType) XXX_Unmarshal added in v2.5.2

func (m *TaggedType) XXX_Unmarshal(b []byte) error

type TupleType

type TupleType struct {
	Elements             []*Type  `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TupleType) Descriptor

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

func (*TupleType) GetElements

func (m *TupleType) GetElements() []*Type

func (*TupleType) ProtoMessage

func (*TupleType) ProtoMessage()

func (*TupleType) Reset

func (m *TupleType) Reset()

func (*TupleType) String

func (m *TupleType) String() string

func (*TupleType) XXX_DiscardUnknown

func (m *TupleType) XXX_DiscardUnknown()

func (*TupleType) XXX_Marshal

func (m *TupleType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TupleType) XXX_Merge

func (m *TupleType) XXX_Merge(src proto.Message)

func (*TupleType) XXX_Size

func (m *TupleType) XXX_Size() int

func (*TupleType) XXX_Unmarshal

func (m *TupleType) XXX_Unmarshal(b []byte) error

type Type

type Type struct {
	// Types that are valid to be assigned to Type:
	//	*Type_TypeId
	//	*Type_DecimalType
	//	*Type_OptionalType
	//	*Type_ListType
	//	*Type_TupleType
	//	*Type_StructType
	//	*Type_DictType
	//	*Type_VariantType
	//	*Type_TaggedType
	//	*Type_VoidType
	//	*Type_NullType
	//	*Type_EmptyListType
	//	*Type_EmptyDictType
	Type                 isType_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Type) Descriptor

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

func (*Type) GetDecimalType

func (m *Type) GetDecimalType() *DecimalType

func (*Type) GetDictType

func (m *Type) GetDictType() *DictType

func (*Type) GetEmptyDictType added in v2.5.2

func (m *Type) GetEmptyDictType() structpb.NullValue

func (*Type) GetEmptyListType added in v2.5.2

func (m *Type) GetEmptyListType() structpb.NullValue

func (*Type) GetListType

func (m *Type) GetListType() *ListType

func (*Type) GetNullType added in v2.5.2

func (m *Type) GetNullType() structpb.NullValue

func (*Type) GetOptionalType

func (m *Type) GetOptionalType() *OptionalType

func (*Type) GetStructType

func (m *Type) GetStructType() *StructType

func (*Type) GetTaggedType added in v2.5.2

func (m *Type) GetTaggedType() *TaggedType

func (*Type) GetTupleType

func (m *Type) GetTupleType() *TupleType

func (*Type) GetType

func (m *Type) GetType() isType_Type

func (*Type) GetTypeId

func (m *Type) GetTypeId() Type_PrimitiveTypeId

func (*Type) GetVariantType

func (m *Type) GetVariantType() *VariantType

func (*Type) GetVoidType

func (m *Type) GetVoidType() structpb.NullValue

func (*Type) ProtoMessage

func (*Type) ProtoMessage()

func (*Type) Reset

func (m *Type) Reset()

func (*Type) String

func (m *Type) String() string

func (*Type) XXX_DiscardUnknown

func (m *Type) XXX_DiscardUnknown()

func (*Type) XXX_Marshal

func (m *Type) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Type) XXX_Merge

func (m *Type) XXX_Merge(src proto.Message)

func (*Type) XXX_OneofWrappers

func (*Type) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Type) XXX_Size

func (m *Type) XXX_Size() int

func (*Type) XXX_Unmarshal

func (m *Type) XXX_Unmarshal(b []byte) error

type Type_DecimalType

type Type_DecimalType struct {
	DecimalType *DecimalType `protobuf:"bytes,2,opt,name=decimal_type,json=decimalType,proto3,oneof"`
}

type Type_DictType

type Type_DictType struct {
	DictType *DictType `protobuf:"bytes,105,opt,name=dict_type,json=dictType,proto3,oneof"`
}

type Type_EmptyDictType added in v2.5.2

type Type_EmptyDictType struct {
	EmptyDictType structpb.NullValue `protobuf:"varint,204,opt,name=empty_dict_type,json=emptyDictType,proto3,enum=google.protobuf.NullValue,oneof"`
}

type Type_EmptyListType added in v2.5.2

type Type_EmptyListType struct {
	EmptyListType structpb.NullValue `protobuf:"varint,203,opt,name=empty_list_type,json=emptyListType,proto3,enum=google.protobuf.NullValue,oneof"`
}

type Type_ListType

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

type Type_NullType added in v2.5.2

type Type_NullType struct {
	NullType structpb.NullValue `protobuf:"varint,202,opt,name=null_type,json=nullType,proto3,enum=google.protobuf.NullValue,oneof"`
}

type Type_OptionalType

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

type Type_PrimitiveTypeId

type Type_PrimitiveTypeId int32
const (
	Type_PRIMITIVE_TYPE_ID_UNSPECIFIED Type_PrimitiveTypeId = 0
	Type_BOOL                          Type_PrimitiveTypeId = 6
	Type_INT8                          Type_PrimitiveTypeId = 7
	Type_UINT8                         Type_PrimitiveTypeId = 5
	Type_INT16                         Type_PrimitiveTypeId = 8
	Type_UINT16                        Type_PrimitiveTypeId = 9
	Type_INT32                         Type_PrimitiveTypeId = 1
	Type_UINT32                        Type_PrimitiveTypeId = 2
	Type_INT64                         Type_PrimitiveTypeId = 3
	Type_UINT64                        Type_PrimitiveTypeId = 4
	Type_FLOAT                         Type_PrimitiveTypeId = 33
	Type_DOUBLE                        Type_PrimitiveTypeId = 32
	Type_DATE                          Type_PrimitiveTypeId = 48
	Type_DATETIME                      Type_PrimitiveTypeId = 49
	Type_TIMESTAMP                     Type_PrimitiveTypeId = 50
	Type_INTERVAL                      Type_PrimitiveTypeId = 51
	Type_TZ_DATE                       Type_PrimitiveTypeId = 52
	Type_TZ_DATETIME                   Type_PrimitiveTypeId = 53
	Type_TZ_TIMESTAMP                  Type_PrimitiveTypeId = 54
	Type_STRING                        Type_PrimitiveTypeId = 4097
	Type_UTF8                          Type_PrimitiveTypeId = 4608
	Type_YSON                          Type_PrimitiveTypeId = 4609
	Type_JSON                          Type_PrimitiveTypeId = 4610
	Type_UUID                          Type_PrimitiveTypeId = 4611
	Type_JSON_DOCUMENT                 Type_PrimitiveTypeId = 4612
	Type_DYNUMBER                      Type_PrimitiveTypeId = 4866
)

func (Type_PrimitiveTypeId) EnumDescriptor

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

func (Type_PrimitiveTypeId) String

func (x Type_PrimitiveTypeId) String() string

type Type_StructType

type Type_StructType struct {
	StructType *StructType `protobuf:"bytes,104,opt,name=struct_type,json=structType,proto3,oneof"`
}

type Type_TaggedType added in v2.5.2

type Type_TaggedType struct {
	TaggedType *TaggedType `protobuf:"bytes,107,opt,name=tagged_type,json=taggedType,proto3,oneof"`
}

type Type_TupleType

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

type Type_TypeId

type Type_TypeId struct {
	TypeId Type_PrimitiveTypeId `protobuf:"varint,1,opt,name=type_id,json=typeId,proto3,enum=Ydb.Type_PrimitiveTypeId,oneof"`
}

type Type_VariantType

type Type_VariantType struct {
	VariantType *VariantType `protobuf:"bytes,106,opt,name=variant_type,json=variantType,proto3,oneof"`
}

type Type_VoidType

type Type_VoidType struct {
	VoidType structpb.NullValue `protobuf:"varint,201,opt,name=void_type,json=voidType,proto3,enum=google.protobuf.NullValue,oneof"`
}

type TypedValue

type TypedValue struct {
	Type                 *Type    `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value                *Value   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TypedValue) Descriptor

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

func (*TypedValue) GetType

func (m *TypedValue) GetType() *Type

func (*TypedValue) GetValue

func (m *TypedValue) GetValue() *Value

func (*TypedValue) ProtoMessage

func (*TypedValue) ProtoMessage()

func (*TypedValue) Reset

func (m *TypedValue) Reset()

func (*TypedValue) String

func (m *TypedValue) String() string

func (*TypedValue) XXX_DiscardUnknown

func (m *TypedValue) XXX_DiscardUnknown()

func (*TypedValue) XXX_Marshal

func (m *TypedValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypedValue) XXX_Merge

func (m *TypedValue) XXX_Merge(src proto.Message)

func (*TypedValue) XXX_Size

func (m *TypedValue) XXX_Size() int

func (*TypedValue) XXX_Unmarshal

func (m *TypedValue) XXX_Unmarshal(b []byte) error

type Value

type Value struct {
	// Types that are valid to be assigned to Value:
	//	*Value_BoolValue
	//	*Value_Int32Value
	//	*Value_Uint32Value
	//	*Value_Int64Value
	//	*Value_Uint64Value
	//	*Value_FloatValue
	//	*Value_DoubleValue
	//	*Value_BytesValue
	//	*Value_TextValue
	//	*Value_NullFlagValue
	//	*Value_NestedValue
	//	*Value_Low_128
	Value                isValue_Value `protobuf_oneof:"value"`
	Items                []*Value      `protobuf:"bytes,12,rep,name=items,proto3" json:"items,omitempty"`
	Pairs                []*ValuePair  `protobuf:"bytes,13,rep,name=pairs,proto3" json:"pairs,omitempty"`
	VariantIndex         uint32        `protobuf:"varint,14,opt,name=variant_index,json=variantIndex,proto3" json:"variant_index,omitempty"`
	High_128             uint64        `protobuf:"fixed64,16,opt,name=high_128,json=high128,proto3" json:"high_128,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Value) Descriptor

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

func (*Value) GetBoolValue

func (m *Value) GetBoolValue() bool

func (*Value) GetBytesValue

func (m *Value) GetBytesValue() []byte

func (*Value) GetDoubleValue

func (m *Value) GetDoubleValue() float64

func (*Value) GetFloatValue

func (m *Value) GetFloatValue() float32

func (*Value) GetHigh_128

func (m *Value) GetHigh_128() uint64

func (*Value) GetInt32Value

func (m *Value) GetInt32Value() int32

func (*Value) GetInt64Value

func (m *Value) GetInt64Value() int64

func (*Value) GetItems

func (m *Value) GetItems() []*Value

func (*Value) GetLow_128

func (m *Value) GetLow_128() uint64

func (*Value) GetNestedValue

func (m *Value) GetNestedValue() *Value

func (*Value) GetNullFlagValue

func (m *Value) GetNullFlagValue() structpb.NullValue

func (*Value) GetPairs

func (m *Value) GetPairs() []*ValuePair

func (*Value) GetTextValue

func (m *Value) GetTextValue() string

func (*Value) GetUint32Value

func (m *Value) GetUint32Value() uint32

func (*Value) GetUint64Value

func (m *Value) GetUint64Value() uint64

func (*Value) GetValue

func (m *Value) GetValue() isValue_Value

func (*Value) GetVariantIndex

func (m *Value) GetVariantIndex() uint32

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) Reset

func (m *Value) Reset()

func (*Value) String

func (m *Value) String() string

func (*Value) XXX_DiscardUnknown

func (m *Value) XXX_DiscardUnknown()

func (*Value) XXX_Marshal

func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Value) XXX_Merge

func (m *Value) XXX_Merge(src proto.Message)

func (*Value) XXX_OneofWrappers

func (*Value) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Value) XXX_Size

func (m *Value) XXX_Size() int

func (*Value) XXX_Unmarshal

func (m *Value) XXX_Unmarshal(b []byte) error

type ValuePair

type ValuePair struct {
	Key                  *Value   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Payload              *Value   `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValuePair) Descriptor

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

func (*ValuePair) GetKey

func (m *ValuePair) GetKey() *Value

func (*ValuePair) GetPayload

func (m *ValuePair) GetPayload() *Value

func (*ValuePair) ProtoMessage

func (*ValuePair) ProtoMessage()

func (*ValuePair) Reset

func (m *ValuePair) Reset()

func (*ValuePair) String

func (m *ValuePair) String() string

func (*ValuePair) XXX_DiscardUnknown

func (m *ValuePair) XXX_DiscardUnknown()

func (*ValuePair) XXX_Marshal

func (m *ValuePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValuePair) XXX_Merge

func (m *ValuePair) XXX_Merge(src proto.Message)

func (*ValuePair) XXX_Size

func (m *ValuePair) XXX_Size() int

func (*ValuePair) XXX_Unmarshal

func (m *ValuePair) XXX_Unmarshal(b []byte) error

type Value_BoolValue

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

type Value_BytesValue

type Value_BytesValue struct {
	BytesValue []byte `protobuf:"bytes,8,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}

type Value_DoubleValue

type Value_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,7,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type Value_FloatValue

type Value_FloatValue struct {
	FloatValue float32 `protobuf:"fixed32,6,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type Value_Int32Value

type Value_Int32Value struct {
	Int32Value int32 `protobuf:"fixed32,2,opt,name=int32_value,json=int32Value,proto3,oneof"`
}

type Value_Int64Value

type Value_Int64Value struct {
	Int64Value int64 `protobuf:"fixed64,4,opt,name=int64_value,json=int64Value,proto3,oneof"`
}

type Value_Low_128

type Value_Low_128 struct {
	Low_128 uint64 `protobuf:"fixed64,15,opt,name=low_128,json=low128,proto3,oneof"`
}

type Value_NestedValue

type Value_NestedValue struct {
	NestedValue *Value `protobuf:"bytes,11,opt,name=nested_value,json=nestedValue,proto3,oneof"`
}

type Value_NullFlagValue

type Value_NullFlagValue struct {
	NullFlagValue structpb.NullValue `protobuf:"varint,10,opt,name=null_flag_value,json=nullFlagValue,proto3,enum=google.protobuf.NullValue,oneof"`
}

type Value_TextValue

type Value_TextValue struct {
	TextValue string `protobuf:"bytes,9,opt,name=text_value,json=textValue,proto3,oneof"`
}

type Value_Uint32Value

type Value_Uint32Value struct {
	Uint32Value uint32 `protobuf:"fixed32,3,opt,name=uint32_value,json=uint32Value,proto3,oneof"`
}

type Value_Uint64Value

type Value_Uint64Value struct {
	Uint64Value uint64 `protobuf:"fixed64,5,opt,name=uint64_value,json=uint64Value,proto3,oneof"`
}

type VariantType

type VariantType struct {
	// Types that are valid to be assigned to Type:
	//	*VariantType_TupleItems
	//	*VariantType_StructItems
	Type                 isVariantType_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*VariantType) Descriptor

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

func (*VariantType) GetStructItems

func (m *VariantType) GetStructItems() *StructType

func (*VariantType) GetTupleItems

func (m *VariantType) GetTupleItems() *TupleType

func (*VariantType) GetType

func (m *VariantType) GetType() isVariantType_Type

func (*VariantType) ProtoMessage

func (*VariantType) ProtoMessage()

func (*VariantType) Reset

func (m *VariantType) Reset()

func (*VariantType) String

func (m *VariantType) String() string

func (*VariantType) XXX_DiscardUnknown

func (m *VariantType) XXX_DiscardUnknown()

func (*VariantType) XXX_Marshal

func (m *VariantType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VariantType) XXX_Merge

func (m *VariantType) XXX_Merge(src proto.Message)

func (*VariantType) XXX_OneofWrappers

func (*VariantType) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*VariantType) XXX_Size

func (m *VariantType) XXX_Size() int

func (*VariantType) XXX_Unmarshal

func (m *VariantType) XXX_Unmarshal(b []byte) error

type VariantType_StructItems

type VariantType_StructItems struct {
	StructItems *StructType `protobuf:"bytes,2,opt,name=struct_items,json=structItems,proto3,oneof"`
}

type VariantType_TupleItems

type VariantType_TupleItems struct {
	TupleItems *TupleType `protobuf:"bytes,1,opt,name=tuple_items,json=tupleItems,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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