pb

package
v0.0.0-...-cb929b8 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BifExamine_GetAllProjects_FullMethodName                = "/pb.BifExamine/GetAllProjects"
	BifExamine_GetProjectById_FullMethodName                = "/pb.BifExamine/GetProjectById"
	BifExamine_DeleteProject_FullMethodName                 = "/pb.BifExamine/DeleteProject"
	BifExamine_GetBifsMissingContents_FullMethodName        = "/pb.BifExamine/GetBifsMissingContents"
	BifExamine_GetResourcesMissingBifDetails_FullMethodName = "/pb.BifExamine/GetResourcesMissingBifDetails"
	BifExamine_UploadKey_FullMethodName                     = "/pb.BifExamine/UploadKey"
	BifExamine_UploadBif_FullMethodName                     = "/pb.BifExamine/UploadBif"
	BifExamine_DownloadResource_FullMethodName              = "/pb.BifExamine/DownloadResource"
)
View Source
const (
	Whisperer_GetJob_FullMethodName     = "/pb.Whisperer/GetJob"
	Whisperer_JobResults_FullMethodName = "/pb.Whisperer/JobResults"
)

Variables

View Source
var BifExamine_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.BifExamine",
	HandlerType: (*BifExamineServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAllProjects",
			Handler:    _BifExamine_GetAllProjects_Handler,
		},
		{
			MethodName: "GetProjectById",
			Handler:    _BifExamine_GetProjectById_Handler,
		},
		{
			MethodName: "DeleteProject",
			Handler:    _BifExamine_DeleteProject_Handler,
		},
		{
			MethodName: "GetBifsMissingContents",
			Handler:    _BifExamine_GetBifsMissingContents_Handler,
		},
		{
			MethodName: "GetResourcesMissingBifDetails",
			Handler:    _BifExamine_GetResourcesMissingBifDetails_Handler,
		},
		{
			MethodName: "UploadKey",
			Handler:    _BifExamine_UploadKey_Handler,
		},
		{
			MethodName: "DownloadResource",
			Handler:    _BifExamine_DownloadResource_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "UploadBif",
			Handler:       _BifExamine_UploadBif_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "pkg/rpc/pb/bif_examine.proto",
}

BifExamine_ServiceDesc is the grpc.ServiceDesc for BifExamine service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_pkg_rpc_pb_bif_examine_proto protoreflect.FileDescriptor
View Source
var File_pkg_rpc_pb_wisperer_proto protoreflect.FileDescriptor
View Source
var Whisperer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.Whisperer",
	HandlerType: (*WhispererServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetJob",
			Handler:    _Whisperer_GetJob_Handler,
		},
		{
			MethodName: "JobResults",
			Handler:    _Whisperer_JobResults_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/rpc/pb/wisperer.proto",
}

Whisperer_ServiceDesc is the grpc.ServiceDesc for Whisperer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterBifExamineServer

func RegisterBifExamineServer(s grpc.ServiceRegistrar, srv BifExamineServer)

func RegisterWhispererServer

func RegisterWhispererServer(s grpc.ServiceRegistrar, srv WhispererServer)

Types

type BifExamineClient

BifExamineClient is the client API for BifExamine 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 NewBifExamineClient

func NewBifExamineClient(cc grpc.ClientConnInterface) BifExamineClient

type BifExamineServer

BifExamineServer is the server API for BifExamine service. All implementations must embed UnimplementedBifExamineServer for forward compatibility

type BifExamine_UploadBifClient

type BifExamine_UploadBifClient interface {
	Send(*UploadBifRequest) error
	CloseAndRecv() (*UploadBifResponse, error)
	grpc.ClientStream
}

type BifExamine_UploadBifServer

type BifExamine_UploadBifServer interface {
	SendAndClose(*UploadBifResponse) error
	Recv() (*UploadBifRequest, error)
	grpc.ServerStream
}

type DeleteProjectRequest

