transaction

package
v0.0.0-...-ab4fb46 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MessageOption_AccessorType_name = map[int32]string{
		0: "Unknown",
		1: "OnlyServer",
		2: "ServerAndClient",
	}
	MessageOption_AccessorType_value = map[string]int32{
		"Unknown":         0,
		"OnlyServer":      1,
		"ServerAndClient": 2,
	}
)

Enum value maps for MessageOption_AccessorType.

View Source
var (
	FieldOption_AccessorType_name = map[int32]string{
		0: "All",
		1: "OnlyServer",
		2: "OnlyClient",
	}
	FieldOption_AccessorType_value = map[string]int32{
		"All":        0,
		"OnlyServer": 1,
		"OnlyClient": 2,
	}
)

Enum value maps for FieldOption_AccessorType.

View Source
var (
	// optional server.options.transaction.FieldOption field = 53002;
	E_Field = &file_server_options_transaction_options_proto_extTypes[1]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional server.options.transaction.MessageOption message = 53001;
	E_Message = &file_server_options_transaction_options_proto_extTypes[0]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var File_server_options_transaction_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FieldOption

type FieldOption struct {
	AccessorType FieldOption_AccessorType `` /* 155-byte string literal not displayed */
	Ddl          *FieldOption_DDL         `protobuf:"bytes,2,opt,name=ddl,proto3" json:"ddl,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldOption) Descriptor deprecated

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

Deprecated: Use FieldOption.ProtoReflect.Descriptor instead.

func (*FieldOption) GetAccessorType

func (x *FieldOption) GetAccessorType() FieldOption_AccessorType

func (*FieldOption) GetDdl

func (x *FieldOption) GetDdl() *FieldOption_DDL

func (*FieldOption) ProtoMessage

func (*FieldOption) ProtoMessage()

func (*FieldOption) ProtoReflect

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

func (*FieldOption) Reset

func (x *FieldOption) Reset()

func (*FieldOption) String

func (x *FieldOption) String() string

type FieldOption_AccessorType

type FieldOption_AccessorType int32
const (
	FieldOption_All        FieldOption_AccessorType = 0
	FieldOption_OnlyServer FieldOption_AccessorType = 1
	FieldOption_OnlyClient FieldOption_AccessorType = 2
)

func (FieldOption_AccessorType) Descriptor

func (FieldOption_AccessorType) Enum

func (FieldOption_AccessorType) EnumDescriptor deprecated

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

Deprecated: Use FieldOption_AccessorType.Descriptor instead.

func (FieldOption_AccessorType) Number

func (FieldOption_AccessorType) String

func (x FieldOption_AccessorType) String() string

func (FieldOption_AccessorType) Type

type FieldOption_DDL

type FieldOption_DDL struct {
	Pk        bool                       `protobuf:"varint,1,opt,name=pk,proto3" json:"pk,omitempty"`
	MasterRef *FieldOption_DDL_MasterRef `protobuf:"bytes,3,opt,name=master_ref,json=masterRef,proto3" json:"master_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldOption_DDL) Descriptor deprecated

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

Deprecated: Use FieldOption_DDL.ProtoReflect.Descriptor instead.

func (*FieldOption_DDL) GetMasterRef

func (x *FieldOption_DDL) GetMasterRef() *FieldOption_DDL_MasterRef

func (*FieldOption_DDL) GetPk

func (x *FieldOption_DDL) GetPk() bool

func (*FieldOption_DDL) ProtoMessage

func (*FieldOption_DDL) ProtoMessage()

func (*FieldOption_DDL) ProtoReflect

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

func (*FieldOption_DDL) Reset

func (x *FieldOption_DDL) Reset()

func (*FieldOption_DDL) String

func (x *FieldOption_DDL) String() string

type FieldOption_DDL_MasterRef

type FieldOption_DDL_MasterRef struct {
	Table  string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
	Column string `protobuf:"bytes,2,opt,name=column,proto3" json:"column,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldOption_DDL_MasterRef) Descriptor deprecated

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

Deprecated: Use FieldOption_DDL_MasterRef.ProtoReflect.Descriptor instead.

func (*FieldOption_DDL_MasterRef) GetColumn

func (x *FieldOption_DDL_MasterRef) GetColumn() string

func (*FieldOption_DDL_MasterRef) GetTable

func (x *FieldOption_DDL_MasterRef) GetTable() string

func (*FieldOption_DDL_MasterRef) ProtoMessage

func (*FieldOption_DDL_MasterRef) ProtoMessage()

func (*FieldOption_DDL_MasterRef) ProtoReflect

func (*FieldOption_DDL_MasterRef) Reset

func (x *FieldOption_DDL_MasterRef) Reset()

func (*FieldOption_DDL_MasterRef) String

func (x *FieldOption_DDL_MasterRef) String() string

type MessageOption

type MessageOption struct {
	AccessorType MessageOption_AccessorType `` /* 157-byte string literal not displayed */
	Ddl          *MessageOption_DDL         `protobuf:"bytes,2,opt,name=ddl,proto3" json:"ddl,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageOption) Descriptor deprecated

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

Deprecated: Use MessageOption.ProtoReflect.Descriptor instead.

func (*MessageOption) GetAccessorType

func (x *MessageOption) GetAccessorType() MessageOption_AccessorType

func (*MessageOption) GetDdl

func (x *MessageOption) GetDdl() *MessageOption_DDL

func (*MessageOption) ProtoMessage

func (*MessageOption) ProtoMessage()

func (*MessageOption) ProtoReflect

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

func (*MessageOption) Reset

func (x *MessageOption) Reset()

func (*MessageOption) String

func (x *MessageOption) String() string

type MessageOption_AccessorType

type MessageOption_AccessorType int32
const (
	MessageOption_Unknown         MessageOption_AccessorType = 0
	MessageOption_OnlyServer      MessageOption_AccessorType = 1
	MessageOption_ServerAndClient MessageOption_AccessorType = 2
)

func (MessageOption_AccessorType) Descriptor

func (MessageOption_AccessorType) Enum

func (MessageOption_AccessorType) EnumDescriptor deprecated

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

Deprecated: Use MessageOption_AccessorType.Descriptor instead.

func (MessageOption_AccessorType) Number

func (MessageOption_AccessorType) String

func (MessageOption_AccessorType) Type

type MessageOption_DDL

type MessageOption_DDL struct {
	Indexes    []*MessageOption_DDL_Index    `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"`
	Interleave *MessageOption_DDL_Interleave `protobuf:"bytes,2,opt,name=interleave,proto3" json:"interleave,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageOption_DDL) Descriptor deprecated

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

Deprecated: Use MessageOption_DDL.ProtoReflect.Descriptor instead.

func (*MessageOption_DDL) GetIndexes

func (x *MessageOption_DDL) GetIndexes() []*MessageOption_DDL_Index

func (*MessageOption_DDL) GetInterleave

func (x *MessageOption_DDL) GetInterleave() *MessageOption_DDL_Interleave

func (*MessageOption_DDL) ProtoMessage

func (*MessageOption_DDL) ProtoMessage()

func (*MessageOption_DDL) ProtoReflect

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

func (*MessageOption_DDL) Reset

func (x *MessageOption_DDL) Reset()

func (*MessageOption_DDL) String

func (x *MessageOption_DDL) String() string

type MessageOption_DDL_Index

type MessageOption_DDL_Index struct {
	Keys    []*MessageOption_DDL_Index_Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	Unique  bool                           `protobuf:"varint,2,opt,name=unique,proto3" json:"unique,omitempty"`
	Storing []string                       `protobuf:"bytes,3,rep,name=storing,proto3" json:"storing,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageOption_DDL_Index) Descriptor deprecated

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

Deprecated: Use MessageOption_DDL_Index.ProtoReflect.Descriptor instead.

func (*MessageOption_DDL_Index) GetKeys

func (*MessageOption_DDL_Index) GetStoring

func (x *MessageOption_DDL_Index) GetStoring() []string

func (*MessageOption_DDL_Index) GetUnique

func (x *MessageOption_DDL_Index) GetUnique() bool

func (*MessageOption_DDL_Index) ProtoMessage

func (*MessageOption_DDL_Index) ProtoMessage()

func (*MessageOption_DDL_Index) ProtoReflect

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

func (*MessageOption_DDL_Index) Reset

func (x *MessageOption_DDL_Index) Reset()

func (*MessageOption_DDL_Index) String

func (x *MessageOption_DDL_Index) String() string

type MessageOption_DDL_Index_Key

type MessageOption_DDL_Index_Key struct {
	Column string `protobuf:"bytes,1,opt,name=column,proto3" json:"column,omitempty"`
	Desc   bool   `protobuf:"varint,2,opt,name=desc,proto3" json:"desc,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageOption_DDL_Index_Key) Descriptor deprecated

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

Deprecated: Use MessageOption_DDL_Index_Key.ProtoReflect.Descriptor instead.

func (*MessageOption_DDL_Index_Key) GetColumn

func (x *MessageOption_DDL_Index_Key) GetColumn() string

func (*MessageOption_DDL_Index_Key) GetDesc

func (x *MessageOption_DDL_Index_Key) GetDesc() bool

func (*MessageOption_DDL_Index_Key) ProtoMessage

func (*MessageOption_DDL_Index_Key) ProtoMessage()

func (*MessageOption_DDL_Index_Key) ProtoReflect

func (*MessageOption_DDL_Index_Key) Reset

func (x *MessageOption_DDL_Index_Key) Reset()

func (*MessageOption_DDL_Index_Key) String

func (x *MessageOption_DDL_Index_Key) String() string

type MessageOption_DDL_Interleave

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

func (*MessageOption_DDL_Interleave) Descriptor deprecated

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

Deprecated: Use MessageOption_DDL_Interleave.ProtoReflect.Descriptor instead.

func (*MessageOption_DDL_Interleave) GetTable

func (x *MessageOption_DDL_Interleave) GetTable() string

func (*MessageOption_DDL_Interleave) ProtoMessage

func (*MessageOption_DDL_Interleave) ProtoMessage()

func (*MessageOption_DDL_Interleave) ProtoReflect

func (*MessageOption_DDL_Interleave) Reset

func (x *MessageOption_DDL_Interleave) Reset()

func (*MessageOption_DDL_Interleave) String

Jump to

Keyboard shortcuts

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