v1alpha1

package
v0.0.0-...-81cdc2d Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FileFormat_name = map[int32]string{
		0: "UNKNOWN",
		1: "CSV",
		2: "BINARY",
	}
	FileFormat_value = map[string]int32{
		"UNKNOWN": 0,
		"CSV":     1,
		"BINARY":  2,
	}
)

Enum value maps for FileFormat.

View Source
var File_kuscia_proto_api_v1alpha1_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DataColumn

type DataColumn struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// enum: int8, int16, int32, int64, uint8, uint16, uint32, uint64, float32, float64, date32, date64, bool, string,
	// binary
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// The description of column
	Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	// can the column could be nullable, default is nullable
	NotNullable bool `protobuf:"varint,4,opt,name=not_nullable,json=notNullable,proto3" json:"not_nullable,omitempty"`
	// contains filtered or unexported fields
}

DataColumn defines the column of data.

func (*DataColumn) Descriptor deprecated

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

Deprecated: Use DataColumn.ProtoReflect.Descriptor instead.

func (*DataColumn) GetComment

func (x *DataColumn) GetComment() string

func (*DataColumn) GetName

func (x *DataColumn) GetName() string

func (*DataColumn) GetNotNullable

func (x *DataColumn) GetNotNullable() bool

func (*DataColumn) GetType

func (x *DataColumn) GetType() string

func (*DataColumn) ProtoMessage

func (*DataColumn) ProtoMessage()

func (*DataColumn) ProtoReflect

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

func (*DataColumn) Reset

func (x *DataColumn) Reset()

func (*DataColumn) String

func (x *DataColumn) String() string

type FileFormat

type FileFormat int32
const (
	FileFormat_UNKNOWN FileFormat = 0
	FileFormat_CSV     FileFormat = 1
	FileFormat_BINARY  FileFormat = 2
)

func (FileFormat) Descriptor

func (FileFormat) Descriptor() protoreflect.EnumDescriptor

func (FileFormat) Enum

func (x FileFormat) Enum() *FileFormat

func (FileFormat) EnumDescriptor deprecated

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

Deprecated: Use FileFormat.Descriptor instead.

func (FileFormat) Number

func (x FileFormat) Number() protoreflect.EnumNumber

func (FileFormat) String

func (x FileFormat) String() string

func (FileFormat) Type

type Partition

type Partition struct {

	// enum path, odps
	Type   string        `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Fields []*DataColumn `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*Partition) Descriptor deprecated

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

Deprecated: Use Partition.ProtoReflect.Descriptor instead.

func (*Partition) GetFields

func (x *Partition) GetFields() []*DataColumn

func (*Partition) GetType

func (x *Partition) GetType() string

func (*Partition) ProtoMessage

func (*Partition) ProtoMessage()

func (*Partition) ProtoReflect

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

func (*Partition) Reset

func (x *Partition) Reset()

func (*Partition) String

func (x *Partition) String() string

type RequestHeader

type RequestHeader struct {

	// Custom headers used to record custom information.
	CustomHeaders map[string]string `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

RequestHeader carries the user custom headers.

func (*RequestHeader) Descriptor deprecated

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

Deprecated: Use RequestHeader.ProtoReflect.Descriptor instead.

func (*RequestHeader) GetCustomHeaders

func (x *RequestHeader) GetCustomHeaders() map[string]string

func (*RequestHeader) ProtoMessage

func (*RequestHeader) ProtoMessage()

func (*RequestHeader) ProtoReflect

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

func (*RequestHeader) Reset

func (x *RequestHeader) Reset()

func (*RequestHeader) String

func (x *RequestHeader) String() string

type Status

type Status struct {

	// The status code, which should be one of google rpc code or custom code.
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// Message for recording the error information.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// A list of messages that carry the additional supplementary error details.
	Details []*anypb.Any `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

Status carries the response status information. Reference: https://github.com/grpc/grpc/blob/master/src/proto/grpc/status/status.proto

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetCode

func (x *Status) GetCode() int32

func (*Status) GetDetails

func (x *Status) GetDetails() []*anypb.Any

func (*Status) GetMessage

func (x *Status) GetMessage() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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