Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterClassifierFileTemplatesServer(s grpc.ServiceRegistrar, srv ClassifierFileTemplatesServer)
- type ClassifierEntityTypes
- func (*ClassifierEntityTypes) Descriptor() ([]byte, []int)deprecated
- func (x *ClassifierEntityTypes) GetTypes() []commons.ClassifierEntityType
- func (*ClassifierEntityTypes) ProtoMessage()
- func (x *ClassifierEntityTypes) ProtoReflect() protoreflect.Message
- func (x *ClassifierEntityTypes) Reset()
- func (x *ClassifierEntityTypes) String() string
- type ClassifierFileTemplatesClient
- type ClassifierFileTemplatesServer
- type Constraints
- func (*Constraints) Descriptor() ([]byte, []int)deprecated
- func (x *Constraints) GetAllow() map[string]*ClassifierEntityTypes
- func (x *Constraints) GetForbid() map[string]*ClassifierEntityTypes
- func (*Constraints) ProtoMessage()
- func (x *Constraints) ProtoReflect() protoreflect.Message
- func (x *Constraints) Reset()
- func (x *Constraints) String() string
- type DeleteFileTemplateRequest
- func (*DeleteFileTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFileTemplateRequest) GetFileTemplate() int64
- func (*DeleteFileTemplateRequest) ProtoMessage()
- func (x *DeleteFileTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFileTemplateRequest) Reset()
- func (x *DeleteFileTemplateRequest) String() string
- type DeleteFileTemplateResponse
- type FileTemplate
- func (*FileTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *FileTemplate) GetConstraints() *Constraints
- func (x *FileTemplate) GetFields() []*FileTemplate_Field
- func (x *FileTemplate) GetFileTemplateId() int64
- func (x *FileTemplate) GetFilename() string
- func (x *FileTemplate) GetFoid() int64
- func (x *FileTemplate) GetParseOpts() *ParseOpts
- func (*FileTemplate) ProtoMessage()
- func (x *FileTemplate) ProtoReflect() protoreflect.Message
- func (x *FileTemplate) Reset()
- func (x *FileTemplate) String() string
- type FileTemplate_Field
- func (*FileTemplate_Field) Descriptor() ([]byte, []int)deprecated
- func (x *FileTemplate_Field) GetEntityType() commons.ClassifierEntityType
- func (x *FileTemplate_Field) GetFormat() string
- func (x *FileTemplate_Field) GetName() string
- func (x *FileTemplate_Field) GetRawValue() string
- func (x *FileTemplate_Field) GetSyntaxType() string
- func (*FileTemplate_Field) ProtoMessage()
- func (x *FileTemplate_Field) ProtoReflect() protoreflect.Message
- func (x *FileTemplate_Field) Reset()
- func (x *FileTemplate_Field) String() string
- type GetFileTemplateRequest
- func (*GetFileTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileTemplateRequest) GetFileTemplateId() int64
- func (*GetFileTemplateRequest) ProtoMessage()
- func (x *GetFileTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileTemplateRequest) Reset()
- func (x *GetFileTemplateRequest) String() string
- type GetFileTemplateResponse
- func (*GetFileTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileTemplateResponse) GetFileTemplate() *FileTemplate
- func (*GetFileTemplateResponse) ProtoMessage()
- func (x *GetFileTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *GetFileTemplateResponse) Reset()
- func (x *GetFileTemplateResponse) String() string
- type ListFileTemplatesRequest
- func (*ListFileTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFileTemplatesRequest) GetAsc() bool
- func (x *ListFileTemplatesRequest) GetPageSize() int32
- func (x *ListFileTemplatesRequest) GetPrevId() int64
- func (*ListFileTemplatesRequest) ProtoMessage()
- func (x *ListFileTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListFileTemplatesRequest) Reset()
- func (x *ListFileTemplatesRequest) String() string
- type ListFileTemplatesResponse
- func (*ListFileTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFileTemplatesResponse) GetFileTemplates() []*FileTemplate
- func (*ListFileTemplatesResponse) ProtoMessage()
- func (x *ListFileTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListFileTemplatesResponse) Reset()
- func (x *ListFileTemplatesResponse) String() string
- type OptsCsv
- func (*OptsCsv) Descriptor() ([]byte, []int)deprecated
- func (x *OptsCsv) GetHasHeader() bool
- func (x *OptsCsv) GetHeader() []string
- func (x *OptsCsv) GetSeparator() string
- func (x *OptsCsv) GetSkipRows() int64
- func (*OptsCsv) ProtoMessage()
- func (x *OptsCsv) ProtoReflect() protoreflect.Message
- func (x *OptsCsv) Reset()
- func (x *OptsCsv) String() string
- type OptsFixed
- type OptsFixed_FieldOpts
- func (*OptsFixed_FieldOpts) Descriptor() ([]byte, []int)deprecated
- func (x *OptsFixed_FieldOpts) GetFieldLength() int32
- func (x *OptsFixed_FieldOpts) GetStartingPosition() int32
- func (*OptsFixed_FieldOpts) ProtoMessage()
- func (x *OptsFixed_FieldOpts) ProtoReflect() protoreflect.Message
- func (x *OptsFixed_FieldOpts) Reset()
- func (x *OptsFixed_FieldOpts) String() string
- type OptsJson
- type OptsJsonL
- type OptsParquet
- type ParseFileRequest
- func (*ParseFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ParseFileRequest) GetName() string
- func (m *ParseFileRequest) GetOpt() isParseFileRequest_Opt
- func (x *ParseFileRequest) GetRawData() []byte
- func (x *ParseFileRequest) GetReparseFile() *ParseFileRequest_ReParseFile
- func (*ParseFileRequest) ProtoMessage()
- func (x *ParseFileRequest) ProtoReflect() protoreflect.Message
- func (x *ParseFileRequest) Reset()
- func (x *ParseFileRequest) String() string
- type ParseFileRequest_RawData
- type ParseFileRequest_ReParseFile
- func (*ParseFileRequest_ReParseFile) Descriptor() ([]byte, []int)deprecated
- func (x *ParseFileRequest_ReParseFile) GetFileTemplateId() int64
- func (x *ParseFileRequest_ReParseFile) GetHints() *ParseHints
- func (*ParseFileRequest_ReParseFile) ProtoMessage()
- func (x *ParseFileRequest_ReParseFile) ProtoReflect() protoreflect.Message
- func (x *ParseFileRequest_ReParseFile) Reset()
- func (x *ParseFileRequest_ReParseFile) String() string
- type ParseFileRequest_ReparseFile
- type ParseFileResponse
- func (*ParseFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ParseFileResponse) GetFileTemplate() *FileTemplate
- func (*ParseFileResponse) ProtoMessage()
- func (x *ParseFileResponse) ProtoReflect() protoreflect.Message
- func (x *ParseFileResponse) Reset()
- func (x *ParseFileResponse) String() string
- type ParseHints
- func (*ParseHints) Descriptor() ([]byte, []int)deprecated
- func (x *ParseHints) GetConstraints() *Constraints
- func (x *ParseHints) GetParseOpts() *ParseOpts
- func (*ParseHints) ProtoMessage()
- func (x *ParseHints) ProtoReflect() protoreflect.Message
- func (x *ParseHints) Reset()
- func (x *ParseHints) String() string
- type ParseOpts
- func (*ParseOpts) Descriptor() ([]byte, []int)deprecated
- func (x *ParseOpts) GetCsv() *OptsCsv
- func (x *ParseOpts) GetFixed() *OptsFixed
- func (m *ParseOpts) GetFtype() isParseOpts_Ftype
- func (x *ParseOpts) GetJson() *OptsJson
- func (x *ParseOpts) GetJsonl() *OptsJsonL
- func (x *ParseOpts) GetParquet() *OptsParquet
- func (*ParseOpts) ProtoMessage()
- func (x *ParseOpts) ProtoReflect() protoreflect.Message
- func (x *ParseOpts) Reset()
- func (x *ParseOpts) String() string
- type ParseOpts_Csv
- type ParseOpts_Fixed
- type ParseOpts_Json
- type ParseOpts_Jsonl
- type ParseOpts_Parquet
- type UnimplementedClassifierFileTemplatesServer
- func (UnimplementedClassifierFileTemplatesServer) DeleteFileTemplate(context.Context, *DeleteFileTemplateRequest) (*DeleteFileTemplateResponse, error)
- func (UnimplementedClassifierFileTemplatesServer) GetFileTemplate(context.Context, *GetFileTemplateRequest) (*GetFileTemplateResponse, error)
- func (UnimplementedClassifierFileTemplatesServer) ListFileTemplates(context.Context, *ListFileTemplatesRequest) (*ListFileTemplatesResponse, error)
- func (UnimplementedClassifierFileTemplatesServer) ParseFile(context.Context, *ParseFileRequest) (*ParseFileResponse, error)
- func (UnimplementedClassifierFileTemplatesServer) UpdateFileTemplate(context.Context, *UpdateFileTemplateRequest) (*UpdateFileTemplateResponse, error)
- type UnsafeClassifierFileTemplatesServer
- type UpdateFileTemplateRequest
- func (*UpdateFileTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFileTemplateRequest) GetFileTemplate() *FileTemplate
- func (*UpdateFileTemplateRequest) ProtoMessage()
- func (x *UpdateFileTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFileTemplateRequest) Reset()
- func (x *UpdateFileTemplateRequest) String() string
- type UpdateFileTemplateResponse
Constants ¶
const ( ClassifierFileTemplates_ParseFile_FullMethodName = "/api.v1alpha1.classifier.ClassifierFileTemplates/ParseFile" ClassifierFileTemplates_UpdateFileTemplate_FullMethodName = "/api.v1alpha1.classifier.ClassifierFileTemplates/UpdateFileTemplate" ClassifierFileTemplates_DeleteFileTemplate_FullMethodName = "/api.v1alpha1.classifier.ClassifierFileTemplates/DeleteFileTemplate" ClassifierFileTemplates_ListFileTemplates_FullMethodName = "/api.v1alpha1.classifier.ClassifierFileTemplates/ListFileTemplates" ClassifierFileTemplates_GetFileTemplate_FullMethodName = "/api.v1alpha1.classifier.ClassifierFileTemplates/GetFileTemplate" )
Variables ¶
var ClassifierFileTemplates_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.v1alpha1.classifier.ClassifierFileTemplates", HandlerType: (*ClassifierFileTemplatesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ParseFile", Handler: _ClassifierFileTemplates_ParseFile_Handler, }, { MethodName: "UpdateFileTemplate", Handler: _ClassifierFileTemplates_UpdateFileTemplate_Handler, }, { MethodName: "DeleteFileTemplate", Handler: _ClassifierFileTemplates_DeleteFileTemplate_Handler, }, { MethodName: "ListFileTemplates", Handler: _ClassifierFileTemplates_ListFileTemplates_Handler, }, { MethodName: "GetFileTemplate", Handler: _ClassifierFileTemplates_GetFileTemplate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1alpha1/classifier/service.proto", }
ClassifierFileTemplates_ServiceDesc is the grpc.ServiceDesc for ClassifierFileTemplates service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_v1alpha1_classifier_entities_proto protoreflect.FileDescriptor
var File_api_v1alpha1_classifier_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterClassifierFileTemplatesServer ¶
func RegisterClassifierFileTemplatesServer(s grpc.ServiceRegistrar, srv ClassifierFileTemplatesServer)
Types ¶
type ClassifierEntityTypes ¶
type ClassifierEntityTypes struct { Types []commons.ClassifierEntityType `protobuf:"varint,1,rep,packed,name=types,proto3,enum=api.commons.ClassifierEntityType" json:"types,omitempty"` // contains filtered or unexported fields }
func (*ClassifierEntityTypes) Descriptor
deprecated
func (*ClassifierEntityTypes) Descriptor() ([]byte, []int)
Deprecated: Use ClassifierEntityTypes.ProtoReflect.Descriptor instead.
func (*ClassifierEntityTypes) GetTypes ¶
func (x *ClassifierEntityTypes) GetTypes() []commons.ClassifierEntityType
func (*ClassifierEntityTypes) ProtoMessage ¶
func (*ClassifierEntityTypes) ProtoMessage()
func (*ClassifierEntityTypes) ProtoReflect ¶
func (x *ClassifierEntityTypes) ProtoReflect() protoreflect.Message
func (*ClassifierEntityTypes) Reset ¶
func (x *ClassifierEntityTypes) Reset()
func (*ClassifierEntityTypes) String ¶
func (x *ClassifierEntityTypes) String() string
type ClassifierFileTemplatesClient ¶
type ClassifierFileTemplatesClient interface { ParseFile(ctx context.Context, in *ParseFileRequest, opts ...grpc.CallOption) (*ParseFileResponse, error) UpdateFileTemplate(ctx context.Context, in *UpdateFileTemplateRequest, opts ...grpc.CallOption) (*UpdateFileTemplateResponse, error) DeleteFileTemplate(ctx context.Context, in *DeleteFileTemplateRequest, opts ...grpc.CallOption) (*DeleteFileTemplateResponse, error) ListFileTemplates(ctx context.Context, in *ListFileTemplatesRequest, opts ...grpc.CallOption) (*ListFileTemplatesResponse, error) GetFileTemplate(ctx context.Context, in *GetFileTemplateRequest, opts ...grpc.CallOption) (*GetFileTemplateResponse, error) }
ClassifierFileTemplatesClient is the client API for ClassifierFileTemplates service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewClassifierFileTemplatesClient ¶
func NewClassifierFileTemplatesClient(cc grpc.ClientConnInterface) ClassifierFileTemplatesClient
type ClassifierFileTemplatesServer ¶
type ClassifierFileTemplatesServer interface { ParseFile(context.Context, *ParseFileRequest) (*ParseFileResponse, error) UpdateFileTemplate(context.Context, *UpdateFileTemplateRequest) (*UpdateFileTemplateResponse, error) DeleteFileTemplate(context.Context, *DeleteFileTemplateRequest) (*DeleteFileTemplateResponse, error) ListFileTemplates(context.Context, *ListFileTemplatesRequest) (*ListFileTemplatesResponse, error) GetFileTemplate(context.Context, *GetFileTemplateRequest) (*GetFileTemplateResponse, error) // contains filtered or unexported methods }
ClassifierFileTemplatesServer is the server API for ClassifierFileTemplates service. All implementations must embed UnimplementedClassifierFileTemplatesServer for forward compatibility
type Constraints ¶
type Constraints struct { Forbid map[string]*ClassifierEntityTypes `` /* 153-byte string literal not displayed */ Allow map[string]*ClassifierEntityTypes `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
these are options to forbid/allow certain types from being guessed by Classifier
func (*Constraints) Descriptor
deprecated
func (*Constraints) Descriptor() ([]byte, []int)
Deprecated: Use Constraints.ProtoReflect.Descriptor instead.
func (*Constraints) GetAllow ¶
func (x *Constraints) GetAllow() map[string]*ClassifierEntityTypes
func (*Constraints) GetForbid ¶
func (x *Constraints) GetForbid() map[string]*ClassifierEntityTypes
func (*Constraints) ProtoMessage ¶
func (*Constraints) ProtoMessage()
func (*Constraints) ProtoReflect ¶
func (x *Constraints) ProtoReflect() protoreflect.Message
func (*Constraints) Reset ¶
func (x *Constraints) Reset()
func (*Constraints) String ¶
func (x *Constraints) String() string
type DeleteFileTemplateRequest ¶
type DeleteFileTemplateRequest struct { FileTemplate int64 `protobuf:"varint,1,opt,name=file_template,json=fileTemplate,proto3" json:"file_template,omitempty"` // contains filtered or unexported fields }
func (*DeleteFileTemplateRequest) Descriptor
deprecated
func (*DeleteFileTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteFileTemplateRequest) GetFileTemplate ¶
func (x *DeleteFileTemplateRequest) GetFileTemplate() int64
func (*DeleteFileTemplateRequest) ProtoMessage ¶
func (*DeleteFileTemplateRequest) ProtoMessage()
func (*DeleteFileTemplateRequest) ProtoReflect ¶
func (x *DeleteFileTemplateRequest) ProtoReflect() protoreflect.Message
func (*DeleteFileTemplateRequest) Reset ¶
func (x *DeleteFileTemplateRequest) Reset()
func (*DeleteFileTemplateRequest) String ¶
func (x *DeleteFileTemplateRequest) String() string
type DeleteFileTemplateResponse ¶
type DeleteFileTemplateResponse struct {
// contains filtered or unexported fields
}
func (*DeleteFileTemplateResponse) Descriptor
deprecated
func (*DeleteFileTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileTemplateResponse.ProtoReflect.Descriptor instead.
func (*DeleteFileTemplateResponse) ProtoMessage ¶
func (*DeleteFileTemplateResponse) ProtoMessage()
func (*DeleteFileTemplateResponse) ProtoReflect ¶
func (x *DeleteFileTemplateResponse) ProtoReflect() protoreflect.Message
func (*DeleteFileTemplateResponse) Reset ¶
func (x *DeleteFileTemplateResponse) Reset()
func (*DeleteFileTemplateResponse) String ¶
func (x *DeleteFileTemplateResponse) String() string
type FileTemplate ¶
type FileTemplate struct { FileTemplateId int64 `protobuf:"varint,1,opt,name=file_template_id,json=fileTemplateId,proto3" json:"file_template_id,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` Fields []*FileTemplate_Field `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` ParseOpts *ParseOpts `protobuf:"bytes,4,opt,name=parse_opts,json=parseOpts,proto3" json:"parse_opts,omitempty"` Constraints *Constraints `protobuf:"bytes,5,opt,name=constraints,proto3" json:"constraints,omitempty"` Foid int64 `protobuf:"varint,6,opt,name=foid,proto3" json:"foid,omitempty"` // contains filtered or unexported fields }
func (*FileTemplate) Descriptor
deprecated
func (*FileTemplate) Descriptor() ([]byte, []int)
Deprecated: Use FileTemplate.ProtoReflect.Descriptor instead.
func (*FileTemplate) GetConstraints ¶
func (x *FileTemplate) GetConstraints() *Constraints
func (*FileTemplate) GetFields ¶
func (x *FileTemplate) GetFields() []*FileTemplate_Field
func (*FileTemplate) GetFileTemplateId ¶
func (x *FileTemplate) GetFileTemplateId() int64
func (*FileTemplate) GetFilename ¶
func (x *FileTemplate) GetFilename() string
func (*FileTemplate) GetFoid ¶
func (x *FileTemplate) GetFoid() int64
func (*FileTemplate) GetParseOpts ¶
func (x *FileTemplate) GetParseOpts() *ParseOpts
func (*FileTemplate) ProtoMessage ¶
func (*FileTemplate) ProtoMessage()
func (*FileTemplate) ProtoReflect ¶
func (x *FileTemplate) ProtoReflect() protoreflect.Message
func (*FileTemplate) Reset ¶
func (x *FileTemplate) Reset()
func (*FileTemplate) String ¶
func (x *FileTemplate) String() string
type FileTemplate_Field ¶
type FileTemplate_Field struct { SyntaxType string `protobuf:"bytes,1,opt,name=syntax_type,json=syntaxType,proto3" json:"syntax_type,omitempty"` EntityType commons.ClassifierEntityType `` /* 130-byte string literal not displayed */ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"` // example of a value for this field RawValue string `protobuf:"bytes,5,opt,name=raw_value,json=rawValue,proto3" json:"raw_value,omitempty"` // contains filtered or unexported fields }
func (*FileTemplate_Field) Descriptor
deprecated
func (*FileTemplate_Field) Descriptor() ([]byte, []int)
Deprecated: Use FileTemplate_Field.ProtoReflect.Descriptor instead.
func (*FileTemplate_Field) GetEntityType ¶
func (x *FileTemplate_Field) GetEntityType() commons.ClassifierEntityType
func (*FileTemplate_Field) GetFormat ¶
func (x *FileTemplate_Field) GetFormat() string
func (*FileTemplate_Field) GetName ¶
func (x *FileTemplate_Field) GetName() string
func (*FileTemplate_Field) GetRawValue ¶
func (x *FileTemplate_Field) GetRawValue() string
func (*FileTemplate_Field) GetSyntaxType ¶
func (x *FileTemplate_Field) GetSyntaxType() string
func (*FileTemplate_Field) ProtoMessage ¶
func (*FileTemplate_Field) ProtoMessage()
func (*FileTemplate_Field) ProtoReflect ¶
func (x *FileTemplate_Field) ProtoReflect() protoreflect.Message
func (*FileTemplate_Field) Reset ¶
func (x *FileTemplate_Field) Reset()
func (*FileTemplate_Field) String ¶
func (x *FileTemplate_Field) String() string
type GetFileTemplateRequest ¶
type GetFileTemplateRequest struct { FileTemplateId int64 `protobuf:"varint,1,opt,name=file_template_id,json=fileTemplateId,proto3" json:"file_template_id,omitempty"` // contains filtered or unexported fields }
func (*GetFileTemplateRequest) Descriptor
deprecated
func (*GetFileTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetFileTemplateRequest) GetFileTemplateId ¶
func (x *GetFileTemplateRequest) GetFileTemplateId() int64
func (*GetFileTemplateRequest) ProtoMessage ¶
func (*GetFileTemplateRequest) ProtoMessage()
func (*GetFileTemplateRequest) ProtoReflect ¶
func (x *GetFileTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetFileTemplateRequest) Reset ¶
func (x *GetFileTemplateRequest) Reset()
func (*GetFileTemplateRequest) String ¶
func (x *GetFileTemplateRequest) String() string
type GetFileTemplateResponse ¶
type GetFileTemplateResponse struct { FileTemplate *FileTemplate `protobuf:"bytes,1,opt,name=file_template,json=fileTemplate,proto3" json:"file_template,omitempty"` // contains filtered or unexported fields }
func (*GetFileTemplateResponse) Descriptor
deprecated
func (*GetFileTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFileTemplateResponse.ProtoReflect.Descriptor instead.
func (*GetFileTemplateResponse) GetFileTemplate ¶
func (x *GetFileTemplateResponse) GetFileTemplate() *FileTemplate
func (*GetFileTemplateResponse) ProtoMessage ¶
func (*GetFileTemplateResponse) ProtoMessage()
func (*GetFileTemplateResponse) ProtoReflect ¶
func (x *GetFileTemplateResponse) ProtoReflect() protoreflect.Message
func (*GetFileTemplateResponse) Reset ¶
func (x *GetFileTemplateResponse) Reset()
func (*GetFileTemplateResponse) String ¶
func (x *GetFileTemplateResponse) String() string
type ListFileTemplatesRequest ¶
type ListFileTemplatesRequest struct { // if empty we will start at begining/end of list PrevId int64 `protobuf:"varint,1,opt,name=prev_id,json=prevId,proto3" json:"prev_id,omitempty"` // sort ascending instead of descending Asc bool `protobuf:"varint,2,opt,name=asc,proto3" json:"asc,omitempty"` // how many records to get PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*ListFileTemplatesRequest) Descriptor
deprecated
func (*ListFileTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFileTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListFileTemplatesRequest) GetAsc ¶
func (x *ListFileTemplatesRequest) GetAsc() bool
func (*ListFileTemplatesRequest) GetPageSize ¶
func (x *ListFileTemplatesRequest) GetPageSize() int32
func (*ListFileTemplatesRequest) GetPrevId ¶
func (x *ListFileTemplatesRequest) GetPrevId() int64
func (*ListFileTemplatesRequest) ProtoMessage ¶
func (*ListFileTemplatesRequest) ProtoMessage()
func (*ListFileTemplatesRequest) ProtoReflect ¶
func (x *ListFileTemplatesRequest) ProtoReflect() protoreflect.Message
func (*ListFileTemplatesRequest) Reset ¶
func (x *ListFileTemplatesRequest) Reset()
func (*ListFileTemplatesRequest) String ¶
func (x *ListFileTemplatesRequest) String() string
type ListFileTemplatesResponse ¶
type ListFileTemplatesResponse struct { FileTemplates []*FileTemplate `protobuf:"bytes,1,rep,name=file_templates,json=fileTemplates,proto3" json:"file_templates,omitempty"` // contains filtered or unexported fields }
func (*ListFileTemplatesResponse) Descriptor
deprecated
func (*ListFileTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFileTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListFileTemplatesResponse) GetFileTemplates ¶
func (x *ListFileTemplatesResponse) GetFileTemplates() []*FileTemplate
func (*ListFileTemplatesResponse) ProtoMessage ¶
func (*ListFileTemplatesResponse) ProtoMessage()
func (*ListFileTemplatesResponse) ProtoReflect ¶
func (x *ListFileTemplatesResponse) ProtoReflect() protoreflect.Message
func (*ListFileTemplatesResponse) Reset ¶
func (x *ListFileTemplatesResponse) Reset()
func (*ListFileTemplatesResponse) String ¶
func (x *ListFileTemplatesResponse) String() string
type OptsCsv ¶
type OptsCsv struct { HasHeader bool `protobuf:"varint,1,opt,name=has_header,json=hasHeader,proto3" json:"has_header,omitempty"` SkipRows int64 `protobuf:"varint,2,opt,name=skip_rows,json=skipRows,proto3" json:"skip_rows,omitempty"` Header []string `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty"` Separator string `protobuf:"bytes,4,opt,name=separator,proto3" json:"separator,omitempty"` // contains filtered or unexported fields }
func (*OptsCsv) Descriptor
deprecated
func (*OptsCsv) GetHasHeader ¶
func (*OptsCsv) GetSeparator ¶
func (*OptsCsv) GetSkipRows ¶
func (*OptsCsv) ProtoMessage ¶
func (*OptsCsv) ProtoMessage()
func (*OptsCsv) ProtoReflect ¶
func (x *OptsCsv) ProtoReflect() protoreflect.Message
type OptsFixed ¶
type OptsFixed struct { // field opts keyed by field name Positions map[string]*OptsFixed_FieldOpts `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*OptsFixed) Descriptor
deprecated
func (*OptsFixed) GetPositions ¶
func (x *OptsFixed) GetPositions() map[string]*OptsFixed_FieldOpts
func (*OptsFixed) ProtoMessage ¶
func (*OptsFixed) ProtoMessage()
func (*OptsFixed) ProtoReflect ¶
func (x *OptsFixed) ProtoReflect() protoreflect.Message
type OptsFixed_FieldOpts ¶
type OptsFixed_FieldOpts struct { // for fixed width files indicates the starting position of the data. // if it is -1, starting position is one character after the previous fields // starting position + length. if this is the first field and it is -1, // starting position is 0 StartingPosition int32 `protobuf:"varint,13,opt,name=starting_position,json=startingPosition,proto3" json:"starting_position,omitempty"` // for fixed width files indicates how many characters to the right of // starting_position we will read. this field is required to be greater than // 0. FieldLength int32 `protobuf:"varint,14,opt,name=field_length,json=fieldLength,proto3" json:"field_length,omitempty"` // contains filtered or unexported fields }
func (*OptsFixed_FieldOpts) Descriptor
deprecated
func (*OptsFixed_FieldOpts) Descriptor() ([]byte, []int)
Deprecated: Use OptsFixed_FieldOpts.ProtoReflect.Descriptor instead.
func (*OptsFixed_FieldOpts) GetFieldLength ¶
func (x *OptsFixed_FieldOpts) GetFieldLength() int32
func (*OptsFixed_FieldOpts) GetStartingPosition ¶
func (x *OptsFixed_FieldOpts) GetStartingPosition() int32
func (*OptsFixed_FieldOpts) ProtoMessage ¶
func (*OptsFixed_FieldOpts) ProtoMessage()
func (*OptsFixed_FieldOpts) ProtoReflect ¶
func (x *OptsFixed_FieldOpts) ProtoReflect() protoreflect.Message
func (*OptsFixed_FieldOpts) Reset ¶
func (x *OptsFixed_FieldOpts) Reset()
func (*OptsFixed_FieldOpts) String ¶
func (x *OptsFixed_FieldOpts) String() string
type OptsJson ¶
type OptsJson struct { RecordsRoot string `protobuf:"bytes,1,opt,name=records_root,json=recordsRoot,proto3" json:"records_root,omitempty"` // contains filtered or unexported fields }
func (*OptsJson) Descriptor
deprecated
func (*OptsJson) GetRecordsRoot ¶
func (*OptsJson) ProtoMessage ¶
func (*OptsJson) ProtoMessage()
func (*OptsJson) ProtoReflect ¶
func (x *OptsJson) ProtoReflect() protoreflect.Message
type OptsJsonL ¶
type OptsJsonL struct {
// contains filtered or unexported fields
}
func (*OptsJsonL) Descriptor
deprecated
func (*OptsJsonL) ProtoMessage ¶
func (*OptsJsonL) ProtoMessage()
func (*OptsJsonL) ProtoReflect ¶
func (x *OptsJsonL) ProtoReflect() protoreflect.Message
type OptsParquet ¶
type OptsParquet struct {
// contains filtered or unexported fields
}
func (*OptsParquet) Descriptor
deprecated
func (*OptsParquet) Descriptor() ([]byte, []int)
Deprecated: Use OptsParquet.ProtoReflect.Descriptor instead.
func (*OptsParquet) ProtoMessage ¶
func (*OptsParquet) ProtoMessage()
func (*OptsParquet) ProtoReflect ¶
func (x *OptsParquet) ProtoReflect() protoreflect.Message
func (*OptsParquet) Reset ¶
func (x *OptsParquet) Reset()
func (*OptsParquet) String ¶
func (x *OptsParquet) String() string
type ParseFileRequest ¶
type ParseFileRequest struct { // Types that are assignable to Opt: // // *ParseFileRequest_RawData // *ParseFileRequest_ReparseFile Opt isParseFileRequest_Opt `protobuf_oneof:"opt"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ParseFileRequest) Descriptor
deprecated
func (*ParseFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseFileRequest.ProtoReflect.Descriptor instead.
func (*ParseFileRequest) GetName ¶
func (x *ParseFileRequest) GetName() string
func (*ParseFileRequest) GetOpt ¶
func (m *ParseFileRequest) GetOpt() isParseFileRequest_Opt
func (*ParseFileRequest) GetRawData ¶
func (x *ParseFileRequest) GetRawData() []byte
func (*ParseFileRequest) GetReparseFile ¶
func (x *ParseFileRequest) GetReparseFile() *ParseFileRequest_ReParseFile
func (*ParseFileRequest) ProtoMessage ¶
func (*ParseFileRequest) ProtoMessage()
func (*ParseFileRequest) ProtoReflect ¶
func (x *ParseFileRequest) ProtoReflect() protoreflect.Message
func (*ParseFileRequest) Reset ¶
func (x *ParseFileRequest) Reset()
func (*ParseFileRequest) String ¶
func (x *ParseFileRequest) String() string
type ParseFileRequest_RawData ¶
type ParseFileRequest_RawData struct { // the raw file, no more than 2mb RawData []byte `protobuf:"bytes,3,opt,name=raw_data,json=rawData,proto3,oneof"` }
type ParseFileRequest_ReParseFile ¶
type ParseFileRequest_ReParseFile struct { FileTemplateId int64 `protobuf:"varint,1,opt,name=file_template_id,json=fileTemplateId,proto3" json:"file_template_id,omitempty"` Hints *ParseHints `protobuf:"bytes,2,opt,name=hints,proto3" json:"hints,omitempty"` // contains filtered or unexported fields }
func (*ParseFileRequest_ReParseFile) Descriptor
deprecated
func (*ParseFileRequest_ReParseFile) Descriptor() ([]byte, []int)
Deprecated: Use ParseFileRequest_ReParseFile.ProtoReflect.Descriptor instead.
func (*ParseFileRequest_ReParseFile) GetFileTemplateId ¶
func (x *ParseFileRequest_ReParseFile) GetFileTemplateId() int64
func (*ParseFileRequest_ReParseFile) GetHints ¶
func (x *ParseFileRequest_ReParseFile) GetHints() *ParseHints
func (*ParseFileRequest_ReParseFile) ProtoMessage ¶
func (*ParseFileRequest_ReParseFile) ProtoMessage()
func (*ParseFileRequest_ReParseFile) ProtoReflect ¶
func (x *ParseFileRequest_ReParseFile) ProtoReflect() protoreflect.Message
func (*ParseFileRequest_ReParseFile) Reset ¶
func (x *ParseFileRequest_ReParseFile) Reset()
func (*ParseFileRequest_ReParseFile) String ¶
func (x *ParseFileRequest_ReParseFile) String() string
type ParseFileRequest_ReparseFile ¶
type ParseFileRequest_ReparseFile struct { // reparse the file that exists for this template with new hints ReparseFile *ParseFileRequest_ReParseFile `protobuf:"bytes,4,opt,name=reparse_file,json=reparseFile,proto3,oneof"` }
type ParseFileResponse ¶
type ParseFileResponse struct { FileTemplate *FileTemplate `protobuf:"bytes,1,opt,name=file_template,json=fileTemplate,proto3" json:"file_template,omitempty"` // contains filtered or unexported fields }
func (*ParseFileResponse) Descriptor
deprecated
func (*ParseFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ParseFileResponse.ProtoReflect.Descriptor instead.
func (*ParseFileResponse) GetFileTemplate ¶
func (x *ParseFileResponse) GetFileTemplate() *FileTemplate
func (*ParseFileResponse) ProtoMessage ¶
func (*ParseFileResponse) ProtoMessage()
func (*ParseFileResponse) ProtoReflect ¶
func (x *ParseFileResponse) ProtoReflect() protoreflect.Message
func (*ParseFileResponse) Reset ¶
func (x *ParseFileResponse) Reset()
func (*ParseFileResponse) String ¶
func (x *ParseFileResponse) String() string
type ParseHints ¶
type ParseHints struct { ParseOpts *ParseOpts `protobuf:"bytes,1,opt,name=parse_opts,json=parseOpts,proto3" json:"parse_opts,omitempty"` Constraints *Constraints `protobuf:"bytes,2,opt,name=constraints,proto3" json:"constraints,omitempty"` // contains filtered or unexported fields }
func (*ParseHints) Descriptor
deprecated
func (*ParseHints) Descriptor() ([]byte, []int)
Deprecated: Use ParseHints.ProtoReflect.Descriptor instead.
func (*ParseHints) GetConstraints ¶
func (x *ParseHints) GetConstraints() *Constraints
func (*ParseHints) GetParseOpts ¶
func (x *ParseHints) GetParseOpts() *ParseOpts
func (*ParseHints) ProtoMessage ¶
func (*ParseHints) ProtoMessage()
func (*ParseHints) ProtoReflect ¶
func (x *ParseHints) ProtoReflect() protoreflect.Message
func (*ParseHints) Reset ¶
func (x *ParseHints) Reset()
func (*ParseHints) String ¶
func (x *ParseHints) String() string
type ParseOpts ¶
type ParseOpts struct { // Types that are assignable to Ftype: // // *ParseOpts_Csv // *ParseOpts_Json // *ParseOpts_Jsonl // *ParseOpts_Fixed // *ParseOpts_Parquet Ftype isParseOpts_Ftype `protobuf_oneof:"ftype"` // contains filtered or unexported fields }
details on how the data should be parsed with respect to the file type
func (*ParseOpts) Descriptor
deprecated
func (*ParseOpts) GetParquet ¶
func (x *ParseOpts) GetParquet() *OptsParquet
func (*ParseOpts) ProtoMessage ¶
func (*ParseOpts) ProtoMessage()
func (*ParseOpts) ProtoReflect ¶
func (x *ParseOpts) ProtoReflect() protoreflect.Message
type ParseOpts_Csv ¶
type ParseOpts_Csv struct {
Csv *OptsCsv `protobuf:"bytes,1,opt,name=csv,proto3,oneof"`
}
type ParseOpts_Fixed ¶
type ParseOpts_Fixed struct {
Fixed *OptsFixed `protobuf:"bytes,4,opt,name=fixed,proto3,oneof"`
}
type ParseOpts_Json ¶
type ParseOpts_Json struct {
Json *OptsJson `protobuf:"bytes,2,opt,name=json,proto3,oneof"`
}
type ParseOpts_Jsonl ¶
type ParseOpts_Jsonl struct {
Jsonl *OptsJsonL `protobuf:"bytes,3,opt,name=jsonl,proto3,oneof"`
}
type ParseOpts_Parquet ¶
type ParseOpts_Parquet struct {
Parquet *OptsParquet `protobuf:"bytes,5,opt,name=parquet,proto3,oneof"`
}
type UnimplementedClassifierFileTemplatesServer ¶
type UnimplementedClassifierFileTemplatesServer struct { }
UnimplementedClassifierFileTemplatesServer must be embedded to have forward compatible implementations.
func (UnimplementedClassifierFileTemplatesServer) DeleteFileTemplate ¶
func (UnimplementedClassifierFileTemplatesServer) DeleteFileTemplate(context.Context, *DeleteFileTemplateRequest) (*DeleteFileTemplateResponse, error)
func (UnimplementedClassifierFileTemplatesServer) GetFileTemplate ¶
func (UnimplementedClassifierFileTemplatesServer) GetFileTemplate(context.Context, *GetFileTemplateRequest) (*GetFileTemplateResponse, error)
func (UnimplementedClassifierFileTemplatesServer) ListFileTemplates ¶
func (UnimplementedClassifierFileTemplatesServer) ListFileTemplates(context.Context, *ListFileTemplatesRequest) (*ListFileTemplatesResponse, error)
func (UnimplementedClassifierFileTemplatesServer) ParseFile ¶
func (UnimplementedClassifierFileTemplatesServer) ParseFile(context.Context, *ParseFileRequest) (*ParseFileResponse, error)
func (UnimplementedClassifierFileTemplatesServer) UpdateFileTemplate ¶
func (UnimplementedClassifierFileTemplatesServer) UpdateFileTemplate(context.Context, *UpdateFileTemplateRequest) (*UpdateFileTemplateResponse, error)
type UnsafeClassifierFileTemplatesServer ¶
type UnsafeClassifierFileTemplatesServer interface {
// contains filtered or unexported methods
}
UnsafeClassifierFileTemplatesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClassifierFileTemplatesServer will result in compilation errors.
type UpdateFileTemplateRequest ¶
type UpdateFileTemplateRequest struct { FileTemplate *FileTemplate `protobuf:"bytes,1,opt,name=file_template,json=fileTemplate,proto3" json:"file_template,omitempty"` // contains filtered or unexported fields }
func (*UpdateFileTemplateRequest) Descriptor
deprecated
func (*UpdateFileTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFileTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateFileTemplateRequest) GetFileTemplate ¶
func (x *UpdateFileTemplateRequest) GetFileTemplate() *FileTemplate
func (*UpdateFileTemplateRequest) ProtoMessage ¶
func (*UpdateFileTemplateRequest) ProtoMessage()
func (*UpdateFileTemplateRequest) ProtoReflect ¶
func (x *UpdateFileTemplateRequest) ProtoReflect() protoreflect.Message
func (*UpdateFileTemplateRequest) Reset ¶
func (x *UpdateFileTemplateRequest) Reset()
func (*UpdateFileTemplateRequest) String ¶
func (x *UpdateFileTemplateRequest) String() string
type UpdateFileTemplateResponse ¶
type UpdateFileTemplateResponse struct {
// contains filtered or unexported fields
}
func (*UpdateFileTemplateResponse) Descriptor
deprecated
func (*UpdateFileTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFileTemplateResponse.ProtoReflect.Descriptor instead.
func (*UpdateFileTemplateResponse) ProtoMessage ¶
func (*UpdateFileTemplateResponse) ProtoMessage()
func (*UpdateFileTemplateResponse) ProtoReflect ¶
func (x *UpdateFileTemplateResponse) ProtoReflect() protoreflect.Message
func (*UpdateFileTemplateResponse) Reset ¶
func (x *UpdateFileTemplateResponse) Reset()
func (*UpdateFileTemplateResponse) String ¶
func (x *UpdateFileTemplateResponse) String() string