 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- Variables
- func RegisterCASDBServiceServer(s grpc.ServiceRegistrar, srv CASDBServiceServer)
- type CASBlob
- type CASBytes
- func (*CASBytes) Descriptor() ([]byte, []int)deprecated
- func (x *CASBytes) GetContents() isCASBytes_Contents
- func (x *CASBytes) GetData() []byte
- func (x *CASBytes) GetFilePath() string
- func (*CASBytes) ProtoMessage()
- func (x *CASBytes) ProtoReflect() protoreflect.Message
- func (x *CASBytes) Reset()
- func (x *CASBytes) String() string
 
- type CASBytes_Data
- type CASBytes_FilePath
- type CASDBServiceClient
- type CASDBServiceServer
- type CASDataID
- type CASGetRequest
- func (*CASGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CASGetRequest) GetCasId() *CASDataID
- func (x *CASGetRequest) GetWriteToDisk() bool
- func (*CASGetRequest) ProtoMessage()
- func (x *CASGetRequest) ProtoReflect() protoreflect.Message
- func (x *CASGetRequest) Reset()
- func (x *CASGetRequest) String() string
 
- type CASGetResponse
- func (*CASGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CASGetResponse) GetContents() isCASGetResponse_Contents
- func (x *CASGetResponse) GetData() *CASObject
- func (x *CASGetResponse) GetError() *ResponseError
- func (x *CASGetResponse) GetOutcome() CASGetResponse_Outcome
- func (*CASGetResponse) ProtoMessage()
- func (x *CASGetResponse) ProtoReflect() protoreflect.Message
- func (x *CASGetResponse) Reset()
- func (x *CASGetResponse) String() string
 
- type CASGetResponse_Data
- type CASGetResponse_Error
- type CASGetResponse_Outcome
- func (CASGetResponse_Outcome) Descriptor() protoreflect.EnumDescriptor
- func (x CASGetResponse_Outcome) Enum() *CASGetResponse_Outcome
- func (CASGetResponse_Outcome) EnumDescriptor() ([]byte, []int)deprecated
- func (x CASGetResponse_Outcome) Number() protoreflect.EnumNumber
- func (x CASGetResponse_Outcome) String() string
- func (CASGetResponse_Outcome) Type() protoreflect.EnumType
 
- type CASLoadRequest
- func (*CASLoadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CASLoadRequest) GetCasId() *CASDataID
- func (x *CASLoadRequest) GetWriteToDisk() bool
- func (*CASLoadRequest) ProtoMessage()
- func (x *CASLoadRequest) ProtoReflect() protoreflect.Message
- func (x *CASLoadRequest) Reset()
- func (x *CASLoadRequest) String() string
 
- type CASLoadResponse
- func (*CASLoadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CASLoadResponse) GetContents() isCASLoadResponse_Contents
- func (x *CASLoadResponse) GetData() *CASBlob
- func (x *CASLoadResponse) GetError() *ResponseError
- func (x *CASLoadResponse) GetOutcome() CASLoadResponse_Outcome
- func (*CASLoadResponse) ProtoMessage()
- func (x *CASLoadResponse) ProtoReflect() protoreflect.Message
- func (x *CASLoadResponse) Reset()
- func (x *CASLoadResponse) String() string
 
- type CASLoadResponse_Data
- type CASLoadResponse_Error
- type CASLoadResponse_Outcome
- func (CASLoadResponse_Outcome) Descriptor() protoreflect.EnumDescriptor
- func (x CASLoadResponse_Outcome) Enum() *CASLoadResponse_Outcome
- func (CASLoadResponse_Outcome) EnumDescriptor() ([]byte, []int)deprecated
- func (x CASLoadResponse_Outcome) Number() protoreflect.EnumNumber
- func (x CASLoadResponse_Outcome) String() string
- func (CASLoadResponse_Outcome) Type() protoreflect.EnumType
 
