blob: e2dab506b0b9a8882d029cc508e7a6626c3c7aad [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: test_platform/phosphorus/fetchcrashes.proto
package phosphorus
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
math "math"
)
// 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.ProtoPackageIsVersion3 // please upgrade the proto package
// Values should be consistent with https://aip.dev/216
type FetchCrashesResponse_State int32
const (
// Should not be used.
FetchCrashesResponse_STATE_UNSPECIFIED FetchCrashesResponse_State = 0
// FetchCrashes succeeded.
FetchCrashesResponse_SUCCEEDED FetchCrashesResponse_State = 1
// FetchCrashes failed.
FetchCrashesResponse_FAILED FetchCrashesResponse_State = 2
// FetchCrashes hit the requested timeout.
FetchCrashesResponse_TIMED_OUT FetchCrashesResponse_State = 3
// FetchCrashes was aborted externally.
FetchCrashesResponse_ABORTED FetchCrashesResponse_State = 4
)
var FetchCrashesResponse_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "SUCCEEDED",
2: "FAILED",
3: "TIMED_OUT",
4: "ABORTED",
}
var FetchCrashesResponse_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"SUCCEEDED": 1,
"FAILED": 2,
"TIMED_OUT": 3,
"ABORTED": 4,
}
func (x FetchCrashesResponse_State) String() string {
return proto.EnumName(FetchCrashesResponse_State_name, int32(x))
}
func (FetchCrashesResponse_State) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_8145b7cb95f95596, []int{2, 0}
}
// FetchCrashesRequest defines the input of `phosphorus fetchcrashes`.
type FetchCrashesRequest struct {
Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
DutHostname string `protobuf:"bytes,2,opt,name=dut_hostname,json=dutHostname,proto3" json:"dut_hostname,omitempty"`
// Hard deadline for execution.
//
// FetchCrashes execution should abort beyond this deadline.
Deadline *timestamp.Timestamp `protobuf:"bytes,3,opt,name=deadline,proto3" json:"deadline,omitempty"`
// If set, upload crashes.
// Currently, the command is a no-op if this is false, though eventually it
// may save crashes to output directories.
UploadCrashes bool `protobuf:"varint,4,opt,name=upload_crashes,json=uploadCrashes,proto3" json:"upload_crashes,omitempty"`
// If set, upload crashes to http://crash-staging instead of http://crash.
// Useful for testing.
UseStaging bool `protobuf:"varint,5,opt,name=use_staging,json=useStaging,proto3" json:"use_staging,omitempty"` // Deprecated: Do not use.
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FetchCrashesRequest) Reset() { *m = FetchCrashesRequest{} }
func (m *FetchCrashesRequest) String() string { return proto.CompactTextString(m) }
func (*FetchCrashesRequest) ProtoMessage() {}
func (*FetchCrashesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_8145b7cb95f95596, []int{0}
}
func (m *FetchCrashesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FetchCrashesRequest.Unmarshal(m, b)
}
func (m *FetchCrashesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FetchCrashesRequest.Marshal(b, m, deterministic)
}
func (m *FetchCrashesRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_FetchCrashesRequest.Merge(m, src)
}
func (m *FetchCrashesRequest) XXX_Size() int {
return xxx_messageInfo_FetchCrashesRequest.Size(m)
}
func (m *FetchCrashesRequest) XXX_DiscardUnknown() {
xxx_messageInfo_FetchCrashesRequest.DiscardUnknown(m)
}
var xxx_messageInfo_FetchCrashesRequest proto.InternalMessageInfo
func (m *FetchCrashesRequest) GetConfig() *Config {
if m != nil {
return m.Config
}
return nil
}
func (m *FetchCrashesRequest) GetDutHostname() string {
if m != nil {
return m.DutHostname
}
return ""
}
func (m *FetchCrashesRequest) GetDeadline() *timestamp.Timestamp {
if m != nil {
return m.Deadline
}
return nil
}
func (m *FetchCrashesRequest) GetUploadCrashes() bool {
if m != nil {
return m.UploadCrashes
}
return false
}
// Deprecated: Do not use.
func (m *FetchCrashesRequest) GetUseStaging() bool {
if m != nil {
return m.UseStaging
}
return false
}
// CrashSummary defines details of crashes that will be easily accessible to
// callers always.
type CrashSummary struct {
// Name of the crashing executable.
ExecName string `protobuf:"bytes,1,opt,name=exec_name,json=execName,proto3" json:"exec_name,omitempty"`
// If uploads were on, URL at which this crash can be found.
UploadUrl string `protobuf:"bytes,2,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`
// Name of the integration test that was running when this crash happened, if
// any.
InProgressIntegrationTest string `protobuf:"bytes,3,opt,name=in_progress_integration_test,json=inProgressIntegrationTest,proto3" json:"in_progress_integration_test,omitempty"`
// Crash signature (may not be populated for all crash types).
Sig string `protobuf:"bytes,4,opt,name=sig,proto3" json:"sig,omitempty"`
// Base part of crash filename in out dir. All files associated with the crash
// will start with this string.
// (e.g. chrome.20201202.130102.12345.4567)
FilenameBase string `protobuf:"bytes,5,opt,name=filename_base,json=filenameBase,proto3" json:"filename_base,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CrashSummary) Reset() { *m = CrashSummary{} }
func (m *CrashSummary) String() string { return proto.CompactTextString(m) }
func (*CrashSummary) ProtoMessage() {}
func (*CrashSummary) Descriptor() ([]byte, []int) {
return fileDescriptor_8145b7cb95f95596, []int{1}
}
func (m *CrashSummary) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CrashSummary.Unmarshal(m, b)
}
func (m *CrashSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CrashSummary.Marshal(b, m, deterministic)
}
func (m *CrashSummary) XXX_Merge(src proto.Message) {
xxx_messageInfo_CrashSummary.Merge(m, src)
}
func (m *CrashSummary) XXX_Size() int {
return xxx_messageInfo_CrashSummary.Size(m)
}
func (m *CrashSummary) XXX_DiscardUnknown() {
xxx_messageInfo_CrashSummary.DiscardUnknown(m)
}
var xxx_messageInfo_CrashSummary proto.InternalMessageInfo
func (m *CrashSummary) GetExecName() string {
if m != nil {
return m.ExecName
}
return ""
}
func (m *CrashSummary) GetUploadUrl() string {
if m != nil {
return m.UploadUrl
}
return ""
}
func (m *CrashSummary) GetInProgressIntegrationTest() string {
if m != nil {
return m.InProgressIntegrationTest
}
return ""
}
func (m *CrashSummary) GetSig() string {
if m != nil {
return m.Sig
}
return ""
}
func (m *CrashSummary) GetFilenameBase() string {
if m != nil {
return m.FilenameBase
}
return ""
}
// FetchCrashesResponse defines the output of `phosphorus fetch-crashes`.
type FetchCrashesResponse struct {
// `phosphorus fetch-crashes` exits with exit code 0 unless there is an
// infrastructure failure. When the exit code is 0, `state` indicates the
// best known state of the prejob execution (see comments on State enum).
State FetchCrashesResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=test_platform.phosphorus.FetchCrashesResponse_State" json:"state,omitempty"`
// Details on the uploaded crashes.
Crashes []*CrashSummary `protobuf:"bytes,2,rep,name=crashes,proto3" json:"crashes,omitempty"`
// Names of crashes that are present only in RTD output
CrashesRtdOnly []string `protobuf:"bytes,4,rep,name=crashes_rtd_only,json=crashesRtdOnly,proto3" json:"crashes_rtd_only,omitempty"`
// Names of crashes that are present only in FetchCrashes output
CrashesTlsOnly []string `protobuf:"bytes,5,rep,name=crashes_tls_only,json=crashesTlsOnly,proto3" json:"crashes_tls_only,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FetchCrashesResponse) Reset() { *m = FetchCrashesResponse{} }
func (m *FetchCrashesResponse) String() string { return proto.CompactTextString(m) }
func (*FetchCrashesResponse) ProtoMessage() {}
func (*FetchCrashesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_8145b7cb95f95596, []int{2}
}
func (m *FetchCrashesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FetchCrashesResponse.Unmarshal(m, b)
}
func (m *FetchCrashesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FetchCrashesResponse.Marshal(b, m, deterministic)
}
func (m *FetchCrashesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_FetchCrashesResponse.Merge(m, src)
}
func (m *FetchCrashesResponse) XXX_Size() int {
return xxx_messageInfo_FetchCrashesResponse.Size(m)
}
func (m *FetchCrashesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_FetchCrashesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_FetchCrashesResponse proto.InternalMessageInfo
func (m *FetchCrashesResponse) GetState() FetchCrashesResponse_State {
if m != nil {
return m.State
}
return FetchCrashesResponse_STATE_UNSPECIFIED
}
func (m *FetchCrashesResponse) GetCrashes() []*CrashSummary {
if m != nil {
return m.Crashes
}
return nil
}
func (m *FetchCrashesResponse) GetCrashesRtdOnly() []string {
if m != nil {
return m.CrashesRtdOnly
}
return nil
}
func (m *FetchCrashesResponse) GetCrashesTlsOnly() []string {
if m != nil {
return m.CrashesTlsOnly
}
return nil
}
func init() {
proto.RegisterEnum("test_platform.phosphorus.FetchCrashesResponse_State", FetchCrashesResponse_State_name, FetchCrashesResponse_State_value)
proto.RegisterType((*FetchCrashesRequest)(nil), "test_platform.phosphorus.FetchCrashesRequest")
proto.RegisterType((*CrashSummary)(nil), "test_platform.phosphorus.CrashSummary")
proto.RegisterType((*FetchCrashesResponse)(nil), "test_platform.phosphorus.FetchCrashesResponse")
}
func init() {
proto.RegisterFile("test_platform/phosphorus/fetchcrashes.proto", fileDescriptor_8145b7cb95f95596)
}
var fileDescriptor_8145b7cb95f95596 = []byte{
// 582 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00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