| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: test_platform/result_flow/publish.proto |
| |
| package result_flow |
| |
| 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 |
| |
| // PublishRequest defines the input of `result_flow publish`. |
| type PublishRequest struct { |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| ParentBuildId int64 `protobuf:"varint,2,opt,name=parent_build_id,json=parentBuildId,proto3" json:"parent_build_id,omitempty"` |
| // PubSub endpoint to publish a CTP build. |
| Ctp *PubSubConfig `protobuf:"bytes,3,opt,name=ctp,proto3" json:"ctp,omitempty"` |
| // PubSub endpoint to publish a test runner build. |
| TestRunner *PubSubConfig `protobuf:"bytes,4,opt,name=test_runner,json=testRunner,proto3" json:"test_runner,omitempty"` |
| // Hard deadline for execution. |
| // |
| // Publish command should abort beyond this deadline. |
| Deadline *timestamp.Timestamp `protobuf:"bytes,5,opt,name=deadline,proto3" json:"deadline,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PublishRequest) Reset() { *m = PublishRequest{} } |
| func (m *PublishRequest) String() string { return proto.CompactTextString(m) } |
| func (*PublishRequest) ProtoMessage() {} |
| func (*PublishRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c45128fac736122f, []int{0} |
| } |
| |
| func (m *PublishRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PublishRequest.Unmarshal(m, b) |
| } |
| func (m *PublishRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PublishRequest.Marshal(b, m, deterministic) |
| } |
| func (m *PublishRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PublishRequest.Merge(m, src) |
| } |
| func (m *PublishRequest) XXX_Size() int { |
| return xxx_messageInfo_PublishRequest.Size(m) |
| } |
| func (m *PublishRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_PublishRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PublishRequest proto.InternalMessageInfo |
| |
| func (m *PublishRequest) GetBuildId() int64 { |
| if m != nil { |
| return m.BuildId |
| } |
| return 0 |
| } |
| |
| func (m *PublishRequest) GetParentBuildId() int64 { |
| if m != nil { |
| return m.ParentBuildId |
| } |
| return 0 |
| } |
| |
| func (m *PublishRequest) GetCtp() *PubSubConfig { |
| if m != nil { |
| return m.Ctp |
| } |
| return nil |
| } |
| |
| func (m *PublishRequest) GetTestRunner() *PubSubConfig { |
| if m != nil { |
| return m.TestRunner |
| } |
| return nil |
| } |
| |
| func (m *PublishRequest) GetDeadline() *timestamp.Timestamp { |
| if m != nil { |
| return m.Deadline |
| } |
| return nil |
| } |
| |
| // PublishRequest defines the output of `result_flow publish`. |
| type PublishResponse struct { |
| // `result_flow publish` 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 publish execution (see comments on State enum). |
| State State `protobuf:"varint,1,opt,name=state,proto3,enum=test_platform.result_flow.State" json:"state,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PublishResponse) Reset() { *m = PublishResponse{} } |
| func (m *PublishResponse) String() string { return proto.CompactTextString(m) } |
| func (*PublishResponse) ProtoMessage() {} |
| func (*PublishResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c45128fac736122f, []int{1} |
| } |
| |
| func (m *PublishResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PublishResponse.Unmarshal(m, b) |
| } |
| func (m *PublishResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PublishResponse.Marshal(b, m, deterministic) |
| } |
| func (m *PublishResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PublishResponse.Merge(m, src) |
| } |
| func (m *PublishResponse) XXX_Size() int { |
| return xxx_messageInfo_PublishResponse.Size(m) |
| } |
| func (m *PublishResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_PublishResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PublishResponse proto.InternalMessageInfo |
| |
| func (m *PublishResponse) GetState() State { |
| if m != nil { |
| return m.State |
| } |
| return State_STATE_UNSPECIFIED |
| } |
| |
| func init() { |
| proto.RegisterType((*PublishRequest)(nil), "test_platform.result_flow.PublishRequest") |
| proto.RegisterType((*PublishResponse)(nil), "test_platform.result_flow.PublishResponse") |
| } |
| |
| func init() { |
| proto.RegisterFile("test_platform/result_flow/publish.proto", fileDescriptor_c45128fac736122f) |
| } |
| |
| var fileDescriptor_c45128fac736122f = []byte{ |
| // 312 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0xd1, 0x41, 0x6b, 0xc2, 0x30, |
| 0x14, 0x07, 0x70, 0xd4, 0xb9, 0x49, 0x64, 0x0a, 0x3d, 0x55, 0x2f, 0x13, 0x0f, 0xea, 0x29, 0x01, |
| 0x07, 0xc2, 0xae, 0xca, 0x60, 0xde, 0xa4, 0xee, 0xb4, 0x4b, 0x69, 0x6d, 0x5a, 0x03, 0x49, 0x5e, |
| 0x96, 0xbc, 0xb0, 0xaf, 0xb1, 0x8f, 0x3c, 0x4c, 0xa6, 0x6c, 0x07, 0x07, 0x3b, 0xbe, 0xf2, 0x7b, |
| 0xff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