api

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_ExecResp_Error                                       = ExecResp_OK
	Default_ExecResp_BadRequestReasonCode                        = ExecResp_UNKNOWN
	Default_ExecResp_ForceStoreOutputFileForUnmatchedHash        = bool(false)
	Default_ExecResp_ForceStoreOutputFileForUnmatchedVersion     = bool(false)
	Default_ExecResp_ForceStoreOutputFileForUnmatchedSubprograms = bool(false)
)

Default values for ExecResp fields.

View Source
const (
	Default_ExecLog_AuthType           = ExecLog_NONE
	Default_ExecLog_NetworkFailureType = ExecLog_NO_NETWORK_ERROR
)

Default values for ExecLog fields.

View Source
const (
	Default_ExecReq_CachePolicy = ExecReq_LOOKUP_AND_STORE
)

Default values for ExecReq fields.

View Source
const (
	Default_ExecResult_ExitStatus = int32(-1)
)

Default values for ExecResult fields.

View Source
const (
	Default_ExecResult_Output_IsExecutable = bool(false)
)

Default values for ExecResult_Output fields.

View Source
const (
	Default_RequesterInfo_ApiVersion = int32(2)
)

Default values for RequesterInfo fields.

Variables

View Source
var (
	FileBlob_BlobType_name = map[int32]string{
		0: "FILE_UNSPECIFIED",
		1: "FILE",
		2: "FILE_META",
		3: "FILE_CHUNK",
		5: "FILE_REF",
	}
	FileBlob_BlobType_value = map[string]int32{
		"FILE_UNSPECIFIED": 0,
		"FILE":             1,
		"FILE_META":        2,
		"FILE_CHUNK":       3,
		"FILE_REF":         5,
	}
)

Enum value maps for FileBlob_BlobType.

View Source
var (
	RequesterInfo_GomaApiVersion_name = map[int32]string{
		2: "CURRENT_VERSION",
	}
	RequesterInfo_GomaApiVersion_value = map[string]int32{
		"CURRENT_VERSION": 2,
	}
)

Enum value maps for RequesterInfo_GomaApiVersion.

View Source
var (
	RequesterInfo_PathStyle_name = map[int32]string{
		0: "UNKNOWN_STYLE",
		1: "POSIX_STYLE",
		2: "WINDOWS_STYLE",
	}
	RequesterInfo_PathStyle_value = map[string]int32{
		"UNKNOWN_STYLE": 0,
		"POSIX_STYLE":   1,
		"WINDOWS_STYLE": 2,
	}
)

Enum value maps for RequesterInfo_PathStyle.

View Source
var (
	ExecReq_CachePolicy_name = map[int32]string{
		1: "LOOKUP_AND_STORE",
		2: "LOOKUP_ONLY",
		3: "STORE_ONLY",
		4: "LOOKUP_AND_STORE_SUCCESS",
	}
	ExecReq_CachePolicy_value = map[string]int32{
		"LOOKUP_AND_STORE":         1,
		"LOOKUP_ONLY":              2,
		"STORE_ONLY":               3,
		"LOOKUP_AND_STORE_SUCCESS": 4,
	}
)

Enum value maps for ExecReq_CachePolicy.

View Source
var (
	ExecResp_ExecError_name = map[int32]string{
		0:  "OK",
		-1: "BAD_REQUEST",
	}
	ExecResp_ExecError_value = map[string]int32{
		"OK":          0,
		"BAD_REQUEST": -1,
	}
)

Enum value maps for ExecResp_ExecError.

View Source
var (
	ExecResp_BadRequestReasonCode_name = map[int32]string{
		0: "UNKNOWN",
		1: "UNSUPPORTED_COMPILER_FLAGS",
	}
	ExecResp_BadRequestReasonCode_value = map[string]int32{
		"UNKNOWN":                    0,
		"UNSUPPORTED_COMPILER_FLAGS": 1,
	}
)

Enum value maps for ExecResp_BadRequestReasonCode.

View Source
var (
	ExecResp_CacheSource_name = map[int32]string{
		0: "NO_CACHE",
		1: "MEM_CACHE",
		2: "STORAGE_CACHE",
		3: "LOCAL_OUTPUT_CACHE",
	}
	ExecResp_CacheSource_value = map[string]int32{
		"NO_CACHE":           0,
		"MEM_CACHE":          1,
		"STORAGE_CACHE":      2,
		"LOCAL_OUTPUT_CACHE": 3,
	}
)

Enum value maps for ExecResp_CacheSource.

View Source
var (
	ExecLog_AuthenticationType_name = map[int32]string{
		0: "NONE",
		1: "UNKNOWN",
		4: "OAUTH2_UNSPEC",
		5: "OAUTH2_APPLICATION",
		6: "OAUTH2_SERVICE_ACCOUNT",
		7: "OAUTH2_GCE_SERVICE_ACCOUNT",
		8: "OAUTH2_LUCI_LOCAL_AUTH",
	}
	ExecLog_AuthenticationType_value = map[string]int32{
		"NONE":                       0,
		"UNKNOWN":                    1,
		"OAUTH2_UNSPEC":              4,
		"OAUTH2_APPLICATION":         5,
		"OAUTH2_SERVICE_ACCOUNT":     6,
		"OAUTH2_GCE_SERVICE_ACCOUNT": 7,
		"OAUTH2_LUCI_LOCAL_AUTH":     8,
	}
)

Enum value maps for ExecLog_AuthenticationType.

View Source
var (
	ExecLog_NetworkFailureType_name = map[int32]string{
		0: "NO_NETWORK_ERROR",
		1: "DISABLED",
		2: "UNKNOWN_NETWORK_ERROR",
		3: "CONNECT_FAILED",
		4: "SEND_FAILED",
		5: "TIMEDOUT_AFTER_SEND",
		6: "RECEIVE_FAILED",
		7: "BAD_HTTP_STATUS_CODE",
	}
	ExecLog_NetworkFailureType_value = map[string]int32{
		"NO_NETWORK_ERROR":      0,
		"DISABLED":              1,
		"UNKNOWN_NETWORK_ERROR": 2,
		"CONNECT_FAILED":        3,
		"SEND_FAILED":           4,
		"TIMEDOUT_AFTER_SEND":   5,
		"RECEIVE_FAILED":        6,
		"BAD_HTTP_STATUS_CODE":  7,
	}
)

Enum value maps for ExecLog_NetworkFailureType.

View Source
var (
	ExecLog_CacheSource_name = map[int32]string{
		0: "UNKNOWN_CACHE",
		1: "MEM_CACHE",
		2: "STORAGE_CACHE",
		3: "LOCAL_OUTPUT_CACHE",
	}
	ExecLog_CacheSource_value = map[string]int32{
		"UNKNOWN_CACHE":      0,
		"MEM_CACHE":          1,
		"STORAGE_CACHE":      2,
		"LOCAL_OUTPUT_CACHE": 3,
	}
)

Enum value maps for ExecLog_CacheSource.

View Source
var File_api_goma_data_proto protoreflect.FileDescriptor
View Source
var File_api_goma_log_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CommandSpec

