protobuf

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArchiveService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "archivekeep.ArchiveService",
	HandlerType: (*ArchiveServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListArchives",
			Handler:    _ArchiveService_ListArchives_Handler,
		},
		{
			MethodName: "GetArchive",
			Handler:    _ArchiveService_GetArchive_Handler,
		},
		{
			MethodName: "ListArchiveFiles",
			Handler:    _ArchiveService_ListArchiveFiles_Handler,
		},
		{
			MethodName: "MoveArchiveFile",
			Handler:    _ArchiveService_MoveArchiveFile_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "DownloadArchiveFile",
			Handler:       _ArchiveService_DownloadArchiveFile_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "UploadArchiveFile",
			Handler:       _ArchiveService_UploadArchiveFile_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "api.proto",
}

ArchiveService_ServiceDesc is the grpc.ServiceDesc for ArchiveService 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 PersonalAccessTokenService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "archivekeep.PersonalAccessTokenService",
	HandlerType: (*PersonalAccessTokenServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreatePersonalAccessToken",
			Handler:    _PersonalAccessTokenService_CreatePersonalAccessToken_Handler,
		},
		{
			MethodName: "DeletePersonalAccessToken",
			Handler:    _PersonalAccessTokenService_DeletePersonalAccessToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api.proto",
}

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

Functions

func RegisterArchiveServiceServer

func RegisterArchiveServiceServer(s grpc.ServiceRegistrar, srv ArchiveServiceServer)

func RegisterPersonalAccessTokenServiceServer

func RegisterPersonalAccessTokenServiceServer(s grpc.ServiceRegistrar, srv PersonalAccessTokenServiceServer)

Types

type Archive

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

func (*Archive) Descriptor deprecated

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

Deprecated: Use Archive.ProtoReflect.Descriptor instead.

func (*Archive) GetName

func (x *Archive) GetName() string

func (*Archive) ProtoMessage

func (*Archive) ProtoMessage()

func (*Archive) ProtoReflect

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

func (*Archive) Reset

func (x *Archive) Reset()

func (*Archive) String

func (x *Archive) String() string

type ArchiveFile

type ArchiveFile struct {
	Name    string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Length  int64             `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"`
	Digests map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ArchiveFile) Descriptor deprecated

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

Deprecated: Use ArchiveFile.ProtoReflect.Descriptor instead.

func (*ArchiveFile) GetDigests

func (x *ArchiveFile) GetDigests() map[string]string

func (*ArchiveFile) GetLength

func (x *ArchiveFile) GetLength() int64

func (*ArchiveFile) GetName

func (x *ArchiveFile) GetName() string

func (*ArchiveFile) ProtoMessage

func (*ArchiveFile) ProtoMessage()

func (*ArchiveFile) ProtoReflect

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

func (*ArchiveFile) Reset

func (x *ArchiveFile) Reset()

func (*ArchiveFile) String

func (x *ArchiveFile) String() string

type ArchiveServiceClient

type ArchiveServiceClient interface {
	ListArchives(ctx context.Context, in *ListArchivesRequest, opts ...grpc.CallOption) (*ListArchivesResponse, error)
	GetArchive(ctx context.Context, in *GetArchiveRequest, opts ...grpc.CallOption) (*GetArchiveResponse, error)
	ListArchiveFiles(ctx context.Context, in *ListArchiveFilesRequest, opts ...grpc.CallOption) (*ListArchiveFilesResponse, error)
	DownloadArchiveFile(ctx context.Context, in *DownloadArchiveFileRequest, opts ...grpc.CallOption) (ArchiveService_DownloadArchiveFileClient, error)
	UploadArchiveFile(ctx context.Context, opts ...grpc.CallOption) (ArchiveService_UploadArchiveFileClient, error)
	MoveArchiveFile(ctx context.Context, in *MoveArchiveFileRequest, opts ...grpc.CallOption) (*ArchiveFile, error)
}

ArchiveServiceClient is the client API for ArchiveService 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.

type ArchiveServiceServer

