source_j5pb

package
v0.0.0-...-fac97f7 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2025 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_j5_source_v1_image_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CommitInfo

type CommitInfo struct {
	Owner   string                 `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Repo    string                 `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	Hash    string                 `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	Time    *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	Aliases []string               `protobuf:"bytes,5,rep,name=aliases,proto3" json:"aliases,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitInfo) Clone

func (msg *CommitInfo) Clone() any

func (*CommitInfo) Descriptor deprecated

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

Deprecated: Use CommitInfo.ProtoReflect.Descriptor instead.

func (*CommitInfo) GetAliases

func (x *CommitInfo) GetAliases() []string

func (*CommitInfo) GetHash

func (x *CommitInfo) GetHash() string

func (*CommitInfo) GetOwner

func (x *CommitInfo) GetOwner() string

func (*CommitInfo) GetRepo

func (x *CommitInfo) GetRepo() string

func (*CommitInfo) GetTime

func (x *CommitInfo) GetTime() *timestamppb.Timestamp

func (*CommitInfo) ProtoMessage

func (*CommitInfo) ProtoMessage()

func (*CommitInfo) ProtoReflect

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

func (*CommitInfo) Reset

func (x *CommitInfo) Reset()

func (*CommitInfo) String

func (x *CommitInfo) String() string

type Include

type Include struct {
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// specific version (e.g. git hash) to lock to.
	Version *string `protobuf:"bytes,3,opt,name=version,proto3,oneof" json:"version,omitempty"`
	// branch name of the input when a version is not set.
	// default is 'main'.
	Reference *string `protobuf:"bytes,4,opt,name=reference,proto3,oneof" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

func (*Include) Clone

func (msg *Include) Clone() any

func (*Include) Descriptor deprecated

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

Deprecated: Use Include.ProtoReflect.Descriptor instead.

func (*Include) GetName

func (x *Include) GetName() string

func (*Include) GetOwner

func (x *Include) GetOwner() string

func (*Include) GetReference

func (x *Include) GetReference() string

func (*Include) GetVersion

func (x *Include) GetVersion() string

func (*Include) ProtoMessage

func (*Include) ProtoMessage()

func (*Include) ProtoReflect

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

func (*Include) Reset

func (x *Include) Reset()

func (*Include) String

func (x *Include) String() string

type Package

type Package struct {
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Prose string `protobuf:"bytes,3,opt,name=prose,proto3" json:"prose,omitempty"`
	// contains filtered or unexported fields
}

func (*Package) Clone

func (msg *Package) Clone() any

func (*Package) Descriptor deprecated

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

Deprecated: Use Package.ProtoReflect.Descriptor instead.

func (*Package) GetLabel

func (x *Package) GetLabel() string

func (*Package) GetName

func (x *Package) GetName() string

func (*Package) GetProse

func (x *Package) GetProse() string

func (*Package) ProtoMessage

func (*Package) ProtoMessage()

func (*Package) ProtoReflect

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

func (*Package) Reset

func (x *Package) Reset()

func (*Package) String

func (x *Package) String() string

type ProseFile

type ProseFile struct {
	Path    string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*ProseFile) Clone

func (msg *ProseFile) Clone() any

func (*ProseFile) Descriptor deprecated

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

Deprecated: Use ProseFile.ProtoReflect.Descriptor instead.

func (*ProseFile) GetContent

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

func (*ProseFile) GetPath

func (x *ProseFile) GetPath() string

func (*ProseFile) ProtoMessage

func (*ProseFile) ProtoMessage()

func (*ProseFile) ProtoReflect

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

func (*ProseFile) Reset

func (x *ProseFile) Reset()

func (*ProseFile) String

func (x *ProseFile) String() string

type SourceImage

type SourceImage struct {
	File            []*descriptorpb.FileDescriptorProto `protobuf:"bytes,1,rep,name=file,proto3" json:"file,omitempty"`
	Packages        []*Package                          `protobuf:"bytes,2,rep,name=packages,proto3" json:"packages,omitempty"`
	Prose           []*ProseFile                        `protobuf:"bytes,3,rep,name=prose,proto3" json:"prose,omitempty"`
	SourceFilenames []string                            `protobuf:"bytes,6,rep,name=source_filenames,json=sourceFilenames,proto3" json:"source_filenames,omitempty"`
	SourceName      string                              `protobuf:"bytes,8,opt,name=source_name,json=sourceName,proto3" json:"source_name,omitempty"`
	Version         *string                             `protobuf:"bytes,7,opt,name=version,proto3,oneof" json:"version,omitempty"`
	Includes        []*Include                          `protobuf:"bytes,4,rep,name=includes,proto3" json:"includes,omitempty"`
	// contains filtered or unexported fields
}

Image is a parsed source image, similar to google.protobuf.Descriptor but with the J5 config, and some non-proto files

func (*SourceImage) Clone

func (msg *SourceImage) Clone() any

func (*SourceImage) Descriptor deprecated

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

Deprecated: Use SourceImage.ProtoReflect.Descriptor instead.

func (*SourceImage) GetFile

func (*SourceImage) GetIncludes

func (x *SourceImage) GetIncludes() []*Include

func (*SourceImage) GetPackages

func (x *SourceImage) GetPackages() []*Package

func (*SourceImage) GetProse

func (x *SourceImage) GetProse() []*ProseFile

func (*SourceImage) GetSourceFilenames

func (x *SourceImage) GetSourceFilenames() []string

func (*SourceImage) GetSourceName

func (x *SourceImage) GetSourceName() string

func (*SourceImage) GetVersion

func (x *SourceImage) GetVersion() string

func (*SourceImage) ProtoMessage

func (*SourceImage) ProtoMessage()

func (*SourceImage) ProtoReflect

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

func (*SourceImage) Reset

func (x *SourceImage) Reset()

func (*SourceImage) String

func (x *SourceImage) String() string

Jump to

Keyboard shortcuts

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