source_j5pb

package
v0.0.0-...-fb79b61 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 8 Imported by: 5

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) 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 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) 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        []*config_j5pb.PackageConfig        `protobuf:"bytes,2,rep,name=packages,proto3" json:"packages,omitempty"`
	Prose           []*ProseFile                        `protobuf:"bytes,3,rep,name=prose,proto3" json:"prose,omitempty"`
	Codec           *config_j5pb.CodecOptions           `protobuf:"bytes,4,opt,name=codec,proto3" json:"codec,omitempty"`
	Registry        *config_j5pb.RegistryConfig         `protobuf:"bytes,5,opt,name=registry,proto3" json:"registry,omitempty"`
	SourceFilenames []string                            `protobuf:"bytes,6,rep,name=source_filenames,json=sourceFilenames,proto3" json:"source_filenames,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) Descriptor deprecated

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

Deprecated: Use SourceImage.ProtoReflect.Descriptor instead.

func (*SourceImage) GetCodec

func (x *SourceImage) GetCodec() *config_j5pb.CodecOptions

func (*SourceImage) GetFile

func (*SourceImage) GetPackages

func (x *SourceImage) GetPackages() []*config_j5pb.PackageConfig

func (*SourceImage) GetProse

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

func (*SourceImage) GetRegistry

func (x *SourceImage) GetRegistry() *config_j5pb.RegistryConfig

func (*SourceImage) GetSourceFilenames

func (x *SourceImage) GetSourceFilenames() []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