- type CASObject
- type CASPutRequest
- type CASPutResponse
- func (*CASPutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CASPutResponse) GetCasId() *CASDataID
- func (x *CASPutResponse) GetContents() isCASPutResponse_Contents
- func (x *CASPutResponse) GetError() *ResponseError
- func (*CASPutResponse) ProtoMessage()
- func (x *CASPutResponse) ProtoReflect() protoreflect.Message
- func (x *CASPutResponse) Reset()
- func (x *CASPutResponse) String() string
 
- type CASPutResponse_CasId
- type CASPutResponse_Error
- type CASSaveRequest
- type CASSaveResponse
- func (*CASSaveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CASSaveResponse) GetCasId() *CASDataID
- func (x *CASSaveResponse) GetContents() isCASSaveResponse_Contents
- func (x *CASSaveResponse) GetError() *ResponseError
- func (*CASSaveResponse) ProtoMessage()
- func (x *CASSaveResponse) ProtoReflect() protoreflect.Message
- func (x *CASSaveResponse) Reset()
- func (x *CASSaveResponse) String() string
 
- type CASSaveResponse_CasId
- type CASSaveResponse_Error
- type ResponseError
- type UnimplementedCASDBServiceServer
- func (UnimplementedCASDBServiceServer) Get(context.Context, *CASGetRequest) (*CASGetResponse, error)
- func (UnimplementedCASDBServiceServer) Load(context.Context, *CASLoadRequest) (*CASLoadResponse, error)
- func (UnimplementedCASDBServiceServer) Put(context.Context, *CASPutRequest) (*CASPutResponse, error)
- func (UnimplementedCASDBServiceServer) Save(context.Context, *CASSaveRequest) (*CASSaveResponse, error)
 
- type UnsafeCASDBServiceServer
Constants ¶
const ( CASDBService_Get_FullMethodName = "/compilation_cache_service.cas.v1.CASDBService/Get" CASDBService_Put_FullMethodName = "/compilation_cache_service.cas.v1.CASDBService/Put" CASDBService_Load_FullMethodName = "/compilation_cache_service.cas.v1.CASDBService/Load" CASDBService_Save_FullMethodName = "/compilation_cache_service.cas.v1.CASDBService/Save" )
Variables ¶
var ( CASGetResponse_Outcome_name = map[int32]string{ 0: "ERROR", 1: "OBJECT_NOT_FOUND", 2: "SUCCESS", } CASGetResponse_Outcome_value = map[string]int32{ "ERROR": 0, "OBJECT_NOT_FOUND": 1, "SUCCESS": 2, } )
Enum value maps for CASGetResponse_Outcome.
var ( CASLoadResponse_Outcome_name = map[int32]string{ 0: "ERROR", 1: "OBJECT_NOT_FOUND", 2: "SUCCESS", } CASLoadResponse_Outcome_value = map[string]int32{ "ERROR": 0, "OBJECT_NOT_FOUND": 1, "SUCCESS": 2, } )
Enum value maps for CASLoadResponse_Outcome.
var CASDBService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "compilation_cache_service.cas.v1.CASDBService", HandlerType: (*CASDBServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _CASDBService_Get_Handler, }, { MethodName: "Put", Handler: _CASDBService_Put_Handler, }, { MethodName: "Load", Handler: _CASDBService_Load_Handler, }, { MethodName: "Save", Handler: _CASDBService_Save_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "llvm/cas/compilation_caching_cas.proto", }
CASDBService_ServiceDesc is the grpc.ServiceDesc for CASDBService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_llvm_cas_compilation_caching_cas_proto protoreflect.FileDescriptor
    Functions ¶
func RegisterCASDBServiceServer ¶
func RegisterCASDBServiceServer(s grpc.ServiceRegistrar, srv CASDBServiceServer)
Types ¶
type CASBlob ¶
type CASBlob struct {
	Blob *CASBytes `protobuf:"bytes,1,opt,name=blob,proto3" json:"blob,omitempty"`
	// contains filtered or unexported fields
}
    `CASObject` and `CASBlob` should be wire compatible.
        
          
            func (*CASBlob) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*CASBlob) ProtoMessage ¶