type ArchiveServiceServer interface {
	ListArchives(context.Context, *ListArchivesRequest) (*ListArchivesResponse, error)
	GetArchive(context.Context, *GetArchiveRequest) (*GetArchiveResponse, error)
	ListArchiveFiles(context.Context, *ListArchiveFilesRequest) (*ListArchiveFilesResponse, error)
	DownloadArchiveFile(*DownloadArchiveFileRequest, ArchiveService_DownloadArchiveFileServer) error
	UploadArchiveFile(ArchiveService_UploadArchiveFileServer) error
	MoveArchiveFile(context.Context, *MoveArchiveFileRequest) (*ArchiveFile, error)
	// contains filtered or unexported methods
}

ArchiveServiceServer is the server API for ArchiveService service. All implementations must embed UnimplementedArchiveServiceServer for forward compatibility

type ArchiveService_DownloadArchiveFileClient

type ArchiveService_DownloadArchiveFileClient interface {
	Recv() (*DownloadArchiveFileResponse, error)
	grpc.ClientStream
}

type ArchiveService_DownloadArchiveFileServer

type ArchiveService_DownloadArchiveFileServer interface {
	Send(*DownloadArchiveFileResponse) error
	grpc.ServerStream
}

type ArchiveService_UploadArchiveFileClient

type ArchiveService_UploadArchiveFileClient interface {
	Send(*UploadArchiveFileRequest) error
	CloseAndRecv() (*ArchiveFile, error)
	grpc.ClientStream
}

type ArchiveService_UploadArchiveFileServer

type ArchiveService_UploadArchiveFileServer interface {
	SendAndClose(*ArchiveFile) error
	Recv() (*UploadArchiveFileRequest, error)
	grpc.ServerStream
}

type BytesChunk

type BytesChunk struct {
	Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
	// contains filtered or unexported fields
}

func (*BytesChunk) Descriptor deprecated

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

Deprecated: Use BytesChunk.ProtoReflect.Descriptor instead.

func (*BytesChunk) GetChunk

func (x *BytesChunk) GetChunk() []byte

func (*BytesChunk) ProtoMessage

func (*BytesChunk) ProtoMessage()

func (*BytesChunk) ProtoReflect

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

func (*BytesChunk) Reset

func (x *BytesChunk) Reset()

func (*BytesChunk) String

func (x *BytesChunk) String() string

type CreatePersonalAccessTokenRequest

type CreatePersonalAccessTokenRequest struct {
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePersonalAccessTokenRequest) Descriptor deprecated

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

Deprecated: Use CreatePersonalAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*CreatePersonalAccessTokenRequest) GetName

func (*CreatePersonalAccessTokenRequest) ProtoMessage

func (*CreatePersonalAccessTokenRequest) ProtoMessage()

func (*CreatePersonalAccessTokenRequest) ProtoReflect

func (*CreatePersonalAccessTokenRequest) Reset

func (*CreatePersonalAccessTokenRequest) String

type DeletePersonalAccessTokenRequest

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

func (*DeletePersonalAccessTokenRequest) Descriptor deprecated

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

Deprecated: Use DeletePersonalAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*DeletePersonalAccessTokenRequest) GetId

func (*DeletePersonalAccessTokenRequest) ProtoMessage

func (*DeletePersonalAccessTokenRequest) ProtoMessage()

func (*DeletePersonalAccessTokenRequest) ProtoReflect

func (*DeletePersonalAccessTokenRequest) Reset

func (*DeletePersonalAccessTokenRequest) String

type DownloadArchiveFileRequest

