repo_go_proto

package
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0, NCSA Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BuildSystem_name = map[int32]string{
		0: "UNKNOWN",
		1: "MAVEN",
		2: "GRADLE",
		3: "BAZEL",
	}
	BuildSystem_value = map[string]int32{
		"UNKNOWN": 0,
		"MAVEN":   1,
		"GRADLE":  2,
		"BAZEL":   3,
	}
)

Enum value maps for BuildSystem.

View Source
var (
	JavaOptions_Version_name = map[int32]string{
		0: "UNKNOWN",
		1: "JAVA_1_8",
	}
	JavaOptions_Version_value = map[string]int32{
		"UNKNOWN":  0,
		"JAVA_1_8": 1,
	}
)

Enum value maps for JavaOptions_Version.

View Source
var File_kythe_proto_repo_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BuildSystem

type BuildSystem int32
const (
	BuildSystem_UNKNOWN BuildSystem = 0
	BuildSystem_MAVEN   BuildSystem = 1
	BuildSystem_GRADLE  BuildSystem = 2
	BuildSystem_BAZEL   BuildSystem = 3
)

func (BuildSystem) Descriptor added in v0.0.49

func (BuildSystem) Enum added in v0.0.49

func (x BuildSystem) Enum() *BuildSystem

func (BuildSystem) EnumDescriptor deprecated

func (BuildSystem) EnumDescriptor() ([]byte, []int)

Deprecated: Use BuildSystem.Descriptor instead.

func (BuildSystem) Number added in v0.0.49

func (x BuildSystem) Number() protoreflect.EnumNumber

func (BuildSystem) String

func (x BuildSystem) String() string

func (BuildSystem) Type added in v0.0.49

type Config

type Config struct {
	Extractions []*ExtractionHint `protobuf:"bytes,1,rep,name=extractions,proto3" json:"extractions,omitempty"`
	Repo        string            `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetExtractions

func (x *Config) GetExtractions() []*ExtractionHint

func (*Config) GetRepo added in v0.0.31

func (x *Config) GetRepo() string

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect added in v0.0.49

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type ExtractionHint

type ExtractionHint struct {
	BuildSystem BuildSystem         `` /* 129-byte string literal not displayed */
	Corpus      string              `protobuf:"bytes,2,opt,name=corpus,proto3" json:"corpus,omitempty"`
	JavaOptions *JavaOptions        `protobuf:"bytes,3,opt,name=java_options,json=javaOptions,proto3" json:"java_options,omitempty"`
	Targets     []*ExtractionTarget `protobuf:"bytes,4,rep,name=targets,proto3" json:"targets,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtractionHint) Descriptor deprecated

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

Deprecated: Use ExtractionHint.ProtoReflect.Descriptor instead.

func (*ExtractionHint) GetBuildSystem

func (x *ExtractionHint) GetBuildSystem() BuildSystem

func (*ExtractionHint) GetCorpus added in v0.0.31

func (x *ExtractionHint) GetCorpus() string

func (*ExtractionHint) GetJavaOptions

func (x *ExtractionHint) GetJavaOptions() *JavaOptions

func (*ExtractionHint) GetTargets added in v0.0.31

func (x *ExtractionHint) GetTargets() []*ExtractionTarget

func (*ExtractionHint) ProtoMessage

func (*ExtractionHint) ProtoMessage()

func (*ExtractionHint) ProtoReflect added in v0.0.49

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

func (*ExtractionHint) Reset

func (x *ExtractionHint) Reset()

func (*ExtractionHint) String

func (x *ExtractionHint) String() string

type ExtractionTarget added in v0.0.31

type ExtractionTarget struct {
	Path              string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	IndividualTargets []string `protobuf:"bytes,2,rep,name=individual_targets,json=individualTargets,proto3" json:"individual_targets,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtractionTarget) Descriptor deprecated added in v0.0.31

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

Deprecated: Use ExtractionTarget.ProtoReflect.Descriptor instead.

func (*ExtractionTarget) GetIndividualTargets added in v0.0.31

func (x *ExtractionTarget) GetIndividualTargets() []string

func (*ExtractionTarget) GetPath added in v0.0.31

func (x *ExtractionTarget) GetPath() string

func (*ExtractionTarget) ProtoMessage added in v0.0.31

func (*ExtractionTarget) ProtoMessage()

func (*ExtractionTarget) ProtoReflect added in v0.0.49

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

func (*ExtractionTarget) Reset added in v0.0.31

func (x *ExtractionTarget) Reset()

func (*ExtractionTarget) String added in v0.0.31

func (x *ExtractionTarget) String() string

type JavaOptions

type JavaOptions struct {
	Version JavaOptions_Version `protobuf:"varint,1,opt,name=version,proto3,enum=kythe.proto.repo.JavaOptions_Version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*JavaOptions) Descriptor deprecated

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

Deprecated: Use JavaOptions.ProtoReflect.Descriptor instead.

func (*JavaOptions) GetVersion

func (x *JavaOptions) GetVersion() JavaOptions_Version

func (*JavaOptions) ProtoMessage

func (*JavaOptions) ProtoMessage()

func (*JavaOptions) ProtoReflect added in v0.0.49

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

func (*JavaOptions) Reset

func (x *JavaOptions) Reset()

func (*JavaOptions) String

func (x *JavaOptions) String() string

type JavaOptions_Version

type JavaOptions_Version int32
const (
	JavaOptions_UNKNOWN  JavaOptions_Version = 0
	JavaOptions_JAVA_1_8 JavaOptions_Version = 1
)

func (JavaOptions_Version) Descriptor added in v0.0.49

func (JavaOptions_Version) Enum added in v0.0.49

func (JavaOptions_Version) EnumDescriptor deprecated

func (JavaOptions_Version) EnumDescriptor() ([]byte, []int)

Deprecated: Use JavaOptions_Version.Descriptor instead.

func (JavaOptions_Version) Number added in v0.0.49

func (JavaOptions_Version) String

func (x JavaOptions_Version) String() string

func (JavaOptions_Version) Type added in v0.0.49

Jump to

Keyboard shortcuts

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