Documentation ¶
Index ¶
- Variables
- func RegisterFileServiceServer(s *grpc.Server, srv FileServiceServer)
- type BoundingBox
- func (*BoundingBox) Descriptor() ([]byte, []int)deprecated
- func (x *BoundingBox) GetBottomLeft() *Point
- func (x *BoundingBox) GetTopRight() *Point
- func (*BoundingBox) ProtoMessage()
- func (x *BoundingBox) ProtoReflect() protoreflect.Message
- func (x *BoundingBox) Reset()
- func (x *BoundingBox) String() string
- type CompleteMultipartRequest
- func (*CompleteMultipartRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteMultipartRequest) GetFileID() string
- func (x *CompleteMultipartRequest) GetPartNumbers() []int64
- func (*CompleteMultipartRequest) ProtoMessage()
- func (x *CompleteMultipartRequest) ProtoReflect() protoreflect.Message
- func (x *CompleteMultipartRequest) Reset()
- func (x *CompleteMultipartRequest) String() string
- type CompleteMultipartResponse
- type CreateFileRequest
- func (*CreateFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFileRequest) GetAssetID() string
- func (x *CreateFileRequest) GetKey() string
- func (x *CreateFileRequest) GetSampleBounds() *BoundingBox
- func (x *CreateFileRequest) GetSampleIndex() int64
- func (x *CreateFileRequest) GetSampledFrom() string
- func (*CreateFileRequest) ProtoMessage()
- func (x *CreateFileRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFileRequest) Reset()
- func (x *CreateFileRequest) String() string
- type CreateFileResponse
- func (*CreateFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFileResponse) GetFileID() string
- func (*CreateFileResponse) ProtoMessage()
- func (x *CreateFileResponse) ProtoReflect() protoreflect.Message
- func (x *CreateFileResponse) Reset()
- func (x *CreateFileResponse) String() string
- type DeleteFileRequest
- type DeleteFileResponse
- type File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetAssetID() string
- func (x *File) GetCreatedAt() *timestamp.Timestamp
- func (x *File) GetDescription() string
- func (x *File) GetExtension() string
- func (x *File) GetFileID() string
- func (x *File) GetIndexedAt() *timestamp.Timestamp
- func (x *File) GetKey() string
- func (x *File) GetMeta() map[string]string
- func (x *File) GetMime() string
- func (x *File) GetMultipartID() string
- func (x *File) GetProcessedAt() *timestamp.Timestamp
- func (x *File) GetSampleBounds() *BoundingBox
- func (x *File) GetSampleIndex() int64
- func (x *File) GetSampledFrom() string
- func (x *File) GetSize() int64
- func (x *File) GetStatus() Status
- func (x *File) GetUploadedAt() *timestamp.Timestamp
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- type FileServiceClient
- type FileServiceServer
- type FileType
- type GetFileRequest
- type GetFileResponse
- type ListFilesRequest
- type ListFilesResponse
- type Point
- type ReadFileRequest
- func (*ReadFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadFileRequest) GetEndByte() int64
- func (x *ReadFileRequest) GetFileID() string
- func (x *ReadFileRequest) GetStartByte() int64
- func (*ReadFileRequest) ProtoMessage()
- func (x *ReadFileRequest) ProtoReflect() protoreflect.Message
- func (x *ReadFileRequest) Reset()
- func (x *ReadFileRequest) String() string
- type ReadFileResponse
- func (*ReadFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadFileResponse) GetData() []byte
- func (x *ReadFileResponse) GetTotalFileSize() int64
- func (*ReadFileResponse) ProtoMessage()
- func (x *ReadFileResponse) ProtoReflect() protoreflect.Message
- func (x *ReadFileResponse) Reset()
- func (x *ReadFileResponse) String() string
- type Status
- type UnimplementedFileServiceServer
- func (*UnimplementedFileServiceServer) CompleteMultipart(context.Context, *CompleteMultipartRequest) (*CompleteMultipartResponse, error)
- func (*UnimplementedFileServiceServer) CreateFile(context.Context, *CreateFileRequest) (*CreateFileResponse, error)
- func (*UnimplementedFileServiceServer) DeleteFile(context.Context, *DeleteFileRequest) (*DeleteFileResponse, error)
- func (*UnimplementedFileServiceServer) GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error)
- func (*UnimplementedFileServiceServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
- func (*UnimplementedFileServiceServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
- func (*UnimplementedFileServiceServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
- func (*UnimplementedFileServiceServer) WriteMultipart(context.Context, *WriteMultipartRequest) (*WriteMultipartResponse, error)
- type WriteFileRequest
- func (*WriteFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteFileRequest) GetData() []byte
- func (x *WriteFileRequest) GetFileID() string
- func (x *WriteFileRequest) GetIntegrityCheckValue() string
- func (*WriteFileRequest) ProtoMessage()
- func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
- func (x *WriteFileRequest) Reset()
- func (x *WriteFileRequest) String() string
- type WriteFileResponse
- type WriteMultipartRequest
- func (*WriteMultipartRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteMultipartRequest) GetData() []byte
- func (x *WriteMultipartRequest) GetFileID() string
- func (x *WriteMultipartRequest) GetIntegrityCheckValue() string
- func (x *WriteMultipartRequest) GetPartNumber() int64
- func (*WriteMultipartRequest) ProtoMessage()
- func (x *WriteMultipartRequest) ProtoReflect() protoreflect.Message
- func (x *WriteMultipartRequest) Reset()
- func (x *WriteMultipartRequest) String() string
- type WriteMultipartResponse
Constants ¶
This section is empty.
Variables ¶
var ( Status_name = map[int32]string{ 0: "STATUS_UNDEFINED", 1: "STATUS_CREATED", 2: "STATUS_UPLOADING", 3: "STATUS_VALIDATING", 4: "STATUS_PROCESSING", 5: "STATUS_INDEXING", 6: "STATUS_READY", 7: "STATUS_DELETING", 8: "STATUS_COMPLETED", } Status_value = map[string]int32{ "STATUS_UNDEFINED": 0, "STATUS_CREATED": 1, "STATUS_UPLOADING": 2, "STATUS_VALIDATING": 3, "STATUS_PROCESSING": 4, "STATUS_INDEXING": 5, "STATUS_READY": 6, "STATUS_DELETING": 7, "STATUS_COMPLETED": 8, } )
Enum value maps for Status.
Functions ¶
func RegisterFileServiceServer ¶
func RegisterFileServiceServer(s *grpc.Server, srv FileServiceServer)
Types ¶
type BoundingBox ¶
type BoundingBox struct { BottomLeft *Point `protobuf:"bytes,1,opt,name=bottomLeft,proto3" json:"bottomLeft,omitempty"` TopRight *Point `protobuf:"bytes,2,opt,name=topRight,proto3" json:"topRight,omitempty"` // contains filtered or unexported fields }
func (*BoundingBox) Descriptor
deprecated
func (*BoundingBox) Descriptor() ([]byte, []int)
Deprecated: Use BoundingBox.ProtoReflect.Descriptor instead.
func (*BoundingBox) GetBottomLeft ¶
func (x *BoundingBox) GetBottomLeft() *Point
func (*BoundingBox) GetTopRight ¶
func (x *BoundingBox) GetTopRight() *Point
func (*BoundingBox) ProtoMessage ¶
func (*BoundingBox) ProtoMessage()
func (*BoundingBox) ProtoReflect ¶
func (x *BoundingBox) ProtoReflect() protoreflect.Message
func (*BoundingBox) Reset ¶
func (x *BoundingBox) Reset()
func (*BoundingBox) String ¶
func (x *BoundingBox) String() string
type CompleteMultipartRequest ¶
type CompleteMultipartRequest struct { FileID string `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"` PartNumbers []int64 `protobuf:"varint,2,rep,packed,name=partNumbers,proto3" json:"partNumbers,omitempty"` // contains filtered or unexported fields }
func (*CompleteMultipartRequest) Descriptor
deprecated
func (*CompleteMultipartRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteMultipartRequest.ProtoReflect.Descriptor instead.
func (*CompleteMultipartRequest) GetFileID ¶
func (x *CompleteMultipartRequest) GetFileID() string
func (*CompleteMultipartRequest) GetPartNumbers ¶
func (x *CompleteMultipartRequest) GetPartNumbers() []int64
func (*CompleteMultipartRequest) ProtoMessage ¶
func (*CompleteMultipartRequest) ProtoMessage()
func (*CompleteMultipartRequest) ProtoReflect ¶
func (x *CompleteMultipartRequest) ProtoReflect() protoreflect.Message
func (*CompleteMultipartRequest) Reset ¶
func (x *CompleteMultipartRequest) Reset()
func (*CompleteMultipartRequest) String ¶
func (x *CompleteMultipartRequest) String() string
type CompleteMultipartResponse ¶
type CompleteMultipartResponse struct {
// contains filtered or unexported fields
}
func (*CompleteMultipartResponse) Descriptor
deprecated
func (*CompleteMultipartResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompleteMultipartResponse.ProtoReflect.Descriptor instead.
func (*CompleteMultipartResponse) ProtoMessage ¶
func (*CompleteMultipartResponse) ProtoMessage()
func (*CompleteMultipartResponse) ProtoReflect ¶
func (x *CompleteMultipartResponse) ProtoReflect() protoreflect.Message
func (*CompleteMultipartResponse) Reset ¶
func (x *CompleteMultipartResponse) Reset()
func (*CompleteMultipartResponse) String ¶
func (x *CompleteMultipartResponse) String() string
type CreateFileRequest ¶
type CreateFileRequest struct { AssetID string `protobuf:"bytes,1,opt,name=assetID,proto3" json:"assetID,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` SampledFrom string `protobuf:"bytes,11,opt,name=sampledFrom,proto3" json:"sampledFrom,omitempty"` SampleIndex int64 `protobuf:"varint,12,opt,name=sampleIndex,proto3" json:"sampleIndex,omitempty"` SampleBounds *BoundingBox `protobuf:"bytes,13,opt,name=sampleBounds,proto3" json:"sampleBounds,omitempty"` // contains filtered or unexported fields }
func (*CreateFileRequest) Descriptor
deprecated
func (*CreateFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFileRequest.ProtoReflect.Descriptor instead.
func (*CreateFileRequest) GetAssetID ¶
func (x *CreateFileRequest) GetAssetID() string
func (*CreateFileRequest) GetKey ¶
func (x *CreateFileRequest) GetKey() string
func (*CreateFileRequest) GetSampleBounds ¶
func (x *CreateFileRequest) GetSampleBounds() *BoundingBox
func (*CreateFileRequest) GetSampleIndex ¶
func (x *CreateFileRequest) GetSampleIndex() int64
func (*CreateFileRequest) GetSampledFrom ¶
func (x *CreateFileRequest) GetSampledFrom() string
func (*CreateFileRequest) ProtoMessage ¶
func (*CreateFileRequest) ProtoMessage()
func (*CreateFileRequest) ProtoReflect ¶
func (x *CreateFileRequest) ProtoReflect() protoreflect.Message
func (*CreateFileRequest) Reset ¶
func (x *CreateFileRequest) Reset()
func (*CreateFileRequest) String ¶
func (x *CreateFileRequest) String() string
type CreateFileResponse ¶
type CreateFileResponse struct { FileID string `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"` // contains filtered or unexported fields }
func (*CreateFileResponse) Descriptor
deprecated
func (*CreateFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateFileResponse.ProtoReflect.Descriptor instead.
func (*CreateFileResponse) GetFileID ¶
func (x *CreateFileResponse) GetFileID() string
func (*CreateFileResponse) ProtoMessage ¶
func (*CreateFileResponse) ProtoMessage()
func (*CreateFileResponse) ProtoReflect ¶
func (x *CreateFileResponse) ProtoReflect() protoreflect.Message
func (*CreateFileResponse) Reset ¶
func (x *CreateFileResponse) Reset()
func (*CreateFileResponse) String ¶
func (x *CreateFileResponse) String() string
type DeleteFileRequest ¶
type DeleteFileRequest struct { FileID string `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"` // contains filtered or unexported fields }
func (*DeleteFileRequest) Descriptor
deprecated
func (*DeleteFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileRequest.ProtoReflect.Descriptor instead.
func (*DeleteFileRequest) GetFileID ¶
func (x *DeleteFileRequest) GetFileID() string
func (*DeleteFileRequest) ProtoMessage ¶
func (*DeleteFileRequest) ProtoMessage()
func (*DeleteFileRequest) ProtoReflect ¶
func (x *DeleteFileRequest) ProtoReflect() protoreflect.Message
func (*DeleteFileRequest) Reset ¶
func (x *DeleteFileRequest) Reset()
func (*DeleteFileRequest) String ¶
func (x *DeleteFileRequest) String() string
type DeleteFileResponse ¶
type DeleteFileResponse struct {
// contains filtered or unexported fields
}
func (*DeleteFileResponse) Descriptor
deprecated
func (*DeleteFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileResponse.ProtoReflect.Descriptor instead.
func (*DeleteFileResponse) ProtoMessage ¶
func (*DeleteFileResponse) ProtoMessage()
func (*DeleteFileResponse) ProtoReflect ¶
func (x *DeleteFileResponse) ProtoReflect() protoreflect.Message
func (*DeleteFileResponse) Reset ¶
func (x *DeleteFileResponse) Reset()
func (*DeleteFileResponse) String ¶
func (x *DeleteFileResponse) String() string
type File ¶
type File struct { FileID string `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"` AssetID string `protobuf:"bytes,2,opt,name=assetID,proto3" json:"assetID,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Status Status `protobuf:"varint,4,opt,name=status,proto3,enum=flowshot.navigator.api.fileservice.v1.Status" json:"status,omitempty"` MultipartID string `protobuf:"bytes,5,opt,name=multipartID,proto3" json:"multipartID,omitempty"` Mime string `protobuf:"bytes,6,opt,name=mime,proto3" json:"mime,omitempty"` Extension string `protobuf:"bytes,7,opt,name=extension,proto3" json:"extension,omitempty"` Size int64 `protobuf:"varint,8,opt,name=size,proto3" json:"size,omitempty"` Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` Meta map[string]string `` /* 150-byte string literal not displayed */ SampledFrom string `protobuf:"bytes,11,opt,name=sampledFrom,proto3" json:"sampledFrom,omitempty"` SampleIndex int64 `protobuf:"varint,12,opt,name=sampleIndex,proto3" json:"sampleIndex,omitempty"` SampleBounds *BoundingBox `protobuf:"bytes,13,opt,name=sampleBounds,proto3" json:"sampleBounds,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UploadedAt *timestamp.Timestamp `protobuf:"bytes,15,opt,name=uploadedAt,proto3" json:"uploadedAt,omitempty"` ProcessedAt *timestamp.Timestamp `protobuf:"bytes,16,opt,name=processedAt,proto3" json:"processedAt,omitempty"` IndexedAt *timestamp.Timestamp `protobuf:"bytes,17,opt,name=indexedAt,proto3" json:"indexedAt,omitempty"` // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) GetAssetID ¶
func (*File) GetCreatedAt ¶
func (*File) GetDescription ¶
func (*File) GetExtension ¶
func (*File) GetIndexedAt ¶
func (*File) GetMultipartID ¶
func (*File) GetProcessedAt ¶
func (*File) GetSampleBounds ¶
func (x *File) GetSampleBounds() *BoundingBox
func (*File) GetSampleIndex ¶
func (*File) GetSampledFrom ¶
func (*File) GetUploadedAt ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type FileServiceClient ¶
type FileServiceClient interface { CreateFile(ctx context.Context, in *CreateFileRequest, opts ...grpc.CallOption) (*CreateFileResponse, error) DeleteFile(ctx context.Context, in *DeleteFileRequest, opts ...grpc.CallOption) (*DeleteFileResponse, error) WriteMultipart(ctx context.Context, in *WriteMultipartRequest, opts ...grpc.CallOption) (*WriteMultipartResponse, error) CompleteMultipart(ctx context.Context, in *CompleteMultipartRequest, opts ...grpc.CallOption) (*CompleteMultipartResponse, error) GetFile(ctx context.Context, in *GetFileRequest, opts ...grpc.CallOption) (*GetFileResponse, error) ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (*ListFilesResponse, error) WriteFile(ctx context.Context, in *WriteFileRequest, opts ...grpc.CallOption) (*WriteFileResponse, error) ReadFile(ctx context.Context, in *ReadFileRequest, opts ...grpc.CallOption) (*ReadFileResponse, error) }
FileServiceClient is the client API for FileService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFileServiceClient ¶
func NewFileServiceClient(cc grpc.ClientConnInterface) FileServiceClient
type FileServiceServer ¶
type FileServiceServer interface { CreateFile(context.Context, *CreateFileRequest) (*CreateFileResponse, error) DeleteFile(context.Context, *DeleteFileRequest) (*DeleteFileResponse, error) WriteMultipart(context.Context, *WriteMultipartRequest) (*WriteMultipartResponse, error) CompleteMultipart(context.Context, *CompleteMultipartRequest) (*CompleteMultipartResponse, error) GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error) }
FileServiceServer is the server API for FileService service.
type FileType ¶
type FileType struct { Mime string `protobuf:"bytes,1,opt,name=mime,proto3" json:"mime,omitempty"` Extension string `protobuf:"bytes,2,opt,name=extension,proto3" json:"extension,omitempty"` // contains filtered or unexported fields }
func (*FileType) Descriptor
deprecated
func (*FileType) GetExtension ¶
func (*FileType) ProtoMessage ¶
func (*FileType) ProtoMessage()
func (*FileType) ProtoReflect ¶
func (x *FileType) ProtoReflect() protoreflect.Message
type GetFileRequest ¶
type GetFileRequest struct { FileID string `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"` // contains filtered or unexported fields }
func (*GetFileRequest) Descriptor
deprecated
func (*GetFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.
func (*GetFileRequest) GetFileID ¶
func (x *GetFileRequest) GetFileID() string
func (*GetFileRequest) ProtoMessage ¶
func (*GetFileRequest) ProtoMessage()
func (*GetFileRequest) ProtoReflect ¶
func (x *GetFileRequest) ProtoReflect() protoreflect.Message
func (*GetFileRequest) Reset ¶
func (x *GetFileRequest) Reset()
func (*GetFileRequest) String ¶
func (x *GetFileRequest) String() string
type GetFileResponse ¶
type GetFileResponse struct { File *File `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*GetFileResponse) Descriptor
deprecated
func (*GetFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFileResponse.ProtoReflect.Descriptor instead.
func (*GetFileResponse) GetFile ¶
func (x *GetFileResponse) GetFile() *File
func (*GetFileResponse) ProtoMessage ¶
func (*GetFileResponse) ProtoMessage()
func (*GetFileResponse) ProtoReflect ¶
func (x *GetFileResponse) ProtoReflect() protoreflect.Message
func (*GetFileResponse) Reset ¶
func (x *GetFileResponse) Reset()
func (*GetFileResponse) String ¶
func (x *GetFileResponse) String() string
type ListFilesRequest ¶
type ListFilesRequest struct {
// contains filtered or unexported fields
}
func (*ListFilesRequest) Descriptor
deprecated
func (*ListFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.
func (*ListFilesRequest) ProtoMessage ¶
func (*ListFilesRequest) ProtoMessage()
func (*ListFilesRequest) ProtoReflect ¶
func (x *ListFilesRequest) ProtoReflect() protoreflect.Message
func (*ListFilesRequest) Reset ¶
func (x *ListFilesRequest) Reset()
func (*ListFilesRequest) String ¶
func (x *ListFilesRequest) String() string
type ListFilesResponse ¶
type ListFilesResponse struct { Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
func (*ListFilesResponse) Descriptor
deprecated
func (*ListFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
func (*ListFilesResponse) GetFiles ¶
func (x *ListFilesResponse) GetFiles() []*File
func (*ListFilesResponse) ProtoMessage ¶
func (*ListFilesResponse) ProtoMessage()
func (*ListFilesResponse) ProtoReflect ¶
func (x *ListFilesResponse) ProtoReflect() protoreflect.Message
func (*ListFilesResponse) Reset ¶
func (x *ListFilesResponse) Reset()
func (*ListFilesResponse) String ¶
func (x *ListFilesResponse) String() string
type Point ¶
type Point struct { X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
func (*Point) Descriptor
deprecated
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶
func (x *Point) ProtoReflect() protoreflect.Message
type ReadFileRequest ¶
type ReadFileRequest struct { FileID string `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"` StartByte int64 `protobuf:"varint,2,opt,name=startByte,proto3" json:"startByte,omitempty"` EndByte int64 `protobuf:"varint,3,opt,name=endByte,proto3" json:"endByte,omitempty"` // contains filtered or unexported fields }
func (*ReadFileRequest) Descriptor
deprecated
func (*ReadFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadFileRequest.ProtoReflect.Descriptor instead.
func (*ReadFileRequest) GetEndByte ¶
func (x *ReadFileRequest) GetEndByte() int64
func (*ReadFileRequest) GetFileID ¶
func (x *ReadFileRequest) GetFileID() string
func (*ReadFileRequest) GetStartByte ¶
func (x *ReadFileRequest) GetStartByte() int64
func (*ReadFileRequest) ProtoMessage ¶
func (*ReadFileRequest) ProtoMessage()
func (*ReadFileRequest) ProtoReflect ¶
func (x *ReadFileRequest) ProtoReflect() protoreflect.Message
func (*ReadFileRequest) Reset ¶
func (x *ReadFileRequest) Reset()
func (*ReadFileRequest) String ¶
func (x *ReadFileRequest) String() string
type ReadFileResponse ¶
type ReadFileResponse struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` TotalFileSize int64 `protobuf:"varint,2,opt,name=totalFileSize,proto3" json:"totalFileSize,omitempty"` // contains filtered or unexported fields }
func (*ReadFileResponse) Descriptor
deprecated
func (*ReadFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadFileResponse.ProtoReflect.Descriptor instead.
func (*ReadFileResponse) GetData ¶
func (x *ReadFileResponse) GetData() []byte
func (*ReadFileResponse) GetTotalFileSize ¶
func (x *ReadFileResponse) GetTotalFileSize() int64
func (*ReadFileResponse) ProtoMessage ¶
func (*ReadFileResponse) ProtoMessage()
func (*ReadFileResponse) ProtoReflect ¶
func (x *ReadFileResponse) ProtoReflect() protoreflect.Message
func (*ReadFileResponse) Reset ¶
func (x *ReadFileResponse) Reset()
func (*ReadFileResponse) String ¶
func (x *ReadFileResponse) String() string
type Status ¶
type Status int32
const ( Status_STATUS_UNDEFINED Status = 0 Status_STATUS_CREATED Status = 1 Status_STATUS_UPLOADING Status = 2 Status_STATUS_VALIDATING Status = 3 Status_STATUS_PROCESSING Status = 4 Status_STATUS_INDEXING Status = 5 Status_STATUS_READY Status = 6 Status_STATUS_DELETING Status = 7 Status_STATUS_COMPLETED Status = 8 )
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type UnimplementedFileServiceServer ¶
type UnimplementedFileServiceServer struct { }
UnimplementedFileServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedFileServiceServer) CompleteMultipart ¶
func (*UnimplementedFileServiceServer) CompleteMultipart(context.Context, *CompleteMultipartRequest) (*CompleteMultipartResponse, error)
func (*UnimplementedFileServiceServer) CreateFile ¶
func (*UnimplementedFileServiceServer) CreateFile(context.Context, *CreateFileRequest) (*CreateFileResponse, error)
func (*UnimplementedFileServiceServer) DeleteFile ¶
func (*UnimplementedFileServiceServer) DeleteFile(context.Context, *DeleteFileRequest) (*DeleteFileResponse, error)
func (*UnimplementedFileServiceServer) GetFile ¶
func (*UnimplementedFileServiceServer) GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error)
func (*UnimplementedFileServiceServer) ListFiles ¶
func (*UnimplementedFileServiceServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
func (*UnimplementedFileServiceServer) ReadFile ¶
func (*UnimplementedFileServiceServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
func (*UnimplementedFileServiceServer) WriteFile ¶
func (*UnimplementedFileServiceServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
func (*UnimplementedFileServiceServer) WriteMultipart ¶
func (*UnimplementedFileServiceServer) WriteMultipart(context.Context, *WriteMultipartRequest) (*WriteMultipartResponse, error)
type WriteFileRequest ¶
type WriteFileRequest struct { FileID string `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` IntegrityCheckValue string `protobuf:"bytes,4,opt,name=integrityCheckValue,proto3" json:"integrityCheckValue,omitempty"` // contains filtered or unexported fields }
func (*WriteFileRequest) Descriptor
deprecated
func (*WriteFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteFileRequest.ProtoReflect.Descriptor instead.
func (*WriteFileRequest) GetData ¶
func (x *WriteFileRequest) GetData() []byte
func (*WriteFileRequest) GetFileID ¶
func (x *WriteFileRequest) GetFileID() string
func (*WriteFileRequest) GetIntegrityCheckValue ¶
func (x *WriteFileRequest) GetIntegrityCheckValue() string
func (*WriteFileRequest) ProtoMessage ¶
func (*WriteFileRequest) ProtoMessage()
func (*WriteFileRequest) ProtoReflect ¶
func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
func (*WriteFileRequest) Reset ¶
func (x *WriteFileRequest) Reset()
func (*WriteFileRequest) String ¶
func (x *WriteFileRequest) String() string
type WriteFileResponse ¶
type WriteFileResponse struct {
// contains filtered or unexported fields
}
func (*WriteFileResponse) Descriptor
deprecated
func (*WriteFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteFileResponse.ProtoReflect.Descriptor instead.
func (*WriteFileResponse) ProtoMessage ¶
func (*WriteFileResponse) ProtoMessage()
func (*WriteFileResponse) ProtoReflect ¶
func (x *WriteFileResponse) ProtoReflect() protoreflect.Message
func (*WriteFileResponse) Reset ¶
func (x *WriteFileResponse) Reset()
func (*WriteFileResponse) String ¶
func (x *WriteFileResponse) String() string
type WriteMultipartRequest ¶
type WriteMultipartRequest struct { FileID string `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"` PartNumber int64 `protobuf:"varint,2,opt,name=partNumber,proto3" json:"partNumber,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` IntegrityCheckValue string `protobuf:"bytes,4,opt,name=integrityCheckValue,proto3" json:"integrityCheckValue,omitempty"` // contains filtered or unexported fields }
func (*WriteMultipartRequest) Descriptor
deprecated
func (*WriteMultipartRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteMultipartRequest.ProtoReflect.Descriptor instead.
func (*WriteMultipartRequest) GetData ¶
func (x *WriteMultipartRequest) GetData() []byte
func (*WriteMultipartRequest) GetFileID ¶
func (x *WriteMultipartRequest) GetFileID() string
func (*WriteMultipartRequest) GetIntegrityCheckValue ¶
func (x *WriteMultipartRequest) GetIntegrityCheckValue() string
func (*WriteMultipartRequest) GetPartNumber ¶
func (x *WriteMultipartRequest) GetPartNumber() int64
func (*WriteMultipartRequest) ProtoMessage ¶
func (*WriteMultipartRequest) ProtoMessage()
func (*WriteMultipartRequest) ProtoReflect ¶
func (x *WriteMultipartRequest) ProtoReflect() protoreflect.Message
func (*WriteMultipartRequest) Reset ¶
func (x *WriteMultipartRequest) Reset()
func (*WriteMultipartRequest) String ¶
func (x *WriteMultipartRequest) String() string
type WriteMultipartResponse ¶
type WriteMultipartResponse struct {
// contains filtered or unexported fields
}
func (*WriteMultipartResponse) Descriptor
deprecated
func (*WriteMultipartResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteMultipartResponse.ProtoReflect.Descriptor instead.
func (*WriteMultipartResponse) ProtoMessage ¶
func (*WriteMultipartResponse) ProtoMessage()
func (*WriteMultipartResponse) ProtoReflect ¶
func (x *WriteMultipartResponse) ProtoReflect() protoreflect.Message
func (*WriteMultipartResponse) Reset ¶
func (x *WriteMultipartResponse) Reset()
func (*WriteMultipartResponse) String ¶
func (x *WriteMultipartResponse) String() string