type CommandSpec struct {
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // "gcc", "g++", "cl.exe", etc, without
	// path, version number and architecture.
	Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` // "4.4.3[Ubuntu 4.4.3-4ubuntu5]"
	Target  *string `protobuf:"bytes,3,opt,name=target" json:"target,omitempty"`   // "x86_64-linux-gnu
	// Binary size of the command.
	// Necessary if toolchain is sent to the server.
	// TODO: Now that we have ToolchainSpec, this is not necessary.
	Size *int64 `protobuf:"varint,13,opt,name=size" json:"size,omitempty"`
	// The followings will be used to request more specific version of
	// command, populated by compiler_proxy.
	BinaryHash []byte `protobuf:"bytes,4,opt,name=binary_hash,json=binaryHash" json:"binary_hash,omitempty"` // to require exact the same binary.
	// A list of alternative hashes. This field will be used when
	// multiple binaries can be considered the same. For example, linux
	// android gcc will be used even if a user is using goma from
	// mac. For such cases, we should fill this field with binary hash
	// of mac gcc.
	EquivalentHash [][]byte `protobuf:"bytes,11,rep,name=equivalent_hash,json=equivalentHash" json:"equivalent_hash,omitempty"`
	DetailedInfo   *string  `protobuf:"bytes,5,opt,name=detailed_info,json=detailedInfo" json:"detailed_info,omitempty"` // output of "gcc -v"
	// Tell compiler_proxy what the path to local 'gcc' (not goma gcc)
	// is, populated by gomacc.cc and consumed by compiler_proxy
	LocalCompilerPath *string `protobuf:"bytes,6,opt,name=local_compiler_path,json=localCompilerPath" json:"local_compiler_path,omitempty"`
	// Compiler system include paths (sent from compiler_proxy).
	// Note that system include paths can be a relative path from cwd.
	// For Windows NaCl, it could also be a relative path from toolchain root.
	SystemIncludePath    []string `protobuf:"bytes,7,rep,name=system_include_path,json=systemIncludePath" json:"system_include_path,omitempty"`
	CxxSystemIncludePath []string `protobuf:"bytes,8,rep,name=cxx_system_include_path,json=cxxSystemIncludePath" json:"cxx_system_include_path,omitempty"`
	SystemFrameworkPath  []string `protobuf:"bytes,9,rep,name=system_framework_path,json=systemFrameworkPath" json:"system_framework_path,omitempty"`
	// Compiler system library paths
	SystemLibraryPath []string `protobuf:"bytes,12,rep,name=system_library_path,json=systemLibraryPath" json:"system_library_path,omitempty"`
	// An optional label of this command for logging/monitoring purpose.
	Comment *string `protobuf:"bytes,10,opt,name=comment" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

Goma backend selects compiler with CommandSpec. NEXT ID TO USE: 14

func (*CommandSpec) Descriptor deprecated

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

Deprecated: Use CommandSpec.ProtoReflect.Descriptor instead.

func (*CommandSpec) GetBinaryHash

func (x *CommandSpec) GetBinaryHash() []byte

func (*CommandSpec) GetComment

func (x *CommandSpec) GetComment() string

func (*CommandSpec) GetCxxSystemIncludePath

func (x *CommandSpec) GetCxxSystemIncludePath() []string

func (*CommandSpec) GetDetailedInfo

func (x *CommandSpec) GetDetailedInfo() string

func (*CommandSpec) GetEquivalentHash

func (x *CommandSpec) GetEquivalentHash() [][]byte

func (*CommandSpec) GetLocalCompilerPath

func (x *CommandSpec) GetLocalCompilerPath() string

func (*CommandSpec) GetName

func (x *CommandSpec) GetName() string

func (*CommandSpec) GetSize

func (x *CommandSpec) GetSize() int64

func (*CommandSpec) GetSystemFrameworkPath

func (x *CommandSpec) GetSystemFrameworkPath() []string

func (*CommandSpec) GetSystemIncludePath

func (x *CommandSpec) GetSystemIncludePath() []string

func (*CommandSpec) GetSystemLibraryPath

func (x *CommandSpec) GetSystemLibraryPath() []string

func (*CommandSpec) GetTarget

func (x *CommandSpec) GetTarget() string

func (*CommandSpec) GetVersion

func (x *CommandSpec) GetVersion() string

func (*CommandSpec) ProtoMessage

func (*CommandSpec) ProtoMessage()

func (*CommandSpec) ProtoReflect added in v0.0.12

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

func (*CommandSpec) Reset

func (x *CommandSpec) Reset()

func (*CommandSpec) String

func (x *CommandSpec) String() string

type CpuFeatures

type CpuFeatures struct {
	Mmx                     *bool `protobuf:"varint,1,opt,name=mmx" json:"mmx,omitempty"`
	Sse                     *bool `protobuf:"varint,2,opt,name=sse" json:"sse,omitempty"`
	Sse2                    *bool `protobuf:"varint,3,opt,name=sse2" json:"sse2,omitempty"`
	Sse3                    *bool `protobuf:"varint,4,opt,name=sse3" json:"sse3,omitempty"`
	Sse41                   *bool `protobuf:"varint,5,opt,name=sse41" json:"sse41,omitempty"`
	Sse42                   *bool `protobuf:"varint,6,opt,name=sse42" json:"sse42,omitempty"`
	Popcnt                  *bool `protobuf:"varint,7,opt,name=popcnt" json:"popcnt,omitempty"`
	Avx                     *bool `protobuf:"varint,8,opt,name=avx" json:"avx,omitempty"`
	Avx2                    *bool `protobuf:"varint,9,opt,name=avx2" json:"avx2,omitempty"`
	Aesni                   *bool `protobuf:"varint,10,opt,name=aesni" json:"aesni,omitempty"`
	NonStopTimeStampCounter *bool `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

NEXT ID TO USE: 12

func (*CpuFeatures) Descriptor deprecated

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

Deprecated: Use CpuFeatures.ProtoReflect.Descriptor instead.

func (*CpuFeatures) GetAesni

func (x *CpuFeatures) GetAesni() bool

func (*CpuFeatures) GetAvx

func (x *CpuFeatures) GetAvx() bool

func (*CpuFeatures) GetAvx2

func (x *CpuFeatures) GetAvx2() bool

func (*CpuFeatures) GetMmx

func (x *CpuFeatures) GetMmx() bool

func (*CpuFeatures) GetNonStopTimeStampCounter

func (x *CpuFeatures) GetNonStopTimeStampCounter() bool

func (*CpuFeatures) GetPopcnt

func (x *CpuFeatures) GetPopcnt() bool

func (*CpuFeatures) GetSse

func (x *CpuFeatures) GetSse() bool

func (*CpuFeatures) GetSse2

func (x *CpuFeatures) GetSse2() bool

func (*CpuFeatures) GetSse3

func (x *CpuFeatures) GetSse3() bool

func (*CpuFeatures) GetSse41

func (x *CpuFeatures) GetSse41() bool

func (*CpuFeatures) GetSse42

func (x *CpuFeatures) GetSse42() bool

func (*CpuFeatures) ProtoMessage

func (*CpuFeatures) ProtoMessage()

func (*CpuFeatures) ProtoReflect added in v0.0.12

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

func (*CpuFeatures) Reset

func (x *CpuFeatures) Reset()

func (*CpuFeatures) String

func (x *CpuFeatures) String() string

type EmptyMessage

type EmptyMessage struct {
	// contains filtered or unexported fields
}

func (*EmptyMessage) Descriptor deprecated

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

Deprecated: Use EmptyMessage.ProtoReflect.Descriptor instead.

func (*EmptyMessage) ProtoMessage

func (*EmptyMessage) ProtoMessage()

func (*EmptyMessage) ProtoReflect added in v0.0.12

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

func (*EmptyMessage) Reset

func (x *EmptyMessage) Reset()

func (*EmptyMessage) String

func (x *EmptyMessage) String() string

type ExecLog

type ExecLog struct {

	// optional string compiler_proxy_id = 1;
	Username               *string `protobuf:"bytes,46,opt,name=username" json:"username,omitempty"`
	Nodename               *string `protobuf:"bytes,47,opt,name=nodename" json:"nodename,omitempty"`
	Port                   *int32  `protobuf:"varint,48,opt,name=port" json:"port,omitempty"`
	CompilerProxyStartTime *int32  `` /* 126-byte string literal not displayed */
	TaskId                 *int32  `protobuf:"varint,50,opt,name=task_id,json=taskId" json:"task_id,omitempty"`
	BuildId                *string `protobuf:"bytes,91,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
	ServiceAccountId       *string `protobuf:"bytes,94,opt,name=service_account_id,json=serviceAccountId" json:"service_account_id,omitempty"`
	Oauth2Email            *string `protobuf:"bytes,95,opt,name=oauth2_email,json=oauth2Email" json:"oauth2_email,omitempty"`
	CompilerProxyUserAgent *string `protobuf:"bytes,51,opt,name=compiler_proxy_user_agent,json=compilerProxyUserAgent" json:"compiler_proxy_user_agent,omitempty"`
	// request info.
	StartTime   *int32   `protobuf:"varint,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
	Arg         []string `protobuf:"bytes,3,rep,name=arg" json:"arg,omitempty"`
	Env         []string `protobuf:"bytes,4,rep,name=env" json:"env,omitempty"`
	Cwd         *string  `protobuf:"bytes,5,opt,name=cwd" json:"cwd,omitempty"`
	ExpandedArg []string `protobuf:"bytes,62,rep,name=expanded_arg,json=expandedArg" json:"expanded_arg,omitempty"`
	// command spec
	CommandVersion      *string                     `protobuf:"bytes,71,opt,name=command_version,json=commandVersion" json:"command_version,omitempty"`
	CommandTarget       *string                     `protobuf:"bytes,72,opt,name=command_target,json=commandTarget" json:"command_target,omitempty"`
	LatestInputFilename *string                     `protobuf:"bytes,59,opt,name=latest_input_filename,json=latestInputFilename" json:"latest_input_filename,omitempty"`
	LatestInputMtime    *int32                      `protobuf:"varint,60,opt,name=latest_input_mtime,json=latestInputMtime" json:"latest_input_mtime,omitempty"`
	UseSsl              *bool                       `protobuf:"varint,64,opt,name=use_ssl,json=useSsl" json:"use_ssl,omitempty"`
	AuthType            *ExecLog_AuthenticationType `` /* 132-byte string literal not displayed */
	CpuFeatures         *CpuFeatures                `protobuf:"bytes,87,opt,name=cpu_features,json=cpuFeatures" json:"cpu_features,omitempty"`
	NetworkFailureType  *ExecLog_NetworkFailureType `` /* 164-byte string literal not displayed */
	OsInfo              *OSInfo                     `protobuf:"bytes,89,opt,name=os_info,json=osInfo" json:"os_info,omitempty"`
	// in INIT.
	PendingTime *int32 `protobuf:"varint,63,opt,name=pending_time,json=pendingTime" json:"pending_time,omitempty"`
	// in SETUP.
	CompilerInfoProcessTime *int32 `` /* 129-byte string literal not displayed */
	// include_preprocess_time is sum of
	// include_processor_wait_time and include_processor_run_time.
	IncludePreprocessTime         *int32 `protobuf:"varint,6,opt,name=include_preprocess_time,json=includePreprocessTime" json:"include_preprocess_time,omitempty"`
	IncludeProcessorWaitTime      *int32 `` /* 132-byte string literal not displayed */
	IncludeProcessorRunTime       *int32 `` /* 129-byte string literal not displayed */
	DepscacheUsed                 *bool  `protobuf:"varint,78,opt,name=depscache_used,json=depscacheUsed" json:"depscache_used,omitempty"`
	IncludePreprocessTotalFiles   *int32 `` /* 141-byte string literal not displayed */
	IncludePreprocessSkippedFiles *int32 `` /* 147-byte string literal not displayed */
	// in FILE_REQ.
	IncludeFileloadTime        *int32  `protobuf:"varint,7,opt,name=include_fileload_time,json=includeFileloadTime" json:"include_fileload_time,omitempty"`
	IncludeFileloadPendingTime []int32 `` /* 138-byte string literal not displayed */
	IncludeFileloadRunTime     []int32 `` /* 126-byte string literal not displayed */
	NumTotalInputFile          *int32  `protobuf:"varint,8,opt,name=num_total_input_file,json=numTotalInputFile" json:"num_total_input_file,omitempty"`
	TotalInputFileSize         *int64  `protobuf:"varint,93,opt,name=total_input_file_size,json=totalInputFileSize" json:"total_input_file_size,omitempty"`
	// repeated by retry.
	NumUploadingInputFile            []int32 `protobuf:"varint,9,rep,name=num_uploading_input_file,json=numUploadingInputFile" json:"num_uploading_input_file,omitempty"`
	NumMissingInputFile              []int32 `protobuf:"varint,10,rep,name=num_missing_input_file,json=numMissingInputFile" json:"num_missing_input_file,omitempty"`
	NumDroppedInputFile              []int32 `protobuf:"varint,92,rep,name=num_dropped_input_file,json=numDroppedInputFile" json:"num_dropped_input_file,omitempty"`
	NumFileUploadedDuringExecFailure []int32 `` /* 160-byte string literal not displayed */
	// repeated by each input file.
	InputFileTime []int32 `protobuf:"varint,11,rep,name=input_file_time,json=inputFileTime" json:"input_file_time,omitempty"`
	InputFileSize []int32 `protobuf:"varint,12,rep,name=input_file_size,json=inputFileSize" json:"input_file_size,omitempty"`
	// in CALL_EXEC.  repeated by retry.
	RpcCallTime      []int32  `protobuf:"varint,13,rep,name=rpc_call_time,json=rpcCallTime" json:"rpc_call_time,omitempty"`
	RpcReqSize       []int32  `protobuf:"varint,14,rep,name=rpc_req_size,json=rpcReqSize" json:"rpc_req_size,omitempty"`
	RpcRespSize      []int32  `protobuf:"varint,15,rep,name=rpc_resp_size,json=rpcRespSize" json:"rpc_resp_size,omitempty"`
	RpcRawReqSize    []int32  `protobuf:"varint,16,rep,name=rpc_raw_req_size,json=rpcRawReqSize" json:"rpc_raw_req_size,omitempty"`
	RpcRawRespSize   []int32  `protobuf:"varint,17,rep,name=rpc_raw_resp_size,json=rpcRawRespSize" json:"rpc_raw_resp_size,omitempty"`
	RpcMasterTraceId []string `protobuf:"bytes,58,rep,name=rpc_master_trace_id,json=rpcMasterTraceId" json:"rpc_master_trace_id,omitempty"`
	RpcThrottleTime  []int32  `protobuf:"varint,67,rep,name=rpc_throttle_time,json=rpcThrottleTime" json:"rpc_throttle_time,omitempty"`
	RpcPendingTime   []int32  `protobuf:"varint,57,rep,name=rpc_pending_time,json=rpcPendingTime" json:"rpc_pending_time,omitempty"`
	RpcReqBuildTime  []int32  `protobuf:"varint,18,rep,name=rpc_req_build_time,json=rpcReqBuildTime" json:"rpc_req_build_time,omitempty"`
	RpcReqSendTime   []int32  `protobuf:"varint,19,rep,name=rpc_req_send_time,json=rpcReqSendTime" json:"rpc_req_send_time,omitempty"`
	RpcWaitTime      []int32  `protobuf:"varint,20,rep,name=rpc_wait_time,json=rpcWaitTime" json:"rpc_wait_time,omitempty"`
	RpcRespRecvTime  []int32  `protobuf:"varint,21,rep,name=rpc_resp_recv_time,json=rpcRespRecvTime" json:"rpc_resp_recv_time,omitempty"`
	RpcRespParseTime []int32  `protobuf:"varint,22,rep,name=rpc_resp_parse_time,json=rpcRespParseTime" json:"rpc_resp_parse_time,omitempty"`
	// in FILE_RESP.
	FileResponseTime *int32 `protobuf:"varint,32,opt,name=file_response_time,json=fileResponseTime" json:"file_response_time,omitempty"`
	NumOutputFile    *int32 `protobuf:"varint,33,opt,name=num_output_file,json=numOutputFile" json:"num_output_file,omitempty"`
	// repeated by each output file
	OutputFileTime []int32 `protobuf:"varint,34,rep,name=output_file_time,json=outputFileTime" json:"output_file_time,omitempty"`
	OutputFileSize []int32 `protobuf:"varint,35,rep,name=output_file_size,json=outputFileSize" json:"output_file_size,omitempty"`
	ChunkRespSize  []int32 `protobuf:"varint,36,rep,name=chunk_resp_size,json=chunkRespSize" json:"chunk_resp_size,omitempty"`
	// Total time elapsed for handling the request in compiler_proxy.
	HandlerTime *int32 `protobuf:"varint,37,opt,name=handler_time,json=handlerTime" json:"handler_time,omitempty"`
	// result info
	ExecCommandNotFound            *string  `protobuf:"bytes,76,opt,name=exec_command_not_found,json=execCommandNotFound" json:"exec_command_not_found,omitempty"`
	ExecCommandNameMismatch        *string  `` /* 128-byte string literal not displayed */
	ExecCommandTargetMismatch      *string  `` /* 134-byte string literal not displayed */
	ExecCommandVersionMismatch     *string  `` /* 137-byte string literal not displayed */
	ExecCommandBinaryHashMismatch  *string  `` /* 148-byte string literal not displayed */
	ExecCommandSubprogramsMismatch *string  `` /* 149-byte string literal not displayed */
	ExecExitStatus                 *int32   `protobuf:"varint,40,opt,name=exec_exit_status,json=execExitStatus" json:"exec_exit_status,omitempty"`
	ExecRequestRetry               *int32   `protobuf:"varint,41,opt,name=exec_request_retry,json=execRequestRetry" json:"exec_request_retry,omitempty"`
	ExecRequestRetryReason         []string `protobuf:"bytes,56,rep,name=exec_request_retry_reason,json=execRequestRetryReason" json:"exec_request_retry_reason,omitempty"`
	// local run
	LocalRunReason   *string `protobuf:"bytes,42,opt,name=local_run_reason,json=localRunReason" json:"local_run_reason,omitempty"`
	LocalPendingTime *int32  `protobuf:"varint,43,opt,name=local_pending_time,json=localPendingTime" json:"local_pending_time,omitempty"`
	LocalRunTime     *int32  `protobuf:"varint,44,opt,name=local_run_time,json=localRunTime" json:"local_run_time,omitempty"`
	// TODO: use int32?
	LocalMemKb          *int64  `protobuf:"varint,52,opt,name=local_mem_kb,json=localMemKb" json:"local_mem_kb,omitempty"`
	LocalOutputFileTime []int32 `protobuf:"varint,54,rep,name=local_output_file_time,json=localOutputFileTime" json:"local_output_file_time,omitempty"`
	// TODO: use int64?
	LocalOutputFileSize []int32              `protobuf:"varint,55,rep,name=local_output_file_size,json=localOutputFileSize" json:"local_output_file_size,omitempty"`
	LocalDelayTime      *int32               `protobuf:"varint,61,opt,name=local_delay_time,json=localDelayTime" json:"local_delay_time,omitempty"`
	CacheHit            *bool                `protobuf:"varint,45,opt,name=cache_hit,json=cacheHit" json:"cache_hit,omitempty"`
	CacheSource         *ExecLog_CacheSource `` /* 128-byte string literal not displayed */
	// goma_error indicates result mismatch (exit status, stdout, stderr) between
	// local and remote.
	GomaError *bool `protobuf:"varint,53,opt,name=goma_error,json=gomaError" json:"goma_error,omitempty"`
	// compiler_proxy_error indicates it replied failure exit status to gomacc
	// while remote/local compilation have succeeded.
	// so not genuie compilation failure.
	CompilerProxyError *bool `protobuf:"varint,77,opt,name=compiler_proxy_error,json=compilerProxyError" json:"compiler_proxy_error,omitempty"`
	// contains filtered or unexported fields
}

NEXT ID TO USE: 96

func (*ExecLog) Descriptor deprecated

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

Deprecated: Use ExecLog.ProtoReflect.Descriptor instead.

func (*ExecLog) GetArg

func (x *ExecLog) GetArg() []string

func (*ExecLog) GetAuthType

func (x *ExecLog) GetAuthType() ExecLog_AuthenticationType

func (*ExecLog) GetBuildId

func (x *ExecLog) GetBuildId() string

func (*ExecLog) GetCacheHit

func (x *ExecLog) GetCacheHit() bool

func (*ExecLog) GetCacheSource

func (x *ExecLog) GetCacheSource() ExecLog_CacheSource

func (*ExecLog) GetChunkRespSize

func (x *ExecLog) GetChunkRespSize() []int32

func (*ExecLog) GetCommandTarget

func (x *ExecLog) GetCommandTarget() string

func (*ExecLog) GetCommandVersion

func (x *ExecLog) GetCommandVersion() string

func (*ExecLog) GetCompilerInfoProcessTime

func (x *ExecLog) GetCompilerInfoProcessTime() int32

func (*ExecLog) GetCompilerProxyError

func (x *ExecLog) GetCompilerProxyError() bool

func (*ExecLog) GetCompilerProxyStartTime

func (x *ExecLog) GetCompilerProxyStartTime() int32

func (*ExecLog) GetCompilerProxyUserAgent

func (x *ExecLog) GetCompilerProxyUserAgent() string

func (*ExecLog) GetCpuFeatures

func (x *ExecLog) GetCpuFeatures() *CpuFeatures

func (*ExecLog) GetCwd

func (x *ExecLog) GetCwd() string

func (*ExecLog) GetDepscacheUsed

func (x *ExecLog) GetDepscacheUsed() bool

func (*ExecLog) GetEnv

func (x *ExecLog) GetEnv() []string

func (*ExecLog) GetExecCommandBinaryHashMismatch

func (x *ExecLog) GetExecCommandBinaryHashMismatch() string

func (*ExecLog) GetExecCommandNameMismatch

func (x *ExecLog) GetExecCommandNameMismatch() string

func (*ExecLog) GetExecCommandNotFound

func (x *ExecLog) GetExecCommandNotFound() string

func (*ExecLog) GetExecCommandSubprogramsMismatch

func (x *ExecLog) GetExecCommandSubprogramsMismatch() string

func (*ExecLog) GetExecCommandTargetMismatch

func (x *ExecLog) GetExecCommandTargetMismatch() string

func (*ExecLog) GetExecCommandVersionMismatch

func (x *ExecLog) GetExecCommandVersionMismatch() string

func (*ExecLog) GetExecExitStatus

func (x *ExecLog) GetExecExitStatus() int32

func (*ExecLog) GetExecRequestRetry

func (x *ExecLog) GetExecRequestRetry() int32

func (*ExecLog) GetExecRequestRetryReason

func (x *ExecLog) GetExecRequestRetryReason() []string

func (*ExecLog) GetExpandedArg

func (x *ExecLog) GetExpandedArg() []string

func (*ExecLog) GetFileResponseTime

func (x *ExecLog) GetFileResponseTime() int32

func (*ExecLog) GetGomaError

func (x *ExecLog) GetGomaError() bool

func (*ExecLog) GetHandlerTime

func (x *ExecLog) GetHandlerTime() int32

func (*ExecLog) GetIncludeFileloadPendingTime

func (x *ExecLog) GetIncludeFileloadPendingTime() []int32

func (*ExecLog) GetIncludeFileloadRunTime

func (x *ExecLog) GetIncludeFileloadRunTime() []int32

func (*ExecLog) GetIncludeFileloadTime

func (x *ExecLog) GetIncludeFileloadTime() int32

func (*ExecLog) GetIncludePreprocessSkippedFiles

func (x *ExecLog) GetIncludePreprocessSkippedFiles() int32

func (*ExecLog) GetIncludePreprocessTime

func (x *ExecLog) GetIncludePreprocessTime() int32

func (*ExecLog) GetIncludePreprocessTotalFiles

func (x *ExecLog) GetIncludePreprocessTotalFiles() int32

func (*ExecLog) GetIncludeProcessorRunTime

func (x *ExecLog) GetIncludeProcessorRunTime() int32

func (*ExecLog) GetIncludeProcessorWaitTime

func (x *ExecLog) GetIncludeProcessorWaitTime() int32

func (*ExecLog) GetInputFileSize

func (x *ExecLog) GetInputFileSize() []int32

func (*ExecLog) GetInputFileTime

func (x *ExecLog) GetInputFileTime() []int32

func (*ExecLog) GetLatestInputFilename

func (x *ExecLog) GetLatestInputFilename() string

func (*ExecLog) GetLatestInputMtime

func (x *ExecLog) GetLatestInputMtime() int32

func (*ExecLog) GetLocalDelayTime

func (x *ExecLog) GetLocalDelayTime() int32

func (*ExecLog) GetLocalMemKb

func (x *ExecLog) GetLocalMemKb() int64

func (*ExecLog) GetLocalOutputFileSize

func (x *ExecLog) GetLocalOutputFileSize() []int32

func (*ExecLog) GetLocalOutputFileTime

func (x *ExecLog) GetLocalOutputFileTime() []int32

func (*ExecLog) GetLocalPendingTime

func (x *ExecLog) GetLocalPendingTime() int32

func (*ExecLog) GetLocalRunReason

func (x *ExecLog) GetLocalRunReason() string

func (*ExecLog) GetLocalRunTime

func (x *ExecLog) GetLocalRunTime() int32

func (*ExecLog) GetNetworkFailureType

func (x *ExecLog) GetNetworkFailureType() ExecLog_NetworkFailureType

func (*ExecLog) GetNodename

func (x *ExecLog) GetNodename() string

func (*ExecLog) GetNumDroppedInputFile added in v0.0.20

func (x *ExecLog) GetNumDroppedInputFile() []int32

func (*ExecLog) GetNumFileUploadedDuringExecFailure

func (x *ExecLog) GetNumFileUploadedDuringExecFailure() []int32

func (*ExecLog) GetNumMissingInputFile

func (x *ExecLog) GetNumMissingInputFile() []int32

func (*ExecLog) GetNumOutputFile

func (x *ExecLog) GetNumOutputFile() int32

func (*ExecLog) GetNumTotalInputFile

func (x *ExecLog) GetNumTotalInputFile() int32

func (*ExecLog) GetNumUploadingInputFile

func (x *ExecLog) GetNumUploadingInputFile() []int32

func (*ExecLog) GetOauth2Email added in v0.0.20

func (x *ExecLog) GetOauth2Email() string

func (*ExecLog) GetOsInfo

func (x *ExecLog) GetOsInfo() *OSInfo

func (*ExecLog) GetOutputFileSize

func (x *ExecLog) GetOutputFileSize() []int32

func (*ExecLog) GetOutputFileTime

func (x *ExecLog) GetOutputFileTime() []int32

func (*ExecLog) GetPendingTime

func (x *ExecLog) GetPendingTime() int32

func (*ExecLog) GetPort

func (x *ExecLog) GetPort() int32

func (*ExecLog) GetRpcCallTime

func (x *ExecLog) GetRpcCallTime() []int32

func (*ExecLog) GetRpcMasterTraceId

func (x *ExecLog) GetRpcMasterTraceId() []string

func (*ExecLog) GetRpcPendingTime

func (x *ExecLog) GetRpcPendingTime() []int32

func (*ExecLog) GetRpcRawReqSize

func (x *ExecLog) GetRpcRawReqSize() []int32

func (*ExecLog) GetRpcRawRespSize

func (x *ExecLog) GetRpcRawRespSize() []int32

func (*ExecLog) GetRpcReqBuildTime

func (x *ExecLog) GetRpcReqBuildTime() []int32

func (*ExecLog) GetRpcReqSendTime

func (x *ExecLog) GetRpcReqSendTime() []int32

func (*ExecLog) GetRpcReqSize

func (x *ExecLog) GetRpcReqSize() []int32

func (*ExecLog) GetRpcRespParseTime

func (x *ExecLog) GetRpcRespParseTime() []int32

func (*ExecLog) GetRpcRespRecvTime

func (x *ExecLog) GetRpcRespRecvTime() []int32

func (*ExecLog) GetRpcRespSize

func (x *ExecLog) GetRpcRespSize() []int32

func (*ExecLog) GetRpcThrottleTime

func (x *ExecLog) GetRpcThrottleTime() []int32

func (*ExecLog) GetRpcWaitTime

func (x *ExecLog) GetRpcWaitTime() []int32

func (*ExecLog) GetServiceAccountId added in v0.0.20

func (x *ExecLog) GetServiceAccountId() string

func (*ExecLog) GetStartTime

func (x *ExecLog) GetStartTime() int32

func (*ExecLog) GetTaskId

func (x *ExecLog) GetTaskId() int32

func (*ExecLog) GetTotalInputFileSize added in v0.0.20

func (x *ExecLog) GetTotalInputFileSize() int64

func (*ExecLog) GetUseSsl

func (x *ExecLog) GetUseSsl() bool

func (*ExecLog) GetUsername

func (x *ExecLog) GetUsername() string

func (*ExecLog) ProtoMessage

func (*ExecLog) ProtoMessage()

func (*ExecLog) ProtoReflect added in v0.0.12

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

func (*ExecLog) Reset

func (x *ExecLog) Reset()

func (*ExecLog) String

func (x *ExecLog) String() string

type ExecLogStat

type ExecLogStat struct {
	HandlerTime             *NumberSummary `protobuf:"bytes,1,opt,name=handler_time,json=handlerTime" json:"handler_time,omitempty"`
	CompilerInfoProcessTime *NumberSummary `` /* 128-byte string literal not displayed */
	IncludePreprocessTime   *NumberSummary `protobuf:"bytes,2,opt,name=include_preprocess_time,json=includePreprocessTime" json:"include_preprocess_time,omitempty"`
	IncludeFileloadTime     *NumberSummary `protobuf:"bytes,3,opt,name=include_fileload_time,json=includeFileloadTime" json:"include_fileload_time,omitempty"`
	RpcCallTime             *NumberSummary `protobuf:"bytes,4,opt,name=rpc_call_time,json=rpcCallTime" json:"rpc_call_time,omitempty"`
	FileResponseTime        *NumberSummary `protobuf:"bytes,7,opt,name=file_response_time,json=fileResponseTime" json:"file_response_time,omitempty"`
	LocalPendingTime        *NumberSummary `protobuf:"bytes,8,opt,name=local_pending_time,json=localPendingTime" json:"local_pending_time,omitempty"`
	LocalRunTime            *NumberSummary `protobuf:"bytes,9,opt,name=local_run_time,json=localRunTime" json:"local_run_time,omitempty"`
	CacheHit                *int64         `protobuf:"varint,10,opt,name=cache_hit,json=cacheHit" json:"cache_hit,omitempty"`
	GomaError               *int64         `protobuf:"varint,11,opt,name=goma_error,json=gomaError" json:"goma_error,omitempty"`
	// contains filtered or unexported fields
}

NEXT ID TO USE: 13

func (*ExecLogStat) Descriptor deprecated

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

Deprecated: Use ExecLogStat.ProtoReflect.Descriptor instead.

func (*ExecLogStat) GetCacheHit

func (x *ExecLogStat) GetCacheHit() int64

func (*ExecLogStat) GetCompilerInfoProcessTime

func (x *ExecLogStat) GetCompilerInfoProcessTime() *NumberSummary

func (*ExecLogStat) GetFileResponseTime

func (x *ExecLogStat) GetFileResponseTime() *NumberSummary

func (*ExecLogStat) GetGomaError

func (x *ExecLogStat) GetGomaError() int64

func (*ExecLogStat) GetHandlerTime

func (x *ExecLogStat) GetHandlerTime() *NumberSummary

func (*ExecLogStat) GetIncludeFileloadTime

func (x *ExecLogStat) GetIncludeFileloadTime() *NumberSummary

func (*ExecLogStat) GetIncludePreprocessTime

func (x *ExecLogStat) GetIncludePreprocessTime() *NumberSummary

func (*ExecLogStat) GetLocalPendingTime

func (x *ExecLogStat) GetLocalPendingTime() *NumberSummary

func (*ExecLogStat) GetLocalRunTime

func (x *ExecLogStat) GetLocalRunTime() *NumberSummary

func (*ExecLogStat) GetRpcCallTime

func (x *ExecLogStat) GetRpcCallTime() *NumberSummary

func (*ExecLogStat) ProtoMessage

func (*ExecLogStat) ProtoMessage()

func (*ExecLogStat) ProtoReflect added in v0.0.12

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

func (*ExecLogStat) Reset

func (x *ExecLogStat) Reset()

func (*ExecLogStat) String

func (x *ExecLogStat) String() string

type ExecLog_AuthenticationType

type ExecLog_AuthenticationType int32
const (
	ExecLog_NONE    ExecLog_AuthenticationType = 0
	ExecLog_UNKNOWN ExecLog_AuthenticationType = 1
	// reserved 2,3
	ExecLog_OAUTH2_UNSPEC              ExecLog_AuthenticationType = 4
	ExecLog_OAUTH2_APPLICATION         ExecLog_AuthenticationType = 5
	ExecLog_OAUTH2_SERVICE_ACCOUNT     ExecLog_AuthenticationType = 6
	ExecLog_OAUTH2_GCE_SERVICE_ACCOUNT ExecLog_AuthenticationType = 7
	ExecLog_OAUTH2_LUCI_LOCAL_AUTH     ExecLog_AuthenticationType = 8
)

func (ExecLog_AuthenticationType) Descriptor added in v0.0.12

func (ExecLog_AuthenticationType) Enum

func (ExecLog_AuthenticationType) EnumDescriptor deprecated

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

Deprecated: Use ExecLog_AuthenticationType.Descriptor instead.

func (ExecLog_AuthenticationType) Number added in v0.0.12

func (ExecLog_AuthenticationType) String

func (ExecLog_AuthenticationType) Type added in v0.0.12

func (*ExecLog_AuthenticationType) UnmarshalJSON deprecated

func (x *ExecLog_AuthenticationType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ExecLog_CacheSource

type ExecLog_CacheSource int32
const (
	ExecLog_UNKNOWN_CACHE      ExecLog_CacheSource = 0
	ExecLog_MEM_CACHE          ExecLog_CacheSource = 1
	ExecLog_STORAGE_CACHE      ExecLog_CacheSource = 2
	ExecLog_LOCAL_OUTPUT_CACHE ExecLog_CacheSource = 3
)

func (ExecLog_CacheSource) Descriptor added in v0.0.12

func (ExecLog_CacheSource) Enum

func (ExecLog_CacheSource) EnumDescriptor deprecated

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

Deprecated: Use ExecLog_CacheSource.Descriptor instead.

func (ExecLog_CacheSource) Number added in v0.0.12

func (ExecLog_CacheSource) String

func (x ExecLog_CacheSource) String() string

func (ExecLog_CacheSource) Type added in v0.0.12

func (*ExecLog_CacheSource) UnmarshalJSON deprecated

func (x *ExecLog_CacheSource) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ExecLog_NetworkFailureType

type ExecLog_NetworkFailureType int32
const (
	ExecLog_NO_NETWORK_ERROR      ExecLog_NetworkFailureType = 0 // succeeded or not used.
	ExecLog_DISABLED              ExecLog_NetworkFailureType = 1 // failed because http is disabled (failnow() is true).
	ExecLog_UNKNOWN_NETWORK_ERROR ExecLog_NetworkFailureType = 2 // unknown error status.
	ExecLog_CONNECT_FAILED        ExecLog_NetworkFailureType = 3 // failed at connect.
	ExecLog_SEND_FAILED           ExecLog_NetworkFailureType = 4 // failed at send.
	ExecLog_TIMEDOUT_AFTER_SEND   ExecLog_NetworkFailureType = 5 // timed out after request has sent.
	ExecLog_RECEIVE_FAILED        ExecLog_NetworkFailureType = 6 // failed at receiving response.
	ExecLog_BAD_HTTP_STATUS_CODE  ExecLog_NetworkFailureType = 7 // received but response was not 2xx.
)

func (ExecLog_NetworkFailureType) Descriptor added in v0.0.12

func (ExecLog_NetworkFailureType) Enum

func (ExecLog_NetworkFailureType) EnumDescriptor deprecated

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

Deprecated: Use ExecLog_NetworkFailureType.Descriptor instead.

func (ExecLog_NetworkFailureType) Number added in v0.0.12

func (ExecLog_NetworkFailureType) String

func (ExecLog_NetworkFailureType) Type added in v0.0.12

func (*ExecLog_NetworkFailureType) UnmarshalJSON deprecated

func (x *ExecLog_NetworkFailureType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ExecReq

type ExecReq struct {
	CommandSpec *CommandSpec     `protobuf:"bytes,1,req,name=command_spec,json=commandSpec" json:"command_spec,omitempty"`
	Arg         []string         `protobuf:"bytes,2,rep,name=arg" json:"arg,omitempty"`
	Env         []string         `protobuf:"bytes,3,rep,name=env" json:"env,omitempty"`
	Cwd         *string          `protobuf:"bytes,4,opt,name=cwd" json:"cwd,omitempty"`
	Input       []*ExecReq_Input `protobuf:"group,10,rep,name=Input,json=input" json:"input,omitempty"`
	// The @ notations in arg should be expanded and the result should
	// be stored in this field for javac and VC++.
	ExpandedArg []string `protobuf:"bytes,14,rep,name=expanded_arg,json=expandedArg" json:"expanded_arg,omitempty"`
	// Subprograms that would be used in client. By setting this,
	// client could request backend to use the same subprograms.
	Subprogram    []*SubprogramSpec    `protobuf:"bytes,15,rep,name=subprogram" json:"subprogram,omitempty"`
	RequesterInfo *RequesterInfo       `protobuf:"bytes,30,opt,name=requester_info,json=requesterInfo" json:"requester_info,omitempty"`
	CachePolicy   *ExecReq_CachePolicy `` /* 134-byte string literal not displayed */
	// This is passed from gomacc to compiler proxy, and compiler proxy
	// clears it before sending ExecReq to goma service.
	RequesterEnv *RequesterEnv `protobuf:"bytes,32,opt,name=requester_env,json=requesterEnv" json:"requester_env,omitempty"`
	// When hermetic_mode is true, restrict backend use the same compiler
	// as local version. Backend should use a compiler package
	// that has the same version string and the same binary_hash only.
	// If there is no such compilers in backend, it should not run any other
	// compiler but returns error: ExecResp contains error messages,
	// no command spec and empty missing_input.  It isn't rpc error.
	HermeticMode *bool `protobuf:"varint,33,opt,name=hermetic_mode,json=hermeticMode" json:"hermetic_mode,omitempty"`
	// Requests that the call is traced.
	Trace *bool `protobuf:"varint,34,opt,name=trace" json:"trace,omitempty"`
	// Expected output files and dirs, which are calculated in CompilerFlags.
	// Goma server will return these files and dirs as output.
	//
	// If files which are not specified here are generated in the server,
	// those files will be ignored (so, we can ignore temporary cache file or
	// telemetry information).
	//
	// If files which are specified here are not generated in the server,
	// the server just ignores such files. If the specified files do not look
	// generated by a compiler, Goma server can return BAD_REQUEST.
	//
	// If output files and dirs are not specified, the server can calculate
	// expected output files and dirs by itself (if possible).
	//
	// These path must be in client-format.
	// Use '/' on Linux and Mac, and use '\\' for Windows.
	ExpectedOutputFiles []string `protobuf:"bytes,35,rep,name=expected_output_files,json=expectedOutputFiles" json:"expected_output_files,omitempty"`
	ExpectedOutputDirs  []string `protobuf:"bytes,36,rep,name=expected_output_dirs,json=expectedOutputDirs" json:"expected_output_dirs,omitempty"`
	// EXPERIMENTAL.
	// True if ExecReq contains toolchains as input.
	ToolchainIncluded *bool `protobuf:"varint,37,opt,name=toolchain_included,json=toolchainIncluded" json:"toolchain_included,omitempty"`
	// If ExecReq contains toolchains as input, set toolchain spec.
	// toolchain spec should contain all compiler related files except system
	// shared objects which are expected to exist in the server side. For
	// example, in `clang` case, recent `clang` binary usually contains
	// everything, so it is OK to have just `clang`. In `pnacl-clang` case, it
	// needs libLLVM.so, and since it is a compiler wrapper, it needs related
	// python scripts etc.
	// Currently, if `dimensions` is set correctly, we don't need to add
	// shared objects in /lib or /usr/lib.
	//
	// toolchain_specs should contain compiler-driver (which is set in
	// command_spec) and subprograms, too.
	ToolchainSpecs []*ToolchainSpec `protobuf:"bytes,38,rep,name=toolchain_specs,json=toolchainSpecs" json:"toolchain_specs,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecReq) Descriptor deprecated

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

Deprecated: Use ExecReq.ProtoReflect.Descriptor instead.

func (*ExecReq) GetArg

func (x *ExecReq) GetArg() []string

func (*ExecReq) GetCachePolicy

func (x *ExecReq) GetCachePolicy() ExecReq_CachePolicy

func (*ExecReq) GetCommandSpec

func (x *ExecReq) GetCommandSpec() *CommandSpec

func (*ExecReq) GetCwd

func (x *ExecReq) GetCwd() string

func (*ExecReq) GetEnv

func (x *ExecReq) GetEnv() []string

func (*ExecReq) GetExpandedArg

func (x *ExecReq) GetExpandedArg() []string

func (*ExecReq) GetExpectedOutputDirs

func (x *ExecReq) GetExpectedOutputDirs() []string

func (*ExecReq) GetExpectedOutputFiles

func (x *ExecReq) GetExpectedOutputFiles() []string

func (*ExecReq) GetHermeticMode

func (x *ExecReq) GetHermeticMode() bool

func (*ExecReq) GetInput

func (x *ExecReq) GetInput() []*ExecReq_Input

func (*ExecReq) GetRequesterEnv

func (x *ExecReq) GetRequesterEnv() *RequesterEnv

func (*ExecReq) GetRequesterInfo

func (x *ExecReq) GetRequesterInfo() *RequesterInfo

func (*ExecReq) GetSubprogram

func (x *ExecReq) GetSubprogram() []*SubprogramSpec

func (*ExecReq) GetToolchainIncluded

func (x *ExecReq) GetToolchainIncluded() bool

func (*ExecReq) GetToolchainSpecs

func (x *ExecReq) GetToolchainSpecs() []*ToolchainSpec

func (*ExecReq) GetTrace

func (x *ExecReq) GetTrace() bool

func (*ExecReq) ProtoMessage

func (*ExecReq) ProtoMessage()

func (*ExecReq) ProtoReflect added in v0.0.12

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

func (*ExecReq) Reset

func (x *ExecReq) Reset()

func (*ExecReq) String

func (x *ExecReq) String() string

type ExecReq_CachePolicy

type ExecReq_CachePolicy int32
const (
	// IGNORE = 0;
	ExecReq_LOOKUP_AND_STORE         ExecReq_CachePolicy = 1
	ExecReq_LOOKUP_ONLY              ExecReq_CachePolicy = 2
	ExecReq_STORE_ONLY               ExecReq_CachePolicy = 3
	ExecReq_LOOKUP_AND_STORE_SUCCESS ExecReq_CachePolicy = 4
)

func (ExecReq_CachePolicy) Descriptor added in v0.0.12

func (ExecReq_CachePolicy) Enum

func (ExecReq_CachePolicy) EnumDescriptor deprecated

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

Deprecated: Use ExecReq_CachePolicy.Descriptor instead.

func (ExecReq_CachePolicy) Number added in v0.0.12

func (ExecReq_CachePolicy) String

func (x ExecReq_CachePolicy) String() string

func (ExecReq_CachePolicy) Type added in v0.0.12

func (*ExecReq_CachePolicy) UnmarshalJSON deprecated

func (x *ExecReq_CachePolicy) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ExecReq_Input

type ExecReq_Input struct {
	Filename *string   `protobuf:"bytes,11,opt,name=filename" json:"filename,omitempty"` // relative to cwd or full path
	HashKey  *string   `protobuf:"bytes,12,req,name=hash_key,json=hashKey" json:"hash_key,omitempty"`
	Content  *FileBlob `protobuf:"bytes,13,opt,name=content" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecReq_Input) Descriptor deprecated

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

Deprecated: Use ExecReq_Input.ProtoReflect.Descriptor instead.

func (*ExecReq_Input) GetContent

func (x *ExecReq_Input) GetContent() *FileBlob

func (*ExecReq_Input) GetFilename

func (x *ExecReq_Input) GetFilename() string

func (*ExecReq_Input) GetHashKey

func (x *ExecReq_Input) GetHashKey() string

func (*ExecReq_Input) ProtoMessage

func (*ExecReq_Input) ProtoMessage()

func (*ExecReq_Input) ProtoReflect added in v0.0.12

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

func (*ExecReq_Input) Reset

func (x *ExecReq_Input) Reset()

func (*ExecReq_Input) String

func (x *ExecReq_Input) String() string

type ExecResp

type ExecResp struct {
	Result                                      *ExecResult                    `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	Error                                       *ExecResp_ExecError            `protobuf:"varint,2,opt,name=error,enum=devtools_goma.ExecResp_ExecError,def=0" json:"error,omitempty"`
	BadRequestReasonCode                        *ExecResp_BadRequestReasonCode ``                                                                                               /* 174-byte string literal not displayed */
	MissingInput                                []string                       `protobuf:"bytes,11,rep,name=missing_input,json=missingInput" json:"missing_input,omitempty"`    // filename
	MissingReason                               []string                       `protobuf:"bytes,15,rep,name=missing_reason,json=missingReason" json:"missing_reason,omitempty"` // reasons of missing_input.
	ErrorMessage                                []string                       `protobuf:"bytes,12,rep,name=error_message,json=errorMessage" json:"error_message,omitempty"`
	ForceStoreOutputFileForUnmatchedHash        *bool                          `` /* 180-byte string literal not displayed */
	ForceStoreOutputFileForUnmatchedVersion     *bool                          `` /* 189-byte string literal not displayed */
	ForceStoreOutputFileForUnmatchedSubprograms *bool                          `` /* 201-byte string literal not displayed */
	// for trace
	CacheKey *string               `protobuf:"bytes,21,opt,name=cache_key,json=cacheKey" json:"cache_key,omitempty"` // result cache_key
	CacheHit *ExecResp_CacheSource `protobuf:"varint,27,opt,name=cache_hit,json=cacheHit,enum=devtools_goma.ExecResp_CacheSource" json:"cache_hit,omitempty"`
	// requester's compiler_proxy_id.
	// for cached resp, it is the original requester, not current requester.
	RequesterCompilerProxyId *string `` /* 131-byte string literal not displayed */
	// Time at compiler_proxy
	CompilerProxyTime                *float64 `protobuf:"fixed64,50,opt,name=compiler_proxy_time,json=compilerProxyTime" json:"compiler_proxy_time,omitempty"`
	CompilerProxyIncludePreprocTime  *float64 `` /* 156-byte string literal not displayed */
	CompilerProxyIncludeFileloadTime *float64 `` /* 159-byte string literal not displayed */
	CompilerProxyRpcCallTime         *float64 `` /* 135-byte string literal not displayed */
	CompilerProxyFileResponseTime    *float64 `` /* 150-byte string literal not displayed */
	CompilerProxyRpcBuildTime        *float64 `` /* 138-byte string literal not displayed */
	CompilerProxyRpcSendTime         *float64 `` /* 135-byte string literal not displayed */
	CompilerProxyRpcWaitTime         *float64 `` /* 135-byte string literal not displayed */
	CompilerProxyRpcRecvTime         *float64 `` /* 135-byte string literal not displayed */
	CompilerProxyRpcParseTime        *float64 `` /* 138-byte string literal not displayed */
	CompilerProxyLocalPendingTime    *float64 `` /* 150-byte string literal not displayed */
	CompilerProxyLocalRunTime        *float64 `` /* 138-byte string literal not displayed */
	CompilerProxyGomaFinished        *bool    `` /* 135-byte string literal not displayed */
	CompilerProxyGomaCacheHit        *bool    `` /* 137-byte string literal not displayed */
	CompilerProxyGomaAborted         *bool    `` /* 132-byte string literal not displayed */
	CompilerProxyGomaError           *bool    `` /* 126-byte string literal not displayed */
	CompilerProxyLocalFinished       *bool    `` /* 138-byte string literal not displayed */
	CompilerProxyLocalRun            *bool    `protobuf:"varint,75,opt,name=compiler_proxy_local_run,json=compilerProxyLocalRun" json:"compiler_proxy_local_run,omitempty"`
	CompilerProxyLocalKilled         *bool    `` /* 132-byte string literal not displayed */
	CompilerProxyExecRequestRetry    *int32   `` /* 149-byte string literal not displayed */
	// Execution stats collected from RBE
	ExecutionStats *ExecutionStats `protobuf:"bytes,81,opt,name=execution_stats,json=executionStats" json:"execution_stats,omitempty"`
	// contains filtered or unexported fields
}

NEXT ID TO USE: 82

func (*ExecResp) Descriptor deprecated

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

Deprecated: Use ExecResp.ProtoReflect.Descriptor instead.

func (*ExecResp) GetBadRequestReasonCode

func (x *ExecResp) GetBadRequestReasonCode() ExecResp_BadRequestReasonCode

func (*ExecResp) GetCacheHit

func (x *ExecResp) GetCacheHit() ExecResp_CacheSource

func (*ExecResp) GetCacheKey

func (x *ExecResp) GetCacheKey() string

func (*ExecResp) GetCompilerProxyExecRequestRetry

func (x *ExecResp) GetCompilerProxyExecRequestRetry() int32

func (*ExecResp) GetCompilerProxyFileResponseTime

func (x *ExecResp) GetCompilerProxyFileResponseTime() float64

func (*ExecResp) GetCompilerProxyGomaAborted

func (x *ExecResp) GetCompilerProxyGomaAborted() bool

func (*ExecResp) GetCompilerProxyGomaCacheHit

func (x *ExecResp) GetCompilerProxyGomaCacheHit() bool

func (*ExecResp) GetCompilerProxyGomaError

func (x *ExecResp) GetCompilerProxyGomaError() bool

func (*ExecResp) GetCompilerProxyGomaFinished

func (x *ExecResp) GetCompilerProxyGomaFinished() bool

func (*ExecResp) GetCompilerProxyIncludeFileloadTime

func (x *ExecResp) GetCompilerProxyIncludeFileloadTime() float64

func (*ExecResp) GetCompilerProxyIncludePreprocTime

func (x *ExecResp) GetCompilerProxyIncludePreprocTime() float64

func (*ExecResp) GetCompilerProxyLocalFinished

func (x *ExecResp) GetCompilerProxyLocalFinished() bool

func (*ExecResp) GetCompilerProxyLocalKilled

func (x *ExecResp) GetCompilerProxyLocalKilled() bool

func (*ExecResp) GetCompilerProxyLocalPendingTime

func (x *ExecResp) GetCompilerProxyLocalPendingTime() float64

func (*ExecResp) GetCompilerProxyLocalRun

func (x *ExecResp) GetCompilerProxyLocalRun() bool

func (*ExecResp) GetCompilerProxyLocalRunTime

func (x *ExecResp) GetCompilerProxyLocalRunTime() float64

func (*ExecResp) GetCompilerProxyRpcBuildTime

func (x *ExecResp) GetCompilerProxyRpcBuildTime() float64

func (*ExecResp) GetCompilerProxyRpcCallTime

func (x *ExecResp) GetCompilerProxyRpcCallTime() float64

func (*ExecResp) GetCompilerProxyRpcParseTime

func (x *ExecResp) GetCompilerProxyRpcParseTime() float64

func (*ExecResp) GetCompilerProxyRpcRecvTime

func (x *ExecResp) GetCompilerProxyRpcRecvTime() float64

func (*ExecResp) GetCompilerProxyRpcSendTime

func (x *ExecResp) GetCompilerProxyRpcSendTime() float64

func (*ExecResp) GetCompilerProxyRpcWaitTime

func (x *ExecResp) GetCompilerProxyRpcWaitTime() float64

func (*ExecResp) GetCompilerProxyTime

func (x *ExecResp) GetCompilerProxyTime() float64

func (*ExecResp) GetError

func (x *ExecResp) GetError() ExecResp_ExecError

func (*ExecResp) GetErrorMessage

func (x *ExecResp) GetErrorMessage() []string

func (*ExecResp) GetExecutionStats added in v0.0.11

func (x *ExecResp) GetExecutionStats() *ExecutionStats

func (*ExecResp) GetForceStoreOutputFileForUnmatchedHash

func (x *ExecResp) GetForceStoreOutputFileForUnmatchedHash() bool

func (*ExecResp) GetForceStoreOutputFileForUnmatchedSubprograms

func (x *ExecResp) GetForceStoreOutputFileForUnmatchedSubprograms() bool

func (*ExecResp) GetForceStoreOutputFileForUnmatchedVersion

func (x *ExecResp) GetForceStoreOutputFileForUnmatchedVersion() bool

func (*ExecResp) GetMissingInput

func (x *ExecResp) GetMissingInput() []string

func (*ExecResp) GetMissingReason

func (x *ExecResp) GetMissingReason() []string

func (*ExecResp) GetRequesterCompilerProxyId

func (x *ExecResp) GetRequesterCompilerProxyId() string

func (*ExecResp) GetResult

func (x *ExecResp) GetResult() *ExecResult

func (*ExecResp) ProtoMessage

func (*ExecResp) ProtoMessage()

func (*ExecResp) ProtoReflect added in v0.0.12

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

func (*ExecResp) Reset

func (x *ExecResp) Reset()

func (*ExecResp) String

func (x *ExecResp) String() string

type ExecResp_BadRequestReasonCode

type ExecResp_BadRequestReasonCode int32

Specifies the reason of ExecError::BAD_REQUEST.

const (
	// The reason is unknown (or not BAD_REQUEST)
	ExecResp_UNKNOWN ExecResp_BadRequestReasonCode = 0
	// The request contains unsupported compiler flags.
	ExecResp_UNSUPPORTED_COMPILER_FLAGS ExecResp_BadRequestReasonCode = 1
)

func (ExecResp_BadRequestReasonCode) Descriptor added in v0.0.12

func (ExecResp_BadRequestReasonCode) Enum

func (ExecResp_BadRequestReasonCode) EnumDescriptor deprecated

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

Deprecated: Use ExecResp_BadRequestReasonCode.Descriptor instead.

func (ExecResp_BadRequestReasonCode) Number added in v0.0.12

func (ExecResp_BadRequestReasonCode) String

func (ExecResp_BadRequestReasonCode) Type added in v0.0.12

func (*ExecResp_BadRequestReasonCode) UnmarshalJSON deprecated

func (x *ExecResp_BadRequestReasonCode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ExecResp_CacheSource

type ExecResp_CacheSource int32
const (
	ExecResp_NO_CACHE           ExecResp_CacheSource = 0
	ExecResp_MEM_CACHE          ExecResp_CacheSource = 1
	ExecResp_STORAGE_CACHE      ExecResp_CacheSource = 2
	ExecResp_LOCAL_OUTPUT_CACHE ExecResp_CacheSource = 3
)

func (ExecResp_CacheSource) Descriptor added in v0.0.12

func (ExecResp_CacheSource) Enum

func (ExecResp_CacheSource) EnumDescriptor deprecated

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

Deprecated: Use ExecResp_CacheSource.Descriptor instead.

func (ExecResp_CacheSource) Number added in v0.0.12

func (ExecResp_CacheSource) String

func (x ExecResp_CacheSource) String() string

func (ExecResp_CacheSource) Type added in v0.0.12

func (*ExecResp_CacheSource) UnmarshalJSON deprecated

func (x *ExecResp_CacheSource) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ExecResp_ExecError

type ExecResp_ExecError int32
const (
	ExecResp_OK          ExecResp_ExecError = 0
	ExecResp_BAD_REQUEST ExecResp_ExecError = -1 // Non retryable error.
)

func (ExecResp_ExecError) Descriptor added in v0.0.12

func (ExecResp_ExecError) Enum

func (ExecResp_ExecError) EnumDescriptor deprecated

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

Deprecated: Use ExecResp_ExecError.Descriptor instead.

func (ExecResp_ExecError) Number added in v0.0.12

func (ExecResp_ExecError) String

func (x ExecResp_ExecError) String() string

func (ExecResp_ExecError) Type added in v0.0.12

func (*ExecResp_ExecError) UnmarshalJSON deprecated

func (x *ExecResp_ExecError) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ExecResult

type ExecResult struct {
	ExitStatus   *int32       `protobuf:"varint,1,req,name=exit_status,json=exitStatus,def=-1" json:"exit_status,omitempty"`
	StdoutBuffer []byte       `protobuf:"bytes,2,opt,name=stdout_buffer,json=stdoutBuffer" json:"stdout_buffer,omitempty"`
	StderrBuffer []byte       `protobuf:"bytes,3,opt,name=stderr_buffer,json=stderrBuffer" json:"stderr_buffer,omitempty"`
	CommandSpec  *CommandSpec `protobuf:"bytes,4,opt,name=command_spec,json=commandSpec" json:"command_spec,omitempty"`
	// subprograms that were used in compilation.
	Subprogram []*SubprogramSpec    `protobuf:"bytes,5,rep,name=subprogram" json:"subprogram,omitempty"`
	Output     []*ExecResult_Output `protobuf:"group,10,rep,name=Output,json=output" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecResult) Descriptor deprecated

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

Deprecated: Use ExecResult.ProtoReflect.Descriptor instead.

func (*ExecResult) GetCommandSpec

func (x *ExecResult) GetCommandSpec() *CommandSpec

func (*ExecResult) GetExitStatus

func (x *ExecResult) GetExitStatus() int32

func (*ExecResult) GetOutput

func (x *ExecResult) GetOutput() []*ExecResult_Output

func (*ExecResult) GetStderrBuffer

func (x *ExecResult) GetStderrBuffer() []byte

func (*ExecResult) GetStdoutBuffer

func (x *ExecResult) GetStdoutBuffer() []byte

func (*ExecResult) GetSubprogram

func (x *ExecResult) GetSubprogram() []*SubprogramSpec

func (*ExecResult) ProtoMessage

func (*ExecResult) ProtoMessage()

func (*ExecResult) ProtoReflect added in v0.0.12

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

func (*ExecResult) Reset

func (x *ExecResult) Reset()

func (*ExecResult) String

func (x *ExecResult) String() string

type ExecResult_Output

type ExecResult_Output struct {

	// TODO: We might want to normalize this path to relative path?
	Filename *string `protobuf:"bytes,11,opt,name=filename" json:"filename,omitempty"` // relative to request cwd or full path
	// if blob.blob_type=FILE_META, client need to request blob.hash_key() later
	Blob         *FileBlob `protobuf:"bytes,12,opt,name=blob" json:"blob,omitempty"`
	IsExecutable *bool     `protobuf:"varint,13,opt,name=is_executable,json=isExecutable,def=0" json:"is_executable,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecResult_Output) Descriptor deprecated

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

Deprecated: Use ExecResult_Output.ProtoReflect.Descriptor instead.

func (*ExecResult_Output) GetBlob

func (x *ExecResult_Output) GetBlob() *FileBlob

func (*ExecResult_Output) GetFilename

func (x *ExecResult_Output) GetFilename() string

func (*ExecResult_Output) GetIsExecutable

func (x *ExecResult_Output) GetIsExecutable() bool

func (*ExecResult_Output) ProtoMessage

func (*ExecResult_Output) ProtoMessage()

func (*ExecResult_Output) ProtoReflect added in v0.0.12

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

func (*ExecResult_Output) Reset

func (x *ExecResult_Output) Reset()

func (*ExecResult_Output) String

func (x *ExecResult_Output) String() string

type ExecutionStats added in v0.0.11

type ExecutionStats struct {

	// When the worker started executing the action command.
	ExecutionStartTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=execution_start_timestamp,json=executionStartTimestamp" json:"execution_start_timestamp,omitempty"`
	// When the worker completed executing the action command.
	ExecutionCompletedTimestamp *timestamppb.Timestamp `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Stats of a single RBE execution. This is a subset of https://github.com/bazelbuild/remote-apis/blob/178b756a22d441d8d06873a70bcd0ef01d876467/build/bazel/remote/execution/v2/remote_execution.proto#L789-L819

func (*ExecutionStats) Descriptor deprecated added in v0.0.11

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

Deprecated: Use ExecutionStats.ProtoReflect.Descriptor instead.

func (*ExecutionStats) GetExecutionCompletedTimestamp added in v0.0.11

func (x *ExecutionStats) GetExecutionCompletedTimestamp() *timestamppb.Timestamp

func (*ExecutionStats) GetExecutionStartTimestamp added in v0.0.11

func (x *ExecutionStats) GetExecutionStartTimestamp() *timestamppb.Timestamp

func (*ExecutionStats) ProtoMessage added in v0.0.11

func (*ExecutionStats) ProtoMessage()

func (*ExecutionStats) ProtoReflect added in v0.0.12

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

func (*ExecutionStats) Reset added in v0.0.11

func (x *ExecutionStats) Reset()

func (*ExecutionStats) String added in v0.0.11

func (x *ExecutionStats) String() string

type FileBlob

type FileBlob struct {
	BlobType *FileBlob_BlobType `protobuf:"varint,1,req,name=blob_type,json=blobType,enum=devtools_goma.FileBlob_BlobType" json:"blob_type,omitempty"`
	// for blob_type=FILE_CHUNK
	Offset *int64 `protobuf:"varint,10,opt,name=offset" json:"offset,omitempty"`
	// for blob_type=FILE or FILE_CHUNK
	Content []byte `protobuf:"bytes,11,opt,name=content" json:"content,omitempty"`
	// for all blob_types
	FileSize *int64 `protobuf:"varint,20,opt,name=file_size,json=fileSize" json:"file_size,omitempty"`
	// for blob_type=FILE_META.  hash_key is FileBlob hash of FILE_CHUNK.
	HashKey []string `protobuf:"bytes,21,rep,name=hash_key,json=hashKey" json:"hash_key,omitempty"`
	// contains filtered or unexported fields
}

hash_key = sha256(serialized FileBlob)

for small file (< 2MB) embedded

blob_type=FILE, !has_offset(), has_content()
                has_file_size(), hash_key_size() == 0

for large file

 blob_type=FILE_META, !has_offset(), !has_content()
                 has_file_size(), hash_key_size() > 0
for each hash_key(i)
   blob_type=FILE_CHUNK, has_offset(), has_content(),
                 has_file_size(), hash_key_size() == 0

for small file (< 2MB), stored as blob_type=FILE in file server with key=hash_key[0]

blob_type=FILE_REF, !hash_offset(), !has_content()
                has_file_size(), hash_key_size() == 1

func (*FileBlob) Descriptor deprecated

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

Deprecated: Use FileBlob.ProtoReflect.Descriptor instead.

func (*FileBlob) GetBlobType

func (x *FileBlob) GetBlobType() FileBlob_BlobType

func (*FileBlob) GetContent

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

func (*FileBlob) GetFileSize

func (x *FileBlob) GetFileSize() int64

func (*FileBlob) GetHashKey

func (x *FileBlob) GetHashKey() []string

func (*FileBlob) GetOffset

func (x *FileBlob) GetOffset() int64

func (*FileBlob) ProtoMessage

func (*FileBlob) ProtoMessage()

func (*FileBlob) ProtoReflect added in v0.0.12

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

func (*FileBlob) Reset

func (x *FileBlob) Reset()

func (*FileBlob) String

func (x *FileBlob) String() string

type FileBlob_BlobType

type FileBlob_BlobType int32
const (
	FileBlob_FILE_UNSPECIFIED FileBlob_BlobType = 0
	FileBlob_FILE             FileBlob_BlobType = 1
	FileBlob_FILE_META        FileBlob_BlobType = 2
	FileBlob_FILE_CHUNK       FileBlob_BlobType = 3
	// ARCHIVE = 4;
	FileBlob_FILE_REF FileBlob_BlobType = 5
)

func (FileBlob_BlobType) Descriptor added in v0.0.12

func (FileBlob_BlobType) Enum

func (FileBlob_BlobType) EnumDescriptor deprecated

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

Deprecated: Use FileBlob_BlobType.Descriptor instead.

func (FileBlob_BlobType) Number added in v0.0.12

func (FileBlob_BlobType) String

func (x FileBlob_BlobType) String() string

func (FileBlob_BlobType) Type added in v0.0.12

func (*FileBlob_BlobType) UnmarshalJSON deprecated

func (x *FileBlob_BlobType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type HttpPortResponse

type HttpPortResponse struct {
	Port *int32 `protobuf:"varint,1,req,name=port" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpPortResponse) Descriptor deprecated

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

Deprecated: Use HttpPortResponse.ProtoReflect.Descriptor instead.

func (*HttpPortResponse) GetPort

func (x *HttpPortResponse) GetPort() int32

func (*HttpPortResponse) ProtoMessage

func (*HttpPortResponse) ProtoMessage()

func (*HttpPortResponse) ProtoReflect added in v0.0.12

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

func (*HttpPortResponse) Reset

func (x *HttpPortResponse) Reset()

func (*HttpPortResponse) String

func (x *HttpPortResponse) String() string

type LookupFileReq

type LookupFileReq struct {
	HashKey       []string       `protobuf:"bytes,1,rep,name=hash_key,json=hashKey" json:"hash_key,omitempty"`
	RequesterInfo *RequesterInfo `protobuf:"bytes,10,opt,name=requester_info,json=requesterInfo" json:"requester_info,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupFileReq) Descriptor deprecated

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

Deprecated: Use LookupFileReq.ProtoReflect.Descriptor instead.

func (*LookupFileReq) GetHashKey

func (x *LookupFileReq) GetHashKey() []string

func (*LookupFileReq) GetRequesterInfo

func (x *LookupFileReq) GetRequesterInfo() *RequesterInfo

func (*LookupFileReq) ProtoMessage

func (*LookupFileReq) ProtoMessage()

func (*LookupFileReq) ProtoReflect added in v0.0.12

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

func (*LookupFileReq) Reset

func (x *LookupFileReq) Reset()

func (*LookupFileReq) String

func (x *LookupFileReq) String() string

type LookupFileResp

type LookupFileResp struct {
	Blob []*FileBlob `protobuf:"bytes,2,rep,name=blob" json:"blob,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupFileResp) Descriptor deprecated

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

Deprecated: Use LookupFileResp.ProtoReflect.Descriptor instead.

func (*LookupFileResp) GetBlob

func (x *LookupFileResp) GetBlob() []*FileBlob

func (*LookupFileResp) ProtoMessage

func (*LookupFileResp) ProtoMessage()

func (*LookupFileResp) ProtoReflect added in v0.0.12

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

func (*LookupFileResp) Reset

func (x *LookupFileResp) Reset()

func (*LookupFileResp) String

func (x *LookupFileResp) String() string

type MemoryUsageLog

type MemoryUsageLog struct {

	// compiler_proxy identification
	CompilerProxyStartTime *int32  `protobuf:"varint,1,opt,name=compiler_proxy_start_time,json=compilerProxyStartTime" json:"compiler_proxy_start_time,omitempty"`
	CompilerProxyUserAgent *string `protobuf:"bytes,2,opt,name=compiler_proxy_user_agent,json=compilerProxyUserAgent" json:"compiler_proxy_user_agent,omitempty"`
	// user information
	Username *string `protobuf:"bytes,3,opt,name=username" json:"username,omitempty"`
	Nodename *string `protobuf:"bytes,4,opt,name=nodename" json:"nodename,omitempty"`
	// memory information
	Memory        *int64 `protobuf:"varint,5,opt,name=memory" json:"memory,omitempty"`
	VirtualMemory *int64 `protobuf:"varint,7,opt,name=virtual_memory,json=virtualMemory" json:"virtual_memory,omitempty"`
	Time          *int64 `protobuf:"varint,6,opt,name=time" json:"time,omitempty"`
	// contains filtered or unexported fields
}

NEXT ID TO USE: 8

func (*MemoryUsageLog) Descriptor deprecated

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

Deprecated: Use MemoryUsageLog.ProtoReflect.Descriptor instead.

func (*MemoryUsageLog) GetCompilerProxyStartTime

func (x *MemoryUsageLog) GetCompilerProxyStartTime() int32

func (*MemoryUsageLog) GetCompilerProxyUserAgent

func (x *MemoryUsageLog) GetCompilerProxyUserAgent() string

func (*MemoryUsageLog) GetMemory

func (x *MemoryUsageLog) GetMemory() int64

func (*MemoryUsageLog) GetNodename

func (x *MemoryUsageLog) GetNodename() string

func (*MemoryUsageLog) GetTime

func (x *MemoryUsageLog) GetTime() int64

func (*MemoryUsageLog) GetUsername

func (x *MemoryUsageLog) GetUsername() string

func (*MemoryUsageLog) GetVirtualMemory

func (x *MemoryUsageLog) GetVirtualMemory() int64

func (*MemoryUsageLog) ProtoMessage

func (*MemoryUsageLog) ProtoMessage()

func (*MemoryUsageLog) ProtoReflect added in v0.0.12

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

func (*MemoryUsageLog) Reset

func (x *MemoryUsageLog) Reset()

func (*MemoryUsageLog) String

func (x *MemoryUsageLog) String() string

type NumberSummary

type NumberSummary struct {
	Samples       *int64 `protobuf:"varint,1,opt,name=samples" json:"samples,omitempty"`
	Average       *int32 `protobuf:"varint,2,opt,name=average" json:"average,omitempty"`
	Minimum       *int32 `protobuf:"varint,10,opt,name=minimum" json:"minimum,omitempty"`
	Percentile_2  *int32 `protobuf:"varint,11,opt,name=percentile_2,json=percentile2" json:"percentile_2,omitempty"`
	Percentile_9  *int32 `protobuf:"varint,12,opt,name=percentile_9,json=percentile9" json:"percentile_9,omitempty"`
	LowerQuantile *int32 `protobuf:"varint,13,opt,name=lower_quantile,json=lowerQuantile" json:"lower_quantile,omitempty"`
	Median        *int32 `protobuf:"varint,14,opt,name=median" json:"median,omitempty"`
	UpperQuantile *int32 `protobuf:"varint,15,opt,name=upper_quantile,json=upperQuantile" json:"upper_quantile,omitempty"`
	Percentile_91 *int32 `protobuf:"varint,16,opt,name=percentile_91,json=percentile91" json:"percentile_91,omitempty"`
	Percentile_98 *int32 `protobuf:"varint,17,opt,name=percentile_98,json=percentile98" json:"percentile_98,omitempty"`
	Maximum       *int32 `protobuf:"varint,18,opt,name=maximum" json:"maximum,omitempty"`
	// contains filtered or unexported fields
}

func (*NumberSummary) Descriptor deprecated

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

Deprecated: Use NumberSummary.ProtoReflect.Descriptor instead.

func (*NumberSummary) GetAverage

func (x *NumberSummary) GetAverage() int32

func (*NumberSummary) GetLowerQuantile

func (x *NumberSummary) GetLowerQuantile() int32

func (*NumberSummary) GetMaximum

func (x *NumberSummary) GetMaximum() int32

func (*NumberSummary) GetMedian

func (x *NumberSummary) GetMedian() int32

func (*NumberSummary) GetMinimum

func (x *NumberSummary) GetMinimum() int32

func (*NumberSummary) GetPercentile_2

func (x *NumberSummary) GetPercentile_2() int32

func (*NumberSummary) GetPercentile_9

func (x *NumberSummary) GetPercentile_9() int32

func (*NumberSummary) GetPercentile_91

func (x *NumberSummary) GetPercentile_91() int32

func (*NumberSummary) GetPercentile_98

func (x *NumberSummary) GetPercentile_98() int32

func (*NumberSummary) GetSamples

func (x *NumberSummary) GetSamples() int64

func (*NumberSummary) GetUpperQuantile

func (x *NumberSummary) GetUpperQuantile() int32

func (*NumberSummary) ProtoMessage

func (*NumberSummary) ProtoMessage()

func (*NumberSummary) ProtoReflect added in v0.0.12

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

func (*NumberSummary) Reset

func (x *NumberSummary) Reset()

func (*NumberSummary) String

func (x *NumberSummary) String() string

type OSInfo

type OSInfo struct {

	// Types that are assignable to OsInfoOneof:
	//
	//	*OSInfo_LinuxInfo_
	//	*OSInfo_WinInfo_
	//	*OSInfo_MacInfo_
	OsInfoOneof isOSInfo_OsInfoOneof `protobuf_oneof:"os_info_oneof"`
	// contains filtered or unexported fields
}

NEXT ID TO USE: 4

func (*OSInfo) Descriptor deprecated

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

Deprecated: Use OSInfo.ProtoReflect.Descriptor instead.

func (*OSInfo) GetLinuxInfo

func (x *OSInfo) GetLinuxInfo() *OSInfo_LinuxInfo

func (*OSInfo) GetMacInfo

func (x *OSInfo) GetMacInfo() *OSInfo_MacInfo

func (*OSInfo) GetOsInfoOneof

func (m *OSInfo) GetOsInfoOneof() isOSInfo_OsInfoOneof

func (*OSInfo) GetWinInfo

func (x *OSInfo) GetWinInfo() *OSInfo_WinInfo

func (*OSInfo) ProtoMessage

func (*OSInfo) ProtoMessage()

func (*OSInfo) ProtoReflect added in v0.0.12

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

func (*OSInfo) Reset

func (x *OSInfo) Reset()

func (*OSInfo) String

func (x *OSInfo) String() string

type OSInfo_LinuxInfo

type OSInfo_LinuxInfo struct {
	GnuLibcVersion *string `protobuf:"bytes,1,opt,name=gnu_libc_version,json=gnuLibcVersion" json:"gnu_libc_version,omitempty"`
	// contains filtered or unexported fields
}

func (*OSInfo_LinuxInfo) Descriptor deprecated

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

Deprecated: Use OSInfo_LinuxInfo.ProtoReflect.Descriptor instead.

func (*OSInfo_LinuxInfo) GetGnuLibcVersion

func (x *OSInfo_LinuxInfo) GetGnuLibcVersion() string

func (*OSInfo_LinuxInfo) ProtoMessage

func (*OSInfo_LinuxInfo) ProtoMessage()

func (*OSInfo_LinuxInfo) ProtoReflect added in v0.0.12

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

func (*OSInfo_LinuxInfo) Reset

func (x *OSInfo_LinuxInfo) Reset()

func (*OSInfo_LinuxInfo) String

func (x *OSInfo_LinuxInfo) String() string

type OSInfo_LinuxInfo_

type OSInfo_LinuxInfo_ struct {
	LinuxInfo *OSInfo_LinuxInfo `protobuf:"bytes,1,opt,name=linux_info,json=linuxInfo,oneof"`
}

type OSInfo_MacInfo

type OSInfo_MacInfo struct {

	// TODO: Have max_osx_major_version
	MacOsxMinorVersion *int32 `protobuf:"varint,1,opt,name=mac_osx_minor_version,json=macOsxMinorVersion" json:"mac_osx_minor_version,omitempty"`
	// contains filtered or unexported fields
}

func (*OSInfo_MacInfo) Descriptor deprecated

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

Deprecated: Use OSInfo_MacInfo.ProtoReflect.Descriptor instead.

func (*OSInfo_MacInfo) GetMacOsxMinorVersion

func (x *OSInfo_MacInfo) GetMacOsxMinorVersion() int32

func (*OSInfo_MacInfo) ProtoMessage

func (*OSInfo_MacInfo) ProtoMessage()

func (*OSInfo_MacInfo) ProtoReflect added in v0.0.12

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

func (*OSInfo_MacInfo) Reset

func (x *OSInfo_MacInfo) Reset()

func (*OSInfo_MacInfo) String

func (x *OSInfo_MacInfo) String() string

type OSInfo_MacInfo_

type OSInfo_MacInfo_ struct {
	MacInfo *OSInfo_MacInfo `protobuf:"bytes,3,opt,name=mac_info,json=macInfo,oneof"`
}

type OSInfo_WinInfo

type OSInfo_WinInfo struct {
	// contains filtered or unexported fields
}

func (*OSInfo_WinInfo) Descriptor deprecated

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

Deprecated: Use OSInfo_WinInfo.ProtoReflect.Descriptor instead.

func (*OSInfo_WinInfo) ProtoMessage

func (*OSInfo_WinInfo) ProtoMessage()

func (*OSInfo_WinInfo) ProtoReflect added in v0.0.12

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

func (*OSInfo_WinInfo) Reset

func (x *OSInfo_WinInfo) Reset()

func (*OSInfo_WinInfo) String

func (x *OSInfo_WinInfo) String() string

type OSInfo_WinInfo_

type OSInfo_WinInfo_ struct {
	WinInfo *OSInfo_WinInfo `protobuf:"bytes,2,opt,name=win_info,json=winInfo,oneof"`
}

type PlatformProperty added in v0.0.17

type PlatformProperty struct {
	Name  *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*PlatformProperty) Descriptor deprecated added in v0.0.17

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

Deprecated: Use PlatformProperty.ProtoReflect.Descriptor instead.

func (*PlatformProperty) GetName added in v0.0.17

func (x *PlatformProperty) GetName() string

func (*PlatformProperty) GetValue added in v0.0.17

func (x *PlatformProperty) GetValue() string

func (*PlatformProperty) ProtoMessage added in v0.0.17

func (*PlatformProperty) ProtoMessage()

func (*PlatformProperty) ProtoReflect added in v0.0.17

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

func (*PlatformProperty) Reset added in v0.0.17

func (x *PlatformProperty) Reset()

func (*PlatformProperty) String added in v0.0.17

func (x *PlatformProperty) String() string

type RequesterEnv

type RequesterEnv struct {
	GomaccPath        *string  `protobuf:"bytes,41,opt,name=gomacc_path,json=gomaccPath" json:"gomacc_path,omitempty"`                        // full pathname of gomacc.
	LocalPath         *string  `protobuf:"bytes,42,opt,name=local_path,json=localPath" json:"local_path,omitempty"`                           // user's PATH.
	Umask             *int32   `protobuf:"varint,43,opt,name=umask" json:"umask,omitempty"`                                                   // user's umask.
	VerifyOutput      *bool    `protobuf:"varint,50,opt,name=verify_output,json=verifyOutput" json:"verify_output,omitempty"`                 // GOMA_VERIFY_OUTPUT
	UseLocal          *bool    `protobuf:"varint,51,opt,name=use_local,json=useLocal" json:"use_local,omitempty"`                             // GOMA_USE_LOCAL
	Fallback          *bool    `protobuf:"varint,52,opt,name=fallback" json:"fallback,omitempty"`                                             // GOMA_FALLBACK
	VerifyCommand     *string  `protobuf:"bytes,53,opt,name=verify_command,json=verifyCommand" json:"verify_command,omitempty"`               // GOMA_VERIFY_COMMAND
	FallbackInputFile []string `protobuf:"bytes,60,rep,name=fallback_input_file,json=fallbackInputFile" json:"fallback_input_file,omitempty"` // GOMA_FALLBACK_INPUT_FILES
	// contains filtered or unexported fields
}

func (*RequesterEnv) Descriptor deprecated

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

Deprecated: Use RequesterEnv.ProtoReflect.Descriptor instead.

func (*RequesterEnv) GetFallback

func (x *RequesterEnv) GetFallback() bool

func (*RequesterEnv) GetFallbackInputFile

func (x *RequesterEnv) GetFallbackInputFile() []string

func (*RequesterEnv) GetGomaccPath

func (x *RequesterEnv) GetGomaccPath() string

func (*RequesterEnv) GetLocalPath

func (x *RequesterEnv) GetLocalPath() string

func (*RequesterEnv) GetUmask

func (x *RequesterEnv) GetUmask() int32

func (*RequesterEnv) GetUseLocal

func (x *RequesterEnv) GetUseLocal() bool

func (*RequesterEnv) GetVerifyCommand

func (x *RequesterEnv) GetVerifyCommand() string

func (*RequesterEnv) GetVerifyOutput

func (x *RequesterEnv) GetVerifyOutput() bool

func (*RequesterEnv) ProtoMessage

func (*RequesterEnv) ProtoMessage()

func (*RequesterEnv) ProtoReflect added in v0.0.12

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

func (*RequesterEnv) Reset

func (x *RequesterEnv) Reset()

func (*RequesterEnv) String

func (x *RequesterEnv) String() string

type RequesterInfo

type RequesterInfo struct {
	Addr     *string `protobuf:"bytes,1,opt,name=addr" json:"addr,omitempty"`         // requester's ip addr.
	Username *string `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"` // requester's user name
	// Identifier for each compiler_proxy request.
	CompilerProxyId *string `protobuf:"bytes,3,opt,name=compiler_proxy_id,json=compilerProxyId" json:"compiler_proxy_id,omitempty"`
	// Can't use [default=CURRENT_VERSION] since GomaApiVersion is not int32.
	ApiVersion *int32 `protobuf:"varint,4,opt,name=api_version,json=apiVersion,def=2" json:"api_version,omitempty"`
	Pid        *int32 `protobuf:"varint,5,opt,name=pid" json:"pid,omitempty"`
	// # of retry. 0 is first call.
	Retry        *int32  `protobuf:"varint,7,opt,name=retry" json:"retry,omitempty"`
	GomaRevision *string `protobuf:"bytes,8,opt,name=goma_revision,json=gomaRevision" json:"goma_revision,omitempty"`
	// Unique ID per build.
	// Client should set unique identifier of the build in this field.
	//
	// Note to LUCI users: since there could be multiple compile steps for
	// recipes, you cannot use buildbucket build_id here.
	BuildId *string `protobuf:"bytes,9,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
	// Requester's dimensions. Each dimension is a "<key>:<value>" pair.
	//
	// `dimensions` can define the constraint of the remote machine.
	// e.g. "os":"linux".
	//
	// Inspired from swarming bot dimensions.
	// https://chromium.googlesource.com/infra/luci/luci-py/+/effbcfcafa96e0840189a98ac485586ba2c2ceb6/appengine/swarming/proto/config/bots.proto
	Dimensions []string `protobuf:"bytes,10,rep,name=dimensions" json:"dimensions,omitempty"`
	// Requester's path style.
	PathStyle *RequesterInfo_PathStyle `` /* 126-byte string literal not displayed */
	// re-client compat flags
	// The exec root of the command.
	ExecRoot *string `protobuf:"bytes,12,opt,name=exec_root,json=execRoot" json:"exec_root,omitempty"`
	// This is used to identify remote platform settings like the docker image
	// to use to run the command.
	PlatformProperties []*PlatformProperty `protobuf:"bytes,13,rep,name=platform_properties,json=platformProperties" json:"platform_properties,omitempty"`
	// contains filtered or unexported fields
}

NEXT ID TO USE: 14

func (*RequesterInfo) Descriptor deprecated

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

Deprecated: Use RequesterInfo.ProtoReflect.Descriptor instead.

func (*RequesterInfo) GetAddr

func (x *RequesterInfo) GetAddr() string

func (*RequesterInfo) GetApiVersion

func (x *RequesterInfo) GetApiVersion() int32

func (*RequesterInfo) GetBuildId

func (x *RequesterInfo) GetBuildId() string

func (*RequesterInfo) GetCompilerProxyId

func (x *RequesterInfo) GetCompilerProxyId() string

func (*RequesterInfo) GetDimensions

func (x *RequesterInfo) GetDimensions() []string

func (*RequesterInfo) GetExecRoot added in v0.0.17

func (x *RequesterInfo) GetExecRoot() string

func (*RequesterInfo) GetGomaRevision

func (x *RequesterInfo) GetGomaRevision() string

func (*RequesterInfo) GetPathStyle

func (x *RequesterInfo) GetPathStyle() RequesterInfo_PathStyle

func (*RequesterInfo) GetPid

func (x *RequesterInfo) GetPid() int32

func (*RequesterInfo) GetPlatformProperties added in v0.0.17

func (x *RequesterInfo) GetPlatformProperties() []*PlatformProperty

func (*RequesterInfo) GetRetry

func (x *RequesterInfo) GetRetry() int32

func (*RequesterInfo) GetUsername

func (x *RequesterInfo) GetUsername() string

func (*RequesterInfo) ProtoMessage

func (*RequesterInfo) ProtoMessage()

func (*RequesterInfo) ProtoReflect added in v0.0.12

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

func (*RequesterInfo) Reset

func (x *RequesterInfo) Reset()

func (*RequesterInfo) String

func (x *RequesterInfo) String() string

type RequesterInfo_GomaApiVersion

type RequesterInfo_GomaApiVersion int32

The version of goma protocol. This is intended to be used for two purpose:

  • When we changes the meanings of compiler_proxy's request, we may want to support the previous type of requests in our backend for a while. Backend can change its behavior by checking the value of this field.
  • Once a server stops supporting the old behavior, the backend can send an error messages to the client. Also, we can track the clients' versions with this field so we can easily decide if it's safe to stop supporting the old behavior.

0 => 1: Changed the meaning of command_spec.system_include_path.

Now -isysroot in a command line is considered to obtain this field.

1 => 2: command_spec.version contains vendor versions.

E.g., 4.4.3[Ubuntu 4.4.3-4ubuntu5]
const (
	RequesterInfo_CURRENT_VERSION RequesterInfo_GomaApiVersion = 2
)

func (RequesterInfo_GomaApiVersion) Descriptor added in v0.0.12

func (RequesterInfo_GomaApiVersion) Enum

func (RequesterInfo_GomaApiVersion) EnumDescriptor deprecated

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

Deprecated: Use RequesterInfo_GomaApiVersion.Descriptor instead.

func (RequesterInfo_GomaApiVersion) Number added in v0.0.12

func (RequesterInfo_GomaApiVersion) String

func (RequesterInfo_GomaApiVersion) Type added in v0.0.12

func (*RequesterInfo_GomaApiVersion) UnmarshalJSON deprecated

func (x *RequesterInfo_GomaApiVersion) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RequesterInfo_PathStyle

type RequesterInfo_PathStyle int32

Implementation Note: `WINDOWS` is defined on Win, so we have to add prefix or suffix.

const (
	RequesterInfo_UNKNOWN_STYLE RequesterInfo_PathStyle = 0
	RequesterInfo_POSIX_STYLE   RequesterInfo_PathStyle = 1 // unix-style, slash separated.
	RequesterInfo_WINDOWS_STYLE RequesterInfo_PathStyle = 2 // windows-style. backslash separated.
)

func (RequesterInfo_PathStyle) Descriptor added in v0.0.12

func (RequesterInfo_PathStyle) Enum

func (RequesterInfo_PathStyle) EnumDescriptor deprecated

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

Deprecated: Use RequesterInfo_PathStyle.Descriptor instead.

func (RequesterInfo_PathStyle) Number added in v0.0.12

func (RequesterInfo_PathStyle) String

func (x RequesterInfo_PathStyle) String() string

func (RequesterInfo_PathStyle) Type added in v0.0.12

func (*RequesterInfo_PathStyle) UnmarshalJSON deprecated

func (x *RequesterInfo_PathStyle) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SaveLogReq

type SaveLogReq struct {
	ExecLog        []*ExecLog        `protobuf:"bytes,1,rep,name=exec_log,json=execLog" json:"exec_log,omitempty"`
	MemoryUsageLog []*MemoryUsageLog `protobuf:"bytes,2,rep,name=memory_usage_log,json=memoryUsageLog" json:"memory_usage_log,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveLogReq) Descriptor deprecated

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

Deprecated: Use SaveLogReq.ProtoReflect.Descriptor instead.

func (*SaveLogReq) GetExecLog

func (x *SaveLogReq) GetExecLog() []*ExecLog

func (*SaveLogReq) GetMemoryUsageLog

func (x *SaveLogReq) GetMemoryUsageLog() []*MemoryUsageLog

func (*SaveLogReq) ProtoMessage

func (*SaveLogReq) ProtoMessage()

func (*SaveLogReq) ProtoReflect added in v0.0.12

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

func (*SaveLogReq) Reset

func (x *SaveLogReq) Reset()

func (*SaveLogReq) String

func (x *SaveLogReq) String() string

type SaveLogResp

type SaveLogResp struct {
	// contains filtered or unexported fields
}

func (*SaveLogResp) Descriptor deprecated

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

Deprecated: Use SaveLogResp.ProtoReflect.Descriptor instead.

func (*SaveLogResp) ProtoMessage

func (*SaveLogResp) ProtoMessage()

func (*SaveLogResp) ProtoReflect added in v0.0.12

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

func (*SaveLogResp) Reset

func (x *SaveLogResp) Reset()

func (*SaveLogResp) String

func (x *SaveLogResp) String() string

type StoreFileReq

type StoreFileReq struct {
	Blob          []*FileBlob    `protobuf:"bytes,1,rep,name=blob" json:"blob,omitempty"`
	RequesterInfo *RequesterInfo `protobuf:"bytes,10,opt,name=requester_info,json=requesterInfo" json:"requester_info,omitempty"`
	// contains filtered or unexported fields
}

func (*StoreFileReq) Descriptor deprecated

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

Deprecated: Use StoreFileReq.ProtoReflect.Descriptor instead.

func (*StoreFileReq) GetBlob

func (x *StoreFileReq) GetBlob() []*FileBlob

func (*StoreFileReq) GetRequesterInfo

func (x *StoreFileReq) GetRequesterInfo() *RequesterInfo

func (*StoreFileReq) ProtoMessage

func (*StoreFileReq) ProtoMessage()

func (*StoreFileReq) ProtoReflect added in v0.0.12

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

func (*StoreFileReq) Reset

func (x *StoreFileReq) Reset()

func (*StoreFileReq) String

func (x *StoreFileReq) String() string

type StoreFileResp

type StoreFileResp struct {
	HashKey []string `protobuf:"bytes,1,rep,name=hash_key,json=hashKey" json:"hash_key,omitempty"` // sha256(blob) for success or "" for error
	// contains filtered or unexported fields
}

func (*StoreFileResp) Descriptor deprecated

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

Deprecated: Use StoreFileResp.ProtoReflect.Descriptor instead.

func (*StoreFileResp) GetHashKey

func (x *StoreFileResp) GetHashKey() []string

func (*StoreFileResp) ProtoMessage

func (*StoreFileResp) ProtoMessage()

func (*StoreFileResp) ProtoReflect added in v0.0.12

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

func (*StoreFileResp) Reset

func (x *StoreFileResp) Reset()

func (*StoreFileResp) String

func (x *StoreFileResp) String() string

type SubprogramSpec

type SubprogramSpec struct {

	// full path (in client filesystem)
	// or basename (in result when default subprogram is used).
	Path       *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	BinaryHash *string `protobuf:"bytes,2,opt,name=binary_hash,json=binaryHash" json:"binary_hash,omitempty"`
	// Binary size of the subprogram.
	Size *int64 `protobuf:"varint,3,opt,name=size" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*SubprogramSpec) Descriptor deprecated

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

Deprecated: Use SubprogramSpec.ProtoReflect.Descriptor instead.

func (*SubprogramSpec) GetBinaryHash

func (x *SubprogramSpec) GetBinaryHash() string

func (*SubprogramSpec) GetPath

func (x *SubprogramSpec) GetPath() string

func (*SubprogramSpec) GetSize

func (x *SubprogramSpec) GetSize() int64

func (*SubprogramSpec) ProtoMessage

func (*SubprogramSpec) ProtoMessage()

func (*SubprogramSpec) ProtoReflect added in v0.0.12

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

func (*SubprogramSpec) Reset

func (x *SubprogramSpec) Reset()

func (*SubprogramSpec) String

func (x *SubprogramSpec) String() string

type ToolchainSpec

type ToolchainSpec struct {

	// path to toolchain. Relative path from ExecReq::cwd or Absolute path.
	Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// SHA256 hash of the toolchain.
	Hash *string `protobuf:"bytes,2,opt,name=hash" json:"hash,omitempty"`
	// file size of toolchain (in bytes).
	Size *int64 `protobuf:"varint,3,opt,name=size" json:"size,omitempty"`
	// true if the toolchain has 'x' bit.
	IsExecutable *bool `protobuf:"varint,4,opt,name=is_executable,json=isExecutable" json:"is_executable,omitempty"`
	// If this spec is a symlink, set this path.
	// hash, size, and is_executable should be empty in this case.
	// If this spec is not a symlink, this should be empty.
	SymlinkPath *string `protobuf:"bytes,5,opt,name=symlink_path,json=symlinkPath" json:"symlink_path,omitempty"`
	// contains filtered or unexported fields
}

Experimental. Specifies toolchain specification. This spec is necessary only if toolchain is also uploaded.

func (*ToolchainSpec) Descriptor deprecated

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

Deprecated: Use ToolchainSpec.ProtoReflect.Descriptor instead.

func (*ToolchainSpec) GetHash

func (x *ToolchainSpec) GetHash() string

func (*ToolchainSpec) GetIsExecutable

func (x *ToolchainSpec) GetIsExecutable() bool

func (*ToolchainSpec) GetPath

func (x *ToolchainSpec) GetPath() string

func (*ToolchainSpec) GetSize

func (x *ToolchainSpec) GetSize() int64

func (*ToolchainSpec) GetSymlinkPath

func (x *ToolchainSpec) GetSymlinkPath() string

func (*ToolchainSpec) ProtoMessage

func (*ToolchainSpec) ProtoMessage()

func (*ToolchainSpec) ProtoReflect added in v0.0.12

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

func (*ToolchainSpec) Reset

func (x *ToolchainSpec) Reset()

func (*ToolchainSpec) String

func (x *ToolchainSpec) String() string

Jump to

Keyboard shortcuts

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