Documentation ¶
Overview ¶
Package extra_actions_base_proto is a generated protocol buffer package.
It is generated from these files:
third_party/bazel/src/main/protobuf/extra_actions_base.proto
It has these top-level messages:
ExtraActionSummary DetailedExtraActionInfo ExtraActionInfo EnvironmentVariable SpawnInfo CppCompileInfo CppLinkInfo JavaCompileInfo PythonInfo
Index ¶
- Variables
- type CppCompileInfo
- func (m *CppCompileInfo) GetCompilerOption() []string
- func (m *CppCompileInfo) GetOutputFile() string
- func (m *CppCompileInfo) GetSourceFile() string
- func (m *CppCompileInfo) GetSourcesAndHeaders() []string
- func (m *CppCompileInfo) GetTool() string
- func (*CppCompileInfo) ProtoMessage()
- func (m *CppCompileInfo) Reset()
- func (m *CppCompileInfo) String() string
- type CppLinkInfo
- func (m *CppLinkInfo) GetBuildInfoHeaderArtifact() []string
- func (m *CppLinkInfo) GetInputFile() []string
- func (m *CppLinkInfo) GetInterfaceOutputFile() string
- func (m *CppLinkInfo) GetLinkOpt() []string
- func (m *CppLinkInfo) GetLinkStamp() []string
- func (m *CppLinkInfo) GetLinkStaticness() string
- func (m *CppLinkInfo) GetLinkTargetType() string
- func (m *CppLinkInfo) GetOutputFile() string
- func (*CppLinkInfo) ProtoMessage()
- func (m *CppLinkInfo) Reset()
- func (m *CppLinkInfo) String() string
- type DetailedExtraActionInfo
- type EnvironmentVariable
- type ExtraActionInfo
- func (m *ExtraActionInfo) ExtensionMap() map[int32]proto.Extension
- func (*ExtraActionInfo) ExtensionRangeArray() []proto.ExtensionRange
- func (m *ExtraActionInfo) GetId() string
- func (m *ExtraActionInfo) GetMnemonic() string
- func (m *ExtraActionInfo) GetOwner() string
- func (*ExtraActionInfo) ProtoMessage()
- func (m *ExtraActionInfo) Reset()
- func (m *ExtraActionInfo) String() string
- type ExtraActionSummary
- type JavaCompileInfo
- func (m *JavaCompileInfo) GetClasspath() []string
- func (m *JavaCompileInfo) GetJavacOpt() []string
- func (m *JavaCompileInfo) GetOutputjar() string
- func (m *JavaCompileInfo) GetProcessor() []string
- func (m *JavaCompileInfo) GetProcessorpath() []string
- func (m *JavaCompileInfo) GetSourceFile() []string
- func (m *JavaCompileInfo) GetSourcepath() []string
- func (*JavaCompileInfo) ProtoMessage()
- func (m *JavaCompileInfo) Reset()
- func (m *JavaCompileInfo) String() string
- type PythonInfo
- type SpawnInfo
Constants ¶
This section is empty.
Variables ¶
var E_CppCompileInfo_CppCompileInfo = &proto.ExtensionDesc{ ExtendedType: (*ExtraActionInfo)(nil), ExtensionType: (*CppCompileInfo)(nil), Field: 1001, Name: "blaze.CppCompileInfo.cpp_compile_info", Tag: "bytes,1001,opt,name=cpp_compile_info", }
var E_CppLinkInfo_CppLinkInfo = &proto.ExtensionDesc{ ExtendedType: (*ExtraActionInfo)(nil), ExtensionType: (*CppLinkInfo)(nil), Field: 1002, Name: "blaze.CppLinkInfo.cpp_link_info", Tag: "bytes,1002,opt,name=cpp_link_info", }
var E_JavaCompileInfo_JavaCompileInfo = &proto.ExtensionDesc{ ExtendedType: (*ExtraActionInfo)(nil), ExtensionType: (*JavaCompileInfo)(nil), Field: 1000, Name: "blaze.JavaCompileInfo.java_compile_info", Tag: "bytes,1000,opt,name=java_compile_info", }
var E_PythonInfo_PythonInfo = &proto.ExtensionDesc{ ExtendedType: (*ExtraActionInfo)(nil), ExtensionType: (*PythonInfo)(nil), Field: 1005, Name: "blaze.PythonInfo.python_info", Tag: "bytes,1005,opt,name=python_info", }
var E_SpawnInfo_SpawnInfo = &proto.ExtensionDesc{ ExtendedType: (*ExtraActionInfo)(nil), ExtensionType: (*SpawnInfo)(nil), Field: 1003, Name: "blaze.SpawnInfo.spawn_info", Tag: "bytes,1003,opt,name=spawn_info", }
Functions ¶
This section is empty.
Types ¶
type CppCompileInfo ¶
type CppCompileInfo struct { Tool *string `protobuf:"bytes,1,opt,name=tool" json:"tool,omitempty"` CompilerOption []string `protobuf:"bytes,2,rep,name=compiler_option" json:"compiler_option,omitempty"` SourceFile *string `protobuf:"bytes,3,opt,name=source_file" json:"source_file,omitempty"` OutputFile *string `protobuf:"bytes,4,opt,name=output_file" json:"output_file,omitempty"` // Due to header discovery, this won't include headers unless the build is // actually performed. If set, this field will include the value of // "source_file" in addition to the headers. SourcesAndHeaders []string `protobuf:"bytes,5,rep,name=sources_and_headers" json:"sources_and_headers,omitempty"` XXX_unrecognized []byte `json:"-"` }
Provides access to data that is specific to C++ compile actions. Usually provided by actions using the "CppCompile" Mnemonic.
func (*CppCompileInfo) GetCompilerOption ¶
func (m *CppCompileInfo) GetCompilerOption() []string
func (*CppCompileInfo) GetOutputFile ¶
func (m *CppCompileInfo) GetOutputFile() string
func (*CppCompileInfo) GetSourceFile ¶
func (m *CppCompileInfo) GetSourceFile() string
func (*CppCompileInfo) GetSourcesAndHeaders ¶
func (m *CppCompileInfo) GetSourcesAndHeaders() []string
func (*CppCompileInfo) GetTool ¶
func (m *CppCompileInfo) GetTool() string
func (*CppCompileInfo) ProtoMessage ¶
func (*CppCompileInfo) ProtoMessage()
func (*CppCompileInfo) Reset ¶
func (m *CppCompileInfo) Reset()
func (*CppCompileInfo) String ¶
func (m *CppCompileInfo) String() string
type CppLinkInfo ¶
type CppLinkInfo struct { InputFile []string `protobuf:"bytes,1,rep,name=input_file" json:"input_file,omitempty"` OutputFile *string `protobuf:"bytes,2,opt,name=output_file" json:"output_file,omitempty"` InterfaceOutputFile *string `protobuf:"bytes,3,opt,name=interface_output_file" json:"interface_output_file,omitempty"` LinkTargetType *string `protobuf:"bytes,4,opt,name=link_target_type" json:"link_target_type,omitempty"` LinkStaticness *string `protobuf:"bytes,5,opt,name=link_staticness" json:"link_staticness,omitempty"` LinkStamp []string `protobuf:"bytes,6,rep,name=link_stamp" json:"link_stamp,omitempty"` BuildInfoHeaderArtifact []string `protobuf:"bytes,7,rep,name=build_info_header_artifact" json:"build_info_header_artifact,omitempty"` LinkOpt []string `protobuf:"bytes,8,rep,name=link_opt" json:"link_opt,omitempty"` XXX_unrecognized []byte `json:"-"` }
Provides access to data that is specific to C++ link actions. Usually provided by actions using the "CppLink" Mnemonic.
func (*CppLinkInfo) GetBuildInfoHeaderArtifact ¶
func (m *CppLinkInfo) GetBuildInfoHeaderArtifact() []string
func (*CppLinkInfo) GetInputFile ¶
func (m *CppLinkInfo) GetInputFile() []string
func (*CppLinkInfo) GetInterfaceOutputFile ¶
func (m *CppLinkInfo) GetInterfaceOutputFile() string
func (*CppLinkInfo) GetLinkOpt ¶
func (m *CppLinkInfo) GetLinkOpt() []string
func (*CppLinkInfo) GetLinkStamp ¶
func (m *CppLinkInfo) GetLinkStamp() []string
func (*CppLinkInfo) GetLinkStaticness ¶
func (m *CppLinkInfo) GetLinkStaticness() string
func (*CppLinkInfo) GetLinkTargetType ¶
func (m *CppLinkInfo) GetLinkTargetType() string
func (*CppLinkInfo) GetOutputFile ¶
func (m *CppLinkInfo) GetOutputFile() string
func (*CppLinkInfo) ProtoMessage ¶
func (*CppLinkInfo) ProtoMessage()
func (*CppLinkInfo) Reset ¶
func (m *CppLinkInfo) Reset()
func (*CppLinkInfo) String ¶
func (m *CppLinkInfo) String() string
type DetailedExtraActionInfo ¶
type DetailedExtraActionInfo struct { // If the given action was included in the output due to a request for a // specific file, then this field contains the name of that file so that the // caller can correctly associate the extra action with that file. // // The data in this message is currently not sufficient to run the action on a // production machine, because not all necessary input files are identified, // especially for C++. // // There is no easy way to fix this; we could require that all header files // are declared and then add all of them here (which would be a huge superset // of the files that are actually required), or we could run the include // scanner and add those files here. TriggeringFile *string `protobuf:"bytes,1,opt,name=triggering_file" json:"triggering_file,omitempty"` // The actual action. Action *ExtraActionInfo `protobuf:"bytes,2,req,name=action" json:"action,omitempty"` XXX_unrecognized []byte `json:"-"` }
An individual action printed by the print_action command.
func (*DetailedExtraActionInfo) GetAction ¶
func (m *DetailedExtraActionInfo) GetAction() *ExtraActionInfo
func (*DetailedExtraActionInfo) GetTriggeringFile ¶
func (m *DetailedExtraActionInfo) GetTriggeringFile() string
func (*DetailedExtraActionInfo) ProtoMessage ¶
func (*DetailedExtraActionInfo) ProtoMessage()
func (*DetailedExtraActionInfo) Reset ¶
func (m *DetailedExtraActionInfo) Reset()
func (*DetailedExtraActionInfo) String ¶
func (m *DetailedExtraActionInfo) String() string
type EnvironmentVariable ¶
type EnvironmentVariable struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EnvironmentVariable) GetName ¶
func (m *EnvironmentVariable) GetName() string
func (*EnvironmentVariable) GetValue ¶
func (m *EnvironmentVariable) GetValue() string
func (*EnvironmentVariable) ProtoMessage ¶
func (*EnvironmentVariable) ProtoMessage()
func (*EnvironmentVariable) Reset ¶
func (m *EnvironmentVariable) Reset()
func (*EnvironmentVariable) String ¶
func (m *EnvironmentVariable) String() string
type ExtraActionInfo ¶
type ExtraActionInfo struct { // The label of the ActionOwner of the shadowed action. Owner *string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"` // An id uniquely describing the shadowed action at the ActionOwner level. Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` // The mnemonic of the shadowed action. Used to distinguish actions with the // same ActionType. Mnemonic *string `protobuf:"bytes,5,opt,name=mnemonic" json:"mnemonic,omitempty"` XXX_extensions map[int32]proto.Extension `json:"-"` XXX_unrecognized []byte `json:"-"` }
Provides information to an extra_action on the original action it is shadowing.
func (*ExtraActionInfo) ExtensionMap ¶
func (m *ExtraActionInfo) ExtensionMap() map[int32]proto.Extension
func (*ExtraActionInfo) ExtensionRangeArray ¶
func (*ExtraActionInfo) ExtensionRangeArray() []proto.ExtensionRange
func (*ExtraActionInfo) GetId ¶
func (m *ExtraActionInfo) GetId() string
func (*ExtraActionInfo) GetMnemonic ¶
func (m *ExtraActionInfo) GetMnemonic() string
func (*ExtraActionInfo) GetOwner ¶
func (m *ExtraActionInfo) GetOwner() string
func (*ExtraActionInfo) ProtoMessage ¶
func (*ExtraActionInfo) ProtoMessage()
func (*ExtraActionInfo) Reset ¶
func (m *ExtraActionInfo) Reset()
func (*ExtraActionInfo) String ¶
func (m *ExtraActionInfo) String() string
type ExtraActionSummary ¶
type ExtraActionSummary struct { Action []*DetailedExtraActionInfo `protobuf:"bytes,1,rep,name=action" json:"action,omitempty"` XXX_unrecognized []byte `json:"-"` }
A list of extra actions and metadata for the print_action command.
func (*ExtraActionSummary) GetAction ¶
func (m *ExtraActionSummary) GetAction() []*DetailedExtraActionInfo
func (*ExtraActionSummary) ProtoMessage ¶
func (*ExtraActionSummary) ProtoMessage()
func (*ExtraActionSummary) Reset ¶
func (m *ExtraActionSummary) Reset()
func (*ExtraActionSummary) String ¶
func (m *ExtraActionSummary) String() string
type JavaCompileInfo ¶
type JavaCompileInfo struct { Outputjar *string `protobuf:"bytes,1,opt,name=outputjar" json:"outputjar,omitempty"` Classpath []string `protobuf:"bytes,2,rep,name=classpath" json:"classpath,omitempty"` Sourcepath []string `protobuf:"bytes,3,rep,name=sourcepath" json:"sourcepath,omitempty"` SourceFile []string `protobuf:"bytes,4,rep,name=source_file" json:"source_file,omitempty"` JavacOpt []string `protobuf:"bytes,5,rep,name=javac_opt" json:"javac_opt,omitempty"` Processor []string `protobuf:"bytes,6,rep,name=processor" json:"processor,omitempty"` Processorpath []string `protobuf:"bytes,7,rep,name=processorpath" json:"processorpath,omitempty"` XXX_unrecognized []byte `json:"-"` }
Provides access to data that is specific to java compile actions. Usually provided by actions using the "Javac" Mnemonic.
func (*JavaCompileInfo) GetClasspath ¶
func (m *JavaCompileInfo) GetClasspath() []string
func (*JavaCompileInfo) GetJavacOpt ¶
func (m *JavaCompileInfo) GetJavacOpt() []string
func (*JavaCompileInfo) GetOutputjar ¶
func (m *JavaCompileInfo) GetOutputjar() string
func (*JavaCompileInfo) GetProcessor ¶
func (m *JavaCompileInfo) GetProcessor() []string
func (*JavaCompileInfo) GetProcessorpath ¶
func (m *JavaCompileInfo) GetProcessorpath() []string
func (*JavaCompileInfo) GetSourceFile ¶
func (m *JavaCompileInfo) GetSourceFile() []string
func (*JavaCompileInfo) GetSourcepath ¶
func (m *JavaCompileInfo) GetSourcepath() []string
func (*JavaCompileInfo) ProtoMessage ¶
func (*JavaCompileInfo) ProtoMessage()
func (*JavaCompileInfo) Reset ¶
func (m *JavaCompileInfo) Reset()
func (*JavaCompileInfo) String ¶
func (m *JavaCompileInfo) String() string
type PythonInfo ¶
type PythonInfo struct { SourceFile []string `protobuf:"bytes,1,rep,name=source_file" json:"source_file,omitempty"` DepFile []string `protobuf:"bytes,2,rep,name=dep_file" json:"dep_file,omitempty"` XXX_unrecognized []byte `json:"-"` }
Provides access to data that is specific to python rules. Usually provided by actions using the "Python" Mnemonic.
func (*PythonInfo) GetDepFile ¶
func (m *PythonInfo) GetDepFile() []string
func (*PythonInfo) GetSourceFile ¶
func (m *PythonInfo) GetSourceFile() []string
func (*PythonInfo) ProtoMessage ¶
func (*PythonInfo) ProtoMessage()
func (*PythonInfo) Reset ¶
func (m *PythonInfo) Reset()
func (*PythonInfo) String ¶
func (m *PythonInfo) String() string
type SpawnInfo ¶
type SpawnInfo struct { Argument []string `protobuf:"bytes,1,rep,name=argument" json:"argument,omitempty"` Variable []*EnvironmentVariable `protobuf:"bytes,2,rep,name=variable" json:"variable,omitempty"` InputFile []string `protobuf:"bytes,4,rep,name=input_file" json:"input_file,omitempty"` OutputFile []string `protobuf:"bytes,5,rep,name=output_file" json:"output_file,omitempty"` XXX_unrecognized []byte `json:"-"` }
provides access to data that is specific to spawn actions. Usually provided by actions using the "Spawn" & "Genrule" Mnemonics.
func (*SpawnInfo) GetArgument ¶
func (*SpawnInfo) GetInputFile ¶
func (*SpawnInfo) GetOutputFile ¶
func (*SpawnInfo) GetVariable ¶
func (m *SpawnInfo) GetVariable() []*EnvironmentVariable
func (*SpawnInfo) ProtoMessage ¶
func (*SpawnInfo) ProtoMessage()