func (*CASBlob) ProtoMessage()
func (*CASBlob) ProtoReflect ¶
func (x *CASBlob) ProtoReflect() protoreflect.Message
type CASBytes ¶
type CASBytes struct {
	// Types that are valid to be assigned to Contents:
	//
	//	*CASBytes_Data
	//	*CASBytes_FilePath
	Contents isCASBytes_Contents `protobuf_oneof:"contents"`
	// contains filtered or unexported fields
}
    
        
          
            func (*CASBytes) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*CASBytes) GetContents ¶
func (x *CASBytes) GetContents() isCASBytes_Contents
func (*CASBytes) GetFilePath ¶
func (*CASBytes) ProtoMessage ¶
func (*CASBytes) ProtoMessage()
func (*CASBytes) ProtoReflect ¶
func (x *CASBytes) ProtoReflect() protoreflect.Message
type CASBytes_Data ¶
type CASBytes_Data struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}
    type CASBytes_FilePath ¶
type CASBytes_FilePath struct {
	FilePath string `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3,oneof"`
}
    type CASDBServiceClient ¶
type CASDBServiceClient interface {
	Get(ctx context.Context, in *CASGetRequest, opts ...grpc.CallOption) (*CASGetResponse, error)
	Put(ctx context.Context, in *CASPutRequest, opts ...grpc.CallOption) (*CASPutResponse, error)
	Load(ctx context.Context, in *CASLoadRequest, opts ...grpc.CallOption) (*CASLoadResponse, error)
	Save(ctx context.Context, in *CASSaveRequest, opts ...grpc.CallOption) (*CASSaveResponse, error)
}
    CASDBServiceClient is the client API for CASDBService 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.
Interface exported by the service.
func NewCASDBServiceClient ¶
func NewCASDBServiceClient(cc grpc.ClientConnInterface) CASDBServiceClient
type CASDBServiceServer ¶
type CASDBServiceServer interface {
	Get(context.Context, *CASGetRequest) (*CASGetResponse, error)
	Put(context.Context, *CASPutRequest) (*CASPutResponse, error)
	Load(context.Context, *CASLoadRequest) (*CASLoadResponse, error)
	Save(context.Context, *CASSaveRequest) (*CASSaveResponse, error)
	// contains filtered or unexported methods
}
    CASDBServiceServer is the server API for CASDBService service. All implementations must embed UnimplementedCASDBServiceServer for forward compatibility.
Interface exported by the service.
type CASDataID ¶
type CASDataID struct {
	Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}
    MARK: - Data types
        
          
            func (*CASDataID) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*CASDataID) ProtoMessage ¶
