proto

package
v0.0.0-...-d996d1d Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package proto provides protocol buffer message for execute.

Index

Constants

This section is empty.

Variables

View Source
var File_rusage_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Rusage

type Rusage struct {
	MaxRss  int64                `protobuf:"varint,1,opt,name=max_rss,json=maxRss,proto3" json:"max_rss,omitempty"`
	Majflt  int64                `protobuf:"varint,2,opt,name=majflt,proto3" json:"majflt,omitempty"`
	Inblock int64                `protobuf:"varint,3,opt,name=inblock,proto3" json:"inblock,omitempty"`
	Oublock int64                `protobuf:"varint,4,opt,name=oublock,proto3" json:"oublock,omitempty"`
	Utime   *durationpb.Duration `protobuf:"bytes,5,opt,name=utime,proto3" json:"utime,omitempty"`
	Stime   *durationpb.Duration `protobuf:"bytes,6,opt,name=stime,proto3" json:"stime,omitempty"`
	// contains filtered or unexported fields
}

resource usage of command execution to be stored in ActionResult.execution_metadata.auxiliary_metatada. https://github.com/bazelbuild/remote-apis/blob/6c32c3b917cc5d3cfee680c03179d7552832bb3f/build/bazel/remote/execution/v2/remote_execution.proto#L1016

func (*Rusage) Descriptor deprecated

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

Deprecated: Use Rusage.ProtoReflect.Descriptor instead.

func (*Rusage) GetInblock

func (x *Rusage) GetInblock() int64

func (*Rusage) GetMajflt

func (x *Rusage) GetMajflt() int64

func (*Rusage) GetMaxRss

func (x *Rusage) GetMaxRss() int64

func (*Rusage) GetOublock

func (x *Rusage) GetOublock() int64

func (*Rusage) GetStime

func (x *Rusage) GetStime() *durationpb.Duration

func (*Rusage) GetUtime

func (x *Rusage) GetUtime() *durationpb.Duration

func (*Rusage) ProtoMessage

func (*Rusage) ProtoMessage()

func (*Rusage) ProtoReflect

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

func (*Rusage) Reset

func (x *Rusage) Reset()

func (*Rusage) String

func (x *Rusage) String() string

Jump to

Keyboard shortcuts

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