proto

package
v0.0.0-...-b60f976 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_kdiff_proto_diff_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AddBytes

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

func (*AddBytes) Descriptor deprecated

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

Deprecated: Use AddBytes.ProtoReflect.Descriptor instead.

func (*AddBytes) GetData

func (x *AddBytes) GetData() []byte

func (*AddBytes) ProtoMessage

func (*AddBytes) ProtoMessage()

func (*AddBytes) ProtoReflect

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

func (*AddBytes) Reset

func (x *AddBytes) Reset()

func (*AddBytes) String

func (x *AddBytes) String() string

type Diff

type Diff struct {
	Size       int32        `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	Hash       []byte       `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Operations []*Operation `protobuf:"bytes,3,rep,name=operations,proto3" json:"operations,omitempty"`
	// contains filtered or unexported fields
}

func (*Diff) Descriptor deprecated

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

Deprecated: Use Diff.ProtoReflect.Descriptor instead.

func (*Diff) GetHash

func (x *Diff) GetHash() []byte

func (*Diff) GetOperations

func (x *Diff) GetOperations() []*Operation

func (*Diff) GetSize

func (x *Diff) GetSize() int32

func (*Diff) ProtoMessage

func (*Diff) ProtoMessage()

func (*Diff) ProtoReflect

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

func (*Diff) Reset

func (x *Diff) Reset()

func (*Diff) String

func (x *Diff) String() string

type Operation

type Operation struct {

	// Types that are assignable to Impl:
	//	*Operation_AddBytes
	//	*Operation_Reference
	Impl isOperation_Impl `protobuf_oneof:"impl"`
	// contains filtered or unexported fields
}

func (*Operation) Descriptor deprecated

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

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetAddBytes

func (x *Operation) GetAddBytes() *AddBytes

func (*Operation) GetImpl

func (m *Operation) GetImpl() isOperation_Impl

func (*Operation) GetReference

func (x *Operation) GetReference() *ReferenceBytes

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect

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

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) String

func (x *Operation) String() string

type Operation_AddBytes

type Operation_AddBytes struct {
	AddBytes *AddBytes `protobuf:"bytes,1,opt,name=addBytes,proto3,oneof"`
}

type Operation_Reference

type Operation_Reference struct {
	Reference *ReferenceBytes `protobuf:"bytes,2,opt,name=reference,proto3,oneof"`
}

type ReferenceBytes

type ReferenceBytes struct {
	Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	End   int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*ReferenceBytes) Descriptor deprecated

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

Deprecated: Use ReferenceBytes.ProtoReflect.Descriptor instead.

func (*ReferenceBytes) GetEnd

func (x *ReferenceBytes) GetEnd() int32

func (*ReferenceBytes) GetStart

func (x *ReferenceBytes) GetStart() int32

func (*ReferenceBytes) ProtoMessage

func (*ReferenceBytes) ProtoMessage()

func (*ReferenceBytes) ProtoReflect

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

func (*ReferenceBytes) Reset

func (x *ReferenceBytes) Reset()

func (*ReferenceBytes) String

func (x *ReferenceBytes) String() string

Jump to

Keyboard shortcuts

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