func (*CASDataID) ProtoMessage()
func (*CASDataID) ProtoReflect ¶
func (x *CASDataID) ProtoReflect() protoreflect.Message
type CASGetRequest ¶
type CASGetRequest struct {
	CasId *CASDataID `protobuf:"bytes,1,opt,name=cas_id,json=casId,proto3" json:"cas_id,omitempty"`
	// If set, the client asks for the service to write the blob part to disk, with a
	// file path of the service's choosing.
	//
	// However this is not a hard requirement, the service can still choose to
	// return the blob back as `bytes`. The client should always check whether
	// the blob came back as `bytes` or as a file on disk.
	//
	// If the service writes the blob to a file, it should have the right
	// access for the client to be able to move it to a different path.
	WriteToDisk bool `protobuf:"varint,2,opt,name=write_to_disk,json=writeToDisk,proto3" json:"write_to_disk,omitempty"`
	// contains filtered or unexported fields
}
    MARK: Get
        
          
            func (*CASGetRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*CASGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CASGetRequest.ProtoReflect.Descriptor instead.
func (*CASGetRequest) GetCasId ¶
func (x *CASGetRequest) GetCasId() *CASDataID
func (*CASGetRequest) GetWriteToDisk ¶
func (x *CASGetRequest) GetWriteToDisk() bool
func (*CASGetRequest) ProtoMessage ¶
func (*CASGetRequest) ProtoMessage()
func (*CASGetRequest) ProtoReflect ¶
func (x *CASGetRequest) ProtoReflect() protoreflect.Message
func (*CASGetRequest) Reset ¶
func (x *CASGetRequest) Reset()
func (*CASGetRequest) String ¶
func (x *CASGetRequest) String() string
type CASGetResponse ¶
type CASGetResponse struct {
	Outcome CASGetResponse_Outcome `` /* 129-byte string literal not displayed */
	// Types that are valid to be assigned to Contents:
	//
	//	*CASGetResponse_Error
	//	*CASGetResponse_Data
	Contents isCASGetResponse_Contents `protobuf_oneof:"contents"`
	// contains filtered or unexported fields
}
    
        
          
            func (*CASGetResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*CASGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use CASGetResponse.ProtoReflect.Descriptor instead.
func (*CASGetResponse) GetContents ¶
func (x *CASGetResponse) GetContents() isCASGetResponse_Contents
func (*CASGetResponse) GetData ¶
func (x *CASGetResponse) GetData() *CASObject
func (*CASGetResponse) GetError ¶
func (x *CASGetResponse) GetError() *ResponseError
func (*CASGetResponse) GetOutcome ¶
func (x *CASGetResponse) GetOutcome() CASGetResponse_Outcome
func (*CASGetResponse) ProtoMessage ¶
func (*CASGetResponse) ProtoMessage()
func (*CASGetResponse) ProtoReflect ¶
func (x *CASGetResponse) ProtoReflect() protoreflect.Message
func (*CASGetResponse) Reset ¶
func (x *CASGetResponse) Reset()
func (*CASGetResponse) String ¶
func (x *CASGetResponse) String() string
type CASGetResponse_Data ¶
type CASGetResponse_Data struct {
	Data *CASObject `protobuf:"bytes,3,opt,name=data,proto3,oneof"`
}
    type CASGetResponse_Error ¶
type CASGetResponse_Error struct {
	Error *ResponseError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
    type CASGetResponse_Outcome ¶
type CASGetResponse_Outcome int32
const ( CASGetResponse_ERROR CASGetResponse_Outcome = 0 // if unset, we'll get error CASGetResponse_OBJECT_NOT_FOUND CASGetResponse_Outcome = 1 CASGetResponse_SUCCESS CASGetResponse_Outcome = 2 )
func (CASGetResponse_Outcome) Descriptor ¶
func (CASGetResponse_Outcome) Descriptor() protoreflect.EnumDescriptor
func (CASGetResponse_Outcome) Enum ¶
func (x CASGetResponse_Outcome) Enum() *CASGetResponse_Outcome
        
          
            func (CASGetResponse_Outcome) EnumDescriptor
            deprecated
            
          
  
    
  
      
      func (CASGetResponse_Outcome) EnumDescriptor() ([]byte, []int)
Deprecated: Use CASGetResponse_Outcome.Descriptor instead.
func (CASGetResponse_Outcome) Number ¶
func (x CASGetResponse_Outcome) Number() protoreflect.EnumNumber
func (CASGetResponse_Outcome) String ¶
func (x CASGetResponse_Outcome) String() string
func (CASGetResponse_Outcome) Type ¶
func (CASGetResponse_Outcome) Type() protoreflect.EnumType
type CASLoadRequest ¶
type CASLoadRequest struct {
	CasId *CASDataID `protobuf:"bytes,1,opt,name=cas_id,json=casId,proto3" json:"cas_id,omitempty"`
	// If set, the client asks for the service to write the blob part to disk, with a
	// file path of the service's choosing.
	//
	// However this is not a hard requirement, the service can still choose to
	// return the blob back as `bytes`. The client should always check whether
	// the blob came back as `bytes` or as a file on disk.
	//
	// If the service writes the blob to a file, it should have the right
	// access for the client to be able to move it to a different path.
	WriteToDisk bool `protobuf:"varint,2,opt,name=write_to_disk,json=writeToDisk,proto3" json:"write_to_disk,omitempty"`
	// contains filtered or unexported fields
}
    MARK: Load
        
          
            func (*CASLoadRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*CASLoadRequest) Descriptor() ([]byte, []int)
Deprecated: Use CASLoadRequest.ProtoReflect.Descriptor instead.
func (*CASLoadRequest) GetCasId ¶
func (x *CASLoadRequest) GetCasId() *CASDataID
func (*CASLoadRequest) GetWriteToDisk ¶
func (x *CASLoadRequest) GetWriteToDisk() bool
func (*CASLoadRequest) ProtoMessage ¶
func (*CASLoadRequest) ProtoMessage()
func (*CASLoadRequest) ProtoReflect ¶
func (x *CASLoadRequest) ProtoReflect() protoreflect.Message
func (*CASLoadRequest) Reset ¶
func (x *CASLoadRequest) Reset()
func (*CASLoadRequest) String ¶
func (x *CASLoadRequest) String() string
type CASLoadResponse ¶
type CASLoadResponse struct {
	Outcome CASLoadResponse_Outcome `` /* 130-byte string literal not displayed */
	// Types that are valid to be assigned to Contents:
	//
	//	*CASLoadResponse_Error
	//	*CASLoadResponse_Data
	Contents isCASLoadResponse_Contents `protobuf_oneof:"contents"`
	// contains filtered or unexported fields
}
    
        
          
            func (*CASLoadResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*CASLoadResponse) Descriptor() ([]byte, []int)
Deprecated: Use CASLoadResponse.ProtoReflect.Descriptor instead.
func (*CASLoadResponse) GetContents ¶
func (x *CASLoadResponse) GetContents() isCASLoadResponse_Contents
func (*CASLoadResponse) GetData ¶
func (x *CASLoadResponse) GetData() *CASBlob
func (*CASLoadResponse) GetError ¶
func (x *CASLoadResponse) GetError() *ResponseError
func (*CASLoadResponse) GetOutcome ¶
func (x *CASLoadResponse) GetOutcome() CASLoadResponse_Outcome
func (*CASLoadResponse) ProtoMessage ¶
func (*CASLoadResponse) ProtoMessage()
func (*CASLoadResponse) ProtoReflect ¶
func (x *CASLoadResponse) ProtoReflect() protoreflect.Message
func (*CASLoadResponse) Reset ¶
func (x *CASLoadResponse) Reset()
func (*CASLoadResponse) String ¶
func (x *CASLoadResponse) String() string
type CASLoadResponse_Data ¶
type CASLoadResponse_Data struct {
	Data *CASBlob `protobuf:"bytes,3,opt,name=data,proto3,oneof"`
}
    type CASLoadResponse_Error ¶
type CASLoadResponse_Error struct {
	Error *ResponseError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
    type CASLoadResponse_Outcome ¶
type CASLoadResponse_Outcome int32
const ( CASLoadResponse_ERROR CASLoadResponse_Outcome = 0 // if unset, we'll get error CASLoadResponse_OBJECT_NOT_FOUND CASLoadResponse_Outcome = 1 CASLoadResponse_SUCCESS CASLoadResponse_Outcome = 2 )
func (CASLoadResponse_Outcome) Descriptor ¶
func (CASLoadResponse_Outcome) Descriptor() protoreflect.EnumDescriptor
func (CASLoadResponse_Outcome) Enum ¶
func (x CASLoadResponse_Outcome) Enum() *CASLoadResponse_Outcome
        
          
            func (CASLoadResponse_Outcome) EnumDescriptor
            deprecated
            
          
  
    
  
      
      func (CASLoadResponse_Outcome) EnumDescriptor() ([]byte, []int)
Deprecated: Use CASLoadResponse_Outcome.Descriptor instead.
func (CASLoadResponse_Outcome) Number ¶
func (x CASLoadResponse_Outcome) Number() protoreflect.EnumNumber
func (CASLoadResponse_Outcome) String ¶
func (x CASLoadResponse_Outcome) String() string
func (CASLoadResponse_Outcome) Type ¶
func (CASLoadResponse_Outcome) Type() protoreflect.EnumType
type CASObject ¶
type CASObject struct {
	Blob       *CASBytes    `protobuf:"bytes,1,opt,name=blob,proto3" json:"blob,omitempty"`
	References []*CASDataID `protobuf:"bytes,2,rep,name=references,proto3" json:"references,omitempty"`
	// contains filtered or unexported fields
}
    `CASObject` and `CASBlob` should be wire compatible.
        
          
            func (*CASObject) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*CASObject) GetReferences ¶
func (*CASObject) ProtoMessage ¶
func (*CASObject) ProtoMessage()
func (*CASObject) ProtoReflect ¶
func (x *CASObject) ProtoReflect() protoreflect.Message
type CASPutRequest ¶
type CASPutRequest struct {
	Data *CASObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}
    MARK: Put
        
          
            func (*CASPutRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*CASPutRequest) Descriptor() ([]byte, []int)
Deprecated: Use CASPutRequest.ProtoReflect.Descriptor instead.
func (*CASPutRequest) GetData ¶
func (x *CASPutRequest) GetData() *CASObject
func (*CASPutRequest) ProtoMessage ¶
func (*CASPutRequest) ProtoMessage()
func (*CASPutRequest) ProtoReflect ¶
func (x *CASPutRequest) ProtoReflect() protoreflect.Message
func (*CASPutRequest) Reset ¶
func (x *CASPutRequest) Reset()
func (*CASPutRequest) String ¶
func (x *CASPutRequest) String() string
type CASPutResponse ¶
type CASPutResponse struct {
	// Types that are valid to be assigned to Contents:
	//
	//	*CASPutResponse_Error
	//	*CASPutResponse_CasId
	Contents isCASPutResponse_Contents `protobuf_oneof:"contents"`
	// contains filtered or unexported fields
}
    
        
          
            func (*CASPutResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*CASPutResponse) Descriptor() ([]byte, []int)
Deprecated: Use CASPutResponse.ProtoReflect.Descriptor instead.
func (*CASPutResponse) GetCasId ¶
func (x *CASPutResponse) GetCasId() *CASDataID
func (*CASPutResponse) GetContents ¶
func (x *CASPutResponse) GetContents() isCASPutResponse_Contents
func (*CASPutResponse) GetError ¶
func (x *CASPutResponse) GetError() *ResponseError
func (*CASPutResponse) ProtoMessage ¶
func (*CASPutResponse) ProtoMessage()
func (*CASPutResponse) ProtoReflect ¶
func (x *CASPutResponse) ProtoReflect() protoreflect.Message
func (*CASPutResponse) Reset ¶
func (x *CASPutResponse) Reset()
func (*CASPutResponse) String ¶
func (x *CASPutResponse) String() string
type CASPutResponse_CasId ¶
type CASPutResponse_CasId struct {
	CasId *CASDataID `protobuf:"bytes,2,opt,name=cas_id,json=casId,proto3,oneof"`
}
    type CASPutResponse_Error ¶
type CASPutResponse_Error struct {
	Error *ResponseError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
    type CASSaveRequest ¶
type CASSaveRequest struct {
	Data *CASBlob `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}
    MARK: Save
        
          
            func (*CASSaveRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*CASSaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use CASSaveRequest.ProtoReflect.Descriptor instead.
func (*CASSaveRequest) GetData ¶
func (x *CASSaveRequest) GetData() *CASBlob
func (*CASSaveRequest) ProtoMessage ¶
func (*CASSaveRequest) ProtoMessage()
func (*CASSaveRequest) ProtoReflect ¶
func (x *CASSaveRequest) ProtoReflect() protoreflect.Message
func (*CASSaveRequest) Reset ¶
func (x *CASSaveRequest) Reset()
func (*CASSaveRequest) String ¶
func (x *CASSaveRequest) String() string
type CASSaveResponse ¶
type CASSaveResponse struct {
	// Types that are valid to be assigned to Contents:
	//
	//	*CASSaveResponse_Error
	//	*CASSaveResponse_CasId
	Contents isCASSaveResponse_Contents `protobuf_oneof:"contents"`
	// contains filtered or unexported fields
}
    
        
          
            func (*CASSaveResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*CASSaveResponse) Descriptor() ([]byte, []int)
Deprecated: Use CASSaveResponse.ProtoReflect.Descriptor instead.
func (*CASSaveResponse) GetCasId ¶
func (x *CASSaveResponse) GetCasId() *CASDataID
func (*CASSaveResponse) GetContents ¶
func (x *CASSaveResponse) GetContents() isCASSaveResponse_Contents
func (*CASSaveResponse) GetError ¶
func (x *CASSaveResponse) GetError() *ResponseError
func (*CASSaveResponse) ProtoMessage ¶
func (*CASSaveResponse) ProtoMessage()
func (*CASSaveResponse) ProtoReflect ¶
func (x *CASSaveResponse) ProtoReflect() protoreflect.Message
func (*CASSaveResponse) Reset ¶
func (x *CASSaveResponse) Reset()
func (*CASSaveResponse) String ¶
func (x *CASSaveResponse) String() string
type CASSaveResponse_CasId ¶
type CASSaveResponse_CasId struct {
	CasId *CASDataID `protobuf:"bytes,2,opt,name=cas_id,json=casId,proto3,oneof"`
}
    type CASSaveResponse_Error ¶
type CASSaveResponse_Error struct {
	Error *ResponseError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
    type ResponseError ¶
type ResponseError struct {
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*ResponseError) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ResponseError) Descriptor() ([]byte, []int)
Deprecated: Use ResponseError.ProtoReflect.Descriptor instead.
func (*ResponseError) GetDescription ¶
func (x *ResponseError) GetDescription() string
func (*ResponseError) ProtoMessage ¶
func (*ResponseError) ProtoMessage()
func (*ResponseError) ProtoReflect ¶
func (x *ResponseError) ProtoReflect() protoreflect.Message
func (*ResponseError) Reset ¶
func (x *ResponseError) Reset()
func (*ResponseError) String ¶
func (x *ResponseError) String() string
type UnimplementedCASDBServiceServer ¶
type UnimplementedCASDBServiceServer struct{}
    UnimplementedCASDBServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCASDBServiceServer) Get ¶
func (UnimplementedCASDBServiceServer) Get(context.Context, *CASGetRequest) (*CASGetResponse, error)
func (UnimplementedCASDBServiceServer) Load ¶
func (UnimplementedCASDBServiceServer) Load(context.Context, *CASLoadRequest) (*CASLoadResponse, error)
func (UnimplementedCASDBServiceServer) Put ¶
func (UnimplementedCASDBServiceServer) Put(context.Context, *CASPutRequest) (*CASPutResponse, error)
func (UnimplementedCASDBServiceServer) Save ¶
func (UnimplementedCASDBServiceServer) Save(context.Context, *CASSaveRequest) (*CASSaveResponse, error)
type UnsafeCASDBServiceServer ¶
type UnsafeCASDBServiceServer interface {
	// contains filtered or unexported methods
}
    UnsafeCASDBServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CASDBServiceServer will result in compilation errors.