type DownloadArchiveFileRequest struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	SkipHead bool   `protobuf:"varint,2,opt,name=skip_head,json=skipHead,proto3" json:"skip_head,omitempty"`
	Offset   int64  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit    int64  `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadArchiveFileRequest) Descriptor deprecated

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

Deprecated: Use DownloadArchiveFileRequest.ProtoReflect.Descriptor instead.

func (*DownloadArchiveFileRequest) GetLimit

func (x *DownloadArchiveFileRequest) GetLimit() int64

func (*DownloadArchiveFileRequest) GetName

func (x *DownloadArchiveFileRequest) GetName() string

func (*DownloadArchiveFileRequest) GetOffset

func (x *DownloadArchiveFileRequest) GetOffset() int64

func (*DownloadArchiveFileRequest) GetSkipHead

func (x *DownloadArchiveFileRequest) GetSkipHead() bool

func (*DownloadArchiveFileRequest) ProtoMessage

func (*DownloadArchiveFileRequest) ProtoMessage()

func (*DownloadArchiveFileRequest) ProtoReflect

func (*DownloadArchiveFileRequest) Reset

func (x *DownloadArchiveFileRequest) Reset()

func (*DownloadArchiveFileRequest) String

func (x *DownloadArchiveFileRequest) String() string

type DownloadArchiveFileResponse

type DownloadArchiveFileResponse struct {

	// Types that are assignable to Value:
	//	*DownloadArchiveFileResponse_Head
	//	*DownloadArchiveFileResponse_Chunk
	Value isDownloadArchiveFileResponse_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*DownloadArchiveFileResponse) Descriptor deprecated

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

Deprecated: Use DownloadArchiveFileResponse.ProtoReflect.Descriptor instead.

func (*DownloadArchiveFileResponse) GetChunk

func (x *DownloadArchiveFileResponse) GetChunk() *BytesChunk

func (*DownloadArchiveFileResponse) GetHead

func (*DownloadArchiveFileResponse) GetValue

func (m *DownloadArchiveFileResponse) GetValue() isDownloadArchiveFileResponse_Value

func (*DownloadArchiveFileResponse) ProtoMessage

func (*DownloadArchiveFileResponse) ProtoMessage()

func (*DownloadArchiveFileResponse) ProtoReflect

func (*DownloadArchiveFileResponse) Reset

func (x *DownloadArchiveFileResponse) Reset()

func (*DownloadArchiveFileResponse) String

func (x *DownloadArchiveFileResponse) String() string

type DownloadArchiveFileResponse_Chunk

type DownloadArchiveFileResponse_Chunk struct {
	Chunk *BytesChunk `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"`
}

type DownloadArchiveFileResponse_Head

type DownloadArchiveFileResponse_Head struct {
	Head *ArchiveFile `protobuf:"bytes,1,opt,name=head,proto3,oneof"`
}

type GetArchiveRequest

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

func (*GetArchiveRequest) Descriptor deprecated

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

Deprecated: Use GetArchiveRequest.ProtoReflect.Descriptor instead.

func (*GetArchiveRequest) GetName

func (x *GetArchiveRequest) GetName() string

func (*GetArchiveRequest) ProtoMessage

func (*GetArchiveRequest) ProtoMessage()

func (*GetArchiveRequest) ProtoReflect

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

func (*GetArchiveRequest) Reset

func (x *GetArchiveRequest) Reset()

func (*GetArchiveRequest) String

func (x *GetArchiveRequest) String() string

type GetArchiveResponse

type GetArchiveResponse struct {
	Archive *Archive `protobuf:"bytes,1,opt,name=archive,proto3" json:"archive,omitempty"`
	// contains filtered or unexported fields
}

func (*GetArchiveResponse) Descriptor deprecated

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

Deprecated: Use GetArchiveResponse.ProtoReflect.Descriptor instead.

func (*GetArchiveResponse) GetArchive

func (x *GetArchiveResponse) GetArchive() *Archive

func (*GetArchiveResponse) ProtoMessage

func (*GetArchiveResponse) ProtoMessage()

func (*GetArchiveResponse) ProtoReflect

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

func (*GetArchiveResponse) Reset

func (x *GetArchiveResponse) Reset()

func (*GetArchiveResponse) String

func (x *GetArchiveResponse) String() string

type ListArchiveFilesRequest