type DeleteProjectRequest struct {
	ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

///////////////////////////////////// DeleteProject /////////////////////////////////////

func (*DeleteProjectRequest) Descriptor deprecated

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

Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectRequest) GetProjectId

func (x *DeleteProjectRequest) GetProjectId() uint32

func (*DeleteProjectRequest) ProtoMessage

func (*DeleteProjectRequest) ProtoMessage()

func (*DeleteProjectRequest) ProtoReflect

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

func (*DeleteProjectRequest) Reset

func (x *DeleteProjectRequest) Reset()

func (*DeleteProjectRequest) String

func (x *DeleteProjectRequest) String() string

type DeleteProjectResponse

type DeleteProjectResponse struct {
	ErrorDescription string `protobuf:"bytes,1,opt,name=error_description,json=errorDescription,proto3" json:"error_description,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectResponse) Descriptor deprecated

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

Deprecated: Use DeleteProjectResponse.ProtoReflect.Descriptor instead.

func (*DeleteProjectResponse) GetErrorDescription

func (x *DeleteProjectResponse) GetErrorDescription() string

func (*DeleteProjectResponse) ProtoMessage

func (*DeleteProjectResponse) ProtoMessage()

func (*DeleteProjectResponse) ProtoReflect

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

func (*DeleteProjectResponse) Reset

func (x *DeleteProjectResponse) Reset()

func (*DeleteProjectResponse) String

func (x *DeleteProjectResponse) String() string

type DownloadResourceRequest

type DownloadResourceRequest struct {
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

///////////////////////////////////// DownloadResource /////////////////////////////////////

func (*DownloadResourceRequest) Descriptor deprecated

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

Deprecated: Use DownloadResourceRequest.ProtoReflect.Descriptor instead.

func (*DownloadResourceRequest) GetResourceId

func (x *DownloadResourceRequest) GetResourceId() uint32

func (*DownloadResourceRequest) ProtoMessage

func (*DownloadResourceRequest) ProtoMessage()

func (*DownloadResourceRequest) ProtoReflect

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

func (*DownloadResourceRequest) Reset

func (x *DownloadResourceRequest) Reset()

func (*DownloadResourceRequest) String

func (x *DownloadResourceRequest) String() string

type DownloadResourceResponse

type DownloadResourceResponse struct {
	ErrorDescription string `protobuf:"bytes,1,opt,name=error_description,json=errorDescription,proto3" json:"error_description,omitempty"`
	Name             string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Size             uint32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Content          []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadResourceResponse) Descriptor deprecated

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

Deprecated: Use DownloadResourceResponse.ProtoReflect.Descriptor instead.

func (*DownloadResourceResponse) GetContent

func (x *DownloadResourceResponse) GetContent() []byte

func (*DownloadResourceResponse) GetErrorDescription

func (x *DownloadResourceResponse) GetErrorDescription() string

func (*DownloadResourceResponse) GetName

func (x *DownloadResourceResponse) GetName() string

func (*DownloadResourceResponse) GetSize

func (x *DownloadResourceResponse) GetSize() uint32

func (*DownloadResourceResponse) ProtoMessage

func (*DownloadResourceResponse) ProtoMessage()

func (*DownloadResourceResponse) ProtoReflect

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

func (*DownloadResourceResponse) Reset

func (x *DownloadResourceResponse) Reset()

func (*DownloadResourceResponse) String

func (x *DownloadResourceResponse) String() string

type GetAllProjectsRequest

type GetAllProjectsRequest struct {
	// contains filtered or unexported fields
}

func (*GetAllProjectsRequest) Descriptor deprecated

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

Deprecated: Use GetAllProjectsRequest.ProtoReflect.Descriptor instead.

func (*GetAllProjectsRequest) ProtoMessage

func (*GetAllProjectsRequest) ProtoMessage()

func (*GetAllProjectsRequest) ProtoReflect

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

func (*GetAllProjectsRequest) Reset

func (x *GetAllProjectsRequest) Reset()

func (*GetAllProjectsRequest) String

func (x *GetAllProjectsRequest) String() string

type GetAllProjectsResponse

type GetAllProjectsResponse struct {
	ErrorDescription string     `protobuf:"bytes,1,opt,name=error_description,json=errorDescription,proto3" json:"error_description,omitempty"`
	Projects         []*Project `protobuf:"bytes,2,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllProjectsResponse) Descriptor deprecated

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

Deprecated: Use GetAllProjectsResponse.ProtoReflect.Descriptor instead.

func (*GetAllProjectsResponse) GetErrorDescription

func (x *GetAllProjectsResponse) GetErrorDescription() string

func (*GetAllProjectsResponse) GetProjects

func (x *GetAllProjectsResponse) GetProjects() []*Project

func (*GetAllProjectsResponse) ProtoMessage

func (*GetAllProjectsResponse) ProtoMessage()

func (*GetAllProjectsResponse) ProtoReflect

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

func (*GetAllProjectsResponse) Reset

func (x *GetAllProjectsResponse) Reset()

func (*GetAllProjectsResponse) String

func (x *GetAllProjectsResponse) String() string

type GetBifsMissingContentsRequest

type GetBifsMissingContentsRequest struct {
	ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

///////////////////////////////////// GetBifsMissingContents /////////////////////////////////////

func (*GetBifsMissingContentsRequest) Descriptor deprecated

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

Deprecated: Use GetBifsMissingContentsRequest.ProtoReflect.Descriptor instead.

func (*GetBifsMissingContentsRequest) GetProjectId

func (x *GetBifsMissingContentsRequest) GetProjectId() uint32

func (*GetBifsMissingContentsRequest) ProtoMessage

func (*GetBifsMissingContentsRequest) ProtoMessage()

func (*GetBifsMissingContentsRequest) ProtoReflect

func (*GetBifsMissingContentsRequest) Reset

func (x *GetBifsMissingContentsRequest) Reset()

func (*GetBifsMissingContentsRequest) String

type GetBifsMissingContentsResponse

type GetBifsMissingContentsResponse struct {
	ErrorDescription string   `protobuf:"bytes,1,opt,name=error_description,json=errorDescription,proto3" json:"error_description,omitempty"`
	NameInKey        []string `protobuf:"bytes,2,rep,name=name_in_key,json=nameInKey,proto3" json:"name_in_key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBifsMissingContentsResponse) Descriptor deprecated

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

Deprecated: Use GetBifsMissingContentsResponse.ProtoReflect.Descriptor instead.

func (*GetBifsMissingContentsResponse) GetErrorDescription

func (x *GetBifsMissingContentsResponse) GetErrorDescription() string

func (*GetBifsMissingContentsResponse) GetNameInKey

func (x *GetBifsMissingContentsResponse) GetNameInKey() []string

func (*GetBifsMissingContentsResponse) ProtoMessage

func (*GetBifsMissingContentsResponse) ProtoMessage()

func (*GetBifsMissingContentsResponse) ProtoReflect

func (*GetBifsMissingContentsResponse) Reset

func (x *GetBifsMissingContentsResponse) Reset()

func (*GetBifsMissingContentsResponse) String

type GetJobRequest

type GetJobRequest struct {
	// contains filtered or unexported fields
}

///////////////////////////////////// GetJob /////////////////////////////////////

func (*GetJobRequest) Descriptor deprecated

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

Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead.

func (*GetJobRequest) ProtoMessage

func (*GetJobRequest) ProtoMessage()

func (*GetJobRequest) ProtoReflect

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

func (*GetJobRequest) Reset

func (x *GetJobRequest) Reset()

func (*GetJobRequest) String

func (x *GetJobRequest) String() string

type GetJobResponse

type GetJobResponse struct {
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ResourceId   uint32 `protobuf:"varint,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	PresignedUrl string `protobuf:"bytes,3,opt,name=presigned_url,json=presignedUrl,proto3" json:"presigned_url,omitempty"`
	Offset       uint32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	Size         uint32 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*GetJobResponse) Descriptor deprecated

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

Deprecated: Use GetJobResponse.ProtoReflect.Descriptor instead.

func (*GetJobResponse) GetName

func (x *GetJobResponse) GetName() string

func (*GetJobResponse) GetOffset

func (x *GetJobResponse) GetOffset() uint32

func (*GetJobResponse) GetPresignedUrl

func (x *GetJobResponse) GetPresignedUrl() string

func (*GetJobResponse) GetResourceId

func (x *GetJobResponse) GetResourceId() uint32

func (*GetJobResponse) GetSize

func (x *GetJobResponse) GetSize() uint32

func (*GetJobResponse) ProtoMessage

func (*GetJobResponse) ProtoMessage()

func (*GetJobResponse) ProtoReflect

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

func (*GetJobResponse) Reset

func (x *GetJobResponse) Reset()

func (*GetJobResponse) String

func (x *GetJobResponse) String() string

type GetProjectByIdRequest

type GetProjectByIdRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

///////////////////////////////////// GetProjectById /////////////////////////////////////

func (*GetProjectByIdRequest) Descriptor deprecated

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

Deprecated: Use GetProjectByIdRequest.ProtoReflect.Descriptor instead.

func (*GetProjectByIdRequest) GetId

func (x *GetProjectByIdRequest) GetId() uint32

func (*GetProjectByIdRequest) ProtoMessage

func (*GetProjectByIdRequest) ProtoMessage()

func (*GetProjectByIdRequest) ProtoReflect

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

func (*GetProjectByIdRequest) Reset

func (x *GetProjectByIdRequest) Reset()

func (*GetProjectByIdRequest) String

func (x *GetProjectByIdRequest) String() string

type GetProjectByIdResponse

type GetProjectByIdResponse struct {
	ErrorDescription string   `protobuf:"bytes,1,opt,name=error_description,json=errorDescription,proto3" json:"error_description,omitempty"`
	Project          *Project `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectByIdResponse) Descriptor deprecated

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

Deprecated: Use GetProjectByIdResponse.ProtoReflect.Descriptor instead.

func (*GetProjectByIdResponse) GetErrorDescription

func (x *GetProjectByIdResponse) GetErrorDescription() string

func (*GetProjectByIdResponse) GetProject

func (x *GetProjectByIdResponse) GetProject() *Project

func (*GetProjectByIdResponse) ProtoMessage

func (*GetProjectByIdResponse) ProtoMessage()

func (*GetProjectByIdResponse) ProtoReflect

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

func (*GetProjectByIdResponse) Reset

func (x *GetProjectByIdResponse) Reset()

func (*GetProjectByIdResponse) String

func (x *GetProjectByIdResponse) String() string

type GetResourcesMissingBifDetailsRequest

type GetResourcesMissingBifDetailsRequest struct {
	// contains filtered or unexported fields
}

func (*GetResourcesMissingBifDetailsRequest) Descriptor deprecated

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

Deprecated: Use GetResourcesMissingBifDetailsRequest.ProtoReflect.Descriptor instead.

func (*GetResourcesMissingBifDetailsRequest) ProtoMessage

func (*GetResourcesMissingBifDetailsRequest) ProtoMessage()

func (*GetResourcesMissingBifDetailsRequest) ProtoReflect

func (*GetResourcesMissingBifDetailsRequest) Reset

func (*GetResourcesMissingBifDetailsRequest) String

type GetResourcesMissingBifDetailsResponse

type GetResourcesMissingBifDetailsResponse struct {
	ErrorDescription string      `protobuf:"bytes,1,opt,name=error_description,json=errorDescription,proto3" json:"error_description,omitempty"`
	Resources        []*Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourcesMissingBifDetailsResponse) Descriptor deprecated

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

Deprecated: Use GetResourcesMissingBifDetailsResponse.ProtoReflect.Descriptor instead.

func (*GetResourcesMissingBifDetailsResponse) GetErrorDescription

func (x *GetResourcesMissingBifDetailsResponse) GetErrorDescription() string

func (*GetResourcesMissingBifDetailsResponse) GetResources

func (x *GetResourcesMissingBifDetailsResponse) GetResources() []*Resource

func (*GetResourcesMissingBifDetailsResponse) ProtoMessage

func (*GetResourcesMissingBifDetailsResponse) ProtoMessage()

func (*GetResourcesMissingBifDetailsResponse) ProtoReflect

func (*GetResourcesMissingBifDetailsResponse) Reset

func (*GetResourcesMissingBifDetailsResponse) String

type JobResultsRequest

type JobResultsRequest struct {
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Text       string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	RawOutput  []byte `protobuf:"bytes,3,opt,name=raw_output,json=rawOutput,proto3" json:"raw_output,omitempty"`
	Model      string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"`
	Duration   string `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

///////////////////////////////////// GetJob /////////////////////////////////////

func (*JobResultsRequest) Descriptor deprecated

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

Deprecated: Use JobResultsRequest.ProtoReflect.Descriptor instead.

func (*JobResultsRequest) GetDuration

func (x *JobResultsRequest) GetDuration() string

func (*JobResultsRequest) GetModel

func (x *JobResultsRequest) GetModel() string

func (*JobResultsRequest) GetRawOutput

func (x *JobResultsRequest) GetRawOutput() []byte

func (*JobResultsRequest) GetResourceId

func (x *JobResultsRequest) GetResourceId() uint32

func (*JobResultsRequest) GetText

func (x *JobResultsRequest) GetText() string

func (*JobResultsRequest) ProtoMessage

func (*JobResultsRequest) ProtoMessage()

func (*JobResultsRequest) ProtoReflect

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

func (*JobResultsRequest) Reset

func (x *JobResultsRequest) Reset()

func (*JobResultsRequest) String

func (x *JobResultsRequest) String() string

type JobResultsResponse

type JobResultsResponse struct {
	// contains filtered or unexported fields
}

func (*JobResultsResponse) Descriptor deprecated

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

Deprecated: Use JobResultsResponse.ProtoReflect.Descriptor instead.

func (*JobResultsResponse) ProtoMessage

func (*JobResultsResponse) ProtoMessage()

func (*JobResultsResponse) ProtoReflect

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

func (*JobResultsResponse) Reset

func (x *JobResultsResponse) Reset()

func (*JobResultsResponse) String

func (x *JobResultsResponse) String() string

type Key

type Key struct {
	ParsedVersion           string   `protobuf:"bytes,1,opt,name=parsed_version,json=parsedVersion,proto3" json:"parsed_version,omitempty"`
	ParsedSignature         string   `protobuf:"bytes,2,opt,name=parsed_signature,json=parsedSignature,proto3" json:"parsed_signature,omitempty"`
	ResourceEntryCount      uint32   `protobuf:"varint,3,opt,name=resource_entry_count,json=resourceEntryCount,proto3" json:"resource_entry_count,omitempty"`
	ResourcesWithAudio      uint32   `protobuf:"varint,5,opt,name=resources_with_audio,json=resourcesWithAudio,proto3" json:"resources_with_audio,omitempty"`
	BifFilesContainingAudio []string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

///////////////////////////////////// UploadKey /////////////////////////////////////

func (*Key) Descriptor deprecated

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

Deprecated: Use Key.ProtoReflect.Descriptor instead.

func (*Key) GetBifFilesContainingAudio

func (x *Key) GetBifFilesContainingAudio() []string

func (*Key) GetParsedSignature

func (x *Key) GetParsedSignature() string

func (*Key) GetParsedVersion

func (x *Key) GetParsedVersion() string

func (*Key) GetResourceEntryCount

func (x *Key) GetResourceEntryCount() uint32

func (*Key) GetResourcesWithAudio

func (x *Key) GetResourcesWithAudio() uint32

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) ProtoReflect

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

func (*Key) Reset

func (x *Key) Reset()

func (*Key) String

func (x *Key) String() string

type Project

type Project struct {
	Id                  uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	OriginalKeyFileName string `protobuf:"bytes,3,opt,name=original_key_file_name,json=originalKeyFileName,proto3" json:"original_key_file_name,omitempty"`
	// contains filtered or unexported fields
}

///////////////////////////////////// GetAllProjects /////////////////////////////////////

func (*Project) Descriptor deprecated

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

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetId

func (x *Project) GetId() uint32

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) GetOriginalKeyFileName

func (x *Project) GetOriginalKeyFileName() string

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

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

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

type Resource

type Resource struct {
	NameInKey string `protobuf:"bytes,1,opt,name=name_in_key,json=nameInKey,proto3" json:"name_in_key,omitempty"`
	BifInKey  string `protobuf:"bytes,2,opt,name=bif_in_key,json=bifInKey,proto3" json:"bif_in_key,omitempty"`
	// contains filtered or unexported fields
}

///////////////////////////////////// GetResourcesMissingBifDetails /////////////////////////////////////

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetBifInKey

func (x *Resource) GetBifInKey() string

func (*Resource) GetNameInKey

func (x *Resource) GetNameInKey() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

type UnimplementedBifExamineServer

type UnimplementedBifExamineServer struct {
}

UnimplementedBifExamineServer must be embedded to have forward compatible implementations.

func (UnimplementedBifExamineServer) DeleteProject

func (UnimplementedBifExamineServer) DownloadResource

func (UnimplementedBifExamineServer) GetAllProjects

func (UnimplementedBifExamineServer) GetProjectById

func (UnimplementedBifExamineServer) UploadBif

func (UnimplementedBifExamineServer) UploadKey

type UnimplementedWhispererServer

type UnimplementedWhispererServer struct {
}

UnimplementedWhispererServer must be embedded to have forward compatible implementations.

func (UnimplementedWhispererServer) GetJob

func (UnimplementedWhispererServer) JobResults

type UnsafeBifExamineServer

type UnsafeBifExamineServer interface {
	// contains filtered or unexported methods
}

UnsafeBifExamineServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BifExamineServer will result in compilation errors.

type UnsafeWhispererServer

type UnsafeWhispererServer interface {
	// contains filtered or unexported methods
}

UnsafeWhispererServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WhispererServer will result in compilation errors.

type UploadBifRequest

type UploadBifRequest struct {
	ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Must provide file_name or name_in_key
	FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// Must provide file_name or name_in_key
	NameInKey string `protobuf:"bytes,3,opt,name=name_in_key,json=nameInKey,proto3" json:"name_in_key,omitempty"`
	Contents  []byte `protobuf:"bytes,4,opt,name=contents,proto3" json:"contents,omitempty"`
	Offset    int64  `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

///////////////////////////////////// UploadBif /////////////////////////////////////

func (*UploadBifRequest) Descriptor deprecated

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

Deprecated: Use UploadBifRequest.ProtoReflect.Descriptor instead.

func (*UploadBifRequest) GetContents

func (x *UploadBifRequest) GetContents() []byte

func (*UploadBifRequest) GetFileName

func (x *UploadBifRequest) GetFileName() string

func (*UploadBifRequest) GetNameInKey

func (x *UploadBifRequest) GetNameInKey() string

func (*UploadBifRequest) GetOffset

func (x *UploadBifRequest) GetOffset() int64

func (*UploadBifRequest) GetProjectId

func (x *UploadBifRequest) GetProjectId() uint32

func (*UploadBifRequest) ProtoMessage

func (*UploadBifRequest) ProtoMessage()

func (*UploadBifRequest) ProtoReflect

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

func (*UploadBifRequest) Reset

func (x *UploadBifRequest) Reset()

func (*UploadBifRequest) String

func (x *UploadBifRequest) String() string

type UploadBifResponse

type UploadBifResponse struct {
	ErrorDescription  string `protobuf:"bytes,1,opt,name=error_description,json=errorDescription,proto3" json:"error_description,omitempty"`
	ResourcesFound    uint32 `protobuf:"varint,2,opt,name=resources_found,json=resourcesFound,proto3" json:"resources_found,omitempty"`
	ResourcesNotFound uint32 `protobuf:"varint,3,opt,name=resources_not_found,json=resourcesNotFound,proto3" json:"resources_not_found,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadBifResponse) Descriptor deprecated

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

Deprecated: Use UploadBifResponse.ProtoReflect.Descriptor instead.

func (*UploadBifResponse) GetErrorDescription

func (x *UploadBifResponse) GetErrorDescription() string

func (*UploadBifResponse) GetResourcesFound

func (x *UploadBifResponse) GetResourcesFound() uint32

func (*UploadBifResponse) GetResourcesNotFound

func (x *UploadBifResponse) GetResourcesNotFound() uint32

func (*UploadBifResponse) ProtoMessage

func (*UploadBifResponse) ProtoMessage()

func (*UploadBifResponse) ProtoReflect

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

func (*UploadBifResponse) Reset

func (x *UploadBifResponse) Reset()

func (*UploadBifResponse) String

func (x *UploadBifResponse) String() string

type UploadKeyRequest

type UploadKeyRequest struct {
	ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	FileName    string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	Contents    []byte `protobuf:"bytes,3,opt,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadKeyRequest) Descriptor deprecated

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

Deprecated: Use UploadKeyRequest.ProtoReflect.Descriptor instead.

func (*UploadKeyRequest) GetContents

func (x *UploadKeyRequest) GetContents() []byte

func (*UploadKeyRequest) GetFileName

func (x *UploadKeyRequest) GetFileName() string

func (*UploadKeyRequest) GetProjectName

func (x *UploadKeyRequest) GetProjectName() string

func (*UploadKeyRequest) ProtoMessage

func (*UploadKeyRequest) ProtoMessage()

func (*UploadKeyRequest) ProtoReflect

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

func (*UploadKeyRequest) Reset

func (x *UploadKeyRequest) Reset()

func (*UploadKeyRequest) String

func (x *UploadKeyRequest) String() string

type UploadKeyResponse

type UploadKeyResponse struct {
	ErrorDescription string `protobuf:"bytes,1,opt,name=error_description,json=errorDescription,proto3" json:"error_description,omitempty"`
	ProjectId        uint32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Key              *Key   `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadKeyResponse) Descriptor deprecated

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

Deprecated: Use UploadKeyResponse.ProtoReflect.Descriptor instead.

func (*UploadKeyResponse) GetErrorDescription

func (x *UploadKeyResponse) GetErrorDescription() string

func (*UploadKeyResponse) GetKey

func (x *UploadKeyResponse) GetKey() *Key

func (*UploadKeyResponse) GetProjectId

func (x *UploadKeyResponse) GetProjectId() uint32

func (*UploadKeyResponse) ProtoMessage

func (*UploadKeyResponse) ProtoMessage()

func (*UploadKeyResponse) ProtoReflect

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

func (*UploadKeyResponse) Reset

func (x *UploadKeyResponse) Reset()

func (*UploadKeyResponse) String

func (x *UploadKeyResponse) String() string

type WhispererClient

type WhispererClient interface {
	GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*GetJobResponse, error)
	JobResults(ctx context.Context, in *JobResultsRequest, opts ...grpc.CallOption) (*JobResultsResponse, error)
}

WhispererClient is the client API for Whisperer 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 NewWhispererClient

func NewWhispererClient(cc grpc.ClientConnInterface) WhispererClient

type WhispererServer

type WhispererServer interface {
	GetJob(context.Context, *GetJobRequest) (*GetJobResponse, error)
	JobResults(context.Context, *JobResultsRequest) (*JobResultsResponse, error)
	// contains filtered or unexported methods
}

WhispererServer is the server API for Whisperer service. All implementations must embed UnimplementedWhispererServer for forward compatibility

Jump to

Keyboard shortcuts

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