mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-21 14:20:23 -04:00
589 lines
20 KiB
Go
589 lines
20 KiB
Go
![]() |
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// source: google/devtools/resultstore/v2/common.proto
|
||
|
|
||
|
package resultstore // import "google.golang.org/genproto/googleapis/devtools/resultstore/v2"
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
import duration "github.com/golang/protobuf/ptypes/duration"
|
||
|
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ = proto.Marshal
|
||
|
var _ = fmt.Errorf
|
||
|
var _ = math.Inf
|
||
|
|
||
|
// This is a compile-time assertion to ensure that this generated file
|
||
|
// is compatible with the proto package it is being compiled against.
|
||
|
// A compilation error at this line likely means your copy of the
|
||
|
// proto package needs to be updated.
|
||
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||
|
|
||
|
// These correspond to the prefix of the rule name. Eg cc_test has language CC.
|
||
|
type Language int32
|
||
|
|
||
|
const (
|
||
|
// Language unspecified or not listed here.
|
||
|
Language_LANGUAGE_UNSPECIFIED Language = 0
|
||
|
// Not related to any particular language
|
||
|
Language_NONE Language = 1
|
||
|
// Android
|
||
|
Language_ANDROID Language = 2
|
||
|
// ActionScript (Flash)
|
||
|
Language_AS Language = 3
|
||
|
// C++ or C
|
||
|
Language_CC Language = 4
|
||
|
// Cascading-Style-Sheets
|
||
|
Language_CSS Language = 5
|
||
|
// Dart
|
||
|
Language_DART Language = 6
|
||
|
// Go
|
||
|
Language_GO Language = 7
|
||
|
// Google-Web-Toolkit
|
||
|
Language_GWT Language = 8
|
||
|
// Haskell
|
||
|
Language_HASKELL Language = 9
|
||
|
// Java
|
||
|
Language_JAVA Language = 10
|
||
|
// Javascript
|
||
|
Language_JS Language = 11
|
||
|
// Lisp
|
||
|
Language_LISP Language = 12
|
||
|
// Objective-C
|
||
|
Language_OBJC Language = 13
|
||
|
// Python
|
||
|
Language_PY Language = 14
|
||
|
// Shell (Typically Bash)
|
||
|
Language_SH Language = 15
|
||
|
// Swift
|
||
|
Language_SWIFT Language = 16
|
||
|
// Typescript
|
||
|
Language_TS Language = 18
|
||
|
// Webtesting
|
||
|
Language_WEB Language = 19
|
||
|
)
|
||
|
|
||
|
var Language_name = map[int32]string{
|
||
|
0: "LANGUAGE_UNSPECIFIED",
|
||
|
1: "NONE",
|
||
|
2: "ANDROID",
|
||
|
3: "AS",
|
||
|
4: "CC",
|
||
|
5: "CSS",
|
||
|
6: "DART",
|
||
|
7: "GO",
|
||
|
8: "GWT",
|
||
|
9: "HASKELL",
|
||
|
10: "JAVA",
|
||
|
11: "JS",
|
||
|
12: "LISP",
|
||
|
13: "OBJC",
|
||
|
14: "PY",
|
||
|
15: "SH",
|
||
|
16: "SWIFT",
|
||
|
18: "TS",
|
||
|
19: "WEB",
|
||
|
}
|
||
|
var Language_value = map[string]int32{
|
||
|
"LANGUAGE_UNSPECIFIED": 0,
|
||
|
"NONE": 1,
|
||
|
"ANDROID": 2,
|
||
|
"AS": 3,
|
||
|
"CC": 4,
|
||
|
"CSS": 5,
|
||
|
"DART": 6,
|
||
|
"GO": 7,
|
||
|
"GWT": 8,
|
||
|
"HASKELL": 9,
|
||
|
"JAVA": 10,
|
||
|
"JS": 11,
|
||
|
"LISP": 12,
|
||
|
"OBJC": 13,
|
||
|
"PY": 14,
|
||
|
"SH": 15,
|
||
|
"SWIFT": 16,
|
||
|
"TS": 18,
|
||
|
"WEB": 19,
|
||
|
}
|
||
|
|
||
|
func (x Language) String() string {
|
||
|
return proto.EnumName(Language_name, int32(x))
|
||
|
}
|
||
|
func (Language) EnumDescriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_common_47ffbc3d0eb889a6, []int{0}
|
||
|
}
|
||
|
|
||
|
// Status of a resource.
|
||
|
type Status int32
|
||
|
|
||
|
const (
|
||
|
// The implicit default enum value. Should never be set.
|
||
|
Status_STATUS_UNSPECIFIED Status = 0
|
||
|
// Displays as "Building". Means the target is compiling, linking, etc.
|
||
|
Status_BUILDING Status = 1
|
||
|
// Displays as "Built". Means the target was built successfully.
|
||
|
// If testing was requested, it should never reach this status: it should go
|
||
|
// straight from BUILDING to TESTING.
|
||
|
Status_BUILT Status = 2
|
||
|
// Displays as "Broken". Means build failure such as compile error.
|
||
|
Status_FAILED_TO_BUILD Status = 3
|
||
|
// Displays as "Testing". Means the test is running.
|
||
|
Status_TESTING Status = 4
|
||
|
// Displays as "Passed". Means the test was run and passed.
|
||
|
Status_PASSED Status = 5
|
||
|
// Displays as "Failed". Means the test was run and failed.
|
||
|
Status_FAILED Status = 6
|
||
|
// Displays as "Timed out". Means the test didn't finish in time.
|
||
|
Status_TIMED_OUT Status = 7
|
||
|
// Displays as "Cancelled". Means the build or test was cancelled.
|
||
|
// E.g. User hit control-C.
|
||
|
Status_CANCELLED Status = 8
|
||
|
// Displays as "Tool Failed". Means the build or test had internal tool
|
||
|
// failure.
|
||
|
Status_TOOL_FAILED Status = 9
|
||
|
// Displays as "Incomplete". Means the build or test did not complete. This
|
||
|
// might happen when a build breakage or test failure causes the tool to stop
|
||
|
// trying to build anything more or run any more tests, with the default
|
||
|
// bazel --nokeep_going option or the --notest_keep_going option.
|
||
|
Status_INCOMPLETE Status = 10
|
||
|
// Displays as "Flaky". Means the aggregate status contains some runs that
|
||
|
// were successful, and some that were not.
|
||
|
Status_FLAKY Status = 11
|
||
|
// Displays as "Unknown". Means the tool uploading to the server died
|
||
|
// mid-upload or does not know the state.
|
||
|
Status_UNKNOWN Status = 12
|
||
|
// Displays as "Skipped". Means building and testing were skipped.
|
||
|
// (E.g. Restricted to a different configuration.)
|
||
|
Status_SKIPPED Status = 13
|
||
|
)
|
||
|
|
||
|
var Status_name = map[int32]string{
|
||
|
0: "STATUS_UNSPECIFIED",
|
||
|
1: "BUILDING",
|
||
|
2: "BUILT",
|
||
|
3: "FAILED_TO_BUILD",
|
||
|
4: "TESTING",
|
||
|
5: "PASSED",
|
||
|
6: "FAILED",
|
||
|
7: "TIMED_OUT",
|
||
|
8: "CANCELLED",
|
||
|
9: "TOOL_FAILED",
|
||
|
10: "INCOMPLETE",
|
||
|
11: "FLAKY",
|
||
|
12: "UNKNOWN",
|
||
|
13: "SKIPPED",
|
||
|
}
|
||
|
var Status_value = map[string]int32{
|
||
|
"STATUS_UNSPECIFIED": 0,
|
||
|
"BUILDING": 1,
|
||
|
"BUILT": 2,
|
||
|
"FAILED_TO_BUILD": 3,
|
||
|
"TESTING": 4,
|
||
|
"PASSED": 5,
|
||
|
"FAILED": 6,
|
||
|
"TIMED_OUT": 7,
|
||
|
"CANCELLED": 8,
|
||
|
"TOOL_FAILED": 9,
|
||
|
"INCOMPLETE": 10,
|
||
|
"FLAKY": 11,
|
||
|
"UNKNOWN": 12,
|
||
|
"SKIPPED": 13,
|
||
|
}
|
||
|
|
||
|
func (x Status) String() string {
|
||
|
return proto.EnumName(Status_name, int32(x))
|
||
|
}
|
||
|
func (Status) EnumDescriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_common_47ffbc3d0eb889a6, []int{1}
|
||
|
}
|
||
|
|
||
|
// Describes the status of a resource in both enum and string form.
|
||
|
// Only use description when conveying additional info not captured in the enum
|
||
|
// name.
|
||
|
type StatusAttributes struct {
|
||
|
// Enum representation of the status.
|
||
|
Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=google.devtools.resultstore.v2.Status" json:"status,omitempty"`
|
||
|
// A longer description about the status.
|
||
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *StatusAttributes) Reset() { *m = StatusAttributes{} }
|
||
|
func (m *StatusAttributes) String() string { return proto.CompactTextString(m) }
|
||
|
func (*StatusAttributes) ProtoMessage() {}
|
||
|
func (*StatusAttributes) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_common_47ffbc3d0eb889a6, []int{0}
|
||
|
}
|
||
|
func (m *StatusAttributes) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_StatusAttributes.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *StatusAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_StatusAttributes.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (dst *StatusAttributes) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_StatusAttributes.Merge(dst, src)
|
||
|
}
|
||
|
func (m *StatusAttributes) XXX_Size() int {
|
||
|
return xxx_messageInfo_StatusAttributes.Size(m)
|
||
|
}
|
||
|
func (m *StatusAttributes) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_StatusAttributes.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_StatusAttributes proto.InternalMessageInfo
|
||
|
|
||
|
func (m *StatusAttributes) GetStatus() Status {
|
||
|
if m != nil {
|
||
|
return m.Status
|
||
|
}
|
||
|
return Status_STATUS_UNSPECIFIED
|
||
|
}
|
||
|
|
||
|
func (m *StatusAttributes) GetDescription() string {
|
||
|
if m != nil {
|
||
|
return m.Description
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
// A generic key-value property definition.
|
||
|
type Property struct {
|
||
|
// The key.
|
||
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||
|
// The value.
|
||
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *Property) Reset() { *m = Property{} }
|
||
|
func (m *Property) String() string { return proto.CompactTextString(m) }
|
||
|
func (*Property) ProtoMessage() {}
|
||
|
func (*Property) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_common_47ffbc3d0eb889a6, []int{1}
|
||
|
}
|
||
|
func (m *Property) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_Property.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_Property.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (dst *Property) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_Property.Merge(dst, src)
|
||
|
}
|
||
|
func (m *Property) XXX_Size() int {
|
||
|
return xxx_messageInfo_Property.Size(m)
|
||
|
}
|
||
|
func (m *Property) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_Property.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_Property proto.InternalMessageInfo
|
||
|
|
||
|
func (m *Property) GetKey() string {
|
||
|
if m != nil {
|
||
|
return m.Key
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Property) GetValue() string {
|
||
|
if m != nil {
|
||
|
return m.Value
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
// The timing of a particular Invocation, Action, etc. The start_time is
|
||
|
// specified, stop time can be calculated by adding duration to start_time.
|
||
|
type Timing struct {
|
||
|
// The time the resource started running. This is in UTC Epoch time.
|
||
|
StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
|
||
|
// The duration for which the resource ran.
|
||
|
Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *Timing) Reset() { *m = Timing{} }
|
||
|
func (m *Timing) String() string { return proto.CompactTextString(m) }
|
||
|
func (*Timing) ProtoMessage() {}
|
||
|
func (*Timing) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_common_47ffbc3d0eb889a6, []int{2}
|
||
|
}
|
||
|
func (m *Timing) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_Timing.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *Timing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_Timing.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (dst *Timing) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_Timing.Merge(dst, src)
|
||
|
}
|
||
|
func (m *Timing) XXX_Size() int {
|
||
|
return xxx_messageInfo_Timing.Size(m)
|
||
|
}
|
||
|
func (m *Timing) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_Timing.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_Timing proto.InternalMessageInfo
|
||
|
|
||
|
func (m *Timing) GetStartTime() *timestamp.Timestamp {
|
||
|
if m != nil {
|
||
|
return m.StartTime
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Timing) GetDuration() *duration.Duration {
|
||
|
if m != nil {
|
||
|
return m.Duration
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// Represents a dependency of a resource on another resource. This can be used
|
||
|
// to define a graph or a workflow paradigm through resources.
|
||
|
type Dependency struct {
|
||
|
// The resource depended upon. It may be a Target, ConfiguredTarget, or
|
||
|
// Action.
|
||
|
//
|
||
|
// Types that are valid to be assigned to Resource:
|
||
|
// *Dependency_Target
|
||
|
// *Dependency_ConfiguredTarget
|
||
|
// *Dependency_Action
|
||
|
Resource isDependency_Resource `protobuf_oneof:"resource"`
|
||
|
// A label describing this dependency.
|
||
|
// The label "Root Cause" is handled specially. It is used to point to the
|
||
|
// exact resource that caused a resource to fail.
|
||
|
Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *Dependency) Reset() { *m = Dependency{} }
|
||
|
func (m *Dependency) String() string { return proto.CompactTextString(m) }
|
||
|
func (*Dependency) ProtoMessage() {}
|
||
|
func (*Dependency) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_common_47ffbc3d0eb889a6, []int{3}
|
||
|
}
|
||
|
func (m *Dependency) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_Dependency.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *Dependency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_Dependency.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (dst *Dependency) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_Dependency.Merge(dst, src)
|
||
|
}
|
||
|
func (m *Dependency) XXX_Size() int {
|
||
|
return xxx_messageInfo_Dependency.Size(m)
|
||
|
}
|
||
|
func (m *Dependency) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_Dependency.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_Dependency proto.InternalMessageInfo
|
||
|
|
||
|
type isDependency_Resource interface {
|
||
|
isDependency_Resource()
|
||
|
}
|
||
|
|
||
|
type Dependency_Target struct {
|
||
|
Target string `protobuf:"bytes,1,opt,name=target,proto3,oneof"`
|
||
|
}
|
||
|
type Dependency_ConfiguredTarget struct {
|
||
|
ConfiguredTarget string `protobuf:"bytes,2,opt,name=configured_target,json=configuredTarget,proto3,oneof"`
|
||
|
}
|
||
|
type Dependency_Action struct {
|
||
|
Action string `protobuf:"bytes,3,opt,name=action,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
func (*Dependency_Target) isDependency_Resource() {}
|
||
|
func (*Dependency_ConfiguredTarget) isDependency_Resource() {}
|
||
|
func (*Dependency_Action) isDependency_Resource() {}
|
||
|
|
||
|
func (m *Dependency) GetResource() isDependency_Resource {
|
||
|
if m != nil {
|
||
|
return m.Resource
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Dependency) GetTarget() string {
|
||
|
if x, ok := m.GetResource().(*Dependency_Target); ok {
|
||
|
return x.Target
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Dependency) GetConfiguredTarget() string {
|
||
|
if x, ok := m.GetResource().(*Dependency_ConfiguredTarget); ok {
|
||
|
return x.ConfiguredTarget
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Dependency) GetAction() string {
|
||
|
if x, ok := m.GetResource().(*Dependency_Action); ok {
|
||
|
return x.Action
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Dependency) GetLabel() string {
|
||
|
if m != nil {
|
||
|
return m.Label
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
// XXX_OneofFuncs is for the internal use of the proto package.
|
||
|
func (*Dependency) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||
|
return _Dependency_OneofMarshaler, _Dependency_OneofUnmarshaler, _Dependency_OneofSizer, []interface{}{
|
||
|
(*Dependency_Target)(nil),
|
||
|
(*Dependency_ConfiguredTarget)(nil),
|
||
|
(*Dependency_Action)(nil),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func _Dependency_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||
|
m := msg.(*Dependency)
|
||
|
// resource
|
||
|
switch x := m.Resource.(type) {
|
||
|
case *Dependency_Target:
|
||
|
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||
|
b.EncodeStringBytes(x.Target)
|
||
|
case *Dependency_ConfiguredTarget:
|
||
|
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||
|
b.EncodeStringBytes(x.ConfiguredTarget)
|
||
|
case *Dependency_Action:
|
||
|
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||
|
b.EncodeStringBytes(x.Action)
|
||
|
case nil:
|
||
|
default:
|
||
|
return fmt.Errorf("Dependency.Resource has unexpected type %T", x)
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func _Dependency_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||
|
m := msg.(*Dependency)
|
||
|
switch tag {
|
||
|
case 1: // resource.target
|
||
|
if wire != proto.WireBytes {
|
||
|
return true, proto.ErrInternalBadWireType
|
||
|
}
|
||
|
x, err := b.DecodeStringBytes()
|
||
|
m.Resource = &Dependency_Target{x}
|
||
|
return true, err
|
||
|
case 2: // resource.configured_target
|
||
|
if wire != proto.WireBytes {
|
||
|
return true, proto.ErrInternalBadWireType
|
||
|
}
|
||
|
x, err := b.DecodeStringBytes()
|
||
|
m.Resource = &Dependency_ConfiguredTarget{x}
|
||
|
return true, err
|
||
|
case 3: // resource.action
|
||
|
if wire != proto.WireBytes {
|
||
|
return true, proto.ErrInternalBadWireType
|
||
|
}
|
||
|
x, err := b.DecodeStringBytes()
|
||
|
m.Resource = &Dependency_Action{x}
|
||
|
return true, err
|
||
|
default:
|
||
|
return false, nil
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func _Dependency_OneofSizer(msg proto.Message) (n int) {
|
||
|
m := msg.(*Dependency)
|
||
|
// resource
|
||
|
switch x := m.Resource.(type) {
|
||
|
case *Dependency_Target:
|
||
|
n += 1 // tag and wire
|
||
|
n += proto.SizeVarint(uint64(len(x.Target)))
|
||
|
n += len(x.Target)
|
||
|
case *Dependency_ConfiguredTarget:
|
||
|
n += 1 // tag and wire
|
||
|
n += proto.SizeVarint(uint64(len(x.ConfiguredTarget)))
|
||
|
n += len(x.ConfiguredTarget)
|
||
|
case *Dependency_Action:
|
||
|
n += 1 // tag and wire
|
||
|
n += proto.SizeVarint(uint64(len(x.Action)))
|
||
|
n += len(x.Action)
|
||
|
case nil:
|
||
|
default:
|
||
|
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||
|
}
|
||
|
return n
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*StatusAttributes)(nil), "google.devtools.resultstore.v2.StatusAttributes")
|
||
|
proto.RegisterType((*Property)(nil), "google.devtools.resultstore.v2.Property")
|
||
|
proto.RegisterType((*Timing)(nil), "google.devtools.resultstore.v2.Timing")
|
||
|
proto.RegisterType((*Dependency)(nil), "google.devtools.resultstore.v2.Dependency")
|
||
|
proto.RegisterEnum("google.devtools.resultstore.v2.Language", Language_name, Language_value)
|
||
|
proto.RegisterEnum("google.devtools.resultstore.v2.Status", Status_name, Status_value)
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterFile("google/devtools/resultstore/v2/common.proto", fileDescriptor_common_47ffbc3d0eb889a6)
|
||
|
}
|
||
|
|
||
|
var fileDescriptor_common_47ffbc3d0eb889a6 = []byte{
|
||
|
// 690 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0xcd, 0x8e, 0xe3, 0x44,
|
||
|
0x10, 0xc7, 0xd7, 0xf9, 0x70, 0x9c, 0xca, 0x7c, 0x14, 0xbd, 0x2b, 0x14, 0xe6, 0x00, 0xa3, 0x1c,
|
||
|
0xd0, 0x6a, 0x11, 0xb6, 0x14, 0xc4, 0x01, 0x21, 0x21, 0x39, 0xb6, 0x93, 0xf1, 0xc4, 0x6b, 0x5b,
|
||
|
0xee, 0x0e, 0xd1, 0x72, 0x89, 0x9c, 0xa4, 0xd7, 0xb2, 0x48, 0xec, 0x60, 0xb7, 0x23, 0x0d, 0x6f,
|
||
|
0xc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