type ListArchiveFilesRequest struct {
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

func (*ListArchiveFilesRequest) Descriptor deprecated

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

Deprecated: Use ListArchiveFilesRequest.ProtoReflect.Descriptor instead.

func (*ListArchiveFilesRequest) GetParent

func (x *ListArchiveFilesRequest) GetParent() string

func (*ListArchiveFilesRequest) ProtoMessage

func (*ListArchiveFilesRequest) ProtoMessage()

func (*ListArchiveFilesRequest) ProtoReflect

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

func (*ListArchiveFilesRequest) Reset

func (x *ListArchiveFilesRequest) Reset()

func (*ListArchiveFilesRequest) String

func (x *ListArchiveFilesRequest) String() string

type ListArchiveFilesResponse

type ListArchiveFilesResponse struct {
	Files []*ArchiveFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*ListArchiveFilesResponse) Descriptor deprecated

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

Deprecated: Use ListArchiveFilesResponse.ProtoReflect.Descriptor instead.

func (*ListArchiveFilesResponse) GetFiles

func (x *ListArchiveFilesResponse) GetFiles() []*ArchiveFile

func (*ListArchiveFilesResponse) ProtoMessage

func (*ListArchiveFilesResponse) ProtoMessage()

func (*ListArchiveFilesResponse) ProtoReflect

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

func (*ListArchiveFilesResponse) Reset

func (x *ListArchiveFilesResponse) Reset()

func (*ListArchiveFilesResponse) String

func (x *ListArchiveFilesResponse) String() string

type ListArchivesRequest

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

func (*ListArchivesRequest) Descriptor deprecated

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

Deprecated: Use ListArchivesRequest.ProtoReflect.Descriptor instead.

func (*ListArchivesRequest) ProtoMessage

func (*ListArchivesRequest) ProtoMessage()

func (*ListArchivesRequest) ProtoReflect

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

func (*ListArchivesRequest) Reset

func (x *ListArchivesRequest) Reset()

func (*ListArchivesRequest) String

func (x *ListArchivesRequest) String() string

type ListArchivesResponse

type ListArchivesResponse struct {
	Archives []*Archive `protobuf:"bytes,1,rep,name=archives,proto3" json:"archives,omitempty"`
	// contains filtered or unexported fields
}

func (*ListArchivesResponse) Descriptor deprecated

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

Deprecated: Use ListArchivesResponse.ProtoReflect.Descriptor instead.

func (*ListArchivesResponse) GetArchives

func (x *ListArchivesResponse) GetArchives() []*Archive

func (*ListArchivesResponse) ProtoMessage

func (*ListArchivesResponse) ProtoMessage()

func (*ListArchivesResponse) ProtoReflect

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

func (*ListArchivesResponse) Reset

func (x *ListArchivesResponse) Reset()

func (*ListArchivesResponse) String

func (x *ListArchivesResponse) String() string

type MoveArchiveFileRequest

type MoveArchiveFileRequest struct {
	Name            string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DestinationName string `protobuf:"bytes,2,opt,name=destination_name,json=destinationName,proto3" json:"destination_name,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveArchiveFileRequest) Descriptor deprecated

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

Deprecated: Use MoveArchiveFileRequest.ProtoReflect.Descriptor instead.

func (*MoveArchiveFileRequest) GetDestinationName

func (x *MoveArchiveFileRequest) GetDestinationName() string

func (*MoveArchiveFileRequest) GetName

func (x *MoveArchiveFileRequest) GetName() string

func (*MoveArchiveFileRequest) ProtoMessage

func (*MoveArchiveFileRequest) ProtoMessage()

func (*MoveArchiveFileRequest) ProtoReflect

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

func (*MoveArchiveFileRequest) Reset

func (x *MoveArchiveFileRequest) Reset()

func (*MoveArchiveFileRequest) String

func (x *MoveArchiveFileRequest) String() string

type PersonalAccessToken

type PersonalAccessToken struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name           string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Token          string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	TokenLastEight string `protobuf:"bytes,4,opt,name=token_last_eight,json=tokenLastEight,proto3" json:"token_last_eight,omitempty"`
	// contains filtered or unexported fields
}

func (*PersonalAccessToken) Descriptor deprecated

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

Deprecated: Use PersonalAccessToken.ProtoReflect.Descriptor instead.

func (*PersonalAccessToken) GetId

func (x *PersonalAccessToken) GetId() string

func (*PersonalAccessToken) GetName

func (x *PersonalAccessToken) GetName() string

func (*PersonalAccessToken) GetToken

func (x *PersonalAccessToken) GetToken() string

func (*PersonalAccessToken) GetTokenLastEight

func (x *PersonalAccessToken) GetTokenLastEight() string

func (*PersonalAccessToken) ProtoMessage

func (*PersonalAccessToken) ProtoMessage()

func (*PersonalAccessToken) ProtoReflect

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

func (*PersonalAccessToken) Reset

func (x *PersonalAccessToken) Reset()

func (*PersonalAccessToken) String

func (x *PersonalAccessToken) String() string

type PersonalAccessTokenServiceClient

type PersonalAccessTokenServiceClient interface {
	CreatePersonalAccessToken(ctx context.Context, in *CreatePersonalAccessTokenRequest, opts ...grpc.CallOption) (*PersonalAccessToken, error)
	DeletePersonalAccessToken(ctx context.Context, in *DeletePersonalAccessTokenRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

PersonalAccessTokenServiceClient is the client API for PersonalAccessTokenService 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.

type PersonalAccessTokenServiceServer

type PersonalAccessTokenServiceServer interface {
	CreatePersonalAccessToken(context.Context, *CreatePersonalAccessTokenRequest) (*PersonalAccessToken, error)
	DeletePersonalAccessToken(context.Context, *DeletePersonalAccessTokenRequest) (*empty.Empty, error)
	// contains filtered or unexported methods
}

PersonalAccessTokenServiceServer is the server API for PersonalAccessTokenService service. All implementations must embed UnimplementedPersonalAccessTokenServiceServer for forward compatibility

type UnimplementedArchiveServiceServer

type UnimplementedArchiveServiceServer struct {
}

UnimplementedArchiveServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedArchiveServiceServer) GetArchive

func (UnimplementedArchiveServiceServer) ListArchiveFiles

func (UnimplementedArchiveServiceServer) ListArchives

func (UnimplementedArchiveServiceServer) MoveArchiveFile

func (UnimplementedArchiveServiceServer) UploadArchiveFile

type UnimplementedPersonalAccessTokenServiceServer

type UnimplementedPersonalAccessTokenServiceServer struct {
}

UnimplementedPersonalAccessTokenServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPersonalAccessTokenServiceServer) CreatePersonalAccessToken

func (UnimplementedPersonalAccessTokenServiceServer) DeletePersonalAccessToken

type UnsafeArchiveServiceServer

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

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

type UnsafePersonalAccessTokenServiceServer

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

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

type UploadArchiveFileRequest

type UploadArchiveFileRequest struct {

	// Types that are assignable to Value:
	//	*UploadArchiveFileRequest_Head
	//	*UploadArchiveFileRequest_Chunk
	Value isUploadArchiveFileRequest_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*UploadArchiveFileRequest) Descriptor deprecated

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

Deprecated: Use UploadArchiveFileRequest.ProtoReflect.Descriptor instead.

func (*UploadArchiveFileRequest) GetChunk

func (x *UploadArchiveFileRequest) GetChunk() *BytesChunk

func (*UploadArchiveFileRequest) GetHead

func (x *UploadArchiveFileRequest) GetHead() *ArchiveFile

func (*UploadArchiveFileRequest) GetValue

func (m *UploadArchiveFileRequest) GetValue() isUploadArchiveFileRequest_Value

func (*UploadArchiveFileRequest) ProtoMessage

func (*UploadArchiveFileRequest) ProtoMessage()

func (*UploadArchiveFileRequest) ProtoReflect

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

func (*UploadArchiveFileRequest) Reset

func (x *UploadArchiveFileRequest) Reset()

func (*UploadArchiveFileRequest) String

func (x *UploadArchiveFileRequest) String() string

type UploadArchiveFileRequest_Chunk

type UploadArchiveFileRequest_Chunk struct {
	Chunk *BytesChunk `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"`
}

type UploadArchiveFileRequest_Head

type UploadArchiveFileRequest_Head struct {
	Head *ArchiveFile `protobuf:"bytes,1,opt,name=head,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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