persist

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2018 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package persist is a generated protocol buffer package.

It is generated from these files:

persist/options.proto

It has these top-level messages:

QLImpl
TypeMapping

Index

Constants

This section is empty.

Variables

View Source
var E_Mapping = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.ServiceOptions)(nil),
	ExtensionType: (*TypeMapping)(nil),
	Field:         560001,
	Name:          "persist.mapping",
	Tag:           "bytes,560001,opt,name=mapping",
	Filename:      "persist/options.proto",
}
View Source
var E_Pkg = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.FileOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         560003,
	Name:          "persist.pkg",
	Tag:           "bytes,560003,opt,name=pkg",
	Filename:      "persist/options.proto",
}
View Source
var E_Ql = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.MethodOptions)(nil),
	ExtensionType: (*QLImpl)(nil),
	Field:         560000,
	Name:          "persist.ql",
	Tag:           "bytes,560000,opt,name=ql",
	Filename:      "persist/options.proto",
}
View Source
var E_ServiceType = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.ServiceOptions)(nil),
	ExtensionType: (*PersistenceOptions)(nil),
	Field:         560002,
	Name:          "persist.service_type",
	Tag:           "varint,560002,opt,name=service_type,json=serviceType,enum=persist.PersistenceOptions",
	Filename:      "persist/options.proto",
}
View Source
var PersistenceOptions_name = map[int32]string{
	0: "SQL",
	1: "SPANNER",
}
View Source
var PersistenceOptions_value = map[string]int32{
	"SQL":     0,
	"SPANNER": 1,
}

Functions

This section is empty.

Types

type PersistenceOptions

type PersistenceOptions int32
const (
	PersistenceOptions_SQL     PersistenceOptions = 0
	PersistenceOptions_SPANNER PersistenceOptions = 1
)

func (PersistenceOptions) Enum

func (PersistenceOptions) EnumDescriptor

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

func (PersistenceOptions) String

func (x PersistenceOptions) String() string

func (*PersistenceOptions) UnmarshalJSON

func (x *PersistenceOptions) UnmarshalJSON(data []byte) error

type QLImpl

type QLImpl struct {
	Query            []string     `protobuf:"bytes,1,rep,name=query" json:"query,omitempty"`
	Arguments        []string     `protobuf:"bytes,2,rep,name=arguments" json:"arguments,omitempty"`
	Mapping          *TypeMapping `protobuf:"bytes,4,opt,name=mapping" json:"mapping,omitempty"`
	Before           *bool        `protobuf:"varint,10,opt,name=before" json:"before,omitempty"`
	After            *bool        `protobuf:"varint,11,opt,name=after" json:"after,omitempty"`
	XXX_unrecognized []byte       `json:"-"`
}

func (*QLImpl) Descriptor

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

func (*QLImpl) GetAfter

func (m *QLImpl) GetAfter() bool

func (*QLImpl) GetArguments

func (m *QLImpl) GetArguments() []string

func (*QLImpl) GetBefore

func (m *QLImpl) GetBefore() bool

func (*QLImpl) GetMapping

func (m *QLImpl) GetMapping() *TypeMapping

func (*QLImpl) GetQuery

func (m *QLImpl) GetQuery() []string

func (*QLImpl) ProtoMessage

func (*QLImpl) ProtoMessage()

func (*QLImpl) Reset

func (m *QLImpl) Reset()

func (*QLImpl) String

func (m *QLImpl) String() string

type TypeMapping

type TypeMapping struct {
	Types            []*TypeMapping_TypeDescriptor `protobuf:"bytes,1,rep,name=types" json:"types,omitempty"`
	XXX_unrecognized []byte                        `json:"-"`
}

func (*TypeMapping) Descriptor

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

func (*TypeMapping) GetTypes

func (m *TypeMapping) GetTypes() []*TypeMapping_TypeDescriptor

func (*TypeMapping) ProtoMessage

func (*TypeMapping) ProtoMessage()

func (*TypeMapping) Reset

func (m *TypeMapping) Reset()

func (*TypeMapping) String

func (m *TypeMapping) String() string

type TypeMapping_TypeDescriptor

type TypeMapping_TypeDescriptor struct {
	ProtoTypeName    *string                                     `protobuf:"bytes,1,opt,name=proto_type_name,json=protoTypeName" json:"proto_type_name,omitempty"`
	ProtoType        *google_protobuf.FieldDescriptorProto_Type  `` /* 129-byte string literal not displayed */
	ProtoLabel       *google_protobuf.FieldDescriptorProto_Label `` /* 133-byte string literal not displayed */
	GoType           *string                                     `protobuf:"bytes,4,req,name=go_type,json=goType" json:"go_type,omitempty"`
	GoPackage        *string                                     `protobuf:"bytes,5,req,name=go_package,json=goPackage" json:"go_package,omitempty"`
	XXX_unrecognized []byte                                      `json:"-"`
}

func (*TypeMapping_TypeDescriptor) Descriptor

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

func (*TypeMapping_TypeDescriptor) GetGoPackage

func (m *TypeMapping_TypeDescriptor) GetGoPackage() string

func (*TypeMapping_TypeDescriptor) GetGoType

func (m *TypeMapping_TypeDescriptor) GetGoType() string

func (*TypeMapping_TypeDescriptor) GetProtoLabel

func (*TypeMapping_TypeDescriptor) GetProtoType

func (*TypeMapping_TypeDescriptor) GetProtoTypeName

func (m *TypeMapping_TypeDescriptor) GetProtoTypeName() string

func (*TypeMapping_TypeDescriptor) ProtoMessage

func (*TypeMapping_TypeDescriptor) ProtoMessage()

func (*TypeMapping_TypeDescriptor) Reset

func (m *TypeMapping_TypeDescriptor) Reset()

func (*TypeMapping_TypeDescriptor) String

func (m *TypeMapping_TypeDescriptor) String() string

Jump to

Keyboard shortcuts

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