Documentation
¶
Index ¶
- Variables
- type DataColumn
- func (*DataColumn) Descriptor() ([]byte, []int)deprecated
- func (x *DataColumn) GetComment() string
- func (x *DataColumn) GetName() string
- func (x *DataColumn) GetNotNullable() bool
- func (x *DataColumn) GetType() string
- func (*DataColumn) ProtoMessage()
- func (x *DataColumn) ProtoReflect() protoreflect.Message
- func (x *DataColumn) Reset()
- func (x *DataColumn) String() string
- type ErrorResponse
- type FileFormat
- type Partition
- type RequestHeader
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetCode() int32
- func (x *Status) GetDetails() []*anypb.Any
- func (x *Status) GetMessage() string
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
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 ErrorResponse ¶
type ErrorResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ErrorResponse) Descriptor
deprecated
func (*ErrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
func (*ErrorResponse) GetStatus ¶
func (x *ErrorResponse) GetStatus() *Status
func (*ErrorResponse) ProtoMessage ¶
func (*ErrorResponse) ProtoMessage()
func (*ErrorResponse) ProtoReflect ¶
func (x *ErrorResponse) ProtoReflect() protoreflect.Message
func (*ErrorResponse) Reset ¶
func (x *ErrorResponse) Reset()
func (*ErrorResponse) String ¶
func (x *ErrorResponse) 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 ¶
func (FileFormat) Type() protoreflect.EnumType
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) GetFields ¶
func (x *Partition) GetFields() []*DataColumn
func (*Partition) ProtoMessage ¶
func (*Partition) ProtoMessage()
func (*Partition) ProtoReflect ¶
func (x *Partition) ProtoReflect() protoreflect.Message
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) GetDetails ¶
func (*Status) GetMessage ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.